Docsity

Lab 3: Optical Sensor Design and Operation, Slides of Computer Science

Partial preview of the text

Download Lab 3: Optical Sensor Design and Operation and more Slides Computer Science in PDF only on Docsity!

Lab3 – Optical Sensor

Docsity.com

Lab3 – Optical Sensor

When a light path is interrupted and whenit is completed, the AVR records bothevents.

Uses typically include counting objectssuch as highway toll stations or eventssuch as computing RPM’s of a rotatingshaft with a “blade” that interrupts the lightpath every 1 or ½ cycles.

Docsity.com

Lab3 – Optical Sensor

Voltages VDD VCC Time(ns) 0 15 x^ Input x+ Output 0V Docsity.com

One Design Example of the Optical Sensor Notice: In this design, PA0 is used to receive the input PB0 is used to light the LED Docsity.com