Cov txheej txheem:

PiDP-8: Raspberry Pi Raws li PDP-8 Minicomputer: 7 Kauj Ruam
PiDP-8: Raspberry Pi Raws li PDP-8 Minicomputer: 7 Kauj Ruam

Video: PiDP-8: Raspberry Pi Raws li PDP-8 Minicomputer: 7 Kauj Ruam

Video: PiDP-8: Raspberry Pi Raws li PDP-8 Minicomputer: 7 Kauj Ruam
Video: Мой первый раз использую ламповый скример 2024, Kaum ib hlis
Anonim
PiDP-8: Raspberry Pi Raws li PDP-8 Minicomputer
PiDP-8: Raspberry Pi Raws li PDP-8 Minicomputer

Txhua tus xav tau lub tshuab computer me me PDP-8. Zoo, hauv 1968 lawm. Rov qab muaj Hnub Nyoog Golden ntawm cov minicomputers los ntawm kev thav duab daim npav SD no ntawm Raspberry Pi. Xaiv tau, ntxiv lub vaj huam sib luag ua piv txwv rov ua dua tshiab ntawm Blinkenlights kev paub. Qhov yooj yim Hacker Version tuaj yeem ua rau tsawg dua $ 35 hauv ib feem. Saib kuv lub vev xaib PiDP-8 kom paub meej ntxiv.

Vim li cas? Vim li cas tsis? Txhawm rau piav qhia yuav ua li cas tshwj xeeb tshaj plaws PDP-8 nyob hauv kev hloov pauv ntawm kev suav. Tswj lub ntiaj teb, ua si thawj qhov vis dis aus, lossis nqes 8 ntu ntu dav dav kom nws ua haujlwm rau koj lub tuam txhab. Nws yog minicomputer… PDP-8 kuj tseem yog txoj hauv kev zoo kawg los kawm txog yuav ua li cas lub khoos phis tawj ua haujlwm qis tshaj. Vim tias nws yog lub tshuab yooj yim heev, tseem muaj cov software zoo.

Yuav ua li cas? Muaj 3 theem rau txoj haujlwm no:

  1. Software-Tsuas yog: khau raj daim npav SD daim duab ntawm koj Pi (A+/B+/2/Zero). Tus Pi yuav khau raj li PDP-8..
  2. Tus nqi qis-kho vajtse hack: ntxiv cov kev cai ua ntej vaj huam sib luag PCB thiab koj muaj lub luag haujlwm kho vajtse zoo ib yam.

    Pawg thawj coj tuaj yeem tsim los ntawm Gerbers los ntawm OSHpark, Seeedstudio, Elecrow lossis lwm tus. Los yog yuav nws los ntawm kuv ($ 15, tawm lus ntawm no). Tus nqi tag nrho yog nyob ntawm koj qhov kev yuav khoom, tab sis tuaj yeem qis dua $ 35 …

  3. Cov khoom siv hloov pauv zoo nkauj version: Kuv tau ua qhov no rau hauv cov khoom siv, nrog zoo nkauj acrylic pem hauv ntej vaj huam sib luag, kev cai hloov pauv thiab rooj plaub xyoob. Saib ntawm no (txuas) kom paub meej txog thaum twg cov pawg tom ntej tau ua.

Cov lus qhia no suav nrog theem 1 thiab 2, raws li kev ua haujlwm hack-nws-koj tus kheej. Tsis yog theem 3; yog tias koj xav yuav cov khoom siv sib piv, saib ntawm no.

Kauj Ruam 1: Software: Pib Pi Raws Li PDP-8

Software: Booting Pi Raws li PDP-8
Software: Booting Pi Raws li PDP-8

Lub software pidp8 khau ib tus qauv PDP-8 ntawm koj tus Pi. Txawm hais tias npaj yuav tsav lub vaj huam sib luag rov ua dua tshiab, nws ua haujlwm zoo yam tsis muaj cov cuab yeej siv tiag. Nplooj ntawv no piav qhia qee yam uas koj tuaj yeem ua nrog PDP-8.

Ob txoj kev xaiv software:

  1. rub tawm daim npav SD daim npav ua tiav, nws khau raj PDP-8 hauv tsawg dua 10 vib nas this. Ua haujlwm ntawm Pi A+/B+/2/Zero. Tseem tsis tau nyob ntawm Pi 3. Tus neeg siv: pdp. Lo lus zais: pdp
  2. lossis teeb tsa lub tarball ntawm txhua tus qauv Raspberry Pi kev faib khoom. Qhov no muab rau koj tus qauv Raspberry Pi ib puag ncig uas tso cai rau koj ua lwm yam uas koj xav ua nrog Pi-sab hauv-tus-PiDP. Ua haujlwm ntawm Pi 3 ib yam nkaus.

Saib qhov rooj sib tham PiDP no kom paub meej. Txawm hais tias koj xaiv Qhov Xaiv 1 lossis 2, PDP-8 lub davhlau ya nyob twg yuav tsum tuaj ncaj tom qab koj nkag mus, nrog OS/8 khiav. Txawm hais tias lub cev ua ntej lub vaj huam sib luag tseem tsis tau txuas nrog. Koj tuaj yeem khiav tawm ntawm PDP-8 (nws tseem yuav khiav mus) rau hauv Linux nrog Ctrl-A d, thiab rov qab mus rau PDP nrog ~/pdp.sh

Tsis muaj lub cev ua ntej lub vaj huam sib luag, koj yuav tsum tau teeb tsa lub khau raj sib txawv ntawm cov keyboard ntau dua li los ntawm lub vaj huam sib luag pem hauv ntej:

  • Ntaus CTRL-E kom mus rau kab hais kom ua kab,
  • sau ua../bootscripts/x.script. Qhov twg x yog tus lej los ntawm 0-7, rau khau raj rau hauv TSS/8, game game game spacewar, lossis xijpeem ua rau koj nyiam. Nrog kho vajtse, koj yuav ua qhov no ntawm lub vaj huam sib luag pem hauv ntej …

Los ntawm txoj kev, txoj hauv kev zoo heev los saib ntawm PDP-8 npo yog siv CRT emulator.

Kauj Ruam 2: Circuit Board: Ntxiv Blinkenlights

Circuit Board: Ntxiv Blinkenlights
Circuit Board: Ntxiv Blinkenlights

PDP-8/Kuv tau muaj koob npe kom muaj qhov zoo tshaj plaws Blinkenlights ntawm txhua lub minicomputers. Nws lub vaj huam sib luag pem hauv ntej tsis qhia tsuas yog nco chaw nyob thiab nws cov ntsiab lus, tab sis ntau ntxiv. Xws li qhov twg ntawm nws 8 CPU cov lus qhia tau ua. Tau kawg, lub vaj huam sib luag pem hauv ntej tseem tso cai rau koj nkag mus thiab tshuaj xyuas cov haujlwm. Tab sis ntau zaus, koj siv nws ib leeg los ntawm ib qho program lossis thauj khoom tshiab.

Lub rooj tsav xwm PiDP yog kev ntseeg siab, ntsuas 2: 3 rov ua qhov qub. Lub ntsiab lus nws muaj 89 LEDs thiab 26 hloov pauv los ua haujlwm nrog. Raspberry Pi tau txuas rau sab nraum qab ntawm PiDP lub rooj tsavxwm thiab yog nws: koj tsis xav tau ntau hnub no los ua lub tshuab computer me me.

Tau txais lub rooj tsav xwm hauv Circuit: Kicad tsim phiaj xwm tuaj yeem rub tawm ntawm no. Txhawm rau tsim koj tus kheej, xa cov ntaub ntawv Gerber no rau ib tus neeg zoo li Seeedstudio lossis OSHPark. Lossis, koj tuaj yeem tiv tauj kuv yog tias koj xav yuav ib qho los ntawm kuv rau $ 15 (tsis yog-rau-cov txiaj ntsig nyiam BTW).

Nco tseg - Cov Lus Qhia no piav qhia yuav ua li cas 'yob koj tus kheej' PDP -8. Nws tsis yog daim ntawv qhia tsev rau PiDP-8 cov khoom siv sib piv, uas los nrog nws tus kheej hloov pauv, acrylic pem hauv ntej vaj huam sib luag thiab rooj plaub.

Kauj Ruam 3: Soldering 89 LEDs

Image
Image

Thawj qhov yog teeb tsa LEDs. Polarity teeb meem. Cov ceg ntev yuav tsum yog sab laug, ze rau Raspberry Pi. Tsuas yog kom tsis muaj qhov tsis ntseeg: Cov ceg luv yuav tsum tau ntsib qhov kawg ntawm PCB uas muaj PiDP lub logo rau nws.

Cov yeeb yaj kiab qhia pom cov txheej txheem ua kom zoo: nrog ib txhais tes, cov hlau txuas twb tau ntub nrog lub ntsej muag ntawm cov laug, txhim kho ib tus pin ntawm txhua tus coj, thaum tuav PCB nrog koj txhais tes, thawb nyuaj tiv thaiv LED nrog tus ntiv tes. Qhov ntawd tsis yog txheej txheem txheej txheem ua haujlwm zoo feem ntau, tab sis qhov no nws yuav pab kom tau txais cov LEDs ua kab ncaj.

Thaum kawg, txheeb xyuas seb LEDs txhua tus zaum ncaj (yog tias tsis yog, rov ua dua tus pin thiab rov qhib dua), nrog qhov ua kom zoo dua qub, tom qab ntawd txhuam lawv cov koob thib ob.

Kauj Ruam 4: Ntxiv Resistors thiab Diodes

Txuas ntxiv los ntawm kev haum 26 diodes saum cov hloov pauv, nyob rau sab xub ntiag ntawm PCB. Tom qab ntawd ua tiav nrog peb 1K resistors ze rau kab ntawm diodes, tseem nyob rau pem hauv ntej ntawm vaj huam sib luag, tom qab ntawd thaiv ntawm kaum ob 390 ohm resistors, nyob tom qab ntawm vaj huam sib luag.

Rau diodes, teeb meem polarity: xyuas tias cov kab txaij dub ntawm diode sib phim cov kab txaij ntawm nws cov hneev taw PCB.

Kauj Ruam 5: Haum IC Socket thiab Raspberry Pi Txuas

Solder lub 2981 IC nyob rau sab nraum qab ntawm lub rooj tsavxwm (kos!) Thiab xyuas kom tseeb tias nws zaum nrog tus pin 1 tig mus rau qhov hloov pauv ntawm lwm sab ntawm lub rooj tsavxwm. Thaum kawg, muab tshuaj txhuam rau hauv 40-tus pin header uas yuav txuas rau Pi. Tsis txhob muab nws tso rau hauv qhov hneev taw ntawm Kev Txuas Txuas Txuas, qhov ua yuam kev uas yooj yim ua. Solder 1 lossis 2 tus pin ua ntej, tom qab ntawd txheeb xyuas qhov txuas txuas ncaj nraim rau PCB. Kho yog tias xav tau, tom qab ntawd txhuam tag nrho cov pins.

Tej yam uas yuav tsis quav ntsej: X thiab X*2 ohm resistors cim rau ntawm PCB yuav tsum raug tso tawm (lawv tsis suav nrog hauv cov khoom ib txwm) tshwj tsis yog koj ua kom lub chaw nres nkoj txuas (saib ntu kawg ntawm nplooj ntawv no). Tsis tas li, cov jumper thaiv J_COL1 thiab 2 tuaj yeem tso tseg yam tsis muaj kev cuam tshuam. Thaum kawg, muaj ob lub ntsiab lus txuas ze rau 2981 IC. Tsis quav ntsej lawv ib yam.

Kauj Ruam 6: Ntxiv Cov Hloov

Muab qhwv
Muab qhwv

Lub rooj tsav xwm hauv Circuit Court tuaj yeem siv ntau qhov hloov pauv me me, qhov tseem ceeb tshaj plaws yog tias lawv qhov dav tsawg dua 10mm. Thawj qhov tau hloov pauv ib ntus ntawm txoj haujlwm 20-24. Tab sis koj tuaj yeem siv lub toggle hloov pauv rau lawv ib yam, software yuav hloov lawv lub teeb liab mus rau ib ntus ib qho lawm.

Tsuas yog ob tus pin tau muab tso rau ntawm lub rooj tsavxwm (rau/tawm cov cim). Yog tias koj cov hloov pauv muaj tus lej thib 3, tsuas yog tso nws dai hauv qab ntawm ntug ntawm PCB. Nyob ntawm qhov hloov pauv koj siv, koj yuav tsum tau khoov nws cov pins txog 0.5 hli kom haum. Cov kab laug sab yog loj txaus los nqa zoo nkauj ntau yam ntawm cov laug cam.

Daim duab qhia qee qhov kev pom zoo rau qhov hloov pauv tau. Nrhiav MTS-102, lossis (tshwj xeeb tshaj yog zoo) RLS-102-C1 & RLS-112-C1. Yeej, txhua yam uas ua rau luv ntawm ob qhov laug qhov ntawm lub rooj tsav xwm hauv Circuit Court yuav ua li cas.

Kauj Ruam 7: Ua kom tiav

Muab qhwv
Muab qhwv
Muab qhwv
Muab qhwv

Koj tuaj yeem txhim kho lub vaj huam sib luag pem hauv ntej ntawm lub hauv paus ntoo uas siv cov txheej txheem txheej txheem, lawv cov ntsia hlau qhov yuav tsum ua kom haum nrog lub qhov nyob ntawm PCB raws li qhov sib nrug ua raws li qhov pom tseeb … Mounting lub rooj tsavxwm txoj kev no yuav tsum tso cai rau qee qhov kev ua haujlwm zoo heev.

Ib txoj hauv kev zoo los tsim lub npog ntsej muag kom raug rau Blinkenlights yog luam tawm daim duab no. Ob qho tib si raws li daim duab los lo rau ntawm daim ntawv acrylic, lossis yooj yim ntawm daim ntawv. Hauv qhov xwm txheej twg koj tuaj yeem laminate nws, lossis tso nws tom qab lub vaj huam sib luag acrylic.

Hais txog nws! Tus nqi tag nrho yuav tsum yog kwv yees $ 15 rau PCB, ntxiv rau tus nqi ntawm lub hnab ntawm LEDs thiab lwm yam, thiab 26 qhov hloov me me. Mus ntsib PiDP lub vev xaib kom paub meej yuav ua li cas khiav koj lub minicomputer hack - thiab yuav daws nws li cas yog tias yam tsis ua haujlwm thaum xub thawj:)

Pom zoo: