EXPERIMENT 6: Advanced I/O Programming

Size: px
Start display at page:

Download "EXPERIMENT 6: Advanced I/O Programming"

Transcription

1 EXPERIMENT 6: Advanced I/O Programming Objectives: To familiarize students with DC Motor control and Stepper Motor Interfacing. To utilize MikroC and MPLAB for Input Output Interfacing and motor control. Introduction to DC Motor DC (Direct Current) brush motor is the most common and easy-to-control actuator which is usually used in many types of machines and automation systems. The main advantage of DC motor is that it can be operated by DC current, normally is from batteries. In many applications such as cars, ships, remote controlled racing cars or mobile robots where AC power supply is not available, DC operated components are preferred. In normal application, a DC brush motor is equipped with a set of gear to reduce the output speed of the motor and increase the torque at the same time. Controlling DC Motor Most of the DC motors can be controlled easily by providing the necessary voltage to it. To change the rotating direction of DC motor, simply reverse the polarity of the DC input. This changeover process can be achieved via a simple changeover switch (relay) or by using a suitable motor driver. In this training kit, motor driver L293D is employed to control the DC motor as the output pins of the microcontroller cannot directly drive a DC motor. Another advantage of DC motors is speed control of motor can be easily achieved by providing variable voltage to it. There are many methods to offer more precise control and maximum efficiency in controlling the speed. PWM (pulse width modulation) is among the popular alternative in DC motor speed control. Figure below shows the connection between DC motor and PIC. Figure 6.1 Interface between Motor Driver (L293D) and microcontroller. EEEB371 E4-1

2 Figure 6.2 Interfaces between Motor Driver (L293D) and DC Motor. From Figure 6.1, the two inputs (IN1 and IN2) to the motor driver are connected to PORTB, pin RB4 and RB5. The enable pin of the motor driver is connected to PWM pin (RC2). As long as the motor driver is enabled via pin RC2, the two inputs will produce the required outputs at pin MO1 and MO2. If IN1 is supplied with high logic, MO1 will produce high logic as the same applies to IN2 and MO2. Using these two inputs, we can easily control the direction of the DC motor. To rotate the DC motor clockwise, supply IN1 with low logic and IN2 with high logic. To rotate the DC motor anti-clockwise, supply IN1 with high logic and IN2 with low logic. By manipulating the input logic, we are actually changing the polarity of the DC input to the DC Motor and hence we are able to control the rotation of the DC Motor. Hardware Configuration For hardware configuration, put mini jumper on JP20 and JP21 to select DC motor and mini jumper on JP10 to select PWM. EEEB371 E4-2

3 Introduction to Stepper Motor A stepper motor is a brushless, synchronous electric motor that converts electrical pulses into mechanical movement. Every revolution of the stepper motor is divided into a discrete number of steps, and the motor must be sent a separate pulse for each step. The stepper motor can only take one step at a time and each step is the same size. Since each pulse causes the motor to rotate a precise angle, the motor s position can be controlled without any feedback mechanism. As the electrical pulses increase in frequency, the step movement changes into continuous rotation, with the speed of rotation directly proportional to the frequency of the pulses. Step motors are used every day in both industrial and commercial applications because of their low cost, high reliability, high torque at low speeds and a simple, rugged construction that operates in almost any environment. Unipolar Stepper Motor The unipolar stepper motor has five or six wires and four coils (actually two coils divided by center connections on each coil). The center connections of the coils are tied together and used as the power connection. They are called unipolar steppers because power always comes in on this one pole. Figure 6.3 Unipolar Stepper Motor Windings EEEB371 E4-3

4 Stepper Motor Interfacing with Microcontroller Stepper motors can be used in various areas of microcontroller projects such as making robots, robotic arm, automatic door lock system etc. Here, Full Step Interfacing Technique using L293D to control stepper motor will be described. In the full step sequence, two coils are energized at the same time and motor shaft rotates. The order in which coils has to be energized is given in the table below. Figure 6.4 Full Step Sequence In PTK40A, we use a motor driver L293D to drive the stepper motor. Figure 6.5 shows the schematic diagram to control stepper motor. Figure 6.5 Circuit connections for stepper motor. EEEB371 E4-4

