Cov txheej txheem:

Atari LED Cube: 3 Kauj Ruam
Atari LED Cube: 3 Kauj Ruam

Video: Atari LED Cube: 3 Kauj Ruam

Video: Atari LED Cube: 3 Kauj Ruam
Video: 3D hologram fan portrait solution. Who wanna date this holographic sexy lady #3dhologramfan 2024, Kaum ib hlis
Anonim
Atari LED Cube
Atari LED Cube

Txheej txheem cej luam

Cov lus qhia no saib ntawm kev siv Atari 800 joystick chaw nres nkoj rau cov khoom siv nrog lub voos xwmfab LED ua piv txwv.

Taw qhia

Puas tau pom ib qho ntawm cov ntsuas LED? Lawv nyob txias heev. Puas tau xav tsis thoob tias koj li Atari tuaj yeem ua qee yam zoo sib xws? Kuv thiab.

Khoom siv

8 ntsis Atari - Kuv siv 800 XL

16 channel multiplexer - tshawb rau CD74HC4067 siv koj lub cav tshawb fawb uas koj nyiam

Ib tuj ntawm LEDs - Kuv tau ua 4x4x4 matrix uas siv 64

Hlau

Resistors

Poj niam 9 tus pin D txuas x 2

Kauj ruam 1: Tsim Nws

Tsev Nws
Tsev Nws
Tsev Nws
Tsev Nws
Tsev Nws
Tsev Nws

Suffice nws hais tias kev tsim cov khoom no nyuaj dua li nws zoo li (yog tias koj muaj paws tsis siv ntiv tes), thiab kho qhov tsis zoo koom nrog yog zoo li ua qhov phais qhov tseem ceeb nrog cov hlau txuas.

Kuv yuav tsis siv sijhawm nyob rau ntawm kev tsim cov lej vim tias muaj cov hais mav uas tau ua tiav zoo dua. Saib

www.instructables.com/id/LED-Cube-4x4x4/

los yog

www.instructables.com/id/8x8x8-RGB-LED-Cub…

Multiplexing

Qhov no yog qhov ntse me ntsis. Muaj 64 LEDs ib txwm txhais tau tias 64 xov hlau los tswj lawv, tab sis Atari tsis muaj ntau tus pin uas tuaj yeem siv los sau.

Nkag mus rau multiplexer!

Lub voos xwmfab tau muab faib ua 16 kab thiab 4 kab. Txhua kab ntawm LEDs qhia tawm +v cov tswv yim los ntawm tus lej sib npaug, thiab txhua kab sib koom ua 0v. Yog li txhawm rau qhib LED peb ua haujlwm tawm kab twg nws nyob hauv, thiab hloov ntawm kab +v, tom qab ntawd qhib rau hauv av tsim nyog.

Txawm li cas los xij, koj tsuas tuaj yeem teeb ib qho LED ib zaug xwb. Yog tias koj sim ob lossis ntau dua, lwm cov LEDs yuav qhib ib yam nkaus.

Ceev faj tias koj lub multiplexer yuav muaj kev sib txuas sib txawv rau kuv! Txheeb xyuas koj cov lus qhia ua ntej.

Kauj Ruam 2: Atari Code - YOOJ YIM

Image
Image
Txoj Cai Atari - 6502 Los Ua Ke
Txoj Cai Atari - 6502 Los Ua Ke

Ntxiv rau lawv cov haujlwm ib txwm muaj, cov chaw nres nkoj joystick kuj tseem tuaj yeem sau tau. Muaj me ntsis ntawm kev dag kom nws ua haujlwm;

1) Poke chaw nres nkoj A tswj $ D302 nrog $ 38

2) Poke chaw nres nkoj A $ D300 nrog $ FF

3) Poke chaw nres nkoj A tswj $ D302 nrog $ 3C. Qhov no hloov pauv me ntsis 2 tso cai rau peb sau mus rau chaw nres nkoj.

Muaj me ntsis ntxiv txog kev siv lub joystick chaw nres nkoj ua qhov sib cuam tshuam ntawm no

www.atariarchives.org/creativeatari/Interf…

Chaw nres nkoj A tau teeb tsa kom cov khoom 0 mus rau 3 saib xyuas tus pas 0, thiab cov khoom 4 txog 7 cuam tshuam nrog lo 1. Los ntawm poking cov khoom 0 txog 3 nrog 1 txog 15 peb tuaj yeem tswj tus lej sib kis thiab hloov ntawm kab ntawm LEDS. Yog tias peb hloov ntawm cov khoom 4 txog 7, peb tuaj yeem tswj kab. Qhov twg kab ntawv thiab kab sib dhos ua ke, LED qhib.

Koj tsis tas yuav hloov kab ib leeg rau; los ntawm kev sib txuas cov khoom 4 txog 7, ob lossis ntau kab yuav nyob. Tsuas yog ceev faj tias lwm LEDs uas koj tsis xav tau qhib, tej zaum yuav zoo li qub.

5 TZS = 60 IMIT

10 PORT = 54016 TZS

20 PAB = 54018

30 POKE PCTL, 56

40 POKE PORT, 255

50 POKE PCTL, 60

60 Kuv = RND (1)*239+16

70 POKE PORT, kuv

75 ZOO TSHAJ PLAWS = 0 TO LIMIT: TUS NEEG NYOB ZOO

60 ZPO 90

Tsis muaj dab tsi flash mus ntawm no; cov cai teeb tsa chaw nres nkoj A rau kev sau ntawv tom qab ntawd tig rau ntawm LED ntawm kev xaiv. Cov nyhuv yog me ntsis zoo li lub khoos phis tawj los ntawm cheesy thaum ntxov 80's sci-fi qhia.

Kauj Ruam 3: Txoj Cai Atari - 6502 Los Ua Ke

Image
Image

Yooj yim ua tau zoo rau kev hloov pauv ntawm ib qho LED ntawm ib lub sijhawm, tab sis cov khoom zoo nkauj tshwm sim thaum koj pib tig lawv ntawm qhov nrawm uas ua rau pom qhov tsis zoo uas ob peb LEDS nyob rau ib zaug. Cov nyhuv yog hu ua tsis tu ncua ntawm lub zeem muag thiab tso siab rau LEDs hloov pauv sai dua qhov muag tuaj yeem kuaj pom. Lub hauv paus tsuas yog qeeb dhau yog li nws yog lub sijhawm sib dhos.

Cov cai no hloov ntawm kaum LEDS

10 *=$6000

20 PORT = 54016 TZS

30 PAB = 54018.50

70 LOJ #56

80 STA PCTL

90 LDA #$ FF

100 STA PORT

110 LOJ #60

120 TSO PCTL

130 TZS = 0

140 MAJ

150 TSI

160 LDA SEQ, Y

170 STA PORT NPE

180 NPE

190 ZPO #8

200 BNE MAIN

210 TZS = 0

220 JMP MAIN

310 QHIA

320. BYTE 16, 18, 24, 26

330. BYTE 64, 66, 72, 74

Muaj qee qhov 'sim' cov ntaub ntawv hauv Leds.atr txuas.

Txaus siab rau

Pom zoo: