Controlling the Outside World

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.
Using the Board of Education Breadboard and Your Multimeter ENGR 120 Work in teams of two!
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.
Hardware Meets Software CPSC 120 Principles of Computer Science February 15, 2012.
Servos The material presented is taken from a variety of sources including:
EET 2261 Unit 13 Controlling Stepper Motors and Servos  Read Almy, Chapter 21.  Lab #13 due next week.  Final Exam next week.
1 Chapter 4: Controlling Motion Presentation based on: "What's a Microcontroller ?" By Andy Lindsay Parallax, Inc Presentation developed by: Martin A.
Embedded Programming and Robotics
Slide Menlo Drive Suite 100 Rocklin, CA Presentation based on: “What’s a Microcontroller?" by Andy Lindsay Presented by Andy.
Microcontrollers Module 4: Motion Control. Module Objectives Upon successful completion of this module, students will be able to: Give examples of microcontroller.
1 Applied Control Systems Technology. 2 Pin configuration Applied Control Systems.
Slide Menlo Drive Suite 100 Rocklin, CA Presentation based on: “What’s a Microcontroller?" by Andy Lindsay Presented by Jessica.
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.
Programming Concepts (Part B) ENGR 10 Introduction to Engineering 1 Hsu/Youssefi.
MICRO CONTROLLER MODULE 1. Learning Objectives Name some gadgets that use microcontrollers. Define a microcontroller. Differentiate between a computer.
Working with Arduino: Lesson #4: Servos EGN1007. Learning Goals Learning Goals: The student will be able to: 1.Build a complete circuit using the Arduino.
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.
Software and documentation Download and install: “Setup-Stamp-Editor-Lrg-v2.2.6.exe”  Downloads  BASIC Stamp software BASIC Stamp Syntax.
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. 
7.2 V battery pack and charger Put the battery in the charger station at the end of the lab. period. Red light indicates charging. Ken Youssefi Introduction.
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.
Using Hobby Servos with the Arduino living with the lab © 2012 David Hall.
DC Motor Control The material presented is taken from a variety of sources including: ponents/inductor001.html#howworks,
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.
ME456: Mechatronics Systems Design Lecture 3 Chapter 2: Lights On –Lights Off Prof. Clark J. Radcliffe Mechanical Engineering Michigan State University.
Switches in Series A heating system is a practical circuit used in homes which has two switches in series. The thermostat switch opens (OFF) when the temperature.
Servos The material presented is taken from a variety of sources including:
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.
ENGR 101: Robotics Lecture 3 – Robot Motion Outline  Robot Motion  FOR Loops  Making Music References 
Lynxmotion Robotic Arm
Slide Menlo Drive Suite 100 Rocklin, CA
Digital Electronics The Boe-Bot and Servo Motors.
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. 
PROMGRAMING YOUR ROBOT How Servos Work: How to control your robot.
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. 
1 BOE-BOT Lecture #2 DE - Digital Electronics Servos and the BOE-BOT.
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. 
Servo Motor Control Using Arduino Instructor: Dr Matthew Khin Yi Kyaw.
Istituto Tecnico Industriale A.Monaco EURLAB Control a Servo Motor If you want to swing an robot arm or … steer a robot you need a special motor (Servo).
Lynxmotion Robotic Arm © 2013 Project Lead The Way, Inc.Computer Integrated Manufacturing
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.
Controlling an LED with a switch. 2 breadboard place where you can build electric circuits really quickly the magical breadboard.
Slide Menlo Drive Suite 100 Rocklin, CA
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Arduino Uno – controlling LED strips
Introduction to Servos
Using servos.
Servo Positioning Pulse Width Direction of Rotation PULSOUT Period
Diagram of the Board of Education
Servos The material presented is taken from a variety of sources including:
installing electrical system
Introduction to Handshaking Communication with SSC-32
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
Autonomous Refrigerator
Controlling YOUR ROBOT
EET 2261 Unit 12 Controlling Stepper Motors and Servos
Karl Jean-Francois-James Madison H.S. & Eldiquen Mangubat-IS 232
Fevzi Ozaydin & Violet Mwaffo
Coding Edbot Dream with Scratch
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Interface ckt for demo Outputs Inputs V PIN 0 10K PIN 4 GND GND
Presentation transcript:

Controlling the Outside World Servo Motor

Servo motor A feedback controlled motor The Parallax standard servo motor has built in feedback Range of motion is limited Parallax also supplies continuous servo motors for robotic applications but… This is not a continuous servo! That is, it will not go 360º It will hit “stops” at either direction around

The servo motor

Wiring the servo motor You can wire up the servo on the proto board as shown in the schematic… …but, there’s an easier way

Wiring the servo motor

Wiring the servo motor The X4 and X5 connectors are designed to control the servo motors But, the power source must be set via the jumper connector

Power Check your power source! If using a DC power blocks, it may be 9V or it may be 6V Set the Vdd/Vin jumper as specified Vdd if using a 9V source (or 9V battery) Vin if using a 6V source Power switch must be in position 2 to send power to the X4/X5 (servo) connectors

How it works To light up an LED we send a continuous, level signal (DC voltage) 5v HIGH pin voltage 0v time

Controlling the servo To move the servo horn we send a pulse train 1.5ms 1.5ms 5v voltage 0v 20ms Time (in milli-seconds)

Controlling the servo The pulse width will control the location of the servo The time between pulses should be 20 milli-seconds

From PBASIC PULSOUT command PULSOUT pin, duration pin is the pin number to which your servo is wired (12, 13, 14, or 15 if you are using the servo ports on the RevC board) duration is the pulse width

PULSOUT command details The duration parameter is in units of 2μS (2 micro-seconds) The servo prefers values in units of milli-seconds The time between pulses is under software control (PAUSE command – units of milli-seconds)

Activity – in class Test the servo Test all 4 servo ports Find the values of the duration parameter (in the PULSOUT command) that cause the servo to hit the stops in both the clockwise and counter-clockwise directions

Homework Design a system that continually moves the servo from one stop to the other That is, it goes from full counter-clockwise to full clockwise and back again, continuously Add two buttons to the board (B1 and B2) B1 is the emergency stop (EStop) When it is pressed all servo motion stops B2 is the reset button When it is pressed the servo motion begins again Add two LEDs The red LED lights when the servo is all the way clockwise The green LED lights when the servo is all the way counterclockwise Both LEDs are off (not lit) when the servo is somewhere between clockwise and counterclockwise The servo should not “slam” into the stops

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)