As I was seeing in many homes there is only a on-off switch light in which we have to use switch. But I think creatively and made one clap light in which we have to clap our hands the light we automatically on. The main propose of my project was to make people’s life easy .
Materials used
Arduino Uno
Jumper wires
Sound sensor module
Relay module
Bulb+holder
Source Code:
const int Sensor = 7;
const int relay = 8;
int x = 0;
int y = 0;
void setup() {
pinMode(relay, OUTPUT);
pinMode(Sensor, INPUT);
}
void loop(){
x = digitalRead(Sensor);
y = digitalRead(relay);
if (y == HIGH && x == LOW) {
delay(250);
digitalWrite(relay, LOW);
}
if (y == LOW && x == LOW) {
delay(250);
digitalWrite(relay, HIGH);
}}
Clap Lamp
- Suheb Rupendra
- November 22, 2023
- 11:40 pm
- 13 Comments
- 1028
13 thoughts on “Clap Lamp”
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?
Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.
Your article helped me a lot, is there any more related content? Thanks!
Your article helped me a lot, is there any more related content? Thanks!
matadorbet porn
The point of view of your article has taught me a lot, and I already know how to improve the paper on gate.oi, thank you.
Very engaging and funny! For more information, click here: LEARN MORE. Let’s chat!
child porn
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?
Your article helped me a lot, is there any more related content? Thanks! https://www.binance.com/vi/register?ref=WTOZ531Y
Thanks for sharing. I read many of your blog posts, cool, your blog is very good.
I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.
Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.