Go to Post We are all insane aren't we? I just want to build a robot now. :P - Lowfategg [more]
Home
Go Back   Chief Delphi > Technical > Control System > Sensors
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
  #16   Spotlight this post!  
Unread 09-02-2009, 10:43
nathanww nathanww is offline
Hacker
FRC #1678 (Citrus Circuits)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2007
Location: Davis, CA
Posts: 224
nathanww is just really nicenathanww is just really nicenathanww is just really nicenathanww is just really nice
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.
__________________
Get yer robot source code here!
Reply With Quote
  #17   Spotlight this post!  
Unread 09-02-2009, 14:10
MrForbes's Avatar
MrForbes MrForbes is offline
Registered User
AKA: Jim
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Sierra Vista AZ
Posts: 5,953
MrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond repute
Re: Ultrasonic Sensors

Quote:
Originally Posted by mikeqfl View Post
Has anyone tried using the camera for ranging information? Is there a canned routine in Labview to do that? Any feedback on how accurate it is? We are using a camera to track the the opposing trailer and need range feedback to feed to our shooting mechanism. We almost have all of the mechanical stuff worked out, time to program and try to make it all work now. Nothing like saving the best for last.
We have set up a routine for doing this, it works ok, but we need to do some more work on our shooter system to get consistent shooting speeds (speed sensor so we can command a specific shooter RPM for the detected distance, rather than just sending a PWM value to the shooter speed controller).

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.
Reply With Quote
  #18   Spotlight this post!  
Unread 09-02-2009, 14:33
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,513
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Ultrasonic Sensors

Quote:
Originally Posted by nathanww View Post
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.
The maxbotics will send PWM values or analog values. Take your pick.

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.
Reply With Quote
  #19   Spotlight this post!  
Unread 09-02-2009, 23:21
windell747 windell747 is offline
Registered User
FRC #2477
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2001
Location: Hawaii
Posts: 158
windell747 will become famous soon enoughwindell747 will become famous soon enough
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.
Reply With Quote
  #20   Spotlight this post!  
Unread 11-02-2009, 00:04
tennisbeast29's Avatar
tennisbeast29 tennisbeast29 is offline
Soup Eater
AKA: Nina Rao
FRC #2191 (Fluxcore)
 
Join Date: Dec 2008
Rookie Year: 2009
Location: Pennsylvania
Posts: 5
tennisbeast29 is an unknown quantity at this point
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?
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 02:34.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi