![]() |
Potentiometer
is there any restrictions to using a Potentiometer on our robot?
|
Re: Potentiometer
just wire it with the correct gauge wire for the breaker, and connect it correctly to the cRIO, not a motor controller. Oh and make sure the parts are under the $ limit. other than that I think you will be fine.
|
Re: Potentiometer
What are you planning to use the potentiometer for? :)
|
Re: Potentiometer
Quote:
|
Re: Potentiometer
that works too, just another way of saying meet the wiring resrictions! (hey, mebbe its a ginormous one and needs 10 amps or something :ahh: )
|
Re: Potentiometer
Quote:
V = IR 12 = 10R R = 1.2 ohms Our pots are nearly 5000 times 'bigger'! Of course, I'm just being silly now. Back on topic, why do you say not to connect it to a speed controller? The position control mode on Jaguars can use the potentiometers (though I don't personally find it actually works that well). EDIT: Actually, since you'd be dissipating about 120W, you would need a fairly large physical pot to absorb that kind of heat! Ok, really I'm gonna put on my serious face now :) Matt |
Re: Potentiometer
If you are asking if you can use a potentioimeter the answer is yes. If you are asking how to connect it check the following FIRST document:
http://usfirst.org/uploadedFiles/Rob...out%281%29.pdf page 5 for this: How do I connect a potentiometer? Connect the wiper to the input pin – Top row. Connect the other two pins to +5 and ground – Middle and bottom rows. As for the Power required if you use a 1kΩ you would only dispate 144 mW at 12 volts and with a 10kΩ of course 14.4 mW. 1/4 potentiometer would be fine. A good 10 turn pot works wonderful for positioning feedback. |
Re: Potentiometer
Quote:
We found an old pot in our junk drawer that we are using to get feedback for our arm. Why would you want a sensor that can turn 10 rotations when your arm may only move 180 degrees. Aren't you using a small range of the possible output voltage? |
Re: Potentiometer
So true... A 300 degree one should be fine for most apps but I was thinking of a tower type of application that would have multiple motor rotations. One train of thought problem...
|
Re: Potentiometer
And I didn't think of using it on a idler or a sprocket. Can't wait to try that out on the next bot :-)
One more thing. I was expecting the output voltage to be linear (constant angle/voltage) but we found that not be remotely true.the first 40 degrees give us roughly a change of .3 volts but the next 45 degrees gives us a change of 1.7 volts. Is this normal? |
Re: Potentiometer
One analog input vs many digital inputs... I'd go analog...
|
Re: Potentiometer
Quote:
If I were you, I wouldn't use it. Get yourself a "linear taper" one. You'll be a lot happier. |
Re: Potentiometer
Not all pots are linear. Some are called "audio taper and have a logarithmic function to adjust sound volume so turning the pot approximates what your ear perceives as linear. I've also run into some very strange special purpose pots made on the surplus market. These have a very odd response. Pots aren't that expensive. Go buy one that's linear, and of good quality if your arm's position is going to depend on it. Remember, if you are using a feedback circuit to help drive your arm, then the quality of the pot becomes a safety issue!
|
Re: Potentiometer
Quote:
|
Re: Potentiometer
Quote:
|
Re: Potentiometer
Quote:
|
Re: Potentiometer
Quote:
|
Re: Potentiometer
|
Re: Potentiometer
Quote:
My point: don't get a potentiometer that will just have enough rotation to work. It won't. |
Re: Potentiometer
Quote:
We've used 300 degree pots for about 250 degrees maximum range, with some breathing room. Matt |
Re: Potentiometer
We use these for counting the revolutions of our motor. We mount them to the output shaft of the gearbox with a piece of surgical tubing. One of our mentors manufactured some spiffy plastic mounts that strap onto the side of the motor to hold the potentiometer. Works pretty nice.
http://www.alliedelec.com/search/pro...px?SKU=9700063 |
Re: Potentiometer
Quote:
|
Re: Potentiometer
Quote:
|
Re: Potentiometer
Quote:
|
Re: Potentiometer
Quote:
![]() ![]() |
Re: Potentiometer
Hey everyone. Here is detailed shots, as well as a shot giving dimentions, of the POT holder for the 2.5" CIM motor. Sorry I can't find my CAD drawing. Might of went with my computer when I had it wiped.
http://doug.devicariis.org/images/robotics/ I am sure one of you guys could recreate it in no time. I have been busy, or else I would. Have fun!! |
Re: Potentiometer
Quick question and I dont want to start a thread about it. Do potentiometers have to be reset at all some way? Ive been tinkering with code and simply using the AnalogChannel->GetVoltage() and printing it to the console gives a voltage reading somewhere around ~30,000,000 which I assume means it isnt hooked up. No one has touched it since competition season and the potentiometer was fine since the last competition.
It is plugged into port 2 on an analog module. :confused: :confused: :confused: :confused: |
Re: Potentiometer
Quote:
|
Re: Potentiometer
That might be the problem... Im retrieving it to a double value.
And Im printing to int. Honestly I dont know how to print anything but int. Just getting to know this stuff. :/ |
Re: Potentiometer
Here's the VEX potentiometer we used for our arm position:
http://www.vexrobotics.com/products/.../276-2216.html It worked well once we had a completed gripper on the end of the arm that _worked_... ;-) |
Re: Potentiometer
Sorry but our potentiometer is still not working. Potentiometer is hooked up to Analog Channel #2. Power is going to the analog module.
Code for printing is as follows: (Im typing it because its on a different computer.) Code:
AnalogChannel *m_Pot;:confused: :confused: :confused: :confused: :confused: |
Re: Potentiometer
Quote:
When you measure the voltage with a meter, does it do what you expect? |
Re: Potentiometer
Not in the room atm but I'm sure that all three wires are connected to a pwm which then feeds into the analog module. It hasnt been changed (or at least not that I know of because OCCRA happened and fuses/pwms were taken off of the robot.) since last competition.
|
Re: Potentiometer
Colin,
Assuming that the code is functional, the reading sounds like what I would expect with a shorted wire. Use a voltmeter and check at both the pot and the wiring entry to the analog module. |
Re: Potentiometer
*Facepalm* once again on our team the fault is not programming it is electrical. The solder holding the positive wire to the potentiometer broke off.
Only noticed after trying to stick a volt meter down there.....:rolleyes: Thanks for the help nonetheless as it did help solve our problem. :D |
| All times are GMT -5. The time now is 11:13. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi