icon

DIY Arduino Corner lamps

0 47021 Medium

Corner Lamps controlled via clap

projectImage

Things used in this project

 

Hardware components

HARDWARE LIST
1 Arduino Nano R3
1 DFRobot Gravity: Analog Sound Sensor For Arduino
1 Relay Module (Generic)
1 Adafruit NeoPixel Digital RGB LED Strip 144 LED, 1m White

Software apps and online services

Arduino IDE

Hand tools and fabrication machines

Hot glue gun (generic)

Story

 

Hello Buddies...

 

I'm here to present you a new and cool project which is:-

 

DIY Arduino Corner Lamps, these lamps can be controlled via clap.

 

Make Lamps and put in the corner and when you enter the room, just clap and these Red and Blue lamps will turn On automatically.

 

When you clap once again, these lamps turns Off.

 

Watch the video to make yours.

 

If you like this project do comment on YouTube video, and do not forget to subscribe my channel, link is below

 

link is : https://studio.youtube.com/channel/UCaXI2PcsTlH5g0et67kdD6g

 

If you have any doubt regarding this project, you can Telegram me at +919557024177.

 

If you have any suggestions or project idea, kindly reach out to my channel or Telegram me at above no.

You're most welcome.

 

Steps to make this project:

 

1. Gather components.

 

2. Take wooden sticks for your corner lamps and stick LED strips.

 

3. Make controller by placing Arduino, Sound sensor, Relay Module and LED strip driver on board.

 

4. Do connections from circuit diagram.

 

5. Upload the Arduino code.

 

6. Adjust the sensitivity of sound sensor according to your need.

 

7. Test it...

 

It's a Huge request to all of you to make this video viral by sharing it maximum and share my channel so that I'll purchase more components and make more projects for you Guys.

 

Stay Safe, Take care.

Schematics

 

Circuit Diagram

projectImage

Code

CODE
// https://www.youtube.com/channel/UCaXI2PcsTlH5g0et67kdD6g  //
// DIY Arduino Corner Lamp //
// By MOHD SOHAIL //

int relay = 4;
int soundsensor = 7; 
boolean state = false;

void setup()
{
pinMode(relay, OUTPUT);
pinMode(soundsensor, INPUT);
}

void loop(){
if (digitalRead(soundsensor) == LOW)
 {
  delay(100);
  state = !state;  //Toggle state value
  digitalWrite(relay, state); //set relay value to true or false.
  }
}

The article was first published in hackster, July 29, 2021

cr: https://www.hackster.io/mohammadsohail0008/diy-arduino-corner-lamps-609c41

author: mohammadsohail0008

License
All Rights
Reserved
licensBg
0