Introduction: The Clapper

You all remember the clapper from the 80's "clap on clap off" right? I might not because I wasn't alive yet.... but I have always known the tune. So I figured why not digitize it and recreate it with my intel Edison.

To do this you will need

-Intel Edison with Arduino breakout

-Grove base shield

-Grove microphone

-Grove Led socket

-led (or other thing to activate)

Step 1: Hardware

-This is a little bit more involved than just plugging in the clapper and clapping, but it is definitely more rewarding.

-Start by inserting the Grove shield into the Arduino pin outs of the intel Edison - being careful not to bend the pins while putting it in.

-then Insert one connecter wire from the shield into the analog 0 (A0) pin and the to the microphone making sure the wire is indexed correctly

- next insert another wire into the digital 4 (D4) socket on one end and then the led connecter on the other again making sure the wire is indexed correctly

-insert your led into the socket on the connector lining up the flat side of the led with the flat side of the silk screen on the led adapter

-That is it for hardware now to the software side.

Step 2: Software

To talk to the Edison you need a special Arduino IDE that you can download here.

Once you have downloaded the IDE connect two micro usb cables to the micro usb ports on the Edison. Make sure the micro switch between the usb and micro usb is pushed towards the micro ports and that you apply power to the lower j3 port then the upper j16 port (just a good habit for using the linux side).

then select the Edison board and the last usb port that says cu.usb like in the pictures above and click the link below, this will take you to Github, and click on the clapper file. Copy and paste that code into the Edison IDE hit compile and enjoy your throw back to that clapper

clapper code