Current location - Education and Training Encyclopedia - Graduation thesis - Look at the paper platform dple
Look at the paper platform dple
Hi, I graduated from Grade 04 majoring in electronic information. My graduation thesis is "LED Display Design". Maybe we chose a topic, including hardware circuit, signal processing and assembly language code, hehe.

The following is the catalogue for your reference. Plagiarism is prohibited If you feel good and score, I will send you a paper.

The catalogue has been sent to your mailbox.

This design takes 89c5 1 single chip microcomputer as the core, and uses dot matrix graphics to display Chinese characters. Display is completed by timing control circuit, control signal circuit and display drive circuit.

This design takes 89c5 1 single chip microcomputer as the core, and uses dot matrix graphic display to display Chinese characters. The display is completed by time sequence control circuit, control signal circuit and display drive circuit.

Key words: column display driver, timing control circuit, serial asynchronous communication mode, display drive circuit, control signal circuit.

catalogue

Thread theory 1.

Chapter 65438 +0 Design Ideas .....................................................................................................................................................................

Chapter II Design Scheme

Chapter 3 Basic Structure

Chapter 4 Hardware Part

4. 1 microcomputer hardware circuit

4. 1. 1 display control circuit

4. 1.2 display drive circuit ............................. 10

4.2 control signal ................................... 12

4.2. 1 column displays data-related signals. ..............................................................................................................................................................

4.2.2 Line number latch input signal 13.

4.2.3 Distinguish the control signals of the upper writing part. ..................................................................................................................................................................

4.2.4 Clear screen signal .................................. 14

The fifth chapter software ..................................... 15.

5. 1 theoretical analysis

5.2 programming ...................................... 17

5.3 Flowchart

5.3. 1 main program flow chart 22

5.3.2 Flow chart of interrupt service program

Chapter VI Conclusion ......................... 24

References -25

Thank you ... thank you ... thank you ... thank you.

5.2 programming

Organization 0000H

SJMP home page: jump to the main program home page.

ORG 0023H

Sientry: ajmp 1sis: serial communication interrupt entry, jump to.

: serial communication interrupt service program SIS

Main: movsp, 60: stack settings

MOV R0, 80H: Point to the RAM area.

Mov r 1, 00: r0, r 1: RAM pointer.

MOV DPTR,1000h: data header address of eprom.

: DPTR:EPROM pointer

MOV A,00

MOVC A, @A+DPTR: reading data from EPROM 1000H.

Invidptr: read 200H bytes from EPRON.

: data to RAM

Push DPL: DPTR into the stack

Push DPH

MOV DPH, r0: DPTR is replaced by RAM pointer.

MOV DPL,R 1

MOVX @DPTR, A: Send data to memory.

DPRT Company

MOV R0, DPH:DPTR store.

DPL MOV r 1

Eject DPH: eject DPTR(EPROM address)

Pop ·DPL

MOV R2, DPH: R2: judge whether it reaches 1200H.

CJNE R2, 12H, REPROM: 200H bytes are not completely transmitted.

Sinit: movtmod, 2 1H: let T 1 mode 2, T0 mode 1.

MOV TH 1, FAH: let the timing of T 1 be 6.51μ s.

SETB 8EH: set TCONBIT6 and open T 1.

Moveth0,00: Set the T0 timer.

MOV TL0,00

MOV R6,7EH

MOV 700h

50H: set to 50H, mode 1, and any = 1.

MOV·PCON, 00: Let PCIN be 0.

MOV 50H,82H

MOV 5 1H,00

SETB·AFH: Open interrupt

SETB ACH: allow serial communication interruption.

SETB 9CH :SCONBIT4,REN= 1

Next CLRC

The initial value of MOV A, R7:R7 is 0.

Add a, 00

MOV R7,A

MOV A, R6: The initial value of R6 is 7E.

02H analog-to-digital converter a

MOV A, 5 1H:5 1 has an initial value of 0.

XRL A,R7 :A=R7?

JNZ DISP 1: No, go to DISP 1.

MOV A, 50H: Wait. The initial value of 50 is 82H.

XRL A,R6 :A=R6?

JNZ 04H: No, go to DISP 1.

MOV·R6, 80 hours: et al., R6 = 80 hours.

MOV 700 yuan

DSP 1:MOV 0,00

TM256 MOV R3,00

TM5 12 MOV R2,00

R6 MOV·DPH:80 hours

MOV·DPL, 7 o'clock sharp

CONT2: MOV R 1,00

Clrb4h: p3bit4 = t0, upper and lower control =0.

Disph: movxa @ dptr: read into RAM.

DPTR company

Inc r 1: r 1: byte count

