Turn your lights on with the touch of a magnet!

This is a basic circuit with a hall effect US5881 sensor that turns on an LED light. The code is programmed to turn on the LED when it senses a magnet nearby.