dalathegreat/Battery-Emulator

GitHub: dalathegreat/Battery-Emulator

一款基于ESP32的开源软硬件方案,将退役电动车电池组与家用太阳能逆变器桥接,实现低成本家用储能。

Stars: 2193 | Forks: 313

# Battery-Emulator ⚡🔋 ![GitHub release (with filter)](https://img.shields.io/github/v/release/dalathegreat/BYD-Battery-Emulator-For-Gen24?color=%23008000) ![GitHub Repo stars](https://img.shields.io/github/stars/dalathegreat/Battery-Emulator?style=flat&color=%23128512) ![GitHub forks](https://img.shields.io/github/forks/dalathegreat/Battery-Emulator?style=flat&color=%23128512) ![GitHub actions](https://img.shields.io/github/actions/workflow/status/dalathegreat/BYD-Battery-Emulator-For-Gen24/compile-common-image-lilygo-TCAN.yml?color=0E810E) ![Static Badge](https://img.shields.io/badge/made-with_love-blue?color=%23008000) ## 什么是 Battery Emulator? 许多制造商销售家用电池系统,使房主能够存储从电网或可再生能源收集的电力,以便在电力需求较高时使用。然而,几乎所有这些家用电池系统对于你购买的每千瓦时 容量都收取高昂的费用。 与此同时,EV 制造商一直在其汽车中放置高容量电池组,但对于如果汽车在碰撞中损坏或作为车辆达到使用寿命终点时这些电池应该如何处理,并没有明确的计划。 **Battery Emulator** 使 EV 电池组能够被重新用于固定存储。它充当 EV 电池和家庭逆变器之间的转换层。这使得以真正的即插即用方式使用大型 EV 电池变得极其便宜和容易! ## 快速入门指南 📜 - 选择一个[支持的逆变器](https://github.com/dalathegreat/Battery-Emulator/wiki#supported-inverters-list)(太阳能电池板可选) :sun_with_face: - 选择一个[支持的电池](https://github.com/dalathegreat/Battery-Emulator/wiki#supported-batteries-list) :battery: - 购买 Battery-Emulator [兼容硬件](https://github.com/dalathegreat/Battery-Emulator/wiki#where-do-i-get-the-hardware-needed) :robot: - 按照[安装指南](https://github.com/dalathegreat/Battery-Emulator/wiki/Installation-guidelines)部分进行操作,了解如何正确安装和调试你的电池 :notebook: ## 安装基础 🪛 1. 将你的 Battery Emulator 硬件连接到你的 EV 电池 2. 将你的 Battery Emulator 硬件连接到你的逆变器 3. 在逆变器和电池之间连接高压电缆 4. 为你的 Battery Emulator 硬件添加低压电源 5. 配置任何额外要求,以允许 Battery Emulator 启动你的 EV 电池(也称为“闭合接触器”) 6. 享受一块廉价的大型并网电池! 有关接线的示例,请参阅每种电池类型各自的 Wiki 页面。例如 [Nissan LEAF 页面](https://github.com/dalathegreat/Battery-Emulator/wiki/Battery:-Nissan-LEAF---e%E2%80%90NV200) ## 如何安装软件 💻 首先观看此[快速入门指南](https://www.youtube.com/watch?v=sR3t7j0R9Z0) [![IMAGE ALT TEXT HERE](https://img.youtube.com/vi/sR3t7j0R9Z0/0.jpg)](https://www.youtube.com/watch?v=sR3t7j0R9Z0) 1. 打开 [webinstaller 页面](https://dalathegreat.github.io/BE-Web-Installer/) 2. 按照该页面上的说明安装软件 3. 安装成功后,连接到无线网络(Battery-Emulator ,密码:123456789) 4. 进入设置页面并配置组件选择 5. (可选,将开发板连接到你的家庭 Wifi) 6. 将你的电池和逆变器连接到开发板,你就完成了!🔋⚡ ## 依赖项 📖 此代码使用了以下优秀的库: - [adafruit/Adafruit_NeoPixel](https://github.com/adafruit/Adafruit_NeoPixel) LGPL-3.0 license - [ayushsharma82/ElegantOTA](https://github.com/ayushsharma82/ElegantOTA) AGPL-3.0 license - [bblanchon/ArduinoJson](https://github.com/bblanchon/ArduinoJson) MIT-License - [eModbus/eModbus](https://github.com/eModbus/eModbus) MIT-License - [ESP32Async/AsyncTCP](https://github.com/ESP32Async/AsyncTCP) LGPL-3.0 license - [ESP32Async/ESPAsyncWebServer](https://github.com/ESP32Async/ESPAsyncWebServer) LGPL-3.0 license - [pierremolinaro/acan-esp32](https://github.com/pierremolinaro/acan-esp32) MIT-License - [pierremolinaro/acan2515](https://github.com/pierremolinaro/acan2515) MIT-License - [pierremolinaro/acan2517FD](https://github.com/pierremolinaro/acan2517FD) MIT-License 它也基于以下优秀的仓库/网站中找到的信息: - https://gitlab.com/pelle8/inverter_resources //new url - https://github.com/burra/byd_battery - https://github.com/flodorn/TeslaBMSV2 - https://github.com/SunshadeCorp/can-service - https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3 - https://github.com/dalathegreat/leaf_can_bus_messages - https://github.com/rand12345/solax_can_bus - https://github.com/Tom-evnut/BMWI3BMS/ SMA-CAN - https://github.com/FozzieUK/FoxESS-Canbus-Protocol FoxESS-CAN - https://github.com/maciek16c/hyundai-santa-fe-phev-battery - https://github.com/ljames28/Renault-Zoe-PH2-ZE50-Canbus-LBC-Information - Renault Zoe CAN Matrix https://docs.google.com/spreadsheets/u/0/d/1Qnk-yzzcPiMArO-QDzO4a8ptAS2Sa4HhVu441zBzlpM/edit?pli=1#gid=0 - Pylon hacking https://www.eevblog.com/forum/programming/pylontech-sc0500-protocol-hacking/ ## 喜欢这个项目?💖 如果你认为这个项目有用,请留下一个 ⭐。考虑加入我的 Patreon 以鼓励更多开源项目!作为奖励,你将可以访问 Discord 服务器,我们在那里闲逛、开发、支持、分享、讨论等所有与 DIY EV 存储解决方案相关的事情。服务器上见?;) <------ Click here to learn more! ![image](https://github.com/user-attachments/assets/66b8e967-7f5e-409d-91ec-d012489a86d2)
标签:BMS, BYD电池, CAN总线通信, DIY太阳能, ESP32, Gen24逆变器, WSL, 储能系统, 再生能源, 固件开发, 太阳能逆变器, 家庭能源管理, 开源硬件, 梯次利用, 电力转换, 电动汽车电池, 电池二次利用, 电池模拟器, 电池管理系统, 硬件接口, 静态存储