Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Sensors (http://www.chiefdelphi.com/forums/forumdisplay.php?f=173)
-   -   MaxSonar Ultrasonic Pole/Tower Sensing & Detection Application Note! (http://www.chiefdelphi.com/forums/showthread.php?t=89010)

Maxbotix 13-01-2011 12:53

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

calica 26-01-2011 04:35

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.

Alan Anderson 26-01-2011 08:40

Re: MaxSonar Ultrasonic Pole/Tower Sensing & Detection Application Note!
 
Quote:

Originally Posted by calica (Post 1008587)
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?

Maxbotix 26-01-2011 15:44

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

calica 31-01-2011 17:24

Re: MaxSonar Ultrasonic Pole/Tower Sensing & Detection Application Note!
 
Quote:

Originally Posted by Alan Anderson (Post 1008638)
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.

Joe Ross 31-01-2011 18:47

Re: MaxSonar Ultrasonic Pole/Tower Sensing & Detection Application Note!
 
Quote:

Originally Posted by calica (Post 1012659)
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.

computerish 13-02-2011 16:43

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?

computerish 13-02-2011 16:58

Re: MaxSonar Ultrasonic Pole/Tower Sensing & Detection Application Note!
 
We found the solution:

Code:

DigitalModule dm = DigitalModule.getInstance();
dm.freeDIO(pin number);


Team0865 25-02-2011 10:35

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

Jon236 25-02-2011 11:13

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.


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

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