infidel-sensor
infidel-sensor copied to clipboard
Improve Calibration Procedure - User Feedback
Right now, the calibration procedure totally opaque with essentially no user feedback. It would be great if the calibration procedure for the sensor incorporated flashing LEDs to alert the user to the current state of the calibration process. There should be some sort of way to signal the following states:
- Calibration in progress, insert pin
- Reinsert pin/retry
- Calibration stage success, insert next pin
- Error
Each of the "flash codes" for these states should be documented and the calibration procedure revised.
How about adding an I2C display?
Nothing wrong with this idea, but it could potentially raise the BOM cost significantly. At the very least, it will require changes to the PCB design and layout. Since calibration shouldn't be happening very often, it might be fine to stick with flash codes for now, since there are only 4 states.
It looks like in #8 there was an I2C interface implemented, though I'm not sure how it works and haven't tested it yet. Perhaps there is some potential to do this calibration by connecting to a remote serial console and doing the calibration interactively through that.
#8 does set up a serial user interface on the Arduino host, with a 2-way communication to the ATTiny85.