Hello everyone,
I am working on a prototype of a solar powered electric boda boda battery charging cabinet.
My system uses a TBB SolarMate MPPT charge controller which has an RS485 communication port. I am using a MAX485 module to interface the controller with an Arduino Uno.
My goal is to retrieve charging parameters from the controller such as battery voltage, charging current and possibly temperature, then use the Arduino to:
• Display the values on a 16x2 LCD screen
• Trigger LEDs for status indication
• Activate a buzzer if limits are exceeded
• Control a cooling fan via relay
The architecture is:
Solar panel → TBB MPPT controller → RS485 port → MAX485 module → Arduino UNO
Outputs from Arduino:
• LCD display
• LEDs
• Buzzer
• Relay for cooling fan
My questions are:
Does anyone know the communication protocol used by the TBB SolarMate MPPT over RS485? Is it Modbus RTU?
What would be the correct Arduino approach to read the data registers from the controller through MAX485?
Once the data is received, what is the best way to structure the Arduino code so that the same data can be used for LCD display and control logic?
Any example code or guidance would be greatly appreciated.
Thank you.
See my question in Reading data from TBB SolarMate MPPT via RS485 using MAX485 and Arduino UNO