The aim of this project is to design an inverter battery monitor and low battery load level shutdown with the following specifications:
For my design, I opted for the AtMega328P micro.
The LED display was designed to be simple and easy to interpret. There are 6 LEDs, indicating the voltage level in a LED BAR method:
The scaling between 0% and 100% is linear. For 0%, only Led 1 will be on, and for 100%, all LEDs will be on.
For power saving, the LED display does not stay on. To turn on the display, a button needs to be pressed, and the display will turn off after 30 seconds.
To be able to measure the voltage, the battery voltage needs to be down scaled. Using a resistor divider, the voltage is scaled down to 1.1V with a 1M and 82K resistor. With the A/D converter set to the internal 1.1V reference, this means that the maximum measureable voltage will be around 14.45V, high enough for the design.
There are 5 voltage levels that needs to be monitored:
Instead of using trimpots, I decided to go for a more unconventional way. Via a programming procedure, apply the specific voltage levels in turn, and save the various A/D results in EEPROM.
The LEDs are used to indicate the programming sequence, and the same button used for the display, is used for programming.
A normal piezo buzzer is used for the alarm. as this should be load enough. Provision for three alarms were made, with the following properties:
Once an alarm is silenced, I needed an automatic reset function to enable the alarms again if the battery has been charged. I included a reset function that will enable all alarms again if the battery voltage exceeds 60% again.
To silence the alarms, the same button used for the display is used.
I tested these alarm sounds in my house, without any complaints from my wife and son, so I am sure it will not be irritating in the outdoors world.
You will need a variable power supply and a multi meter to calibrate the unit.
Entering Calibration Mode
All programming values are stored in EEPROM, so the unit only needs to be calibrated once.
1 comments:
Click here for commentsIrony's Necklace - titanium belly ring - iTaniumArts.com
Irony's Necklace. T.S. Irony's Necklace. T.S. raft titanium Irony's Necklace. T.S. Irony's titanium edc Necklace. titanium damascus knives T.S. Irony's titanium piercing jewelry Necklace. T.S. Irony's Necklace. T.S. Irony's Necklace. T.S. titanium damascus knives Irony's