Today’s Agenda 1.Scribbler Program Assignment 1.Project idea due next class 2.Program demonstration due Wednesday, June 3 2.Attendance & lab pair groupings.

Slides:



Advertisements
Similar presentations
Robofest 2005 Introduction to Programming RIS 2.0 RCX Code.
Advertisements

Sensing the World Intro to Robots.
Boe-Bot Challenge. Advanced Users (those who have used Boe-Bots in Digital Electronics) There are suggested activities / programs for each challenge.
Navigating the BOE-BOT
BEGINNER EV3 PROGRAMMING Lesson
CS 1 with Robots Robot Sensors & Actuators Institute for Personal Robots in Education (IPRE)‏
ENGR 101: Robotics Lecture 5 – Subprograms Outline  Subprograms  The Infrared Sensor System References 
ENGR 101: Robotics Lecture 1 – Introduction Outline  The Scribbler's Sensors  Demo Modes  Graphical Programming References 
©2006 CSUC Institute for Research in Intelligent Systems Introduction to Coding June 15, 2006.
1 ©2006 INSciTE Lab Two Task: Make the program from Lab One (Move forward 5 rotations and turn right 90 degrees) into a MyBlock.
Session 2  The Touch Sensor  The Colour Sensor.
BEGINNER EV3 PROGRAMMING Lesson
The NXT is the brain of a MINDSTORMS® robot. It’s an intelligent, computer-controlled LEGO® brick that lets a MINDSTORMS robot come alive and perform.
LEGO Mindstorms NXT Programming We will be using the Common Palette for our Robots This is how you download your program onto the brick Drag and drop a.
By Droids Robotics Infrared Sensor Intermediate EV3 PROGRAMMING LESSON © 2015 EV3Lessons.com, Last edit 5/26/
BEGINNER PROGRAMMING Lesson
GIRLS Robotic Camp. Let’s Begin Meet and Greet – Camp leaders introduce themselves – Students introduce themselves.
Looping forever Reading/observing sensors (inputs) Reacting to sensors Obstacle sensors.
The George Washington University Electrical & Computer Engineering Department ECE 002 Dr. S. Ahmadi Class 2.
Available at: Lesson 3.6 – Program Line Follower in Autonomous Mode Program Line Follower in Autonomous Mode.
AMMAR HAJ HAMAD IZZAT AL KUKHON SUPERVISOR : DR. LUAI MALHIS Self-Driven Car.
EV3 Workshop Oct 3, 2015 Instructor: Chris Cartwright
Motors and Sound Troubleshooting Tips. © H-CCS Problem 1 Why can’t I download my program to the RCX?
Negative Power or Negative Rotation makes robot go backwards. But if both are negative, the robot will go forward! Move Steering Block.
Sentry System Multiple Sensors
Today’s Agenda 1.Research Paper – Due Wednesday –Oral presentations March 11 & 18 (Last Class &Final) 2.Attendance & lab pair groupings 3.Robots 1.Hands-on.
ENGR 101: Robotics Lecture 4 – Making Decisions Outline  The Stall Sensor  Making Decisions  Random Number Generation References 
Robotics NXT-G: variables, file Rotation sensor Lab: Use buttons to hit specific ball. Homework: Postings. Start planning mapping the room.
BEGINNER EV3 PROGRAMMING LESSON By: Droids Robotics Using Sensor Data and Port View.
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Dr. S. Ahmadi Class 4/Lab3.
Oregon Robotics Tournament and Outreach Program RCX Basics.
Programming 101 The Common Palette Content provided by Connor Statham (9 th Grade Student) Formatting by Shannon Sieber.
BEGINNER FLL PROGRAMMING WORKSHOP BY DROIDS ROBOTICS & EV3LESSONS.
BEGINNER EV3 PROGRAMMING LESSON By: Droids Robotics Topics Covered: Touch Sensor.
Obstacle Detection. In the previous program the robot moves forward and then checks for something in the way. As we observed it only checks for things.
Automation and Robotics.  First you select the platform type so that you can use Natural Language PLTW.
Casne.ncl.ac.uk Taking care of the CrumbleBot Please do NOT stress the robot's motors 1.Do NOT push the robot 2.Do NOT hold the.
ROBOTC for VEX Online Professional Development. Homework Questions Thoughts? Questions?
Basic Programming: Until Commands. The Problem with Wait States Motor Speed is affected by battery power. –If the battery is fully charged, the motors.
Robotics Programming Wall Follow Line tracking for a set amount of time Line tracking for a distance.
Python Programming Module 4 Sensors and Loops Python Programming, 2/e1.
By Sanjay and Arvind Seshan
BEGINNER EV3 PROGRAMMING Lesson
By Sanjay and Arvind Seshan
By Sanjay and Arvind Seshan
Touch Sensor.
Finch Robot Class L4 How do I… ? LED color (Range 0 to 100)
Electrical Engineer Responsibilities
BEGINNER PROGRAMMING LESSON
Introductory Presentation
Beginner Programming Lesson
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER EV3 PROGRAMMING Lesson
Introductory Presentation
Motors and Sensors Large Motor
Introductory Presentation
BEGINNER PROGRAMMING LESSON
Beginner Programming Lesson
Line Following Behavior
BEGINNER PROGRAMMING LESSON
Beginner Programming Lesson
BEGINNER PROGRAMMING LESSON
Introductory Presentation
Compiled from various Internet sources Presented by Mr. Hatfield
Obstacle Detection.
Obstacle Detection.
Lego MINDSTORMS EV3.
BEGINNER PROGRAMMING LESSON
Oregon Robotics Tournament and Outreach Program
Basic Robotic Programming
Presentation transcript:

