sofar_solar
A project that logs data from sofar solar on-grid inverter and sends the data to the blynk server using RS485 modbus interface.
Images
Hardware requirements:
- On-Grid Solar Powerplant with Sofar inverter (I am using Sofar 2700TL-G3 inverter)
- NodeMCU (or any other ESP8266 based microcontroller)
- Max485 module
- Twisted pair cable
- Power supply
Diagram
Software requirements:
- Arduino IDE configured to program ESP8266 based microcontrollers
- Stable Wifi network
- Local Blynk server (Recommended) blynk-server
- Legacy Blynk apk (Blynk IoT is not support local server) apkpure
- Inverter datasheet for registry related details (Here's my inverter's registry details for reference)
NOTE: The registry information varies slightly for every sofar inverter. So one either needs to get the exact datasheet of the inverter from the manufacturer or just guess what information each registry holds using the above pdf as reference.
Libraries required:
- ModbusMaster for communicating with Modbus slaves over RS232/485 (via RTU protocol).
- Blynk for communicating with the Blynk server.
Original project creator: 4llonsy