Skip to main content

Posts

Featured

Clappy the Lamp: The Clap controlled reading Lamp

  Clappy the Lamp: The clap controlled reading Lamp Materials needed: Electronics: Arduino Uno 2-channel relay (any would work by the way) Sound sensor Lamp (any, but one with a switch will be easier to use) USB Type-A to Type B cable (Arduino cable) 5V 1A adapter (a normal phone charger would work too) Jumper wires Tools: Hot glue gun (to stick the components) Screwdriver and pliers (to open the lamp and get access to the wiring and all...) (For the code download the files from the link at the bottom) (I prefer reading the code first) Working: The main thing is the code, it uses Booleans. When we clap, the sound sensor sends a HIGH signal and it makes our relay status True or False. Steps: 1. Open the lamp and take out the on/off switch (The lamp I used) 2. Remove the switch and connect the relay instead of the switch as shown in the circuit diagram 3. Close the lamp 4. Connect as per the diagram 5. Upload the code 6. Test!!!! and Enjoy!! 7. Make a closure for the electronics for beau

Latest Posts

AutoWaterFlora: The Self Watering Plant