Need advice on medication reminder
Epileptic has trouble remembering whether he has taken pills. Intend to have LED to come on at pill time and stay on until he graps his cup of pills (the motion). LED goes off until the next morning when system repeats.
LED comes on at 9pm (take your pills)
LED goes off with motion and stays off (IR sensor focused on cup with pills)
LED comes on at 9am (take your pills)
LED goes off with motion and stays off (IR sensor focused on cup with pills)
repeat
This is what I have so far: power>clock device>220 ohm resistor>LED>motion detector>ground
I don't know how to make it stay off after motion and how to make it auto reset system to come back on at prescribed time. Also don't know how to select a timer. Any help while I continue my research will be greatly appreciated.