MICROCONTROLLER INTERFACING WITH STEPPER MOTOR MADE BY: Pruthvirajsinh Jadeja (130540111013) COLLEGE:DIET BRANCH:EC.

Slides:



Advertisements
Similar presentations
MICROPROCESSORS AND MICROCONTROLLERS
Advertisements

Applications of PICs Advantages/disadvantages Digital and analogue control Loops, sub-routines, scanning, counting and feedback Interrupts Problems with.
What is Arduino?  Arduino is a ATMEL 168 micro-controller kit designed specially for small projects  User friendly IDE(Integrated Development Environment)
CHAPTER 1 THE 8051 MICROCONTROLLERS. Microcontroller vs. General- Purpose Microprocessor General-purpose microprocessors have ◦ No RAM ◦ No ROM ◦ No I/O.
Robotics Club, Snt Council2 The 3 Schools of Robotics: Mechanical Design – Types of motors – Material selection –
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.
Coordinate Based Tracking System
Railway Foundation Electronic, Electrical and Processor Engineering.
Micro-controller or embedded controller
Railway Foundation Electronic, Electrical and Processor Engineering.
The 8051 Microcontroller Architecture
Presented by:IQBAL HUSSAIN ELECTRONICS&COMMUNICATI0N Final year.
Spectrum Analyzer Ray Mathes, Nirav Patel,
Microcontroller: Introduction
BLDC MOTOR SPEED CONTROL USING EMBEDDED PROCESSOR
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Micro controllers A self-contained system in which a processor, support, memory, and input/output (I/O) are all contained in a single package.
MCU – Microcontroller Unit – 1 MCU  1 cip or VLSI core – application-specific.
To control the movement of a manual wheelchair by means of human voice for paralyzed patients. AIM:
INTRODUCTION TO MICROCONTROLLER. What is a Microcontroller A microcontroller is a complete microprocessor system, consisting of microprocessor, limited.
1 © Unitec New Zealand Embedded Hardware ETEC 6416 Date: - 10 Aug,2011.
AUTOMATIC ROOM LIGHT CONTROLLER WITH BIDIRECTIONAL VISITOR COUNTER
Objectives How Microcontroller works
MOBILE OPERATING ROBOT ON EMBEDDED SYSTEM
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Instrumentation & Control Engg. Section Electrical Engineering Department Ahmedabad , Gujarat.
MICROPROCESSOR AND MICRO CONTROLLER
Microprocessors For a microprocessor to give a working microcomputer system, which can be used for control tasks, additional chips are necessary, e.g.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
 Historical view:  1940’s-Vacuum tubes  1947-Transistors invented by willliam shockely & team  1959-Integrated chips invented by Texas Instrument.
OBSTACLE AVOIDANCE ROBOT
Presented by Sadhish Prabhu
I/O Interface. INTRO TO I/O INTERFACE I/O instructions (IN, INS, OUT, and OUTS) are explained. Also isolated (direct or I/O mapped I/O) and memory-mapped.
RELAY. Relay A relay is an electically operated switch. Many relays use an electromagnet to operate a switching mechanism mechanically, but other operating.
Chapter Microcontroller
Submitted by:.  Project overview  Block diagram  Power supply  Microcontroller  MAX232 & DB9 Connector  Relay  Relay driver  Software requirements.
A mini project presentation On REMOTE CONTROL HOME APPLIANCES Submitted By: N.JEEVAN KUMAR 07681A0425 R.RAJASHEKAR 07681A0469 D.RAKESH KUMAR 07681A0415.
HOME AUTOMATION USING PC DONE BY RAJESHKUMAR S SRI HARSHA D.
Components of a typical full-featured microcontroller.
CONTENTS Objective Software &Hardware requirements Block diagram Mems technology Implementation Applications &Advantages Future scope Conclusion References.
Pulse-Width Modulation: Simulating variable DC output
BATCH MEMBERS R.ABHISHEK-08N41A0401 K.DHEERAJ REDDY-08N41A0412 S.RAJENDRA REDDY-08N41A0458 JYOTHISHMATHI COLLEGE OF ENGINEERING AND TECHNOLOGY,TURKAPALLY.
A Mini project on “DRIVERLESS TRAIN ENGINE USING 8051 MICROCONTROLLER” GUIDED BY K.RAMBABU.
WATER LEVEL INDICATOR AND AUTOMATIC MOTOR SWITCHING SYSTEM
SUBMITTED BY EDGEFX TEAM
COIN BASED CELL PHONE CHARGER by sarin krishna k.r
ENERGY METER TO INDICATE BILLING IN RUPEES FOR LOAD WISE OR DAY WISE
Popular Microcontrollers and their Selection by Lachit Dutta
UP AND DOWN CONTROLLED SPEED OF DC MOTOR IN EMBEDDED SYSTEM
Microprocessor and Microcontroller Fundamentals
Arduino Based Industrial appliances control system by decoding dual tone multi frequency signals on GSM / CDMA network. Submitted by:
PROPELLER DISPLAY OF MESSAGE BY VIRTUAL LEDS
SUBMITTED BY EDGEFX TEAM
AUTO POWER SUPPLY CONTROL FROM 4 DIFFERENT SOURCES: SOLAR, MAINS, GENERATOR & INVERTOR TO ENSURE NO BREAK POWER.
Project Title EVM IN 8051 Under the Guidance of Submitted by.
PRE-STAMPEDE MONITERING AND ALARM SYSTEM
PC Mouse operated Electrical Load Control Using VB Application
ABSTRACT The microcontroller receives the Infrared Signal from the TV remote, the code of which is identified by the IR receiver depending on which it.
UNIT – Microcontroller.
SUBMITTED BY EDGEFX TEAM
SMART CARD ENABLED EMPLOYEE IDENTIFICATION FOR SECURITY PURPOSE
PRA-SYARAT SISTEM MIKROPROSESOR
PWM BASED SPEED CONTROL FOR DC MOTOR
AIM: To control the movement of a manual wheelchair by means of human voice for paralyzed patients.
The Arduino Microcontroller: Atmel AVR Atmega 328
Subject Name: Microcontroller Subject Code: 10ES42
Introduction to Microprocessors and Microcontrollers
8051 Micro Controller.
CHAPTER 1 THE 8051 MICROCONTROLLERS
MCU – Microcontroller Unit – 2
Presentation transcript:

MICROCONTROLLER INTERFACING WITH STEPPER MOTOR MADE BY: Pruthvirajsinh Jadeja ( ) COLLEGE:DIET BRANCH:EC

MICROCONTROLLERS Interfacing with Stepper motor Microprocessor is used for GENERAL purposes. It is the heart of the computer. To use microprocessor other components such as Memory & Components for receiving and sending data must be added to it.

MICROCONTROLLERS Microcontrollers is designed for SPECIAL purpose. No other external components are needed for its application because all peripherals are built into it.

EMBEDDED SYSTEMS Embedded technology is that exclusively written software is embedded inside the custom built hardware to do specific function. The advantages are higher performance, lower power consumption compact size.

Contd….. The most commonly used microcontrollers for embedded systems are PIC ( Programmable Interrupt Controller) 8051 belongs to ATMEL 89C51 family.

8051 Microcontroller Architecture and Applications The 8051 Microcontroller was designed in 1980’s by Intel. Developed for embedded system applications. “There are many applications with 8051 microcontroller. So, 8051 Microcontroller Projects have great significance in Engineering final year.”

FEATURES 8-bit CPU 4k bytes ROM for the program 128 BYTES of RAM for variables 32 I/O lines ( 4 PORTS WITH 8 EACH ) 2 timers 1 Serial port 6 interrupt

PIN DETAILS

INTERFACING WITH 8051 Interfacing of 8051 with Relay PWM Generator DC Motor Stepper Motor

STEPPER MOTOR A stepper motor is an electromechanical device which converts electrical pulses into discrete mechanical movements or steps. This motor divides a full rotation of 360 degrees into a number of equal steps.

Interfacing Stepper Motor with 8051 We now want to control a stepper motor in It works by turning ON & OFF a four I/O port lines generating at a particular frequency. The 8051 has four numbers of I/O port lines, connected with I/O Port lines (P0.0 – P0.3) to rotate the stepper motor. ULN2003 is a high voltage and high current Darlington array IC. ULN2003 is used as a driver for port I/O lines, drivers output connected to stepper motor, connector provided for external power supply if needed.

Pin Assignment with 8051

C Program to control stepper motor using 8051 #include //Define 8051 registers #include void DelayMs(unsigned int); //Delay function\ // // Main Program // void Clockwise (void) { unsigned int i; for (i=0;i<30;i++) { P0 = 0x01;DelayMs(5); //Delay 20msec P0 = 0x02;DelayMs(5); P0 = 0x04;DelayMs(5); P0 = 0x08;DelayMs(5); } }

C Program to control stepper motor using 8051 Contd…. void AntiClockwise (void) { unsigned int i; for (i=0;i<30;i++) { P0 = 0x08;DelayMs(5); //Delay 20msec P0 = 0x04;DelayMs(5); P0 = 0x02;DelayMs(5); P0 = 0x01;DelayMs(5); } } void main (void) { P0 = 0; //Initialize Port0 while(1) //Loop Forever { Clockwise (); DelayMs (100); P0 = 0; AntiClockwise (); DelayMs (100); P0 = 0; } }

RELAY A relay is an electrically operated switch. Relays are used where it is necessary to control a circuit by a low-power signal (with complete electrical isolation between control and controlled circuits), or where several circuits must be controlled by one signal. A relay opens and closes under control of another electrical circuit. It is therefore connected to output pins of the microcontroller and used to turn on/off high-power devices such as motors, transformers, heaters, bulbs, antenna systems etc Relay is connected to port 1.0

C Program to control relay using 8051 #include sbit relay_pin = P2^0; void Delay_ms(int); void main() { do { relay_pin = 1; //Relay ON Delay_ms(1000); relay_pin = 0; //Relay OFF Delay_ms(1000); }while(1); } void Delay_ms(int k) { int j; int i; for(i=0;i<k;i++) { for(j=0;j<100;j++) }