Today’s Agenda 1.Scribbler Program Assignment 1.Project idea due next class 2.Program demonstration due Wednesday, June 3 2.Attendance & lab pair groupings 3.Robots –Sensors –Input / Output 4.Lab 10 with Scribbler Robot

Dead Reckoning is HARD Move Forward indefinitely Pause for 5 seconds Stop Move Forward for 5 seconds Pause for 0.2 seconds

Urban Challenge Sensors GPS Cameras Radar LiDar Light Detection and Ranging Odometer Gyroscope

Scribbler Sensors 1.Obstacle sensor 2.Stall sensor 3.Light sensors 4.Line sensors

Flashes the right infrared (IR) emitter –If the center IR detector sees the IR light reflected back, it reports an object on the right Flashes the left IR emitter If the center IR detector sees the IR light reflected back, it reports an object on the left Obstacle Sensor

Scribbler’s Headlights If obstacle on left turn right Else If obstacle on right turn left Else go straight

Obstacle Sensor Tips Infrared light reflects best off of shiny, light- colored surfaces; it is absorbed by dull, dark colored surfaces The Obstacle sensors work best at detecting objects 3” to 8” away Obstacle sensors are far from perfect, have a backup plan in case of collision –Obstacle sensors do not work at very close range (distances of 2 inches or less)

Stall Sensor The Scribbler’s stall sensor can tell when the motors are running but the wheels are not turning freely 0 or 1 (i.e. the Scribbler is stuck )

Go Forward until Stuck! Move Forward indefinitely Do While { Pause 0.2 seconds // Moving Forward } Stop END Program

Go Forward until Stuck! Move Forward indefinitely Do forever If Then Stop End Program Else Pause 0.2 seconds // Moving Forward

Stall Sensor Tips The Stall sensor detects if the robots has bumped against something – Navigation by bumping into things. This is similar to a person entering a dark room and then trying to feel their way by touching or bumping slowly into things. The Stall sensor is Binary : there is no way to tell if the bump was on the left or right

Stall Sensor Tips #2 The motor must be running for Scribbler to stall –Use Move Forward indefinitely –Move Forward for 1 second will not work Every time you issue a Move instruction, the Stall sensor resets itself –For best results, insert a short pause after every Move instruction before checking the Stall sensor

The Scribbler has three photoresistor light sensors on front of the robot –The center sensor looks straight ahead –The other two sensors look 30 degrees to each side. Their positioning allows Scribbler to use its photoresistors to navigate towards or away from light Light Sensors

Do forever Pause for 0.2 seconds If Then Move Forward for 1 second Else If Then Turn Left for 1 second Else If Then Turn Right for 1 second Else // no light – do nothing END Follow the Light

Light Sensor Tips There appears to be a lot of leakage of light into the Scribbler robot –Use SCP’s Sensor Monitor to get a feeling for Scribbler’s light sensor readings You can cover Scribbler completely with its white box to block out all light –The sensors should read near zero

On the bottom of Scribbler are – two Infrared Emitters and – two Infrared Detectors These allow Scribbler to see a dark line on a light background Line Sensors

Move Forward indefinitely Do forever If Then Stop End Program END

Line Sensor Tips Line sensors are binary sensors: –0 is white –1 is black – Other colors are detected as either white or black For best results, Use white paper with thick black lines (at least one inch) Line sensors are precisely positioned and work best on a smooth, hard, flat surface

Scribbler I/O Input Sensors –Infrared obstacle sensor –Stall sensor –Three photoresistor light sensors –Two infrared Line sensors Red reset button Output Motors &Wheels Three LED’s Speaker

Button Press If Then LED: OFF, ON, ON Else If Then LED: OFF, ON, OFF Else If Then LED: ON, ON, ON