bagges / deye-esp32-bridge

Other
35 stars 11 forks source link

Donate

deye-esp32-bridge

This PCB and Software is used to create a board which communicates with your Deye/Sunsynk inverter and also the BMS of your battery (SeplosBMS and PaceBMS are supported for now).

BOM

Prepare RS485 Serial Converter

Make sure that your RS485 converter is terminated by about 120R. Measure the resistance between B- and A+. Should be something between 110-130 Ohms. If you cannot measure any resistance, you need to shorten the the two small pins next to the B- connector. On my boards it was labled with R13.

Deye Setup

Flash ESP32

Wiring

Component Description

Component Function
JP1 If closed, connects GND from Deye to GND of the BMS
JP2 If closed, connects the DCDC Converter to the ESP32
JP4 If closed, connects GND from Deye to GND of the PCB
JP5 If closed, connects GND from the BMS to GND of the PCB
U2 Additional general purpose I/O / GND / 5V / 3V3
R1 Optional resistor, needed if connecting DS18B20 to U4
RJ1 Connects to the BMS port of Deye
RJ2 Connects to the CAN Port of the BMS
RJ3 Connects to the RS485 Port of the BMS

Software

Disclaimer

This repository contains files for demonstration purposes only. Use the files on your own risk. I am not responsible for any damage!

License

Shield: CC BY-NC-SA 4.0

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

CC BY-NC-SA 4.0