I have managed to get the current to readout properly as well, this was pretty strait forward to get it to display sometime, less so to get it to display a correct current. There is an interesting issue with bringing power up and down on this TI MCU - when I power down the digital supply but leave the analog reference and ground connected, it draws a huge amount of current. I have rectified this issue by adding a 1K resistor in series with the 3V reference supply. Next it will be fairly strait forward to implement a simple MPPT algorithm once I find a sample rate that gives me nice stable ADC values each time I take a measurement. I plan on displaying the Power and battery current on the display for now, and later add charge statuses when I start working on the battery charging algorithm.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.