Clap light arduino | Turn on/off light with clapping

 

This is a very lovely study clap lamp that you can build as a beginner or just for fun or as a gift.

Since it's quite simple, I won't go much into details to spare you the boring stuffs.

The code you need, the STL 3D print files will all be attached for you to get straight to work and build this beauty.

To build this easy Clap Lamp, you will need the following:

1. Arduino Nano

2. Sound sensor

3. 3D printer

4. 220V to 5V power supply (phone chargers)

5. Relay

6. Light bulb (your choice)



Step 1: Schematic and code


Connect you Relay pin to Arduino Nano PIN (D10)
Connect you Sound sensor pin to PIN (D5)
That's it you ready to move to next stage
Connect it all together and test!!
Download the code at this link


Step 2: 3D Files

Here you have your 3D printed lamp parts to assemble.

Just snap it part in and it fits perfectly and tight enough, you don't need glue to hold it in place.

Few low quality printers may print low quality and in that case you might need to glue the parts if necessary.

3D part file for download: Part1   Part2   Part3


Step 3: Assembling

Take your time to arrange all components to fit in perfectly to avoid the bottom of the base from not having the clearance to sit perfectly.


Cover the bottom part of the Lamp with a cut out plastic cover or card and glue to hold.

1. Pass the bulb cable through to the base

2. That means the lamp holder should be in place nicely

3. Solder all cables nicely and cable tire it to be in nice positions

4. Use hot glue to hold the PCB boards to the base if necessary

Now you almost done!!!! 


Step 4: Test run and finished

Here you are done and dusted with this beauty. Time to study and snap your finger for a light



0 Comments: