The code now has a proportionality element which relates the battery voltage error to the PWM change step size.
Good morning all…
Youtuber, shed dweller, solar charge controller aficionado
This site uses Akismet to reduce spam. Learn how your comment data is processed.
You could reduce the jitter in code by simply taking the average of 5 samples. Crude, but it helps.
Plz tell me hw I can make a complete controller with the arduino only
Can someone tell me how can I trigger the ADC reading during the off time of the PWM signal in a PIC16F1824? Thank you!
Can you write a code in XC8 for the PIC12F683?
So, your circuit is just a voltage regulador across the load(battery), using PWM to achieve so. It is not design to deal with Bulk, Absorption and Float phases like a high end PWM solar power controller. Am I right?
From what I see here all that needs to be done is Kelvin connection to the battery so that the wire resistance doesn't throw off the voltage measurement.
where did you upload the code and diagrams?
I work with hardware, not code.
Do not use zener diodes for voltage measurements.
Lead batteries are damaged by ripple.
Encourage all users to mount fuses all batteries individually, as close to the plus pole as possible …
I'd gladly become a patron if you'd do more work on this project.
I'm hoping to see more work on this as its warming up this year. I'm looking to work something like this into my solar system.
How about SolArduino as a name for this.
@Julian ilett Your explanation of the jittering of the pulses seems very plausible. I recon that other charge controllers, in measuring the battery voltage, does the same thing in when the pulse is off. Then again how does it measure it when you are at 100% duty cycle?
Can pwm-chargers always be connected and charge at 13.5V without damaging the batteries?
Any plans for 24v build?