|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Re: Potentiometer 5 or 6 detents
Quote:
For a six-position rotary switch, I'd use six 15k resistors wired like this: Code:
+5 <----/\/\/--*--/\/\/--*--/\/\/--*--/\/\/--*--/\/\/--*--/\/\/--*
^
OI |
analog input <-----------'
What you'll get from this is the equivalent of a joystick with six discrete resistance values: 15k, 30k, 45k, 60k, 75k, and 90k. You should use a dashboard program to determine what the actual numbers end up being, and choose appropriate ranges in the software to decide which of the six positions is chosen. |
|
#2
|
|||||
|
|||||
|
Re: Potentiometer 5 or 6 detents
Quote:
|
|
#3
|
|||
|
|||
|
Re: Potentiometer 5 or 6 detents
I see a business opportunity for Andy Mark/IFI! Latching potentiometers/ prewired variable resistance rotary switches!
Travis, I thoroughly googled for a pre-made product that would suit your needs but came up with nothing. The best solution in this thread is Alan Anderson's, which is exactly the method I was going to post before I saw his. I'd check to see if any of the students on your team are taking/have taken electronics classes at school. If so, you can just buy a rotary switch and some 15 Ohm resistors (if you need more inputs, decrease the Ohm rating of the resistor. What you want = 100 / Number Of Switch Settings + 1. Get all of this stuff at RadioShack) and give it to the student to wire up. Anyone with basic knowledge in wiring should be able to tackle this circuit. Last edited by Tom Bottiglieri : 12-04-2006 at 00:28. |
|
#4
|
||||||
|
||||||
|
Re: Potentiometer 5 or 6 detents
Quote:
|
|
#5
|
|||
|
|||
|
Re: Potentiometer 5 or 6 detents
In past years we had like three two position switches and we would have a setting like (up down up) or (off off on) for the switches before each match depending on what autonomous mode we were going to run. But such things could get confusing in the rush of competition, and I see your desire for the rotary type control.
|
|
#6
|
|||||
|
|||||
|
Re: Potentiometer 5 or 6 detents
The potentiometer I found on digikey seems like it will work, but as Joe told me, is an SMD style and would require some delicate soldering. I think I can handle the soldering, but is there any reason not to use this pot?
http://dkc3.digikey.com/PDF/T061/SectF.pdf Page 74, 16mm square rotary potentiometer with detents. Also, I think I can handle the rotary switch and 15k resistor method as well. I think mounting the rotary switch and a knob will be easier than the pot with detents and no shaft with a make shift shaft and knob. Edit: How would that diagram differ if I put the rotary switch/resistor setup on the RC? Last edited by Travis Covington : 12-04-2006 at 00:38. |
|
#7
|
|||||
|
|||||
|
Re: Potentiometer 5 or 6 detents
Quote:
|
![]() |
| 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 |