I have built up a solar battery charger to be used in my Radio Ham station. It is used to keep charge a 27 AH 12 V SLA battery.
The panel power is 50 watt for now. I am NOT a programmer or a software guy and so I wrote the program for the pic18f4523 using a picbasic pro in a very preliminary mode.
The Pic is running at 40 Mhz clock speed and controls the duty cycle of a buck converter at 75 khz frequency.
The whole charger works well : there is a small problem relevant to the status selection that appears when the sky is cloudy (but not always): it jumps between status 0 and status 3.
This is not really a problem but I would like to fix it and make it stable in all the sky condition.
I told before that I am not an expert in programming so I would like if someone could help to improve the software that I wrote: I also think that there could be a lot of simplifications, corrections and others to be improved.
I will try to attach the basic program here. I could post the schematics diagram too but it is hand drawn.
Thanks in advance for any assistance .
Beste regards,
Ambrogio
Bookmarks