Cov txheej txheem:

Yuav Ua Li Cas Raspberry Pi Laptop: 8 Kauj Ruam
Yuav Ua Li Cas Raspberry Pi Laptop: 8 Kauj Ruam

Video: Yuav Ua Li Cas Raspberry Pi Laptop: 8 Kauj Ruam

Video: Yuav Ua Li Cas Raspberry Pi Laptop: 8 Kauj Ruam
Video: yuav coj li cas kom luag nyiam 2024, Hlis ntuj nqeg
Anonim
Yuav Ua Li Cas Raspberry Pi Laptop
Yuav Ua Li Cas Raspberry Pi Laptop
Yuav Ua Li Cas Raspberry Pi Laptop
Yuav Ua Li Cas Raspberry Pi Laptop

Hauv Cov Lus Qhia no, Kuv yuav qhia koj yuav ua li cas ua Raspberry Pi laptop nrog lub vijtsam kov. Kuv yuav muaj tag nrho cov phiaj xwm thiab cov lus qhia ib qib los tsim qhov no yooj yim siv laptop. Phau ntawv qhia no yuav qhia koj yuav ua li cas rub tawm cov software (Raspbian Buster) siv qhov program yooj yim heev hu ua NOOBS lite. Koj tuaj yeem tau txais kev muaj tswv yim los ntawm kev tsim lub thawv kom nws zoo li txias dua thiab ua rau nws ntxim nyiam dua rau txhua tus. Hauv cov duab, Kuv yuav tau siv cov khoom sib txawv ntawm cov khoom tab sis lawv ib txwm zoo ib yam li cov khoom lag luam raws li kuv tau hais hauv ntu "Cov Khoom Siv".

Khoom siv:

Ua ntej koj yuav ib yam dab tsi, thov nyeem tag nrho cov lus qhia vim tias muaj qee yam uas koj yuav tsis xav tau yuav nyob ntawm seb koj xav ua dab tsi nrog nws - Thov kos.

Koj yuav tsum xav tau:

Raspberry pi 3b (Zoo nkauj npaum li raspberry pi)

Lub khoos phis tawj (nyiam dua Windows)

Saib/TV

HDMI kab

Micro SD daim npav -16gb (Yeej 8gb thiab ntau dua)

Keyboard thiab nas

Micro USB 5v 2A charger

LCD zaub 3.5-inch LOS YOG 5-inch OR 7-inch (7-nti zoo dua li lub vijtsam 5-nti. 5-nti npo kuj tseem zoo dua li 3.5-nti screen), (qhov no yog xaiv tau yog tias koj xav ua kom nws nqa tau/kov lub vijtsam tab sis yog koj yuav qhov no ces tsis txhob yuav lub Case Fan hauv Kev Xaiv)

Koj yuav xav tau:

muag

Txiab/riam (Yeej yog yam khoom ntse uas tuaj yeem txiav los ntawm cov duab los qhia)

Wifi-dongle (Txheeb xyuas lub ntim uas Pi tuaj hauv thiab yog tias nws muaj wifi built-in, ces tsis txhob yuav qhov no)

Powerbank-5v 2A (Yog tias koj xav tig qhov no mus rau hauv lub laptop nqa tau)

Ob-sided ua npuas ncauj kab xev (Qhov no los nrog ntau daim kab xev tab sis nws muaj txiaj ntsig zoo rau ntau yam)

Yeem:

Cov ntaub ntawv ntxuam nrog micro USB them nyiaj cable (Tsis txhob yuav qhov no yog tias koj yuav lub LCD zaub, yuav ib lossis lwm yam. Qhov no los nrog lub charger yog li koj tsis tas yuav yuav Micro USB 5v 2A them nyiaj yog tias koj yuav qhov no.)

LOSSIS (Tau txais ib qho saum toj no, hauv qab lossis tsis yog)

Cov ntaub ntawv nrog qhov chaw txhawm rau ntxig rau 3.5 nti LCD zaub (Tsis suav nrog cov zaub lossis kiv cua)

Kauj Ruam 1: Teeb Meem Micro Sd Card

Teeb tsa Micro SD Card
Teeb tsa Micro SD Card
Teeb tsa Micro SD Card
Teeb tsa Micro SD Card
Teeb tsa Micro SD Card
Teeb tsa Micro SD Card
Teeb tsa Micro SD Card
Teeb tsa Micro SD Card

Koj yuav rub tawm cov software no hu ua Raspbian Buster siv NOOBS lite (rub tawm cov ntawv zip) thiab rub nws mus rau lub desktop. Tau txais koj daim npav micro SD thiab ntsaws rau hauv koj lub laptop. Qhib File Explorer thiab nyem rau ntawm tus tsav. Txoj cai-nyem rau ntawm daim duab ntawm nws thiab xaiv Hom Ntawv … Xaiv qhov kev xaiv ntawm FAT32 thiab xaiv qhov kev faib loj me. Xaiv Quick Format thiab nias Start. Thaum nws tau rub tawm ces qhib lub nplaub tshev hauv Downloads uas muaj cov ntaub ntawv rau NOOBS lite. Luam tag nrho cov ntaub ntawv hauv NOOBS nplaub tshev los ntawm kev tuav Ctrl thiab tsab ntawv a uas xaiv tag nrho cov ntaub ntawv hauv.zip nplaub tshev ces luag thiab tso rau ntawm qhov tshem tau tsav (daim duab ntawm daim npav sd ntawm sab laug ntawm File Explorer). Nyab xeeb tshem daim npav micro SD thiab ntsaws rau hauv qab ntawm raspberry pi nrog lub npe tig rau hauv av. Plug rau hauv lub micro USB charger cable rau hauv raspberry pi thiab lwm qhov kawg rau hauv lub qhov (socket) phab ntsa thiab tso nws kom khau raj. Txuas lub HDMI cable mus rau lub vijtsam (tv lossis saib) thiab tos kom lub vijtsam qhia pom cov xim ib yam li daim duab kawg.

Kauj ruam 2: Rub tawm Software ntawm Pi

Rub tawm Software ntawm Pi
Rub tawm Software ntawm Pi
Rub tawm Software ntawm Pi
Rub tawm Software ntawm Pi
Rub tawm Software ntawm Pi
Rub tawm Software ntawm Pi

Thaum lub software tau pib ua haujlwm, nws yuav qhia lub vijtsam thiab ua raws cov lus qhia (zoo li txuas rau wifi). Txuas USB ntawm cov keyboard thiab nas rau raspberry pi thiab tswj nws kom xaiv Raspbian FULL. Nyem Nruab rau saum toj thiab tos kom nws ua tiav (qhov no yuav siv sijhawm ib teev nyob ntawm koj li kev siv internet). Ib lub tab yuav qhib qhia 'Koj li OS tau ua tiav kev teeb tsa' thiab tom qab ntawd nyem Ok.

Kauj Ruam 3: Teeb Debian Raspbian

Teeb tsa Debian Raspbian
Teeb tsa Debian Raspbian
Teeb tsa Debian Raspbian
Teeb tsa Debian Raspbian
Teeb tsa Debian Raspbian
Teeb tsa Debian Raspbian

Tom qab qee lub sijhawm, Pi yuav khau raj thiab yuav qhia lub desktop zoo li ib qho ntawm cov duab. Yuav muaj lub tab qhib hu ua "Zoo Siab Txais Tos Rau Raspberry Pi" yog li ua raws cov lus qhia kom ua tiav kev teeb tsa lub khoos phis tawj. Nws yuav nug kom rov pib dua yog li nyem rov pib dua thiab tom qab ntawd ntawm lub desktop, qhib lub davhlau ya nyob twg los ntawm txhaj rau daim duab ntawm tus saib ntawm lub luag haujlwm lossis los ntawm txhaj rau lub tshuab raj khawm thiab xaiv lub davhlau ya nyob twg. Hom:

sudo apt hloov tshiab

sudo apt puv-txawj tej yam ntxiv

Qhov no yuav hloov kho Pi thiab txhua pob khoom xav tau.

Kauj Ruam 4: Teeb tsa 3.5 Nti Zaub

Teeb tsa lub 3.5 Ntiag Zaub
Teeb tsa lub 3.5 Ntiag Zaub
Teeb tsa lub 3.5 Ntiag Zaub
Teeb tsa lub 3.5 Ntiag Zaub
Teeb tsa lub 3.5 Ntiag Zaub
Teeb tsa lub 3.5 Ntiag Zaub

Yog tias koj yuav lub 3.5 nti mini zaub ces ua raws cov lus qhia no. Nws yuav tsuas yog qhia lub vijtsam dawb kom txog thaum koj teeb nws (tsuas yog 5 kab me me rau ntaus!)

Tau txais 3.5-nti zaub thiab ntxig nws mus rau Pi raws li qhia hauv video (rub tawm nws). Qhib davhlau ya nyob twg thiab hom:

sudo rm -rf LCD -qhia

git clone

