|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Potentiometer 5 or 6 detents
forgive my ignorance of this years OI, is the red LED display still able to display user selected numbers?
set your code to read a joystick or pushbutton input - everytime you push the button increment a counter, and display it on the OI LED numeric output - that is your autom mode number you could have up to 256 different auton modes that way. |
|
#2
|
|||||
|
|||||
|
Re: Potentiometer 5 or 6 detents
The rotary switch seems like a good solution, if it does in fact have solid feeling stops, so we could easily differentiate between the 6 positions.
The only problem is, I would be the one wiring it up and have practically zero electronics knowledge and would need some help selecting resistors and wiring it up to specific pins on the switch and the RC. If you guys could help me out there, It would be HUGELY appreciated. |
|
#3
|
|||||
|
|||||
|
Re: Potentiometer 5 or 6 detents
Quote:
----- Rc ----- Rswitch <--the dashes are just spacers here... 5V--^v^v--|--^v^v--gnd ________Input Rc=R, Rswitch=#R I=(5V)/(Rc+Rswitch) Vinput=I(Rswitch)=(5V)(#R)/(R+#R)=(5V)(#)/(1+#) Hope this helps. Last edited by Adam Shapiro : 11-04-2006 at 23:18. |
|
#4
|
|||||
|
|||||
|
Re: Potentiometer 5 or 6 detents
Quote:
![]() |
|
#5
|
|||||
|
|||||
|
Re: Potentiometer 5 or 6 detents
Quote:
EDIT: It seems the OI manual suggests 100k ohms for a value. This seems resonable as it will only allow for a very small amount of current between 5V and gnd (I=V/R=5/(100000)=50uA). This is for safety as well as to prevent against large flows of current when using the OI. Don't forget the OI has its own built in fuses to protect itself, but you still want to be careful. Last edited by Adam Shapiro : 11-04-2006 at 23:41. |
|
#6
|
|||||
|
|||||
|
Re: Potentiometer 5 or 6 detents
My plan was to mount it on the RC.
|
|
#7
|
|||||
|
|||||
|
Re: Potentiometer 5 or 6 detents
Quote:
|
|
#8
|
||||
|
||||
|
Re: Potentiometer 5 or 6 detents
Quote:
I think next year I'll encourage the team to make something for the OI, however. [1] Which meant that the switch went from 0 to 11. One team member asked "can't it just to to 10 instead." Of course, I had to answer "no, these go to 11." Only one person got the joke. |
|
#9
|
|||||
|
|||||
|
Re: Potentiometer 5 or 6 detents
Quote:
Quote:
|
|
#10
|
||||
|
||||
|
Re: Potentiometer 5 or 6 detents
Here's a quick way to turn a DP6T switch into a 6-position binary encoder that only needs three pins:
Code:
POS A B C 1 0 0 0 2 1 0 0 3 0 1 0 4 1 1 0 5 0 0 1 6 1 0 1 |
|
#11
|
||||||
|
||||||
|
Re: Potentiometer 5 or 6 detents
I found the following 11 detent potentiometer that is cheap: http://jameco.com/webapp/wcs/stores/...uc tId=286512
|
|
#12
|
|||||
|
|||||
|
Re: Potentiometer 5 or 6 detents
There are pots that exist that have detents built in but there are generally used for volume controls (are log taper, 10K) and have 10-12 detent positions. A better solution is to pick up a six position switch at Radio Shack.
http://www.radioshack.com/search/ind...ar y%20switch This switch is easily modified to become a twelve position switch by bending one of the stopper tabs out of the way and cutting one of the contact springs. Wire 9.1K ohm resistors from each terminal to the one next to it to form a series string. When you are done, you have a stepped 100K pot. Wire as you would any pot to an analog input on the OI and then set your programmers to work. RS has some nice shiny knobs as well. If you would like to see one in action, stop by our pit in Atlanta. |
|
#13
|
|||||
|
|||||
|
Re: Potentiometer 5 or 6 detents
Are you saying to use the 9.1k resistors if I wanted to have 12 positions? Would I still use the 15k resistors if I were to only use the 6 positions?
|
|
#14
|
|||
|
|||
|
Re: Potentiometer 5 or 6 detents
Quote:
|
|
#15
|
|||||
|
|||||
|
Re: Potentiometer 5 or 6 detents
Quote:
The total series value of an RC-connected "stepped potentiometer" is not that critical, but 100k is still a good target. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Best source for a potentiometer? | railerobotics | Electrical | 20 | 28-11-2007 22:24 |
| Confused about potentiometer values | Kirk | Technical Discussion | 4 | 11-03-2006 16:29 |
| Potentiometer help | Unholy | Programming | 4 | 07-02-2006 17:48 |
| Potentiometer Help! | thoughtful | Programming | 4 | 18-02-2005 08:21 |
| Potentiometer | Joshua May | Technical Discussion | 8 | 22-05-2004 19:51 |