Go Down

### Topic: Which resistor with Piezo speaker (Read 1 time)previous topic - next topic

#### jsusnik7

##### Feb 05, 2012, 06:21 pm
Hello!

I'm beginner and I don't know which resistor can I use for Piezo speaker. At Tone tutorial is written to use 100 ohm resistor with speaker, but I don't have it because I've bought this starter kit. Which resistor in this kit can I use instead of 100 ohm ?

Thanks!

#### Jack Christensen

#1
##### Feb 05, 2012, 06:37 pm
Looks like there are some 220-ohm resistors in that kit, one of those should work fine. Might not be quite as loud is all.

#### meanpc

#2
##### Feb 05, 2012, 06:52 pm
You don't need to use a resistor with a piezo, according to what I've found by searching the net.  I've been using my piezo without a resistor with no problems.  If you have a potentiometer, you could use it to vary the volume though.

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1265926572

#### jsusnik7

#3
##### Feb 05, 2012, 07:38 pm
What about Tone2 tutorial, where I need 4.7K resistor - Can I use 10K instead?

Thanks!

#### jackrae

#4
##### Feb 05, 2012, 08:00 pm
You need to do some basic reading about resistors so's you understand what they are and how you can use them in combination.

For 100 ohm you could have used 2 x 220 in parallel and ended upo with 110  -  near enough for your needs.   For 4k7 you could use 2 x 10k in parallel to end up with 5k  -  again near enough for your needs.

#### Jack Christensen

#5
##### Feb 05, 2012, 08:22 pm
jackrae is spot on. OTOH, the resistor values in either tutorial aren't terribly critical, so experiment. Try a 10K instead of 4.7K, then try two 10Ks in parallel and observe the difference in the circuit behavior. Piezo transducers are primarily a capacitive load, and so can draw large current spikes for brief intervals every time the pin toggles. The 100? resistor is to limit this inrush current so as not to exceed the limits of the microcontroller. A lot of people drive piezos without a resistor, I've done this a fair amount and no smoke yet, but using the resistor is definitely the conservative approach which will treat the MCU more gently.

#### jsusnik7

#6
##### Feb 05, 2012, 08:50 pm
Thanks for help!

Can you please link me a good book / article / tutorial or something, because it's real that I don't know anything about resistors. I've bought Arduino for hobby and I know some small basics about electricity, but that's all. I actually don't know where to start searching for those things because I don't want to get bad basics from newbie tutorials.

Go Up