Shopping.kitsnspares.com
 
CATEGORIES  

Arduino & Freeduino Boards kits & shields

ARM Evaluation Tools

Beginners Kit

Development Boards

Electronics Books & CDs

Engineer Kits

GSM-Based Kits

Programmer

Renesas Evaluation tools

RF Based Modules/Kits

RFID-based Kits

Robotic Kits

Self Learning Kits

Spares

Tool Kits

VLSI Based Kits

 
 
 
 
 


 
 
   
 
Home :: Engineer Kits
 
   

Microcontroller-Based Ultrasonic Distance Meter

Price:(INR) 1200
Price:(USD) 27
Quantity:
Add to Cart
* Shipping charges applicable
 
 
 

Learn the use of ultrasonic transmitter-receiver pair.
Learn interfacing of AT89C2051 with ULN2003 and seven segment display.
Use of quadruple operational amplifier IC LM324.

There are several non-contact ways available for distance measurement. Of these, one way is to use ultrasonic waves at a frequency of 40 KHz. Ultrasonic transducers measure the amount of time taken for a pulse of sound to travel to a particular surface and return as a reflected echo. The Micro-controller based Ultrasonic Distance Meter implemented here is capable of calculating distances of up to 1 meter. This distance measurement for an object/obstruction is based upon the speed of sound at an ambient temperature of 25°C. The distance hence measured is displayed on a seven segment display for the user to read out.

The micro-controller generates pulse bursts of 40 KHz at its pin3.4 which are amplified by transistor T5. The inverting buffer CD4049 drives the transmitter end of the ultrasonic transducer. Three inverters (N1, N2 and N3) are connected in parallel to increase the transmitted power. This inverted output is fed to another set of three inverters (N4, N5 and N6). Outputs of both sets of parallel inverters are applied as a push-pull drive to the ultrasonic transmitter.
The positive-going pulse is applied to one of the terminals of the ultrasonic sensor and the same pulse after 180-degree phase shift is applied to the other terminal. Thus the transmitter power needs to be increased for increasing the range. The echo signal is received by the receiver sensor after reflection. This is a weak signal and is further amplified by quad op-amp IC LM324. The first stage (A1) is a buffer with unity gain. The received signal is directly fed to the non-inverting input (pin 3) of A1 and coupled to the second stage by a 3.3nF (small-value) capacitor. The second stage of the inverting amplifier uses a 2-mega-ohm resistor for feedback. The third stage is a precision rectifier amplifier with a gain of 10.
The output (at pin8) from the LM324 IC is filtered by the rectifier diodes to accept 40 KHz frequencies and this signal is fed to pin12 (P1.0) of the micro-controller AT89C2051. This pin is the positive input (AIN0) terminal of the on-chip precision analog comparator, while pin13 (P1.1) serves as the negative input (AIN1) which is used for level adjustment using preset VR1. The ultrasonic transducer outputs a beam of sound waves, which has more energy on the main lobe and less energy (60 dB below the main lobe) on the side lobes as shown in Fig. 4. Even this low side-lobe signal is directly picked up by the receiver unit. Hence, it is important to space the transmitter and receiver units about 5cm apart. The echo signal will make port-3 pin 3.6 low when it goes above the level of voltage set on pin 13. This status is sensed by the micro-controller as programmed. When port-3 pin P3.6 goes high, we know that the echo signal has arrived; the timer is read and the 16-bit number is divided by twice the velocity of sound and then converted into decimal format as a 4-digit number.

Note: To increase the range up to 5 meters, a ferrite-core step-up pulse transformer can be used, which steps-up the transmitter output to 60V (peak to peak).


Brand: Kits'n'spares, Marketed by: Kits'n'spares

   
 
NEW ARRIVALS



Simple Line following robot

Electronic Card Lock for Appliances

PIC Controlled Switch using PIC17F72 Microcontroller - EFY April 2012

PICDEM PIC18 Explorer

 
 
HOT SELLERS

Microcontroller Based Projects

Simple Automatic Water Level Controller

Numeric Water Level Indicator with Display

Soldering Kit

 
 
 
 
 
 
 
 
HELPLINE: 011-26371661/2 | SUPPORT: info@kitsnspares.com,kits@efyindia.com
Terms & Conditions  
Designated trademarks, products & brands are the property of their respective owners.
All Rights Reserved. Use of this website constitutes acceptance of the KITSNSPARES Terms and Conditions & Privacy Policy.
Copyright © 2009 KITSNSPARES Team.