I've opened up a PWM5 solar charge controller and put an Arduino Pro Mini where the PIC 12F683 used to be. A potentiometer is used to control the PWM pulse width and I'm trying to steer the battery voltage to the desired 13.5 volt float point.

By Julian

Youtuber, shed dweller, solar charge controller aficionado

11 thoughts on “Arduino pwm solar charge controller #3 – open loop control”
  1. Avataaar/Circle Created with python_avatars Moses Okoroafor says:

    Could the charge pump and the high side driver be replaced by a single bootstrap high side driver like the tlp250?

  2. Avataaar/Circle Created with python_avatars Readme .txt says:

    Couldnt the microprocessor regulate charging voltage depending on ampers value? Why you play with the potentiometer since you dont know the current value?

  3. Avataaar/Circle Created with python_avatars Caleb Hille says:

    "ive closed the loop by using my own brain" lol.. lovin it.. great vid man

  4. Avataaar/Circle Created with python_avatars Grits69FordF100 says:

    Can you add thermal sensing to this. I would hate to have this go thermal runaway.

  5. Avataaar/Circle Created with python_avatars xanataph says:

    Why in particular have you chosen 13.5v as your target float voltage?  (Why not say 13.8v or 13.2v for instance?)

  6. Avataaar/Circle Created with python_avatars Wild Horse's On The Move says:

    Putting in for the first order! ololol Your brilliant.

  7. Avataaar/Circle Created with python_avatars Johanna Schenk says:

    I'm so gonna build that thing up once you've got some documentation for it 🙂

  8. Avataaar/Circle Created with python_avatars The Hawk Ness says:

    You thought about a ATTINY85? You don't need a crystal and its in a 8 pin DIP or SMD part. 

  9. Avataaar/Circle Created with python_avatars directeeccks says:

    This is awesome.   The fact it is open source and the Arduino is the brains gives this a leg up on commercial charge controllers.  I will defiantly follow this project cause the great thing with open source projects seems that they only get better.   There will probable be a day where this will match/beat most charge controllers in its class and will be cheaper to boot.  I will definitely think twice when go to purchase my next charge controller. Good job and Cheers!

  10. Avataaar/Circle Created with python_avatars Phil B says:

    Nice work Julian!
    I see a download of an Arduino PID library in your future 🙂

  11. Avataaar/Circle Created with python_avatars Caveman Electronics says:

    cool stuff. lots of toys! you are pretty close in theory to what my little controller is doing. high farad capacitors in parallel with the solar input slows down the swings a little bit, making it easier to nail down that sweet spot….. but there are a ton of variables. i eventually want to set up two systems side by side, with identical panels and batteries, but different circuits to show the difference.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.