TURN ON THE LIGHTS WITH CLAP

5,753

59

2

Introduction: TURN ON THE LIGHTS WITH CLAP

Hi dear friend, today we are going to make a different device with microphone and led.

Now we want to, when we clap 2 times in 400ms, leds open.

Step 1: What Will We Need?

There are 2 different Arduino Microphone. First microphone has 3 pins and second microphone has 4 pins. If you have first one no problem but for second mic (like me) you must use A0 pin on mic(you can connect to every pwm pin on Arduino).

FIRST MIC: https://tr.aliexpress.com/item/MIC-microphone-amp...

SECOND MIC: https://tr.aliexpress.com/item/J34-Free-Shipping-...

Step 2: Fritzing Shema

For Microphone;

Analog Output to D5

GND = GND

+(VCC) = 5V

For Led;

Long pin to D6;

Step 3: Code;

You can get this work from this link;

https://drive.google.com/open?id=0B6EUM2JQFzOhejNT...

Step 4: WARNING;

IF DEVİCE IS NOT WORKING, YOU MUST CHANGE THE POT LEVEL ON THE MICROPHONE BOARD.

Microcontroller Contest 2017

Participated in the
Microcontroller Contest 2017

Be the First to Share

    Recommendations

    • For the Home Contest

      For the Home Contest
    • Make It Bridge

      Make It Bridge
    • Game Design: Student Design Challenge

      Game Design: Student Design Challenge

    2 Comments

    0
    KosmoN
    KosmoN

    6 years ago

    Is it possible to do something like this on Pi and bluetooth bulb?

    0
    ensarlevent
    ensarlevent

    Reply 6 years ago

    Yes, of course but. You must do some changes in code