Pages: [1]   Go Down
Author Topic: strange question about eletricity  (Read 641 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Sr. Member
****
Karma: 0
Posts: 403
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have my arduino playing tones through a pin I plugged the positive end of a peizo into the pin and when I touched the ground wire I could faintly hear the tone.
I wasn't touching the board in fact I could stand up and even sit in my chair, It was still heard can anyone provide insight as to why this occurred?
Logged

Arlington, MA, USA
Offline Offline
Sr. Member
****
Karma: 0
Posts: 259
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Not sure I can answer, but you haven't provided much info. What pin were you touching? What code was running? From what you have stated, and what I know, it sounds like you were touching a pin whose state was changing rapidly, i.e. at a frequency that you can hear.
Logged

Offline Offline
Sr. Member
****
Karma: 0
Posts: 403
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

it was pin 12 the ardunio was playing various tones with the tone function. (<1000 hertz)
Logged

Arlington, MA, USA
Offline Offline
Sr. Member
****
Karma: 0
Posts: 259
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ah, sorry -- I understand the question now. You're wondering what path the current is taking in order to complete the circuit. Hopefully someone more knowledgeable will chime in.
Logged

Offline Offline
Sr. Member
****
Karma: 0
Posts: 403
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

yes exactly, is it going through the physical ground (floor) and going into the arduino which is on my desk (made of wood)
Logged

Topsham, Vermont USA
Offline Offline
Edison Member
*
Karma: 32
Posts: 1867
... in The Woods In Vermont
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Pi,
YOU are a capacitor coupling the other end of the piezo to "ground".

Depending on how well insulated you are you may also be a resistor to ground (or whatever else you are touching)..

Logged

Regards, Terry King terry@yourduino.com  - Check great prices, devices and Arduino-related boards at http://YourDuino.com
HOW-TO: http://ArduinoInfo.Info

St. Augustine, FL
Offline Offline
Newbie
*
Karma: 1
Posts: 15
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Lick your finger and see what happens differently!
Logged

Pages: [1]   Go Up
Jump to: