Ultrasonic Sensor PDF
Document Details
Uploaded by Deleted User
Tags
Summary
This document provides information on ultrasonic sensors, including their function, applications (like robotic obstacle detection and self-parking cars), and usage in manufacturing. It contains code examples related to controlling ultrasonic sensors and interacting with LCD displays.
Full Transcript
ULTRASONIC SENSOR - instrument that measures the distance to an object using ultrasonic sound waves. - used primarily as proximity sensors. - found in automobile self-parking technology and anti-collision safety systems. - used in robotic obstacle detection...
ULTRASONIC SENSOR - instrument that measures the distance to an object using ultrasonic sound waves. - used primarily as proximity sensors. - found in automobile self-parking technology and anti-collision safety systems. - used in robotic obstacle detection systems. - manufacturing technology. LCD (LIQUID CRYSTAL DISPLAY) - to provide interface to user - produce graphic images - text panel based hitachi popular lcd (2 or more-line text, 16-20 character) pulseIn() - read the travel time of the sound wave. - 2 parameters - first one is Echo pin and second is state of the pulse we are reading, either High or Low. distance = (duration*.0343)/2; GND – ground VCC – 5v power supply VO – LCD contrast (brightnes lcd) RS – register select (tell we are sending command or data) RS low (sending commands) RS high(sending data) RW – read/write (control reading data) E – enable the display DB- data buses – carry data Anode – positive Cathode – negative