Go to Post Inspect every connection after every match. Use your eyes, ears and nose. - Al Skierkiewicz [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-01-2014, 18:28
E Dawg E Dawg is offline
... is not done with FRC yet.
AKA: Ethan
FRC #0159 (Alpine Robotics)
Team Role: Mentor
 
Join Date: Feb 2013
Rookie Year: 2012
Location: Fort Collins, CO
Posts: 267
E Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud of
Serial Sonic Sensor

We are trying to set up a sonic sensor for our robot and cannot get it to display values to the dashboard. We would appreciate any help, but first take note: our sensor does not work with the ultrasonic sensor .vi's. It has to use the serial .vi's.

Thank you.
  #2   Spotlight this post!  
Unread 13-01-2014, 18:35
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,600
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Serial Sonic Sensor

It sounds like there are two things you're trying to do. 1) Read data from the sensor. 2) Output that data to the dashboard. Which are you having trouble with?

If it's the former, a link to the datasheet of your sensor would be required.
  #3   Spotlight this post!  
Unread 13-01-2014, 18:37
E Dawg E Dawg is offline
... is not done with FRC yet.
AKA: Ethan
FRC #0159 (Alpine Robotics)
Team Role: Mentor
 
Join Date: Feb 2013
Rookie Year: 2012
Location: Fort Collins, CO
Posts: 267
E Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud of
Re: Serial Sonic Sensor

Quote:
Originally Posted by Joe Ross View Post
If it's the former, a link to the datasheet of your sensor would be required.
How would I go about doing that?
  #4   Spotlight this post!  
Unread 14-01-2014, 22:25
ekapalka's Avatar
ekapalka ekapalka is offline
Registered User
FRC #3216
 
Join Date: Dec 2012
Location: Bermuda
Posts: 277
ekapalka has a spectacular aura aboutekapalka has a spectacular aura about
Re: Serial Sonic Sensor

Most ultrasonic sensors you buy will be analogue. This means it will output a voltage between two values (such as 0 to 5v) which can be linearily equated to a range by scaling it appropriately. If your sensor is from Maxbotix, everything you need is here, and if it isn't, the same concepts typically apply.

[in the event that serial sonic sensors and analogue sonar rangefinders aren't the same thing, my apologies]
  #5   Spotlight this post!  
Unread 15-01-2014, 10:28
otherguy's Avatar
otherguy otherguy is offline
sparkE
AKA: James
FRC #2168 (The Aluminum Falcons)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: CT
Posts: 443
otherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to behold
Re: Serial Sonic Sensor

Quote:
Originally Posted by E Dawg View Post
How would I go about doing that?
You need to let us know what the part number for your sensor is. There are a lot of different options out there in the world.
For example you might have one of these (they work differently):
Also, some more information on what you problem is would be helpful. Are you getting error messages? What is making you think things aren't working?

Providing your code would also be a good start.
__________________
http://team2168.org
Closed Thread


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


All times are GMT -5. The time now is 03:19.

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