Presentation is loading. Please wait.

Presentation is loading. Please wait.

DC MOTOR LAKSHMI.B.E.. DC MOTOR WORKING LAKSHMI.B.E.

Similar presentations


Presentation on theme: "DC MOTOR LAKSHMI.B.E.. DC MOTOR WORKING LAKSHMI.B.E."— Presentation transcript:

1 DC MOTOR LAKSHMI.B.E.

2 DC MOTOR WORKING LAKSHMI.B.E.

3 H BRIDGE DC MOTOR LAKSHMI.B.E.

4

5

6 MOTOR OPERATION SW1SW2SW3SW4 OFFOPEN CLOCKWISECLOSEDOPENCLOSEDOPEN ANTICLOCK WISE OPENCLOSEDOPENCLOSED INVALIDCLOSED LAKSHMI.B.E.

7 INTERFACING WITH DC MOTOR LAKSHMI.B.E.

8 OPERATION: TRANSLATE ELECTRIC ENERGY  MECHANICAL MOVEMENT + TO – LEADS PRODUCE THE MOTOR CLOCKWISE REVERSE POLARITY MOTOR REVERSES LOAD VOLTAGE SPEED IS REPRESENTED BY RPM LAKSHMI.B.E.

9 USING L293,RUN A DC MOTOR, SWITCH P2.0 IF SW=0,ROTATE CLOCK,SW=1, ROT ANTICLOCK ORG 0H MAIN: SETB P1.0 ; ENABLE JNB P2.0,CLOCK ;CHECK THE CLOCK CLR P1.1;INPUT 1 ;COUNTER CLOCKWISE SETB P1.2;INPUT2 ; CLOCK: SETB P1.1;INPUT 1 ; CLOCKWISE CLR P1.2;INPUT2 SJMP MAIN END LAKSHMI.B.E.

10

11 DS 12887: LAKSHMI.B.E.

12 DS 12887: LAKSHMI.B.E.

13 DS 12887: LAKSHMI.B.E.

14 PIN DIAGRAM FOR DS 12887 LAKSHMI.B.E.

15

16

17

18 Memory: 128 bytes of non volatile ram 14 bytes of RAM,for clock,calender and control register 114 bytes of NV-RAM LAKSHMI.B.E.

19 AS: ADDRESS STROBE is an input pin,on the falling edge it will cause the address to be latched MOT: DS: MOT is connected to ground MOT=GND DATA STROBE DS=READ DS is connected to RD of 8051 LAKSHMI.B.E.

20 R/W:input pin.MOT=GNDWrite signal CS: IRQ: Active low signal To access read and write It only access external vge>4.25v Output pin Active low pin It is in “B”register LAKSHMI.B.E.

21 SQW: RESET: Output pin.it produce 15 different square wave Pin 18 is reset.It is an input. Active low pin LAKSHMI.B.E.

22

23

24

25

26

27 Setting the time(16:15:50 pm) MOV R0,# 10;ADDR OR ’A’ REGISTER MOV A,#20H ; D6-D4 010 OSC MOVX @R0,A; SEND IT TO REG MOV R0,#11; REG B MOV A,#83H; BCD 24 HRS,DAYLIGHT MOV X @R0,A MOV R0,#0; SECONDS AT ADDR 0 MOV A,#50H; SECONDS=50 MOVX @R0,A; SET SECONDS MOV R0,#02; MOV R0,#15H; MOVX @R0,A; MOV R0,#04; MOV R0,#16H MOVX @R0,A; LAKSHMI.B.E.

28

29 ROM Non-volatile Data Mask ROM Data written during chip fabrication PROM Fuse ROM: Non-rewritable EPROM:Erase data by UV rays EEPROM: Erase and write through electrical means Speed 2-3 times slower than RAM Upper limit on write operations Flash Memory – High density, Low Cost LAKSHMI.B.E.

30 ROM: MEMO RY IC NO.CAPACI TY ORG.PINSADDRESS LINES DATA LINES UV EPROM 2716 2732 2764 16K 32K 64K 2K×8 4K×8 8K×8 24 28 11(2K=2 10 ×2 1 ) 12(4K=2 10 ×2 2 ) 13(8K=2 10 ×2 3 ) 888888 EEPROM 2816 16K2K×8 MEMO RY IC NO.CAPACI TY ORG.PINSADDRESS LINES DATA LINES UV EPROM 2716 2732 2764 16K 32K 64K 2K×8 4K×8 8K×8 24 28 11(2K=2 10 ×2 1 ) 12(4K=2 10 ×2 2 ) 13(8K=2 10 ×2 3 ) 888888 EEPROM 2816 16K 2K×8 2411(2K=2 10 ×2 1 )8 FLASH 28F010- 15 1024K 128K×8 3217(128K=2 10 × 2 7 ) 8 LAKSHMI.B.E.

31

32 RAM Random write and read operation for any cell Volatile data Most of computer memory DRAM Low Cost High Density Medium Speed SRAM High Speed Ease of use Medium Cost LAKSHMI.B.E.

33 RAM: MEMO RY IC NO:CAPACI TY ORG.PINSADDRES S LINES DATA LINES SRAM 6264P64K8K×824138 NV RAM DS 1220Y- 150 16K2K×824128 DRAM 4125 6-6 256K256K× 1 16171 LAKSHMI.B.E.

34

35

36

37 ADC : ADC is widely used for data acquisition Digital computers are digital but physical world is analog(continuous) TRANSDUCER: Physical quantity is converted to electrical quantity Ex: load cell, strain gauge To translate this analog to digital converter is used. LAKSHMI.B.E.

38 Step size: The smallest change that can discerned by adc. Conversion time: The time takes to convert analog to digital LAKSHMI.B.E.

39

40 CS:Active low input RD: WR:START CONVERSION) Input signal Active low signal Analog  digital When CS=0 is applied to RD pin RD  OE Active low signal Analog  digital When CS=0 is applied to WR pin LAKSHMI.B.E.

41 CLK IN CLK R Input signal External clock is used for timing For internal clock generator CLK IN and CLK R are connected together to a capacitor and resistor LAKSHMI.B.E.

42 Vcc:+5v power supply Vin(+) and Vin(-): INTR: They are differential anlog inputs Vin=Vin(+) -Vin(-) Output pin Active low It is normally high,When conversion is finished,it goes to low to CPU LAKSHMI.B.E.

43 D0 to D7:DIGITAL DATA OUTPUT PARALLEL ADC.Dout= Vin step size Vref/2Vin(v)Number of steps(2^n) Step size(mv) Not connected0 t052^8=2565/256=19.53 2.00 t0 42^8=2564/255=15.62 1.50 t032^8=2563/256=11.71 1.280 t0 2.562^8=2562.56/256=10 LAKSHMI.B.E.

44

45

46

47 RD BIT P3.7 WR BIT P3.6 INTR BIT P3.2;END OF CONVERSION ;DISPLAY MOV P1,#0FFH SETB INTR AGAIN: CLR WR SETB WR HERE:JB INTR,HERE CLR RD MOV P1,#55H SETB RD SJMP AGAIN LAKSHMI.B.E.

48

49

50

51

52

53


Download ppt "DC MOTOR LAKSHMI.B.E.. DC MOTOR WORKING LAKSHMI.B.E."

Similar presentations


Ads by Google