Page 1 of 1

looking for a simple potentiometer cir interface with Pi;

Posted: Mon Mar 03, 2014 6:14 am
by lilzz
What's a simple analog potentiometer circuit that interfaced with the pi? DO I need a Ardino circuit?

Re: looking for a simple potentiometer cir interface with Pi

Posted: Mon Mar 03, 2014 6:24 am
by ame
Searching for "raspberry pi potentiometer" on Google gets me this:
http://learn.adafruit.com/reading-a-ana ... i/overview

Re: looking for a simple potentiometer cir interface with Pi

Posted: Mon Mar 03, 2014 6:40 am
by Richard-TX
It doesn't get muich simpler than this:

http://www.ebay.com/itm/1PC-New-AD-DA-C ... 2c71d20f9d
Image

It even has it's own pot on board which you can disconnect and hook up your own.

$1.91 delivered.

I use these as a current detector.

Re: looking for a simple potentiometer cir interface with Pi

Posted: Mon Mar 03, 2014 6:56 am
by lilzz
Richard-TX wrote:It doesn't get muich simpler than this:

http://www.ebay.com/itm/1PC-New-AD-DA-C ... 2c71d20f9d
Image

It even has it's own pot on board which you can disconnect and hook up your own.

$1.91 delivered.

I use these as a current detector.

Is that mean I also need to get a Arduino board too?

Re: looking for a simple potentiometer cir interface with Pi

Posted: Mon Mar 03, 2014 7:27 am
by ame
lilzz wrote:
Richard-TX wrote:It doesn't get muich simpler than this:

http://www.ebay.com/itm/1PC-New-AD-DA-C ... 2c71d20f9d
Image

It even has it's own pot on board which you can disconnect and hook up your own.

$1.91 delivered.

I use these as a current detector.

Is that mean I also need to get a Arduino board too?
No, you hook it up to the I2C interface on the GPIO pins.

Re: looking for a simple potentiometer cir interface with Pi

Posted: Mon Mar 03, 2014 11:47 am
by Richard-TX
With the ADC board hooked up to the Rpi, the value read from the ADC will be relative position of the pot. There will be 255 steps from one stop to the other.

Re: looking for a simple potentiometer cir interface with Pi

Posted: Mon Mar 03, 2014 5:16 pm
by pluggy
The potentiometer outputs an analogue voltage and the Pi doesn't do analogue. The Arduino does do analogue, so you can use either an ADC board or an Arduino. With some devious coding and a few carefully chosen passive components you can bodge a pseudo analogue with just a digital device like the Pi, but if you're asking questions at this level on here, an ADC/Arduino is a lot easier.