Hello everyone,
I am working on a personal 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.
Which of your duplicate posts would you like to keep ?
This one or the one in the Jobs and Paid Consultancy category of the forum ?
this one
The other one had been closed but not deleted
thank you. sorry for the inconvenience
I don't know and quick search didn't bring anything. If you are lucky and it uses modbus, finding the registers you are interested in shouldn't be difficult. But if you don't know anything about it, I suggest you to get USB-RS485 converter and probe your charger with some (freeware) modbus scanner.