KyungHee Univ. 2-0 Chapter 8 Parallel Port Interfaces.

Slides:



Advertisements
Similar presentations
MICROPROCESSORS AND MICROCONTROLLERS
Advertisements

Basic Electronics Part 7: Actuators
MOTION CONTROL ECE 105 Industrial Electronics Engr. Jeffrey T. Dellosa College of Engineering and Information Technology Caraga State University Ampayon,
KEB COMBIVERT F5-M Exercises.
Controlling Motors OBEY ME!. On-Off Control 1. Switch control.
SUN TRACKING SOLAR PANEL. Introduction The main objective of this project is to track the sun and rotate the solar panel accordingly, to receive sunlight.
1 4-Integrating Peripherals in Embedded Systems (cont.)
Submitted by Adnan Hassoneh Asad Alsebaee Ayoub Qadoos Mutasem Essa Abed Alqader Salameh Supervised by Dr. Salameh Abd Alfattah.
EML 2023 – Motor Control Lecture 4 – DAQ and Motor Controller.
EET 2261 Unit 13 Controlling Stepper Motors and Servos  Read Almy, Chapter 21.  Lab #13 due next week.  Final Exam next week.
L.
Stepper Motors. Motors coils of conductive wire magnetic fields rotational motion –except for linear induction motor everywhere from the very large (LRT)
03/11/03Nate Lamie Power Drivers. 03/11/03Nate Lamie Background Used to provide interface between low-level logic and power loads.
Stepper Motors A stepper motor is a “pulse-driven” motor that changes the angular position of the rotor in “steps” Define –β = the step angle (per input.
Coordinate Based Tracking System
Arduino. Arduino is a tool for making computers that can sense and control more of the physical world than your desktop computer. It's an open-source.
SENIOR DESIGN 10/16.
ACTIVE SUSPENSION TEST PLATFORM BRANDON NAYDEN & CHIAO LIU BY ADVISED BY: STEVEN GUTSCHLAG.
1 Eric Taseski, Yihe Huang, Ronak Mehta H-Bridges and Stepper Motors 2.
DC Motors, Stepper Motors, H-bridges DC Motors Stepper Motors Motor Control Circuits – Relays – H-bridges.
©2008 The McGraw-Hill Companies, Inc. All rights reserved. Digital Electronics Principles & Applications Seventh Edition Chapter 5 IC Specifications and.
Computer-Controlled Current Switches BJT Transistors
To control the movement of a manual wheelchair by means of human voice for paralyzed patients. AIM:
1 Electronic Circuits TRANSISTOR PRINCIPLES & APPLICATIONS.
Electric Motors and Motion Control Ara Knaian. Motors Motors convert electrical energy to mechanical energy Motors make things move LINEAR ELECTROSTATIC.
ENGR 6806 – Motor Control Prepared By: Rob Collett September 15, Office: EN2074.
KyungHee Univ. 2-0 Parallel Port LED Interfaces. KyungHee Univ. 2-1 Output LEDs.
Dan O. Popa, Intro to EE, Spring 2015 EE 1106 : Introduction to EE Freshman Practicum Lecture-Lab 12: Introduction to DC Motors and Control.
1 ARM University Program Copyright © ARM Ltd 2013 General Purpose I/O.
Arnan Sipitakiat Dept. Compute Engineering, Chiang Mai University.
By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad 27 December 2010.
Other Chapters From the text by Valvano: Introduction to Embedded Systems: Interfacing to the Freescale 9S12.
Instrumentation & Control Engg. Section Electrical Engineering Department Ahmedabad , Gujarat.
Motors & Motor Drivers ECE 450.
1 PRELIMINARY PCB LAYOUT Autonomous Targeting Vehicle (ATV) Daniel Barrett Sebastian Hening Sandunmalee Abeyratne Anthony Myers.
1 2Electronics Principles & Applications Sixth Edition Chapter 5 Transistors ©2003 Glencoe/McGraw-Hill Charles A. Schuler.
Automatic accident avoiding system PROJECT MEMBERS MUTHUKUMAR.K (05ME33) SAKTHIDHASAN.S (05ME39) SAKTHIVEL.N (05ME40) VINOTH.S (05ME56) PROJECT GUIDE:
MOTORS. Definition Of Motor That powered by electricity or internal combustion, that supplies motive power for a vehicle or for some other device. A device.
DPCL Solid State Device Discrete Control Lecture.
Mar 18, 2003PFIS CDR1 Control System Summary of Changes Since PDR All the motors, drivers, sensors, switches, etc. have been chosen Built up a mechanism.
Knocker Unlocker JACOB GILBERT | SENIOR DESIGN PROJECT 1.
PIC18F4431. PIC18F1330 Infrared Encoder/Decoder.
Submitted by:.  Project overview  Block diagram  Power supply  Microcontroller  MAX232 & DB9 Connector  Relay  Relay driver  Software requirements.
MICROCONTROLLER INTERFACING WITH STEPPER MOTOR MADE BY: Pruthvirajsinh Jadeja ( ) COLLEGE:DIET BRANCH:EC.
The 8051 Microcontroller and Embedded Systems, 2e By Muhammad Ali Mazidi, Janice Gillispie Mazidi, and Rolin D. McKinlay © 2006 Pearson Education, Inc.
Sitarambhai Naranjibhai Patel Institute Of Technology & R.C.
Engineering H191 - Drafting / CAD Gateway Engineering Education Coalition Lab 7P. 1Autumn Quarter DC Motors Lab 7.
WHY PARALLEL PORT? The simplest computer controlled robot Requires only basic programming skills in C to start off with Can take inputs from your robot.
A PRESENTATION ON RELAY, OPTOISOLATOR AND STEPPER MOTOR INTERFACING WITH AVR Prepared By:- Katariya Prakash[ ] Kathiriya Shalin[ ]
WATER LEVEL INDICATOR AND AUTOMATIC MOTOR SWITCHING SYSTEM
INTERFACING HARDWARE WITH MICROCONTROLLER GUIDED BY: Prof. ASIF SIR 1. AKSHAY KIRAN 2. DEEP PARIKH 3. JIGAR PATEL 4. TILAK PATEL ,05,D2D06,09.
One area where in which microprocessor and microcomputers have a major impact is industrial processor control systems. Process control involves first.
Introduction to Motors, servos and steppers
OVER VOLTAGE OR UNDER VOLTAGE
OVER VOLTAGE OR UNDER VOLTAGE
LOAD CUTOFF SWITCH UPON OVER VOLTAGE OR UNDER VOLTAGE
PC Mouse operated Electrical Load Control Using VB Application
Chapter E –Transistors and H-Bridges
Principles & Applications and Simple Interfacing
MAINS SUPPLY SENSED Over Voltage
DC Motor and Stepper Controller
Lesson 9: Digital Input-Output Signal Interfacing
PLC Hardware Components.
Output Relay, Optoisolator, and Stepper motor interfacing with AVR
Introduction to H-Bridge
EET 2261 Unit 12 Controlling Stepper Motors and Servos
Station 3: Electro – Mechanical – Fluid - Flow
Relay, Optoisolator, and Stepper Motor Interfacing
1.15: Dual Joystick Control (Tank)
ACOE347 – Data Acquisition and Automation Systems
Presentation transcript:

KyungHee Univ. 2-0 Chapter 8 Parallel Port Interfaces

KyungHee Univ Transistors Used for Computer-Controlled Current Switches  전류 제어 Switch(BJT)

KyungHee Univ Transistors Used for Computer-Controlled Current Switches

KyungHee Univ Transistors Used for Computer-Controlled Current Switches

KyungHee Univ Computer-Controlled Relays, Solenoids, and DC Motors Introduction to Relays

KyungHee Univ Introduction to Relays  제어 회로와 다른 전원으로 구동하는 Relay 의 예

KyungHee Univ Introduction to Relays

KyungHee Univ Electromagnetic Relays Basics

KyungHee Univ Electromagnetic Relays Basics

KyungHee Univ Electromagnetic Relays Basics

KyungHee Univ reed Relays

KyungHee Univ Solenoids

KyungHee Univ Solenoids

KyungHee Univ Pulse-Width Modulated DC Motors  DC 모터의 속도 제어 ( 모터에 가해지는 실효 전력을 제어 함 ) 를 위하여 펄스 폭 변조 기술을 사용 한다.

KyungHee Univ Interfacing EM Relays, Solenoids, and DC Motors

KyungHee Univ Interfacing EM Relays, Solenoids, and DC Motors DiodeMaximum voltage (V) 1N N N N N N N N Table 8.12 Maximum voltage parameter for typical snubber diodes

KyungHee Univ Interfacing EM Relays, Solenoids, and DC Motors

KyungHee Univ Interfacing EM Relays, Solenoids, and DC Motors

KyungHee Univ Interfacing EM Relays, Solenoids, and DC Motors

KyungHee Univ Interfacing EM Relays, Solenoids, and DC Motors

KyungHee Univ Interfacing EM Relays, Solenoids, and DC Motors

KyungHee Univ Interfacing EM Relays, Solenoids, and DC Motors

KyungHee Univ Interfacing EM Relays, Solenoids, and DC Motors

KyungHee Univ Interfacing EM Relays, Solenoids, and DC Motors

KyungHee Univ Interfacing EM Relays, Solenoids, and DC Motors

KyungHee Univ Interfacing EM Relays, Solenoids, and DC Motors

KyungHee Univ. DC Motor and Stepper Controller Current Motor Supply Logic Current Sensing Voltage Enable Supply Enable Sensing A Out Out Vs In A In GND Vs In B In Out Out B GND Dir1 En1 Dir2 En2 Vcc In Put Control Signal Connector +Vout 1 Motor 1 -Vout1 +Vout 2 Motor 2 -Vout2 Vs Supply Voltage GND uF 35V Vs 2W06 L298N Vs Supply Voltage GND

Dual Full-Bridge Driver L298 High voltage : 46V high current : 4A Dual full-bridge driver Accept standard TTL logic levels Drive inductive loads such as Relays, Solenoids, DC and, Stepping motors KyungHee Univ. 2-27

L289 Block Diagram KyungHee Univ M M

KyungHee Univ Solid-State Relays

KyungHee Univ Solid-State Relays

KyungHee Univ Solid-State Relays

KyungHee Univ Stepper Motors

KyungHee Univ Stepper Motors Example

KyungHee Univ Stepper Motors Example PORTB Output AA’A’BB’B’ 10ActivateDeactivateActivateDeactivate 9ActivateDeactivate Activate 5DeactivateActivateDeactivateActivate 6DeactivateActivate Deactivate Table 8.13 Stepper motor sequence

KyungHee Univ Stepper Motors Example

KyungHee Univ Program A double circular linked list used to control the stepper motor. // 6811 or 6812 const struct State{ unsigned char Out; // Output const struct State *Next[2]; // CW/CCW }; typedef struct State StateType; typedef StateType *StatePtr; #define clockwise 0 // Next index #define counterclockwise 1 // Next index StateType fsm[4]={ {10,{&fsm[1],&fsm[3]}}, { 9,{&fsm[2],&fsm[0]}}, { 5,{&fsm[3],&fsm[1]}}, { 6,{&fsm[0],&fsm[2]}} }; unsigned char Pos; // between 0 and 199 StatePtr Pt; // Current State

KyungHee Univ Program Helper functions used to control the stepper motor. // 6811 or 6812 // Move 1.8 degrees clockwise void CW(void){ Pt = Pt->Next[clockwise]; // circular PORTB = Pt->Out; // step motor if(Pos==199){ // shaft angle Pos = 0; // reset } else{ Pos++; // CW } // Move 1.8 degrees counterclockwise void CCW(void){ Pt = Pt->Next[counterclockwise PORTB = Pt->Out; // step motor if(Pos==0){ // shaft angle Pos = 199; // reset } else{ Pos--; // CCW } // Initialize Stepper interface void Init(void){ Pos = 0; Pt = &fsm[0]; DDRB = 0xFF; // 6812 only }

KyungHee Univ Program High-level function to control the stepper motor. // 6811 or 6812 void Seek(unsigned char desired){ short CWsteps; if((CWsteps=desired-Pos)<0){ CWsteps+=200; } // CW steps is 0 to 199 if(CWsteps>100){ while(desired<>Pos){ CCW(); } else{ while(desired<>Pos){ CW(); }

KyungHee Univ Basic Operation

KyungHee Univ Basic Operation

KyungHee Univ Basic Operation

KyungHee Univ Basic Operation

KyungHee Univ Basic Operation

KyungHee Univ Basic Operation

KyungHee Univ Basic Operation

KyungHee Univ Basic Operation

KyungHee Univ Stepper Motor Hardware Interface

KyungHee Univ Stepper Motor Hardware Interface

KyungHee Univ Stepper Motor Hardware Interface

KyungHee Univ Stepper Motor Hardware Interface

KyungHee Univ Stepper Motor Shaft Encoder

KyungHee Univ Stepper Motor Shaft Encoder

KyungHee Univ Stepper Motor Shaft Encoder

KyungHee Univ. 2-54

KyungHee Univ. 2-55

KyungHee Univ. 2-56

KyungHee Univ. 2-57

KyungHee Univ. 2-58

KyungHee Univ. 2-59

KyungHee Univ. 2-60

KyungHee Univ. 2-61