Go to Post The game ends after two minutes and fifteen seconds. The build season ends after six weeks. Using the experience to help improve yourself and the rest of the world will take the rest of your life. - dlavery [more]
Home
Go Back   Chief Delphi > Technical > National Instruments LabVIEW and Data Acquisition
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 24-01-2012, 21:24
Tub Tubs Tub Tubs is offline
Registered User
FRC #3049
 
Join Date: Feb 2010
Location: Washington
Posts: 23
Tub Tubs is an unknown quantity at this point
Program LV-MaxSonar-EZ1

i tried to program the sensor with the ultrasonic VI's but it doesnt work, anything to suggest
Reply With Quote
  #2   Spotlight this post!  
Unread 24-01-2012, 23:00
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,846
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Program LV-MaxSonar-EZ1

The ultrasonic vi's are not for the MaxBotix sensor we received in the Kit.
They are for a different make/model.

The MaxBotix has a couple of ways to install, but the simplest is to use the analog output, connect it to the analog bumber, and retrieve data from it as you would any other analog sensor.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 24-01-2012, 23:07
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,582
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: Program LV-MaxSonar-EZ1

There is an example built into LabVIEW. From the front screen of LabVIEW, select Support then FRC example finder. From there choose sensors and then EZ1 MB1010 Sonar - Analog.
Reply With Quote
  #4   Spotlight this post!  
Unread 06-02-2012, 23:16
moc601 moc601 is offline
Registered User
FRC #0601 (Baybots)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Hampton Bays, NY
Posts: 18
moc601 is an unknown quantity at this point
Re: Program LV-MaxSonar-EZ1

That's a fantastic example, it really helped get it tested quickly.
Any examples of how to drive the rx port to turn the sensor on and off?
Reply With Quote
  #5   Spotlight this post!  
Unread 06-02-2012, 23:28
Vikingtech2054's Avatar
Vikingtech2054 Vikingtech2054 is offline
Registered User
FRC #5162 (The Big Red Theory)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Big Rapids, MI
Posts: 86
Vikingtech2054 is an unknown quantity at this point
Re: Program LV-MaxSonar-EZ1

Quote:
Originally Posted by Tub Tubs View Post
i tried to program the sensor with the ultrasonic VI's but it doesnt work, anything to suggest
What our team did was we wrote the program by using the DIO analog in channel, the get voltage in analog in is gives you a voltage and then divide it by about .0097 will give you approximate distance in inches, error with in 6 inches
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


All times are GMT -5. The time now is 16:05.

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