|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Use an encoder.
|
|
#2
|
||||
|
||||
|
Re: Counting number of turns
|
|
#3
|
|||
|
|||
|
Re: Counting number of turns
we don't have them. and we don't have time to order them from US. any other suggestions?
|
|
#4
|
||||
|
||||
|
Re: Counting number of turns
Do you have a string potentiometer?
|
|
#5
|
|||
|
|||
|
Re: Counting number of turns
is it different than a regular potentiometer? |
|
#6
|
||||
|
||||
|
Re: Counting number of turns
What is turning? Wheels? Warm drive? Arm?
Try to get your hands on an encoder or gear tooth sensor (hall effect sensor) (Pretty much the same as an encoder) Potentiometers normally go only 1-10 turns, encoders dont have a limit. |
|
#7
|
||||
|
||||
|
Re: Counting number of turns
If you have a light sensor/photoreflective sensor, you can put a pulley in front of it, and paint it half white and half black. Connect the pulley to the motor. You can now track the number of times the motor rotates based on the number of times the light sensor counts it sees the white or black pass by.
You can fine tune this by adding more sections of black/white rather than just one of each colour. We did this on our 2009 bot to tune the PID for the shooting wheel. |
|
#8
|
|||
|
|||
|
Re: Counting number of turns
Quote:
|
|
#9
|
||||
|
||||
|
Re: Counting number of turns
Yes, it measures distance by the unraveling of a string around a spool. I was going to suggest that you could wrap the string around whatever you are counting the rotations of and use the circumference of the "wheel" to figure out the number of rotations, but it would only work if the rotating object only has to rotate a small number of times like a winch and it cannot rotate very fast. I have never seen this on a robot, but it could work I suppose. Could you reveal what this would be used for?
http://www.andymark.com/product-p/am-2618.htm Last edited by TheKeeg : 07-02-2014 at 09:44. |
|
#10
|
|||
|
|||
|
Re: Counting number of turns
It depends on what your purpose is:
As others have suggested, the standard approach in many cases is encoders; there are other types available as well, there were some magnetic encoders in First choice this year, and I found a few of these in our electronics boxes (we didn't order them that I know of, so they may have come in the kit this year or last), which if you can get them sourced from the EU may be much easier to get. If you are measuring wheel speed, you can also build a hall effect sensor quite easily with some magnets, a few discrete electical components and one latching hall effect sensor like this (see the datasheet on sparkfun and build the typical 3-wire circuit). These work well in high velocity measurements like a shooter wheel, but not for high precision stuff like drive trains or arms where a single revolution is a big movement. If you need to control the position of an arm, a simple potentiometer (ideally one with 10Kohms of resistance, definitely more than 1Kohm), the poteniometer can tell you the exact position of an object (you need to convert the voltage to degrees manually though) but they aren't typically built to withstand high speeds (even continuous potentiometers would not be a good idea for anything that spins over a 120rpm or so) |
|
#11
|
||||
|
||||
|
Re: Counting number of turns
If you have been around since Logomotion the line tracking sensors will work to give you a simple rotation feedback for a 'slow moving' shaft.
You could also try using the encoders inside an the older style 'ball' mouse. But this will take a little bit of electronic work on your part to interface it to the digital sidecar. |
|
#12
|
||||
|
||||
|
Re: Counting number of turns
Quote:
http://www.chiefdelphi.com/forums/sh...d.php?t=105965 Edit: found the line tracker part number was/is 42EF-D1MNAK-A2 looking up the data sheet from AB shows a 1ms response time. For round numbers, say you only want to push it to 1 Rev per 5ms that still gets you to 12,000 RPM range. We accurately recorded 5000rpm with 3 pulses per rev last year using the encoder class, last year with the banner sensor. Last edited by tr6scott : 07-02-2014 at 11:24. |
|
#13
|
||||
|
||||
|
Re: Counting number of turns
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|