MICROMOUSE LECTURE #2 SENSORS, MINI PROJECT #2 11/6/2014.

Slides:



Advertisements
Similar presentations
LIGHT SENSORS Sensor Technology Metropolia University Kiia Tammi Jonathan Malangoni.
Advertisements

1 Signals, Circuits, and Computers John Athanasiou Part B Spring 2010.
LED Display. LED Typical LED forward bias voltage: 1.5 to 2.0 V Typical currents needed to light LED range from 2 to 15 mA.
LECTURE 4 DIODE LED ZENER DIODE DIODE LOGIC
Lecture 5 Parts/design Choices (Part 1)
We deal with voltage signals Sensors convert environment data to electrical signals Output: Voltage Input: Time/Distance/Whatever Move Receiver around.
Optical Sensor.
1 Boe-Bot Parts BOE-BOT Lecture #1b DE - Digital Electronics.
Module 4: Analog programming blocks. Module Objectives Analyze a control task that uses analog inputs. Connect a potentiometer to LOGO! controller and.
Digital Tachometer ENGR 4803 Electromechanical Systems & Mechatronics.
CMPE 118 MECHATRONICS Introduction to Sensors Or, How the world gets into our programs.
Part A: Controlling Oscillation Frequency with Capacitors and Resistors Part B: Diodes and Light Experiment Timer.
NSF ITEST SPIRIT December Workshop 2006 WELCOME Building an IR Controller for Your TekBot.
SENIOR DESIGN 10/16.
Chapter 1 Quick review over Electronics and Electric Components Prepared By : Elec Solv.
Pulse Width Modulation (PWM) LED Dimmer Circuit
Electronic Components
ST13 – (Complex) Sensor systems 1 (Complex) sensor systems Lecturer: Smilen Dimitrov Sensors Technology – MED4.
Basics of Sensors. A sensor is a device which is used to sense the surroundings of it & gives some useful information about it. This information is used.
Exploring Color Vision with LED’s Mort Sternheim, Rob Snyder, Chris Emery March, 2014.
Week 7: Design a Night Light New Experiment It is not in the lab manual.
Write a program that will automatically control the brightness of a light based on the surrounding light level. Automatic Night Light.
Thyristors and Optical Devices
Sensors Material taken from Robotics with the Boe-Bot.
Module 4: Analog programming blocks. Module Objectives Analyze a control task that uses analog inputs. Connect a potentiometer to LOGO! controller and.
ENGR 1181 First-Year Engineering Program College of Engineering Engineering Education Innovation Center First-Year Engineering Program Solar Energy Meter.
Sensors and Electricity. What is a Sensor? A sensor is a device that: A sensor is a device that: 1) Measures a physical quantity 2) Converts this measurement.
Analog vs Digital  Digital on/off voltage Analog variable voltage.
NPN Foundations of Technology NPN © 2013 International Technology and Engineering Educators Association, STEM  Center for Teaching and Learning™ Foundations.
Question ONE What is the name of this component?.
Transistor Circuit Templates This presentation is partially animated. Only use the control panel at the bottom of screen to review what you have seen.
Potentiometer Foundations of Technology Potentiometer © 2013 International Technology and Engineering Educators Association, STEM  Center for Teaching.
Electronic Components. Battery A portable power source that has a positive and negative. Electronics works on Direct Current (DC) where electrons flow.
Low Cost Infrared Touch Screen Bezel for POS Systems Rohan Verma, Jeremy Taylor, Freddie Dunn III Georgia Institute of Technology School of Electrical.
Electronic Parts.
Semiconductor Devices and Microelectronics A subtopic of Basic Electronics.
How an NPN Transistor Works
Large Signal Amplifier Design Ryan Child 1. Background Large Signal Amplifiers belong to a class of amplifiers that are used for applications where high.
Technician License Course Chapter 3 Lesson Plan Module 6 – Part 2 Electrical Components 28 March 2015 Practice Questions 2014 Technician License Course.
RESISTORS CAPACITORS DIODES AND OTHER SOLID STATE COMPONENTS TRANSISTORS
OPTICAL SENSORS 13 JULY 2004 Chung Hsieh. Basics Operation An Light Emitting Diode (LED) sends out light which bounces back from the target. Exciting.
Detection Circuit ENGR Pre Lab.
Data Acquisition Device (DAQ) A DAQ is a cool little device that allows you to interface hardware to a computer. Here is what we will do:  Create a square.
18240 Element two - Components INPUTS OUTPUTS PURPOSE TYPICAL USE.
Opto Couplers Types And Its Applications. Opto Couplers Types And Its Applications Introduction:  A lot of electronic equipment.
Infrared IR Sensor Circuit Diagram and Working Principle.
Infrared Transmitter and Receiver Block Design
“Cell Packing indicator”
INDUSTRIAL ELECTRONICS/ELECTRICITY
LED - Infrared 850nm   Description: This is a very simple, clear infrared LED. These devices operate between nm and work well for generic IR systems.
REMOTE JAMMING DEVICE.
TV OPERATION JAMMING SYSTEM
Pulse Detector Ramiro Duarte, Clayton Greenbaum Frank Paynter
Infrared Transmitter and Receiver
Group Number 42: Monitoring System for Rotating Turbines
How to avoid catching things on fire.
Electronic Education Kits
Saving Lighting Energy with the BBC micro:bit
Arduino Analog I/O Analog input pins: 0 – 5
Components and Schematics
Saving Lighting Energy with the BBC micro:bit
CSCI1600: Embedded and Real Time Software
Resistance of a light bulb
Basic Electronics Part Two: Electronic Components.
Introduction to Wiring Logic Gates
How an NPN Transistor Works
UNIT 7: INFRARED SENSORS
Reflection Wave energy bounces back off matter.
CSCI1600: Embedded and Real Time Software
UNIT 7: INFRARED SENSORS
Presentation transcript:

