Last week’s project demos Servo control with potentiometer and enable/disable buttons Demo in class tonight – don’t start on the next project until I’ve.

Slides:



Advertisements
Similar presentations
RC Circuits.
Advertisements

4/22/ MAKING YOUR ROBOTS SEE Building and Testing Photosensitive eyes.
Fair Use Building and Research Labs Presents
Boe-bots and STEM Boe-bots and STEM – This sectional will introduce participants to a programmable robot that is useful for engaging students in building.
2. the intensity of light bulb A increases.
IR Control Materials taken from IR Remote for the Boe-Bot by Andy Lindsay.
Using the Board of Education Breadboard and Your Multimeter ENGR 120 Work in teams of two!
Smart Ceiling Fan and Light Combination By Yang Xiao Mike Roberts ME 3484.
PHY 232 Spring 2002 Prof. S. Billinge Class 9. PHY 232 Spring 2002 Prof. S. Billinge Announcements Class web-page:
Simple Logic Elevator Group 10: Zhen Yu Wu Wai Seng Ho Tat Chi Chio.
ENGR 101: Robotics Lecture 2 – Text Programming Outline  Introduction to PBASIC  Variables, I/O, Arithmetic  Controlling the LEDs References 
Automatic Delivery Machine ME 3484 Group 2 Li Jiang Jia Cong Li Kun Hei Fong.
Working with Arduino: Lesson #2: Variable, Photo, and Force Sensitive Resistors EGN1007.
1 Chapter 5: Measuring Rotation Presentation based on: "What's a Microcontroller ?" By Andy Lindsay Parallax, Inc Presentation developed by: Martin A.
Blinking LED Lab David Luong Herrick Chang. Recall Capacitor Flash in disposable camera.
Embedded Programming and Robotics
Sensors Material taken from Robotics with the Boe-Bot.
Slide Menlo Drive Suite 100 Rocklin, CA Presentation based on: “What’s a Microcontroller?" by Andy Lindsay Presented by Andy.
Image of Arduino. Arduino discussion Address issues with circuit walk-through – Electricity, Programming, Arduino Concepts Work on BeatTable (next week)
Last week’s project demos Servo control with photoresistor and enable/disable buttons Demo in class tonight – don’t start on the next project until I’ve.
Control Some Material taken from RobotSubsumption.pdf.
Slide Menlo Drive Suite 100 Rocklin, CA Presentation based on: “What’s a Microcontroller?" by Andy Lindsay Presented by Jessica.
1 A Modification of Chapters 5 & 7 Slides Presentation based on: "What's a Microcontroller ?" By Andy Lindsay Parallax, Inc Presentation developed by:
Basic Stamp OEM module By Wilmer Arellano. OEM BASIC Stamp 2sx Wiring diagram Note: - is connection to negative pole of the battery 220 Ohm Push button.
Controlling the Outside World
RC Circuits. We can use a resistor to slow the charging of the capacitor. -Current now varies with time. -In the very short term, you can treat the capacitor.
Software and documentation Download and install: “Setup-Stamp-Editor-Lrg-v2.2.6.exe”  Downloads  BASIC Stamp software BASIC Stamp Syntax.
1 Chapter 6: Light Sensitive Navigation With Photoresistors Presentation based on: "Robotics with the Boe-Bot" By Andy Lindsay Parallax, Inc Presentation.
Basic Stamp OEM module By Wilmer Arellano. 2  The BASIC Stamp 2 OEM is a discreet component version of the BS2 which may be purchased in kit form. 
Sensors Material taken from Robotics with the Boe-Bot.
Last week’s project demos RC circuit with creative use of 7- segment display Demo in class tonight – don’t start on the next project until I’ve seen this.
ME456: Mechatronics Prof. Clark J. Radcliffe Mechanical Engineering
CSC522 Embedded Systems Introduction to Circuit Design.
Slide Menlo Drive Suite 100 Rocklin, CA Presentation based on: “What’s a Microcontroller?" by Andy Lindsay Presented by Andy.
Microprocessors Tutorial 1: Arduino Basics
1 Parallax BASIC Stamp ® Tutorial Developed by: Electronic Systems Technologies College of Applied Sciences and Arts Southern Illinois University Carbondale.
Adding tech to your cosplay and other hijinks!
Slide Menlo Drive Suite 100 Rocklin, CA
Slide 1 Chapter #7: Measuring Light Light Sensor Circuit Parts (1) (1)Resistor – 220 Ω (red-red-brown) (1) Capacitor – 0.1  F (1) Capacitor – 0.01  F.
Basic Stamp OEM module By Wilmer Arellano. 2  The BASIC Stamp 2 OEM is a discreet component version of the BS2 which may be purchased in kit form. 
Lab 6: R-C Circuits Only 6 more labs to go!! A capacitor is a device used to store energy. In this lab we will measure how a capacitor “stores” up or discharges.
RC Circuits.
Basic Stamp OEM module By Wilmer Arellano. 2  The BASIC Stamp 2 OEM is a discreet component version of the BS2 which may be purchased in kit form. 
ENGR 101: Robotics Lecture 6 – Follow That Light! Outline  The Scribbler's Light Sensors  Using EEPROM Memory References 
1 BOE-BOT Lecture #2 DE - Digital Electronics Servos and the BOE-BOT.
The “Board of Education” 1 Three-position switch 0 = OFF 1 = ON / wheels OFF 2 = ON / wheels ON breadboard (for building circuits) electrical power (V.
Class Parts List Breadboard 1 Wire kit 1 Red LEDs 3 Green LEDs 3 Yellow LEDs 1 Photoresistor 1 xPiezo sensor 1 Button 3 Slide button, switch 1 Reed switch.
Slide Menlo Drive Suite 100 Rocklin, CA
2/4/08 February 3, 2009 Warm-up  Draw a circuit diagram that includes a 2-cell battery, 2 resistors in series with an additional resistor in parallel.
Set up your circuit board 2 batteries, bulb, switch, and variable resister.
Consider the function in which E, R, and C are known constants
Diagram of the Board of Education
Materials taken from IR Remote for the Boe-Bot by Andy Lindsay
Fair Use Building and Research Labs Presents
Some Material taken from RobotSubsumption.pdf
Administrative stuff Turn in your HW #3!
Analog Input through POT
Roller Coaster Design Project
Electronic Education Kits
All you wanted to know about Arduino (and somethings you didn’t)
Autonomous Refrigerator
Fair Use Building and Research Labs Presents
Karl Jean-Francois-James Madison H.S. & Eldiquen Mangubat-IS 232
Materials taken from IR Remote for the Boe-Bot by Andy Lindsay
Arduino 7 Segment Display Lab
Programming the BASIC Stamp
Chapter 7: Measuring Light
Chapter 5: Measuring Rotation
Unit Standard credits 7 weeks
Presentation transcript:

Last week’s project demos Servo control with potentiometer and enable/disable buttons Demo in class tonight – don’t start on the next project until I’ve seen this one!

More circuit design Sensors – Light

The Potentiometer Also known as a “pot” –It’s a dial that can be turned Nothing more than a variable resistor

The Photoresistor Like the potentiometer, the photoresistor is a variable resistor Unlike the potentiometer, it is not [directly] human controlled

Schematic The schematic shows it as a resistor with light coming into it (note the arrows are opposite those of an LED)

Usage We are going to use them just as we did the potentiometer –An RC circuit –Charge the capacitor –Let the capacitor drain through the photoresistor –Value of the photoresistor (and capacitor) will determine the time constant of the circuit

Capacitor usage – the RC circuit Potentiometer circuit Photoresistor circuit

Test program ' {$STAMP BS2} ' {$PBASIC 2.5} pinno VAR Byte time VAR Word DEBUG "Circuit choice (0: photoresistor, 15: potentiometer): " DEBUGIN DEC pinno DEBUG CLS DO HIGH pinno PAUSE 100 RCTIME pinno, 1, time DEBUG HOME, "discharge time = ", DEC5 time LOOP END

Homework Photoresistor control of the servo motor –When there is a “bright” light Blink the LED fast Move the servo motor (back and forth) slow –When there is a “dim” light Blink the LED slow Move the servo motor (back and forth) fast Note: you should not be slamming your servo motor against its limits – use the endpoint estimates that you [should have] measured 2 projects ago

Deliverables A state-machine diagram depicting the operation of the system Source code A schematic diagram of the circuit A working demonstration on the Basic Stamp development board (in class)