Turns on and off the light in a wardrobe if a door is open with help off a 433MHz sender and two IR-sensors too see if a door is open. Hope my parents like that the light turns on automatic instead of using a stupid remote controller for turning the light on and off.
Used to control the 433MHz sender and receiver rc-switch
Sharp GP2Y0A21 IR Distance Sensor (10-80cm)
Sensor
Used the receiver for decoding the info from the remote controller.
Used the sender for toogle the light.
433 sender and receiver
Help for Decode and Send 433 MHz
The 433 receiver in the wardrobe