Archive for June 2013

program for LED styling 2




LED styling2:

org 00h
mov p2,#00h
mov p3,#00h
again: mov p2,#0fh
mov p3,#0fh
nop
nop
nop
nop
mov p2,#0f0h
mov p3,#0f0h
nop
nop
mov p2,#7dh
mov p3,#7dh
nop
nop
mov p2,#3ch
mov p3,#3ch
nop
nop
mov p2,#18h
mov p3,#18h
nop
nop
mov p2,#00h
mov p3,#00h
nop
nop
mov p2,#0f7h
mov p3,#0f7h
nop
nop
mov p2,#0e7h
mov p3,#0e7h
nop
nop
mov p2,#0c3h
mov p3,#0c3h
nop
nop
mov p2,#81h
mov p3,#81h
nop
nop
mov p2,#00h
mov p3,#00h
nop
nop
mov p2,#7fh
mov p3,#7fh
nop
nop
mov p2,#3fh
mov p3,#3fh
nop                                                          
nop
mov p2,#1fh
mov p3,#1fh
nop
nop
mov p2,#0fh
mov p3,#0fh
nop
nop
mov p2,#07h
mov p3,#07h
nop
nop                                                       
mov p2,#03h
mov p3,#03h
nop
nop
mov p2,#01h
mov p3,#01h
nop
nop
mov p2,#00h
mov p3,#00h
nop
nop
mov p2,#01h
mov p3,#01h
nop
nop
mov p2,#03h
mov p3,#03h
nop
nop
mov p2,#07h
mov p3,#07h
nop
nop
mov p2,#0fh
mov p3,#0fh
nop
nop
mov p2,#1fh
mov p3,#1fh
nop
nop
mov p2,#3fh
mov p3,#3fh
nop
nop
mov p2,#7fh
mov p3,#7fh
nop
nop
ajmp again
end


CLICK HERE TO SEE CIRCUIT DIAGRAM

LED styling 2 using 8051

LED styling 2:

                               

                               
                               

This is the circuit diagram used by me. There is no fixed circuit diagram for LED styling. You can also connect a number of led. In this project, we will display LED in different pattern. It is possible just by providing delay between two led.


CLICK HERE TO SEE PROGRAM FOR LED STYLING 2

- Copyright © Microcontroller Projects -Metrominimalist- Powered by Blogger - Designed by Johanes Djogan -