Servo Positioning Pulse Width Direction of Rotation PULSOUT Period

Slides:



Advertisements
Similar presentations
Servos The material presented is taken from a variety of sources including:
Advertisements

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.
Digital Electronics Boe-Bot Navigation. This presentation will Detail how to program the Boe-Bot move a specific distance. Detail how to program the Boe-Bot.
Parallax, Inc. Presentation based on: “Robotics: with the Boe-Bot"
1 Boe-Bot Parts BOE-BOT Lecture #1b DE - Digital Electronics.
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
Servos The material presented is taken from a variety of sources including:
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.
Slide Menlo Drive Suite 100 Rocklin, CA Presentation based on: “What’s a Microcontroller?" by Andy Lindsay Presented by Andy.
Recoded. Significance of programming Digitalised era- phones, computers, industrial processes… Raspberry programming device Exploration of the concept.
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.
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.
Slide Menlo Drive Suite 100 Rocklin, CA Presentation based on: “What’s a Microcontroller?" by Andy Lindsay Presented by Jessica.
Programming Concepts (Part B) ENGR 10 Introduction to Engineering 1 Hsu/Youssefi.
Robotics Engineering Basic Maneuvers. Getting the Boe-Bot to Move One of the first tasks we need to do is to get our bots moving.One of the first tasks.
Controlling the Outside World
Programming the CheapBot-14. Start the Editor Set the Mode.
10/10/ Controlling YOUR ROBOT. 10/10/2015 Basic Stamp  Basic Stamp Input - output pins Interpreter Chip Power supply: 5 Volts voltage Memory: EEPROM.
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.
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. 
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.
IR Communication October 27, Sources  Lindsay, Andy. IR Remote for the Boe- Bot. v
Servos The material presented is taken from a variety of sources including:
Slide Menlo Drive Suite 100 Rocklin, CA Presentation based on: “What’s a Microcontroller?" by Andy Lindsay Presented by Andy.
Control Material taken from RobotSubsumption.pdf and SumoBot : Mini-Sumo Robotics.
Slide Menlo Drive Suite 100 Rocklin, CA
Digital Electronics The Boe-Bot and Servo Motors.
PHY 235 Robotics Workshop Day 2 ZX-24a Microcontroller, Servo Review, and I/O.
PROMGRAMING YOUR ROBOT How Servos Work: How to control your robot.
Mechanical Components and Programming Ken Youssefi Introduction to Engineering – E10 1.
Limited rotation servo basics David Hall output shaft servo horn red wire = 5V + black wire = Gnd - white wire = control signal standard servo.
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.
Slide Menlo Drive Suite 100 Rocklin, CA
What is Arduino? It's an open source electronics prototyping platform: Open source: resources that can be used, redistributed or rewritten free of charge,
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Introduction to Servos
Using servos.
Selection Learning Objective: to be able to design algorithms that use selection.
IR Communication Materials taken from a variety of sources including IR Remote for the Boe-Bot by Andy Lindsay.
Servo Library and Functions
Materials taken from IR Remote for the Boe-Bot by Andy Lindsay
Servos The material presented is taken from a variety of sources including:
Some Material taken from RobotSubsumption.pdf
Servos The material presented is taken from a variety of sources including:
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Programming Boe-Bots (Part 1)
Servos The material presented is taken from a variety of sources including:
PROMGRAMING YOUR ROBOT
A Tiny Look at the Graphics Window
Pico Pico LAB#1 Starting & Stopping Motors.
Servo Library and Functions
Chapter 5: Tactile Navigation With Whiskers
Microsoft® Small Basic
Controlling YOUR ROBOT
Lesson 4 Accelerometer.
An Introduction to VEX IQ Programming with Modkit
Selection Learning Objective: to be able to design algorithms that use selection.
Some Material taken from RobotSubsumption.pdf
Storing Values as Variables
Materials taken from IR Remote for the Boe-Bot by Andy Lindsay
Karl Jean-Francois-James Madison H.S. & Eldiquen Mangubat-IS 232
Materials taken from IR Remote for the Boe-Bot by Andy Lindsay
Fevzi Ozaydin & Violet Mwaffo
A Tiny Look at the Graphics Window
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Presentation transcript:

Servo Positioning Pulse Width Direction of Rotation PULSOUT Period Determined by the width of the pulse Distance Each pulse causes the servo to rotate a small amount Speed Maximum at 1.3 and 1.7 ms. Decreases as approaches 1.5 ms Pulse Width Direction of Rotation PULSOUT Period 1.3 ms Clockwise 650 1.5 ms Stopped 750 1.7 ms Counter-clockwise 850 km – p. 73 new text

Basic Boe-Bot Maneuvers Page 111

Controlling Distance Run "BoeBotForwardThreeSeconds.bs2" Follow the instructions on p. 118 to make the Boe-Bot go half as far forward Add code to make the Boe-Bot go backward, left, and right, as shown on pages 119-120 FOR counter = 1 TO 122 PULSOUT 13, 850 PULSOUT 12, 650 PAUSE 20 NEXT put new code here

Example Program: ForwardLeftRightBackward.bs2 Page 127 – 128 Forward Rotate Right Rotate Left Backward

Example Program: Movement with Subroutines Page 143

Building Complex Maneuvers in EEPROM Page 147

EEPROM Navigation Page 149 Page 152 Page 150

Projects 1 m 1 m 1 m 1 m Page 159

Tactile Navigation with Whiskers Page 166 Page 167 Page 167

Building the Whiskers Page 168 Page 169 Page 172

Testing the Whiskers Run "TestWhiskers.bs2" p.173 Press on each whisker and examine the Debug Terminal output. Each whisker should display 1 when not pressed, 0 when pressed. Position the whisker wires to make good contact with the headers DEBUG "WHISKER STATES", CR, "Left Right", CR, "------ ------" DO DEBUG CRSRXY, 0, 3, "P5 = ", BIN1 IN5, " P7 = ", BIN1 IN7 PAUSE 50 LOOP p. 159 replace code listing

Field Testing the Whiskers – Add LEDs Page 174 Page 175 Page 177

Navigation With Whiskers Run "Roaming with Whiskers.bs2" Compare with pushbuttons exercise from the previous day DO IF (IN5 = 0) AND (IN7 = 0) THEN ' Both whiskers detect obstacle GOSUB Back_Up ' Back up & U-turn (left twice) GOSUB Turn_Left ELSEIF (IN5 = 0) THEN ' Left whisker contacts GOSUB Back_Up ' Back up & turn right GOSUB Turn_Right ELSEIF (IN7 = 0) THEN ' Right whisker contacts GOSUB Back_Up ' Back up & turn left ELSE ' Both whiskers 1, no contacts GOSUB Forward_Pulse ' Apply a forward pulse ENDIF ' and check again LOOP

Light Sensitive Navigation with Photoresistors Page 193 Page 195

Navigating with Infrared Headlights Page 236 236, 237, 237, Page 237 Page 237