MOV P 1, a: output a RAM byte data to P 1.

CLR B3H :P3BRT3=INT 1

Setbb3h: int 1 is the input pulse of the shift register.

CLR B5H :P3BRT5=T 1

SETB B5H

Clrb5h: T 1 * * * outputs 8 pulses.

SETB B5H: In other words, it was moved eight times.

Clrb5h: t 1 is the shift pulse of the shift register.

SETB B5H

CLR B5H

SETB B5H

CLR B5H

SETB B5H

CLR B5H

SETB B5H

CLR B5H

SETB B5H

CLR B5H

SETB B5H

CJNE R 1, 10H,DISPH:r 1 & lt; & gt 10H, switch to DISPH.

: 10H= 16D, 16*8= 128

Push DPH: If R 1= 10H, DPTR will be put on the stack.

Push SPL

Setbb4h: p3bit4 = t0, up and down control = 1.

CLRC

DPL MOV

Add one, P0H: skip F0H bytes.

MOV DPL Answer: The original DPTR always points to 10H, 10H+F0H.

DPHMOV A: After 256 bytes

ADC A, 00: that is, pointing to the lower half.

MOV·DPH

DISPL: MOVX A,@DPTE

DPTR company

INC R 1

MOV P 1,A

CLR B3H

SETB B3H

CLR B5H

SETB B5H

CLR B5H

SETB B5H

CLR B5H

SETB B5H

CLR B5H

SETB B5H

CLR B5H

SETB B5H

CLR B5H

SETB B5H

CLR B5H

SETB B5H

CLR B5H

SETB B5H

CJNE R 1,20H,D4H:r 1 & lt; & gt20H, switch to DISPL.

CLR B2H :P3BIT2=INT0

SETB·B2H

MOV P 1, R2: R2 is output to P 1.

MOV·DPTR,0000

MOVX @DPTR, A: Just let the address work.

R2 company

Pop ·DPL

Pop ·DPH

Movie R2, 10H, cont1:R2 <; & gt 10H switch to CONT 1.

Company R3 :R2= 10H

Movies R3, FFH, Tim 256: R3 <; & gtFFH, go to Tim 256.

INC R0 :R3=FFH

CINE R0,02H,Tim 5 12:R0 & lt; & gt02H,TIM5 12

The next LJMP

Tim 5 12:LJMP TM 5 12:$ 2 1

CONT 1: LJMP CONT2

TIM256: AJMP0 TM256

ORG 0800H: serial communication service program

Sis: clr afh: iebit 7 turns off the interrupt.

Clr98h: sconbit0ri clears the receive interrupt.

MOV A,SBUF

XRL A, 3fh: 3fh transmission start flag

Jz dtstart: sbuf = 3fh,go。

SJMP closes: otherwise, it ends.

Dtstart: movdptr, #000 1H: Let the address act.

MOVX @DPTR, a:00 off decoding, 0 1 on decoding.

: send clear signal SRCLR* to 74LS595.

CLR B2H: Input the cleared result into the column output latch.

: Complete the display closing operation.

MOV DPTR,#8000H

MOV· Spoff

Waitt: jnb99h, waitt: sconb 1ti = 0, waiting for the launch to be completed.

CLR 99H :SCONB 1TI= 1

Waitr: jnb98h, waitr: sconb0ri = 0, waiting for the completion of acceptance.

CLR 98H :SCONB0RI= 1

MOV A, SBUF: transmission byte count l

MOV 50H,A

Continue: MOV· Spoff

Wartt 1: JBC 99h, wartt1:sconb1ti =1,the launch is complete.

Sjmpwait t1:sconb1ti = 0, waiting for the startup to be completed.

Waitr 1:jbc 98h, rdata: sconb0ri = 1, reception completed.

Sjmp warr 1:sconb 0 ri = 0, waiting to be received.

RDATA: MOVA, SBUF: read in the display data.

MOV @DPTR

DPTR company

DPH MOV

XRL A,50H

JNZ continues: (a) < & gt(50H), continue to receive.

DPL MOV A:(A)=(50 hours)

XRL A,5 1H

JNZ continues: (a) < & gt(5 1H), continue to collect.

MOV ASBUF, a: (a) = (51h) waitte: jnb99h, waitte: sconb 1ti = 0, waiting for the launch to be completed.

CLR 99H :SCONB 1TI= 1

MOV DPTR, 8000 hours

MOV 0,20H

MOV r 1. 10H

MOV R6,80H

MOV 700 yuan

Closed: SETB AFH

Retty

ORG 0800H

Display data: DB 00, 00, 00, 00, 00, 00, 00, 00, 00, 00