Introduction: Turn Your Lights on With Clapping?!

About: Awesome Electronics Tutorials, Projects and How To´s

Wouldn't it be nice to turn on your lights without getting off the couch? In this project I am going to show you how to build a simple Arduino clap circuit which can turn on and off all kinds of AC appliances. Let's get started!

Step 1: Watch the Video!

The video gives you an overview on how to build this project. But I am going to present you more detailed information in the following steps to make your life easier.

Step 2: Order Your Parts!

Here you can find a list of all the components with example sellers (affiliate links):

Ebay:

1x ATtiny85: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x NE5534: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

2x IC Socket: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x Electret Microphone: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x 20kΩ Potentiometer: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x Knob: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x Resistor Kit (various): http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x 100nF Capacitor: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x 1N4002 Diode: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x BC 637 NPN Transistor: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x FRS1B-S-DC05 Relay: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x Power Supply 230V/5V 500mA: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x AC Socket (Input): http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x AC Socket (Output): http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

Bridge Wire: -

Shielded Wire: -

AC Wire: -

Aliexpress:

1x ATtiny85: https://s.click.aliexpress.com/e/_dZQ0nHh

1x NE5534: https://s.click.aliexpress.com/e/_Bf7TX6pV

1x Electret Microphone: https://s.click.aliexpress.com/e/_dSi1pjl

1x 20kΩ Potentiometer: https://s.click.aliexpress.com/e/_dX83GAF

1x Resistor Kit (various): https://s.click.aliexpress.com/e/_dTPpXjt

1x 100nF Capacitor: https://s.click.aliexpress.com/e/_dU4FEsB

1x 1N4002 Diode: https://s.click.aliexpress.com/e/_dYR45Bh

1x BC 637 NPN Transistor: https://s.click.aliexpress.com/e/_dTktVlh

Amazon.de:

1x ATtiny85: http://amzn.to/1E9ubfB

1x NE5534: http://amzn.to/1MHZjp7

2x IC Socket: http://amzn.to/1Nzv6aZ

1x Electret Microphone: http://amzn.to/1E9unLZ

1x 20kΩ Potentiometer: http://amzn.to/1E9up6B

1x Knob: http://amzn.to/1E9uzeb

1x Resistor Kit (various): http://amzn.to/1E9uEhN

1x 100nF Capacitor: http://amzn.to/1PpxLCz

1x 1N4002 Diode: http://amzn.to/1E9uKGd

1x BC 637 NPN Transistor: -

1x FRS1B-S-DC05 Relay: -

1x Power Supply 230V/5V 500mA: -

1x AC Socket (Input): http://amzn.to/1FIc7b5

1x AC Socket (Output): http://amzn.to/1MHZZeh

Bridge Wire: http://amzn.to/1Ppyh3B

Shielded Wire: -

AC Wire: http://amzn.to/1E9vmvw

Amazon.co.uk:

1x ATtiny85: http://amzn.to/1E9xqDR

1x NE5534: http://amzn.to/1PpzAzw

2x IC Socket: http://amzn.to/1NzxoqD

1x Electret Microphone: http://amzn.to/1Nzxpem

1x 20kΩ Potentiometer: http://amzn.to/1Nzxv5E

1x Knob: http://amzn.to/1NzxxKR

1x Resistor Kit (various): http://amzn.to/1NzxNJR

1x 100nF Capacitor: http://amzn.to/1MI20Hp

1x 1N4002 Diode: http://amzn.to/1PpzVSG

1x BC 637 NPN Transistor: http://amzn.to/1MI21Lw

1x FRS1B-S-DC05 Relay: -

1x Power Supply 230V/5V 500mA: -

1x AC Socket (Input): http://amzn.to/1PpAdcc

1x AC Socket (Output): http://amzn.to/1NJmZGM

Bridge Wire: http://amzn.to/1PpAcFf

Shielded Wire: http://amzn.to/1E9ynfm

AC Wire: http://amzn.to/1NJn8Kv

Visit your local hardware store to get your screws, nuts and different connectors.

Step 3: Build the Circuit!

Here you can find the schematic and veroboard layout to create your own clap circuit. I recommend to build it firstly on a breadboard to test the circuit before moving it over to a stripboard.

Step 4: Program the ATtiny85!

Use the given sketch to program your ATtiny85. If you don't know how to do this with an Arduino Uno then have a look at my previous video about the subject:

Step 5: Get the Wiring Done!

With the help of the pictures you should be able to see which wire connects to which connector. As I mentioned in the video 230V can kill you, be careful!

Step 6: Success!

You did it. You just created your own clap circuit!


Feel free to check out my YouTube channel for more awesome projects:

http://www.youtube.com/user/greatscottlab

You can also follow me on Facebook, Twitter and Google+ for news about upcoming projects and behind the scenes information:

https://twitter.com/GreatScottLab

https://www.facebook.com/greatscottlab