Chapter 5: Tactile Navigation With Whiskers

Slides:



Advertisements
Similar presentations
Chapter 6: Digital Display
Advertisements

Chapter 3: Digital Inputs - Pushbuttons
1 Chapter 9: Electronic Building Blocks Presentation based on: "What's a Microcontroller ?" By Andy Lindsay Parallax, Inc Presentation developed by: Martin.
Working With the GMF Cylindrical Robots Lessons with the Robot System and RC Programming Language.
1 Chapter 7: Measuring Light Presentation based on: "What's a Microcontroller ?" By Andy Lindsay Parallax, Inc Presentation developed by: Martin A. Hebel.
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.
Parallax, Inc. Presentation based on: “Robotics: with the Boe-Bot"
Boe-Bot Challenge. Advanced Users (those who have used Boe-Bots in Digital Electronics) There are suggested activities / programs for each challenge.
1 Lecture 1: Your Boe-Bot's Servo Motors Presentation based on: "Robotics with the Boe-Bot" By Andy Lindsay Parallax, Inc Presentation developed by: Martin.
Navigating the BOE-BOT
1 Chapter 7: Navigating with Infrared Headlights Presentation based on: "Robotics with the Boe-Bot" By Andy Lindsay Parallax, Inc Presentation developed.
1 Chapter 4: Controlling Motion Presentation based on: "What's a Microcontroller ?" By Andy Lindsay Parallax, Inc Presentation developed by: Martin A.
Design of Control Strategy System Dynamics Environmental Disturbances Control Strategy GoalOutput Feedback Sensors.
Control Some Material taken from RobotSubsumption.pdf.
ENGR 101: Robotics Lecture 5 – Subprograms Outline  Subprograms  The Infrared Sensor System References 
©2006 CSUC Institute for Research in Intelligent Systems Introduction to Coding June 15, 2006.
Input and Output Developed by: Electronic Systems Technologies College of Applied Sciences and Arts Southern Illinois University Carbondale
1 Chapter 5: Measuring Rotation Presentation based on: "What's a Microcontroller ?" By Andy Lindsay Parallax, Inc Presentation developed by: Martin A.
Programming Epson Robots – Part 2 ME 4135 – Fall 2012 Dr. R. Lindeke.
1 Chapter 8: Frequency and Sound Presentation based on: "What's a Microcontroller ?" By Andy Lindsay Parallax, Inc Presentation developed by: Martin A.
A Bot With a Brain Using infrared obstacle detection circuits to create an autonomous robot that will navigate itself through an obstacle course. Bailey.
Control Some Material taken from RobotSubsumption.pdf.
Programming the CheapBot-14. Start the Editor Set the Mode.
1 Parallax BASIC Stamp ® Tutorial Developed by: Electronic Systems Technologies College of Applied Sciences and Arts Southern Illinois University Carbondale.
Chapter 4: Decision Making with Control Structures and Statements JavaScript - Introductory.
Graph Algorithms Mathematical Structures for Computer Science Chapter 6 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesGraph Algorithms.
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. 
Slide 1 PHP Operators and Control Structures ITWA 133.
Microcontroller I Seth Price Department of Chemical Engineering New Mexico Tech Rev. 9/22/14.
Digital Electronics Board-of-Education : Input. Board of Education - Input This presentation will explain, both from a hardware and software perspective,
1 Lecture 1: Your Boe-Bot's Servo Motors Presentation based on: "Robotics with the Boe-Bot" By Andy Lindsay Parallax, Inc Presentation developed by: Martin.
ENGR 101: Robotics Lecture 4 – Making Decisions Outline  The Stall Sensor  Making Decisions  Random Number Generation References 
1 Parallax BASIC Stamp ® Tutorial Developed by: Electronic Systems Technologies College of Applied Sciences and Arts Southern Illinois University Carbondale.
Control Material taken from RobotSubsumption.pdf and SumoBot : Mini-Sumo Robotics.
Electronics and Robotics Merit Badges Class 5 – Programming Robot Controllers for Sumo Competition 12/23/2015 Electronics and Robotics Merit Badges - Class.
Programming: Simple Control Structures
Programming: Simple Control Structures Sec 46 Web Design.
Wireless control of an LED. the XBee transceiver transmitter: sends radio waves receiver: receives radio waves transceiver: sends AND receives.
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.
Decision Making: while loops and Boolean Logic. While Loops A while loop is a structure within ROBOTC which allows a section of code to be repeated as.
Selection Learning Objective: to be able to design algorithms that use selection.
Servo Positioning Pulse Width Direction of Rotation PULSOUT Period
IR Communication Materials taken from a variety of sources including IR Remote for the Boe-Bot by Andy Lindsay.
Programming: Simple Control Structures
Unit-1 Introduction to Java
BASIC Stamp II Programming for Descartes Robots
Materials taken from IR Remote for the Boe-Bot by Andy Lindsay
Some Material taken from RobotSubsumption.pdf
Microprocessor and Assembly Language
Topics discussed in this section:
Describe how NASA remotely controls equipment in space.
PROMGRAMING YOUR ROBOT
Programming: Simple Control Structures
While Loops and If-Else Structures
Programming: Simple Control Structures
Selection Learning Objective: to be able to design algorithms that use selection.
Some Material taken from RobotSubsumption.pdf
Design of the Control Strategy
Programming: Simple Control Structures
Materials taken from IR Remote for the Boe-Bot by Andy Lindsay
Materials taken from IR Remote for the Boe-Bot by Andy Lindsay
Fevzi Ozaydin & Violet Mwaffo
Programming: Simple Control Structures
Chapter 7: Measuring Light
Chapter 5: Measuring Rotation
+/- Numbers Year 2-3 – Addition and subtraction of two-digit numbers
Programming: Simple Control Structures
Presentation transcript:

Chapter 5: Tactile Navigation With Whiskers Presentation based on: "Robotics with the Boe-Bot" By Andy Lindsay Parallax, Inc Presentation developed by: Martin A. Hebel Southern Illinois University Carbondale College of Applied Sciences and Arts Electronic Systems Technologies 7/6/04

Tactile Whiskers as switches

Whisker "switch" open and closed

Code to View Whisker Switch States DO: DEBUG CLS, ? IN5, ? IN7 Pause 100 LOOP See "TestWhisker.bs2"

Adding LED Indication

Code using IF…THEN

AI – Escaping Corners ' --- Detect Consecutive Alternate Corners ------------------------ ' See the "How EscapingCorners.bs2 Works" section that follows this program. IF (IN7 <> IN5) THEN ' One or other is pressed. IF (Old7 <> IN7) AND (Old5 <> IN5) THEN ' Different from previous. counter = counter + 1 ' Alternate whisker count + 1. old7 = IN7 ' Record this whisker press old5 = IN5 ' for next comparison. IF (counter > 4) THEN ' If alternate whisker count = 4, counter = 1 ' reset whisker counter GOSUB Back_Up ' and execute a U-turn. GOSUB Turn_Left ENDIF ' ENDIF counter > 4. ELSE ' ELSE (old7=IN7) or (old5=IN5), counter = 1 ' not alternate, reset counter. ENDIF ' ENDIF (old7<>IN7) and ' (old5<>IN5). ENDIF ' ENDIF (IN7<>IN5).

Moving Forward

Simplifying Navigation with Subroutines GOSUB – Used to temporarily branch to another a section of code. Return – Used to return to where it jumped from. See program "OneSubroutine.bs2"

Roaming with Whiskers See "RoamingWithWhiskers.bs2"