I am working on a simple Arduino project which counts rotation using rotary encoder. After some calculation, I store this data to EEPROM.
I have used Arduino nano.
entire system is working completely fine when power supply is on. But when power supply is disconnected, Arduino is detecting some random pulse on rotary encoder sensor pins and modifies count and stores into EEPROM.
I have very little knowledge on circuit design. But i am suspecting, this undefined behavior is because of the 1000uF capacitor.
Please suggest me a circuit design to eliminate this undefined behavior.