Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Potentiometer with BS2 (http://www.chiefdelphi.com/forums/showthread.php?t=28329)

sanddrag 01-05-2004 02:05

Potentiometer with BS2
 
I was wondering how I would hook up a potentiometer to a BS2 and how I would program it to read the input. Microcontrollers and programming are really not my thing but I need to do this for a project I'm working on. Thanks.

Greg Ross 01-05-2004 09:41

Re: Potentiometer with BS2
 
Quote:

Originally Posted by sanddrag
I was wondering how I would hook up a potentiometer to a BS2 and how I would program it to read the input. Microcontrollers and programming are really not my thing but I need to do this for a project I'm working on. Thanks.

Are you talking about hooking it up to one of the old robot controllers (or to its operator interface) or in some other kind of project in which you are using a BS2?

sanddrag 01-05-2004 10:19

Re: Potentiometer with BS2
 
Just a BS2, no IFI stuff.

Astronouth7303 01-05-2004 10:33

Re: Potentiometer with BS2
 
Check FotoPlasma's message below.

You'll need a A/D converter. The BS2 (or the project boards) doesn't include one. I'm not sure how you wire it to the BS2, though. Check Parallax's Website.

FotoPlasma 01-05-2004 11:36

Re: Potentiometer with BS2
 
While it may be true that the BS2[add arbitrary suffix here] doesn't have an A/D converter, it does have the capability to measure a variable resistor. In the manual, check out the instruction POT (for the BS1) or the instruction RCTIME (for the BS2 and higher).

Hope this helps.

sanddrag 01-05-2004 15:46

Re: Potentiometer with BS2
 
Quote:

Originally Posted by FotoPlasma
While it may be true that the BS2[add arbitrary suffix here] doesn't have an A/D converter, it does have the capability to measure a variable resistor. In the manual, check out the instruction POT (for the BS1) or the instruction RCTIME (for the BS2 and higher).

Hope this helps.

Thanks a lot. That does help. I had seen that POT command before but seeing it was only for the BS1, I thought I wasout of luck. But RCTIME seems to be what I'm looking for. My end goal is to have the BS2 take a potentiometer reading in, and give a PULSOUT that is directly proportional to what the input is.

arpus maximus 13-05-2004 19:08

Re: Potentiometer with BS2
 
If you are using an Innovation First RC, you just hook the potentiometer up as an analog sensor, and you're good to go, right?

ARP

Bharat Nain 13-05-2004 19:21

Re: Potentiometer with BS2
 
Quote:

Originally Posted by arpus maximus
If you are using an Innovation First RC, you just hook the potentiometer up as an analog sensor, and you're good to go, right?

ARP

Yes, if you are using a Innovation FIRST RC, then you're fine...


All times are GMT -5. The time now is 02:51.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi