Cov txheej txheem:

Lissajous Cov Duab ntawm 8X8 Led Matrix: 7 Cov Kauj Ruam
Lissajous Cov Duab ntawm 8X8 Led Matrix: 7 Cov Kauj Ruam

Video: Lissajous Cov Duab ntawm 8X8 Led Matrix: 7 Cov Kauj Ruam

Video: Lissajous Cov Duab ntawm 8X8 Led Matrix: 7 Cov Kauj Ruam
Video: Shark vs Boat Engines 2024, Kaum ib hlis
Anonim
Lissajous Cov Duab ntawm 8X8 Led Matrix
Lissajous Cov Duab ntawm 8X8 Led Matrix

Los ntawm simpletronicFollow Ntau los ntawm tus sau:

LED li Photosensor ???
LED li Photosensor ???
LED li Photosensor ???
LED li Photosensor ???
Cov Khoom Siv Hluav Taws Xob Hluav Taws Xob ntawm Txhuas Txhuas
Cov Khoom Siv Hluav Taws Xob Hluav Taws Xob ntawm Txhuas Txhuas
Cov Khoom Siv Hluav Taws Xob Hluav Taws Xob ntawm Txhuas Txhuas
Cov Khoom Siv Hluav Taws Xob Hluav Taws Xob ntawm Txhuas Txhuas
512 Xim LED Flasher (random)
512 Xim LED Flasher (random)
512 Xim LED Flasher (random)
512 Xim LED Flasher (random)

Hais txog: Suab paj nruag: kuv txoj haujlwm rau ntau tshaj 40 xyoo… Khoom siv hluav taws xob: kuv nyiam ua haujlwm ib txwm muaj. Xav paub ntau ntxiv txog simpletronic »

Lub ntsiab lus ntawm lub teeb oscillating hauv 2 txoj kab sib dhos ua ib qho qauv hu ua "Lissajous Figure" (1857) lossis "Bowditch Curve" (1815). Cov qauv sib txawv los ntawm qhov yooj yim mus rau qhov nyuaj nyob ntawm qhov sib piv sib piv thiab theem ntawm 2 axes. A. 1: 1 piv nrog 0 theem sib txawv kos ib txoj kab ncaj ntawm 45 ° lub kaum ntse ntse. Hauv qhov haujlwm no qhov sib piv ntawm 2 txoj kab nqes maj mam rov qab los ntawm 1: 1 thiab 2: 1. Cov qauv no tau yooj yim tsim nrog oscilloscope thiab 2 sine wave oscillators. Nyob rau nruab nrab xyoo 1800's Joules Antoine Lissajous deflected lub teeb nqaj nrog tsom iav txuas rau kho qhov nkhaus. Nws kuj tsim SAND PENDULUM. Txoj haujlwm no qhia Lissajous Cov Duab ntawm 8X8 coj matrix (lossis 64 qhov sib txawv leds rau lub cuab yeej loj dua) thiab tau tsav los ntawm PIC16F627 microcontroller.

Kauj ruam 1: Saib Video

Image
Image

Cov lus tsa suab ntawm cov coj ua haujlwm hauv pixels/thib ob yog nyob ib puag ncig 20X tus lej ntawm tus yees duab no. Vim li ntawd cov qauv yuav zoo li "dhia". Cov cuab yeej tiag tiag muaj qhov ua tau zoo dua qhov pom kev.

Kauj ruam 2: Schematic:

Decoder
Decoder

PIC16F627 yog lub hauv paus ntawm txoj haujlwm.

Kauj ruam 3: Decoder

Decoder
Decoder

PORTB pins ntawm mcu tsav 8 qhov sib txawv anodes (X-axis). PORTA (Y-axis / LED cathodes) muaj qhov siab tshaj ntawm 7 tus pin teeb tsa tau raws li qhov xav tau. Txhawm rau kom tau txais 8 qhov tsim nyog, 2 tus pin PORTA tsav lub decoder ua nrog 3 nand rooj vag (74HC00) uas muab 3 outs los ntawm 2 pins ntawm mcu.

Kauj Ruam 4: Tsim kom muaj "sine" Waves:

Tsim cov
Tsim cov

Qhov "sine" cov lus tsa suab ntawm pixel tau txais los ntawm kev nyeem ua tiav ntawm 22 byte tus qauv los ntawm lub rooj hauv nco rau X-axis thiab Y-axis feem. Tus nqi uas nyeem cov qauv no txiav txim siab lub sijhawm cheb.

Kauj Ruam 5: Rooj Nyeem Ntawv rau PORT A

Rooj Nyeem Ntawv rau PORT A
Rooj Nyeem Ntawv rau PORT A

Cov lus nyeem rau PORTA txawv me ntsis rau PORTB. Chaw nres nkoj A tsav cov cathodes thiab yog Active-LOW. Pins 0 & 1 tsav 3 hom cathodes dhau los ntawm 74HC00 nand lub rooj txiav txim plaub ntug.

Kauj Ruam 6: Daim Phiaj Xwm Txheej Txheem

Daim Ntawv Flow yooj yim
Daim Ntawv Flow yooj yim

Rub tawm txuas rau HEX & ASM code rau PIC16F627

Kauj Ruam 7: Saib Video

kev txav qeeb uas qhia pom qhov txav ntawm cov nquag pixel

Pom zoo: