How to use Sound Sensor with Arduino | Make a Clap Switch
ฝัง
- เผยแพร่เมื่อ 4 พ.ค. 2024
- In this video we are going to learn how to use 🔊 Sound Sensor with Arduino so that we can detect sound and take appropriate action.
We will also make a clap switch to turn on and off bulb using claps.
We will print the sound waveform on the serial plotter as well.
I have explained in details each step along with code and connections.
👉Please subscribe: th-cam.com/users/hashinclude...
👉Components list :
✅ Arduino Uno amzn.to/3tjKRMR
✅ Sound Sensor Module amzn.to/3wGWzl5
✅ 5V Relay amzn.to/3pWsr2u
✅ AC bulb socket
✅ AC plug
✅ Blub
✅ 7-12 V DC battery
✅ Breadboard
✅ Jumper wires
👉 Shorts Channel :
/ ujwalnandanwar
👉Code and diagram:
github.com/un0038998/lessons/...
👉Watch more videos:
/ hashincludeelectronics
👉Follow us on Instagram:
/ hashincludeelectronics
⏱ TIME-STAMP
00:00 | Intro
01:35 | Components
01:56 | Connections
02:55 | Code explanation
04:05 | Demo
04:25 | Print Sound waveform
#soundsensor #hashincludeelectronics #arduino - วิทยาศาสตร์และเทคโนโลยี
What an idea🤘🏻
Thank you very much 🙂
Thanks
keep going mere bhai 😘😘
Thank you 🙂👍🏻
thank you sir this is real i have try it it was working correctly
Awesome 🙌🏻
Wow ... You are doing great work dude ... :) #topFan
Thank you so much 😀
Thanks a lot i got so much idea for my project 🎉
Most welcome 😊
Very nice sir
Thanks and welcome
Can we use ardiuno nano board for this project..
Yes you can 👍🏻
@@hashincludeelectronics ok..thank u...🙏🙏🙏
How can we modify the sketch to turn off the light after a couple of seconds automatically?
This is clap controlled light . Why do you need to turn off the light after couple of seconds automatically ? If you still need that then you can check time delay using millis() function and then turn off if that much time has elapsed .
Sir give a programing of this model please
Code and diagram link is provided in the description of the video 👏🏻
Hi,
What is the maximum distance of applause?
I did not get a chance to check full range . However I tried inside my hall which had range of around 15 ft .
error bro it say's In function 'void setup()':
sketch_dec13h.ino:13:9: error: expected ';' before 'level'
sketch_dec13h.ino: In function 'void loop()':
sketch_dec13h.ino:25:52: error: expected ';' before ')' token
Return code is not 0
I compiled both the codes from the link provided in the description and there is no error. Please check again at your side . May be some copy paste issue .
@@hashincludeelectronics it already run on my laptop bro but i dunno why it never works on when i try to make a clap switch with your diagram, what's the problem on this bro ?
great 👌 job 👏 .can you give me her name or instagram account ?
👍🏻
Please send sir
Code and diagram link is provided in the description of the video 👏🏻
This project is not sacses full
Thanks for checking out the video 👍🏻what issue are you facing ?