DC Motor and Servo motor Control with ARM and Arduino. Created by:

Size: px
Start display at page:

Download "DC Motor and Servo motor Control with ARM and Arduino. Created by:"

Transcription

1 DC Motor and Servo motor Control with ARM and Arduino Created by: Andrew Kaler (39345) Tucker Boyd (46434) Mohammed Chowdhury (860822) Tazwar Muttaqi (901700) Mark Murdock (98071) May 4th, 2017

2 Objective (written by Tucker Boyd) The goal of this semester project was to create a system that uses embedded processors and pulse width modulation (PWM) to control a DC and servo motor. To create this project the following materials were needed: ARM Cortex-M4 Microprocessor Arduino Uno Microprocessor Micro Servo Motor 12V DC Motor Switch Breadboard L298N H-bridge 9V battery Potentiometer Oscilloscope To control either motor, an analog signal will be generated when the shaft of the potentiometer is rotated. That analog signal will determine the duty cycle of a PWM wave generated by either the ARM or the Arduino. If the switch is in position 0, then the PWM of the ARM processor will control the speed of the DC motor. If the switch is in position 1, then the PWM of the Arduino will control the position of the servo motor. In either of these cases, rotating the shaft of the potentiometer will control whichever motor is enabled by the switch. The oscilloscope will be used to verify the PWM signal going to either motors.

3 Procedure (written by Andrew Kaler) The main steps of this project included both designing the circuit and the code for the processors. To simply focus on either the circuit design or coding was extremely impractical as the designs for both were interdependent on each other. Consequently, there was much collaboration between those responsible for coding and those responsible for circuit design. The results of this collaboration resulted in the following circuit design (Figures 1 and 2) and code for the ARM and Arduino (Figure 3): Figure 1: The physical circuit, including all of the components outlined in the Objectives section (the oscilloscope probes are currently connected in the circuit)

4 Figure 2: A diagram showing the connections of the physical circuit (Provided by Tazwar)

5 Figure 3: Code for both the Arduino and ARM mbed. Figure 1 represents the physical circuit actually created, and Figure 2 shows a symbolic depiction of our circuit mainly displaying the connections between the different components. The logic behind the connections of the processors are only apparent when examining Figure 3. As seen in Figure 3, the code compiled on the ARM mbed gave a certain set of inputs and outputs: a PWM output on pin 26 labeled dc, an output on LED1 on the mbed ARM labeled led1, an output on LED2 on the mbed ARM labeled led2, a digital output on pin 28 labeled ins, an analog input on pin 19 labeled pot, and a digital input on pin 20 labeled sw. The code compiled on the Arduino also creates certain inputs and outputs: pin 8 is a designated digital input, A0 is an analogue input, and pin 9 is a designated PWM output wave. When analyzing Figures 1, 2, and 3, the correlation between the circuit and software design becomes evident.

6 Results (written by Andrew Kaler) In order to control the DC motor, pin 20 on the mbed ARM should not receive a logic high (correlating to position 0 on the switch). If this is the case, then manipulation of the potentiometer controls the DC motor and the brightness of LED1 on the ARM mbed platform (LED2 of the ARM mbed will be off). The potentiometer is connected in our circuit with three terminals: one connected to the 5V output on the H-bridge (pin 6, explained later), one connected to ground, and one connected to pin 19 on the mbed ARM (these are done through common nodes on the breadboard, not direct connections). The potentiometer connection between pin 19 and pin 6 of the H-bridge establishes a voltage divider circuit. By rotating the potentiometer, the resistance of the potentiometer changes and consequently changes the amount of voltage pin 19 receives of the mbed ARM. This value of voltage read into pin 19 will translate to a relative duty cycle of a PWM wave generated from pin 26. For example, twisting the potentiometer fully one way will give a 100% duty cycle, and twisting it fully the other way will give a 0% duty cycle. These two extremes are depicted in Figures 4 and 5 respectively, and Figure 6 shows a PWM with approximately a 50% duty cycle. Figure 4: PWM wave generated by ARM as shown on the oscilloscope. The PWM wave is set to approximately 100% duty cycle.

7 Figure 5: PWM wave generated by ARM as shown on the oscilloscope. The PWM wave is approximately set to a 0% duty cycle. Figure 6: PWM wave generated by ARM as shown on the oscilloscope. The PWM wave is approximately set to a 50% duty cycle.

8 This PWM wave is then input to the H-bridge before it reaches the DC motor. There are 7 pins that are used on the H-bridge. Figure 7 outlines the pins on the L298N H-bridge used (note the picture in Figure 7 is a red color, but it is the same chip as the blue version in our circuit in Figure 1): Figure 7: Pins of the L298N H-bridge used for control of the DC motor. Pin 9 of the H-bridge is for the input of the PWM wave from the mbed ARM. Pins 8 and 5 are attached to ground, pin 4 is the 9V input voltage from the Batteries, pin 6 is a 5V output voltage regulator (if pin 4 has between 7V-12V, this feature is available), and pins 1 and 2 connect to the positive and negative terminals of the DC motor respectively. This integrated circuit takes the PWM wave and enables the supply voltage to reach the terminals of the DC motor when the PWM wave is a logic high. For example, when the duty cycle of the PWM is 100% then 9V will supply the motor, and when the duty cycle is 0%, then 0V will supply the motor. Basically, whatever percentage of duty cycle the PWM wave is, this will be the percentage of 9V that is supplied to the motor. For control of the servo motor, the switch must be in position 1. The switch in position 1 gives a logic high to pin 20 on the ARM, and this indicates that the potentiometer will no longer control the PWM wave generated from the ARM. A logic high on pin 20 of the ARM also creates a logic high from pin 28 of the ARM, and this signals the Arduino to take control of the servo motor. In this case, the potentiometer will control the position of

