How to turn ON / OFF home appliances by hand clap or making a sound ( This DIY is very easy with fun )

Required material:

  • Audio module

  • Audrino board

  • jumper wire

  • bread board

  • LED or bulb

Let's do it...

Procedure:

Don't worry that you don't know how to use Arduino I'll teach you the full Arduino course by upcoming post please subscribe and share with your friends 


STEP 1:

  Download the Arduino IDE to write the code and install it.                                            click here to download the Arduino IDE software

STEP  2:

 Take the Arduino board and the audio module and follow the pictures below

connect audio module's ground pin and 5V to Arduino's ground pin and 5v pin  
and connect analog pip if audio module to Arduino analog pin I collect 0 analog pin
I connect the output source as a LED bulb in the 13th pin because it has an inbuilt resistance

If you buy Arduino board from the link which was given above you had received this cable. This cable help s to connect this board with PC and write the codings and to run 


STEP 3:
 
 copy the code which was given below and clear the code in Arduino IDE and paste the code which was given by me.

click here to view the code

If you have any doubt comment below

Connection for home automation reference