|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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.
|
|
#2
|
|||||
|
|||||
|
Re: Potentiometer with BS2
Quote:
|
|
#3
|
|||
|
|||
|
Re: Potentiometer with BS2
Just a BS2, no IFI stuff.
|
|
#4
|
|||||
|
|||||
|
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. Last edited by Astronouth7303 : 01-05-2004 at 11:42. Reason: FotoPlasma has corrected me. |
|
#5
|
||||
|
||||
|
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. |
|
#6
|
|||
|
|||
|
Re: Potentiometer with BS2
Quote:
|
|
#7
|
|||
|
|||
|
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 |
|
#8
|
|||||
|
|||||
|
Re: Potentiometer with BS2
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| initialization program and speed controllers | rosebud | Programming | 15 | 05-10-2004 03:35 |
| BS2 syntax (PBASIC) on the new controllers? Maybe! | Jeremy_Mc | Programming | 0 | 25-10-2003 15:00 |
| Potentiometer Problem | Greg | General Forum | 1 | 15-02-2003 18:10 |
| Bourns Inc Potentiometer | archiver | 2000 | 2 | 23-06-2002 23:06 |
| Potentiometer Theory | Ulibrium | Technical Discussion | 6 | 25-01-2002 21:16 |