9 the servo motor, LED1 of the ARM mbed will be off, and LED2 of the ARM mbed will be on. The potentiometer will be connected to the 5V supply from the H-Bridge, ground, and pin A0 on the Arduino (again not direct connections, but through a common node on the breadboard). Similar to its application with the ARM, the potentiometer creates a voltage divider between the 5V supply voltage from the H-bridge and pin A0 of the Arduino. This analogue input signal is then read by the Arduino and translated into an output signal (PWM wave) from pin 9 to control the position of the servo motor. The servo motor is connected by three wires: one is from the designated 5V output of the Arduino, one is to ground (connected from the Arduino board, but the ground is common to the whole circuit), and one is the PWM wave from pin 9 of the Arduino. Rotating the potentiometer will give different duty cycles of the PWM wave as shown in Figures 8 and 9. Note that in this case the PWM wave generated will be incapable of a 100% duty cycle as about a 25% duty cycle was enough to fully rotate the servo motor to 180 degrees. Figure 8: PWM wave generated by Arduino as shown on the oscilloscope. The PWM wave is approximately set to a 0% duty cycle.

10 Figure 8: PWM wave generated by Arduino as shown on the oscilloscope. The PWM wave is approximately set to a 25% duty cycle. Conclusion (written by Mark Murdock) This project required the interfacing of many different devices and the collaboration of group members working on different parts of the project. Originally we were pursuing a system design using the PIC32 processor. But as we continued to have difficulties getting a PWM wave or any output from the PIC32 s pins, we decided to switch to the ARM Cortex-M4 Microprocessor. We learned during this phase of work on the project just how difficult it is to create truly independent modules as we struggled to obtain a working signal to test the hardware side of the project. Switching to the ARM processor significantly simplified the coding process while still providing good results. We also learned how to pass the output of one microprocessor to another microprocessor when we later added the Arduino into our design. By using the ARM and Arduino microprocessors in the design we also learned how to program some in both platforms. By having started out using the PIC32 we also learned concepts of programming a microprocessor using a non-object oriented language (PIC32 uses C). We also learned how to connect and code a potentiometer to give an analog signal that controlled the duty cycle of the PWM wave produced by the microprocessors. We also saw that the duty cycle of the wave (percent of each period that the voltage signal is high) determines the average voltage supplied by the wave. We also learned how to connect an H-bridge to isolate the higher voltage motor device from the part of the circuit containing the lower voltage microprocessors, as well as to supply a 5V voltage

11 Discussion (written by Mark Murdock and Mohammed) This project had many different design aspects to it. Most of the designs were very simple and others became difficult, needing a lot of trial and errors to get the system to work. The major problem that the group encountered was attempting to perform this project with the PIC32 microprocessor. The problem with this platform was the low level coding language (C) and the group was not getting the proper PWM output to show on the oscilloscope in the initial output tests. With these problems being very difficult to problem solve the group decided to switch the platform to the Arm processor. The Arm processor had an easier coding language (C++) to work with and the group got an actual PWM waveform from the output of the processor. Our initial approach for the second circuit was to use the ARM mbed for controlling both motors, but this proved to be too much of a strain on the processor. The Arm processor would send the proper signal to the servo motor but this would cause the processor to overheat and shut down. In order to combat this problem, the group attached the servo motor to the Arduino Uno processor to lessen the strain on the Arm processor. This project was a success for what the group was aiming for, but when examining the circuit design and code there can be some improvements and additions to the physical design. Future Work (written by Mohammed) In future work, the speed (RPM) of the dc motor can be measured by Hall effect sensor. In this project, it was tried to build also the feedback system of for the dc motor speed. the plan was to build a feedback system, where the change of speed of dc motor with the change of potentiometer will be shown by the led intensity change from the feedback of hall sensor. Due to faulty sensor, it didn t work. Here a PC fan is used as hall effect sensor is built in there. Arduino mega is used as the microcontroller and led is used to visualize the speed. The plan was the intensity of the led will change with the speed from getting the feedback from hall effect sensor. Below is the image of the fan used here. The yellow line in there gives the analog signal from hall effect sensor. Figure 9: PC fan with integrated hall sensor

12 A Hall effect sensor is a transducer that varies its output voltage in response to a magnetic field. So, when motor runs the magnetic field change in every turn because of internal magnet of the motor. Hall effect sensor sense the change and generate analog signal. The hall effect sensor input is connected to the analog input port of the Arduino and led is connected with digital output pin and ground. The fan is powered from external power supply. The setup Arduino code, and the Simulink block for the system is given below. Figure 10: Feedback setup of dc motor speed. Figure 11: Simulink diagram for microprocessor.

13 Figure 12: Arduino code for feedback system

Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators

Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators Ahmed Okasha, Assistant Lecturer okasha1st@gmail.com Objective Have a

More information

Module: Arduino as Signal Generator

Module: Arduino as Signal Generator Name/NetID: Teammate/NetID: Module: Laboratory Outline In our continuing quest to access the development and debugging capabilities of the equipment on your bench at home Arduino/RedBoard as signal generator.

More information

Direct Current Waveforms

Direct Current Waveforms Cornerstone Electronics Technology and Robotics I Week 20 DC and AC Administration: o Prayer o Turn in quiz Direct Current (dc): o Direct current moves in only one direction in a circuit. o Though dc must

More information

Sensors and Sensing Motors, Encoders and Motor Control

Sensors and Sensing Motors, Encoders and Motor Control Sensors and Sensing Motors, Encoders and Motor Control Todor Stoyanov Mobile Robotics and Olfaction Lab Center for Applied Autonomous Sensor Systems Örebro University, Sweden todor.stoyanov@oru.se 13.11.2014

More information

Multipurpose Iron Man Glove & Moveable Platform

Multipurpose Iron Man Glove & Moveable Platform Trinity University Digital Commons @ Trinity Mechatronics Final Projects Engineering Science Department 5-2018 Multipurpose Iron Man Glove & Moveable Platform Destinee Davis Trinity University, ddavis2@trinity.edu

More information

DC motor control using arduino

DC motor control using arduino DC motor control using arduino 1) Introduction: First we need to differentiate between DC motor and DC generator and where we can use it in this experiment. What is the main different between the DC-motor,

More information

Lab 4 Rev. 1 Open Lab Due COB Friday April 6, 2018

Lab 4 Rev. 1 Open Lab Due COB Friday April 6, 2018 EE314 Systems Spring Semester 2018 College of Engineering Prof. C.R. Tolle South Dakota School of Mines & Technology Lab 4 Rev. 1 Open Lab Due COB Friday April 6, 2018 In this lab we will setup Matlab

More information

Arduino STEAM Academy Arduino STEM Academy Art without Engineering is dreaming. Engineering without Art is calculating. - Steven K.

Arduino STEAM Academy Arduino STEM Academy Art without Engineering is dreaming. Engineering without Art is calculating. - Steven K. Arduino STEAM Academy Arduino STEM Academy Art without Engineering is dreaming. Engineering without Art is calculating. - Steven K. Roberts Page 1 See Appendix A, for Licensing Attribution information

More information

LEDs and Sensors Part 2: Analog to Digital

LEDs and Sensors Part 2: Analog to Digital LEDs and Sensors Part 2: Analog to Digital In the last lesson, we used switches to create input for the Arduino, and, via the microcontroller, the inputs controlled our LEDs when playing Simon. In this

More information

System Board 6219 MAXREFDES89#: MAX14871 Full-Bridge DC Motor Driver MBED Shield

System Board 6219 MAXREFDES89#: MAX14871 Full-Bridge DC Motor Driver MBED Shield System Board 6219 MAXREFDES89#: MAX14871 Full-Bridge DC Motor Driver MBED Shield Introduction Brushed DC motors provide cost-effective, convenient motion in many applications ranging from electric toothbrushes

More information

Sensors and Sensing Motors, Encoders and Motor Control

Sensors and Sensing Motors, Encoders and Motor Control Sensors and Sensing Motors, Encoders and Motor Control Todor Stoyanov Mobile Robotics and Olfaction Lab Center for Applied Autonomous Sensor Systems Örebro University, Sweden todor.stoyanov@oru.se 05.11.2015

More information

ARDUINO BASED DC MOTOR SPEED CONTROL

ARDUINO BASED DC MOTOR SPEED CONTROL ARDUINO BASED DC MOTOR SPEED CONTROL Student of Electrical Engineering Department 1.Hirdesh Kr. Saini 2.Shahid Firoz 3.Ashutosh Pandey Abstract The Uno is a microcontroller board based on the ATmega328P.

More information

University of North Carolina-Charlotte Department of Electrical and Computer Engineering ECGR 3157 Electrical Engineering Design II Fall 2013

University of North Carolina-Charlotte Department of Electrical and Computer Engineering ECGR 3157 Electrical Engineering Design II Fall 2013 Exercise 1: PWM Modulator University of North Carolina-Charlotte Department of Electrical and Computer Engineering ECGR 3157 Electrical Engineering Design II Fall 2013 Lab 3: Power-System Components and

More information

ILR #1: Sensors and Motor Control Lab. Zihao (Theo) Zhang- Team A October 14, 2016 Teammates: Amit Agarwal, Harry Golash, Yihao Qian, Menghan Zhang

ILR #1: Sensors and Motor Control Lab. Zihao (Theo) Zhang- Team A October 14, 2016 Teammates: Amit Agarwal, Harry Golash, Yihao Qian, Menghan Zhang ILR #1: Sensors and Motor Control Lab Zihao (Theo) Zhang- Team A October 14, 2016 Teammates: Amit Agarwal, Harry Golash, Yihao Qian, Menghan Zhang Individual Progress For my team s sensors and motor control

More information

o What happens if S1 and S2 or S3 and S4 are closed simultaneously? o Perform Motor Control, H-Bridges LAB 2 H-Bridges with SPST Switches

o What happens if S1 and S2 or S3 and S4 are closed simultaneously? o Perform Motor Control, H-Bridges LAB 2 H-Bridges with SPST Switches Cornerstone Electronics Technology and Robotics II H-Bridges and Electronic Motor Control 4 Hour Class Administration: o Prayer o Debriefing Botball competition Four States of a DC Motor with Terminals

More information

Lesson 3: Arduino. Goals

Lesson 3: Arduino. Goals Introduction: This project introduces you to the wonderful world of Arduino and how to program physical devices. In this lesson you will learn how to write code and make an LED flash. Goals 1 - Get to

More information

Training Schedule. Robotic System Design using Arduino Platform

Training Schedule. Robotic System Design using Arduino Platform Training Schedule Robotic System Design using Arduino Platform Session - 1 Embedded System Design Basics : Scope : To introduce Embedded Systems hardware design fundamentals to students. Processor Selection

More information

Microprocessors B Lab 4 Spring Motor Control Using Pulse Width Modulation (PWM)

Microprocessors B Lab 4 Spring Motor Control Using Pulse Width Modulation (PWM) Motor Control Using Pulse Width Modulation (PWM) Lab Report Objectives Materials See separate report form located on the course webpage. This form should be completed during the performance of this lab.

More information

100UF CAPACITOR POTENTIOMETER SERVO MOTOR MOTOR ARM. MALE HEADER PIN (3 pins) INGREDIENTS

100UF CAPACITOR POTENTIOMETER SERVO MOTOR MOTOR ARM. MALE HEADER PIN (3 pins) INGREDIENTS 05 POTENTIOMETER SERVO MOTOR MOTOR ARM 100UF CAPACITOR MALE HEADER PIN (3 pins) INGREDIENTS 63 MOOD CUE USE A SERVO MOTOR TO MAKE A MECHANICAL GAUGE TO POINT OUT WHAT SORT OF MOOD YOU RE IN THAT DAY Discover:

More information

P15051: Robotic Eye for Eye Tracker

P15051: Robotic Eye for Eye Tracker P15051: Robotic Eye for Eye Tracker Andrew Drogalis Mechanical Engineer Tim O Hearn Mechanical Engineer Katie Hardy Daniel Webster Jorge Gonzalez Abstract: A robotic eye was constructed for the purpose

More information

SPEED CONTROL OF INDUCTION MOTOR WITHOUT SPEED SENSOR AT LOW SPEED OPERATIONS

SPEED CONTROL OF INDUCTION MOTOR WITHOUT SPEED SENSOR AT LOW SPEED OPERATIONS SPEED CONTROL OF INDUCTION MOTOR WITHOUT SPEED SENSOR AT LOW SPEED OPERATIONS Akshay Prasad Dubey and Saravana Kumar R. School of Electrical Engineering, VIT University, Vellore, Tamil Nadu, India E-Mail:

More information

Castle Creations, INC.

Castle Creations, INC. Castle Link Live Communication Protocol Castle Creations, INC. 6-Feb-2012 Version 2.0 Subject to change at any time without notice or warning. Castle Link Live Communication Protocol - Page 1 1) Standard

More information

Job Sheet 2 Servo Control

Job Sheet 2 Servo Control Job Sheet 2 Servo Control Electrical actuators are replacing hydraulic actuators in many industrial applications. Electric servomotors and linear actuators can perform many of the same physical displacement

More information

Robotic Navigation Distance Control Platform

Robotic Navigation Distance Control Platform Robotic Navigation Distance Control Platform System Block Diagram Student: Scott Sendra Project Advisors: Dr. Schertz Dr. Malinowski Date: November 18, 2003 Objective The objective of the Robotic Navigation

More information

INTRODUCTION OF SOME APPROACHES FOR EDUCATIONS OF ROBOT DESIGN AND MANUFACTURING

INTRODUCTION OF SOME APPROACHES FOR EDUCATIONS OF ROBOT DESIGN AND MANUFACTURING INTRODUCTION OF SOME APPROACHES FOR EDUCATIONS OF ROBOT DESIGN AND MANUFACTURING T. Matsuo *,a, M. Tatsuguchi a, T. Higaki a, S. Kuchii a, M. Shimazu a and H. Terai a a Department of Creative Engineering,

More information

I. INTRODUCTION MAIN BLOCKS OF ROBOT

I. INTRODUCTION MAIN BLOCKS OF ROBOT Stair-Climbing Robot for Rescue Applications Prof. Pragati.D.Pawar 1, Prof. Ragini.D.Patmase 2, Mr. Swapnil.A.Kondekar 3, Mr. Nikhil.D.Andhare 4 1,2 Department of EXTC, 3,4 Final year EXTC, J.D.I.E.T Yavatmal,Maharashtra,

More information

Rodni What will yours be?

Rodni What will yours be? Rodni What will yours be? version 4 Welcome to Rodni, a modular animatronic animal of your own creation for learning how easy it is to enter the world of software programming and micro controllers. During

More information

ISSN: [Singh* et al., 6(6): June, 2017] Impact Factor: 4.116

ISSN: [Singh* et al., 6(6): June, 2017] Impact Factor: 4.116 IJESRT INTERNATIONAL JOURNAL OF ENGINEERING SCIENCES & RESEARCH TECHNOLOGY WORKING, OPERATION AND TYPES OF ARDUINO MICROCONTROLLER Bhupender Singh, Manisha Verma Assistant Professor, Electrical Department,

More information

FABO ACADEMY X ELECTRONIC DESIGN

FABO ACADEMY X ELECTRONIC DESIGN ELECTRONIC DESIGN MAKE A DEVICE WITH INPUT & OUTPUT The Shanghaino can be programmed to use many input and output devices (a motor, a light sensor, etc) uploading an instruction code (a program) to it

More information

Brushed DC Motor Control. Module with CAN (MDL-BDC24)

Brushed DC Motor Control. Module with CAN (MDL-BDC24) Stellaris Brushed DC Motor Control Module with CAN (MDL-BDC24) Ordering Information Product No. MDL-BDC24 RDK-BDC24 Description Stellaris Brushed DC Motor Control Module with CAN (MDL-BDC24) for Single-Unit

More information

Industrial Automation Training Academy. Arduino, LabVIEW & PLC Training Programs Duration: 6 Months (180 ~ 240 Hours)

Industrial Automation Training Academy. Arduino, LabVIEW & PLC Training Programs Duration: 6 Months (180 ~ 240 Hours) nfi Industrial Automation Training Academy Presents Arduino, LabVIEW & PLC Training Programs Duration: 6 Months (180 ~ 240 Hours) For: Electronics & Communication Engineering Electrical Engineering Instrumentation

More information

Digital-to-Analog Converter. Lab 3 Final Report

Digital-to-Analog Converter. Lab 3 Final Report Digital-to-Analog Converter Lab 3 Final Report The Ion Cannons: Shrinand Aggarwal Cameron Francis Nicholas Polito Section 2 May 1, 2017 1 Table of Contents Introduction..3 Rationale..3 Theory of Operation.3

More information

Micromouse Meeting #3 Lecture #2. Power Motors Encoders

Micromouse Meeting #3 Lecture #2. Power Motors Encoders Micromouse Meeting #3 Lecture #2 Power Motors Encoders Previous Stuff Microcontroller pick one yet? Meet your team Some teams were changed High Level Diagram Power Everything needs power Batteries Supply

More information

Electronics. RC Filter, DC Supply, and 555

Electronics. RC Filter, DC Supply, and 555 Electronics RC Filter, DC Supply, and 555 0.1 Lab Ticket Each individual will write up his or her own Lab Report for this two-week experiment. You must also submit Lab Tickets individually. You are expected

More information

Design of double loop-locked system for brush-less DC motor based on DSP

Design of double loop-locked system for brush-less DC motor based on DSP International Conference on Advanced Electronic Science and Technology (AEST 2016) Design of double loop-locked system for brush-less DC motor based on DSP Yunhong Zheng 1, a 2, Ziqiang Hua and Li Ma 3

More information

International Journal of Advanced Research in Electrical, Electronics and Instrumentation Engineering. (An ISO 3297: 2007 Certified Organization)

International Journal of Advanced Research in Electrical, Electronics and Instrumentation Engineering. (An ISO 3297: 2007 Certified Organization) International Journal of Advanced Research in Electrical, Electronics Device Control Using Intelligent Switch Sreenivas Rao MV *, Basavanna M Associate Professor, Department of Instrumentation Technology,

More information

Using Servos with an Arduino

Using Servos with an Arduino Using Servos with an Arduino ME 120 Mechanical and Materials Engineering Portland State University http://web.cecs.pdx.edu/~me120 Learning Objectives Be able to identify characteristics that distinguish

More information

Pulse-Width-Modulation Motor Speed Control with a PIC (modified from lab text by Alciatore)

Pulse-Width-Modulation Motor Speed Control with a PIC (modified from lab text by Alciatore) Laboratory 14 Pulse-Width-Modulation Motor Speed Control with a PIC (modified from lab text by Alciatore) Required Components: 1x PIC 16F88 18P-DIP microcontroller 3x 0.1 F capacitors 1x 12-button numeric

More information

Design of a Microcontroller-Based Push-Pull Inverter with Automatic Voltage Regulator

Design of a Microcontroller-Based Push-Pull Inverter with Automatic Voltage Regulator ISSN 2278 0211 (Online) Design of a Microcontroller-Based Push-Pull Inverter with Automatic Voltage Regulator Ogunseye Abiodun Alani Assistant Lecturer, Department of Electrical/Electronics & Computer

More information

Microcontroller Based Closed Loop Speed and Position Control of DC Motor

Microcontroller Based Closed Loop Speed and Position Control of DC Motor International Journal of Engineering and Advanced Technology (IJEAT) ISSN: 2249 8958, Volume-3, Issue-5, June 2014 Microcontroller Based Closed Loop Speed and Position Control of DC Motor Panduranga Talavaru,

More information

2.017 DESIGN OF ELECTROMECHANICAL ROBOTIC SYSTEMS Fall 2009 Lab 4: Motor Control. October 5, 2009 Dr. Harrison H. Chin

2.017 DESIGN OF ELECTROMECHANICAL ROBOTIC SYSTEMS Fall 2009 Lab 4: Motor Control. October 5, 2009 Dr. Harrison H. Chin 2.017 DESIGN OF ELECTROMECHANICAL ROBOTIC SYSTEMS Fall 2009 Lab 4: Motor Control October 5, 2009 Dr. Harrison H. Chin Formal Labs 1. Microcontrollers Introduction to microcontrollers Arduino microcontroller

More information

Bill of Materials: PWM Stepper Motor Driver PART NO

Bill of Materials: PWM Stepper Motor Driver PART NO PWM Stepper Motor Driver PART NO. 2183816 Control a stepper motor using this circuit and a servo PWM signal from an R/C controller, arduino, or microcontroller. Onboard circuitry limits winding current,

More information

Real Time Implementation of Power Electronics System

Real Time Implementation of Power Electronics System Real Time Implementation of Power Electronics System Prof.Darshan S.Patel M.Tech (Power Electronics & Drives) Assistant Professor,Department of Electrical Engineering Sankalchand Patel College of Engineerig-Visnagar

More information

Implementation of a Fuzzy Logic-Based Embedded System for Engine RPM Control. (Speed Control)

Implementation of a Fuzzy Logic-Based Embedded System for Engine RPM Control. (Speed Control) Implementation of a Fuzzy Logic-Based Embedded System for Engine RPM Control (Speed Control) Introduction implements an embedded system for the Engine RPM control based on a development board developed

More information

Arduino Setup & Flexing the ExBow

Arduino Setup & Flexing the ExBow Arduino Setup & Flexing the ExBow What is Arduino? Before we begin, We must first download the Arduino and Ardublock software. For our Set-up we will be using Arduino. Arduino is an electronics platform.

More information

MOBILE ROBOT LOCALIZATION with POSITION CONTROL

MOBILE ROBOT LOCALIZATION with POSITION CONTROL T.C. DOKUZ EYLÜL UNIVERSITY ENGINEERING FACULTY ELECTRICAL & ELECTRONICS ENGINEERING DEPARTMENT MOBILE ROBOT LOCALIZATION with POSITION CONTROL Project Report by Ayhan ŞAVKLIYILDIZ - 2011502093 Burcu YELİS

More information

roject work presentation

roject work presentation roject work presentation roject Title: roject Index: 122 Microcontroller based power controller for an Electric Vehicle. y: Eric Bulimo Ubaga F17/1451/2011 upervisor: xaminer: Mr. C. Ombura. Dr. Dharma.

More information

DigiSpeed-GX DC-03. Isolated Control Voltage Generator User s Guide. DigiSpeed-GX PCB Ver:2.0 Firmware Ver: 1.0 Mach3 Ver: 1.84

DigiSpeed-GX DC-03. Isolated Control Voltage Generator User s Guide. DigiSpeed-GX PCB Ver:2.0 Firmware Ver: 1.0 Mach3 Ver: 1.84 DigiSpeed-GX - Users Guide Page 1 Updated: 15. January 2009 DigiSpeed-GX DC-03 Isolated Control Voltage Generator User s Guide DigiSpeed-GX PCB Ver:2.0 Firmware Ver: 1.0 Mach3 Ver: 1.84 DigiSpeed-GX -

More information

Assembly Language. Topic 14 Motion Control. Stepper and Servo Motors

Assembly Language. Topic 14 Motion Control. Stepper and Servo Motors Assembly Language Topic 14 Motion Control Stepper and Servo Motors Objectives To gain an understanding of the operation of a stepper motor To develop a means to control a stepper motor To gain an understanding

More information

Internet of Things Student STEM Project Jackson High School. Lesson 3: Arduino Solar Tracker

Internet of Things Student STEM Project Jackson High School. Lesson 3: Arduino Solar Tracker Internet of Things Student STEM Project Jackson High School Lesson 3: Arduino Solar Tracker Lesson 3 Arduino Solar Tracker Time to complete Lesson 60-minute class period Learning objectives Students learn

More information

CHAPTER-5 DESIGN OF DIRECT TORQUE CONTROLLED INDUCTION MOTOR DRIVE

CHAPTER-5 DESIGN OF DIRECT TORQUE CONTROLLED INDUCTION MOTOR DRIVE 113 CHAPTER-5 DESIGN OF DIRECT TORQUE CONTROLLED INDUCTION MOTOR DRIVE 5.1 INTRODUCTION This chapter describes hardware design and implementation of direct torque controlled induction motor drive with

More information

LINE MAZE SOLVING ROBOT

LINE MAZE SOLVING ROBOT LINE MAZE SOLVING ROBOT EEE 456 REPORT OF INTRODUCTION TO ROBOTICS PORJECT PROJECT OWNER: HAKAN UÇAROĞLU 2000502055 INSTRUCTOR: AHMET ÖZKURT 1 CONTENTS I- Abstract II- Sensor Circuit III- Compare Circuit

More information

DeviceCraft Revision #1 11/29/2010

DeviceCraft Revision #1 11/29/2010 DeviceCraft Revision #1 11/29/2010 DC Wiper Motor H-Bridge Servo / Speed Controller P/N 1020 Features: Dip Switch selectable mode of operation Both PID servo or speed controller Forward/Reverse operation

More information

Jaguar Motor Controller (Stellaris Brushed DC Motor Control Module with CAN)

