i don't have a clue about battery charger, but to me a DC voltage instead of PWM would be safer... but i could be wrong.
Assuming i'm right, the easy way is to use 10 bits DAC. You can find some I2C one. Now you just need to hook few of them on 1-2 i2C bus and you're in business.
10 DAC would also require 10 ADC on the PIC for some 'feedback' control. But that's easy.
Fortunately, i'm not the only one here and some may have better tips and or idea.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks