- Announcement about May 10th, 2018 update and your password.
I'm designing a very simple motor control panel using a rotary encoder connected to a Prop1. The user selects the desired RPM via the encoder. The Prop1 then outputs to a DAC to generate a 4-20mA control signal to a COTS motor driver.
On powering down, I would like the Propeller to write the current RPM set point to non-volatile memory. That way, the user doesn't have to re-dial the RPM setting from 0 each "day". I'm concerned about writing to the EEPROM too frequently, as I know these are life limited. I thought it might be best to monitor the input voltage and when it drops below a certain value, write to the EEPROM. Of course I would have to have some "hold-up" capacitance and monitor the voltage up stream of that. I'm just having a little trouble picturing it all. Wondering if anyone has gone down this path before and would be willing to share.
Thanks in advance!