Cov txheej txheem:

Tau Txais HDMI Tawm Los Ntawm Koj Lub Rock64 Siv Armbian: 15 Kauj Ruam
Tau Txais HDMI Tawm Los Ntawm Koj Lub Rock64 Siv Armbian: 15 Kauj Ruam

Video: Tau Txais HDMI Tawm Los Ntawm Koj Lub Rock64 Siv Armbian: 15 Kauj Ruam

Video: Tau Txais HDMI Tawm Los Ntawm Koj Lub Rock64 Siv Armbian: 15 Kauj Ruam
Video: Yuav ua li cas txhaj tshuaj tiv thaiv rau cov hluas? 2024, Kaum ib hlis
Anonim
Tau Txais HDMI Tawm Los Ntawm Koj Lub Rock64 Siv Armbian
Tau Txais HDMI Tawm Los Ntawm Koj Lub Rock64 Siv Armbian

Tej zaum koj nyob ntawm no tom qab google tshawb rau "Rock64 tsis muaj hdmi tso tawm" taw qhia koj hauv qhov kev qhia no.

Lossis koj tuaj yeem xav tsis thoob siv 16 x 2 lub vijtsam uas tuaj nrog kev yuav khoom uas zoo li yog qhov tseeb:

"Rau $ 10- $ 20, Tib Lub Tshuab Khoos Phis Tawj uas sib tw nrog Pi 3B+, rooj plaub tsis zoo, ntxiv rau lub zog hloov pauv, tshuaj ntsuam LCD thiab 16 gb micro sd card."

qha?….

Cov lus qhia no yuav pab ob qho kev rau siab. Nws yuav tsim txoj hauv kev rau OS uas yuav tso cai rau HDMI lees paub los ntawm koj lub monitor. Tom qab ntawd, nws yuav ua rau koj tseem siv tau 95 feem pua ntawm cov khoom zoo uas tuaj nrog qhov kev muab uas zoo li yog lub tswv yim zoo thaum lub sijhawm ntawd.

Me ntsis keeb kwm yav dhau: Muaj qee qhov keeb kwm nrog cov laug cam no. Peb tau txais cov laug cam no ntawm tus nqi qis vim tias peb tsis yog thawj tus neeg yuav khoom. Qhov tseeb, peb yog tus tswv thib peb lossis thib plaub ntawm cov no yog li peb qhov kev cia siab yuav tsum tau teeb tsa raws li. Coob leej ntawm peb uas tau yuav cov laug cam no vam tias txhua yam yuav ua haujlwm tau zoo ntawm lub thawv - thiab lawv tsis ua.

Yog li tam sim no yog dab tsi? …. Yog tias koj muaj "Caveat Emptor" lub suab hauv koj lub taub hau, - Kuv tau txwv cov xov xwm zoo - tab sis dab tsi tuaj yeem ua rau muaj kev ntxhov siab tiag tiag yog qhov tsis muaj kev txhawb nqa rau cov laug cam no.

Thiab yog vim li cas cov lus qhia no tau muab rau: Ua kom koj nce thiab ua haujlwm nrog HDMI thawj zaug, thiab yog qhov tau txais txiaj ntsig, peb tseem tuaj yeem ntsaws thiab ua si nrog lub vijtsam LCD siv qee qhov qiv nyiaj kuv pom ntawm lwm lub vev xaib.

Khoom siv:

Dab tsi xav tau: Yuav luag txhua yam uas tuaj hauv cov pob ntim tau zoo, cov khoom siv tshuaj xyuas kom tsis muaj kev xyiv fab, micro sd rau usb txuas, qee qhov kev paub nrog lwm yam software lossis tsim cov duab rau hauv daim npav micro sd, qee qhov ua siab ntev, 4 tus poj niam rau poj niam jumper xov hlau.

Dab tsi tsis xav tau: Koj tuaj yeem nqa tus poj niam lub taub hau nrog plaub lub xov hlau txuas rau I2C pawg thawj coj saib thiab muab pov rau hauv lub thoob khib nyiab.

Tsis muaj soldering! yog!

Kauj ruam 1: Dis-assemble

Peb yuav tshem tawm cov khoom ntim ntawm qhov tshem tawm SBC los ntawm nws cov ntaub ntawv los ntawm kev tshem tawm 4 tus ntsia hlau me me uas ua rau lub rooj ruaj ntseg ruaj ntseg, thiab cov ntsia hlau me me ntxiv uas ua kom lub lcd ruaj ntseg rau rooj plaub. Kuv tsuas muaj ob lub me me-er ntsia hlau rau lub lcd, koj yuav muaj ntau dua.

Tam sim no ua tib zoo tshem lub LCD lub taub hau los ntawm GPIO tus pin ntawm lub pob zeb 64, thiab tseem maj mam rub plaub kab los ntawm I2C txuas uas sau tias "GND", "VCC", "SDA", thiab "SCL". Kuv tsis paub txog txoj hauv kev rov siv daim ntawv no tab sis peb yuav siv 4 tus lej sib txawv, yog li peb tuaj yeem pov tseg tus poj niam lub taub hau nrog xov hlau.

Peb tseem yuav xav tshem daim npav SD ntawm SBC. Kuv xaj ob daim txiag, ib qho muaj daim npav 16gb raws li tshaj tawm, thiab ib qho muaj daim npav 8gb.

Thaum ntawd kuv pib xav txog qee yam txog cov no ….

Kauj ruam 2: Rub Armbian Ubuntu Legacy Kernel

Download Armbian Ubuntu Legacy Kernel
Download Armbian Ubuntu Legacy Kernel
Download Armbian Ubuntu Legacy Kernel
Download Armbian Ubuntu Legacy Kernel

Tsis txhob sim sim software raws li tau txais! Cia peb tshem daim npav SD, thiab rov kho nws kom thauj khoom tshiab OS (kev ua haujlwm) ntawm lub rooj tsavxwm. Ntau qhov kev tshuaj xyuas kuv nyeem rau cov no tau hais tias tsis muaj teeb meem thauj khoom OS tshiab xws li DietPi lossis Manjarro, thiab HDMI ua haujlwm tawm ntawm lub qhov rooj. Kuv tsis muaj hmoo. Kuv yog 0 rau 2.

Tab sis muaj xov zoo. Cov keeb kwm qub ntawm Armbian Ubuntu (ntsiav 4.4) yuav ua haujlwm - thiab tsuav peb tsis hloov kho lub ntsiav, peb yuav tsum tau tso cai siv cov teeb tsa tso tawm los ntawm cov ntsiav ntawd. Yog li, hloov kho daim npav SD thiab cia rub lub Legacy OS (Siv Ubuntu - Bionic - Desktop ntawm cov qub BSP version) los ntawm lub xaib no:

wiki.pine64.org/index.php/ROCK64_Software_Release#Armbian

Nco tseg: tus neeg siv = hauv paus

Lo lus zais = 1234

Kauj Ruam 3: Hlawv Cov Duab Tshiab Siv Etcher

Hlawv Cov Duab Tshiab Siv Etcher
Hlawv Cov Duab Tshiab Siv Etcher

Tej zaum koj twb paub nrog siv lwm yam los rub tawm thiab teeb tsa cov duab yog tias koj muaj SBC ua ntej. Cov kauj ruam no yog qhov yuav tsum tau ua, yog li nws yuav tsum tau hais, tab sis yog tias qhov no yog hom tshiab rau koj - koj yuav tsum teeb tsa lwm yam ntawm koj lub tshuab duab thiab siv Etcher txhawm rau hlawv cov duab rau SD daim npav uas txuas nrog Micro SD rau USB daim npav adapter uas txuas nrog koj lub desktop/laptop.

Thaum Etcher tau lees paub qhov tsim cov ntaub ntawv duab, nyab xeeb tshem koj daim npav micro sd los ntawm koj lub tshuab, tso nws rov rau ntawm Rock64, txuas koj cov keyboard, nas, HDMI cable thiab ethernet cable. Txuas lub hwj huam qaum thiab ua kom koj cov ntiv tes hla.

Kauj Ruam 4: Hav, Saib Qhov ntawd! - Ib yam dab tsi ntxiv "HDMI Tawm Ntawm Ntau Yam"

Kuv tsis tau ua ib qho screenshots ntawm cov ntu no ntawm cov kauj ruam (kuv yuav ua li cas?), Tab sis Yog tias kuv nco qab, daim duab tshiab tau tso kuv tawm ntawm kab hais kom ua, thiab tsis yog lub desktop. Lub vijtsam ntsia khov kom txog thaum kuv ntaus nkag, thiab tom qab ntawd kuv yuav tsum hloov lub hauv paus tus lej nkag mus rau lub npe uas tsis yog phau ntawv txhais lus, ntxiv tus neeg siv tshiab, (kuv tus neeg siv tshiab hu ua pi), thiab ua qee qhov kev xaiv hauv zos ua ntej mus ntxiv. Armbian tau ua qee qhov kev xaiv hauv zos rau kuv twb tias kuv tsuas xav tau kev lees paub.

Hauv kuv qhov kev zoo siab ntawm kev pom lub desktop tiag tiag thawj zaug, Kuv tsis tau sau cov ntawv zoo ntawm no.

Kauj Ruam 5: Hloov Chaw-Zaub Customize Peb Lub Duab

Hloov Chaw-Zaub Customize Peb Lub Duab
Hloov Chaw-Zaub Customize Peb Lub Duab
Hloov Chaw-Zaub Customize Peb Lub Duab
Hloov Chaw-Zaub Customize Peb Lub Duab
Hloov Chaw-Zaub Customize Peb Lub Duab
Hloov Chaw-Zaub Customize Peb Lub Duab

Tam sim no tias peb muaj lub khoos phis tawj los teeb tsa, cia ua qee qhov kev ua kom yooj yim. Txhawm rau hloov cov lus daws teeb meem, los ntawm cov ntawv qhia zaub mov tseem ceeb - xaiv Chaw -Zaub thiab tom qab ntawd hloov kho peb qhov kev daws teeb meem rau 1920 x 1080. Qhov no yuav ua rau peb lub desktop saib me ntsis nkig. Txij ntawm no, hloov cov ntawv ntsa, font, ntsiab lus thiab txhua yam kev nyiam rau koj nyiam.

Yog tias koj zoo li koj tsuas yog xav ua kom lub server tsis muaj lub taub hau, Kuv ntseeg tias muaj qee qhov kev xaiv hauv Armbian-teeb tsa los ua haujlwm rau lub desktop.

Kauj Ruam 6: Npaj Armbian rau LCD Zaub - thiab Armbian Config

Pib npaj rau LCD zaub los ntawm kev txhim kho qee pob khoom tsim nyog. Los ntawm hom kab hais kom ua:

sudo apt-tau hloov tshiab-kho-ploj

sudo apt-tau nruab i2c-cuab yeej

thiab tam sim no tias nab nab 3 yog tus qauv, peb kuj yuav tsum teeb tsa smbus:

sudo apt-tau nruab python-smbus

sudo apt-tau nruab python3-smbus

qee qhov kev hloov pauv:

Siv cov lus txib:

sudo armbian-teeb tsa

Kauj ruam 7: Armbian-Config

Armbian-Config
Armbian-Config
Armbian-Config
Armbian-Config

Peb tuaj yeem ua qee qhov kev teeb tsa kho vajtse kom tso cai I2C thiab SPI los ntawm kev xaiv kho vajtse, hauv qab System - Kho vajtse teeb tsa

Thiab Thaum Peb Nyob Ntawm No - Lwm Yam Kev Tsim Kho: Rov qab 1 kauj ruam mus rau lub vijtsam dhau los, thiab hloov qee tus kheej. Ua kom peb muaj thaj tsam sijhawm raug thiab cov lus tau teeb tsa, thiab kuv ib txwm nyiam hloov kuv lub npe host yog li kuv tuaj yeem txheeb xyuas cov cuab yeej ntawm kuv lub network yooj yim.

Kuv ib txwm muaj qee tus raspberry pi ua suab paj nruag txhua lub sijhawm.

Tawm tawm ntawm ntu teeb tsa, thiab rov pib dua yog tias tsim nyog.

Kauj Ruam 8: Txuas lub I2C Display

Txuas lub I2C Display
Txuas lub I2C Display
Txuas dua I2C Zaub
Txuas dua I2C Zaub

Txawm hais tias lub rooj tsavxwm tuaj nrog 4 xov tooj suav nrog ntawm lub hauv paus, thiab pom tseeb tsis yog Raspberry Pi, peb yuav rov xaim nws zoo li nws yog. Kuv paub, nws ua rau kuv nkag siab me ntsis, tab sis nws yuav ua haujlwm. Siv tus pinouts rau Raspberry pi schematic, peb tab tom txuas VCC rau Pin #2 lossis 4, SDA rau Pin #3, SCL rau Pin #5, thiab thaum kawg av rau Pin #6. Thov nco ntsoov kuv tau siv Pi Pins, tsis yog tus lej GPIO tus lej.

Kauj Ruam 9: Vim Li Cas Rov Tsim Kho Lub Log? - Cia Siv Cov Cai Muaj

