Innovative Switch – Cigarette Reminder
I worked with a metal cigarette case that utilizes spring-loaded braces to keep the cigarettes in place: when cigarettes run out the metal arm touches the metal interior of the case, lighting up an LED alerting the user that he / she is fresh out of cigarettes. The light will turn off once cigarettes have been loaded back into the case.
I worked with an Arduino Uno / breadboard to test the switches (button, denounce, input pull-up and state change detection). Videos of them in action are uploaded below:
State Change Detection: