Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Kev Qhia Txog Software
- Kauj Ruam 2: Ntxiv Software, FABGL Libray
- Kauj Ruam 3: Thauj lub ANSI Terminal Sketch
- Kauj ruam 4: Upload Sketch
- Kauj Ruam 5: Txuas rau MBC2
- Kauj Ruam 6: Qib Logic thiab Kev Sib Txuas
- Kauj Ruam 7: Nplooj Ntawv Qhia Ntxiv
Video: Siv ESP32/VGA32 Terminal rau Z80-MBC2: 7 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:24
Yuav tsim thiab teeb tsa ANSI Terminal software ntawm ESP32/VGA32 board.
Tom qab ntawd txuas nws mus rau Z80-MBC2 lub rooj tsavxwm.
Khoom siv
Koj yuav xav tau VGA32 V1.4 Controller. Muaj los ntawm cov chaw xws li Ebay thiab lwm yam.
Arduino IDE, kev txhawb nqa esp32 thiab FABGL libray (saib cov lus qhia hauv qab no)
Ib lub PC los khiav lub compiler. Txhua lub Linux/Mac OSX/Windows yuav tsum yog.
Kauj Ruam 1: Kev Qhia Txog Software
1, Nruab Arduinio IDE
Rub tawm los ntawm:
2, Ntxiv ESP32 pob txhawb nqa.
Cov lus qhia nthuav tawm tuaj yeem pom ntawm no:
Koj tseem tuaj yeem tshawb nrhiav cov ntsiab lus zoo li "ntxiv esp32 rau Arduino" lossis "Siv esp32 nrog Arduino" thiab koj yuav pom ntau cov ntaub ntawv ntawm yuav ua li cas.
Kauj Ruam 2: Ntxiv Software, FABGL Libray
Ntxiv FABGL lub tsev qiv ntawv.
1, Koj yuav tsum nkag mus rau tus thawj tswj tsev qiv ntawv txhawm rau ntxiv lub tsev qiv ntawv no. Txoj kev yooj yim tshaj plaws uas kuv tau pom yog los tsim qhov haujlwm tshiab uas tsis muaj dab tsi (koj tuaj yeem pov tseg tom qab koj tau ua tiav cov theem no). Tom qab ntawd siv cov cuab yeej ntawv qhia zaub mov Boards: xaiv. Teem koj hom ESP32 pawg thawj coj thiab chaw nres nkoj Serial thiab lwm yam. Yog tias koj tsis paub meej ntawm pawg thawj coj saib xaiv, rau cov kauj ruam no, koj tuaj yeem siv ib yam ntawm cov generic yam txij li koj yuav tsis siv qhov kev dag no ntxiv lawm.
2, Siv cov ntawv qhia zaub mov kom xaiv "suav nrog tsev qiv ntawv", tom qab ntawd xaiv "Tus Thawj Tswj Tsev Qiv Ntawv". Qhov ntawd coj koj mus rau tus saib xyuas lub tsev qiv ntawv tshuaj ntsuam.
Hauv qhov chaw tshawb nrhiav (kab saum toj kawg nkaus, sab tes xis) Ntaus hauv FABGL, tom qab ob peb feeb qhov screen yuav qhia lub tsev qiv ntawv, tom qab ntawd xaiv nruab.
Thaum qhov no ua tiav, koj tuaj yeem pov tseg daim duab dummy.
Kauj Ruam 3: Thauj lub ANSI Terminal Sketch
Tsim Ansi Terminal Sketch
1, Siv Cov Ntaub Ntawv, Piv txwv cov ntawv qhia zaub mov. Mus rau FABGL, VGA, ANSI Terminal piv txwv.
2, Koj tuaj yeem sim nws muaj txhua qhov teeb tsa raug los ntawm kev suav nws - siv lub cim zuam. Nws yuav tsum sau ua ke ntawm qhov no, siv sijhawm me ntsis los ua kom tiav.
Kauj ruam 4: Upload Sketch
Hloov mus rau VGA32 module
Koj tuaj yeem siv txhua qhov kev teeb tsa ua haujlwm kom tau txais lub rooj tsavxwm ua haujlwm, qee lub sijhawm koj tuaj yeem xaiv tus pin sib txawv rau TX/RX kev sib txuas yog tias koj xav tau. Saib los ntawm daim duab piv txwv saib seb koj tuaj yeem ua dab tsi.
Paub siv lub -> cim los ua ke thiab xa cov duab kos.
Yog tias koj tau txuas nrog VGA saib, tom qab lub rooj tsav xwm tau rov pib dua koj yuav tsum muaj cov ntawv qhia zaub mov thiab cov ntaub ntawv ntawm lub vijtsam. Ib zaug ntxiv yog tias koj tau txuas nrog cov keyboard nias F12 txhawm rau teeb tsa koj lub davhlau ya nyob twg tshiab.
(Qee zaum koj yuav tsum rov pib dua lub rooj tsavxwm kom tau cov keyboard ua haujlwm, tshwj xeeb tshaj yog tias koj tau ntsaws nws tom qab kos duab tau rub tawm)
Kauj Ruam 5: Txuas rau MBC2
Txuas rau koj MBC2
Txog ntawm qhov no kuv xav tias koj twb tau tsim txoj hauv kev txuas rau VGA32 pawg thawj coj. Hauv kuv qhov xwm txheej kuv tau muab lub taub hau tso rau qhov tso cai txuas rau lub rooj mov ci.
Saib ze rau ntawm pawg thawj coj saib lo lo ntxhuav npo I/o - xaiv qhov tseeb io pins, yuav tsum yog IO34 = RX IO2 = TX GND = GND.
Lus ceeb toom: ntawm kuv lub rooj tsavxwm cov ntawv lo lo lo ntxhuav tau luam tawm rov qab rau hauv qab ntawm lub rooj tsavxwm. Yog li kab ntawv ntawm cov ntawv xa mus ze tshaj cov pins xa mus rau qhov ze tshaj plaws thiab tsis yog kab sib thooj raws li xav tau. Qhov no txhais tau tias cov kab lo lo ntxhuav kab sib nrug los ntawm cov pins xa mus rau qhov deb tshaj plaws ntawm cov koob. Ib yam ntawm 1-2-2-1 tus qauv hloov ntawm 1-2-1-2. Ruam heev.
Kauj Ruam 6: Qib Logic thiab Kev Sib Txuas
Txuas TX tus pin los ntawm VGA32 pawg thawj coj ncaj qha rau MBC2 uas yog los ntawm 3.3v -> 5v tsis xav tau lub hloov pauv.
Txuas GND rau GND
Txij ntawm no kuv tau siv lub khob cij los tuav ob lub resistors, ntawm qhov Circuit Court saum toj no. Hauv qhov kawg version koj tuaj yeem tso cov resistors no rau ntawm lub rooj vero me me.
Txuas RX mus rau lub cim cim 3.3V (saum toj no) thiab tom qab ntawd txuas lub cim cim 5V rau MBC2
NCO TSEG Nws tshwm ntawm kuv MBC2 tias cov pins tau cim los qhia tias lawv txuas li cas ntawm ib qho USB/serial adapter ib txwm thiab tsis yog qhov pins ua haujlwm yog dab tsi, qhov no yog thim rov qab ntawm qhov koj xav tau, yog li kev sib txuas xaus li qhov no:
VGA 32. MBC 2
TX -> TX GND. -> GND RX -> resistors -> RX
Qhov ntawd yog koj yuav tsum zoo mus.
Kauj Ruam 7: Nplooj Ntawv Qhia Ntxiv
Tus pin tawm thiab npe cov lus pom ntawm ntau yam khoom siv (hauv qhov no z80-mbc2 thiab daim npav tvga) tuaj yeem ua rau tsis meej pem.
Piv txwv li qee cov khoom siv muaj cov cim qhia tias tus pin koj yuav tsum txuas qhov no rau, rau kuv, qhov no yog qhov thim rov qab ntawm lub rooj sib tham ntawm cov ntawv cim npe raws li lawv yog dab tsi, piv txwv li txuas rau lawv.
Txoj hauv kev zoo tshaj plaws uas kuv tau pom los piav qhia qhov no (kuv vam tias) yog ntsuas qhov hluav taws xob ntawm tus pin hauv nqe lus nug, txij li cov txheej txheem txheej txheem muaj siab nws yog lub xeev tsis ua haujlwm - yog tias koj ntsuas qhov "siab" voltage (3.3v lossis 5v) ces this is TX pin. qhov twg lub teeb liab los ntawm.
Thiab yog tias qhov hluav taws xob qis (tsawg dua 1v, thiab tej zaum hloov pauv me ntsis) qhov no yuav qhia qhov nkag (RX) qhov twg cov ntaub ntawv mus rau.
Yog li kuv tsis quav ntsej tag nrho cov lo lo lo ntxhuav, cov software lub tsev qiv ntawv npe thiab lwm yam thiab ntsuas saum toj no, qhov tshwm sim yog tes kos duab kos duab saum toj no. Thiab nws ua haujlwm rau kuv (qee daim npav TVGA qub yuav siv IOpins sib txawv)
Pom zoo:
Tuchless Hloov rau Cov Khoom Siv Hauv Tsev -- Tswj Koj Cov Khoom Siv Hauv Tsev Tsis Muaj Tuch Ib qho Hloov: 4 Cov Kauj Ruam
Tuchless Hloov rau Cov Khoom Siv Hauv Tsev || Tswj Koj Cov Khoom Siv Hauv Tsev Tsis Muaj Tuch Ib qho Hloov: Nov Yog Qhov Tuchless Hloov Rau Cov Khoom Siv Hauv Tsev. Koj Siv Tau Qhov No Mus Rau Txhua Qhov Chaw Hauv Pej Xeem Kom Pab Tau Tawm Tsam Ib Yam Kab Mob. Lub Circuit Court Raws Li Tsaus Sensor Circuit Ua Los Ntawm Op-Amp Thiab LDR. Qhov Tseem Ceeb Thib Ob Ntawm Qhov Circuit Court SR Flip-Flop Nrog Sequencell
Tsim kom muaj Dual 15V Cov Khoom Siv Hluav Taws Xob Siv Tawm Cov Txee Modules rau Hauv $ 50: 10 Cov Kauj Ruam (nrog Duab)
Tsim kom muaj Dual 15V Lub Hwj Huam Siv Tawm Tawm Cov Qauv Qauv rau Hauv $ 50: Taw Qhia: Yog tias koj yog tus nyiam ua haujlwm uas cuam tshuam nrog suab, koj yuav paub nrog cov khoom siv hluav taws xob ob tog. Feem ntau cov hwj huam suab qis xws li pre-amps xav tau qhov twg los ntawm +/- 5V txog +/- 15V. Muaj lub zog siv hluav taws xob ob zaug ua rau nws tsuas yog
Txaus Siab Rau Koj Tus Kheej Tsuas Yog Siv 12V-rau-AC-kab Inverter rau LED Lub Teeb Hluav Taws Xob Tsis txhob Rov Ua Rau Lawv rau 12V.: 3 Cov Kauj Ruam
Txaus Siab Rau Koj Tus Kheej Tsuas Yog Siv 12V-rau-AC-kab Inverter rau LED Lub Teeb Hluav Taws Xob Tsis txhob Rewiring Lawv rau 12V: Kuv txoj kev npaj tau yooj yim. Kuv xav txiav cov phab ntsa uas siv hluav taws xob LED teeb ua ib daim ces rov txuas nws kom khiav tawm 12 volts. Lwm txoj hauv kev yog siv lub zog hloov pauv, tab sis peb txhua tus paub tias lawv tsis muaj txiaj ntsig zoo, puas yog? Txoj cai? Los yog lawv?
Hloov ATX Cov Khoom Siv Hluav Taws Xob rau hauv Cov Khoom Siv Hluav Taws Xob DC!: 9 Cov Kauj Ruam (nrog Duab)
Hloov ATX Lub Hwj Huam Muab Rau Hauv Ib Lub Sij Hawm DC Lub Hwj Huam!: DC Lub zog hluav taws xob tuaj yeem nyuaj nrhiav thiab kim. Nrog cov yam ntxwv uas ntau dua lossis tsawg dua ntaus lossis ploj rau yam koj xav tau. Hauv Cov Lus Qhia no, Kuv yuav qhia koj yuav hloov pauv lub computer fais fab li cas mus rau DC lub zog hluav taws xob nrog 12, 5 thiab 3.3 v
Yuav Ua Li Cas Ntxiv Cov Neeg Siv Los Ntawm NUMA rau Koj Luam Ntawm N Siv NumADD Firefox Ntxiv Rau: 4 Cov Kauj Ruam
Yuav Ua Li Cas Ntxiv Cov Neeg Siv Los Ntawm NUMA rau Koj Luam Ntawm N Siv NumADD Firefox Ntxiv Ntxiv: Txhua tus siv ntawm Metanet's N tus neeg siv qib database NUMA yuav paub tias qhov cuam tshuam ntawm qhov cuam tshuam yog rau theej tus neeg siv tsim qib rau koj daim ntawv theej ntawm game. NumADD, tshem tawm qhov xav tau rau kev theej thiab muab tshuaj txhuam thiab ua kom hloov pauv qib ua haujlwm ntawm ib tus nas