This instructables show how to make an arduino powered distance sensor using ultasonic range finder that send the distance measured to the receiver.In this project we use a 433 mhz transmitter and a receiver to send the data from one arduino to the other arduino.The distance which the ultrasonic range finder calculates is shown on an 16*2 L.C.D display connected to the arduino that receives the data.This project is very simple and is very useful for vehicle.
This project consist of following components:-
- 2*Arduino UNO
- A pair 433 mhz transmitter and receiver
- An ultrasonic range finder
- A 16*2 L.C.D display
- A breadboard
- A set of male jumper wires
Step 1: Making the Transmitter
This step requires an arduino UNO,433 mhz transmitter,ultrasonic range finder,a breadboard & some male jumper wires.For making the transmitter just follow the above schematics.
Powering the sensors from arduino does not work properly as both the sensors need +5v,therefore I suggest that it is better to power one of the sensor with an external source that provides 5v only.
Step 2: Making the Receiver
In this step we require an arduino UNO,433 mhz receiver,16*2 L.C.D display,10 k potentiometer,a breadboard & some male jumper wires.For making the receiver just follow the above schematics.
In this case also powering the sensors from arduino does not work properly as both the sensors need +5v,therefore I suggest that it is better to power one of the sensor with an external source that provides 5v only.
Step 3: Uploading the Code
In this step we are going to upload the code but first we should exchange some files from our ultrasonic & virtualwire library.Please download & exchange the provided files withe the .h and .ccp files in the ultrasonic and virtualwire library for this project.In this step the code may not upload if we are using external libraries provided you by other websites as this files are edited.You can download the libraries from below.
After downloading,exchanging & installing the libraries just download the codes for transmitter and receiver that is provided & then open the arduino IDE connect the transmitter and receiver in your laptop/computer & upload the following two codes in transmitter and receiver respectively.
Step 4: Additional Improvement in the Project
This project can be made more interesting by adding voice to this project.For making that you may need sparkFun voice shield or any other similar shield.After making the project you may plant this project in your garage,bicycle or any vehicle,etc and just show off your passion.
For any queries or suggestions feel free to comment.