Organize and Share your Electronics the way you want. Sign-Up for a free account now. It takes only 30 seconds!

Atmel Solar Panel Battery Charger by ATtiny13V

Atmel Solar Panel Battery Charger by ATtiny13V

Batwatch is a simple monitor for a solar panel battery charger, using an Atmel ATtiny13V. It periodically measures the charge current and battery voltage, and shows them by blinking two LEDs. I built this circuit into the plug of a VW solar charger panel that is used to prevent a discharge of the battery when a car is not used for some time
The device must be calibrated before it can show reliable figures. For each channel, samples of exactly 8V and 12V are taken and stored in EEPROM. At program startup, these values are transformed to offset/gain pairs that are used to convert a sample to a voltage.
To calibrate the device, disconnect the battery and make sure that the solar panel is covered. Now the following steps have to be followed:
Apply exactly 8V to the 10uF capacitor.
Pull the calibration input low, by shorting pins 6 and 7.
The green LED should now turn on for 2 seconds..
Apply exactly 12V to the 10uF capacitor..
Pull the calibration input low, by shorting pins 6 and 7..
The red LED should now turn on for 2 seconds.
To save power, all delays are implemented by executing one or more sleep instructions which cause the CPU to idle until the next timer interrupt. The interrupt frequency is 100 Hz, so each sleep pauses up to 10 mS

Visit Here for more.

 

More Articles to Read

Debugging ARM Cortex-M0+ HardFaults
Debugging ARM Cortex-M0+ HardFaults
EMP Jammer build
EMP Jammer build
A 3D-printed e-drum pad
A 3D-printed e-drum pad
Interactive geodesic LED dome = extreme geometric fun!
Interactive geodesic LED dome = extreme geometric fun!
Guide to build your 3.3v power supply
Guide to build your 3.3v power supply
SDR radio breathes life into a 75 year old Marconi CR100
SDR radio breathes life into a 75 year old Marconi CR100
A Time for Ranting!
A Time for Ranting!
Emulate a Commodore 64 keyboard with a modern PC and an Arduino
Emulate a Commodore 64 keyboard with a modern PC and an Arduino
USB2005 and USB97C202 Sharing ATA/ATAPI Drive w/ Another Controller
USB2005 and USB97C202 Sharing ATA/ATAPI Drive w/ Another Controller
Robotic Cat Laser
Robotic Cat Laser

Top




Shares