Clap Activated Light Using Arduino Nano

by Technoesolution2020 in Circuits > Arduino

3011 Views, 4 Favorites, 0 Comments

Clap Activated Light Using Arduino Nano

12345.jpg

Hello Friends welcome back to "Techno-E-Solution" in this tutorial I'll show you how to make clap activated light for your room. This project is very useful, Which makes your home or room little bit automated. For making this project I use Arduino Nano microcontroller but you can also use Arduino Uno or other Arduino board. In this project I used a Sound detection sensor for detect the clap sound which is generated by use by just clapping. Make sure the sensor which you are used have a Analog output (A0) pin. For controlling AC load we use relay module.

Follow me on :-

Facebook :- https://www.facebook.com/TechnoShubham

Instagram :- https://www.instagram.com/technoesolution2020/?hl...

Instructables :- https://www.instructables.com/member/Technoesolut...

Dailymotion :- https://www.dailymotion.com/technoesolution

Youtube :- https://www.instagram.com/technoesolution2020/?hl...

If you like this project subscribe us on Youtube, So without wasting time Let's get started..............

MATERIAL REQUIRED

CIRCUIT DIAGRAM

Circuit Diagram.JPG
Capture1.JPG

Follow the circuit diagram for making a connection. I make this circuit in Easy EDA software.

Next PCB


NextPCB is a high-quality PCB Manufacturer. With professional PCB manufacturing capabilities, our PCB engineers with more than 10 years of experience will double-check your engineering files.

NextPCB is certified by IATF16949, ISO9001, ISO14001, UL, CQC, RoHS and REACH; more importantly, we handle the whole process including the PCB prototype, PCB manufacturing, PCB assembly, testing, and final shipment. We are capable of assembling BGA, Micro-BGA, QFN, and other leadless package parts. We also have an online parts shop, you can choose any parts you need. I

f you want a Printed circuit board go through the NEXT PCB

ARDUINO CODE

Code.png

Simply copy the following code & upload to your Arduino IDE software.

/*
 * Hello friends welcome to  "Techno-E-Solution"
 * Here is the code for Clap activated light
 * Here is complete project making video :- https://youtu.be/oExQmnEQOUw
 */
#define Sensor 4
#define Relay 6

void setup() 
{
 Serial.begin (9600);
 pinMode (Sensor, INPUT_PULLUP);
 pinMode (Relay, OUTPUT); 
}

void loop() 
{
  int sound = digitalRead (Sensor);
  if (sound)
  {
    Serial.println ("Sound Detected");
    digitalWrite (Relay,HIGH);
  }
  else 
  {
    Serial.println ("--------");
    digitalWrite (Relay,LOW); 
  }
  delay (100);
}<br>

DEMONSTRATION

NextDFM Software From NextPCB

1 image.jpg
2 Image.png
3 Image.png
4 Image.jpg
5 Image.jpg

A PCB Design Problems Detector, An Engineering Solution Provider Import the Gerber file with one click. No need for complicated file reading steps to review easily and improve efficiency.

Download Software Help you quickly familiarize DFM design specifications and production needs to determine whether there are any manufacturing constraints

Features

Make PCB design more standard Prevent the quality flaw Impedance calculation function and lamination automation Automatically generate the best puzzle CAM350 free alternative version Check Gerber files anytime, anywhere and parse it with one click Instate Quote and evaluate delivery time Reduce cost and improve benefit these are advantage comparing to Eagle and Altium