5 The four inputs (A, B, C, D) to control the stepper motor are connected to pin RB4, RB5, RB6 and RB7 respectively. The motor driver enable pin is connected to pin RC2 and must be enabled at all times to control the stepper motor. By manipulating the inputs as illustrated in Figure 6.4, we will be able to control the step angle of the stepper motor. Stepper Motor Step Angle Step angle of the stepper motor is defined as the angle traversed by the motor in one step. To calculate step angle, simply divide 360 by number of steps a motor takes to complete one revolution. As in figure 6.4, Stepper Motor rotating in full mode sequence takes 24 steps to complete a revolution, So, step angle can be calculated as Step Angle ø = 360 / 24 = 15. One full sequence as in Figure 6.4 produces an angle of 30, so by repeating the sequence 12 times, we can achieve a full 360 rotation. So in this way we can calculate step angle for any stepper motor. Usually step angle is given in the spec sheet of the stepper motor you are using. Knowing stepper motor s step angle helps you calibrate the rotation of motor also to helps you move the motor to correct angular position. Hardware Configuration For hardware configuration, set mini jumper to stepper motor at JP20 and JP21. Then put mini jumper JP24 to unipolar and JP23 to select bipolar. Another mini jumper used on JP10 to select PWM. EEEB371 E4-5

6 Procedure Part A: DC Motor Control 1. Write the source code in MikroC Compiler, build it and download the Hex file into the microcontroller and run the program. Print out the source file and write down your observation. //Put students ID No and Names here! void main() { ADCON1 = 0x0F; // Configure A/D for digital inputs CMCON = 0x07; // Configure comparators for digital input TRISB = 0x00; // Configure PORTB as output TRISC = 0x00; // Configure PORTC as output PORTC.F2 = 1; //Enable the motor driver while(1) // Endless loop { PORTB.F4 = 1; Delay_ms(5000); Delay_ms(2000); PORTB.F5 = 1; Delay_ms(5000); Delay_ms(2000); }//End of while(1) //Rotate motor //anti-clockwise //for 5 seconds //Stop //rotating motor //for 2 seconds //Rotate motor //clockwise // for 5 seconds // Stop // rotating motor // for 2 seconds }//End of void main() 2. Modify the program in MikroC to fulfill the following requirement: - when SW1 is pressed, the DC motor will rotate clockwise. - when SW2 is pressed, the DC motor will rotate anti-clockwise and - when SW3 is pressed, the DC motor will stop. Write down your observation and explain the changes which you have made to the program. Print out the source file. 3. Write the source code in procedure 1 in assembly language using MPLAB. Build it and download the Hex file into the microcontroller and run the program. Print out the ASM source file with proper comments. EEEB371 E4-6

7 PART B: Stepper Motor Control 4. Write the source code below in MikroC so that the stepper rotates a full 360 degree rotation. Print out the source file and write down your observation. //Put students ID No and Names here! void main() { int i = 0; ADCON1 = 0x0F; // Configure A/D for digital inputs CMCON = 0x07; // Configure comparators for digital input TRISB = 0x00; // Configure PORTB as output TRISC = 0x00; // Configure PORTC as output PORTC.F2 = 1; //Enable the motor driver while(i<12) // Loop for 12 times to achieve 360 rotation { PORTB.F4 = 1; PORTB.F6 = 0; PORTB.F7 = 1; Delay_ms(100); PORTB.F4 = 1; PORTB.F5 = 1; PORTB.F6 = 0; PORTB.F7 = 0; Delay_ms(100); PORTB.F5 = 1; PORTB.F6 = 1; PORTB.F7 = 0; Delay_ms(100); PORTB.F6 = 1; PORTB.F7 = 1; Delay_ms(100); i++; }//End of while(1) }//End of void main() 5. Modify the program in MikroC to achieve an angle of 60, 120 and 180. Write down your observation and explain the changes which you have made to the program. Print out the source file. 6. Write the source code in procedure 4 in assembly language using MPLAB. Build it and download the Hex file into the microcontroller and run the program. Print out the LST file. Don t forget to include student s ID No and Names in the ASM file. EEEB371 E4-7

8 7. Turn off the PTK40A power supply, rearrange the USB cable back into the Training Kit. Exit from MikroC, MPLAB and PICKit 2 programmer. Shutdown your PC and rearrange your workstation before you leave. EEEB371 E4-8

MICROCONTROLLERS Stepper motor control with Sequential Logic Circuits

MICROCONTROLLERS Stepper motor control with Sequential Logic Circuits PH-315 MICROCONTROLLERS Stepper motor control with Sequential Logic Circuits Portland State University Summary Four sequential digital waveforms are used to control a stepper motor. The main objective

More information

Embedded Systems Lab Lab 7 Stepper Motor Application

Embedded Systems Lab Lab 7 Stepper Motor Application Islamic University of Gaza College of Engineering puter Department Embedded Systems Lab Stepper Motor Application Prepared By: Eng.Ola M. Abd El-Latif Apr. /2010 :D 0 Objective Tools Theory To realize

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

combine regular DC-motors with a gear-box and an encoder/potentiometer to form a position control loop can only assume a limited range of angular

