# Solar charger circuit

A project log for Green Detect

Wireless Sensor Network Platform (WSN) , for enviromental monitoring

Sergio Ghirardelli 06/30/2022 at 12:410 Comments

When I thought about the Green Detect project, I immediately had in mind the outdoor use and the total energy autonomy of the sensors, with solar panel charging and energy storage,

The challenge I immediately thought about was to make the project significantly more eco-compatible by using a supercapacitor.

I made the first tests with low cost supercapacitors, with poor results.

So I tried with a quality product at a reasonable price: Eaton cod.XV3560-2R7407-R

For the choice of the supercap, I used the Eaton calculation tool:

I was clearly aware that it would be the practical test to tell me if the choice was right!

The first breadboard tests were encouraging, so I started working on the solar charging circuit.

I needed a simple, inexpensive circuit able to get even a few mA to the supercap (for example on cloudy days).

The charge of the supercap must follow a fundamental rule: the charge voltage must not bring the supercap to a voltage higher than 2.75 V.

The end-of-charge voltage of the supercapacitor is the same as that of 2 Ni-Mh batteries in series: this analogy led me to think of a solution that would leave a door open for “plan B”: use 2 NiMh batteries instead of the supercap in case this fails to power the sensor.

After a series of tests I thought about using a current shunt regulator circuit.

I simulated the circuit with online Falstad simulator:

This circuit keeps the voltage constant by draining the current to GND.

The voltage is established by appropriately dimensioning the voltage divider resistances at the base of the NPN transistor.

With a few additions and improvements, the charging circuit is this:

I added schottky diodes to block reverse currents and the possibility to charge from USB.

The only effect to consider is the temperature on the body of the power transistor Q2 at the end of the charge, when all the current supplied by the 3.5W solar panel (max 520 mA) is drained to GND by Q2.

To dissipate the heat, I designed a large GND plane at the bottom side of the PCB, also I added a heatsink on transistor Q2.

The result is good: the temperature on the transistor body does not exceed 60 °!!!

I love simplicity!