Today I worked on improving the code and adding small but important (to me) features.
The first is automatic and manual commit of settings. It is now possible to tell the device not to auto-commit and then be able to change both voltage and current in a single motion by setting the voltage, then the current and then commiting both into action.
A configuration of the device options is now done automatically so it will be easier to deploy the firmware. This is an option that is required to be able to PWM control the voltage and current and it took me a while to figure out how to program the flash.
The last feature of today is saving the configuration to flash for persistency. This is a small feature by itself but important to make calibration of the device worthwhile since otherwise it would be needed to calibrate it every time it is started.
Along the way I improved the code to make it more manageable.
Next up, calibration of the device.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.