combine regular DC-motors with a gear-box and an encoder/potentiometer to form a position control loop can only assume a limited range of angular Embedded Control Applications II MP10-1 Embedded Control Applications II MP10-2 week lecture topics 10 Embedded Control Applications II - Servo-motor control - Stepper motor control - The control of a

More information

Experiment#6: Speaker Control

Experiment#6: Speaker Control Experiment#6: Speaker Control I. Objectives 1. Describe the operation of the driving circuit for SP1 speaker. II. Circuit Description The circuit of speaker and driver is shown in figure# 1 below. The

More information

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

Laboratory Exercise 1 Microcontroller Board with Driver Board

Laboratory Exercise 1 Microcontroller Board with Driver Board Laboratory Exercise 1 Microcontroller Board with Driver Board The purpose of this lab exercises is to demonstrate how the Microcontroller Board can be used to control motors connected to the Driver Board

More information

L E C T U R E R, E L E C T R I C A L A N D M I C R O E L E C T R O N I C E N G I N E E R I N G

L E C T U R E R, E L E C T R I C A L A N D M I C R O E L E C T R O N I C E N G I N E E R I N G P R O F. S L A C K L E C T U R E R, E L E C T R I C A L A N D M I C R O E L E C T R O N I C E N G I N E E R I N G G B S E E E @ R I T. E D U B L D I N G 9, O F F I C E 0 9-3 1 8 9 ( 5 8 5 ) 4 7 5-5 1 0

More information

Introduction to the ME2110 Kit. Controller Box Electro Mechanical Actuators & Sensors Pneumatics

Introduction to the ME2110 Kit. Controller Box Electro Mechanical Actuators & Sensors Pneumatics Introduction to the ME2110 Kit Controller Box Electro Mechanical Actuators & Sensors Pneumatics Features of the Controller Box BASIC Stamp II-SX microcontroller Interfaces with various external devices

More information

Controlling DC Brush Motor using MD10B or MD30B. Version 1.2. Aug Cytron Technologies Sdn. Bhd.

Controlling DC Brush Motor using MD10B or MD30B. Version 1.2. Aug Cytron Technologies Sdn. Bhd. PR10 Controlling DC Brush Motor using MD10B or MD30B Version 1.2 Aug 2008 Cytron Technologies Sdn. Bhd. Information contained in this publication regarding device applications and the like is intended

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

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

Lab Exercise 9: Stepper and Servo Motors

Lab Exercise 9: Stepper and Servo Motors ME 3200 Mechatronics Laboratory Lab Exercise 9: Stepper and Servo Motors Introduction In this laboratory exercise, you will explore some of the properties of stepper and servomotors. These actuators are

More information

School of Engineering Mechatronics Engineering Department. Experim. ment no. 1

School of Engineering Mechatronics Engineering Department. Experim. ment no. 1 University of Jordan School of Engineering Mechatronics Engineering Department 2010 Mechatronics System Design Lab Experim ment no. 1 PRINCIPLES OF SWITCHING Copyrights' are held by : Eng. Ala' Bata &

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

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

The Torxis Linear Servo meets the following environmental conditions:

The Torxis Linear Servo meets the following environmental conditions: Page: 1 1. PRODUCT DESCRIPTION The Torxis Linear Servo is the second generation of linear servos provided by GearWurx. This product features internal position sensing, and closed loop position control.

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

FRIDAY, 18 MAY 1.00 PM 4.00 PM. Where appropriate, you may use sketches to illustrate your answer.

FRIDAY, 18 MAY 1.00 PM 4.00 PM. Where appropriate, you may use sketches to illustrate your answer. X036/13/01 NATIONAL QUALIFICATIONS 2012 FRIDAY, 18 MAY 1.00 PM 4.00 PM TECHNOLOGICAL STUDIES ADVANCED HIGHER 200 marks are allocated to this paper. Answer all questions in Section A (120 marks). Answer

More information

WifiBotics. An Arduino Based Robotics Workshop

WifiBotics. An Arduino Based Robotics Workshop WifiBotics An Arduino Based Robotics Workshop WifiBotics is the workshop designed by RoboKart group pioneers in this field way back in 2014 and copied by many competitors. This workshop is based on the

More information

RFID ACCESS CONTROL. SRðAN LALE FACULTY OF ELECTRICAL ENGINEERING EASTERN SARAJEVO

RFID ACCESS CONTROL. SRðAN LALE FACULTY OF ELECTRICAL ENGINEERING EASTERN SARAJEVO RFID ACCESS CONTROL SRðAN LALE FACULTY OF ELECTRICAL ENGINEERING EASTERN SARAJEVO 1 INTRODUCTION RFID (RADIO - FREQUENCY IDENTIFICATION) systems use RF signals for identification of people, animals and

More information

1 Day Robot Building (MC40A + Aluminum Base) for Edubot 2.0

1 Day Robot Building (MC40A + Aluminum Base) for Edubot 2.0 1 Day Robot Building (MC40A + Aluminum Base) for Edubot 2.0 Have you ever thought of making a mobile robot in 1 day? Now you have the chance with MC40A Mini Mobile Robot Controller + some accessories.

More information

Programming PIC Microchips

Programming PIC Microchips Programming PIC Microchips Fís Foghlaim Forbairt Programming the PIC microcontroller using Genie Programming Editor Workshop provided & facilitated by the PDST www.t4.ie Page 1 DC motor control: DC motors

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

Microcontroller Based Electric Expansion Valve Controller for Air Conditioning System

Microcontroller Based Electric Expansion Valve Controller for Air Conditioning System Microcontroller Based Electric Expansion Valve Controller for Air Conditioning System Thae Su Aye, and Zaw Myo Lwin Abstract In the air conditioning system, the electric expansion valve (EEV) is one of

More information

DC-Motor Driver circuits

DC-Motor Driver circuits DC-Mot May 19, 2012 Why is there a need for a motor driver circuit? Normal DC gear-head motors requires current greater than 250mA. ICs like 555 timer, ATmega Microcontroller, 74 series ICs cannot supply

More information

Introduction to MS150

Introduction to MS150 Introduction to MS150 Objective: To become familiar with the modules and how they operate. Equipment Required: Following equipment is required to perform above task. Quantity Apparatus 1 OU150A Operation

More information

Brushless 5 click. PID: MIKROE 3032 Weight: 25 g

Brushless 5 click. PID: MIKROE 3032 Weight: 25 g Brushless 5 click PID: MIKROE 3032 Weight: 25 g Brushless 5 click is a 3 phase sensorless BLDC motor controller, with a soft-switching feature for reduced motor noise and EMI, and precise BEMF motor sensing,

More information

ServoStep technology

ServoStep technology What means "ServoStep" "ServoStep" in Ever Elettronica's strategy resumes seven keypoints for quality and performances in motion control applications: Stepping motors Fast Forward Feed Full Digital Drive

More information

Motor control using FPGA

Motor control using FPGA Motor control using FPGA MOTIVATION In the previous chapter you learnt ways to interface external world signals with an FPGA. The next chapter discusses digital design and control implementation of different

More information

THE IMPORTANCE OF PLANNING AND DRAWING IN DESIGN

THE IMPORTANCE OF PLANNING AND DRAWING IN DESIGN PROGRAM OF STUDY ENGR.ROB Standard 1 Essential UNDERSTAND THE IMPORTANCE OF PLANNING AND DRAWING IN DESIGN The student will understand and implement the use of hand sketches and computer-aided drawing

More information

Design and Development of an Innovative Advertisement Display with Flipping Mechanism

Design and Development of an Innovative Advertisement Display with Flipping Mechanism Design and Development of an Innovative Advertisement Display with Flipping Mechanism Raymond Yeo K. W., P. Y. Lim, Farrah Wong Abstract Attractive and creative advertisement displays are often in high

More information

Introduction to Relays. ECE/CS 5780/6780: Embedded System Design. Various Relay Configurations. Types of Relays. Drawing of an EM Relay

Introduction to Relays. ECE/CS 5780/6780: Embedded System Design. Various Relay Configurations. Types of Relays. Drawing of an EM Relay Introduction to Relays ECE/CS 5780/6780: Embedded System Design Chris J. Myers Lecture 15: Relays and Motors A relay is a device that responds to a small current or voltage change by activating a switches

More information

AN Industrial Stepper Motor Driver. Application Note Abstract. Introduction. Stepper Motor Control Method

AN Industrial Stepper Motor Driver. Application Note Abstract. Introduction. Stepper Motor Control Method Industrial Stepper Motor Driver AN43679 Author: Dino Gu, Bill Jiang, Jemmey Huang Associated Project: Yes Associated Part Family: CY8C27x43, CY8C29x66 GET FREE SAMPLES HERE Software Version: PSoC Designer

More information

Interfacing to Analog World Sensor Interfacing

Interfacing to Analog World Sensor Interfacing Interfacing to Analog World Sensor Interfacing Introduction to Analog to digital Conversion Why Analog to Digital? Basics of A/D Conversion. A/D converter inside PIC16F887 Related Problems Prepared By-

More information

Laboratory Tutorial#1

Laboratory Tutorial#1 Laboratory Tutorial#1 1.1. Objective: To become familiar with the modules and how they operate. 1.2. Equipment Required: Following equipment is required to perform above task. Quantity Apparatus 1 OU150A

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

Speed Rate Corrected Antenna Azimuth Axis Positioning System

Speed Rate Corrected Antenna Azimuth Axis Positioning System International Journal of Electronics Engineering Research. ISSN 0975-6450 Volume 9, Number 2 (2017) pp. 151-158 Research India Publications http://www.ripublication.com Speed Rate Corrected Antenna Azimuth

More information

LED Driver 5 click. PID: MIKROE 3297 Weight: 25 g

LED Driver 5 click. PID: MIKROE 3297 Weight: 25 g LED Driver 5 click PID: MIKROE 3297 Weight: 25 g LED Driver 5 click is a Click board capable of driving an array of high-power LEDs with constant current, up to 1.5A. This Click board features the TPS54200,

More information

PART 2 - ACTUATORS. 6.0 Stepper Motors. 6.1 Principle of Operation

PART 2 - ACTUATORS. 6.0 Stepper Motors. 6.1 Principle of Operation 6.1 Principle of Operation PART 2 - ACTUATORS 6.0 The actuator is the device that mechanically drives a dynamic system - Stepper motors are a popular type of actuators - Unlike continuous-drive actuators,

More information

Part (A) Using the Potentiometer and the ADC* Part (B) LEDs and Stepper Motors with Interrupts* Part (D) Breadboard PIC Running a Stepper Motor

Part (A) Using the Potentiometer and the ADC* Part (B) LEDs and Stepper Motors with Interrupts* Part (D) Breadboard PIC Running a Stepper Motor Name Name (Most parts are team so maintain only 1 sheet per team) ME430 Mechatronic Systems: Lab 5: ADC, Interrupts, Steppers, and Servos The lab team has demonstrated the following tasks: Part (A) Using

More information

Automobile Prototype Servo Control

Automobile Prototype Servo Control IJIRST International Journal for Innovative Research in Science & Technology Volume 2 Issue 10 March 2016 ISSN (online): 2349-6010 Automobile Prototype Servo Control Mr. Linford William Fernandes Don Bosco

More information

