 Stepper motors are used in a wide variety of applications like Floppy Disc, Printer, Plotter(X-Y- Z positioning).  We control the stepper motor using.

Slides:



Advertisements
Similar presentations
D-Type Flip Flops Benchmark Companies Inc PO Box
Advertisements

D Flip-Flop.
Lecture 23: Registers and Counters (2)
The 8051 Microcontroller and Embedded Systems
Moments and Torque living with the lab Torque, also called moment or moment of force, is the tendency of a force to rotate an object about an axis, fulcrum,
Counters Chapter 17 Subject: Digital System Year: 2009.
CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
EET 1131 Unit 10 Flip-Flops and Registers
ENGIN112 L27: Counters November 5, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 27 Counters.
8254 Modes Made by: Ryan wahab (8) Modes Gate is low the count will be paused Gate is high Will continue counting Mode 0: An events counter.
CS370 Counters. Overview °Counter: A register that goes through a prescribed series of states °Counters are important components in computers. °Counters.
CS 140L Lecture 4 Professor CK Cheng 10/22/02. 1)F-F 2)Shift register 3)Counter (Asynchronous) 4)Counter (Synchronous)
Counters and Registers Wen-Hung Liao, Ph.D.. Objectives Understand several types of schemes used to decode different types of counters. Anticipate and.
What is shift register? A shift register is a digital memory circuit found in calculators, computers, and data-processing systems. Bits (binary digits)
Flip-flops. Outline  Edge-Triggered Flip-flops  S-R Flip-flop  D Flip-flop  J-K Flip-flop  T Flip-flop  Asynchronous Inputs.
ENEE 440 Chapter Timer 8254 Register Select The 8254 timer is actually 3 timers in one. It is an upgraded version of the 8253 timer which was.
8254 Counter/Timer Counter Each of the three counter has 3 pins associated CLK: input clock frequency- 8 MHz OUT GATE: Enable (high) or disable.
1 L Fall 2003 – Introductory Digital Systems Laboratory Motors and Position Determination.
MCU: Interrupts and Timers Ganesh Pitchiah. What’s an MCU ?
10/10/ Controlling YOUR ROBOT. 10/10/2015 Basic Stamp  Basic Stamp Input - output pins Interpreter Chip Power supply: 5 Volts voltage Memory: EEPROM.
CS 478: Microcontroller Systems University of Wisconsin-Eau Claire Dan Ernst Hybrid I/O – Pulses.
PIT Programming Examples Working with the modes of PIT.
CENT-113 Digital Electronics 1 Flip Flops TI Type 502 Flip Flop: 1st production IC in 1960.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 17 Dr. Shi Dept. of Electrical and Computer Engineering.
ELE22MIC Lecture 18 The AVR Sleep Modes The ATMEGA128’s Timer System
Using Hobby Servos with the Arduino living with the lab © 2012 David Hall.
The PC GadgetMaster II Stepper Motor Control Developed by Frank Shapleigh Edited by Jim Tuff.
Forging new generations of engineers. Moments A moment of a force is a measure of its tendency to cause a body to rotate about a point or axis. It is.
8254 Timer.
Counters and Registers
Digital Fundamentals Tenth Edition Floyd Chapter 9.
COUNTERS Why do we need counters?
Counters.
 Flip-flops are digital logic circuits that can be in one of two states.  Flip-flops maintain their state indefinitely until an input pulse called a.
Flip Flops Engr. Micaela Renee Bernardo. A latch is a temporary storage device that has two stable states (bistable). It is a basic form of memory. Latches.
Analogue to Digital Conversion © D Hoult analogue signal © D Hoult 2011.
Limited rotation servo basics David Hall output shaft servo horn red wire = 5V + black wire = Gnd - white wire = control signal standard servo.
EEE 301 DIGITAL ELECTRONICS
Flip-Flop Flip-flops Objectives Upon completion of this chapter, you will be able to :  Construct and analyze the operation of a latch flip-flop made.
Armdroid 1000 Programming the Armdroid G-2000 Mode G-3000 Mode Next.
Guided By :- Kachhadiya Niranj B. Parthiv R. Bhatt S S.T.B.S. COLLEGE OF DIPLOMA ENGINEERING, SURAT.
Digital Logic & Design Dr. Waseem Ikram Lecture No. 25.
Controlling Servos with the Arduino
Digital Fundamentals Abdul Hameed
Microprocessors Stepper Motor
Electronics in the NOVAC-system
EKT 221 : Digital 2 COUNTERS.
Sequential Circuit: Counter
Flip-flops Inputs are logically disconnected from the output in time.
Counters and Registers
FLIP FLOPS.
INTRODUCTION Overview of Shift Registers
Flip-Flop.
Sequential Circuit - Counter -
D Flip-Flop.
Introduction to Sequential Logic Design
Digital Fundamentals with PLD Programming Floyd Chapter 10
EMT 348: Microcontroller Timer/counter
8254 Timer and Counter (8254 IC).
Analogue to Digital Conversion
Controlling YOUR ROBOT
Moments A moment of a force is a measure of its tendency to cause a body to rotate about a point or axis. It is the same as torque. A moment (M) is calculated.
Chapter 8 Counters Changjiang Zhang
CHAPTER 4 COUNTER.
Quadrature Shaft Encoders
Programmable Logic Controllers (PLCs)
Flip-Flops.
14 Digital Systems.
Presentation transcript:

 Stepper motors are used in a wide variety of applications like Floppy Disc, Printer, Plotter(X-Y- Z positioning).  We control the stepper motor using 8254 chip.  Assume we use the frequency of the clock in microprocessor is 8MHz  When the torque on the stepper is negative it will rotate counter clockwise (CCW) and when the torque is positive the stepper will rotate clockwise(CW).  The low signal in the output (Q) is the negative torque, and the high signal is the positive torque

8MHz to run the 8254 The signal out from CNT0 enter into the PRE The signal out from CNT1 enter into the CLR The signal out from Q from the JK F-F controls the stepper motor The stepper motor

We use CLR as reference, so What is the mode we used here? We used mode 2, because we have repeated pulses We can’t use 8Mhz to run the stepper motor so, we use the number (30,720), then (8MHz/(30,720)=260Hz). 260Hz is small and fit in one byte When the signal of preset is coming the stepper will start work,the questions is, it will rotate CW or CCw or what? When the new pulse becomes from CLR the output from Flip- Flop becomes zero As we can see the +ve Torque is equal to the –ve torque => the stepper will stop and will not work Here+ve Torque is greater than the – ve torque =>the stepper motor will move CW Here+ve Torque is less than the –ve torque =>the stepper motor will move CCW

 The stepper motor will stop, move CW or move CCW according the width of the output signal, this technique is called Pulse width modulation(PWM).