Embedded Ultrasonic Sensor

Report
Ultrasonic Sensor
HC-SR04
Ernie Patenia
Tori Speer-Manson
11-6-14
Introducing...
4 Pins
•
•
•
•
Vcc (5-20 [V])
Trig
Echo
Gnd
Outline
 SR04 Timing Diagram
 Organization of Timers
 TI RTOS Timers and HWI
 Timer MUX Pins
 Interrupt Vector Sheet
SR04 Timing Diagram
Organization of Timers
Timer 3
WTimer 2
15 μs trigger
(pulse)
Timer A
Timer B
http://img2.wikia.nocookie.net/__cb20120405104516/rainbowmagic/images/f/fb/Lightning_Bolt.jpg
Timer MUX Pins
• Wide Timer
http://www0.egr.uh.edu/courses/ece/ece4437/labsupport/TM4C123G%20Launchpad/tm4c123gh6pm_Datasheet.pdf
Interrupt Vector Sheet
*
http://www0.egr.uh.edu/courses/ece/ece4437/labsupport/TM4C123G%20Launchpad/tm4c123gh6pm_Datasheet.pdf
TI RTOS Timers
• Trigger Timer
TI RTOS Timers
• Echo Timer
TI RTOS HWI
• Hardware Interrupt
Now for a short demonstration…
Questions
http://2.bp.blogspot.com/-kC6f2QayDtc/U-fLXe-AVKI/AAAAAAAAAg0/gmUP9sLzwcQ/s1600/gems.png

similar documents