aplavins / arduino-mppt Goto Github PK
View Code? Open in Web Editor NEWArduino based Maximum Power Point Tracking (MPPT) solar charge controller
License: GNU General Public License v2.0
Arduino based Maximum Power Point Tracking (MPPT) solar charge controller
License: GNU General Public License v2.0
Dear Adam,
thanks for publishing this great project! I am currently building my own device based on your design and am currently working on the PCB layout. Thinking about pushing it to github as well, however I am not sure which license to apply. In your schematic and source file I only found "This is an open source project and you are free to use any code you like. Please give credit.", the github project however says GPL. Not sure about the license of the timnolan project you cited.
I would be glad to know if I am free to choose another license (e.g. MIT) or have to stick to GPL.
Thank you very much!
Hello,
I attempted to build this project but the low side mosfet gets fried immediately when I connect the battery. I took note of your warning that setting the pulseWidth to a low value will short it out. The main thing I did different with mine was that I powered my Arduino with a usb power bank for testing purposes. I was afraid of connecting vin to the charging battery in case of a voltage spike. I connected the usb power to the arduino first, and then when I connected the charging battery, the low side mosfet popped like a firecracker. The arduino was fine though, and none of the other mosfets seemed damaged according to some testing with a multi-meter.
I have a few assumptions, and please do correct me if I'm wrong, I'm still somewhat inexperienced with these type of electrical projects.
Given that the mosfet burns if the pulse width is set too low, I assume if the IR2104 isn't working then it would also cause this to happen. As far as I understand, it has to be always running or else the low side mosfet makes a closed circuit through the inductor and battery which causes it to fry. I could be wrong though. This makes me think of another potential issue, if the arduino is powered from the 12v battery, would the mosfet cook before the arduino could start up its pwm output to the mosfet driver?
Would adding a diode between the low side mosfets drain and the inductor prevent this burning? Maybe I don't know something that would make adding a diode there a bad idea.
I suspect that my circuit board wiring could have been wrong or maybe a faulty IR2104 that wasn't driving the low side mosfet. I did not have any panels or loads connected when I tested this, I only got to attaching the 12v battery before I had trouble. I replaced the fried mosfet with a new one, thinking that the fried one might have been bad, but the replacement fried too. I'm going to give this another try with a fresh set of components and organize my layout of them better in case I made any mistakes following the schematic.
Thanks for all the work you put into this project, if you have any suggestions please let me know.
Hi,
Thanks a lot !!!! Waht about and schema or similar ? I have check other MPPT in instructables and tim lonan, but yours is for 250W, I have a doubt, what inductor do you use?
Best regards
It seems to be an error in the process (lines 249 - 263)
When stepAmount is < 1 then it value is 1, but when (Vcvm - panelVolts) /10 is -50 (for example) then the step is forced to 1, then the PWM is not correctly adjusted because a too little step.
How to get 24 volt output
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.