2011年3月29日 星期二

Ultrasonic range finder


Maxsonar
檢測距離範圍:6~254inches (15.24cm~6.45m)
啟動時保持36公分的淨空較佳(至少18)
Datasheet - maxbotix
FAQ

電路與arduino sketch教學(analog&PWM singal)
http://craft.mos-com.net/articles/arduino-maxsonar-ez1/

Reading analog values with an Arduino
An example using an ultrasonic distance sensor
http://sheepdogguides.com/arduino/aht1a.htm

用平均值之方式穩定數值(arduino sketch)
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1226321702

Simple fix for when electrical noise interferes with the MaxSonar sensors.
UAV and Mobile Robotic Users

When electrical noise is introduced on the line, it can cause the MaxSonar sensors to output unstable readings.  Known items that cause excessive power supply noise are Sharp infrared range sensors, XBee radios, some wireless control systems, some switching power supplies, some servos, etc.

There is a simple solution that eliminates the effects of a dirty power supply to the sensor.  By placing a resistor in series with the V+, along with a 100uF capacitor (Digi-Key part number: P803-ND or equivalent) to ground, you create an effective filter (i.e. almost a placebo battery) for the sensor.  This ensures that almost any noise introduced onto the line is captured and only clean stable power is supplied to the sensor.  For the circuit connections, please see the schematic below:

沒有留言:

張貼留言