Vim Li Cas Rov Tsim Kho Lub Log? - Cia Siv Cov Cai Muaj
Vim Li Cas Rov Tsim Kho Lub Log? - Cia Siv Cov Cai Muaj

Cov kauj ruam no yog qhov tseem ceeb tshaj plaws. Tab sis kuv tsis tuaj yeem coj ncaj ncees rau nws. Kuv tuaj yeem suav nrog qhov txuas tab sis-https://www.circuitbasics.com/raspberry-pi-i2c-lcd-set-up-and-programming/

Qiv qee tus nab npawb sej. Nco ntsoov tias koj tsim I2C_LCD_driver.py hauv koj lub tshuab hauv zos siv cov cai tau muab. Koj tuaj yeem rub tawm tag nrho cov ntaub ntawv xav tau los ntawm qhov ntawd.

Tsis txhob hnov qab xyuas kom koj muaj lub tsev qiv ntawv txav mus rau Rock64.

Mus rau hauv qab ntawm kev qhia yuav yog qee cov qauv nab nab. Txawm hais tias koj muaj 0 tus paub nrog nab nab nab, cov ntawv sau tau yooj yim nyeem thiab yuav yog cov ntawv zoo ntawm cov lej kom tau txais peb ntawm peb txoj kev. Kuv pom zoo siv txhua cov ntaub ntawv muab ntawm no, thiab txhim kho ntau cov ntawv sau raws li koj tus nqi tsim nyog.

Kauj Ruam 10: Tshawb Pom Peb I2C

Ntsuas Peb I2C
Ntsuas Peb I2C
Ntsuas Peb I2C
Ntsuas Peb I2C

Sab hauv lub tsev qiv ntawv los ntawm cov kauj ruam dhau los yog cov neeg ua tim khawv thiab chaw nyob uas peb yuav tau hloov kho.

khiav cov cai hauv qab no los txiav txim qhov chaw nyob rau peb cov zaub yog:

sudo i2cdetect -y 0

Hauv kuv qhov xwm txheej, kuv pom qhov kev siv rau 3f, yog li kuv yuav nco ntsoov qhov ntawd, thiab hloov qhov chaw nyob LCD hauv lub tsev qiv ntawv teeb tsa cov ntaub ntawv raws li.

Thov nyem rau ntawm txhua daim duab kom nthuav cov duab kom pom qhov chaw nyob thiab chaw nyob.

Kauj Ruam 11: Nruab Nruab Nrab - Xaiv tau

Tej zaum peb tuaj yeem ua haujlwm hauv nab hab sej siv lub qhov rai davhlau ya nyob twg, tabsis tsuas yog nyob rau hauv rooj plaub peb xav ua tiag tiag qee yam txias siv python yav tom ntej, nws yuav zoo heev kom muaj lub qhov rais plhaub los ua haujlwm los ntawm.

sudo apt-mus nruab idle

Tsis ua haujlwm yuav ntxiv nws tus kheej rau peb cov ntawv qhia zaub mov hu ua kev txhim kho.

Kauj Ruam 12: Cia Peb Xeem

Tseem nyob hauv peb lub qhov rai qhov rai, peb tuaj yeem sim peb txoj haujlwm tam sim no: siv cov ntaub ntawv piv txwv muab los ntawm ob qho Circuit Basics txuas, lossis cov ntawv txuas tau muab rau ntawm no, Xeem peb thawj zaug ua haujlwm: (Circuit Basics file name is "hello.py")

sudo python3 cbhello.py

"Nyob Zoo Ntiaj Teb" yuav tsum tau tshwm ntawm peb lub vijtsam - nrog koj zoo siab!

Ctrl-C yuav nres tus nab npawb nab npawb, thiab xa cov lus txib kom sai.

Tsuas yog pom lub vijtsam xiav tseem? Koj qhov teeb tsa qhov sib txawv yuav qis dhau. Coj me me lub taub hau ntsia hlau tsav tsheb me me thiab tig lub lauj kaub rau sab nraum qab ntawm I2C lub vijtsam los kho koj qhov sib txawv me ntsis. Ib yam mus qhov tseeb, tab sis kev coj rov qab yog tias koj tuaj yeem pom "Nyob Zoo Ntiaj Teb", tab sis nws tshwm tom qab thaiv.

Txheeb koj lub davhlau ya nyob twg rau cov lus yuam kev sej.

Kauj ruam 13: Tam sim no khov

Tam sim no khov!
Tam sim no khov!

Yuav luag tiav, Tsuas yog qee qhov ua haujlwm huv los ntawm no. Nco ntsoov tias peb tab tom siv lub kernel version qub. Kev hloov kho peb cov software yuav tsum ua kom tsis muaj kev pheej hmoo, txawm li cas los hloov kho lub firmware tuaj yeem ua rau muaj kev puas tsuaj. Khov peb lub kaw lus los ntawm kev hloov kho software ntxiv los ntawm kev rov xyuas dua:

sudo armbian-teeb tsa

- lub sijhawm no kaw lub kaw lus los ntawm kev tso cai hloov kho tshiab. Koj yuav pom kuv lub vijtsam raug thaij tom qab kuv khov qhov hloov pauv tshiab (Saib "defreeze" - thiab keeb kwm yav dhau yog liab thiab xiav tom qab khov). Kuv tuaj yeem Defreeze ib txwm, txawm li cas los xij kuv xav pom zoo kom peb zam qhov kev ntxias no. Txog kev luag nyav, Kuv hloov kho lub khoos phis tawj tsuas yog pom tias yuav muaj dab tsi tshwm sim, thiab raws li qhov xav tau, yam tsis zoo tshwm sim rau kuv X11 nplaub tshev. Kuv yuav tsum pib dua los ntawm kos, tsis yog qhov yooj yim rov ua dua.

Kauj Ruam 14: Dremelize Access rau HDMI, Rov Sib Dua

Dremelize Access rau HDMI, Rov Sib Dua
Dremelize Access rau HDMI, Rov Sib Dua

Koj puas muaj dremel pw ib ncig? Cov yas ntawm rooj plaub yog nyias nyias, thiab dremilizing qhov chaw nres nkoj hdmi yog qhov yooj yim heev. Kuv yuav xav txog qhov zoo, ntse khub ntawm txiab kuj tseem yuav ua haujlwm luv ntawm kev tsim lub qhov rau hdmi cable. Vim tias lub kaum sab xis ntawm qhov chaw nres nkoj rau rooj plaub, koj yuav tsum tawm hauv chav ntxiv rau qhov dav ntawm txoj hlua cable. Yog tias koj ntsia cov kauj ruam no, tsis muaj kev txhawj xeeb raws li rooj plaub, kuv yuav ua li cas thiaj zoo? - tsis ntxim nyiam?

Ib qho ntawm tus yam ntxwv zoo tshaj plaws ntawm pawg thawj coj uas tsis tau nthuav dav yog lub suab zoo. Kuv drilled ib lub qhov loj txaus kom nab 3.5mm suab nkaus los ntawm rooj plaub, tsis deb ntawm kuv li hdmi txiav tawm. Kuv tsis pom tias nws tsim nyog los txuas lub kaus mom lossis dac/lub kaus mom raws li lub suab tawm ntawm lub jack yog qhov zoo heev.

Hauv qhov kev coj rov qab uas peb sib dhos rooj plaub, rov sib sau ua ke lub rooj tsavxwm thiab tshuaj ntsuam rau rooj plaub. Peb txoj haujlwm tiav ntawm no.

Kauj Ruam 15: Xaus

Tom qab sim sim ntau lwm Cov Txheej Txheem Ua Haujlwm, Kuv ntau dua cov ntsiab lus nrog Armbian. Qhov tseeb, kuv zoo siab nrog kev teeb tsa thawj zaug thiab teeb tsa, thiab piv rau qhov sib npaug ntawm kev pib ua pi, Armbian zoo li nkag siab me ntsis. Kuv kuj tau sim (tiag tiag) Debian, tab sis zoo li ua rau pawg thawj coj saib qis, thiab ob peb lwm yam OS uas kuv tsis hais txog vim tias lawv tsuas yog yuav tsis ua haujlwm.

Armbian zoo li yog Rodney Dangerfield ntawm Linux OS's, (txawm tias Distro Watch muab rau lawv lub xub pwg txias), tab sis kuv tab tom pib txaus siab rau nws tiag.

Thaum kuv tsis muaj kev tsis txaus siab nrog rock64, nws yuav siv sijhawm me ntsis ua ntej kuv ntseeg siab yuav lwm lub rooj tsavxwm ntawm qhov xav tau dua.

Vam tias qhov no ua rau koj tsis muaj kev khi, thiab koj tab tom taug txoj hauv kev kom muaj kev vam meej.

-Tshwj xeeb Ua tsaug rau Scott Campbell ntawm Circuit Basics rau koj txoj haujlwm zoo tshaj plaws!

Pom zoo: