Introduction: Magic Magnifying Glass by LED MATRIX 8x8

About: LED addict with Microcontroller At89s51/52 and arduino

Development of the existing microcontroller has been very fast. A lot of electronic equipment exploits microcontroller. One other applicable at microcontroller that is making the application of physic for presents character by using dot matrix led display 8X8 (8 column-8 line) common cathode. Basically, dot matrix led display is alliance some led integrated forms a number of columns and line. There is many type dot matrix led display sold marketing, usually which differentiates is a number of columns and number of the lines is and commonly made in network dot matrix led the display for example matrix 8x8 common anode or common cathode, matrix 8x8 common anode or cathode, matrix 8X8 common anode or common cathode.

From the angle of physical of people might possibly make it from single led, strung up with the certain order based on its and common what applied. For character physic application program bases on microcontroller AT89s52, I apply to a programme of assembly MCS51. For this time I will combine between dot matrix led display 8X8 with a magnifying glass. As we know magnifying glass can make the shadow bigger and to set the focus. Lets the magic begins...

Step 1: Step 1 : Things to Prepare

You refer to the components required by the click on the name of the components to order offline:

MATERIAL

  1. 1.SOCKET 40P
  2. IC AT89S52
  3. 10KR
  4. 16x 180R
  5. 16x PNP A733
  6. Jump LED
  7. LED matrix 8x8
  8. JACK -DC
  9. LED Power
  10. IDE10-males
  11. Quartz 12MHz
  12. Capacitor Ceramics 33P
  13. Capacitor 16V 10uF
  14. ISP Supply
  15. 3 x magnifying glass

TOOLS:

  • Soldering Iron
  • Thin Solder
  • Solder WickFlux (I like liquid in a felt tip pen)
  • Tweezers
  • Magnifying Glass (helpful but not required)
  • Utility Knife
  • Wire Cutters

Step 2: Steps 2 : Built In

Okay, let's start....

From the Schematic Proteus you can see Microcontroller AT89s52 is connected with display LED matrix 8x8. You can make the circuit by print the coreldraw file. Make sure to put in the correct file part.

Step 3: Steps 3 : Software

Source code asm :

#include (sfr51.inc)

org 0h

ljmp mulai

isi_buffer:

mov 7ch,#08h

mov r0,#70h

ulang:

mov a,7eh

movc a,@a+dptr

mov @r0,a

inc dptr

inc r0

djnz 7ch,ulang

ret

diseg:

mov 7bh,#08h

mov r1,#70h

mov 78h,#07fh

ulang2:

mov a,@r1

mov p0,a

inc r1

mov a,78h

mov p1,a

rr a

mov 78h,a

lcall delay

mov p0,#0ffh

mov p1,#0ffh

djnz 7bh,ulang2

ret

delay:

mov 79h,#0c0h

delay1:

djnz 79h,delay1

ret

display:

mov 7ah,#10h;perlambat jalan

display1:

lcall diseg

djnz 7ah,display1

ret

mulai:

mov 7eh,#1

mov 7dh,#255

nextdata:

mov dptr,#elins

lcall isi_buffer

lcall display

inc 7eh

djnz 7dh,nextdata

lcall display

lcall display

lcall display

ljmp mulai

elins: db

ffh,ffh,ffh,ffh,ffh,ffh,ffh,ffh,;awal

00h,00h,1dh,1dh,1dh,1dh,ddh,ddh,ffh,;F

22h,20h,1dh,1dh,1dh,1dh,20h,22h,ffh,;A

00h,00h,9dh,1dh,15h,85h,88h,a8h,ffh,;R

c5h,c5h,00h,00h,c5h,c5h,ffh,;I

00h,00h,c5h,c5h,c5h,c5h,30h,3ah,ffh,;D

c5h,45h,05h,84h,c0h,c1h,c5h,c5h,ffh,;Z

ffh,ffh,ffh,;space

00h,00h,e7h,e7h,e7h,e7h,e7h,e7h,ffh,;L

00h,00h,84h,84h,84h,84h,c5h,c5h,ffh,;E

00h,00h,c5h,c5h,c5h,c5h,30h,3ah,ffh,;D

ffh,ffh,ffh,ffh,ffh,ffh,ffh,ffh,;awal

ffh,ffh,ffh,ffh,ffh,ffh,ffh,ffh,;awal

ffh,ffh,ffh,ffh,ffh,ffh,ffh,ffh,;awal

ffh,ffh,ffh,ffh,ffh,ffh,ffh,ffh,;awal

ffh,ffh,ffh,ffh,ffh,ffh,ffh,ffh,;awal

00h,00h,1dh,1dh,1dh,1dh,ddh,ddh,ffh,;F

22h,20h,1dh,1dh,1dh,1dh,20h,22h,ffh,;A

00h,00h,9dh,1dh,15h,85h,88h,a8h,ffh,;R

c5h,c5h,00h,00h,c5h,c5h,ffh,;I

00h,00h,c5h,c5h,c5h,c5h,30h,3ah,ffh,;D

c5h,45h,05h,84h,c0h,c1h,c5h,c5h,ffh,;Z

ffh,ffh,ffh,;space

00h,00h,e7h,e7h,e7h,e7h,e7h,e7h,ffh,;L

00h,00h,84h,84h,84h,84h,c5h,c5h,ffh,;E

00h,00h,c5h,c5h,c5h,c5h,30h,3ah,ffh,;D

ffh,ffh,ffh,ffh,ffh,ffh,ffh,ffh,;awal

ffh,ffh,ffh,ffh,ffh,ffh,ffh,ffh,;awal

ffh,ffh,ffh,ffh,ffh,ffh,ffh,ffh,;awal

ffh,ffh,ffh,ffh,ffh,ffh,ffh,ffh,;awal

ffh,ffh,ffh,ffh,ffh,ffh,ffh,ffh;awal

End

Source code letter :

22h,20h,1dh,1dh,1dh,1dh,20h,22h,ffh,;A

00h,00h,8eh,8eh,8eh,8eh,71h,71h,ffh,;B

30h,30h,c5h,c5h,c5h,c5h,71h,71h,ffh,;C

00h,00h,c5h,c5h,c5h,c5h,30h,3ah,ffh,;D

00h,00h,84h,84h,84h,84h,c5h,c5h,ffh,;E

00h,00h,1dh,1dh,1dh,1dh,ddh,ddh,ffh,;F

32h,30h,cdh,cdh,0dh,0dh,01h,21h,ffh,;G

00h,00h,beh,beh,beh,beh,00h,00h,ffh,;H

c5h,c5h,00h,00h,c5h,c5h,ffh,;I

77h,67h,e7h,e7h,c5h,00h,10h,ddh,ffh,;J

00h,00h,beh,beh,3ah,71h,c5h,cfh,ffh,;K

00h,00h,e7h,e7h,e7h,e7h,e7h,e7h,ffh,;L

00h,00h,f9h,3ah,3ah,f9h,00h,00h,ffh,;M

00h,00h,fah,beh,3fh,77h,00h,00h,ffh,;N

30h,00h,c5h,c5h,c5h,c5h,00h,30h,ffh,;O

00h,00h,1dh,1dh,1dh,1dh,b8h,f8h,ffh,;P

00h,00h,9dh,1dh,15h,85h,88h,a8h,ffh,;R

c1h,c0h,84h,84h,84h,04h,05h,55h,ffh,;S

ddh,ddh,ddh,00h,00h,ddh,ddh,ddh,ffh,;T

18h,00h,e7h,e7h,e7h,e7h,00h,18h,ffh,;U

98h,18h,f7h,e7h,e7h,f7h,18h,18h,ffh,;V

10h,10h,e7h,26h,26h,e7h,10h,10h,ffh,;W

c5h,c5h,71h,3ah,3ah,71h,c5h,c5h,ffh,;X

ddh,d8h,bfh,27h,27h,bfh,d8h,d9h,ffh,;Y

c5h,45h,05h,84h,c0h,c1h,c5h,c5h,ffh,;Z

Next, please compile the software through this link programming software

You will get a file hex after compiling the software, send it to microcontroller at89s52 by DT-HiQ AT89S USB ISP. Here is the link burning hex

Connect the microcrontoller with the previous schematic by using 5 VDC power supply.

Step 4: Final Step

To get the perfect shadows, put the LED Matrix 190 cm from the wall. The distance between the first magnifying glass and LED matrix is 7 cm. And 4 cm from the first to the second glass, also for second to third glass.

What we get :

1. The 5 mm LED becomes 60 mm

2. The 6 x 6 cm LED Matrix becomes 71 x 80 cm

To make it readable, the texts should put in upside down and mirror position.

Electronics, as well as software and hardware, is my passion. I believe that there is a way to simplify the
electronics (possibly using a shift register and/or to make it possible to control more 8x8 led matrix), but I need to enhance my knowledge. If you have any ideas that either simplify the electronics or make it possible to add more lights for each controller, please let me know in the comments.

If you like this Instructable, click "Vote Now!" below to give it a little boost in the Make it OPTIC Contest.

I can see the lights!

Optics Contest

Participated in the
Optics Contest