Jaguar Motor Controller (Stellaris Brushed DC Motor Control Module with CAN) Jaguar Motor Controller (Stellaris Brushed DC Motor Control Module with CAN) 217-3367 Ordering Information Product Number Description 217-3367 Stellaris Brushed DC Motor Control Module with CAN (217-3367)

More information

νµθωερτψυιοπασδφγηϕκλζξχϖβνµθωερτ ψυιοπασδφγηϕκλζξχϖβνµθωερτψυιοπα σδφγηϕκλζξχϖβνµθωερτψυιοπασδφγηϕκ χϖβνµθωερτψυιοπασδφγηϕκλζξχϖβνµθ

νµθωερτψυιοπασδφγηϕκλζξχϖβνµθωερτ ψυιοπασδφγηϕκλζξχϖβνµθωερτψυιοπα σδφγηϕκλζξχϖβνµθωερτψυιοπασδφγηϕκ χϖβνµθωερτψυιοπασδφγηϕκλζξχϖβνµθ θωερτψυιοπασδφγηϕκλζξχϖβνµθωερτψ υιοπασδφγηϕκλζξχϖβνµθωερτψυιοπασδ φγηϕκλζξχϖβνµθωερτψυιοπασδφγηϕκλζ ξχϖβνµθωερτψυιοπασδφγηϕκλζξχϖβνµ EE 331 Design Project Final Report θωερτψυιοπασδφγηϕκλζξχϖβνµθωερτψ

More information

Laboratory set-up for Real-Time study of Electric Drives with Integrated Interfaces for Test and Measurement

Laboratory set-up for Real-Time study of Electric Drives with Integrated Interfaces for Test and Measurement Laboratory set-up for Real-Time study of Electric Drives with Integrated Interfaces for Test and Measurement Fong Mak, Ram Sundaram, Varun Santhaseelan, and Sunil Tandle Gannon University, mak001@gannon.edu,

More information

For this exercise, you will need a partner, an Arduino kit (in the plastic tub), and a laptop with the Arduino programming environment.

For this exercise, you will need a partner, an Arduino kit (in the plastic tub), and a laptop with the Arduino programming environment. Physics 222 Name: Exercise 6: Mr. Blinky This exercise is designed to help you wire a simple circuit based on the Arduino microprocessor, which is a particular brand of microprocessor that also includes

More information

ARDUINO / GENUINO. start as professional. short course in a book. faculty of engineering technology

ARDUINO / GENUINO. start as professional. short course in a book. faculty of engineering technology ARDUINO / GENUINO start as professional short course in a book faculty of engineering technology Publisher Universiti Malaysia Pahang Kuantan 2017 Copyright Universiti Malaysia Pahang, 2017 First Published,

More information

Laboration: Frequency measurements and PWM DC motor. Embedded Electronics IE1206

Laboration: Frequency measurements and PWM DC motor. Embedded Electronics IE1206 Laboration: Frequency measurements and PWM DC motor. Embedded Electronics IE1206 Attention! To access the laboratory experiment you must have: booked a lab time in the reservation system (Daisy). completed

More information

Four Quadrant Speed Control of DC Motor with the Help of AT89S52 Microcontroller

Four Quadrant Speed Control of DC Motor with the Help of AT89S52 Microcontroller Four Quadrant Speed Control of DC Motor with the Help of AT89S52 Microcontroller Rahul Baranwal 1, Omama Aftab 2, Mrs. Deepti Ojha 3 1,2, B.Tech Final Year (Electronics and Communication Engineering),

More information

EEL4914 Senior Design. Final Design Report

EEL4914 Senior Design. Final Design Report EEL4914 Senior Design Final Design Report Electric Super Bike The Best Team in the World Matt Fisher madfish@ufl.edu Richard Orr gautama@ufl.edu 21 April 2008 1 Contents Contents...2 Abstract...3 Project

More information

Lock Cracker S. Lust, E. Skjel, R. LeBlanc, C. Kim

Lock Cracker S. Lust, E. Skjel, R. LeBlanc, C. Kim Lock Cracker S. Lust, E. Skjel, R. LeBlanc, C. Kim Abstract - This project utilized Eleven Engineering s XInC2 development board to control several peripheral devices to open a standard 40 digit combination

More information

EEE3410 Microcontroller Applications Department of Electrical Engineering Lecture 11 Motor Control

EEE3410 Microcontroller Applications Department of Electrical Engineering Lecture 11 Motor Control EEE34 Microcontroller Applications Department of Electrical Engineering Lecture Motor Control Week 3 EEE34 Microcontroller Applications In this Lecture. Interface 85 with the following output Devices Optoisolator

More information

3-Degrees of Freedom Robotic ARM Controller for Various Applications

3-Degrees of Freedom Robotic ARM Controller for Various Applications 3-Degrees of Freedom Robotic ARM Controller for Various Applications Mohd.Maqsood Ali M.Tech Student Department of Electronics and Instrumentation Engineering, VNR Vignana Jyothi Institute of Engineering

More information

Using Magnetic Sensors for Absolute Position Detection and Feedback. Kevin Claycomb University of Evansville

Using Magnetic Sensors for Absolute Position Detection and Feedback. Kevin Claycomb University of Evansville Using Magnetic Sensors for Absolute Position Detection and Feedback. Kevin Claycomb University of Evansville Using Magnetic Sensors for Absolute Position Detection and Feedback. Abstract Several types

More information

Digital Electronics Course Objectives

Digital Electronics Course Objectives Digital Electronics Course Objectives In this course, we learning is reported using Standards Referenced Reporting (SRR). SRR seeks to provide students with grades that are consistent, are accurate, and

More information

LAB 1 AN EXAMPLE MECHATRONIC SYSTEM: THE FURBY

LAB 1 AN EXAMPLE MECHATRONIC SYSTEM: THE FURBY LAB 1 AN EXAMPLE MECHATRONIC SYSTEM: THE FURBY Objectives Preparation Tools To see the inner workings of a commercial mechatronic system and to construct a simple manual motor speed controller and current

More information

Learning Objectives. References 10/26/11. Using servos with an Arduino. EAS 199A Fall 2011

Learning Objectives. References 10/26/11. Using servos with an Arduino. EAS 199A Fall 2011 Using servos with an Arduino EAS 199A Fall 2011 Learning Objectives Be able to identify characteristics that distinguish a servo and a DC motor Be able to describe the difference a conventional servo and

More information

Development of a MATLAB Data Acquisition and Control Toolbox for BASIC Stamp Microcontrollers

Development of a MATLAB Data Acquisition and Control Toolbox for BASIC Stamp Microcontrollers Chapter 4 Development of a MATLAB Data Acquisition and Control Toolbox for BASIC Stamp Microcontrollers 4.1. Introduction Data acquisition and control boards, also known as DAC boards, are used in virtually

More information

MAKEVMA502 BASIC DIY KIT WITH ATMEGA2560 FOR ARDUINO USER MANUAL

MAKEVMA502 BASIC DIY KIT WITH ATMEGA2560 FOR ARDUINO USER MANUAL BASIC DIY KIT WITH ATMEGA2560 FOR ARDUINO USER MANUAL USER MANUAL 1. Introduction To all residents of the European Union Important environmental information about this product This symbol on the device

More information

Motors and Servos Part 2: DC Motors

Motors and Servos Part 2: DC Motors Motors and Servos Part 2: DC Motors Back to Motors After a brief excursion into serial communication last week, we are returning to DC motors this week. As you recall, we have already worked with servos

More information

Demon Pumpkin APPROXIMATE TIME (EXCLUDING PREPARATION WORK): 1 HOUR PREREQUISITES: PART LIST:

Demon Pumpkin APPROXIMATE TIME (EXCLUDING PREPARATION WORK): 1 HOUR PREREQUISITES: PART LIST: Demon Pumpkin This is a lab guide for creating your own simple animatronic pumpkin. This project encourages students and makers to innovate upon the base design to add their own personal touches. APPROXIMATE

More information

Monitoring Temperature using LM35 and Arduino UNO

Monitoring Temperature using LM35 and Arduino UNO Sharif University of Technology Microprocessor Arduino UNO Project Monitoring Temperature using LM35 and Arduino UNO Authors: Sadegh Saberian 92106226 Armin Vakil 92110419 Ainaz Hajimoradlou 92106142 Supervisor:

More information

Total Hours Registration through Website or for further details please visit (Refer Upcoming Events Section)

Total Hours Registration through Website or for further details please visit   (Refer Upcoming Events Section) Total Hours 110-150 Registration Q R Code Registration through Website or for further details please visit http://www.rknec.edu/ (Refer Upcoming Events Section) Module 1: Basics of Microprocessor & Microcontroller

More information

Advanced Mechatronics 1 st Mini Project. Remote Control Car. Jose Antonio De Gracia Gómez, Amartya Barua March, 25 th 2014

Advanced Mechatronics 1 st Mini Project. Remote Control Car. Jose Antonio De Gracia Gómez, Amartya Barua March, 25 th 2014 Advanced Mechatronics 1 st Mini Project Remote Control Car Jose Antonio De Gracia Gómez, Amartya Barua March, 25 th 2014 Remote Control Car Manual Control with the remote and direction buttons Automatic

More information

ESE 350 Microcontroller Laboratory Lab 5: Sensor-Actuator Lab

ESE 350 Microcontroller Laboratory Lab 5: Sensor-Actuator Lab ESE 350 Microcontroller Laboratory Lab 5: Sensor-Actuator Lab The purpose of this lab is to learn about sensors and use the ADC module to digitize the sensor signals. You will use the digitized signals

More information

Citrus Circuits Fall Workshop Series. Roborio and Sensors. Paul Ngo and Ellie Hass

Citrus Circuits Fall Workshop Series. Roborio and Sensors. Paul Ngo and Ellie Hass Citrus Circuits Fall Workshop Series Roborio and Sensors Paul Ngo and Ellie Hass Introduction to Sensors Sensor: a device that detects or measures a physical property and records, indicates, or otherwise

More information

Sensors and Motor Control Lab Individual lab report #1 October 16, 2015

Sensors and Motor Control Lab Individual lab report #1 October 16, 2015 Sensors and Motor Control Lab Individual lab report #1 October 16, 2015 RICHA VARMA Team I Dorothy Kirlew Pranav Maheshwari Shivam Gautam Mohak Bharadwaj 1. Individual Progress The tasks undertaken by

More information

DigiSpeed DC-03. Isolated Control Voltage Generator User s Guide. PCB: DC-03 V3.0 Firmware: Ver: 3.0 Mach3: Ver: 1.84

DigiSpeed DC-03. Isolated Control Voltage Generator User s Guide. PCB: DC-03 V3.0 Firmware: Ver: 3.0 Mach3: Ver: 1.84 DigiSpeed DC-03 - Users Guide Page 1 Updated: 29. April 2009 DigiSpeed DC-03 Isolated Control Voltage Generator User s Guide PCB: DC-03 V3.0 Firmware: Ver: 3.0 Mach3: Ver: 1.84 DigiSpeed DC-03 - Users

More information

Validation Document. ELEC 491 Capstone Proposal - Dynamic Projector Mount Project. Andy Kwan Smaran Karimbil Siamak Rahmanian Dante Ye

Validation Document. ELEC 491 Capstone Proposal - Dynamic Projector Mount Project. Andy Kwan Smaran Karimbil Siamak Rahmanian Dante Ye Validation Document ELEC 491 Capstone Proposal - Dynamic Projector Mount Project Andy Kwan Smaran Karimbil Siamak Rahmanian Dante Ye Executive Summary: The purpose of this document is to describe the tests

More information

UTILIZATION OF ROBOTICS AS CONTEMPORARY TECHNOLOGY AND AN EFFECTIVE TOOL IN TEACHING COMPUTER PROGRAMMING

UTILIZATION OF ROBOTICS AS CONTEMPORARY TECHNOLOGY AND AN EFFECTIVE TOOL IN TEACHING COMPUTER PROGRAMMING UTILIZATION OF ROBOTICS AS CONTEMPORARY TECHNOLOGY AND AN EFFECTIVE TOOL IN TEACHING COMPUTER PROGRAMMING Aaron R. Rababaah* 1, Ahmad A. Rabaa i 2 1 arababaah@auk.edu.kw 2 arabaai@auk.edu.kw Abstract Traditional

More information

Teaching Mechanical Students to Build and Analyze Motor Controllers

Teaching Mechanical Students to Build and Analyze Motor Controllers Teaching Mechanical Students to Build and Analyze Motor Controllers Hugh Jack, Associate Professor Padnos School of Engineering Grand Valley State University Grand Rapids, MI email: jackh@gvsu.edu Session

More information

Designing with a Microcontroller (v6)

Designing with a Microcontroller (v6) Designing with a Microcontroller (v6) Safety: In this lab, voltages are less than 15 volts and this is not normally dangerous to humans. However, you should assemble or modify a circuit when power is disconnected

More information

LDOR: Laser Directed Object Retrieving Robot. Final Report

LDOR: Laser Directed Object Retrieving Robot. Final Report University of Florida Department of Electrical and Computer Engineering EEL 5666 Intelligent Machines Design Laboratory LDOR: Laser Directed Object Retrieving Robot Final Report 4/22/08 Mike Arms TA: Mike

More information

PWM CONTROL USING ARDUINO. Learn to Control DC Motor Speed and LED Brightness

PWM CONTROL USING ARDUINO. Learn to Control DC Motor Speed and LED Brightness PWM CONTROL USING ARDUINO Learn to Control DC Motor Speed and LED Brightness In this article we explain how to do PWM (Pulse Width Modulation) control using arduino. If you are new to electronics, we have

More information

Design and Implementation of AT Mega 328 microcontroller based firing control for a tri-phase thyristor control rectifier

Design and Implementation of AT Mega 328 microcontroller based firing control for a tri-phase thyristor control rectifier Design and Implementation of AT Mega 328 microcontroller based firing control for a tri-phase thyristor control rectifier 1 Mr. Gangul M.R PG Student WIT, Solapur 2 Mr. G.P Jain Assistant Professor WIT,

More information

Six-degree-of-freedom robot design

Six-degree-of-freedom robot design Six-degree-of-freedom robot design Zhendong Guan a, Xiaobin Gong b, Shichang Yan c School of Shandong University of Science and Technology, Qingdao 266590, China a654201141@qq.com, b 528173250@qq.com,

More information

Breadboard Traffic Light System

Breadboard Traffic Light System 1 Breadboard Traffic Light System Alex Sawicki & Geoff Yeung TEJ4M Mr. Bawa June20, 2013 2 Table of Contents Materials 3 Background Research 4 Experimental Procedure 7 Method One 8 Method Two 9 Conclusions

More information

SERVO MOTOR CONTROL TRAINER

SERVO MOTOR CONTROL TRAINER SERVO MOTOR CONTROL TRAINER UC-1780A FEATURES Open & closed loop speed and position control. Analog and digital control techniques. PC based instrumentation include oscilloscope, multimeter and etc. PC

More information

Experiment (2) DC Motor Control (Direction and Speed)

Experiment (2) DC Motor Control (Direction and Speed) Introduction Experiment (2) DC Motor Control (Direction and Speed) Controlling direction and speed of DC motor is very essential in many applications like: 1- Robotic application to change direction and

More information

ARDUINO / GENUINO. start as professional

ARDUINO / GENUINO. start as professional ARDUINO / GENUINO start as professional . ARDUINO / GENUINO start as professional short course in a book MOHAMMED HAYYAN ALSIBAI SULASTRI ABDUL MANAP Publisher Universiti Malaysia Pahang Kuantan 2017 Copyright

More information

LED + Servo 2 devices, 1 Arduino

LED + Servo 2 devices, 1 Arduino LED + Servo 2 devices, 1 Arduino Learn to connect and write code to control both a Servo and an LED at the same time. Many students who come through the lab ask if they can use both an LED and a Servo

More information

GE 320: Introduction to Control Systems

GE 320: Introduction to Control Systems GE 320: Introduction to Control Systems Laboratory Section Manual 1 Welcome to GE 320.. 1 www.softbankrobotics.com 1 1 Introduction This section summarizes the course content and outlines the general procedure

More information

ME 461 Laboratory #5 Characterization and Control of PMDC Motors

ME 461 Laboratory #5 Characterization and Control of PMDC Motors ME 461 Laboratory #5 Characterization and Control of PMDC Motors Goals: 1. Build an op-amp circuit and use it to scale and shift an analog voltage. 2. Calibrate a tachometer and use it to determine motor

More information

Part 1: Determining the Sensors and Feedback Mechanism

Part 1: Determining the Sensors and Feedback Mechanism Roger Yuh Greg Kurtz Challenge Project Report Project Objective: The goal of the project was to create a device to help a blind person navigate in an indoor environment and avoid obstacles of varying heights

More information

International Journal of Advance Engineering and Research Development

International Journal of Advance Engineering and Research Development Scientific Journal of Impact Factor (SJIF): 4.14 International Journal of Advance Engineering and Research Development Volume 3, Issue 2, February -2016 e-issn (O): 2348-4470 p-issn (P): 2348-6406 SIMULATION

More information

MDM5253 DC Motor Driver Module with Position and Current Feedback User Manual

MDM5253 DC Motor Driver Module with Position and Current Feedback User Manual MDM5253 DC Motor Driver Module with Position and Current Feedback User Manual Version: 1.0.3 Apr. 2013 Table of Contents I. Introduction 2 II. Operations 2 II.1. Theory of Operation 2 II.2. Running as

More information

Adafruit 16-channel PWM/Servo Shield

Adafruit 16-channel PWM/Servo Shield Adafruit 16-channel PWM/Servo Shield Created by lady ada Last updated on 2018-08-22 03:36:11 PM UTC Guide Contents Guide Contents Overview Assembly Shield Connections Pins Used Connecting other I2C devices

More information

Experiment 9 : Pulse Width Modulation

Experiment 9 : Pulse Width Modulation Name/NetID: Experiment 9 : Pulse Width Modulation Laboratory Outline In experiment 5 we learned how to control the speed of a DC motor using a variable resistor. This week, we will learn an alternative

More information

UNIVERSAL INPUT RESISTANCE OUTPUT

UNIVERSAL INPUT RESISTANCE OUTPUT UNIVERSAL INPUT RESISTANCE OUTPUT FEATURES Jumper selectable analog input DIP switch selectable pulse input type DIP switch selectable time bases 256 step output resolution Field changeable resistance

More information