1LAKSHMI.B.E.. Full step -clock 2LAKSHMI.B.E. Full step –anti clock 3LAKSHMI.B.E.

Slides:



Advertisements
Similar presentations
AUTO SELECTION OF ANY AVAILABLE PHASE,
Advertisements

1 ECE 372 – Microcontroller Design Parallel IO Ports - Outputs Parallel IO Ports E.g. Port T, Port AD Used to interface with many devices Switches LEDs.
Week10 Boolean Instructions on the Boolean Instructions  Boolean (or Bit) addressable capability is unique to the 8051  Enables efficient handling.
Seven Segment Display. What's A 7-Segment Display? A 7-segment display is a package with 7 bar-shaped LEDs arranged to allow the display of many useful.
8051 I/O Interfacing Need for more ports PPI 8255
kashanu.ac.ir Microprocessors 6-1 I/O Devices Switches, LED, LCD Lec note 6.
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.
LOGIC DESIGN AND CIRCUITS SEVEN SEGMENT LED DISPLAY Res. Assist. Hale İnan 1.
Interfacing ADC to 8051.
Interfacing of 8051 UNIT 4.
Counter Circuits and VHDL State Machines
TRANSISTORS Past Paper Questions and Answers EP01– Q11(b) The circuit below is a monostable timing circuit, When activated component C turns on.
kashanu.ac.ir Microprocessors 10-1 IO Devices Stepper Motors DAC, ADC, PPI Lec note 10.
BCD to 7-Segment Display
Digital Outputs 7-Segment Display
MICROCONTROLLER INSTRUCTION SET
1 Applied Control Systems Technology. 2 Pin configuration Applied Control Systems.
CoE3DJ4 Digital Systems Design Chapter 3: instruction set summary.
MCS-51 Hardware Interfacing
DC MOTOR LAKSHMI.B.E.. DC MOTOR WORKING LAKSHMI.B.E.
The 8051 Assembly Language Branching & Subroutines
HARDWARE TESTING OF DIGITAL INPUT & OUTPUT CARDS FOR DATA ACCUSITION & CONTROL SYSTEMS A Mini Project Report submitted in partial fulfillment for the award.
Lecture Set 4 Programming the 8051.
Keyboard interfacing.
Counter Circuits and VHDL State Machines
Projects 8051.
ROBOTIC VEHICLE FOR STORES MANAGEMENT
MICRO CONTROLLER PROGRAMMING & APPLICATIONS UNIT V Mr. S. VINOD LECTURER EEE DEPARTMENT.
BCD S EVEN SEGMENT D ECODER. I NTRODUCTION  A Decoder IC, is a device which converts one digital format into another and the most commonly used device.
Multiplexors Decoders  Decoders are used for forming separate signals for different combination of input signals.  The multiplexer circuit is a digital.
I/O Devices Switches, LED, LCD
Submitted by:.  Project overview  Block diagram  Power supply  Microcontroller  MAX232 & DB9 Connector  Relay  Relay driver  Software requirements.
Opto Couplers Types And Its Applications. Opto Couplers Types And Its Applications Introduction:  A lot of electronic equipment.
BLDC Motor Speed Control with RPM Display. Introduction BLDC Motor Speed Control with RPM Display  The main objective of this.
PROJECT TITLE METRO TRAIN PROTOTYPE USING 8051 MICROCONTROLLER By-RAVI MUNDRA.
ACCURATE ELECTRONIC STOPWATCH
SPEED CONTROL OF DC SHUNT MOTOR USING MICROCONTROLLER PRESANT BY: Prajapati Pankaj R. (026) : Thakor Hitendra B. (020) : Thakor Kiran B. (021) : Senma.
HIGH VOLTAGE DC BY MARX GENERATOR PRINCIPLES
Auto Power Supply Control from 4 Different Sources using PIC Microcontroller
A PRESENTATION ON RELAY, OPTOISOLATOR AND STEPPER MOTOR INTERFACING WITH AVR Prepared By:- Katariya Prakash[ ] Kathiriya Shalin[ ]
SUBMITTED BY EDGEFX TEAM
INTERFACING HARDWARE WITH MICROCONTROLLER GUIDED BY: Prof. ASIF SIR 1. AKSHAY KIRAN 2. DEEP PARIKH 3. JIGAR PATEL 4. TILAK PATEL ,05,D2D06,09.
Digital Design: With an Introduction to the Verilog HDL, 5e M. Morris Mano Michael D. Ciletti Copyright ©2013 by Pearson Education, Inc. All rights reserved.
Circuit diagram for interfacing Common Anode 7-Segment Display.
Presented by Under the esteemed guidance of D.GANGADHAR REDDY, M. Tech. Asst. Prof., EEE Department UNIVERSAL COLLEGE OF ENGINEERING & TECHNOLOGY AUTO.
A PRESENTATION ON EMBEDDED SYSTEM
WATER LEVEL controller using 8051
THREE PHASE FAULT ANALYSIS WITH AUTO RESET ON TEMPORARY FAULT AND PERMANENT TRIP OTHERWISE Submitted by:
Arduino Based Industrial appliances control system by decoding dual tone multi frequency signals on GSM / CDMA network. Submitted by:
Under the guidance of Submitted by Project Title
MARX GENERATOR BASED HIGH VOLTAGE USING MOSFETs
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.
Project Title ARDUINO BASED WIRELESS ELECTRICAL APPARATUS CONTROL SYSTEM USING IR COMMUNICATION Under the Guidance of Submitted by.
Lecture Set 5 The 8051 Instruction Set.
Parallel Port Interfacing
The 8051 Family Microcontroller
Data Processing Instructions
Lesson 9: Digital Input-Output Signal Interfacing
Output Relay, Optoisolator, and Stepper motor interfacing with AVR
8051 Single Board Computer (SBC) Version 1.0
Introduction to Micro Controllers & Embedded System Design Instruction set Department of Electrical & Computer Engineering Missouri University of Science.
Microcontroller 8051 Made By: Arun Branch. 4th Sem. I&C Engg.
Table Construction.
Introduction to Micro Controllers & Embedded System Design Instruction set Department of Electrical & Computer Engineering Missouri University of Science.
DMT 245 Introduction to Microcontroller
PHASE SEQUENCE CHECKER
8051 Micro Controller.
Addressing Modes in 8051 MC S. Lourduraj Asst. Prof. of Physics
PROCESSORS & CONTROLLERS
Presentation transcript:

1LAKSHMI.B.E.

Full step -clock 2LAKSHMI.B.E.

Full step –anti clock 3LAKSHMI.B.E.

4

5

ULN 2003 SEVEN DARLINGTONS PER PACKAGE OUTPUT CURRENT 500mA PER DRIVER( 600mA PEAK) OUTPUT VOLTAGE 50V INTEGRATED SUPPRESSION DIODES FOR INDUCTIVE LOADS OUTPUTS CAN BE PARALLELED FORHIGHER CURRENT TTL/CMOS/PMOS/DTL COMPATIBLE INPUTS INPUTS PINNED OPPOSITE OUTPUTS TO SIMPLIFY LAYOUT 6LAKSHMI.B.E.

7

8

9

ULN LAKSHMI.B.E.

11LAKSHMI.B.E.

12LAKSHMI.B.E.

How to Driving the Relay: Digitals system and microcontroller pins are couldn’t produce sufficient current to drive the relay. While relay’s coil’s need 10mA current to be energized. But the microcontroller pin provide a maximum 1-2mA current For these reason, we place a driver (or) power transistor in between the micro controller and relay 13LAKSHMI.B.E.

DRIVE CIRCUIT: 14LAKSHMI.B.E.

15LAKSHMI.B.E.

INTERFACING WITH OPTOCOUPLER 16LAKSHMI.B.E.

Opto isolator is otherwise called as opto coupler. It isolates two parts of a system. In an example for driving a motor, the motor can produces back emf. Back emf is a high voltage spike produced by a sudden change of current. In ordinary circuits, the unwanted spike voltage is reduced by using decoupling capacitors. In any systems, that have inductors (coil windings), such as motors, decoupling capacitor or a diode will not reduce the spike voltages. In such cases, opto isolators can be used. 17LAKSHMI.B.E.