MICROMOUSE LECTURE #2 SENSORS, MINI PROJECT #2 11/6/2014

WHAT IS A SENSOR? Converts outside parameters to voltage signals Converts outside parameters to voltage signals

SENSORS IN A MICROMOUSE EncodersGryoscopeInfrared

GRYOSCOPE Outputs angular velocity Outputs angular velocity Mouse turns Gryo outputs angular velocity Code integrates angular velocity Determine what mouse should do

HOW TO CHOOSE A GRYO Range Range Need at least +/ degrees/second Need at least +/ degrees/second Can be analog or digital Can be analog or digital Only need to measure 1 axis Only need to measure 1 axis

INFRARED SENSORS Infrared LEDs emit light in wavelengths from 870nm to 950nm Infrared LEDs emit light in wavelengths from 870nm to 950nm Receivers (phototransistors) sensitive to IR light Receivers (phototransistors) sensitive to IR light Emitter emits light Light bounces off wall Receiver measures reflected light Determine wall presence

HOW TO CHOOSE AN IR RECEIVER/EMITTER

LED EMITTER Make sure to choose a narrow emission angle Make sure to choose a narrow emission angle Maximize power efficiency Maximize power efficiency Maximize signal amplitude Maximize signal amplitude Power Density Power Density Measures solid angle Measures solid angle Often measured in mW/sr (miliwatt/steradians) Often measured in mW/sr (miliwatt/steradians) 

LED RECEIVER Make sure to match the receiver with emitter wavelength Make sure to match the receiver with emitter wavelength Make sure to choose small angles=high directivity Make sure to choose small angles=high directivity Reduces interference Reduces interference Emitter/receiver pairs generally sold together Emitter/receiver pairs generally sold together Note that max sensitivity at 940nm Note high directivity

CALIBRATION Mostly trial and error Mostly trial and error Vary distances and measure voltage with MCU Vary distances and measure voltage with MCU IR calibration is non-linear IR calibration is non-linear

THE SENSORS YOU WILL BE USING IR Emitter: an IR Light Emitting Diode IR Emitter: an IR Light Emitting Diode IR Receiver: An NPN phototransistor IR Receiver: An NPN phototransistor Amplifies current going into the Base and sends it out the Emitter Amplifies current going into the Base and sends it out the Emitter An overly-simplified analogy: think of it as a dimmer switch An overly-simplified analogy: think of it as a dimmer switch

IR SENSOR SCHEMATIC

Emitter: you can drive the LED directly from the MCU Emitter: you can drive the LED directly from the MCU Make sure you use a series resistor so you don’t burn out the LED! Make sure you use a series resistor so you don’t burn out the LED! Orientation matters! Anode goes to power, cathode goes towards ground Orientation matters! Anode goes to power, cathode goes towards ground Receiver: need to use a pull down resistor at the Emitter Receiver: need to use a pull down resistor at the Emitter BJTs work with current, but MCU reads voltage. BJTs work with current, but MCU reads voltage. Resister allows current to pass and have a readable voltage Resister allows current to pass and have a readable voltage

AMBIENT LIGHT Ambient light will definitely confuse your mouse Ambient light will definitely confuse your mouse Might seem like there is a wall when there isn’t Might seem like there is a wall when there isn’t How to deal with softer ambient light: How to deal with softer ambient light: Turn IR emitter off and read from receiver Turn IR emitter off and read from receiver Turn IR emitter on and read from receiver Turn IR emitter on and read from receiver Subtract the first reading from the second Subtract the first reading from the second Won’t work if light is too bright and saturates receiver Won’t work if light is too bright and saturates receiver

IR SENSORS SAMPLE PROGRAM

JEREMY HAUGEN GUEST LECTURE ON SENSORS