Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: g44 on March 08, 2010, 02:12:16 AM
-
I work with PIC microcontroller
I used some function in this microcontroller with A/D converter
My main use was measure changes in the potentiometer
My problem now is that I want to connect to the microcontroller an accelerometer
And I see that the accelerometer have output resistance of 32K ohms
In the datasheet of the microcontroller I see that I can only connect to him an approximate resistance of 10K ohms
What I can do that this will work ?
Connect a parallel resistor to the ground ?
Is it meter ?
The devices that I work with them are :
PIC 16F887
http://ww1.microchip.com/downloads/en/DeviceDoc/41291F.pdf (http://ww1.microchip.com/downloads/en/DeviceDoc/41291F.pdf)
The data appear in Zain
PIC 18F97J60
http://ww1.microchip.com/downloads/en/DeviceDoc/39762e.pdf (http://ww1.microchip.com/downloads/en/DeviceDoc/39762e.pdf)
The data appear in Zain
Accelerometer MMA7361LT
http://www.freescale.com/files/sensors/doc/data_sheet/MMA7361L.pdf (http://www.freescale.com/files/sensors/doc/data_sheet/MMA7361L.pdf)
The data appear in output impedance
-
Good catch on the accelerometer output impedance and the PIC's ADC input impedance. If you connects the accelerometer directly to the PIC's ADC you will get an incorrect value.
What you need is an Op-amp voltage follower to provide a low impedance source to the ADC.
-
thanks waltr
can you give a site that explain how to build an Op-amp voltage follower
-
Just google "Op-amp voltage follower". lots of info.