8/31/2023 0 Comments Arduino battery monitoring systemThe current weather including solar irradiation on the solar panels and the panel temperature (Extra sensors) are here.Īll my code is messy. ![]() : Today's stats in minutes reset at dawnĬharge time, discharge time, absorb time, equalize time. : battery voltage, battery current, state of charge %, fully charged = 100%, battery mode: charging, discharging, absorb and equalize. The LCD displays two pages of information alternating 3 seconds each. I have used two of the Arduino's PWM outputs for the LCD back light and contrast. A0 for the current to and from the battery and A1 the battery voltage. The Arduino and LCD display are wired up the same as the Adafruit project here with the two sensor inputs on A/D 0 and 1. A battery status monitor is a must-have in this application to prevent deep-discharge of the lithium battery and the brownout of the microcontroller. The two sensor outputs and a ground are wired back the the Arduino board which is located in a more convenient place several metres distant. The 24 volts is regulated down to 8 volts for the hall effect current sensor and the 24 volt input is divided by ~ 1/6 to be suited for an Arduino A/D input. The sensor output saturates at about +/- 70 amps and the output is about +/- 33mv/amp with zero amps being the mid point of the sensor power supply, in my setup 8 volts.Ī small protoboard has all the sensor electronics and is located near the batteries and draws power from them. I had to splice in a smaller Battery cable to go thru the sensor. As a current sensor I used a hall effect CSLA2CD made by Honeywell Control. The cables connected to this battery are large and the currents high (~60 amps max). This system consists of current and voltage sensors, an Arduino Uno microcontroller and a liquid crystal display (LCD). ![]() ![]() This Arduino project measures the power into and out of the battery and the battery voltage and displays on a 2x16 LCD display the current charge state of the battery along with other useful information. The capacity of this 24 volt battery system is about 9.5 kwHr. The primary battery in my Solar Powered Home is a series of 4, 6 volt 395 Amp-hrs deep-cycle lead acid batteries.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |