Go Down

Topic: audio pickup in analog x (Read 714 times) previous topic - next topic

satchmo

Hello, sorry maybe this question is already been asked but i cant' find,
i want to read the value from a guitar passive pickup putting it into an analog pin of Arduino, so with this data i would like to move a servo .
Must i put some resistor or capacitor before or can i connect directly to the pin?
something like is already be done maybe?
Many thanx
Carl


Grumpy_Mike

Yes you need something like a 100K pull up and pull down on the analogue input then you need to attach the pickup through a capacitor.
The odds are that the pickup voltage will be so small it will need amplifying first anyway.

DVDdoug

Guitars like to see a higher impedance.   A pair of 1 Megohm or 2M resistors would be better.   With a 50k load (a pair of 100k resistors) the signal is going to get knocked-down a bit, and your tone will probably be affected. 

With a high impedance load and the guitar volume cranked-up, you should get around 1V, which should be plenty of signal to work with.

With audio inputs, I normally use a peak detector (You'll need to change the 100k input resistor to 1M or more.)    A peak detector will work with lower signal levels, and since it's not biased at 2.5V (like the 2-resistor method) you can use the 1.1V ADC reference with weaker signals.

satchmo

I think I'll measure the out voltage and work accordingly, many thanks Grumpy_Mike,many thanks DVDdoug!
carl

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy