Hello there, i'm retrofitted a gasoline engine with arduino uno instead of mechanical timing belts.
As you guessed, board determining the mill state from a rotary encoder, triggering the spark plug based on measured position.
Currently i'm writing this position data into eeprom on each 50ms, arduino reads the last state at bootup and instantly continues to the operation.
in here i got two issues:
- eeprom write limitation: board will cease to function very soon with this behaviour
- eeprom access time: it's around 3ms, engine shaking a little bit on each reset
i imagined two solutions:
- capacitor based simple memory, build from scratch or a ready to use module if exists
- a more reliable board
which way i should follow? i'm open to suggestions