Close

Fixed point parsing fixed

A project log for Power Supply B3603 Alternative Firmware

B3606 is a cheap MCU controlled power supply, I'm reverse engineering it and writing software to add serial port and more features.

baruch-evenBaruch Even 02/22/2015 at 18:110 Comments

The fixed point parsing was incorrect due to an overflow, I had to set the variable to uin32_t to get it to work properly. I also needed to fix a rounding error that made the numbers off by just a little bit. Now it works very well.

Now I need to work on the PWM calculation it is way off and makes no sense right now. Once I have the PWM working I will have essentially a working power supply that is serially controlled.

I still don't know how to read the buttons in their weird setup. But that will wait a bit more. Once I get the PWM working I'll work on getting the display properly sorted to display the different values.

Discussions