News PIC projects
- ajay_bhargav
- Mon Nov 09 2009, 12:45 PM
A simple projects demonstrating use of Ultrasonic sensor to measure distance. This project make use of PIC microcontroller and 40Khz ultrasonic transducers pair for measuring distance from obstacle and displaying it on 7-Segment LED display.
The working of project is based on the simple phenomenon of sound traveling. The time from transmission of the pulse to reception of the echo is the time taken for the sound energy to travel through the air to the object and back again.
Since the speed of sound is constant through air measuring the echo reflection time lets you calculate the distance to the object using the DST equation :
Distance = (s * t)/2 (in metres)
You need to divide by 2 as the distance is the round trip distance i.e. from transmitter to object and back again.
The 40Khz signal is generated form controller itself and given to ultrasonic transmitter via amplifier circuit. Receiver part includes preamplifier, peak detector and threshold circuit.
![]()
Block Diagram of PIC Sonar
Circuit Diagram:
for complete theory and code visit PIC Sonar project page
Tags ultrasonic distance measurementPIC projectsPIC sonarpic interfacing ultrasonic sensor
The working of project is based on the simple phenomenon of sound traveling. The time from transmission of the pulse to reception of the echo is the time taken for the sound energy to travel through the air to the object and back again.
Since the speed of sound is constant through air measuring the echo reflection time lets you calculate the distance to the object using the DST equation :
Distance = (s * t)/2 (in metres)
You need to divide by 2 as the distance is the round trip distance i.e. from transmitter to object and back again.
The 40Khz signal is generated form controller itself and given to ultrasonic transmitter via amplifier circuit. Receiver part includes preamplifier, peak detector and threshold circuit.

Block Diagram of PIC Sonar
Circuit Diagram:
Attachment
for complete theory and code visit PIC Sonar project page
Submit comment
Conversation
No messages yet.
0
Downloads
- Automatic Railway Gate Control by: Nimar & Pawandeep Kaur in: 8051 Projects
Thu May 31 2018, 07:17 AM - Yet Another DTMF Controlled Robot by: Parambir, Harman, Pragati, shikha, Manpreet in: 8051 Projects
Fri May 19 2017, 09:15 AM - Simple 3 Digit Temperature Meter by: Rakesh Suthar in: PIC Projects
Sat Jul 05 2014, 06:15 AM - Electronic Voting machine with Managed Control Unit (Project Report Included) by: Shivani, Geetika Gupta, Vibhore Aggarwal, Megha Singh in: 8051 Projects
Sat May 17 2014, 02:16 PM - LED Scrolling message Display using 8051 by: Pratik Suthar in: 8051 Projects
Thu May 08 2014, 10:58 AM
Comments
- Pure Sine Wave Inverter Using Atmel 89S2051 by: ExperimenterUK
Thu Jan 07 2021, 12:54 PM - Pure Sine Wave Inverter Using Atmel 89S2051 by: MUNIKOJR
Wed Jan 06 2021, 06:36 AM - Frequency Counter using AT89C2051 and LCD (Assembly) by: ExperimenterUK
Mon Nov 23 2020, 02:40 PM - Frequency Counter using AT89C2051 and LCD (Assembly) by: Auden
Mon Nov 23 2020, 08:43 AM - Frequency Counter using AT89C2051 and LCD (Assembly) by: Chinh 299
Sat Jun 13 2020, 01:18 PM
Mirza123
Thu Jun 25 2020, 03:46 PM
eunicelove124
Mon Jun 22 2020, 03:03 PM
cerouno
Tue Jun 16 2020, 05:10 PM
Marce
Sat Jun 13 2020, 09:43 PM
Davidthils
Thu May 21 2020, 12:44 PM
Jakeror
Thu May 21 2020, 01:28 AM
motorCar
Wed May 20 2020, 07:05 PM
Vordrync
Wed May 20 2020, 11:52 AM
Online
Guests: 89, Members: 0 ...
most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM
Members: 38215
Newest member: Mirza123
most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM
Members: 38215
Newest member: Mirza123
Trending Topics
multiple 7-segment displays Keil addons xbee with pic micro rs 250 serial programming using 8051 I2C Clock dtmf controlled robot unique visitors RS-232 standards AVR assembly programing mechanical resonance digital communications speed-controlled DC motor SAMPLED DATA SYSTEMS AND THE Z-TRANSFORM matlab project dtmf decoder ic design process keil assembly programming delay using registers embedded c and structures systems