I decided that the best way to interact with the servo is to have a dedicated application. I did toy with the Idea of the user changing parameters in the Arduino sketch and re-uploading it to the servo. That's not a real polished product and will deter some hobbyists from the product. So I started to build the interface to read/write settings. Here is a screenshot of the GUI
The user can select read/write/perm.write for any of the settings. The difference between write and perm.write is how it is handled in the Arduino. The write changes a volatile variable only (will reset at startup) and the perm.write changes the volatile variable and the EEPROMPT variable. This was done to give flexibility to change a parameter multiple times without "wearing out" the EEPROMPT storage. This is particularly useful when using the servo in a robotics application that a master computer may change the PID gains multiple times per second.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.