Dear members,
I am in the need of keeping the position of a motor rotor in some kind of non-volatile memory. Basically, it is either "open" or "closed", so only one bit is needed. The motor is stopped at certain positions by a built-in switch and the rotor position of the stopped motor is in turn "open" or "closed".
All I need is to display the rotor position on a remote control panel by the means of a LED. Electrically, there is no difference between these two positions, so the only way to differentiate them is to store the current state in memory and flip it each time the motor is actuated.
I have not come up with anything better than to use a flash memory chip. The motor will be actuated quite rarely, so there is no IC aging issue. The issue is that the flash IC is designed to store kilobytes and I need only one bit. Each time the motor is actuated, a new rotor state must be written to memory. At the same time, the current state must be read and indicated on the LED.
I am not sure if a flash memory can be used for this purpose, so I will appreciate any suggestions. I have an AT29C257 chip on hand, so it would be perfect to use it.
I am in the need of keeping the position of a motor rotor in some kind of non-volatile memory. Basically, it is either "open" or "closed", so only one bit is needed. The motor is stopped at certain positions by a built-in switch and the rotor position of the stopped motor is in turn "open" or "closed".
All I need is to display the rotor position on a remote control panel by the means of a LED. Electrically, there is no difference between these two positions, so the only way to differentiate them is to store the current state in memory and flip it each time the motor is actuated.
I have not come up with anything better than to use a flash memory chip. The motor will be actuated quite rarely, so there is no IC aging issue. The issue is that the flash IC is designed to store kilobytes and I need only one bit. Each time the motor is actuated, a new rotor state must be written to memory. At the same time, the current state must be read and indicated on the LED.
I am not sure if a flash memory can be used for this purpose, so I will appreciate any suggestions. I have an AT29C257 chip on hand, so it would be perfect to use it.