How to build an Arduino controlled solar charger

  Рет қаралды 100,633

Curio Res

Curio Res

Күн бұрын

Пікірлер: 149
@thorntontarr2894
@thorntontarr2894 2 жыл бұрын
CR: You start so simply - a solar panel charger but quickly you enter real issues with solutions involving maths, PIDs (yes, I have seen your PID videos) and experimental evaluation. If only your approach and testing philosophy was the standard of You Tube, real progress would be made by many. Your approach seems straightforward; how is its efficiency? Yes, I understand that you are teaching us not building a product to sell. So very well done, CR.
@chordlord-qt4vt
@chordlord-qt4vt 11 ай бұрын
I finally succeeded in doing something that I had been struggling with for a while. Sometimes all it takes is finding the right resource or approach that clicks with you.Thank youu for the video
@trynadyna9662
@trynadyna9662 11 ай бұрын
You are an INCREDIBLE and impressive person, my goodness! This has got to be one of the most well-done tutorial videos on any subject that I've ever watched. Everything about it is perfect, I really mean it. Subscribed and really looking forward to diving into some more of your content!
@hinokikuaimu
@hinokikuaimu 2 жыл бұрын
Concise, excellent starting point to go deeper and a soothing voice which encourage learning, very well done! Suggestions for future videos: you made the buck, how about the boost? BLDC control (mentioned elsewhere, I second that), positioning with Kalman filter and IMU, supercapacitor charging control (not far from this video but with different charging approaches)...
@curiores111
@curiores111 2 жыл бұрын
Thank you for the suggestions, I'm very interested in all of those. I've started working on BLDC and Kalman filter before, so those are near or at the top of my list.
@MyChico2012
@MyChico2012 2 жыл бұрын
This video is a piece of art!
@garyhalsey7693
@garyhalsey7693 Жыл бұрын
First time coming across your channel and all I can say is….. amazing!! Subscribed and looking forward to digging into your other videos! Tried many times unsuccessfully to get a good PID setup on my Arduinos, hoping watching your videos will yield success! My background is in electronics for the Royal Navy and been writing code in one form or another for over 40 years. Keep up the brilliant work!!
@curiores111
@curiores111 Жыл бұрын
Hey Gary, thanks for dropping by! I appreciate your kind words. Let me know how your PID projects go. I find them to be very interesting, although I'd like to get more into the theory. Hard to find the time though. 40 years! Well done. I've been writing code for maybe the last 14 years. But only started working as a software engineer a couple of years ago. Feel free to let me know if you have any questions. You can also email me at curiores@gmail.com although my responses can get a bit spotty if I am busy.
@davestewart2433
@davestewart2433 2 жыл бұрын
Brilliant!. All your videos are amazingly well made and super helpful. Your PID video I watched 100 times and used it in a balancing system. I just got a couple solar panels and wondered how to make a charger. Well, after watching this, I am going to buy an off the shelf one. lol. Thanks again. Keep em coming.
@curiores111
@curiores111 2 жыл бұрын
Thank you! Also...you and me both Dave, you and me both.
@hoangthang8772
@hoangthang8772 Жыл бұрын
This panel can put out close to 100 watts kzbin.infoUgkxOqI2yqX0XVrhR2BMJciTWrHJpG8FhJyg when positioned in the appropriate southernly direction, tilted to the optimal angle for your latitude/date, and connected to a higher capacity device than a 500. The built in kickstand angle is a fixed at 50 degrees. Up to 20% more power can be output by selecting the actual date and latitude optimal angle.The 500 will only input 3.5A maximum at 18 volts for 63 watts. Some of the excess power from the panel can be fed into a USB battery bank, charged directly from the panel while also charging a 500. This will allow you to harvest as much as 63 + 15 = 78 watts.If this panel is used to charge a larger device, such as the power station, then its full output potential can be realized.
@curiores111
@curiores111 Жыл бұрын
who said anything about 400 watt? The solar panel I used was 25 watt. I was charging AA batteries, not a car battery. :)
@PhG1961
@PhG1961 8 ай бұрын
This is by far one of the better videos I've seen. Very well explained and at the same time entertaining too!
@weiye701
@weiye701 Жыл бұрын
Awesome job of explaining a complex problem in a very simple and understandable way! You have been amazing! Thank you!
@curiores111
@curiores111 Жыл бұрын
Nice of you to stop by! Glad that you found it interesting. 😊
@LyesSMAILI
@LyesSMAILI 2 жыл бұрын
I wish I've found this channel early. Well, now you have +1 sub.
@francoisguyot9770
@francoisguyot9770 11 ай бұрын
Very nice, detailed modular explanation for both hardware and software! I'm subscribing as i'm eager to try that project.
@AugustineAriola
@AugustineAriola 5 ай бұрын
Wonderful video. I have finally found solution to my age long problem. I did control engineering, I perfectly understood the PID part very well. I used a PID controller in my M.Eng program with a multivariable sensor that added complexity to the project.
@davebutler3905
@davebutler3905 Жыл бұрын
The buck converter is more than just an LC filter... You need the diode to allow energy stored in the inductor to supply the output, when the mosfet turns off.
@CroftGaming1
@CroftGaming1 Жыл бұрын
I guess she is better at coding and electronics is just a hobby.
@vigneshperiyasamy3019
@vigneshperiyasamy3019 Жыл бұрын
this channel deserves 10M subs
@sennabullet
@sennabullet 7 ай бұрын
This is an exceptional video! Great production and amazing explanation. Thank you for sharing your knowledge with us.
@jugnu361
@jugnu361 Ай бұрын
Pro................Best On Internet...................
@nathalieb4648
@nathalieb4648 8 ай бұрын
Hello, thank you for the amazing video. It is helping me A TON w/ my senior (bachelor's) project.
@md.shahriyarmahmudtasrif653
@md.shahriyarmahmudtasrif653 2 ай бұрын
enjoyed it! this is a piece of ART!!
@tamashamas6193
@tamashamas6193 Жыл бұрын
Echoing the opinion of many other commenters, very impressed by the quality of your work! An organic problem solving process that has been well documented and presented with gorgeous and effective graphics, diagrams and footage. Do you do youtube full time by any chance? So much effort must go into these videos.
@keen2461
@keen2461 10 ай бұрын
Excellent video. A bit of an overkill, but depending on your knowledge and project goals you can take the pieces of this content and build it around it. Thanks for sharing.
@curiores111
@curiores111 10 ай бұрын
Thanks! Overkill -- meaning the circuit details perhaps?
@keen2461
@keen2461 10 ай бұрын
@@curiores111 Meaning that in some situations that approach can be too complex to implement. Normally in a solar powered system you want to balance simplicity and performance.
@curiores111
@curiores111 10 ай бұрын
@@keen2461 Thanks for your thoughts!
@7alfatech860
@7alfatech860 2 жыл бұрын
Really nice walkthrough the entire process. I also liked how you clearly stated what you weren't going to cover. BTW, what software did you use to overlay the graphs on the video?
@curiores111
@curiores111 2 жыл бұрын
Thank you very much. 😊 I use Camtasia to overlay the graphs
@7alfatech860
@7alfatech860 2 жыл бұрын
@@curiores111 Thanks for the reply. I have used Camtasia, and will need to figure out how to do the overlay.
@curiores111
@curiores111 2 жыл бұрын
@@7alfatech860 ​ Sure. For myself, I use PNGs with transparency for the overlay, and simply animate some parts in Camtasia. In other cases with just a basic black background, I create the video in Python and then import it in. I have not yet found a good solution for using transparency in a video directly yet (haven't needed it so far), but I'm sure its out there.
@sumalansebastian5313
@sumalansebastian5313 Жыл бұрын
You deserve more subscribers
@adnanahmadknowledgevideo
@adnanahmadknowledgevideo Жыл бұрын
I was given a solar charge controller project from my college and after working day in day out for days i finally made this solar charge control with the help of your video Thanks a Lot. And the battery is charging. But I have a question does this circuit have autocutt off feature when the battery is fully charged? because by reading the code you have provided I didn't understand that it has a autocutt off feature or not ?
@curiores111
@curiores111 Жыл бұрын
No, this is most definitely experimental code. There's no auto cut-off feature, or other quality of life features.
@adnanahmadknowledgevideo
@adnanahmadknowledgevideo Жыл бұрын
​@@curiores111 So can you please explain me how can I add a auto cutoff feature in the code. I have to submit the project on coming week it will be better if I add a auto cut off feature.
@curiores111
@curiores111 Жыл бұрын
That's a complex topic. Typically a combination of signals are observed -- and it depends on the type of battery. The voltage will typically peak and then dip, so you can shut off after the voltage peaks. Another sign is a temperature increase. When the battery is fully charged it starts shedding energy as heat, so you can monitor temperature and shut off when you start seeing a spike. You can also just shut off when the voltage reaches an expected value. Again, it's a complex topic, so it would require some research.@@adnanahmadknowledgevideo
@adnanahmadknowledgevideo
@adnanahmadknowledgevideo Жыл бұрын
@@curiores111 Okay thanks for sharing this information
@s909201
@s909201 2 жыл бұрын
Nice film and I love your channel. Please continue to create more films for us. Thank you.
@MuZetaIEEE-EtaKappaNu
@MuZetaIEEE-EtaKappaNu Жыл бұрын
I agree with Gary. Thank you so so so so much for this video! You have no idea how much you are helping me with a DIY project. May I please ask you, what do you have your current sensor and Arduino connected to in order to get the graphs that you are showing in the video? Like what software or o-scope are you using? I would be forever grateful for your reply. Thank you again for this content.
@Petch85
@Petch85 2 жыл бұрын
Grate video. I could really have used that when I created a project using 12V, 10A peltier elements. I would have loved to control the voltage, in stead I just turned the elements on when the temp was too high and turned them of when the temp was too low. But the peltier elements is more efficient at say 7 and 10V than 12V, thus it would have been much better if I was able to control the voltage. But I found out really quickly that there are some dynamics effects when you turn on and of a 10A "resistor" multiple time a second. I am just glad my power supply survived.
@pieterpauwelbeelaerts5995
@pieterpauwelbeelaerts5995 25 күн бұрын
Wow, I came here looking for a way to build a charger for a sodium ion battery, as there aren't real low cost ones on the market (like tp 4056 for lithium ion)... and I am a bit... mind blown in the sense that your video at the end is extremely complex for a non engineering person to understand. It starts relatively simple however. It makes me wonder if the error corrections and extreme complex programming PID etc (for me) is actually required to make something work: to charge a battery. Because for now I charge my sodium ion battery manually using a buck converter that has no current limiting, by turning the potentiometer a bit up, slightly over the voltage of the battery, trying to see that the current is allways around 0,65A, which is 0,5C for my battery of 1350mah. And I stop at 4.1 volts which is the maximum voltage of my battery. If somehow you could replace the manual potentiometer with a digital one on a buck converter that would be very nice as opposed to designing the whole thing from scratch... For now I am actually thinking about buying a lab supply or just building a robotic arm to turn the potentiometer, even that seems more simple... but nevertheless thank you for the explanations.
@plamenpetkov7132
@plamenpetkov7132 Жыл бұрын
add an emitter resistor for the NPN, thus converting it to voltage controlled current source. Now select pull up to suit the PMOSFET
@_DTEB_KEITHNUBAILSIDQI
@_DTEB_KEITHNUBAILSIDQI Жыл бұрын
Incredible video, super helpful explanation. I have one question, Curio Res can you explain how to stop the battery from charging when its fully charged?
@michaelandersen1161
@michaelandersen1161 Жыл бұрын
Very nice videos, what software do you ude to make the electronic Circuit in your videos? Could you make a video on how you create your nice looking videos here on youtube
@BiomedicalEngineering-p9k
@BiomedicalEngineering-p9k Жыл бұрын
Nice and teaching video. What parameters should change to charge 24V battery from 48V panel?
@naeemhaq3504
@naeemhaq3504 2 жыл бұрын
Excellent videos. Proper engineering explanation.
@neuralcircuitry1
@neuralcircuitry1 10 ай бұрын
Great Video! Can I get the inductor spec? current value, voltage value...?
@DylanCahill64
@DylanCahill64 2 жыл бұрын
Super helpful and informative as always, thanks :)
@curiores111
@curiores111 2 жыл бұрын
Well thank you Dylan 😊
@patricknoyan3149
@patricknoyan3149 Жыл бұрын
very good video! could someone help me how exactly to get the integral coefficient and what mathematical equations are used
@Nxck2440
@Nxck2440 Жыл бұрын
Simulink PID tuner
@danielcastro9282
@danielcastro9282 2 жыл бұрын
Thank you for this information. Sorry to ask but if the Vin will only be 12V, what good values of pull up resistor and the resistor that would divide the voltage be? thank you
@orides5976
@orides5976 2 жыл бұрын
You can stick with 1k for the pullup. And assuming your P mosfet has a Vgs equal or greater than +- 20 volts, you can simply remove the second resistor, as there is no need to a voltage divider in this situation.
@SahilJamraMA
@SahilJamraMA Жыл бұрын
Can you please...upload a new video in running condition of your project....? Your video is amazing... A few help is needed when the project is under running... So please help us...🙏❤
@ReussirSonProjetEtudesAuCanada
@ReussirSonProjetEtudesAuCanada Жыл бұрын
Hello! Is it possible to list the components used so we can DIY at home please!😊
@GoatZilla
@GoatZilla 2 жыл бұрын
whoah this video turned out way more technical than expected. I was kind of expecting you to just hijack one of the pins (feedback or on/off) of an existing LM2596 module tho. There's also kind of a bad shortage of low power boost MPPT chargers for smaller projects out there. Errbuddy just wanna do big stuff; the little guys r left fending for themselves.
@paulanselmendoza5178
@paulanselmendoza5178 2 жыл бұрын
OMG, Thank You very much for this!
@PrUveTGoogl
@PrUveTGoogl 10 ай бұрын
I don’t know if you’re a guy or a girl, but you’re great for doing such projects, they definitely deserve a lot of respect for the work you’ve done! Thank you very much for sharing your experience!
@curiores111
@curiores111 10 ай бұрын
Both, as we collaborate on the projects. Thank you!
@Gerald-iz7mv
@Gerald-iz7mv Жыл бұрын
hi nice video - is there a solar panel, battery with that additional circuit ready to buy somewhere? i want to use it for some project but just want to connect both and not build it myself...
@copernicofelinis
@copernicofelinis 2 жыл бұрын
your videos are beautifully done. what do you use for the animations?
@curiores111
@curiores111 2 жыл бұрын
Many thanks Copernico. I use camtasia and python, mostly.
@10e999
@10e999 2 жыл бұрын
@@curiores111 you're building animation with python ? Interesting ! do you use a library to do so? Or did you built it from scratch?
@curiores111
@curiores111 2 жыл бұрын
@@10e999 Yeah, Python is mostly for the plots, (using matplotlib). Since it's pretty basic functionality, I haven't used a library or built much of one. :)
@10e999
@10e999 2 жыл бұрын
@@curiores111 I didn't know matplotlib could do animation ! interesting !
@Stealthsilent1337
@Stealthsilent1337 Жыл бұрын
This is SO well put together, WOwwwwwwwwwwwww.
@Stealthsilent1337
@Stealthsilent1337 Жыл бұрын
Which off the shelf ones are as good as yours?
@vitronicstech2633
@vitronicstech2633 Жыл бұрын
very nice tutorial, one quick question. can you modify your code to use I2C lcd?
@mhranmrad3284
@mhranmrad3284 11 ай бұрын
I am very thankful for your amazing explanation. I have a question and I hope you can answer me. If I use 0.5W Solar Panel, 5.5V, 100mA, 55 x 70mm instead of 24v solar panel with circuit you have made. It will work or I need to consider it as a new circuit and i have to change the value of components in the circuit.
@curiores111
@curiores111 11 ай бұрын
Thanks! As you suspected you would need to update the components for your circuit.
@hssnov
@hssnov 2 жыл бұрын
This is amazing. Thank you Madam
@JesseSchoch
@JesseSchoch 2 жыл бұрын
have you considered having the PID target power vs current?
@vishalmath2480
@vishalmath2480 3 ай бұрын
amazing ... thank you for the video
@alurihariharan5082
@alurihariharan5082 2 жыл бұрын
Very nice and neat...i tried it before (writing pid with if loops) it kinda oscillated to set value
@curiores111
@curiores111 2 жыл бұрын
Yeah, it is common to see instability with PID control in many systems.
@sneezydwarf8744
@sneezydwarf8744 7 ай бұрын
Hi! Can I use a programable DC power source instead of solar panel?
@mychromebook9935
@mychromebook9935 Ай бұрын
but what if i want the arduino to power off when there is no sunlight? i could just use the solar panel + buck converter + arduino right
@kifahzaidan4505
@kifahzaidan4505 2 жыл бұрын
THANKS A LOT CAN YOU PLEASE POST VIDEO FOR THE (CONTROLLING OF DC MOTOR 'ACTUATOR ' PROGRAMABLE POSITION WITH MEMORY BUTTONS USING ARDUINO. BEST WISHES
@rafimd4670
@rafimd4670 2 жыл бұрын
Is it for Li-io)Li-po battery or leadstorage battery?
@a.sanusinazareth9213
@a.sanusinazareth9213 2 жыл бұрын
BEST CHANNEL. Thanks so much for your tutorial. Vielen Dank! Gracias!
@the_harmless3459
@the_harmless3459 Жыл бұрын
How did you generated the bode plot? Is there any video related to this?
@curiores111
@curiores111 Жыл бұрын
I made a video about it! kzbin.info/www/bejne/hneXl4aIrLWea6s
@rajup.abraham9267
@rajup.abraham9267 2 жыл бұрын
Good narrations and video, pls help to increase current to 10A. I have 40V/10A panel
@donaldnasplucker
@donaldnasplucker Жыл бұрын
I have a question: does the inductor need to have a specific ohm or wattage rating?
@curiores111
@curiores111 Жыл бұрын
The inductor needs to be rated for the expected current. (this is of course the case for any circuit components). As far as ohms/watts, I'm not familiar enough with the non-ideal characteristics of inductors to know how much energy they are dissipating. If the current rating is sufficient, I assume any non-ideal dissipation will be negligible.
@donaldnasplucker
@donaldnasplucker Жыл бұрын
@@curiores111 thanks!
@pvsysttutor1186
@pvsysttutor1186 Жыл бұрын
Hello, Excellent work! I cannot access circuit diagrams in that link. Could you make them available?
@curiores111
@curiores111 Жыл бұрын
I'm not seeing any issue with the ones posted to the GitHub repo. Try these links: github.com/curiores/ArduinoTutorials/blob/main/SolarCharger/UnoChargingCircuit.pdf github.com/curiores/ArduinoTutorials/blob/main/SolarCharger/MegaChargingCircuitV2.pdf Alternatively, try downloading the whole repo and navigating to the "SolarCharger" folder.
@pvsysttutor1186
@pvsysttutor1186 Жыл бұрын
@@curiores111 I got them, thank you!
@ASAPASPOSSIBLE
@ASAPASPOSSIBLE 2 жыл бұрын
Is there an MPPT video on the. way? :D
@helinaras8664
@helinaras8664 Жыл бұрын
Also does the system still work without the arduino mega and temperature sensor?
@yosh1don
@yosh1don 2 жыл бұрын
Can you do a further video on the PID controller code for this please? I am trying to make one and need to understand the code on it. thanks. Great Vid BTW!!!!!
@curiores111
@curiores111 2 жыл бұрын
I might be able to do that. Is there any particular part of the code you're having trouble with?
@yosh1don
@yosh1don 2 жыл бұрын
@@curiores111 I am making a similar set-up but not as complicated as you have done - it's slightly above my level. I am trying to make a simplified version of the charge controller. My PID results come out as garbled symbols of lines of question marks. Have tried various iterations. Maybe I could send an email with my code?
@yosh1don
@yosh1don 2 жыл бұрын
@@curiores111 Hi I think I have managed to get the PID working, but I am having trouble understanding how you calculated the values of you LC filter, could you please tell me the calculations you used.
@meilein9865
@meilein9865 2 жыл бұрын
@@yosh1don I'm also having some troubles with the PID controller.... would you be able to tell me how you figured it out? I cant seem to get the setParams function to carry over into my main code, did you have that as well?
@helinaras8664
@helinaras8664 Жыл бұрын
Hello, um I have a question, what is a good equivalence for the IRF9540 MOSFET if it's not available?
@aislingboyhan350
@aislingboyhan350 Жыл бұрын
Also do you have an idea on how i can connect my Mq2 sensor now that the 5V pin is in use! Im a complete novice out of my depth!
@curiores111
@curiores111 Жыл бұрын
You can use the 5V pin to power more than one device as long as your current draw isn't too high (for sensors it won't be). If you're using a breadboard you can just connect the 5V pin to a power rail (or any terminal..whatever really), and then hook that to both. If you're not using a breadboard there are other options. I like solder seal connectors.
@CryingNeutrons
@CryingNeutrons 2 жыл бұрын
Incredible Video, Very informative, simple breakdown. Are you an electrical engineer? Self taught?
@curiores111
@curiores111 2 жыл бұрын
Much appreciated Sir Neutrons. I am self-taught in this area... my original degree is in applied math. I missed not getting to actually apply anything, so now I do it for fun. :)
@hristonedelkov1903
@hristonedelkov1903 2 жыл бұрын
Can I make the same system, but with 12V solar panel? What parts I have to replace ?
@mobysteve7515
@mobysteve7515 2 жыл бұрын
Nice!!! can't wait to try
@emmanuelsheshi961
@emmanuelsheshi961 Ай бұрын
last last the goat of elecrical/electronics is a woman... thanks so much for this
@sharifabdulrahmansharifhas6607
@sharifabdulrahmansharifhas6607 10 ай бұрын
Is this suitable for lead acid battery?
@aislingboyhan350
@aislingboyhan350 Жыл бұрын
Hi there, I'm looking for this exact build to go with my solar fire alarm project for my bachelor's degree. Can you advise the panel you used for this? I'm finding it hard to source a 24V panel. :)
@curiores111
@curiores111 Жыл бұрын
I used this inexpensive one from amazon.. www.amazon.com/gp/product/B01IFJ73X4/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&th=1 Cheap and not a lot of power but that is what I wanted. It's not exactly 24 V but it was sufficient for this system. If you need higher voltage you could always put a couple panels in series.
@tahirkamboh147
@tahirkamboh147 2 жыл бұрын
I do not click on notifications as that fast as fast I came here.
@curiores111
@curiores111 2 жыл бұрын
Too kind as always, Tahir. 😊
@dnhj24
@dnhj24 Жыл бұрын
Can you post a video boost converter
@yahiaahmed4364
@yahiaahmed4364 2 жыл бұрын
please, can u tell me how much watts of the solar panel is?
@curiores111
@curiores111 2 жыл бұрын
I was using a 25 watt panel in this video.
@JamesFraley
@JamesFraley Жыл бұрын
There is something I cannot understand. I understand that if my input is 12v and the duty cycle is 0.275, the average is 3.3V. However, devices don't work on the average. Even with a smoothing filter, a spike of 12v would destroy most 3.3v devices. So, how does the equipment survive? Does the RC filter smooth the voltage sufficiently for the equipment to survive?
@curiores111
@curiores111 Жыл бұрын
Yeah, the ripple on a correctly tuned RC filter should be pretty small. If the equipment is sensitive then of course you'd have to add additional filtering. Its common to have step-down converters use a mean approach with a filter. There are certainly other methods. There's plenty of engineering that's gone into this type of problem.
@JamesFraley
@JamesFraley Жыл бұрын
@@curiores111 Thank you
@flangooo2617
@flangooo2617 7 ай бұрын
would it be possible to charge a computer with this?
@jamest.5001
@jamest.5001 9 ай бұрын
Seems a voltage controllef relay would work just as well On until voltage rises to full charge then shut off. Using the panel voltage to open n/c side of relay. Maybe a Zener diode to control the relay, maybe put a transistor/mosfet between, use a viltage divider with pot to fine adjust the voltage and a small capacitor to slow switch ocillilation delay shut off slightly, then Keep off (transistor on), longer by the stored voltage in cap the battery may drop voltage then the relay will switch panel vack on possibly taking minutes to charge capacitor through a resistor and pot. Adjust to chsrge speed, possibly another to adjust adjust charge current/speed if cap/transistor , much more simple than Arduino, if using a Arduino, why not make a mppt, add a inductor to convert the voltage above full vharge voltage to current, to gsin wattage?
@AlirezaAzimi-hr9lq
@AlirezaAzimi-hr9lq Жыл бұрын
Thank you for this great video. Can someone help me to underestand how her class file is .hpp type? How I can I create such file to write my code in? Thank you!
@curiores111
@curiores111 Жыл бұрын
You can use regular hpp includes with Arduino (among other standard C++ stuff). It's really no different than writing the class inside the main Arduino file. Here, it's just used as a simple way to separate some of the definitions from the main arduino code.
@alirezaazimi7392
@alirezaazimi7392 Жыл бұрын
@@curiores111 Thank you vry much, I think it will be easier for me to write the class in the main Arduino code. I just have one more question if you don't mind. Should Li-Ion batteries be charged with a steady voltage and current? Is this the reason that we necessarily have to use a LPF to only keep the DC component in the output voltage? The reason that I am asking this is that why didn't we do the same thing simply by a voltage divider then use a buck convertor? Thank you so much!
@jermboslice
@jermboslice Жыл бұрын
Are you on twitter also?
@markday3145
@markday3145 2 жыл бұрын
Another great video! That was a good example of windup, and easier to understand than in things like motor control applications I've seen. I also appreciate you working through the basics of a buck converter, step by step. Would it make sense to use both proportional and integral terms? Would that reduce the overshoot once the panels resume generating power? I can see that the integral-only controller ramps up more slowly. I imagine that might be better for the battery.
@curiores111
@curiores111 2 жыл бұрын
Thank you for dropping by Mark! I'm glad that you found it to be an informative example. The system is so unstable the proportional controller doesn't really improve the response much. On the time-scale required by the battery, the integral controller is pretty good. I did actually have some issues with overshoot using the integral controller, but I actually found that by adding a feed-forward controller I was able to manage that pretty quickly. To be fair, this controller would normally be an analog one built with ICs and op amps... which does not suffer from (as much of) the same control stability issues as the digital one. I do enjoy broadly applying the Arduino, though, since it's much easier to utilize (especially for learning) than specific ICs.
@mehmetdemir5655
@mehmetdemir5655 2 жыл бұрын
You are genius
@avicstaghlem5527
@avicstaghlem5527 Жыл бұрын
Noob question, is this mopt charge controller?
@curiores111
@curiores111 Жыл бұрын
No, I did not compute the maximum power point -- but you certainly could do that and adjust the control signal. (In fact, as I recall, I used a relatively low input amperage to the batteries. They were quite small.)
@Abc-sl1nf
@Abc-sl1nf Жыл бұрын
Great voice!
@spolz2231
@spolz2231 Жыл бұрын
well done.
@nguyenanhhao9074
@nguyenanhhao9074 2 жыл бұрын
what is the difference between using a buck converter and BTS 7960 to charge a lead-acid battery? please, reply me as soon as possible, Currently i'm in a project needed this kind of code
@subhatrasaravanan1498
@subhatrasaravanan1498 2 жыл бұрын
Hii can I get the coding and the flowchart
@andyroom4563
@andyroom4563 2 жыл бұрын
sweety voice ,very good!
@zahidakram9622
@zahidakram9622 2 жыл бұрын
Vary nice and vary nice
@aislingboyhan350
@aislingboyhan350 Жыл бұрын
Hi there do you have an email address. I'm doing something similar to this for college but I cannot get it to work and I'm having major trouble trying to connect the solar panel to the buck converter and the battery to the breadboard! Kind regards Aisling
@omronnixt.quicay6344
@omronnixt.quicay6344 2 жыл бұрын
can I have the code sir ? I want to try it
@biswajit681
@biswajit681 2 жыл бұрын
Excellent... please upload BLDC motor control ... mainly trapezoidal and FOC ... please please
@curiores111
@curiores111 2 жыл бұрын
Appreciate that. I did buy some bldc stuff... haven't gotten around to making a video yet though. :S
@biswajit681
@biswajit681 2 жыл бұрын
@@curiores111 please consider my request because there is no good resource available on the internet regarding BLDC motor control algorithm.thanks in advance and appreciate your efforts
@curiores111
@curiores111 2 жыл бұрын
@@biswajit681 Indeed, I think it's a great suggestion! Definitely near the top of my list
@jay10987
@jay10987 Жыл бұрын
Has anyone else got this to work.
@jay10987
@jay10987 Жыл бұрын
Got it to work, I was using an Arduino mega and looking at the uno code. I didn't realize that the mega and uno had different pins for timer1.
@carminex
@carminex 2 жыл бұрын
woooooow...
@Rafy_24
@Rafy_24 8 ай бұрын
The power of the Sun... And about 60kFLOPS... In the palm of my hand
@honumoorea873
@honumoorea873 Жыл бұрын
Useless, not efficient at all.
@wakeupcanadians
@wakeupcanadians Жыл бұрын
Thought this was a how to build not here the structure lol
@curiores111
@curiores111 Жыл бұрын
I'm not sure I understand the distinction... are you indicating that the depth of the technical detail in the build is more than you expected?
@Leilektsoglou
@Leilektsoglou Жыл бұрын
Congrats for your work. Can you share your email ?
Electronic Basics #29: Solar Panel & Charge Controller
8:15
GreatScott!
Рет қаралды 491 М.
#142 Solar Power for the ESP8266, Arduino, etc.
15:06
Andreas Spiess
Рет қаралды 240 М.
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
MPPT What is it and How it works?
25:17
Electronoobs
Рет қаралды 116 М.
DIY 1kW Arduino MPPT Solar Charge Controller (WiFi ESP32)
18:11
TechBuilder
Рет қаралды 416 М.
Solar Battery Charger (LiPo/Li-Ion) || DIY or Buy
11:47
GreatScott!
Рет қаралды 1,1 МЛН
DIY Battery Indicator (Arduino Project)
18:35
upir
Рет қаралды 91 М.
I Built a Sun Tracking Solar Charger
14:15
AxelMadeIt
Рет қаралды 213 М.
Why you should avoid using charger modules!
16:44
Electronic Wizard
Рет қаралды 165 М.
DIY Solar Tracker || How much solar energy can it save?
8:49
GreatScott!
Рет қаралды 2,4 МЛН
Automatic Garden Watering System
15:28
Nikodem Bartnik
Рет қаралды 214 М.
Hacking a weird TV censoring device
20:59
Ben Eater
Рет қаралды 3,3 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН