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.

Slides:



Advertisements
Similar presentations
IR Communication Materials taken from a variety of sources including IR Remote for the Boe-Bot by Andy Lindsay.
Advertisements

1 Chapter 8: Frequency and Sound Presentation based on: "What's a Microcontroller ?" By Andy Lindsay Parallax, Inc Presentation developed by: Martin A.
Servo Background Servos provide control of rotary position Servos are used extensively in the remote control hobby world for: Aircraft (flaps, ailerons,
IR Control Materials taken from a variety of sources including IR Remote for the Boe-Bot by Andy Lindsay.
Servos The material presented is taken from a variety of sources including:
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.
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
Hardware Meets Software CPSC 120 Principles of Computer Science February 15, 2012.
1 Chapter 7: Navigating with Infrared Headlights Presentation based on: "Robotics with the Boe-Bot" By Andy Lindsay Parallax, Inc Presentation developed.
Servos The material presented is taken from a variety of sources including:
1 Chapter 4: Controlling Motion Presentation based on: "What's a Microcontroller ?" By Andy Lindsay Parallax, Inc Presentation developed by: Martin A.
Final Presentation Andres Fausto Stewart Bewley Philip Dawsey Ki Baek Eom.
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.
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.
Basic Stamp Quick Start. Basic Stamp II Self contained computer –“Micro-controller” Specialized for “embedded” computing (sensing and controlling things)
Microcontrollers Module 4: Motion Control. Module Objectives Upon successful completion of this module, students will be able to: Give examples of microcontroller.
Applied Control Systems Robotics & Robotic Control
Dr. Antonio Soares College of Engineering Sciences, Technology, and Agriculture Electronic Engineer Technology June 13 The Integration of Software- and.
1 Chapter 8: Frequency and Sound Presentation based on: "What's a Microcontroller ?" By Andy Lindsay Parallax, Inc Presentation developed by: Martin A.
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:
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.
1 Parallax BASIC Stamp ® Tutorial Developed by: Electronic Systems Technologies College of Applied Sciences and Arts Southern Illinois University Carbondale.
10/10/ Controlling YOUR ROBOT. 10/10/2015 Basic Stamp  Basic Stamp Input - output pins Interpreter Chip Power supply: 5 Volts voltage Memory: EEPROM.
1 Chapter 6: Light Sensitive Navigation With Photoresistors Presentation based on: "Robotics with the Boe-Bot" By Andy Lindsay Parallax, Inc Presentation.
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.
Visual Basic.net Loops. Used to do multiple executions of the same block of code Do while loops Do until loops For next loops.
IR Communication Materials taken from a variety of sources including IR Remote for the Boe-Bot by Andy Lindsay.
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:
IR Communication Materials taken from a variety of sources including IR Remote for the Boe-Bot by Andy Lindsay.
Slide Menlo Drive Suite 100 Rocklin, CA Presentation based on: “What’s a Microcontroller?" by Andy Lindsay Presented by Andy.
ENGR 101: Robotics Lecture 3 – Robot Motion Outline  Robot Motion  FOR Loops  Making Music References 
ENGR 101: Robotics Lecture 4 – Making Decisions Outline  The Stall Sensor  Making Decisions  Random Number Generation References 
July 7, 2003 Slide 1 of 6 Automation, Robotics and Mechatronics Lab, SUNY at Buffalo Introduction To Programming Chetan Jadhav Talib Bhabharawala Seung-Kook.
Slide Menlo Drive Suite 100 Rocklin, CA
Digital Electronics The Boe-Bot and Servo Motors.
PROMGRAMING YOUR ROBOT How Servos Work: How to control your robot.
Digital Electronics Board-of-Education : Output. Board of Education - Output This presentation will explain, both from a hardware and software perspective,
Tutorial 6: The Repetition Structure1 Tutorial 6 The Repetition Structure.
1 BOE-BOT Lecture #2 DE - Digital Electronics Servos and the BOE-BOT.
Servo Motor Control Using Arduino Instructor: Dr Matthew Khin Yi Kyaw.
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
Introduction to Servos
Servo Motor.
Using servos.
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.
Servos The material presented is taken from a variety of sources including:
Servos The material presented is taken from a variety of sources including:
Servos The material presented is taken from a variety of sources including:
PROMGRAMING YOUR ROBOT
Chapter 5: Tactile Navigation With Whiskers
Controlling YOUR ROBOT
Chapter 8: Frequency and Sound
Algorithms Take a look at the worksheet. What do we already know, and what will we have to learn in this term?
Karl Jean-Francois-James Madison H.S. & Eldiquen Mangubat-IS 232
UNIT 11: RC-SERVOMOTOR CONTROL
Chapter 5: Measuring Rotation
Servo Motor.
Presentation transcript:

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 A. Hebel Southern Illinois University Carbondale College of Applied Sciences and Arts Electronic Systems Technologies 7/6/04

2 Continuous Rotation Servo Used to provide drive motion for the Bot. Standard Servo: Used for positioning, such as with RC airplanes rudder and flaps. Continuous Rotation Servo: Rotate in a certain direction and speed.

3 Tracking Time PAUSE is used to have the BASIC Stamp wait a short amount of time. PAUSE duration Duration is in milliseconds (mS) or 1/1000 th of a second, PAUSE 1000

4

5 Repeating Actions A DO….LOOP is used to repeat a sequence of commands. DO 'Commands to perform LOOP

6 Servo Signals Servos are controlled with a high pulse lasting a short time, and repeated. The PULSOUT instruction can be used to send a short pulse. PULSOUT Pin, Duration Pin: Pin device is connected to. Duration: Time in 2  S (microsecond) intervals, Microsecond = 1 millionth of a second. PULSOUT 12, 1 PULSOUT 13, 2

7

8 Servo Signals Typical servos require a pulse of 1mS to 2mS to define the direction/position. A 20mS pause be between each pulse. Reducing this pause tends to drain battery faster, but doesn’t speed up the bot If you forget it, you’ll notice the bot completing it’s movement command early! What values of PULSOUT are in the valid range?

9 Make sure you plug it in right (if you unplug)

10 Centering the Servos The pulse width defines the direction and speed of the servo motor – Maximum speed one direction 750 – Stopped 500 – Maximum speed other direction Use the servo center programs to ensure it is stopped at 750.

11

12 Storing and Counting Values Variable are used to store values Variables much be declared prior to being used. Declaring a variable is giving it a name, and a size to hold. VariableName var Size

13 DEBUG ? is short hand to display the value of a variable or pin.

14 Counting and Controlling Repetitions FOR…NEXT loops can be used to control the number of repetitions a segment of code takes. FOR StartValue TO EndValue {STEP StepValue} … NEXT

15 What will this code do? FreqVARWord DO FOR Freq = 1000 to 5000 Step 100 DEBUG ? Freq FREQOUT 4, 100, Freq TOGGLE 12 TOGGLE 13 NEXT LOOP

16 Testing Servos To control the servo, send a series of pulses with values between 500 to 1000 (1-2mS) Changing the value will change the direction and speed to some extent.

17 FOR…NEXT to Control Servo Run Time The FOR…NEXT Loop can be used to control how long to drive a servo.

18

19 LAB 1 Overview Spend some time calibrating your servos. Find the pulsout width that freezes the motors (around 750) Determine how to move the robot slowly Clamp a pen on your bot, take it to the newsprint, and have it start drawing! Robot Art Contest?

20 Review

21