Thông báo

Collapse
No announcement yet.

Quang Báo & ứng Dụng

Collapse
X
 
  • Lọc
  • Giờ
  • Show
Clear All
new posts

  • Quang Báo & ứng Dụng

    Chào cả nhà, em đang làm 1 đề tài qb cỡ nhõ 6 con 5x7 ghép với nhau điều khiển bởi con 89c51 . ví dụ em muốn chay 1 dòng chữ đơn giản thôi" DIEN TU VIET NAM" dịch từ trái sang phải thì minh có cần gắn thêm con ROM VÀ RAM ngoài ko mấy anh? và giả sử nếu có thì con ROM VÀ Ram đó phải thiết kế kèm theo cái mạch nap luôn phải ko ? vì theo em bít 89c51 chỉ có 128byte ram và 4Kb rom thôi.Sư huynh nào cao thủ thì hướng dẫn giúp em cách giao tiếp Rom Ram với con vi xử lí luôn nha

  • #2
    dòng chữ ít thế thì 89c51 dư sức, nhưng chuyển sang 89s52 đi,lập trình vẫn thế, vừa rẻ, vừa nhiều tính năng hơn, mạch nạp đơn giản .
    Cung cấp Oscilocope , Inverter , Switching , DC power supply , AC millivolt meter ....

    Comment


    • #3
      ?__hĩ minh hoi ma ko ai tra loi giup het buon` thoi roi`
      Bạn làm như mọi người chỉ ăn với ngồi trên này trả lời bạn không thôi ý!
      Dùng 89sxx rẻ hơn, mạnh hơn, chân cẳng vẫn thế. Với lại nhiều bài nói về quang báo lắm rồi. Bạn chưa tìm hiểu đã hỏi thì khó lắm.

      Comment


      • #4
        Nguyên văn bởi helomoto Xem bài viết
        Chào cả nhà, em đang làm 1 đề tài qb cỡ nhõ 6 con 5x7 ghép với nhau điều khiển bởi con 89c51 . ví dụ em muốn chay 1 dòng chữ đơn giản thôi" DIEN TU VIET NAM" dịch từ trái sang phải thì minh có cần gắn thêm con ROM VÀ RAM ngoài ko mấy anh? và giả sử nếu có thì con ROM VÀ Ram đó phải thiết kế kèm theo cái mạch nap luôn phải ko ? vì theo em bít 89c51 chỉ có 128byte ram và 4Kb rom thôi.Sư huynh nào cao thủ thì hướng dẫn giúp em cách giao tiếp Rom Ram với con vi xử lí luôn nha
        Bạn nên chuyển ma trận Led sang 8x8 đi, 5x7 nhỏ quá .
        Mấy bạn vừa nói đúng đó, bạn chuyển sang dùng 89S52 đi nó chỉ khác là bộ nhớ được nhiều hơn 89S51 thôi.
        Nếu định làm nhưng chưa hiểu nguyên lý thì mail hoặc gọi điện cho mình.
        địa chỉ liên hệ trong lý lịch thành viên hoặc vào trang chủ của mình.

        Quân tử tranh cãi để tìm chân lý
        Tiểu nhân tranh cãi để định hơn thua

        Comment


        • #5
          Cái này mình đã làm rồi. không khó đâu.

          Nguyên văn bởi hiodong Xem bài viết
          dòng chữ ít thế thì 89c51 dư sức, nhưng chuyển sang 89s52 đi,lập trình vẫn thế, vừa rẻ, vừa nhiều tính năng hơn, mạch nạp đơn giản .
          Cái náy ko khó lém đâu. Chỉ cần bạn biết cách điều khiển một led matrix ví dụ 8x8 thi đã có thể làm bảng quang báo rùi đấy.
          Bảng quang báo thực chất là gồm nhiều led matrix ghép lại mà thành
          Chúc bạn thành công
          Nếu chẳng một phen sương thấm lạnh
          Hoa mai đâu dễ tỏa mùi hương

          Comment


          • #6
            rất sẵn lòng dc giúp các pác,thực chất cái này rất dễ
            cứ liên hệ em em sẽ giúp (nói trước ko có giao tiếp pc đâu nhé vì em đang ngâm cứu thằng này)
            8051 là con em viết thành thạo. em sẵn sàng giúp đỡ các pác nếu em có thể
            liên lạc với em qua địa chi email: Mob: 01882.076.989

            Comment


            • #7
              các tiền bối ai đã làm mạch này thì cho em xin sơ đồ nguyên lý và code nhé,em mới học về vi điều khiển ma thấy khó quá!!!!!!!!
              ĐẠI HỌC SƯ PHẠM KỸ THUẬT I

              Nợ cha một sự nghiệp - Nợ mẹ một nàng dâu

              Comment


              • #8
                led matrix display

                cái này em mô phỏng bằng proteus 7.6 các pác chịu khó dơn bản này về dùng nhá
                .bảng led 8x64 dùng ic 74541 chốt và đưa data ra hàng(dùng phương pháp quét cột)
                Code:
                																							 $MOD51
                HANG DATA P2 ;HANG PORT2 TICH CUC MUC THAP
                COT DATA P0 ;COT PORT3 TICH CUC MUC CAO
                SELECT0 BIT P1.0 ;CAC BIT CHON LED TICH CUC
                SELECT1 BIT P1.1
                SELECT2 BIT P1.2
                SELECT3 BIT P1.3
                SELECT4 BIT P1.4
                ;----------------------------------------------------------- ---
                BEGIN:
                ;<<<<<<<<<<<<<<<<<<WEL COME TO VINH PHAT>>>>>>>>>>>>>>>>>>>>
                ;;<<<<<<<<<<<<>>>>>>>>>>>>
                ;;(((((((((((((((((((HINH ANH(CHU) DONG))))))))))))))))))) 
                ;	 MOV    DPTR,#A1   
                ;;     MOV    R0, #2
                ;LAPLAI15:
                ;     LCALL    SCAN8MT    
                ;     DJNZ   R0, LAPLAI15
                ;	
                ;	 MOV    DPTR,#A2   
                ;     MOV    R0, #2
                ;LAPLAI16:
                ;     LCALL    SCAN8MT    
                ;    DJNZ   R0, LAPLAI16
                ;	 
                ;	 MOV    DPTR,#A3  
                ;     MOV    R0, #2
                ;LAPLAI17:
                ;     LCALL    SCAN8MT    
                ;     DJNZ   R0, LAPLAI17
                ;	 
                ;	 MOV    DPTR,#A4   
                ;     MOV    R0, #2
                ;LAPLAI18:
                ;     LCALL    SCAN8MT    
                ;     DJNZ   R0, LAPLAI18
                ;	 
                ;	 MOV    DPTR,#A5   
                ;     MOV    R0, #2
                ;LAPLAI19:
                ;     LCALL    SCAN8MT    
                ;     DJNZ   R0, LAPLAI19
                ;	 
                ;	 MOV    DPTR,#A6   
                ;     MOV    R0, #2
                ;LAPLAI20:
                ;     LCALL    SCAN8MT    
                ;     DJNZ   R0, LAPLAI20
                ;	
                ;	 MOV    DPTR,#A7   
                ;     MOV    R0, #2
                ;LAPLAI21:
                ;     LCALL    SCAN8MT    
                ;     DJNZ   R0, LAPLAI21
                ;
                ;	 MOV    DPTR,#A8   
                ;     MOV    R0, #2
                ;LAPLAI22:
                ;     LCALL    SCAN8MT    
                ;     DJNZ   R0, LAPLAI22
                ;
                ;
                ;	 MOV    DPTR,#A9   
                ;     MOV    R0, #2
                ;LAPLAI23:
                ;     LCALL    SCAN8MT    
                ;     DJNZ   R0, LAPLAI23
                ;
                ;	 MOV    DPTR,#A10   
                ;     MOV    R0, #2
                ;LAPLAI24:
                ;     LCALL    SCAN8MT    
                ;     DJNZ   R0, LAPLAI24
                ;
                ;	 MOV    DPTR,#A9   
                ;    MOV    R0, #2
                ;LAPLAI25:
                ;     LCALL    SCAN8MT    
                ;     DJNZ   R0, LAPLAI25
                ;
                ;	 MOV    DPTR,#A9   
                ;     MOV    R0, #2
                ;LAPLAI26:
                ;     LCALL    SCAN8MT    
                ;     DJNZ   R0, LAPLAI26
                
                ;	 MOV    DPTR,#A12   
                ;     MOV    R0, #2
                ;LAPLAI27:
                ;     LCALL    SCAN8MT    
                ;     DJNZ   R0, LAPLAI27
                ;
                ;	 MOV    DPTR,#A13   
                ;     MOV    R0, #2
                ;LAPLAI28:
                ;     LCALL    SCAN8MT    
                ;     DJNZ   R0, LAPLAI28
                ;
                ;	 MOV    DPTR,#A14   
                ;     MOV    R0, #2
                ;LAPLAI29:
                ;     LCALL    SCAN8MT    
                ;     DJNZ   R0, LAPLAI29
                ;
                ;	 MOV    DPTR,#A15   
                ;     MOV    R0, #2
                ;LAPLAI30:
                ;     LCALL    SCAN8MT    
                ;     DJNZ   R0, LAPLAI30
                ;
                ;	 MOV    DPTR,#A16   
                ;     MOV    R0, #2
                ;;LAPLAI31:
                ;     LCALL    SCAN8MT    
                ;     DJNZ   R0, LAPLAI31
                ;
                ;	 MOV    DPTR,#A17   
                ;     MOV    R0, #2
                ;LAPLAI32:
                ;     LCALL    SCAN8MT    
                ;     DJNZ   R0, LAPLAI32
                ;
                ;	 MOV    DPTR,#A18  
                ;     MOV    R0, #2
                ;LAPLAI33:
                ;     LCALL    SCAN8MT    
                ;     DJNZ   R0, LAPLAI33
                ;
                ;	 MOV    DPTR,#A19   
                ;     MOV    R0, #2
                ;LAPLAI34:
                ;     LCALL    SCAN8MT    
                ;     DJNZ   R0, LAPLAI34
                ;
                ;	 MOV    DPTR,#A19   
                ;     MOV    R0, #2
                ;LAPLAI35:
                ;     LCALL    SCAN8MT    
                ;     DJNZ   R0, LAPLAI35
                ;
                ;	 MOV    DPTR,#A20   
                ;     MOV    R0, #2
                ;LAPLAI36:
                ;     LCALL    SCAN8MT    
                ;     DJNZ   R0, LAPLAI36
                ;
                ;	 MOV    DPTR,#A21   
                ;     MOV    R0, #2
                ;;LAPLAI37:
                ;;     LCALL    SCAN8MT    
                ;;     DJNZ   R0, LAPLAI37
                ;
                MOV    DPTR,#REMCUA    
                     MOV    R0, #2
                LAPLAI1:
                     LCALL    SCAN8MT1    
                     DJNZ   R0, LAPLAI1
                MP1:    
                     MOV    R0,#1  
                
                MP00: 
                	LCALL SCAN8MT ;NAP DU LIEU
                	DJNZ R0,MP00
                	INC DPTR
                	MOV A,DPL
                	CJNE A,#LOW(REMCUA+60),MP1
                ;+++++++++++++VINH PHAT STOP AND RUN+++++++++++++++++++
                
                MOV    DPTR,#VINHPHAT    
                     MOV    R0, #10
                LAPLAI9:
                     LCALL    SCAN8MT    
                     DJNZ   R0, LAPLAI9
                     MOV    DPTR,#VINHPHAT
                MP2:    
                     MOV    R0,#1  
                MP88: 
                	LCALL SCAN8MT ;NAP DU LIEU
                	DJNZ R0,MP88
                	INC DPTR
                	MOV A,DPL
                	CJNE A,#LOW(VINHPHAT+60),MP2
                ;<<<<<<<<<<<<KINH CHAO QUY KHACH>>>>>>>>>>>>>>
                	MOV DPTR,#KINH
                AAA: 
                	MOV R0,#1;TOC DO HIEN KY TU
                BBB: 
                	LCALL SCAN8MT ;NAP DU LIEU
                	DJNZ R0,BBB
                	INC DPTR
                	MOV A,DPL
                	MOV R1,DPH
                	CJNE R1,#02H,AAA ;KIEM TRA KET T	
                	CJNE    A,#LOW(KINH+80),AAA
                ;<<<<<<<<<<<<>>>>>>>>>>>>
                MOV    DPTR,#UYTIN   
                     MOV    R0, #25
                LAPLAI10:
                     LCALL    SCAN8MT    
                     DJNZ   R0, LAPLAI10
                     MOV    DPTR,#UYTIN
                MP99:    
                     MOV    R0,#1
                ;<<<<<<<<<<<<>>>>>>>>>>>>
                MOV    DPTR,#CHATLUONG    
                     MOV    R0, #10
                LAPLAI11:
                     LCALL    SCAN8MT    
                     DJNZ   R0, LAPLAI11
                     MOV    DPTR,#CHATLUONG
                MP3:    
                     MOV    R0,#1  
                MP100: 
                	LCALL SCAN8MT ;NAP DU LIEU
                	DJNZ R0,MP100
                	INC DPTR
                	MOV A,DPL
                	CJNE A,#LOW(CHATLUONG+30),MP3
                ;?????????????????WAY??????????????????
                MOV    DPTR,#GIACA    
                     MOV    R0, #10
                LAPLAI12:
                     LCALL    SCAN8MT    
                     DJNZ   R0, LAPLAI12
                     MOV    DPTR,#GIACA
                MP4:    
                     MOV    R0,#1  
                MP150: 
                	LCALL SCAN8MT ;NAP DU LIEU
                 	DJNZ R0,MP150
                	INC DPTR
                	MOV A,DPL
                	CJNE A,#LOW(GIACA+100),MP4
                ;***************DIA CHI*********************
                
                
                ;(((((((((((((((((((NHAY VE LAM LAI TU DAU))))))))))))))))
                        LJMP    BEGIN 
                ;----------------------------------------------------------
                ;CAC CHUONG TRINH QUET MA TRAN
                ;---------------------------------------------------------
                ;CHUONG TRINH QUET 8 MA TRAN.
                SCAN8MT:
                	PUSH 00H
                	PUSH 01H
                	PUSH 03H
                	PUSH ACC
                	MOV R0,#00H ;OFFSET LAY MA HIEN THI 
                	MOV R3,#01111111B ;DUNG DE CHON MA TRAN TICH CUC,
                	;TICH CUC LED 8 DAU TIEN
                SCAN2: ;NAP LAI SAU KHI DA QUET XONG 1 MA TRAN
                	MOV R1,#80H ;QUET COT
                	MOV P1,R3 ;TICH CUC MA TRAN
                	SCAN1: 
                	MOV A,R0
                	MOVC A,@A+DPTR
                	MOV HANG,A
                	MOV COT,R1
                	LCALL DELAY3
                	MOV COT,#00H ;CHONG LEM
                	INC R0 ;TANG R0 DE LAY MA HIEN THI KE
                	MOV A,R1 ;DICH PHAI R1 DE QUET COT KE
                	RR A
                	MOV R1,A
                	CJNE R1,#80H,SCAN1;NHAY KHI CHUA QUET HET 8 COT
                	MOV A,R3 ;DICH PHAI R3 DE TICH CUC MA TRAN TIEP THEO
                	RR A
                	MOV R3,A
                	CJNE R3,#01111111B,SCAN2 ;NHAY KHI CHUA HET 5 MA TRAN
                	POP ACC 
                	POP 03H
                	POP 01H
                	POP 00H
                	RET
                ;((((((((((((((((((CHUONG TRINH QUET 5 MA TRAN NGUOC.))))))))))))))))))
                
                ;----------------------------------------------------------
                ;CAC CHUONG TRINH DELAY
                ;----------------------------------------------------------
                
                SCAN8MT1:
                	PUSH 00H
                	PUSH 01H
                	PUSH 03H
                	PUSH ACC
                	MOV R0,#00H ;OFFSET LAY MA HIEN THI 
                	MOV R3,#01111111B ;DUNG DE CHON MA TRAN TICH CUC,
                	;TICH CUC LED 8 DAU TIEN
                SCAN4: ;NAP LAI SAU KHI DA QUET XONG 1 MA TRAN
                	MOV R1,#80H ;QUET COT
                	MOV P1,R3 ;TICH CUC MA TRAN
                	SCAN3: 
                	MOV A,R0
                	MOVC A,@A+DPTR
                	MOV HANG,A
                	MOV COT,R1
                	LCALL DELAY3
                	MOV COT,#00H ;CHONG LEM
                	INC R0 ;TANG R0 DE LAY MA HIEN THI KE
                	MOV A,R1 ;DICH PHAI R1 DE QUET COT KE
                	RR A
                	MOV R1,A
                	CJNE R1,#80H,SCAN3;NHAY KHI CHUA QUET HET 8 COT
                	MOV A,R3 ;DICH PHAI R3 DE TICH CUC MA TRAN TIEP THEO
                	RR A
                	MOV R3,A
                	CJNE R3,#01111111B,SCAN4 ;NHAY KHI CHUA HET 5 MA TRAN
                	POP ACC 
                	POP 03H
                	POP 01H
                	POP 00H
                	RET
                ;((((((((((((((((((CHUONG TRINH QUET 5 MA TRAN NGUOC.))))))))))))))))))
                
                ;----------------------------------------------------------
                ;CAC CHUONG TRINH DELAY
                ;----------------------------------------------------------
                DELAY3: ;CHUONG TRINH DELAY 1.25 MS
                	PUSH 00H
                	PUSH 01H
                	MOV R1,#2
                	LOOP3:
                	MOV R0,#255
                	DJNZ R0,$
                	DJNZ R1,LOOP3
                	POP 01H
                	POP 00H
                	RET
                
                
                ;----------------------------------------------------------
                ;BANG MA DU LIEU HIEN THI
                ;---------------------------------------------------------- 
                 
                 
                
                
                REMCUA:
                DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                DB     0FFH,80H,0B7H,0B3H,0B5H,0CEH        ;R  
                DB     0FFH,80H,0B6H,0B6H,0B6H,0BEH         ;E
                DB     0FFH,80H,0DFH,0EFH,0DFH,80H            ;M
                DB 	   0FFH,0FFH,0FFH,0FFH
                DB     0FFH,0C1H,0BEH,0BEH,0BEH,0DDH     ;C 
                DB     0FFH,81H,0FEH,0FEH,0FEH,81H           ;U
                DB     0FFH,0E0H,0DBH,0BBH,0DBH,0E0H
                DB 	   0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                DB	   0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                DB     0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                DB     0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                DB     0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                DB     0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                DB     0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                DB     0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                VINHPHAT:
                DB 0FFH,0FFH,0FFH,0FFH ,0FFH,0FFH
                
                DB     7H,3H,0FDH,0FEH,0FDH,3H,7H                                     ;V
                DB     0FFH  
                DB     0H,0H,0FFH                                                                      ;I
                DB     0H,0H,0BFH,0DFH,0EFH,0H,0H                                        ;N
                DB     0FFH 
                DB     0H,0H,0F7H,0F7H,0F7H,0H,0H                                         ;H
                DB     0FFH  
                
                DB 0FFH,0FFH
                DB     0H,0H,77H,77H,7H,8FH,0FFH                                          ;P
                DB     0FFH 
                DB     0H,0H,0F7H,0F7H,0F7H,0H,0H                                         ;H
                DB     0FFH  
                DB     0E0H,0C0H,0B7H,77H,0B7H,0C0H,0E0H                          ; A
                DB     0FFH      
                DB     7FH,7FH,0H,0H,7FH,7FH,0FFH                                       ;T
                KINH :
                DB     0FFH,0FFH,0DBH,0E7H,81H,0E7H,0DBH,0FFH,0FFH,0FFH,0FFH,0DBH,0E7H,81H,0E7H,0DBH,0FFH,0FFH  ;HOA 
                DB     0FFH,0FFH,0DBH,0E7H,81H,0E7H,0DBH,0FFH,0FFH,0FFH,0FFH,0DBH,0E7H,81H,0E7H,0DBH,0FFH,0FFH  ;HOA 
                DB     0H,0H,0E7H,0DBH,0BDH,7EH,0FFH                                 ;K   
                DB     0FFH,0H,0H,0FFH                                                             ;I
                DB     0H,0H,0BFH,0DFH,0EFH,0H,0H,0FFH                              ;N
                DB     0H,0H,0F7H,0F7H,0F7H,0H,0H,0FFH                                 ;H
                DB     0FFH,0FFH                                                                     ;CACH
                DB     81H,0H,7EH,7EH,7EH,0BDH,0FFH                                     ;C
                DB     0H,0H,0F7H,0F7H,0F7H,0H,0H,0FFH                                  ;H
                DB     0E0H,0C0H,0B7H,77H,0B7H,0C0H,0E0H,0FFH                   ;A
                DB     81H,0H,7EH,7EH,7EH,0H,81H,0FFH                                    ;O
                DB     0FFH,0FFH                                                                     ;CACH
                DB     81H,0H,7EH,7AH,7CH,0H,80H,0FEH                                  ;Q
                DB     1H,0H,0FEH,0FEH,0FEH,0H,1H,0FFH                               ;U
                DB     0FH,7H,0F0H,0F0H,7H,0FH,0FFH                                      ;Y
                DB     0FFH,0FFH                                                                     ;CACH
                DB     0H,0H,0E7H,0DBH,0BDH,7EH,0FFH                                 ;K   
                DB     0H,0H,0F7H,0F7H,0F7H,0H,0H,0FFH                                 ;H
                DB     0E0H,0C0H,0B7H,77H,0B7H,0C0H,0E0H,0FFH                   ;A
                DB     81H,0H,7EH,7EH,7EH,0BDH,0FFH                                     ;C
                DB     0H,0H,0F7H,0F7H,0F7H,0H,0H,0FFH                                  ;H
                DB     0FFH,0FFH,0DBH,0E7H,81H,0E7H,0DBH,0FFH,0FFH,0FFH,0FFH,0DBH,0E7H,81H,0E7H,0DBH,0FFH,0FFH  ;HOA
                DB     0FFH,0FFH,0DBH,0E7H,81H,0E7H,0DBH,0FFH,0FFH,0FFH,0FFH,0DBH,0E7H,81H,0E7H,0DBH,0FFH,0FFH  ;HOA
                DB     3H,1H,0FCH,0F9H,0F3H,0F9H,0FCH,1H,3H                    ;W
                DB     0FFH 
                DB     0H,0H,76H,76H,76H,7EH                                                  ;E
                DB     0FFH
                DB     0H,0H,0FEH,0FEH,0FEH,0FDH                                           ;L
                DB     0FFH
                DB     81H,0H,7EH,7EH,7EH,0BDH,0FFH                                    ;C
                DB     0FFH
                DB     81H,0H,7EH,7EH,7EH,0H,81H,0FFH                                 ;O
                DB     0H,0H,9FH,0CFH,9FH,0H,0H,0FFH                                    ;M
                DB     0H,0H,76H,76H,76H,7EH                                                  ;E
                DB     0FFH,0FFH                                      ;CACH
                DB     7FH,7FH,0H,0H,7FH,7FH,0FFH                                       ;T
                DB     81H,0H,7EH,7EH,7EH,0H,81H,0FFH                                 ;O
                DB     0FFH,0FFH                                      ;CACH
                DB     7H,3H,0FDH,0FEH,0FDH,3H,7H                                     ;V
                DB     0FFH  
                DB     0H,0H,0FFH                                                                      ;I
                DB     0H,0H,0BFH,0DFH,0EFH,0H,0H                                        ;N
                DB     0FFH 
                DB     0H,0H,0F7H,0F7H,0F7H,0H,0H                                         ;H
                DB     0FFH,0FFH                                      ;CACH 
                DB     0H,0H,77H,77H,7H,8FH,0FFH                                          ;P
                DB     0FFH 
                DB     0H,0H,0F7H,0F7H,0F7H,0H,0H                                         ;H
                DB     0FFH  
                DB     0E0H,0C0H,0B7H,77H,0B7H,0C0H,0E0H                          ; A
                DB     0FFH      
                DB     7FH,7FH,0H,0H,7FH,7FH,0FFH                                       ;T
                DB     0FFH,0FFH,0DBH,0E7H,81H,0E7H,0DBH,0FFH,0FFH,0FFH,0FFH,0DBH,0E7H,81H,0E7H,0DBH,0FFH,0FFH  ;HOA
                DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH  
                UYTIN:
                DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                DB     0FFH,81H,0FEH,0FEH,0FEH,81H           ;U
                DB     0FFH,9FH,0EFH,0F0H,0EFH,9FH          ;Y
                DB 0FFH,0FFH
                DB     0FFH,0BFH,0BFH,80H,0BFH,0BFH        ;T
                DB     0FFH,80H,0FFH                                     ;I
                DB     0FFH,80H,0DFH,0EFH,0F7H,80H            ;N
                CHATLUONG:
                DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                DB     0FFH,0C1H,0BEH,0BEH,0BEH,0DDH     ;C 
                DB     0FFH,80H,0F7H,0F7H,0F7H,80H             ;H
                DB     0FFH,0E0H,0DBH,0BBH,0DBH,0E0H     ;A
                DB     0FFH,0BFH,0BFH,80H,0BFH,0BFH        ;T 
                DB 0FFH,0FFH,0FFH
                DB     0FFH,80H,0FEH,0FEH,0FEH,0FEH         ;L 
                DB     0FFH,81H,0FEH,0FEH,0FEH,81H           ;U
                DB     0FFH,0C1H,0BEH,0BEH,0BEH,0C1H      ;0
                DB     0FFH,80H,0DFH,0EFH,0F7H,80H            ;N
                DB     0FFH,0C1H,0BEH,0B6H,0B6H,0D0H       ;G
                GIACA:
                DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                DB     0FFH,0C1H,0BEH,0B6H,0B6H,0D0H       ;G
                DB     0FFH,80H,0FFH                                     ;I
                DB     0FFH,0E0H,0DBH,0BBH,0DBH,0E0H     ;A
                DB 0FFH,0FFH,0FFH
                DB     0FFH,0C1H,0BEH,0BEH,0BEH,0DDH     ;C
                DB     0FFH,0E0H,0DBH,0BBH,0DBH,0E0H     ;A
                DB 0FFH,0FFH,0FFH
                DB     0FFH,0C0H,0B7H,0B7H,0B7H,0CFH       ;P
                DB     0FFH,80H,0F7H,0F7H,0F7H,80H             ;H
                DB     0FFH,0E0H,0DBH,0BBH,0DBH,0E0H     ;A
                DB     0FFH,80H,0FFH                                     ;I
                DB 0FFH,0FFH,0FFH
                DB     0FFH,0C1H,0BEH,0BEH,0BEH,0DDH     ;C 
                DB     0FFH,80H,0F7H,0F7H,0F7H,80H             ;H
                DB     0FFH,0E0H,0DBH,0BBH,0DBH,0E0H     ;A
                DB     0FFH,80H,0DFH,0EFH,0F7H,80H            ;N
                DB     0FFH,0C1H,0BEH,0B6H,0B6H,0D0H       ;G
                DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                
                
                TEL:
                DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                DB     0FFH,0BFH,0BFH,80H,0BFH,0BFH        ;T
                DB     0FFH,80H,0B6H,0B6H,0B6H,0BEH         ;E
                DB     0FFH,80H,0FEH,0FEH,0FEH,0FEH         ;L
                DB 0FFH,0FFH,0FFH
                DB     0FFH,0DDH,0B6H,0B6H,0B6H,0C9H    ;3
                DB     0FFH,8DH,0B6H,0B6H,0B6H,0B9H     ;5
                DB     0FFH,0C1H,0BEH,0BEH,0BEH,0C1H  ;0
                DB     0FFH,0C1H,0BEH,0BEH,0BEH,0C1H  ;0
                DB     0FFH,0DEH,0BCH,0BAH,0B6H,0CEH  ;2
                DB     0FFH,0DEH,0BCH,0BAH,0B6H,0CEH  ;2
                DB     0FFH,0CDH,0B6H,0B6H,0B6H,0C1H   ;9
                DB 0FFH,0FFH,0FFH
                DB     0FFH,0EFH,0EFH,0FFH                                                   ;-
                DB 0FFH,0FFH,0FFH
                DB     0FFH,0C1H,0BEH,0BEH,0BEH,0C1H  ;0
                DB     0FFH,0CDH,0B6H,0B6H,0B6H,0C1H   ;9
                DB     0FFH,0FEH,0DEH,80H,0FEH,0FEH      ;1
                DB     0FFH,0C9H,0B6H,0B6H,0B6H,0C9H    ;8
                DB     0FFH,0DDH,0B6H,0B6H,0B6H,0C9H    ;3
                DB     0FFH,0FEH,0DEH,80H,0FEH,0FEH      ;1
                DB     0FFH,0DDH,0B6H,0B6H,0B6H,0C9H    ;3
                DB     0FFH,0FEH,0DEH,80H,0FEH,0FEH      ;1
                DB     0FFH,0C1H,0BEH,0BEH,0BEH,0C1H  ;0
                DB     0FFH,0FEH,0DEH,80H,0FEH,0FEH      ;1
                DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                
                DB     0FFH,0FFH,0DBH,0E7H,81H,0E7H,0DBH,0FFH,0FFH,0FFH,0FFH,0DBH,0E7H,81H,0E7H,0DBH,0FFH,0FFH  ;HOA 
                DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                
                
                END
                
                ;<<<<<<<<<<<<>>>>>>>>>>>>
                ;P2 HANG THAP
                ;P0 COT CAO
                ;P1.0 LED TICH CUC
                ;P1.1
                ;P1.2
                ;P1.3
                ;P1.4
                ;P1.6 CHON CT
                ;P1.7 CHAY CT
                code đây nhá có j ko hỉu cứ hỏi em sẽ giải đáp
                8051 là con em viết thành thạo. em sẵn sàng giúp đỡ các pác nếu em có thể
                liên lạc với em qua địa chi email: Mob: 01882.076.989

                Comment


                • #9
                  led matrix display

                  cái này em mô phỏng bằng proteus 7.6 các pác chịu khó dơn bản này về dùng nhá
                  .bảng led 8x64 dùng ic 74541 chốt và đưa data ra hàng(dùng phương pháp quét cột)
                  Code:
                  																							 $MOD51
                  HANG DATA P2 ;HANG PORT2 TICH CUC MUC THAP
                  COT DATA P0 ;COT PORT3 TICH CUC MUC CAO
                  SELECT0 BIT P1.0 ;CAC BIT CHON LED TICH CUC
                  SELECT1 BIT P1.1
                  SELECT2 BIT P1.2
                  SELECT3 BIT P1.3
                  SELECT4 BIT P1.4
                  ;----------------------------------------------------------- ---
                  BEGIN:
                  ;<<<<<<<<<<<<<<<<<<WEL COME TO VINH PHAT>>>>>>>>>>>>>>>>>>>>
                  ;;<<<<<<<<<<<<>>>>>>>>>>>>
                  ;;(((((((((((((((((((HINH ANH(CHU) DONG))))))))))))))))))) 
                  ;	 MOV    DPTR,#A1   
                  ;;     MOV    R0, #2
                  ;LAPLAI15:
                  ;     LCALL    SCAN8MT    
                  ;     DJNZ   R0, LAPLAI15
                  ;	
                  ;	 MOV    DPTR,#A2   
                  ;     MOV    R0, #2
                  ;LAPLAI16:
                  ;     LCALL    SCAN8MT    
                  ;    DJNZ   R0, LAPLAI16
                  ;	 
                  ;	 MOV    DPTR,#A3  
                  ;     MOV    R0, #2
                  ;LAPLAI17:
                  ;     LCALL    SCAN8MT    
                  ;     DJNZ   R0, LAPLAI17
                  ;	 
                  ;	 MOV    DPTR,#A4   
                  ;     MOV    R0, #2
                  ;LAPLAI18:
                  ;     LCALL    SCAN8MT    
                  ;     DJNZ   R0, LAPLAI18
                  ;	 
                  ;	 MOV    DPTR,#A5   
                  ;     MOV    R0, #2
                  ;LAPLAI19:
                  ;     LCALL    SCAN8MT    
                  ;     DJNZ   R0, LAPLAI19
                  ;	 
                  ;	 MOV    DPTR,#A6   
                  ;     MOV    R0, #2
                  ;LAPLAI20:
                  ;     LCALL    SCAN8MT    
                  ;     DJNZ   R0, LAPLAI20
                  ;	
                  ;	 MOV    DPTR,#A7   
                  ;     MOV    R0, #2
                  ;LAPLAI21:
                  ;     LCALL    SCAN8MT    
                  ;     DJNZ   R0, LAPLAI21
                  ;
                  ;	 MOV    DPTR,#A8   
                  ;     MOV    R0, #2
                  ;LAPLAI22:
                  ;     LCALL    SCAN8MT    
                  ;     DJNZ   R0, LAPLAI22
                  ;
                  ;
                  ;	 MOV    DPTR,#A9   
                  ;     MOV    R0, #2
                  ;LAPLAI23:
                  ;     LCALL    SCAN8MT    
                  ;     DJNZ   R0, LAPLAI23
                  ;
                  ;	 MOV    DPTR,#A10   
                  ;     MOV    R0, #2
                  ;LAPLAI24:
                  ;     LCALL    SCAN8MT    
                  ;     DJNZ   R0, LAPLAI24
                  ;
                  ;	 MOV    DPTR,#A9   
                  ;    MOV    R0, #2
                  ;LAPLAI25:
                  ;     LCALL    SCAN8MT    
                  ;     DJNZ   R0, LAPLAI25
                  ;
                  ;	 MOV    DPTR,#A9   
                  ;     MOV    R0, #2
                  ;LAPLAI26:
                  ;     LCALL    SCAN8MT    
                  ;     DJNZ   R0, LAPLAI26
                  
                  ;	 MOV    DPTR,#A12   
                  ;     MOV    R0, #2
                  ;LAPLAI27:
                  ;     LCALL    SCAN8MT    
                  ;     DJNZ   R0, LAPLAI27
                  ;
                  ;	 MOV    DPTR,#A13   
                  ;     MOV    R0, #2
                  ;LAPLAI28:
                  ;     LCALL    SCAN8MT    
                  ;     DJNZ   R0, LAPLAI28
                  ;
                  ;	 MOV    DPTR,#A14   
                  ;     MOV    R0, #2
                  ;LAPLAI29:
                  ;     LCALL    SCAN8MT    
                  ;     DJNZ   R0, LAPLAI29
                  ;
                  ;	 MOV    DPTR,#A15   
                  ;     MOV    R0, #2
                  ;LAPLAI30:
                  ;     LCALL    SCAN8MT    
                  ;     DJNZ   R0, LAPLAI30
                  ;
                  ;	 MOV    DPTR,#A16   
                  ;     MOV    R0, #2
                  ;;LAPLAI31:
                  ;     LCALL    SCAN8MT    
                  ;     DJNZ   R0, LAPLAI31
                  ;
                  ;	 MOV    DPTR,#A17   
                  ;     MOV    R0, #2
                  ;LAPLAI32:
                  ;     LCALL    SCAN8MT    
                  ;     DJNZ   R0, LAPLAI32
                  ;
                  ;	 MOV    DPTR,#A18  
                  ;     MOV    R0, #2
                  ;LAPLAI33:
                  ;     LCALL    SCAN8MT    
                  ;     DJNZ   R0, LAPLAI33
                  ;
                  ;	 MOV    DPTR,#A19   
                  ;     MOV    R0, #2
                  ;LAPLAI34:
                  ;     LCALL    SCAN8MT    
                  ;     DJNZ   R0, LAPLAI34
                  ;
                  ;	 MOV    DPTR,#A19   
                  ;     MOV    R0, #2
                  ;LAPLAI35:
                  ;     LCALL    SCAN8MT    
                  ;     DJNZ   R0, LAPLAI35
                  ;
                  ;	 MOV    DPTR,#A20   
                  ;     MOV    R0, #2
                  ;LAPLAI36:
                  ;     LCALL    SCAN8MT    
                  ;     DJNZ   R0, LAPLAI36
                  ;
                  ;	 MOV    DPTR,#A21   
                  ;     MOV    R0, #2
                  ;;LAPLAI37:
                  ;;     LCALL    SCAN8MT    
                  ;;     DJNZ   R0, LAPLAI37
                  ;
                  MOV    DPTR,#REMCUA    
                       MOV    R0, #2
                  LAPLAI1:
                       LCALL    SCAN8MT1    
                       DJNZ   R0, LAPLAI1
                  MP1:    
                       MOV    R0,#1  
                  
                  MP00: 
                  	LCALL SCAN8MT ;NAP DU LIEU
                  	DJNZ R0,MP00
                  	INC DPTR
                  	MOV A,DPL
                  	CJNE A,#LOW(REMCUA+60),MP1
                  ;+++++++++++++VINH PHAT STOP AND RUN+++++++++++++++++++
                  
                  MOV    DPTR,#VINHPHAT    
                       MOV    R0, #10
                  LAPLAI9:
                       LCALL    SCAN8MT    
                       DJNZ   R0, LAPLAI9
                       MOV    DPTR,#VINHPHAT
                  MP2:    
                       MOV    R0,#1  
                  MP88: 
                  	LCALL SCAN8MT ;NAP DU LIEU
                  	DJNZ R0,MP88
                  	INC DPTR
                  	MOV A,DPL
                  	CJNE A,#LOW(VINHPHAT+60),MP2
                  ;<<<<<<<<<<<<KINH CHAO QUY KHACH>>>>>>>>>>>>>>
                  	MOV DPTR,#KINH
                  AAA: 
                  	MOV R0,#1;TOC DO HIEN KY TU
                  BBB: 
                  	LCALL SCAN8MT ;NAP DU LIEU
                  	DJNZ R0,BBB
                  	INC DPTR
                  	MOV A,DPL
                  	MOV R1,DPH
                  	CJNE R1,#02H,AAA ;KIEM TRA KET T	
                  	CJNE    A,#LOW(KINH+80),AAA
                  ;<<<<<<<<<<<<>>>>>>>>>>>>
                  MOV    DPTR,#UYTIN   
                       MOV    R0, #25
                  LAPLAI10:
                       LCALL    SCAN8MT    
                       DJNZ   R0, LAPLAI10
                       MOV    DPTR,#UYTIN
                  MP99:    
                       MOV    R0,#1
                  ;<<<<<<<<<<<<>>>>>>>>>>>>
                  MOV    DPTR,#CHATLUONG    
                       MOV    R0, #10
                  LAPLAI11:
                       LCALL    SCAN8MT    
                       DJNZ   R0, LAPLAI11
                       MOV    DPTR,#CHATLUONG
                  MP3:    
                       MOV    R0,#1  
                  MP100: 
                  	LCALL SCAN8MT ;NAP DU LIEU
                  	DJNZ R0,MP100
                  	INC DPTR
                  	MOV A,DPL
                  	CJNE A,#LOW(CHATLUONG+30),MP3
                  ;?????????????????WAY??????????????????
                  MOV    DPTR,#GIACA    
                       MOV    R0, #10
                  LAPLAI12:
                       LCALL    SCAN8MT    
                       DJNZ   R0, LAPLAI12
                       MOV    DPTR,#GIACA
                  MP4:    
                       MOV    R0,#1  
                  MP150: 
                  	LCALL SCAN8MT ;NAP DU LIEU
                   	DJNZ R0,MP150
                  	INC DPTR
                  	MOV A,DPL
                  	CJNE A,#LOW(GIACA+100),MP4
                  ;***************DIA CHI*********************
                  
                  
                  ;(((((((((((((((((((NHAY VE LAM LAI TU DAU))))))))))))))))
                          LJMP    BEGIN 
                  ;----------------------------------------------------------
                  ;CAC CHUONG TRINH QUET MA TRAN
                  ;---------------------------------------------------------
                  ;CHUONG TRINH QUET 8 MA TRAN.
                  SCAN8MT:
                  	PUSH 00H
                  	PUSH 01H
                  	PUSH 03H
                  	PUSH ACC
                  	MOV R0,#00H ;OFFSET LAY MA HIEN THI 
                  	MOV R3,#01111111B ;DUNG DE CHON MA TRAN TICH CUC,
                  	;TICH CUC LED 8 DAU TIEN
                  SCAN2: ;NAP LAI SAU KHI DA QUET XONG 1 MA TRAN
                  	MOV R1,#80H ;QUET COT
                  	MOV P1,R3 ;TICH CUC MA TRAN
                  	SCAN1: 
                  	MOV A,R0
                  	MOVC A,@A+DPTR
                  	MOV HANG,A
                  	MOV COT,R1
                  	LCALL DELAY3
                  	MOV COT,#00H ;CHONG LEM
                  	INC R0 ;TANG R0 DE LAY MA HIEN THI KE
                  	MOV A,R1 ;DICH PHAI R1 DE QUET COT KE
                  	RR A
                  	MOV R1,A
                  	CJNE R1,#80H,SCAN1;NHAY KHI CHUA QUET HET 8 COT
                  	MOV A,R3 ;DICH PHAI R3 DE TICH CUC MA TRAN TIEP THEO
                  	RR A
                  	MOV R3,A
                  	CJNE R3,#01111111B,SCAN2 ;NHAY KHI CHUA HET 5 MA TRAN
                  	POP ACC 
                  	POP 03H
                  	POP 01H
                  	POP 00H
                  	RET
                  ;((((((((((((((((((CHUONG TRINH QUET 5 MA TRAN NGUOC.))))))))))))))))))
                  
                  ;----------------------------------------------------------
                  ;CAC CHUONG TRINH DELAY
                  ;----------------------------------------------------------
                  
                  SCAN8MT1:
                  	PUSH 00H
                  	PUSH 01H
                  	PUSH 03H
                  	PUSH ACC
                  	MOV R0,#00H ;OFFSET LAY MA HIEN THI 
                  	MOV R3,#01111111B ;DUNG DE CHON MA TRAN TICH CUC,
                  	;TICH CUC LED 8 DAU TIEN
                  SCAN4: ;NAP LAI SAU KHI DA QUET XONG 1 MA TRAN
                  	MOV R1,#80H ;QUET COT
                  	MOV P1,R3 ;TICH CUC MA TRAN
                  	SCAN3: 
                  	MOV A,R0
                  	MOVC A,@A+DPTR
                  	MOV HANG,A
                  	MOV COT,R1
                  	LCALL DELAY3
                  	MOV COT,#00H ;CHONG LEM
                  	INC R0 ;TANG R0 DE LAY MA HIEN THI KE
                  	MOV A,R1 ;DICH PHAI R1 DE QUET COT KE
                  	RR A
                  	MOV R1,A
                  	CJNE R1,#80H,SCAN3;NHAY KHI CHUA QUET HET 8 COT
                  	MOV A,R3 ;DICH PHAI R3 DE TICH CUC MA TRAN TIEP THEO
                  	RR A
                  	MOV R3,A
                  	CJNE R3,#01111111B,SCAN4 ;NHAY KHI CHUA HET 5 MA TRAN
                  	POP ACC 
                  	POP 03H
                  	POP 01H
                  	POP 00H
                  	RET
                  ;((((((((((((((((((CHUONG TRINH QUET 5 MA TRAN NGUOC.))))))))))))))))))
                  
                  ;----------------------------------------------------------
                  ;CAC CHUONG TRINH DELAY
                  ;----------------------------------------------------------
                  DELAY3: ;CHUONG TRINH DELAY 1.25 MS
                  	PUSH 00H
                  	PUSH 01H
                  	MOV R1,#2
                  	LOOP3:
                  	MOV R0,#255
                  	DJNZ R0,$
                  	DJNZ R1,LOOP3
                  	POP 01H
                  	POP 00H
                  	RET
                  
                  
                  ;----------------------------------------------------------
                  ;BANG MA DU LIEU HIEN THI
                  ;---------------------------------------------------------- 
                   
                   
                  
                  
                  REMCUA:
                  DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                  DB     0FFH,80H,0B7H,0B3H,0B5H,0CEH        ;R  
                  DB     0FFH,80H,0B6H,0B6H,0B6H,0BEH         ;E
                  DB     0FFH,80H,0DFH,0EFH,0DFH,80H            ;M
                  DB 	   0FFH,0FFH,0FFH,0FFH
                  DB     0FFH,0C1H,0BEH,0BEH,0BEH,0DDH     ;C 
                  DB     0FFH,81H,0FEH,0FEH,0FEH,81H           ;U
                  DB     0FFH,0E0H,0DBH,0BBH,0DBH,0E0H
                  DB 	   0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                  DB	   0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                  DB     0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                  DB     0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                  DB     0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                  DB     0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                  DB     0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                  DB     0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                  VINHPHAT:
                  DB 0FFH,0FFH,0FFH,0FFH ,0FFH,0FFH
                  
                  DB     7H,3H,0FDH,0FEH,0FDH,3H,7H                                     ;V
                  DB     0FFH  
                  DB     0H,0H,0FFH                                                                      ;I
                  DB     0H,0H,0BFH,0DFH,0EFH,0H,0H                                        ;N
                  DB     0FFH 
                  DB     0H,0H,0F7H,0F7H,0F7H,0H,0H                                         ;H
                  DB     0FFH  
                  
                  DB 0FFH,0FFH
                  DB     0H,0H,77H,77H,7H,8FH,0FFH                                          ;P
                  DB     0FFH 
                  DB     0H,0H,0F7H,0F7H,0F7H,0H,0H                                         ;H
                  DB     0FFH  
                  DB     0E0H,0C0H,0B7H,77H,0B7H,0C0H,0E0H                          ; A
                  DB     0FFH      
                  DB     7FH,7FH,0H,0H,7FH,7FH,0FFH                                       ;T
                  KINH :
                  DB     0FFH,0FFH,0DBH,0E7H,81H,0E7H,0DBH,0FFH,0FFH,0FFH,0FFH,0DBH,0E7H,81H,0E7H,0DBH,0FFH,0FFH  ;HOA 
                  DB     0FFH,0FFH,0DBH,0E7H,81H,0E7H,0DBH,0FFH,0FFH,0FFH,0FFH,0DBH,0E7H,81H,0E7H,0DBH,0FFH,0FFH  ;HOA 
                  DB     0H,0H,0E7H,0DBH,0BDH,7EH,0FFH                                 ;K   
                  DB     0FFH,0H,0H,0FFH                                                             ;I
                  DB     0H,0H,0BFH,0DFH,0EFH,0H,0H,0FFH                              ;N
                  DB     0H,0H,0F7H,0F7H,0F7H,0H,0H,0FFH                                 ;H
                  DB     0FFH,0FFH                                                                     ;CACH
                  DB     81H,0H,7EH,7EH,7EH,0BDH,0FFH                                     ;C
                  DB     0H,0H,0F7H,0F7H,0F7H,0H,0H,0FFH                                  ;H
                  DB     0E0H,0C0H,0B7H,77H,0B7H,0C0H,0E0H,0FFH                   ;A
                  DB     81H,0H,7EH,7EH,7EH,0H,81H,0FFH                                    ;O
                  DB     0FFH,0FFH                                                                     ;CACH
                  DB     81H,0H,7EH,7AH,7CH,0H,80H,0FEH                                  ;Q
                  DB     1H,0H,0FEH,0FEH,0FEH,0H,1H,0FFH                               ;U
                  DB     0FH,7H,0F0H,0F0H,7H,0FH,0FFH                                      ;Y
                  DB     0FFH,0FFH                                                                     ;CACH
                  DB     0H,0H,0E7H,0DBH,0BDH,7EH,0FFH                                 ;K   
                  DB     0H,0H,0F7H,0F7H,0F7H,0H,0H,0FFH                                 ;H
                  DB     0E0H,0C0H,0B7H,77H,0B7H,0C0H,0E0H,0FFH                   ;A
                  DB     81H,0H,7EH,7EH,7EH,0BDH,0FFH                                     ;C
                  DB     0H,0H,0F7H,0F7H,0F7H,0H,0H,0FFH                                  ;H
                  DB     0FFH,0FFH,0DBH,0E7H,81H,0E7H,0DBH,0FFH,0FFH,0FFH,0FFH,0DBH,0E7H,81H,0E7H,0DBH,0FFH,0FFH  ;HOA
                  DB     0FFH,0FFH,0DBH,0E7H,81H,0E7H,0DBH,0FFH,0FFH,0FFH,0FFH,0DBH,0E7H,81H,0E7H,0DBH,0FFH,0FFH  ;HOA
                  DB     3H,1H,0FCH,0F9H,0F3H,0F9H,0FCH,1H,3H                    ;W
                  DB     0FFH 
                  DB     0H,0H,76H,76H,76H,7EH                                                  ;E
                  DB     0FFH
                  DB     0H,0H,0FEH,0FEH,0FEH,0FDH                                           ;L
                  DB     0FFH
                  DB     81H,0H,7EH,7EH,7EH,0BDH,0FFH                                    ;C
                  DB     0FFH
                  DB     81H,0H,7EH,7EH,7EH,0H,81H,0FFH                                 ;O
                  DB     0H,0H,9FH,0CFH,9FH,0H,0H,0FFH                                    ;M
                  DB     0H,0H,76H,76H,76H,7EH                                                  ;E
                  DB     0FFH,0FFH                                      ;CACH
                  DB     7FH,7FH,0H,0H,7FH,7FH,0FFH                                       ;T
                  DB     81H,0H,7EH,7EH,7EH,0H,81H,0FFH                                 ;O
                  DB     0FFH,0FFH                                      ;CACH
                  DB     7H,3H,0FDH,0FEH,0FDH,3H,7H                                     ;V
                  DB     0FFH  
                  DB     0H,0H,0FFH                                                                      ;I
                  DB     0H,0H,0BFH,0DFH,0EFH,0H,0H                                        ;N
                  DB     0FFH 
                  DB     0H,0H,0F7H,0F7H,0F7H,0H,0H                                         ;H
                  DB     0FFH,0FFH                                      ;CACH 
                  DB     0H,0H,77H,77H,7H,8FH,0FFH                                          ;P
                  DB     0FFH 
                  DB     0H,0H,0F7H,0F7H,0F7H,0H,0H                                         ;H
                  DB     0FFH  
                  DB     0E0H,0C0H,0B7H,77H,0B7H,0C0H,0E0H                          ; A
                  DB     0FFH      
                  DB     7FH,7FH,0H,0H,7FH,7FH,0FFH                                       ;T
                  DB     0FFH,0FFH,0DBH,0E7H,81H,0E7H,0DBH,0FFH,0FFH,0FFH,0FFH,0DBH,0E7H,81H,0E7H,0DBH,0FFH,0FFH  ;HOA
                  DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                  DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                  DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH  
                  UYTIN:
                  DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                  DB     0FFH,81H,0FEH,0FEH,0FEH,81H           ;U
                  DB     0FFH,9FH,0EFH,0F0H,0EFH,9FH          ;Y
                  DB 0FFH,0FFH
                  DB     0FFH,0BFH,0BFH,80H,0BFH,0BFH        ;T
                  DB     0FFH,80H,0FFH                                     ;I
                  DB     0FFH,80H,0DFH,0EFH,0F7H,80H            ;N
                  CHATLUONG:
                  DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                  DB     0FFH,0C1H,0BEH,0BEH,0BEH,0DDH     ;C 
                  DB     0FFH,80H,0F7H,0F7H,0F7H,80H             ;H
                  DB     0FFH,0E0H,0DBH,0BBH,0DBH,0E0H     ;A
                  DB     0FFH,0BFH,0BFH,80H,0BFH,0BFH        ;T 
                  DB 0FFH,0FFH,0FFH
                  DB     0FFH,80H,0FEH,0FEH,0FEH,0FEH         ;L 
                  DB     0FFH,81H,0FEH,0FEH,0FEH,81H           ;U
                  DB     0FFH,0C1H,0BEH,0BEH,0BEH,0C1H      ;0
                  DB     0FFH,80H,0DFH,0EFH,0F7H,80H            ;N
                  DB     0FFH,0C1H,0BEH,0B6H,0B6H,0D0H       ;G
                  GIACA:
                  DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                  DB     0FFH,0C1H,0BEH,0B6H,0B6H,0D0H       ;G
                  DB     0FFH,80H,0FFH                                     ;I
                  DB     0FFH,0E0H,0DBH,0BBH,0DBH,0E0H     ;A
                  DB 0FFH,0FFH,0FFH
                  DB     0FFH,0C1H,0BEH,0BEH,0BEH,0DDH     ;C
                  DB     0FFH,0E0H,0DBH,0BBH,0DBH,0E0H     ;A
                  DB 0FFH,0FFH,0FFH
                  DB     0FFH,0C0H,0B7H,0B7H,0B7H,0CFH       ;P
                  DB     0FFH,80H,0F7H,0F7H,0F7H,80H             ;H
                  DB     0FFH,0E0H,0DBH,0BBH,0DBH,0E0H     ;A
                  DB     0FFH,80H,0FFH                                     ;I
                  DB 0FFH,0FFH,0FFH
                  DB     0FFH,0C1H,0BEH,0BEH,0BEH,0DDH     ;C 
                  DB     0FFH,80H,0F7H,0F7H,0F7H,80H             ;H
                  DB     0FFH,0E0H,0DBH,0BBH,0DBH,0E0H     ;A
                  DB     0FFH,80H,0DFH,0EFH,0F7H,80H            ;N
                  DB     0FFH,0C1H,0BEH,0B6H,0B6H,0D0H       ;G
                  DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                  DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                  DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                  DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                  
                  
                  TEL:
                  DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                  DB     0FFH,0BFH,0BFH,80H,0BFH,0BFH        ;T
                  DB     0FFH,80H,0B6H,0B6H,0B6H,0BEH         ;E
                  DB     0FFH,80H,0FEH,0FEH,0FEH,0FEH         ;L
                  DB 0FFH,0FFH,0FFH
                  DB     0FFH,0DDH,0B6H,0B6H,0B6H,0C9H    ;3
                  DB     0FFH,8DH,0B6H,0B6H,0B6H,0B9H     ;5
                  DB     0FFH,0C1H,0BEH,0BEH,0BEH,0C1H  ;0
                  DB     0FFH,0C1H,0BEH,0BEH,0BEH,0C1H  ;0
                  DB     0FFH,0DEH,0BCH,0BAH,0B6H,0CEH  ;2
                  DB     0FFH,0DEH,0BCH,0BAH,0B6H,0CEH  ;2
                  DB     0FFH,0CDH,0B6H,0B6H,0B6H,0C1H   ;9
                  DB 0FFH,0FFH,0FFH
                  DB     0FFH,0EFH,0EFH,0FFH                                                   ;-
                  DB 0FFH,0FFH,0FFH
                  DB     0FFH,0C1H,0BEH,0BEH,0BEH,0C1H  ;0
                  DB     0FFH,0CDH,0B6H,0B6H,0B6H,0C1H   ;9
                  DB     0FFH,0FEH,0DEH,80H,0FEH,0FEH      ;1
                  DB     0FFH,0C9H,0B6H,0B6H,0B6H,0C9H    ;8
                  DB     0FFH,0DDH,0B6H,0B6H,0B6H,0C9H    ;3
                  DB     0FFH,0FEH,0DEH,80H,0FEH,0FEH      ;1
                  DB     0FFH,0DDH,0B6H,0B6H,0B6H,0C9H    ;3
                  DB     0FFH,0FEH,0DEH,80H,0FEH,0FEH      ;1
                  DB     0FFH,0C1H,0BEH,0BEH,0BEH,0C1H  ;0
                  DB     0FFH,0FEH,0DEH,80H,0FEH,0FEH      ;1
                  DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                  DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                  DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                  DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                  
                  DB     0FFH,0FFH,0DBH,0E7H,81H,0E7H,0DBH,0FFH,0FFH,0FFH,0FFH,0DBH,0E7H,81H,0E7H,0DBH,0FFH,0FFH  ;HOA 
                  DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                  DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                  DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                  DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                  DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                  DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                  DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                  DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                  DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
                  
                  
                  END
                  
                  ;<<<<<<<<<<<<>>>>>>>>>>>>
                  ;P2 HANG THAP
                  ;P0 COT CAO
                  ;P1.0 LED TICH CUC
                  ;P1.1
                  ;P1.2
                  ;P1.3
                  ;P1.4
                  code đây nhá có j ko hỉu cứ hỏi em sẽ giải đáp
                  weo! ko post dc file mô phỏng các pác liên hệ yahoo em gửi cho
                  8051 là con em viết thành thạo. em sẵn sàng giúp đỡ các pác nếu em có thể
                  liên lạc với em qua địa chi email: Mob: 01882.076.989

                  Comment


                  • #10
                    anh hoangphat cho em xin sơ đồ nguyên lý nhé,em mới làm mà,còn ít kinh nghiệm lắm
                    ĐẠI HỌC SƯ PHẠM KỸ THUẬT I

                    Nợ cha một sự nghiệp - Nợ mẹ một nàng dâu

                    Comment

                    Về tác giả

                    Collapse

                    helomoto Tìm hiểu thêm về helomoto

                    Bài viết mới nhất

                    Collapse

                    Đang tải...
                    X