Bring Solar Power Into Your Sensor Project
Quite often we want to place our sensors at locations where we have no access to a power-outlet. The obvious solution is to add some solar panels and batteries to your project to make it run 24h / 7 days a week without the need to recharge it. There are ready solar charger breakouts available to connect your electronics to a battery and a solar panel, like the CN3065 Mini USB Solar Lithium Charger Board Module or the USB / DC / Solar Lithium Ion/Polymer charger v2. But what if you use a controller board that has already a battery charger and battery connector on-board, like the Adafruit Feather series? Then why invest in an additional charger board and voltage booster to charge your battery?
Simple Solar panel to 5V converter.Here I will show you a solution that requires only one cheap breakout board to use a solar panel to supply your micro-controller board with 5V and make use of the integrated battery charger component. The simple solution is to use a Step-Up-Down voltage converter, in this case the DC DC Automatic Step Up-down Power Module 3~15V to 5V 600mA. DC DC Automatic Step Up-down Power Module 3~15V to 5V 600mA. This module is capable of taking an input voltage of 3 to 15V and convert it to a stable 5V output voltage with a peak of 600mA current. Perfect to supply a Adafruit Feather board and have sufficient current left to charge a battery. To use it we attach a JST 2pin connector for the solar panel to the VI- and VI+ pads and a USB female connector to the VO- and VO+ pads. Very simple diagram, and if you are sure about your projects, you can skip the connectors and connect the Solar panel directly to VI+ and VI- and your electronics board directly to VO+ and VO- with some wires. I used a small proto board to put the solar cable connector on it and soldered the board directly to the voltage converter.
The solar panelLooking into solar panels you can find different capacities and different output voltages. Depending on whether you’re looking for a Commercial solar company for a larger project or a residential company, voltage changes. For this project I chose a panel with 9V voltage and 220mA current output, the Solar Panel 9V 220mA. The reason to select this panel is the input range of the Step-up-down converter used. It accepts 3 to 15V input, so even if the panel is not in bright sunlight (and produces less voltage/current) it is sufficient to power your micro-controller. And the 9V panel will have an output of max 11V without load in bright sunshine, so we are below the maximum allowed input voltage. In case you need more power (current) in your project, you can connect several Solar panels in parallel to the voltage converter to squeeze out more Amperes. By looking into purchasing a foldable solar panel rather than an unfolding one, you can have more storage space when needing to connect more than one solar panel together, too. Therefore, you can get more power from them but you are using less space. The selected Solar panel came without any wires attached, so first thing to do is to use your multi-meter and find out which of the (originally unmarked) pins are Plus and Ground. After we found out the polarization, we can solder a pair of wires (I used a wire set with a JST connector attached already, similar to this one JST-PH Battery Extension Cable 500mm). Some shrink tube will protect the contacts from accidentally connect to each other. And finally we cover the whole connection with some isolation tape. For the final product I am planning to create a 3D printed adjustable frame for the solar panel that
- protects the solder contacts
- protects the wire connectors from weather
- provides an adjustable mounting pole to securely place and fixate the panels.