An opto isolator has an LED transmitter and a photo sensor receiver, both are separated from each other by a small gap. When current flows through the LED, it transmits a light signal to the receiver. The receiver produces the signal with the same phase but a different current and amplitude. The opto isolator comes in a small IC Package with four or more pins. There are also packages that contain more than one opto isolator. When placing an opto isolator between two circuits, we must use two separate voltage sources, one for each side 18LAKSHMI.B.E.

IL 74  SINGLE CHANNEL 19LAKSHMI.B.E.

ILD 74 ILQ74 20LAKSHMI.B.E.

21LAKSHMI.B.E.

22LAKSHMI.B.E.

7 segment displays 23LAKSHMI.B.E.

CONFIGURATION 24LAKSHMI.B.E.

COMMON ANODE  NEGATIVE LOGIC 25LAKSHMI.B.E.

PIN DIAGRAM +5V SUPPLY 26LAKSHMI.B.E.

CODES 27LAKSHMI.B.E.

CONNECTION DIAGRAM 28LAKSHMI.B.E.

SINGLE DIGIT  0 DISPLAY PROGRAM ORG 0H START:MOV P1,# B ACALL DELAY SJMP START DELAY:MOV R1,#255 DELAY1:MOV R2,#255 DELAY2:DJNZ R2,DELAY2 DJNZ R1,DELAY1 RET END 29LAKSHMI.B.E.

Program Using Rotate Instruction ORG 0H MOV A,# B START: RL A MOV P1,A ACALL DELAY SJMP START DELAY:MOV R1,#255 DELAY1:MOV R2,#255 DELAY2:DJNZ R2,DELAY2 DJNZ R1,DELAY1 RET END 30LAKSHMI.B.E.

RELATED INSTRUCTIONS AND REGISTER REGISTER NAME: DPTR The Data Pointer (DPTR) is the 8051’s only user- accessible 16-bit (2-byte) register. The Accumulator, "R" registers, and "B" register are all 1-byte values. 31LAKSHMI.B.E.

INSTRUCTION DB  DEFINE BYTE DIRECTIVES 32LAKSHMI.B.E.

PROGRAM USING LOOK UP TABLE ORG 0H MOV R0,#10 MOV DPTR,#SEG START :CLR A MOVC MOV P3,A ACALL DELAY INC DPTR DJNZ R2,START DELAY:…………… RET ORG 400H SEG:DB 0c0h,0f9h,0a4h,0b0h,99h, 92h,82h,0f8h, 80h,90h END 33LAKSHMI.B.E.

INTERFACING 7SEG WITH DECODER 34LAKSHMI.B.E.

7-SEGMENT WITH DECODER USING LOOKUP TABLE org 0h again:mov a,#0h mov r0,#0h branch:mov a,r0 mov dptr,#400h movc mov p2,a inc r0 acall delay cjne r0,#10h, branch ljmp again 35LAKSHMI.B.E.

delay:mov r1,#255 delay1:mov r2,#255 delay2:djnz r3,delay2 djnz r2,delay1 ret org 400h decodercode:db0,1,2,3,4,5,6,7,8,9 end 36LAKSHMI.B.E.

MULTIPLEXING 37LAKSHMI.B.E.

7-SEGMENT MUTLIPLEXING AND SWITCH (Binary Inputs 0-255) ORG 0H MOV P1,#0FFH LOOP:MOV A,P1 MOV B,#100 DIV AB ORL A,# B MOV R0,A MOV A,B MOV B,#10 DIV AB ORL A,# B MOV R1,A MOV A,B 38LAKSHMI.B.E.

ORL A,# B MOV P3,A ACALL DELAY MOV P3,R1 ACALL DELAY MOV P3,R0 ACALL DELAY SJMP LOOP DELAY:MOV R4,#2 REPEAT:MOV R3,#230 REPEAT1:DJNZ R5, REPEAT1 DJNZ R4, REPEAT RET END 39LAKSHMI.B.E.

40LAKSHMI.B.E.

The End LAKSHMI.B.E.41