DMC-8 (SKU#ROB )

DMC-8 (SKU#ROB ) DMC-8 (SKU#ROB-01-007) Selectable serial or parallel interface Use with Microcontroller or PC Controls 2 DC motors For 5 24 Volt Motors 8 Amps per channel Windows software included Fuse protection Dual

More information

The NMIH-0050 H-Bridge

The NMIH-0050 H-Bridge The NMIH-0050 H-Bridge Features: 5 A continuous, 6 A peak current Supply voltages from 5.3V up to 40V Terminal block for power / motor Onboard LEDs for motor operation/direction Onboard LED for motor supply

More information

Temperature controlling system using embedded equipment

Temperature controlling system using embedded equipment IOP Conference Series: Materials Science and Engineering PAPER OPEN ACCESS Temperature controlling system using embedded equipment To cite this article: R Rob et al 2017 IOP Conf. Ser.: Mater. Sci. Eng.

More information

Electronic Speed Controls and RC Motors

Electronic Speed Controls and RC Motors Electronic Speed Controls and RC Motors ESC Power Control Modern electronic speed controls regulate the electric power applied to an electric motor by rapidly switching the power on and off using power

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

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

Built-in soft-start feature. Up-Slope and Down-Slope. Power-Up safe start feature. Motor will only start if pulse of 1.5ms is detected.

Built-in soft-start feature. Up-Slope and Down-Slope. Power-Up safe start feature. Motor will only start if pulse of 1.5ms is detected. Thank You for purchasing our TRI-Mode programmable DC Motor Controller. Our DC Motor Controller is the most flexible controller you will find. It is user-programmable and covers most applications. This

More information

PLC BASED RAILWAY LEVEL CROSSING GATE CONTROL

PLC BASED RAILWAY LEVEL CROSSING GATE CONTROL PLC BASED RAILWAY LEVEL CROSSING GATE CONTROL R.Gopinathan *1 and B.Sivashankar #2 * Assistant professor, Mechatronics, SNS College of Technology, Coimbatore,India. # UG scholar, Mechatronics, SNS College

More information

III. MATERIAL AND COMPONENTS USED

III. MATERIAL AND COMPONENTS USED Prototype Development of a Smartphone- Controlled Robotic Vehicle with Pick- Place Capability Dheeraj Sharma Electronics and communication department Gian Jyoti Institute Of Engineering And Technology,

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

EE 314 Spring 2003 Microprocessor Systems

EE 314 Spring 2003 Microprocessor Systems EE 314 Spring 2003 Microprocessor Systems Laboratory Project #9 Closed Loop Control Overview and Introduction This project will bring together several pieces of software and draw on knowledge gained in

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

The Motor sketch. One Direction ON-OFF DC Motor

The Motor sketch. One Direction ON-OFF DC Motor One Direction ON-OFF DC Motor The DC motor in your Arduino kit is the most basic of electric motors and is used in all types of hobby electronics. When current is passed through, it spins continuously

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

Laboratory Seven Stepper Motor and Feedback Control

Laboratory Seven Stepper Motor and Feedback Control EE3940 Microprocessor Systems Laboratory Prof. Andrew Campbell Spring 2003 Groups Names Laboratory Seven Stepper Motor and Feedback Control In this experiment you will experiment with a stepper motor and

More information

Stepper Motors in C. Unipolar (5 lead) stepper motorr. $1.95 from 100 steps per rotation. 24V / 160mA / 600 gm cm holding 160mA

Stepper Motors in C. Unipolar (5 lead) stepper motorr. $1.95 from  100 steps per rotation. 24V / 160mA / 600 gm cm holding 160mA U tepper Motors ugust 22, 2017 tepper Motors in Unipolar (5 lead) stepper motorr. $1.95 from www.mpja.com 100 steps per rotation. 24V / 160m / 600 gm cm holding torque @ 160m stepper motor is a digital

More information

VEX Robotics Platform and ROBOTC Software. Introduction

VEX Robotics Platform and ROBOTC Software. Introduction VEX Robotics Platform and ROBOTC Software Introduction VEX Robotics Platform: Testbed for Learning Programming VEX Structure Subsystem VEX Structure Subsystem forms the base of every robot Contains square

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

M-S Quad Driver X12.017

M-S Quad Driver X12.017 X.07.0.SP.E M-S Quad river X.07 M-S Quad river X.07 Features Typical Operating onfiguration - generates microsteps - glitch filters on all inputs - =.5 to 5.5V - low EMI emission System µ-processor escription

More information

PREREQUISITES: MODULE 10: MICROCONTROLLERS II; MODULE 14: DISCRETE COMPONENTS. MODULE 13 (SENSORS) WOULD ALSO BE HELPFUL.

PREREQUISITES: MODULE 10: MICROCONTROLLERS II; MODULE 14: DISCRETE COMPONENTS. MODULE 13 (SENSORS) WOULD ALSO BE HELPFUL. ELECTROMECHANICAL SYSTEMS PREREQUISITES: MODULE 10: MICROCONTROLLERS II; MODULE 14: DISCRETE COMPONENTS. MODULE 13 (SENSORS) WOULD ALSO BE HELPFUL. OUTLINE OF MODULE 17: What you will learn about in this

More information

Stepper Motors and Control Part I - Unipolar Stepper Motor and Control (c) 1999 by Rustle Laidman, All Rights Reserved

Stepper Motors and Control Part I - Unipolar Stepper Motor and Control (c) 1999 by Rustle Laidman, All Rights Reserved Copyright Notice: (C) June 2000-2008 by Russell Laidman. All Rights Reserved. ------------------------------------------------------------------------------------ The material contained in this project,

More information

Integrated Easy Servo

Integrated Easy Servo ies 1706 Integrated Easy Servo Motor + Drive + Encoder, 18 32VDC, NEMA17, 0.6Nm Features Easy servo control technology to combine advantages of open loop stepper systems and brushless servo systems Closed

More information

PID MOTOR CONTROLLER. Version 1.0. October Cytron Technologies Sdn. Bhd.

PID MOTOR CONTROLLER. Version 1.0. October Cytron Technologies Sdn. Bhd. PID MOTOR CONTROLLER PR24 Version 1.0 October 2009 Cytron Technologies Sdn. Bhd. Information contained in this publication regarding device applications and the like is intended through suggestion only

More information

ies-2309 Integrated Easy Servo

ies-2309 Integrated Easy Servo Datasheet of the integrated easy servo motor ies-09 ies-09 Integrated Easy Servo Motor + Drive + Encoder, 0-0VDC, NEMA, 0.9Nm Features Easy servo control technology to combine advantages of open-loop stepper

More information

Contents NUDRIVE ACCESSORY USER GUIDE

Contents NUDRIVE ACCESSORY USER GUIDE USER GUIDE NUDRIVE ACCESSORY Contents This user guide describes the electrical and mechanical aspects of the nudrive power amplifier accessory and describes how to use the nudrive with your motion controller.

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

TB6612FNG Dual Motor Driver Carrier

TB6612FNG Dual Motor Driver Carrier TB6612FNG Dual Motor Driver Carrier Overview The TB6612FNG (308k pdf) is a great dual motor driver that is perfect for interfacing two small DC motors such as our micro metal gearmotors to a microcontroller,

More information

EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs Introduction to Arduino

EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs Introduction to Arduino EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs 10-11 Introduction to Arduino In this lab we will introduce the idea of using a microcontroller as a tool for controlling

More information

Directions for Wiring and Using The GEARS II (2) Channel Combination Controllers

Directions for Wiring and Using The GEARS II (2) Channel Combination Controllers Directions for Wiring and Using The GEARS II (2) Channel Combination Controllers PWM Input Signal Cable for the Valve Controller Plugs into the RC Receiver or Microprocessor Signal line. White = PWM Input

More information

DM8010 tm. Hardware Reference Manual. Document Revision B3 May 16, 2018

DM8010 tm. Hardware Reference Manual. Document Revision B3 May 16, 2018 tm Hardware Reference Manual Document Revision B3 May 16, 2018 MICROKINETICS CORPORATION 3380 Town Point Drive Suite 330 Kennesaw, Georgia 30144 Tel: (770) 422-7845 Fax: (770) 422-7854 Table Of Contents

More information

MicroToys Guide: Motors N. Pinckney April 2005

MicroToys Guide: Motors N. Pinckney April 2005 Introduction Three types of motors are applicable to small projects: DC brushed motors, stepper motors, and servo motors. DC brushed motors simply rotate in a direction dependent on the flow of current.

More information

Available online Journal of Scientific and Engineering Research, 2018, 5(4): Research Article

Available online   Journal of Scientific and Engineering Research, 2018, 5(4): Research Article Available online www.jsaer.com, 2018, 5(4):341-349 Research Article ISSN: 2394-2630 CODEN(USA): JSERBR Arduino Based door Automation System Using Ultrasonic Sensor and Servo Motor Orji EZ*, Oleka CV, Nduanya

More information

HB-25 Motor Controller (#29144)

HB-25 Motor Controller (#29144) Web Site: www.parallax.com Forums: forums.parallax.com Sales: sales@parallax.com Technical: support@parallax.com Office: (916) 624-8333 Fax: (916) 624-8003 Sales: (888) 512-1024 Tech Support: (888) 997-8267

More information

Introduction: Components used:

Introduction: Components used: Introduction: As, this robotic arm is automatic in a way that it can decides where to move and when to move, therefore it works in a closed loop system where sensor detects if there is any object in a

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

Jaguar speed controllers

Jaguar speed controllers Jaguar speed controllers When used with CAN control, Jaguars are smart speed controllers. You can simply send a command to the Jaguar such as a position setpoint and it will use attached sensors to move

More information

Positioning drives DC motor, brushless Absolute multiturn position detection, Profibus-DP

Positioning drives DC motor, brushless Absolute multiturn position detection, Profibus-DP Features Positioning drive with worm gear bevel geared shaft Profibus-DP Brushless DC motor Absolute multiturn position detection Nominal power output 80 W inputs programmable Separate communication and

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

Figure 1. Digilent DC Motor

Figure 1. Digilent DC Motor Laboratory 9 - Usage of DC- and servo-motors The current laboratory describes the usage of DC and servomotors 1. DC motors Figure 1. Digilent DC Motor Classical DC motors are converting electrical energy

More information

Microprocessors A Lab 4 Fall Analog to Digital Conversion Using the PIC16F684 Microcontroller

Microprocessors A Lab 4 Fall Analog to Digital Conversion Using the PIC16F684 Microcontroller Objectives Materials 17.383 Microprocessors A Analog to Digital Conversion Using the PIC16F684 Microcontroller 1) To use MPLAB IDE software, PICC Compiler, and external hardware to demonstrate the following:

More information

Semiconductor 9/21/2015

Semiconductor 9/21/2015 Semiconductor Electronics 9/21/2015 Starting simple the diode. The diode is one of the simplest semiconductor devices. It is comprised of two layers of semiconductor. One is impregnated with an electron

More information

PEAKTRONICS AMC-103 ADDITIONAL FEATURES. AC Motor Controller, 2A AMC-103 AMC-103A AMC-103B

PEAKTRONICS AMC-103 ADDITIONAL FEATURES. AC Motor Controller, 2A AMC-103 AMC-103A AMC-103B PEAKTRONICS The Peaktronics AC Motor Controller is a compact module that is intended for controlling small AC actuator motors of up to 2A. The is very well suited for applications where space constraints

More information

Servo click. PID: MIKROE 3133 Weight: 32 g

Servo click. PID: MIKROE 3133 Weight: 32 g Servo click PID: MIKROE 3133 Weight: 32 g Servo click is a 16-channel PWM servo driver with the voltage sensing circuitry. It can be used to simultaneously control 16 servo motors, each with its own programmable

More information

Page 1. Relays. Poles and Throws. Relay Types. Common embedded system problem CS/ECE 6780/5780. Al Davis. Terminology used for switches

Page 1. Relays. Poles and Throws. Relay Types. Common embedded system problem CS/ECE 6780/5780. Al Davis. Terminology used for switches Relays CS/ECE 6780/5780 Al Davis Today s topics: Relays & Motors prelude to 5780 Lab 9 Common embedded system problem digital control: relatively small I & V levels controlled device requires significantly

More information

ECE 511: FINAL PROJECT REPORT GROUP 7 MSP430 TANK

ECE 511: FINAL PROJECT REPORT GROUP 7 MSP430 TANK ECE 511: FINAL PROJECT REPORT GROUP 7 MSP430 TANK Team Members: Andrew Blanford Matthew Drummond Krishnaveni Das Dheeraj Reddy 1 Abstract: The goal of the project was to build an interactive and mobile

More information

Application Information

Application Information Application Information Allegro Motor Driving with Angular Sensor IC By Christophe Lutz, Andrea Foletto, Kamyar Khosravi, Masahira Kurihara, Charles Keefer, and Ryan Bradley, Allegro Microsystems France,

More information

Testing the hardware 7. Worksheet 1 - Driving the DC motor 8. Worksheet 2 - Driving the stepper motor 10. Worksheet 3 - Driving the servo motor 12

Testing the hardware 7. Worksheet 1 - Driving the DC motor 8. Worksheet 2 - Driving the stepper motor 10. Worksheet 3 - Driving the servo motor 12 Page 2 Contents The hardware 3 Testing the hardware 7 Worksheet 1 - Driving the DC motor 8 Worksheet 2 - Driving the stepper motor 10 Worksheet 3 - Driving the servo motor 12 Worksheet 4 - Measuring heart-rate

More information

Introduction to PLC and Ladder Logic Programming

Introduction to PLC and Ladder Logic Programming Introduction Introduction to PLC and Ladder Logic Programming A PLC (Programmable Logic Controller) is an industrial computer used for automation of electromechanical processes, such as control of machinery

More information

Stepper motor basics

Stepper motor basics APPLICATIONNOTE001 Stepper motor basics What is a stepper motor? A stepper motor is an electromechanical system which is transducing an electrical signal into a mechanical one. It is designed to accomplish

More information

Administrative Notes. DC Motors; Torque and Gearing; Encoders; Motor Control. Today. Early DC Motors. Friday 1pm: Communications lecture

Administrative Notes. DC Motors; Torque and Gearing; Encoders; Motor Control. Today. Early DC Motors. Friday 1pm: Communications lecture At Actuation: ti DC Motors; Torque and Gearing; Encoders; Motor Control RSS Lecture 3 Wednesday, 11 Feb 2009 Prof. Seth Teller Administrative Notes Friday 1pm: Communications lecture Discuss: writing up

More information

Lab 5: Inverted Pendulum PID Control

Lab 5: Inverted Pendulum PID Control Lab 5: Inverted Pendulum PID Control In this lab we will be learning about PID (Proportional Integral Derivative) control and using it to keep an inverted pendulum system upright. We chose an inverted

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

Controlling Stepper Motors Using the Power I/O Wildcard

Controlling Stepper Motors Using the Power I/O Wildcard Mosaic Industries Controlling Stepper Motors Using the Power I/O Wildcard APPLICATION NOTE MI-AN-072 2005-09-15 pkc The Mosaic Stepper Motor The Mosaic stepper motor is a four-phase, unipolar stepping

More information

ECE 511: MICROPROCESSORS

ECE 511: MICROPROCESSORS ECE 511: MICROPROCESSORS A project report on SNIFFING DOG Under the guidance of Prof. Jens Peter Kaps By, Preethi Santhanam (G00767634) Ranjit Mandavalli (G00819673) Shaswath Raghavan (G00776950) Swathi

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

Hashemite University Faculty of Engineering Mechatronics Engineering Department. Microprocessors and Microcontrollers Laboratory

Hashemite University Faculty of Engineering Mechatronics Engineering Department. Microprocessors and Microcontrollers Laboratory Hashemite University Faculty of Engineering Mechatronics Engineering Department Microprocessors and Microcontrollers Laboratory The Hashemite University Faculty of Engineering Department of Mechatronics

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

Galil Motion Control. DMC 3x01x. Datasheet

Galil Motion Control. DMC 3x01x. Datasheet Galil Motion Control DMC 3x01x Datasheet 1-916-626-0101 Galil Motion Control 270 Technology Way, Rocklin, CA [Type here] [Type here] (US ONLY) 1-800-377-6329 [Type here] Product Description The DMC-3x01x

More information