Page 1 of 1

Integration of the MaxBotix MB-1200 Sonar Device possible?

Posted: Mon Mar 12, 2012 9:39 am
by ApoC
Hey

The MB 1200 is an Sonar Sensor, so its possible to get it in the Mwii Code? Have this one from my Arducopter, but i would check, if its possible to get it in the MWii Code.

It can:

- Serial, 0 to Vcc, 9600Baud, 81N
- Analog, (Vcc/1024) / cm
- Pulse Width (MB1200)

Here is the Sheet: http://www.maxbotix.com/documents/MB120 ... asheet.pdf

Greetz
Chris

Re: Integration of the MaxBotix MB-1200 Sonar Device possibl

Posted: Mon Mar 12, 2012 10:52 am
by Waldmensch
Think using the Serial is not an option. You should check the Sonar_update function in sensors.pde (the sketches posted in soar I2C thread). If you get the Sensor value assigened to the Sonar_Alt variable everything should work like in the standard sonar approach. Sonar_Alt is shown in GUI debug2 in the posted sketches.

You have to use an analog pin and request the value in Sonar_Update + assign it to Sonar_Alt in cm.

Re: Integration of the MaxBotix MB-1200 Sonar Device possibl

Posted: Tue Mar 13, 2012 9:57 am
by Waldmensch
Do you have an example code for this device on Arduino?