Atmel solar panel battery charger
Source: InternetPublisher:lmHVpkzQuo Keywords: Solar power battery charger Updated: 2026/01/20

Atmel solar panel charger
Batwatch is a simple monitor for solar panel chargers, using an Atmel ATtiny13V microcontroller. It periodically measures the charging current and battery voltage and displays them by flashing two LEDs. I built this circuit into the plug of a Volkswagen solar charger panel to prevent the battery from discharging when the car is not in use for extended periods. Modern cars contain a lot of electronics, and a quiescent current of 40-50mA (about 1Ah per day!) is considered "normal."

Every few seconds, the software samples the two analog inputs, calculates the charging current and battery voltage, and displays the voltage on a red LED and the charging current on a green LED. Voltage is displayed in 0.1V units using three decimal digits, and current is displayed in 10mA units using two decimal digits. Each number is represented by the number of short flashes corresponding to its value. Zero is represented by a single, longer flash. The green LED remains completely off when the charging current is below 10mA (rounded) or negative. I used 4x oversampling to obtain 11-bit results, following the technique described in the Atmel application note AVR121. I'm not sure if there's enough noise on the inputs to actually improve resolution, but it doesn't hurt. The raw A/D readings are converted to voltage using separate offset/gain constants for each input. These constants come from calibration data stored in the EEPROM. To conserve power, all latency is achieved by executing one or more sleep instructions that idle the CPU until the next timer interrupt. The interrupt frequency is 100 Hz, so each sleep pause lasts a maximum of 10 milliseconds.



- 0-30V Mini Desktop Power Supply
- Lithium polymer battery charger
- 30V/4A Adjustable Desktop Power Supply
- 500W 12V to 220V inverter
- Automatic battery charger
- Charge-coupled MOSFET relay
- Simple DC-AC Inverter
- Dual USB charger with switching regulator
- Gate drive transformers vs. high-side and low-side drivers: Where is power supply design headed?
- A flyback converter solution where two outputs are better than one
- Application and layout analysis of solar energy and electric vehicle charging systems
- Solar street light design scheme based on AT89S52 microcontroller
- Solar flasher principle circuit
- Cadmium nickel battery charger circuit three
- Nickel cadmium battery charger circuit 2
- Constant current battery charger
- Automatic power-off nickel-cadmium battery charger circuit diagram
- Solar lighting circuit diagram
- lm358 alkaline battery charger circuit diagram
- Utilizing a Single Solar Cell Charger Circuit







京公网安备 11010802033920号