3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Play the French Can Can Using an Arduino and Buzzer

Step 3Figure Out Hardware Requirements

Figure Out Hardware Requirements
«
  • arduinoDontPlugInBuzzerLike.jpg
  • CEM-1203PlusMinus.jpg
  • miniBreadboardOverview.jpg
  • 100OhmResistor.jpg
It's important to find out how to plug things in before turning on the power. With LEDs for example, plugging them in backwards and/or without a resistor in place could burn out the LED, making it useless.

The CEM-1203 buzzer used in this instructable will need a resistor as well for the Arduino's sake. Without a resistor, there will be too much current for the Arduino's AVR (Advanced RISC Architecture) to handle. We know this because of Ohm's law, reading the hardware documentation, and asking the experts.

Ohm's Law (and variations)

voltage = current * resistance
resistance = voltage / current
current = voltage / resistance (we're interested in this one right now)

Using Hardware Documentation

According to the buzzer documentation located here, the 'coil resistance' is 42R +- (plus or minus) 6.3. The max amount of current the Arduino AVR can handle is 40mA, found here in section 28.

Asking the Experts

It was helpful to ask experts questions who helped fill in the gaps. To fill in the voltage part of the formula, it is known that the supplied power through the Arduino is 5 volts.

The Resulting Math

current = 5 volts / 42 amps resistance = .119A, or 119mA (milliamps)

Ouch! That makes 79mA too much current for the Arduino. Using the buzzer like this could damage the Arduino long term.

Add a Resistor


We'll need to add a 100R resistor (100.0 Ohms, the 'R' is treated like a decimal e.g. 5R5 = 5.5).

100 resistor amps resistance + 42 buzzer amps resistance = 142A

5 / 142 = 35.2mA

We can work with this! Also, I was able to use a 330R resistor that came with my Arduino starter kit. It's more resistance than needed, and results in a softer buzz. (Special thanks to Eduardo for supplying the 100R resistor used in this intructable!)

Now that the hardware requirements are figured out, it's time to connect things in the next step.


« Previous StepDownload PDFView All StepsNext Step »
3 comments
Sep 2, 2011. 10:31 AMNinja1507 says:
Lol crap, all I have is 100- 200k resistors -.- Will get some lower ones later haha. Great ible though, I'm just starting out with arduino so I've been looking around at cheap ideas I can do to get the hang of it before I embark on my own project.
Dec 8, 2010. 6:58 AMrenatoferreira says:
OMG!!! I have only a 10R resistor....
Apr 17, 2010. 6:56 PMDylan552 says:
 So if my sensor uses 100uA that equals .1mA right?
Second that means i dont need a resistor?
THANKS! :D

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
2
Followers
1
Author:Ultrus(Christopher Stevens)
Web developer and designer who loves renovating and empowering over-sized web projects. Experience in developing and integrating ground breaking creative solutions online. Enjoys solving complex devel...
more »