Friday, December 4, 2015

Online Sensor Presentation


LV-MaxSonar® -EZ™ Series High Performance Sonar Range Finder













Source: http://www.maxbotix.com/documents/LV-MaxSonar-EZ_Datasheet.pdf
http://www.instructables.com/id/Max-Sonar-EZ0/
http://www.maxbotix.com/Ultrasonic_Sensors/MB1010.htm










Material :
1) Arduino Board " I used Arduino Nano".
2) Ultrasonic Max Sonar EZ0 .
3)Wires




this is a simple code :

// Written by : Mohannad Rawashdeh

// this code foe EZ0 Max sonar , analog interface

// http://www.instructables.com/member/Mohannad+Rawashdeh/

//.................................................

float Inch=0.00;

float cm=0.00;

int SonarPin=A0;

int sensorValue;

void setup(){

pinMode(SonarPin,INPUT);

Serial.begin(9600);

}

void loop(){

sensorValue=analogRead(SonarPin);

delay(50);

Inch= (sensorValue*0.497);

cm=Inch*2.54;

Serial.println(sensorValue);

Serial.print(Inch);

Serial.println("inch");

Serial.print(cm);

Serial.println("cm");

delay(100);

}


Product Specifications:
 
Resolution of 1 inch
20Hz reading rate
42kHz Ultrasonic sensor measures distance to objects
RoHS Compliant
Read from all 3 sensor outputs: Analog Voltage, RS232 Serial, Pulse Width
Virtually no sensor dead zone, objects closer than 6 inches range as 6 inches
Maximum Range of 254 inches (645 cm)
Operates from 2.5-5.5V
Low 2.0mA average current requirement
Small, light weight module
Designed for easy integration into your project or product
Widest beam of the LV-MaxSonar-EZ sensors
Our most popular indoor ultrasonic rangefinder
Our low cost, all-around sensor that is excellent for many projects
Best beam and sensitivity balance for the LV-MaxSonar-EZ sensors

No comments:

Post a Comment