Servo Motor Control Using Arduino Instructor: Dr Matthew Khin Yi Kyaw.

Slides:



Advertisements
Similar presentations
EMS1EP Lecture 8 Pulse Width Modulation (PWM)
Advertisements

Servo Background Servos provide control of rotary position Servos are used extensively in the remote control hobby world for: Aircraft (flaps, ailerons,
EML 6805 Robot Design Robotics Laboratory Florida International University Department of Mechanical Engineering SV203 Servo Motor Controller Board Basics.
Done by : Mohammad Al-awad Fathe Hindi Supervisors : Dr. Raed Al-qadi Dr. Luai Malhis Graduation Project 2014.
Servos The material presented is taken from a variety of sources including:
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.
EML 2023 – Motor Control Lecture 4 – DAQ and Motor Controller.
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.
Tony Yi 5/2/2015 CENG4480 TUTORIAL 3. ABOUT ME I am “the other” tutor of CENG4480 You can find me at Rm116 in SHB
L.
Living with the Lab Using servos with an Arduino EAS 199A Fall 2011.
SERVO MOTORS Tech Topic By Ryan Bidlack. Background A servo motor is composed of a DC, AC, or an AC induction motor and a feedback control. A servo motor.
Secret Door Knock Detector
Servo Control Using Analog Signal Obtain “analog” input using analogRead().
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
1 Motors & Motor Controllers ECE AC or DC Motors AC –Few robots use AC except in factories –Most of those that use AC first convert to DC DC –Dominates.
Servo Motors # A servo is a motor that you can position at any angle very accurately. # Servos have a limited servo range; most servos have a range of.
1 Servo Motor. 2 Overview A servo motor is a motor that is only capable of rotating 180 degrees A servo motor is controlled by giving it an angle to proceed.
L.C. Technology Servo Motor Control / Genie Software
TechKnowTone Contents: Servo Features Servo Connections Coding Library Sample Sketch Questions …Applications… Arduino Coding – Servo Motors.
Applied Control Systems Robotics & Robotic Control
Collaborative mobile robots Rory McGrath Progress Report.
Controlling the Outside World
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.
Electrical Actuation System Lecture 9 (Chapter 9).
Xtreme Robot Olympiad Programming Basics Dr. Peter Laz Associate Professor Department of Engineering University of Denver.
Servos The material presented is taken from a variety of sources including:
Oregon Robotics Tournament and Outreach Program RCX Basics.
PIC18F4431. PIC18F1330 Infrared Encoder/Decoder.
PWM: Pulse Width Modulation © 2014 Project Lead The Way, Inc.Digital Electronics.
SAMI MAKERSPACE MAKE: AN ELECTRONICS WORKSHOP. SERVOS Precise rotations.
Throttle Arduino RC Receiver Stock Golf Cart Motor Controller Motor 1 PWM signal: Voltage: 0 – 5V Period = 22ms Positive Pulse Width: 1ms – 2ms Digital.
Arduino DC Motor Motion Control Instructor: Dr Matthew Khin Yi Kyaw.
Istituto Tecnico Industriale A.Monaco EURLAB Moving a robot simple example program to control a DC-Motor Next - Press the button (left)
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.
Arduino “Getting Started” Instructor : Dr Matthew Miss Khin Yi Kyaw
Pulse-Width Modulation: Simulating variable DC output
Students Name: ………………………………………………………………….. Programming Control Systems using Minibloq Sayande Adekoye College of North West London.
Infrared Proximity Sensors & Liquid Crystal Display Instructor Dr Matthew Khin Yi Kyaw.
Microcontroller basics Embedded systems for mortals.
Pulse Width Modulation Instructor Dr Matthew Khi Yi Kyaw.
ARDUINO UNO The Arduino uno is a microcontroller board based on the ATmega328. It has 14 digital Input / Output pins (of which 6 can be used as PWM outputs),
Generators, Motors, and AC Power
Motors & Motor Controllers
Introduction to Motors, servos and steppers
Controlling Servos with the Arduino
simple example program to control a DC-Motor
CU ATLAS Practical electronics Motion and Servos
Microcontroller basics
If you want to swing an robot arm or …
Introduction to Servos
Using servos.
Program the robotic arm
Servos The material presented is taken from a variety of sources including:
Arduino - Introduction
Servos The material presented is taken from a variety of sources including:
Pulse Width Modulation (PWM) Motor Feedback - Shaft Encoder
Servos The material presented is taken from a variety of sources including:
Secret Door Knock Detector
EET 2261 Unit 12 Controlling Stepper Motors and Servos
Bluetooth operated Arduino Controlled Car
Arduino : Introduction & Programming
Hitec HS 303: Robotic Servo Motor
UNIT 11: RC-SERVOMOTOR CONTROL
Robotics System Lecture 11_12: DC Motor
Oregon Robotics Tournament and Outreach Program
Servo Motor.
Presentation transcript:

Servo Motor Control Using Arduino Instructor: Dr Matthew Khin Yi Kyaw

RC servo motors will use for obtain accurate positions such as “shaft moving to 90 degrees or 25 degrees and stop” Two types of Servo Motor -Position controlled servos -Continuous rotation servos Why Servo Motor Choose?

RC servo motors contain DC motor, gearbox, feedback device (potentiometer), servo control unit and drive circuit.

RC servos can command by giving PWM pulses to control wire. This PWM pulse should have repetitive 20 ms period (50 Hz) pulse with duty cycle variation of 1 ms to 2 ms (some requires range of 0.5 ms to 2.5 ms). The minimum pulse (1 ms duty cycle) will give the minimum servo position (0 degrees – this can be change to 180 degrees by altering coding) and neutral average pulse (1.5 ms) will give the neutral servo position (90 degrees) and finally maximum pulse (2 ms) gives maximum servo position 180 degrees). So when pulse receives to the control unit it changes the appropriate servo position according to the pulse and servo position will remain same until it receives another command from control unit.

Wire connection Servo motors have three wires: power, ground, and signal. The power wire is typically red, and should be connected to the 5V pin on the Arduino board. The ground wire is typically black or brown and should be connected to a ground pin on the Arduino board. The signal pin is typically yellow, orange or white and should be connected to a digital pin on the Arduino board.

Sero-library-Arduino attach() write() writeMicroseconds()

Circuit Diagram for Arduino with servo

After constructing hardware, compile the code1 from handout then compile code 2

Assignment Write a program to rotate one direction and hold its position in 2s and rotate back previous direction.

module \Arduino Programming Notebook" by - by Brian W. Evans. 6. Beginning Android ADK with Arduino by Mario Bohmer schematic.pdf Computational Principles of Mobile Robotics by from Dudek and Jenkin. Reference