I've written a first draft MPPT algorithm which sweeps the PWM value from one end of the scale to the other, looking for the point at which power from the solar panel drops. Surprisingly, it seems to sort of work!
Main code file: http://www.256.co.uk/?p=1104
Header file: http://www.256.co.uk/?p=1107

By Julian

Youtuber, shed dweller, solar charge controller aficionado

11 thoughts on “Arduino mppt solar charge controller #18 – tracking algorithm works!.. sort of”
  1. Avataaar/Circle Created with python_avatars harpreet928 says:

    I really like your manual method 👍👍 Cheers from punjab.

  2. Avataaar/Circle Created with python_avatars britt says:

    I'm trying to access the code via the link in the description but it won't load, is it still up? Maybe something on my end. Thanks, really love this series!

  3. Avataaar/Circle Created with python_avatars ljy17 says:

    Hi Julian, I’m trying to access the link for this version of the code but no connection. Can you provide an up to date link or send it to me somehow. Thanks – from not so sunny Bristol!

  4. Avataaar/Circle Created with python_avatars Razvan Udrea says:

    Hello Julian,

    The files are unavailable at this moment.
    There is any other version of them posted ?

    I am more then interested in building a MPTT charge controller for a solar generator

  5. Avataaar/Circle Created with python_avatars Petr Benesovsky says:

    Hello Julian. I'm currently working on mppt solar charger. I'm a newbie so I need the source code to learn from it. Could you reupload it please? It would help me a lot. Thank you 🙂

  6. Avataaar/Circle Created with python_avatars shehryar shaheen says:

    dear the links you provided are not working. any alternatives?

  7. Avataaar/Circle Created with python_avatars Chris Fairbrother says:

    Hi Julian, I am very interested in this. I have tried to download the code. Is your web site down? Keep up the excellent work.

  8. Avataaar/Circle Created with python_avatars genuino 301998 says:

    The link is not working

  9. Avataaar/Circle Created with python_avatars Max Müller says:

    Can i Modifing this for a smartphone app?
    Sorry i spreak German

  10. Avataaar/Circle Created with python_avatars Kalpesh Patel says:

    Why you have used 9V battery? Can't we use same arduino power?

  11. Avataaar/Circle Created with python_avatars Atlas Reburdened says:

    It warms the heart to still see point to point electronics builds. What wonderful legos we have these days.

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.