1 Lab3 – Optical Sensor. 2 When a light path is interrupted and when it is completed, the AVR records both events. Uses typically include counting objects.

Slides:



Advertisements
Similar presentations
Lab 9: Matrix Keypad : ”No Key Press” Analysis Slide #2 Slide #3 ”Press and Hold Key 5” Analysis.
Advertisements

Interrupts, Low Power Modes and Timer A (Chapters 6 & 8)
More fun with Timer/Counters
Microprocessor Motor Control Spring Introduction  Stamp projects Robots  Sensors  Motor control  Logic Rocketry  Reading acceleration (“g”
©2011, The McGraw-Hill Companies, Inc. Chapter 4.
EML 2023 – Motor Control Lecture 4 – DAQ and Motor Controller.
Drives & Control June 2003 A. Jansen 1 Brushless DC Motor Control with C868 and CAPCOM6.
Available at: – Program Optical Quad Encoders in Autonomous Mode Program optical quad encoders in autonomous mode.
Techniques for Object Discovery from Real Time UML, B.P. Douglass.
Group 4 Rotationally Refreshed Display Patrick Boyd Daniel Hill.
Ping Project Justin Knowles Kurt Lorhammer Brian Smith Andrew Tank ECEN 4610.
Lab 5 Shift Registers and Counters Presented By Neha Kumar but while we wait for that to happen…
PT 5000 RIT Computer Engineering Senior Design Project HardwareSoftware Ted TomporowskiPooja Rao The PT 5000 is a custom built RC car that is meant to.
8254 Modes Made by: Ryan wahab (8) Modes Gate is low the count will be paused Gate is high Will continue counting Mode 0: An events counter.
Incremental Encoders. Encoders typically run on +5V, not +24V Outputs are typ. not 24V compatible either.
Computer System Laboratory
Micromouse Meeting #3 Lecture #2 Power Motors Encoders.
Detailed Design Review Project P13363 Members: Justine Converse (IE) James Cover (CE) Alexander Eschbach (EE) Jason Hang (ME) Ashley Trode (EE) Guide:
Lecture #5 In this lecture we will introduce the sequential circuits.
Reviewing Common Blocks for St. Agnes Elementary School Teachers by Jenny Chang Feb. 26th, 2007 USC & University Neighborhood Outreach Robotics STEM program.
Nuclear Plant Control System We wanted to design a circuit board with the necessary tools in order to help the operation of a nuclear power plant using.
Sept EE24C Digital Electronics Project Design of a Digital Alarm Clock.
ME 102A Spring 2010 May 4, 2010 Jennifer Lew Stephen Tu.
Module 4: Analog programming blocks. Module Objectives Analyze a control task that uses analog inputs. Connect a potentiometer to LOGO! controller and.
PLC Setup. Lab Setup Power Supply SLC 5/03 CPU DC input card Relay output card Our lab setup consists of 8 stations each having an IBM-PC compatible computer,
7/23 Timers in Coldfire Processor Computer Science & Engineering Department Arizona State University Tempe, AZ Dr. Yann-Hang Lee (480)
Programming Concepts Part B Ping Hsu. Functions A function is a way to organize the program so that: – frequently used sets of instructions or – a set.
ARM Timers.
Programming Concepts (Part B) ENGR 10 Introduction to Engineering 1 Hsu/Youssefi.
Input/ Output By Mohit Sehgal. What is Input/Output of a Computer? Connection with Machine Every machine has I/O (Like a function) In computing, input/output,
Chapter 8.
Control Technology and Automation
1 CS/COE0447 Computer Organization & Assembly Language Chapter 5 part 4 Exceptions.
EV3 Workshop Oct 3, 2015 Instructor: Chris Cartwright
1 Lecture on Lab 6 Lab 7 Lab 8. 2 Lab 6: Open Loop Controller As you learned in lab 5, there are two kinds of control systems: open loop and closed loop.
CPO Science Workshop: The CPO Timer Integrated Physics and Chemistry.
Lab 13 Department of Computer Science and Information Engineering National Taiwan University Lab13 – Interrupt + Timer 2014/12/23 1 /16.
TEAM 9 - MRAV SOFTWARE DESIGN NARRATIVE Nick Gentry, Vinayak Gokhale, Vineet Ahuja & Oliver Staton March 23, 2011.
Submitted by : Mark Gakman, Herzel Abramov Supervisors : Ina Rivkin, Eli Shoushan Vitaly Savuskan, Avi Hohama, Prof. Yael Nemirovsky.
Station Board Testing EVLA Correlator S/W F2F 3-4 April 2006 D. Fort.
ME 102A Spring 2010 April 21, 2010 Jennifer Lew Stephen Tu.
ECE 4330 Project Proposal 1 Motor Music Presentation by Nick Hermanson.
Motor Speed Josh Edwards. Description Circuit will calculate the RPMs of the motor using the NT3100 and output to a 7 segment display Motor will be driven.
Network and Systems Laboratory nslab.ee.ntu.edu.tw.
Controlling a Robot with a Neural Network n CS/PY 231 Lab Presentation # 9 n March 30, 2005 n Mount Union College.
Automated Mechanisms Help. Potentiometers Potentiometer Check –Analog Port 2 How they work –Analog sensor –Measures rotation of a shaft between 0 and.
ATV INSTRUMENTATION DISPLAY System Design Ed Raezer Senior Project Western Washington University.
Radiation Level Mapping Using An Unmanned Aerial Vehicle Reducing Human Exposure in Dangerous Environments.
 Introduction.  Block Diagram.  Sensors.  Arduino.  Advantages.  Limitations.  Applications.  Conclusion. Contents.
Start of Sales MSI-XXXB Safety Relays Plugable screw or spring-cage terminal blocks.
1 Lab 4: D/A Converter Lab 4: D/A Converter This is a simple resistive network for a D/A converter Port 1, Port 0 are digital inputs ==> 00 (minimum),
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Timers and Event Counters
Microcontroller Applications
4-Integrating Peripherals in Embedded Systems
ARDUINO LINE FOLLOWER ROBOT
4-Integrating Peripherals in Embedded Systems
ECEN 248 Lab 9: Design of a Traffic Light Controller
Programming Design ROBOTC Software Computer Integrated Manufacturing
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Industrial Electronics
McCrometer Nano Board Test Procedure
Switch Blocks check a value and choose a path based on that value
CSCI1600: Embedded and Real Time Software
SETTING NETWORK BIAS AND TERMINATING RESISTORS
Systems and Control.
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Self-Adjusting Helmet
Systems and Control.
Presentation transcript:

1 Lab3 – Optical Sensor

2 When a light path is interrupted and when it is completed, the AVR records both events. Uses typically include counting objects such as highway toll stations or events such as computing RPM’s of a rotating shaft with a “blade” that interrupts the light path every 1 or ½ cycles.

3 Lab3 – Optical Sensor When the NTE3100’s light path is not blocked it produces +5V at Vc. R1 is a current limiting resistor. Resistor values may differ in different manufacture lots. Choose the resistor values by measuring I c

4 Lab3 – Optical Sensor

5 One Design Example of the Optical Sensor Notice: In this design, PA0 is used to receive the input PB0 is used to light the LED7

6 Hardware design is given except proper selection of resistor values Software design needs to support (1) a start button (2) a stop button (3) a reset button to reset counter (4) counter recording number of objects blocking the light. (5) a heartbeat signal on LED0 (6) LED7 toggles when a block is detected.