chmod -R 755 LCD -qhia

cd LCD-qhia/

sudo./LCD35- qhia

Tus Pi yuav tsum rov pib dua, koj yuav pom nws khau raj ib nrab ntawm HDMI saib/TV tab sis tus so yuav khau raj ntawm 3.5 LCD zaub ntawm raspberry pi thiab koj tuaj yeem tshem lub HDMI cable vim tias pi yuav khau raj thiab tso tawm ntawm 3.5 nti LCD zaub. Yog tias koj tab tom siv lub 3.5-nti zaub, thiab koj xav pauv rov qab mus rau qhov loj dua HDMI (tus saib/tv) tom qab ntawd ntsaws koj lub HDMI cable los ntawm pi mus rau sab nraud saib thiab qhib lub davhlau ya nyob twg thiab ntaus qhov no:

chmod -R 755 LCD -qhia

cd LCD-qhia/

sudo./LCD-hdmi

Tus pi yuav tsum rov pib dua thiab xaiv Debian Raspbian thiab nyem khau raj. Nws yuav khau raj ntawm TV/saib yog li 3.5 nti LCD zaub yuav tig dawb yog li koj tuaj yeem tshem nws los ntawm sab saum toj ntawm Pi yog tias koj xav tau (tsis tsim nyog). Thaum koj tau hloov pauv los ntawm HDMI mus rau lub LCD zaub thiab rov qab los dua, tom qab ntawd koj tsuas yog yuav tsum ntaus ob kab kawg ntawm kab ntawv los pauv piv txwv:

cd LCD-qhia/

sudo./LCD35-show lossis sudo./LCD-hdmi nyob ntawm seb koj xav hloov dab tsi.

Kauj Ruam 5: Teeb tsa 5-nti LCD Zaub

Qhib lub thawv thiab tau txais cov zaub thiab tso Pi ntsug nrog SD daim npav taw tes rau saum thiab muab tso rau ntawm qhov tiaj. Tig cov zaub kom lub vijtsam dub tig mus rau lub ru tsev thiab qhov uas koj pom HDMI qhov ntawm lub vijtsam, tig nws kom nws kab nrog HDMI ntawm Pi. Ua tib zoo muab nws tso kom GPIO tus pin ntawm tus pi haum ntawm lub cuboid dub hauv qab cov zaub. Thawb nws kom nws ntsaws tag thiab tom qab ntawd tau txais HDMI ntsaws thiab ntsaws rau hauv ob qho ntawm HDMI chaw nres nkoj. Tau txais micro USB cable uas cov zaub tuaj nrog thiab ntsaws nws rau hauv lub txhab nyiaj thiab hauv micro USB chaw nres nkoj ntawm cov zaub. Sim khau raj Pi thiab yog tias cov zaub tsuas yog pom lub vijtsam dawb (tos 1 feeb tag nrho) tom qab ntawv ua raws cov lus qhia hauv qab no:

Nqa daim npav micro SD thiab ntsaws rau hauv koj lub khoos phis tawj/computer (tsis yog Pi) thiab qhib File Explorer thiab nyem rau ntawm daim npav SD ntawm sab laug. Nyem rau khau raj thiab tom qab ntawd ntawm 'Config.txt'. Nqes mus rau qhov uas nws hais tias '#Uncomment yuam kom ib hom HDMI tshwj xeeb …' thiab kho kom nws zoo li no:

#Uncomment yuam kom hom HDMI tshwj xeeb (qhov no yuav yuam VGA)

max_usb_current = 1 hdmi_group = 2 hdmi_mode = 1 hdmi_mode = 87 hdmi_cvt = 800 480 60 60 0 0 0 0

Nyem Txuag thiab tawm cov ntaub ntawv thiab tshem tawm cov tsav tsheb yam xyuam xim. Txuas daim npav SD rov qab rau hauv Pi thiab nws yuav tsum khau raj ntawm qhov screen.

Kauj Ruam 6: Teeb tsa 7-nti Zaub

Qhib lub thawv thiab tau txais cov zaub thiab siv lub micro USB cable uas cov zaub tuaj nrog thiab ntsaws nws rau hauv lub txhab nyiaj thiab hauv micro USB chaw nres nkoj ntawm cov zaub. Siv HDMI cable thiab txuas nws los ntawm cov zaub rau Pi. Sim khau raj Pi thiab yog tias cov zaub tsuas yog pom lub vijtsam dawb (tos 1 feeb tag nrho) tom qab ntawv ua raws cov lus qhia hauv qab no:

Nqa daim npav micro SD thiab ntsaws nws rau hauv koj lub laptop/khoos phis tawj (tsis yog Pi) thiab qhib cov ntaub ntawv tshawb fawb thiab nyem rau ntawm daim npav SD ntawm sab laug. Nyem rau khau raj thiab tom qab ntawd ntawm 'Config.txt'. Nqes mus rau qhov uas nws hais tias '#Uncomment yuam kom ib hom HDMI tshwj xeeb …' thiab kho kom nws zoo li no:

#Uncomment yuam kom hom HDMI tshwj xeeb (qhov no yuav yuam VGA)

max_usb_current = 1 hdmi_group = 2 hdmi_mode = 87 hdmi_mode = 87 hdmi_cvt = 800 480 60 60 0 0 0 0

Kauj Ruam 7: Hloov Qhov No Rau Hauv Lub Laptop Portable (xaiv tau)

Tig Qhov No Rau Hauv Lub Laptop Portable (yeem)
Tig Qhov No Rau Hauv Lub Laptop Portable (yeem)
Tig Qhov No Rau Hauv Lub Laptop Portable (yeem)
Tig Qhov No Rau Hauv Lub Laptop Portable (yeem)
Tig Qhov No Rau Hauv Lub Laptop Portable (yeem)
Tig Qhov No Rau Hauv Lub Laptop Portable (yeem)

Cov kauj ruam no yuav qhia koj yuav ua li cas thiaj ua tau lub laptop nqa tau siv lub thawv uas cov zaub LCD nkag los (kuv lub npe txawv rau 'elegoo' ib qho kuv tau hais qhia tab sis lawv yeej tseem yog tib lub npov. Koj yuav tau hloov pauv tsim tawm uas kuv tau siv nyob ntawm seb koj siv lub xov tooj li cas. Tshem tawm cov zaub thiab tshem txhua yam txuas nrog Pi. Tau txais ob daim kab xev ntawm ob tog ua npuas daim kab xev thiab lo lawv ua ib kab sib nrug ua ib sab ntev ntawm hauv qab Pi thiab tev. ntawm cov yas txheej kom pom tau tias nplaum. Ua tus Pi hauv lub hauv paus ntawm lub thawv nrog HDMI chaw nres nkoj tig mus zoo li hauv cov duab. tso lub powerbank hauv qab tus pi kom koj tuaj yeem nqa nws tawm rau lwm qhov siv txhua hnub (tsis txhob lo nws tshwj tsis yog koj tsis mloog tsis tuaj yeem tshem nws yam tsis tawg lub thawv). Tau yooj yim. Tau txais USB cable thiab txuas nws hauv lub txhab nyiaj thiab tau txais micro-USB e nd ntawm nws mus rau Pi los ntawm sab saum toj qhov twg qhov yog rau qhov chaw nres nkoj. Kuv tau ua qhov ntxiv txhawm rau khawb kuv cov xaim dawb tawm thiab tom qab ntawd ntsaws nws rov qab rau hauv micro USB chaw nres nkoj. Tau txais qee qhov muag muag thiab maj mam kaw cov keyboard me me sab hauv ntawm lub hau kom koj tuaj yeem nqa nws tawm yooj yim thaum xav tau. Kuv muab tus Pi tso rau hauv qhov chaw uas qhia hauv daim duab yog li kuv tuaj yeem ntsaws tau yooj yim hauv kuv cov kab hlau txuas HDMI thiab lub suab tso rau hauv pi yam tsis muaj teeb meem. Qhov nrov plig plawg ntawm lub hau ntawm lub thawv ua lub npog rau cov chaw nres nkoj thaum kaw yog li plua plav nkag tsis tau sab hauv thaum tsis siv. Kuv tau txais ib daim me me ntawm ob-sided ua npuas daim kab xev thiab kaw nws saum cov keyboard tab sis daim kab xev uas kuv siv yog me me yog li kuv tuaj yeem yooj yim tshem cov stylus los siv ntawm lub vijtsam. Txuas lub LCD zaub rau raspberry pi raws li qhia hauv video (rub tawm nws).

Kauj Ruam 8: Tau Tsim

Tsim lub thawv kom nws zoo li ntxim nyiam dua los ntawm kev luam tawm lossis kos duab thiab lo nws ib puag ncig lub thawv. Xim qee daim ntawv lossis kos qauv rau ntawm nws thiab lo nrog lo nplaum rau ntawm lub khoos phis tawj kom nws saib txias dua thiab ua kom nws tsis zoo li lub npov zoo tib yam.

Pom zoo: