Maximize Your Solar Charging With a DIY Arduino Controller

Arduino Technology
Maximize Your Solar Charging With a DIY Arduino Controller


Here’s how to build a buck converter using an Arduino Nano (as well as another 28 listed components) to supply the maximum power that you can to your PV cell. This is known as maximum power point tracking, abbreviated MPPT.

Photovoltaic (PV) cells produce different amounts of current and voltage depending on light and temperature conditions. As shown in the curve in the chart below, since Power (P) = voltage (V) multiplied by current (I), there is an optimum point where the current and voltage produced will give the maximum power.

If one were to charge a battery directly, the voltage produced would be near the load voltage of the battery, possibly producing a less-than-optimal power output.


As you might suspect from the number of components, this isn’t the simplest project. Despite the challenge, it looks like an interesting project; after all, not everyone can say they’ve wound their own toroidal inductor!

For more background on how MPPT works, be sure to check out the presentation below.

YouTube player

Comments are closed.

Discuss this article with the rest of the community on our Discord server!

Jeremy is an engineer with 10 years experience at his full-time profession, and has a BSME from Clemson University. Outside of work he’s an avid maker and experimenter, building anything that comes into his mind!

View more articles by Jeremy S Cook


Maker Faire Bay Area 2023 - Mare Island, CA

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Buy Tickets today! SAVE 15% and lock-in your preferred date(s).