added information about US2000C battery

This commit is contained in:
Ireneusz Zielinski
2021-12-16 18:38:51 +00:00
committed by GitHub
parent 8898b1c90e
commit 9e6f08bd85

View File

@ -1,13 +1,13 @@
# Pylontech Battery Monitoring via WiFi # Pylontech Battery Monitoring via WiFi
This project allows you to control and monitor Pylontech US2000B batteries via console port over WiFi. This project allows you to control and monitor Pylontech US2000B and US2000C batteries via console port over WiFi.
It it's a great starting point to integrate battery with your home automation. It it's a great starting point to integrate battery with your home automation.
**I ACCEPT NO RESPONSIBILTY FOR ANY DAMAGE CAUSED, PROCEED AT YOUR OWN RISK** **I ACCEPT NO RESPONSIBILTY FOR ANY DAMAGE CAUSED, PROCEED AT YOUR OWN RISK**
# Features: # Features:
* Low cost (around 20$ in total). * Low cost (around 20$ in total).
* Adds WiFi capability to your Pylontech US2000B battery. * Adds WiFi capability to your Pylontech US2000B/C battery.
* Device exposes web interface that allows to: * Device exposes web interface that allows to:
* send console commands and read response over WiFi (no PC needed) * send console commands and read response over WiFi (no PC needed)
* battery information can be retrevied also in JSON format for easy parsing * battery information can be retrevied also in JSON format for easy parsing
@ -22,11 +22,19 @@ See the project in action on [Youtube](https://youtu.be/7VyQjKU3MsU):</br>
# Parts needed and schematics: # Parts needed and schematics:
* [Wemos D1 mini microcontroller](https://www.amazon.co.uk/Makerfire-NodeMcu-Development-ESP8266-Compatible/dp/B071S8MWTY/). * [Wemos D1 mini microcontroller](https://www.amazon.co.uk/Makerfire-NodeMcu-Development-ESP8266-Compatible/dp/B071S8MWTY/).
* [SparkFun MAX3232 Transceiver](https://www.sparkfun.com/products/11189). * [SparkFun MAX3232 Transceiver](https://www.sparkfun.com/products/11189).
* Cable with RJ10 connector (some RJ10 cables have only two wires, make sure to buy one that has all four wires present). * US2000B: Cable with RJ10 connector (some RJ10 cables have only two wires, make sure to buy one that has all four wires present).
* US2000C: Cable with RJ45 connector (see below for more details).
* Capacitors C1: 10uF, C2: 0.1uF (this is not strictly required, but recommended as Wemos D1 can have large current spikes). * Capacitors C1: 10uF, C2: 0.1uF (this is not strictly required, but recommended as Wemos D1 can have large current spikes).
![Schematics](Schemetics.png) ![Schematics](Schemetics.png)
# US2000C notes:
This battery uses RJ45 cable instead of RJ10. Schematics is the same only plug differs:
* RJ45 Pin 3 (white-green) = R1IN
* RJ45 Pin 6 (green) = T1OUT
* RJ45 Pin 8 (brown) = GND
![image](https://user-images.githubusercontent.com/19826327/146428324-29e3f9bf-6cc3-415c-9d60-fa5ee3d65613.png)
# How to get going: # How to get going:
* Get Wemos D1 mini * Get Wemos D1 mini
@ -37,8 +45,8 @@ See the project in action on [Youtube](https://youtu.be/7VyQjKU3MsU):</br>
* If you want MQTT support, uncomment line 17 and fill details in lines 21-24 * If you want MQTT support, uncomment line 17 and fill details in lines 21-24
* Upload project to your device * Upload project to your device
* Connect Wemos D1 mini to the MAX3232 transreceiver * Connect Wemos D1 mini to the MAX3232 transreceiver
* Connect transreceiver to RJ10 as descibed in the schematics (all three lines need to be connected) * Connect transreceiver to RJ10/RJ45 as descibed in the schematics (all three lines need to be connected)
* Connect RJ10 to the serial port of the Pylontech US2000 battery. If you have multiple batteries - connect to the master one. * Connect RJ10/RJ45 to the serial port of the Pylontech US2000 battery. If you have multiple batteries - connect to the master one.
* Connect Wemos D1 to the power via USB * Connect Wemos D1 to the power via USB
* Find what IP address was assigned to your Wemos by your router and open it in the web-browser * Find what IP address was assigned to your Wemos by your router and open it in the web-browser
* You should be able now to connunicate with the battery via WiFi * You should be able now to connunicate with the battery via WiFi