One of the devices I'll be using is an Ultra Sonic Range finder. I've been learning how to implement this into my project. The device is a Sensor, that will emit a pulse. This pulse will bounce of the nearest object and return to the Sensor. The Sensor will time how long it takes the signal to return. From this I can calculate exactly how far away the object is from the sensor.
 |
| Ultrasonic Range Finder |
The sensor I'll be using is the Maxbotix LV-EZ1. There are a lot of similar devices available. The reason I chose this one is because its cheap, accurate and easily available. It has a range of 0 to 6.45meter approximately. It can work of 5V directly from the Arduino board. It will only need 3 connections to the Arduino. This will free up the pins on the Arduino, allowing me to connect other devices. This will prove particularly useful when I'm experimenting and testing the device with the Arduino.
The pins connecting will be Vcc (5V), Gnd and a 3rd pin to send out the pulse and receive the signal. I have been examining and familiarising myself with the software needed to run this device.The Arduino software will send a pulse out through the pin, wait for the pulse signal to be returned, record the time and then send another pulse starting the process over again.
To calculate the distance from the object I will use the following formula:
The results of this formula will be displayed on the LCD unit. The range of distance will effect both the Shiftbrite LED and the buzzer.
No comments:
Post a Comment