electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

interface Potentiometer to PC


Post new topic  Reply to topic    EDAboard.com Forum Index -> PC Programming and Interfacing -> interface Potentiometer to PC
Author Message
jess



Joined: 19 Jan 2006
Posts: 3


Post19 Oct 2009 10:41   

interface Potentiometer to PC


Hi,
i want to read potentiometer value(0.0 to 1.0) to PC through any port(serial.parallel or usb).
is it possible to read value without using any microcontroller.

if can,
can u guide me.

Regards,
Jess
Back to top
elrayes



Joined: 03 Jun 2008
Posts: 164
Helped: 8
Location: Egypt


Post20 Oct 2009 11:26   

interface Potentiometer to PC


only using parallel port however you will need A/D chip to get voltage from the potentiometer and calculate the resistance, serial and USB you will need microcontroller with them.
Back to top
jess



Joined: 19 Jan 2006
Posts: 3


Post20 Oct 2009 15:22   

Re: interface Potentiometer to PC


thanks for ur reply.
what's the ouptput of adc?
it's o or 1 !

can i read the variation of output between o and 1.

regards,
Jess
Back to top
Google
AdSense
Google Adsense




Post20 Oct 2009 15:22   

Ads




Back to top
elrayes



Joined: 03 Jun 2008
Posts: 164
Helped: 8
Location: Egypt


Post20 Oct 2009 22:44   

interface Potentiometer to PC


ADC output a group of 0's and 1's, just a converter to convert analog voltage value to a binary number can be processed and understood by a computer or a digital system.
if you are using 8 bits ADC then you will read binary values from 00000000 (0 in decimal) to 11111111 (255 in decimal) , this binary number is equivalent to the input analog voltage value.

you are welcome anytime to ask Smile
Back to top
jess



Joined: 19 Jan 2006
Posts: 3


Post21 Oct 2009 6:32   

Re: interface Potentiometer to PC


Thanks for ur reply.
yes. i know.
but i want to know the potoentimeter output is 0V/5V.
or
output voltage is varring from 0V to 5V.

and if output voltage is 5V,
ADC output is 0000 0101 or 1111 1111?

Regards,
Jess
Back to top
elrayes



Joined: 03 Jun 2008
Posts: 164
Helped: 8
Location: Egypt


Post23 Oct 2009 0:42   

interface Potentiometer to PC


when the output voltage is 5 volts the ADC will output 1111 1111.
according to the reference voltage you will connect to the ADC IC you will define something called "Step", "step" is the minimum voltage change can be detected by the ADC and will take equivalent binary value.
step size = ref. voltage/((2^output bits)-1)
example: if you have 5 v reference and ADC with 8 bits output then the step size will be = 5v/255 = 0.019 volt.
then every 0.019 volt a new binary value will appear on the ADC output.
good luck
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> PC Programming and Interfacing -> interface Potentiometer to PC
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
digital potentiometer- potentiometer nr shows in 7 segment (7)
potentiometer (2)
U/D digital potentiometer (6)
handwheel potentiometer (5)
Joystick potentiometer (20)
Digital Potentiometer (6)
digital potentiometer (3)
Digital Potentiometer (1)
Digital Potentiometer (3)
Potentiometer codes (2)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS