Servo’s and Motor’s with Arduino

Slides:



Advertisements
Similar presentations
Servo Background Servos provide control of rotary position Servos are used extensively in the remote control hobby world for: Aircraft (flaps, ailerons,
Advertisements

Controlling Motors OBEY ME!. On-Off Control 1. Switch control.
Basic DC Motor Circuits
Servos The material presented is taken from a variety of sources including:
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
Components of a servomotor are: - a DC electric motor, - gears with an output shaft; - position-sensing mechanism; - control circuitry. Robotics and Automation.
L.
DC Motors DC Motors are widely used in robotics because of their small size and high energy output. Key characteristics of DC motors include: 1. High Speed.
MOTORS.  Need a Motor That is Capable of Moving the Mirrors to a Fairly Precise Angle.
Secret Door Knock Detector
SENIOR DESIGN 10/16.
1 Eric Taseski, Yihe Huang, Ronak Mehta H-Bridges and Stepper Motors 2.
DC Motors, Stepper Motors, H-bridges DC Motors Stepper Motors Motor Control Circuits – Relays – H-bridges.
DC Motor Drives Dr. Ahmad Harb.
Introduction.
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.
TechKnowTone Contents: Servo Features Servo Connections Coding Library Sample Sketch Questions …Applications… Arduino Coding – Servo Motors.
Applied Control Systems Robotics & Robotic Control
Motors Make the world go ‘round By Jackson Greer, Room 305.
Microcontroller Hands-on Workshop #3 Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers November 7, 2009.
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.
Motors & Motor Drivers ECE 450.
STEPPER MOTORS Name: Mr.R.Anandaraj Designation: Associate. Professor Department: Electrical and Electronics Engineering Subject code :EC 6252 Year: II.
Servos The material presented is taken from a variety of sources including:
Microprocessors Tutorial 2: Arduino Robotics. Agenda 1. Robot Anatomy 2. Sensor Review 3. PWM 4. MAKE: Fade 5. Motors 6. H Bridge 7. Robot Control library.
Automatic accident avoiding system PROJECT MEMBERS MUTHUKUMAR.K (05ME33) SAKTHIDHASAN.S (05ME39) SAKTHIVEL.N (05ME40) VINOTH.S (05ME56) PROJECT GUIDE:
Motor Tutorial Kevin M. Lynch Laboratory for Intelligent Mechanical Systems Northwestern University Evanston, IL USA.
PIC18F4431. PIC18F1330 Infrared Encoder/Decoder.
PWM: Pulse Width Modulation © 2014 Project Lead The Way, Inc.Digital Electronics.
INTRODUCTION TO ROBOTICS Part 3: Propulsion System Robotics and Automation Copyright © Texas Education Agency, All rights reserved. 1.
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).
Sitarambhai Naranjibhai Patel Institute Of Technology & R.C.
Limited rotation servo basics David Hall output shaft servo horn red wire = 5V + black wire = Gnd - white wire = control signal standard servo.
INTERNET OF EVERYTHING SDU 2016 Week 9. Physical Output  Make things move by controlling motors with Arduino  Servo-motors  Rotary actuator that allows.
DC motor principles Speed control Direction Stepper motor principles
Introduction to VEX® components
Microcontroller basics Embedded systems for mortals.
Arduino Application: Speed control of small DC Motors
1 Microcontrollers. 2 Programmers work in the virtual world Machinery works in the physical world Microcontrollers connect the virtual and physical world.
Sensors and Actuators Simple Sensors Switches and Pots Other Sensors Simple Actuators LEDs and Buzzers DC Motors MAE 156A.
Generators, Motors, and AC Power
Motors & Motor Controllers
Microcontroller basics
Introduction to Motors, servos and steppers
DC Motors DC Motors are widely used in robotics because of their small size and high energy output. Key characteristics of DC motors include: 1. High Speed.
MOTORS.
simple example program to control a DC-Motor
Breadboards and LED’s with Arduino
More on LED’s with Arduino
ELECTRONIC THROTTLE CONTROL SYSTEM
Group members MUHAMAAD DANISH 2015MC05 USMAN ALI JAT 2015MC14 MUREED SULTAN 2015MC18 AZAN ASHRAF 2015MC19 AYMEN.
Servo Motor.
Servos The material presented is taken from a variety of sources including:
Arduino - Introduction
DC MOTOR SPEED CONTROL 1. Introduction
Electric Motors.
Servos The material presented is taken from a variety of sources including:
Servos The material presented is taken from a variety of sources including:
MC3479P Stepper Motor and Stepper Motor IC
Arduino Application: Speed control of small DC Motors
DC motor.
Sensory perception with Arduino
Secret Door Knock Detector
EET 2261 Unit 12 Controlling Stepper Motors and Servos
Motors and Position Determination
Introduction to Motors
UNIT 11: RC-SERVOMOTOR CONTROL
Presentation transcript:

Servo’s and Motor’s with Arduino A Microcontroller

Notes This material has been put together by the Outreach coordinator of the School of Engineering and Computer Studies (SECS) at Victoria University of Wellington (VUW), New Zealand. It is free to distribute and pass on to all who may find it useful. The author of this presentation and supporting documents can be reached at: john.barrow@vuw.ac.nz

Learning Objectives Students can configure and use a servo Students can configure and use a motor Students can explain the difference between a 180, 360 degree servo Students can explain the difference between a motor and a servo

Exercise 27 - Motors <File>, <Examples> <SIK_Guide_Code_32> <Circuit_12> Open the serial monitor and enter a speed from 0-255, explore the speed settings

Notes on the circuit Arduinos don’t have enough power to run motors (50-100mA) We need to add a 2N222 transistor (not the temp sensor!!) Transistor is a solid state switch, taking a small signal and making it larger We need to add a Diode – to prevent a V spike Emitter(E) pin to GND Base(B) to pin 9 Collector(C) to GND on the motor

Sketch in your journal A rough picture of a DC motor, a servo, a Stepper motor Some notes about them This way you can recognise them in future

Information about DC motors DC (Direct Current) Motors are two wire (power & ground), continuous  rotation motors. The speed of DC motors is controlled using pulse width modulation  (PWM), a technique of rapidly pulsing the power on and off. The percentage of time spent cycling the on/off ratio determines the speed of the motor, e.g. if the power is cycled at 50% (half on, half off), then the motor will spin at half the speed of 100% (fully on). Each pulse is so rapid that the motor appears to be continuously spinning with no stuttering. https://www.quora.com/What-is-the-difference-between-a-DC-motor-a-servomotor-and-a-stepper-motor

Information about Servos Servo motors are generally an assembly of four things: DC motor Gearing set Control circuit Position-sensor (usually a potentiometer). The position of servo motors can be controlled more precisely than those of   standard DC motors, and they usually have three wires (power, ground &). Power to servo motors is constantly applied, with the servo control circuit regulating the draw to drive the motor. PWM is used for the control signal of servo motors. However, unlike DC motors it’s the duration of the positive pulse that determines the position, rather than speed, of the servo shaft. https://www.quora.com/What-is-the-difference-between-a-DC-motor-a-servomotor-and-a-stepper-motor

Inside a servo:

Information on stepper motors Stepper motors utilizes multiple toothed electromagnets arranged around a central gear to define position. Stepper motors require an external control circuit or micro controller (e.g. a Raspberry Pi or Arduino) to individually energize each electromagnet and make the motor shaft turn. https://www.quora.com/What-is-the-difference-between-a-DC-motor-a-servomotor-and-a-stepper-motor

More on stepper motors

Homework https://en.wikipedia.org/wiki/Bipolar_junction_transistor#NPN Read about NPN BJT Transistor, make some notes in your journal Note the EBC configuration NPN – ‘Not Pointing iN’ BJT – Bipolar Junction Transistor Make some notes about a flyback diode: https://learn.digilentinc.com/Documents/390