Cov txheej txheem:

Magic Magnifying Glass los ntawm LED MATRIX 8x8: 4 Cov Kauj Ruam
Magic Magnifying Glass los ntawm LED MATRIX 8x8: 4 Cov Kauj Ruam

Video: Magic Magnifying Glass los ntawm LED MATRIX 8x8: 4 Cov Kauj Ruam

Video: Magic Magnifying Glass los ntawm LED MATRIX 8x8: 4 Cov Kauj Ruam
Video: Magic magnifying glass combines image with a loupe and a linear movement mechanism. 2024, Kaum ib hlis
Anonim
Image
Image
Magic Magnifying Glass los ntawm LED MATRIX 8x8
Magic Magnifying Glass los ntawm LED MATRIX 8x8

Kev tsim kho cov microcontroller uas twb muaj lawm tau nrawm heev. Ntau yam khoom siv hluav taws xob siv microcontroller. Lwm qhov siv tau ntawm microcontroller uas tab tom ua daim ntawv thov lub cev rau kev coj ua tus cwj pwm los ntawm kev siv dot matrix coj zaub 8X8 (8 kab-8 kab) ntau cathode. Yeej, dot matrix coj zaub yog kev sib koom tes qee qhov coj ua ke ua ke cov naj npawb ntawm kab thiab kab. Muaj ntau hom dot matrix coj zaub muag muag, feem ntau qhov sib txawv yog tus lej ntawm kab thiab tus lej ntawm kab yog thiab feem ntau ua hauv network dot matrix coj cov zaub piv txwv matrix 8x8 ntau anode lossis cathode ntau, matrix 8x8 nquag anode lossis cathode, matrix 8X8 nquag anode lossis cathode ntau.

Los ntawm lub kaum sab xis ntawm lub cev ntawm tib neeg tej zaum yuav ua rau nws los ntawm ib leeg coj, sib zog nrog qee qhov kev txiav txim raws nws thiab ntau yam uas tau thov. Txog tus cwj pwm kev siv lub cev siv lub hauv paus ntawm microcontroller AT89s52, Kuv thov rau txoj haujlwm ntawm kev sib dhos MCS51. Txog rau lub sijhawm no kuv yuav ua ke ntawm dot matrix coj zaub 8X8 nrog lub iav tsom iav. Raws li peb paub cov iav tsom iav tuaj yeem ua rau cov duab ntxoov ntxoo loj dua thiab teeb tsa qhov ua kom pom tseeb. Cia cov khawv koob pib…

Kauj Ruam 1: Kauj Ruam 1: Yam Yuav Npaj

Kauj Ruam 1: Yam Yuav Npaj
Kauj Ruam 1: Yam Yuav Npaj
Kauj Ruam 1: Yam Yuav Npaj
Kauj Ruam 1: Yam Yuav Npaj
Kauj Ruam 1: Yam Yuav Npaj
Kauj Ruam 1: Yam Yuav Npaj
Kauj Ruam 1: Yam Yuav Npaj
Kauj Ruam 1: Yam Yuav Npaj

Koj xa mus rau cov khoom siv xav tau los ntawm nyem rau ntawm lub npe ntawm cov khoom siv kom xaj offline:

Cov ntaub ntawv

  1. 1. SOCKET 40P
  2. Qauv Zauv: AT89S52
  3. 10 KR
  4. 16x180 ua
  5. 16 x PNP A733
  6. Dhia LED
  7. LED matrix 8 x 8 hli
  8. JACK -DC
  9. LED Hwj chim
  10. IDE10-txiv neej
  11. Quartz 12 MHz
  12. Capacitor Ceramics 33P
  13. Capacitor 16V 10 uF
  14. ISP Kev Pabcuam
  15. 3 x iav tsom iav

Cov cuab yeej:

  • Soldering Hlau
  • Nyias Solder
  • Solder WickFlux (Kuv nyiam kua hauv qhov xav tau cwj mem)
  • Tweezers
  • Cov iav tsom iav (pab tau tab sis tsis xav tau)
  • Riam Riam
  • Hlau Cutters

Kauj Ruam 2: Kauj Ruam 2: Ua Hauv

Kauj Ruam 2: Ua Hauv
Kauj Ruam 2: Ua Hauv
Kauj Ruam 2: Ua Hauv
Kauj Ruam 2: Ua Hauv

Okay, cia peb pib….

Los ntawm Schematic Proteus koj tuaj yeem pom Microcontroller AT89s52 txuas nrog zaub LED matrix 8x8. Koj tuaj yeem ua lub Circuit Court los ntawm kev luam cov ntawv coreldraw. Nco ntsoov muab cov ntaub ntawv raug.

Kauj Ruam 3: Kauj Ruam 3: Software

Kauj ruam 3: Software
Kauj ruam 3: Software
Kauj ruam 3: Software
Kauj ruam 3: Software
Kauj ruam 3: Software
Kauj ruam 3: Software
Kauj ruam 3: Software
Kauj ruam 3: Software

Source code aws:

#suav nrog (sfr51.inc)

org 0 h

ljmp mav

isi_buffer:

mov 7ch, #08h

mov r0, #70h

qhov:

mov, 7 e

movc a, @a+dptr

mov @r0, a

ua dptr

nqi r0

djn7z, ua

rov

tshem tawm:

mov 7bh, #08h

mov r1, #70h

mov 78h, #07fh

nqe 2:

mov a, @r1

xov p0, a

nqi r1

ua, 78h

mov p1, ua

rr ib a

qw 78h, a

Hu qeeb

mov p0, #0ffh

mov p1, #0ffh

djnz7, wb 2

rov

ncua:

mov 79h, 0c0h

ncua 1:

djn79h, wb 1

rov

zaub:

mov 7ah, #10h; perlambat jalan

zaub 1:

lcall kev

djnz 7ah, tso 1

rov

muaj:

mov 7eh, #1

mov 7dh, #255

cov ntaub ntawv ntxiv:

mov dptr, #elins

lcall isi_buffer

lcall zaub

ib 7ehc

djnz 7dh, ua

lcall zaub

lcall zaub

lcall zaub

ljmp mav

ib: db

hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

00h, 00h, 1dh, 1dh, 1dh, 1dh, dh, dh, dh, 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,; kuv

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

hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

00h, 00h, 1dh, 1dh, 1dh, 1dh, dh, dh, dh, 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,; kuv

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

hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

Xaus

Source code tsab ntawv:

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

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

30h, 30h, c5h, c5h, c5h, c5h, 71h, 71h, fhh,; 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, dh, dh, dh, ffh,; f

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

00h, 00h, saib, saib, saib, saib, 00h, 00h, ffh,; H.

c5h, c5h, 00h, 00h, c5h, c5h, ffh,; kuv

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

00h, 00h, saib, saib, 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

hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

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

Tom ntej no, thov suav sau cov software los ntawm qhov program txuas software no

Koj yuav tau txais cov ntaub ntawv hex tom qab suav cov software, xa mus rau microcontroller at89s52 los ntawm DT-HiQ AT89S USB ISP. Nov yog qhov txuas hlawv hex

Txuas lub microcrontoller nrog cov txheej txheem yav dhau los los ntawm kev siv 5 VDC fais fab mov.

Kauj Ruam 4: Kauj Ruam Kawg

Image
Image
Kauj Ruam Kawg
Kauj Ruam Kawg
Kauj Ruam Kawg
Kauj Ruam Kawg

Txhawm rau kom tau txais qhov ntxoov ntxoo zoo tshaj, tso LED Matrix 190 cm los ntawm phab ntsa. Qhov kev ncua deb ntawm thawj lub iav loj thiab LED matrix yog 7 cm. Thiab 4 cm los ntawm thawj mus rau iav thib ob, kuj yog rau iav thib ob txog thib peb.

Qhov peb tau txais:

1. Lub 5 hli LED ua 60 hli

2. Qhov 6 x 6 cm LED Matrix dhau los ua 71 x 80 cm

Txhawm rau kom nws nyeem tau, cov ntawv yuav tsum muab tso rau hauv qhov ntxeev thiab tsom iav qhov chaw.

Cov khoom siv hluav taws xob, ntxiv rau software thiab kho vajtse, yog kuv txoj kev mob siab rau. Kuv ntseeg tias muaj ib txoj hauv kev yooj yim rau cov khoom siv hluav taws xob (muaj peev xwm siv kev hloov pauv npe thiab/lossis kom nws muaj peev xwm tswj tau ntau dua 8x8 coj cov lej), tab sis kuv yuav tsum txhim kho kuv txoj kev paub. Yog tias koj muaj lub tswv yim uas yooj yim dua cov khoom siv hluav taws xob lossis ua kom nws muaj peev xwm ntxiv teeb ntxiv rau txhua tus tswj, thov qhia rau kuv paub hauv cov lus.

Yog tias koj nyiam qhov Qhia Ntawv no, nyem "Pov Ntawv Tam Sim No!" hauv qab no muab nws txhawb me ntsis hauv Kev Ua Nws OPTIC Contest.

Kuv pom tau lub teeb!

Pom zoo: