|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Ultrasonic Sensors
I'm not a labview programmer, but as I understand the built-in ultrasonics routines are for digital ultrasonic sensors(the system sends out a ping and then waits to hear the returning ping). The maxbotics has a coprocessor that does this, so instead of using digital pulses, it just sends you back an analog value, which you can read the same way you'd read a potentiometer.
|
|
#2
|
||||
|
||||
|
Re: Ultrasonic Sensors
Quote:
If you use the analog values, you can simply read the analog channel and divide by a constant to get number of inches. No idea about the ultrasonics sensor VI - it was easier for me to do it the way I stated since we used them last year. |
|
#3
|
|||
|
|||
|
Re: Ultrasonic Sensors
I'm not sure how to get the sensors working with the labview tutorial, but if you have the ones that output an analog voltage I can imagine you can just read in the value as an analog input and scale that value by a constant by multiplying a constant to it.
|
|
#4
|
||||
|
||||
|
Re: Ultrasonic Sensors
I was thinking about using an ultrasonic range finder. It's very good at detecting walls and other solid objects.
But for robots, which have different sized parts hanging about and holes everywhere that could have echos, I thought it wouldn't really be accurate because they would all affect the distance. This is my first year so I'm not sure, did this system work for anyone? |
|
#5
|
|||||
|
|||||
|
Re: Ultrasonic Sensors
Quote:
http://www.youtube.com/watch?v=eTCr2nvFn3g We played with an ultrasonic sensor a bit to see if it would work...didn't really see any advantage to it. Although we did not try aiming it up at the vision target, which might work better. The problem is the beam width requires the shooter to be aimed right at the target before it can get a good range number, whereas the camera routine only needs the target to be in the field of vision, which is much wider. Last edited by MrForbes : 09-02-2009 at 14:12. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| WPILib and Ultrasonic sensors | DanielR. | Programming | 7 | 18-06-2008 17:31 |
| Parallax and Maxbotix ultrasonic sensors | Lucretius | Programming | 5 | 20-02-2008 14:34 |
| Ultrasonic sensors on digital ports 3-6 problems | wt200999 | Programming | 14 | 13-02-2008 08:13 |
| Ultrasonic range sensors for Vex Robot | OneCoolDude | Programming | 1 | 01-12-2007 09:22 |
| can we use ultrasonic sensors? | GMKlenklen | Electrical | 20 | 15-01-2007 14:34 |