12v battery monitor display12/3/2023 * 1 x LED connected via a 330 ohm resistor to pin 6 * 1 x nRF24L01+ 2.4ghz tranceiver connected as per the MySensors web site. * 1 x 25v voltage sensor module connected to arduino analog pin A0 * 1 x ACS712 current sensor module connected to arduino analog pin A4 * 2 x DS18b20 dallas temperature ic's their data pins connected to arduino digital pin 3 * The node monitors battery voltage,current into and out of the battery, ambient temperature and battery temperature. The Sketch: /*Sketch for a MySensor node to monitor a 12v battery with a solar panel for charging During construction I found powering the circuit from the usb port to give unreliable results and opted for a dedicated 5v supply instead. The 20A ACS712 shows a change of only 100mv for every 1A so you can see even small fluctuations can cause sizable errors in your readings. When using the analog inputs of the Arduino it is very important that you have a very stable 5v supply voltage. That means when the module sees 25v on its input the output of the module will be 5v.ġ x LM2596 regulator module or some other regulator able to supply 5v I have used a module that has a maximum reading of 25v. Only one line of code needs to be modified to suit your selected device.ġ x Voltage sensing module or 2 x resistors to be used as a voltage divider. Choose whichever current fills your needs. My notes are based on my breadboard version which was built around an Arduino nano, In the final I used a Pro Mini.ġ x Arduino I have used a Nano but other types or OK tooġ x ACS712 Current sensing Module. I have included the temperature monitors after a friend had his battery develop an internal short and melt in his caravan, not a pretty sight. it monitors battery voltage, Charge current, Dis-charge current, Ambient temp and battery Temp. Ok this node has been running for a few weeks now so thought i would share it with others. To date it has been used to run a system of night lights and reading lamps but now that I have found Mysensors I hope it will soon be powering a lot more. When we built our home I ran a 12v Backbone as well so we can access the low voltage power all over. The power system consists of a 200w panel on the roof and a 105AH battery located in our server cabinet. I have installed a node to monitor our 12v auxiliary supply for our home.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |