Go to Post I was proud that there was no whining, no finger pointing and no complaining. - Vikesrock [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 Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-01-2011, 12:53
Maxbotix Maxbotix is offline
Junior Member
no team
 
Join Date: Sep 2009
Location: Maxbotix
Posts: 3
Maxbotix is just really niceMaxbotix is just really niceMaxbotix is just really niceMaxbotix is just really niceMaxbotix is just really nice
MaxSonar Ultrasonic Pole/Tower Sensing & Detection Application Note!

MaxBotix Inc., had completed an application note that may help teams use the MaxSonar ultrasonics sensors in the 2011 FIRST competition. This note covers using the sensors for pole detection, distance, and direction to align the minibot for placement on the pole.

Please click this link to view the web page with the application note http://www.maxbotix.com/MaxBotix_Robot_Sensors.html.

In addition, we have applications notes listed on the webpage above on how to run more than one MaxSonar sensor at a time.

We wished each FIRST team the best of luck with their bot!

If you have any questions, please email me at scott@maxbotix.com.

Best regards,

Scott Wielenberg
Technical Support & Sales
of MaxBotix Inc.
Phone: (218) 454-0766 Ext. 2
Fax: (218) 454-0768
Email: scott@maxbotix.com
Web: www.maxbotix.com
Reply With Quote
  #2   Spotlight this post!  
Unread 26-01-2011, 04:35
calica calica is offline
Registered User
FRC #2471
 
Join Date: Jan 2011
Location: Camas, WA
Posts: 9
calica is an unknown quantity at this point
Re: MaxSonar Ultrasonic Pole/Tower Sensing & Detection Application Note!

Anyone know how to put a DIO into the HighZ state? We're using Java.

Thanks.
Reply With Quote
  #3   Spotlight this post!  
Unread 26-01-2011, 08:40
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: MaxSonar Ultrasonic Pole/Tower Sensing & Detection Application Note!

Quote:
Originally Posted by calica View Post
Anyone know how to put a DIO into the HighZ state? We're using Java.
Configure it as an input. However, the DIO pins all have 10k pullup resistors on them. How high an impedance do you want?
Reply With Quote
  #4   Spotlight this post!  
Unread 26-01-2011, 15:44
Maxbotix Maxbotix is offline
Junior Member
no team
 
Join Date: Sep 2009
Location: Maxbotix
Posts: 3
Maxbotix is just really niceMaxbotix is just really niceMaxbotix is just really niceMaxbotix is just really niceMaxbotix is just really nice
Re: MaxSonar Ultrasonic Pole/Tower Sensing & Detection Application Note!

Thanks for the question. A 10K resister will work fine. Please let me know if you have any other questions.


Best regards,

Scott Wielenberg
Technical Support & Sales
of MaxBotix Inc.
Phone: (218) 454-0766 Ext. 2
Fax: (218) 454-0768
Email: scott@maxbotix.com
Web: www.maxbotix.com
Reply With Quote
  #5   Spotlight this post!  
Unread 31-01-2011, 17:24
calica calica is offline
Registered User
FRC #2471
 
Join Date: Jan 2011
Location: Camas, WA
Posts: 9
calica is an unknown quantity at this point
Re: MaxSonar Ultrasonic Pole/Tower Sensing & Detection Application Note!

Quote:
Originally Posted by Alan Anderson View Post
Configure it as an input. However, the DIO pins all have 10k pullup resistors on them. How high an impedance do you want?
You need to set it as a output to send the initial pulse. Then as an input to let the pulse "loop back around" from the last MaxSonar.

I was a little worried about Java not GC'ing the DigitalOutput object fast enough. But it looks like using DigitalModule.*DIO() should allow the control needed.
Reply With Quote
  #6   Spotlight this post!  
Unread 31-01-2011, 18:47
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,586
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: MaxSonar Ultrasonic Pole/Tower Sensing & Detection Application Note!

Quote:
Originally Posted by calica View Post
You need to set it as a output to send the initial pulse. Then as an input to let the pulse "loop back around" from the last MaxSonar.

I was a little worried about Java not GC'ing the DigitalOutput object fast enough. But it looks like using DigitalModule.*DIO() should allow the control needed.
Besides the programing language time, the NI 9403 can have up to an 18 us delay in switching directions.
Reply With Quote
  #7   Spotlight this post!  
Unread 13-02-2011, 16:43
computerish computerish is offline
Registered User
FRC #0619
 
Join Date: Nov 2008
Location: va
Posts: 45
computerish is an unknown quantity at this point
Re: MaxSonar Ultrasonic Pole/Tower Sensing & Detection Application Note!

Has anyone actually gotten these working with the daisy chaining? We wired up two LV-MaxSonar-EZ4s for daisy chaining and we can get it working on a breadboard.

Unfortunately, we can't figure out how to reconfigure a digital i/o pin as an input once it is configured as an output. We are getting an AllocateException. We are using Java. Any ideas?
Reply With Quote
  #8   Spotlight this post!  
Unread 13-02-2011, 16:58
computerish computerish is offline
Registered User
FRC #0619
 
Join Date: Nov 2008
Location: va
Posts: 45
computerish is an unknown quantity at this point
Re: MaxSonar Ultrasonic Pole/Tower Sensing & Detection Application Note!

We found the solution:

Code:
DigitalModule dm = DigitalModule.getInstance();
dm.freeDIO(pin number);
Reply With Quote
  #9   Spotlight this post!  
Unread 25-02-2011, 10:35
Team0865 Team0865 is offline
Registered User
FRC #0865
 
Join Date: Feb 2011
Location: Toronto, Ontario
Posts: 3
Team0865 is an unknown quantity at this point
Re: MaxSonar Ultrasonic Pole/Tower Sensing & Detection Application Note!

Will using an XL-MaxSonar-EZ0 work just as well as XL-MaxSonar-EZ0? I've looked at the schematic for the daisy chain and I was wondering where each of the wires get wired back to on the digital side car. Our team has limited electronic experience so any additional help would be great.

Thanks,
Team 0865
Reply With Quote
  #10   Spotlight this post!  
Unread 25-02-2011, 11:13
Jon236's Avatar
Jon236 Jon236 is offline
Registered User
AKA: Jon Mittelman
FRC #2648 (Infinite Loop)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2000
Location: Windsor, Maine
Posts: 741
Jon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond repute
Re: MaxSonar Ultrasonic Pole/Tower Sensing & Detection Application Note!

We use the MaxSonar modules in the analog mode. They return a value every 99 ms and work very well for us.
__________________
Jon Mittelman

Senior Judge Advisor New England & Israel 2014-2015
Infinite Loop Mentor 2011-2015
TechnoTicks Mentor 2000-2011
Championship Chairman's Award 2009 Team236 TechnoTicks
Judge 2010-2015 Championships
Senior Judge Advisor New England District Championship 2014-2015
Judge Advisor Tel Aviv Regional 2007-2015
Judge Advisor Pine Tree Regional 2013
Maine Regional Planning Committee
New England District Planning Committee
Lead Inspector Microsoft Tel Aviv Regional 2006-2008
Judge & Lead Inspector GM/Technion Tel Aviv Regional 2006
Judge UTC Hartford Regional 2006
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 17:36.

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