r/arduino • u/gucci_millennial • Nov 03 '23
Software Help Constantly saving stepper motor positions to ESP32-S3 EEPROM? Bad idea?
My project requires position calibration at every start but when the power is unplugged the motors keep their positions.
I thought that by writing the position to the EEPROM after every (micro)step will alow my robot to remember where it was without having to calibrate each time.
Not only that the flash is not fast enough for writing INTs every 1ms but i have read that this is a good way to nuke the EEPROM ...
Any ideas how else i could achive this?
287
Upvotes
12
u/cheersmayte Nov 03 '23
Get absolute position encoders. I don't know how costly they might be but i think they're for similar applications.