Go to Post I didn't get inspired watching my peers and I, I was inspired watching professionals. - AdamHeard [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 15-01-2005, 17:57
Damian Manda's Avatar
Damian Manda Damian Manda is offline
The Damian
no team
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Fort Collins, CO
Posts: 154
Damian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud of
Send a message via AIM to Damian Manda
Re: Knobs/Switches for the OI

The pinouts for all the ports on the OI are listed in this document: http://www.ifirobotics.com/docs/oi-r...c0-1-12-05.pdf

Use this to find an open port that will not be used by your joysticks and then wire in some potentiometes as outlined in the above post. We have done this successfully in the past with many standard potentiometers that can be found at radio shack.
__________________
FRC Volunteer, FLL regional planning committee member for Colorado
Former Programmer, Web Designer, Communications Director of Alpine Robotics Team 159.
Add your team to the FIRST Teams Google Map
  #2   Spotlight this post!  
Unread 16-01-2005, 18:20
thoughtful's Avatar
thoughtful thoughtful is offline
Registered User
FRC #1219 (Emery Iron Eagle)
Team Role: Alumni
 
Join Date: Nov 2003
Location: Toronto,Canada
Posts: 291
thoughtful is a splendid one to beholdthoughtful is a splendid one to beholdthoughtful is a splendid one to beholdthoughtful is a splendid one to beholdthoughtful is a splendid one to beholdthoughtful is a splendid one to beholdthoughtful is a splendid one to behold
Re: Knobs/Switches for the OI

Thankyou for the informaiton, Does anyone has a sample code to read the potentiometer in the RC.
__________________
.:Bringling Brains to Life:.

03,04,05-Team 1219 Captain
2003 Rookie all Start @ GTR
2005 Galileo Semi-Finalist & Alliance captain
06-Team 1219 Mentor
2006 Radio Shack Innovation in control @ Waterloo
  #3   Spotlight this post!  
Unread 16-02-2005, 16:41
thoughtful's Avatar
thoughtful thoughtful is offline
Registered User
FRC #1219 (Emery Iron Eagle)
Team Role: Alumni
 
Join Date: Nov 2003
Location: Toronto,Canada
Posts: 291
thoughtful is a splendid one to beholdthoughtful is a splendid one to beholdthoughtful is a splendid one to beholdthoughtful is a splendid one to beholdthoughtful is a splendid one to beholdthoughtful is a splendid one to beholdthoughtful is a splendid one to behold
Re: Knobs/Switches for the OI

Hey,
I wired a 100K audio Potentiometer to OI. With the Middle and Outside terminals of the POT connected to the OI. I am getting the values from 231(min) - 254(max). Can any tell my what i am doing wrong or how i can increase this range. Thanks in advance.
__________________
.:Bringling Brains to Life:.

03,04,05-Team 1219 Captain
2003 Rookie all Start @ GTR
2005 Galileo Semi-Finalist & Alliance captain
06-Team 1219 Mentor
2006 Radio Shack Innovation in control @ Waterloo
  #4   Spotlight this post!  
Unread 19-04-2005, 16:57
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,369
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Knobs/Switches for the OI

Quote:
Originally Posted by thoughtful
Hey,
I wired a 100K audio Potentiometer to OI. With the Middle and Outside terminals of the POT connected to the OI. I am getting the values from 231(min) - 254(max). Can any tell my what i am doing wrong or how i can increase this range. Thanks in advance.

Yo Thoughtful,
My guess is that you connected one end of the Pot. to +5vdc and the wiper to the sig. input, but didn't connect the remaining lead on the pot to gnd.
If that is the case, then your pot is just acting as a pull up resister, an adjustable one at that. That is why you are only seeing numbers in the very high end of the max range. Once you connect the other end of the pot to gnd, you will , in essence, be spreading the +5v across the entire length of the pot. Now as you move the slider/wiper along the length of the pot, you will see values from ~255 to ~ 0. Actual numbers will slightly different.

The other cause of what you are seeing is that you have an "open" in the wiring from gnd to the pot.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 06:00.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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