Cov txheej txheem:
- Kauj ruam 1: Electronics
- Kauj ruam 2: Software
- Kauj ruam 3: Casing
- Kauj Ruam 4: Yam Uas Yuav Tau Kho Kom Zoo
Video: Pi Pob: 4 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Nov yog Mini Raspberry Pi Zero Computer. Koj tuaj yeem txuas Me USB keyboard (nrog kev pab los ntawm USB OTG adapter) siv nws li Linux Computer me me kom tinker nyob ib puag ncig nrog thiab ua qee cov haujlwm yooj yim ntawm nws.
Txoj haujlwm no tsis siv sijhawm ntau los ua kom tiav, thiab tuaj yeem ua tiav nyob rau lub asthiv, siv qee qhov yooj yim soldering thiab kev paub yooj yim txog Linux thiab kab hais kom ua.
Kuv tab tom npaj yuav siv nws los ua qee txoj haujlwm yooj yim, thiab ua lub server me me ntawm cov ntaub ntawv
Kauj ruam 1: Electronics
Kuv xaim lub (2.4 nti) ili9341 LCD mus rau Raspberry Pi Zero W xws li LCD-> Pi ----------------- Vin-> 3.3VGND-> GNDCLK-> CLKMOSI- > MOSIMISO -> MISO (Tej zaum tsis xav tau) CS -> CE0DC -> 18 (Feem ntau GPIO 24 tab sis kuv muaj teeb meem thaum siv qhov ntawd) RESET -> 23 (Feem ntau GPIO 25 tab sis kuv muaj teeb meem thaum siv qhov ntawd) LED -> 3.3 V (Koj tuaj yeem txuas nws mus rau lwm tus GPIO tus pin, tab sis kuv nyiam lub teeb nraub qaum kom ib txwm nyob)
Ntxiv mus, Kuv tau siv 1650mah Xov Tooj Roj Teeb (los ntawm khw muag khoom muag), 5V txhawb kev hloov pauv thiab them nqi hluav taws xob sib luag. Kuv desoldered USB A Socket los ntawm Boost hloov pauv kom nws nqa tau ntau dua. Kuv Muab qhov hloov pauv hloov los ntawm Boost hloov pauv thiab Raspberry Pi kom tig lub cuab yeej qhib thiab tua.
Roj teeb -> Charger thiab Kev Tiv Thaiv -> Boost -> Hloov -> Raspberry Pi
Nco ntsoov tias raws li lub roj teeb thiab Boost hloov pauv tsis muaj zog heev, Nws yuav tsis txaus los siv lub zog Raspberry Pi hauv qee kis. Piv txwv li, Nws tsis tuaj yeem siv hluav taws xob ntau USB siv tsuas yog nws lub roj teeb.
Kauj ruam 2: Software
Ua ntej tshaj, Kuv teeb tsa Raspberry Pi kom khau raj rau hauv lub console.
Txhawm rau thauj tus tsav tsheb LCD, khiav cov lus txib no
- sudo modprobe fbtft_device kev cai lub npe = fb_ili9341 gpios = rov pib dua: 23, dc: 18, coj: 24 nrawm = 16000000 bgr = 1
- Kuv ntxiv nws rau rc.local ua ntej kab kawg hais tawm 0, kom tus tsav tsheb LCD yuav thauj khoom ntawm khau raj. Tsuas yog ntxiv cov lus txib rau hauv cov ntawv yog yooj yim
- Kuj tseem muaj lwm cov lus qhia (hauv cov kab ntawv txuas hauv qab no) qhia koj kom hloov kho lwm cov ntaub ntawv kom nws thauj khoom ntawm khau raj. Txoj kev ntawd tseem yuav ua haujlwm
Txhawm rau teeb tsa X Server (Raspberry Pi desktop) ntawm qhov screen, ua raws X Server cov kauj ruam ntawm no.
Txhawm rau teeb tsa lub console kom pom tshwm ntawm LCD, ua raws li Enable Console cov kauj ruam ntawm no
Khiav con2fbmap n 1 txhawm rau teeb tsa lwm lub n th console kom pom ntawm Raspberry Pi. np. sib2fbmap 3 1
Txuas
pi0cket.com/guides/ili9341-raspberry-pi-gu…
marcosgildavid.blogspot.com/2014/02/getting…
github.com/notro/fbtft/wiki/Framebuffer-us…
github.com/notro/fbtft/wiki/Boot-console
Kauj ruam 3: Casing
Txhawm rau ua kom lub cuab yeej nqa tau thiab lub teeb, Kuv tau siv thiab khoov qee cov yas uas hloov pauv tau yooj yim. Ib rab riam thiab txiab yuav txaus los txiav tawm rau micro USB thiab mini HDMI chaw nres nkoj. Tom qab ntawd, qee daim kab xev scotch yuav siv los ua kom ruaj ntseg txhua yam ua ke. Thaum xub thawj, kuv siv cov yas ntshiab los ntawm cov ntaub ntawv xaum qhuav, tab sis tom qab ntawd, kuv pom thiab siv cov yas ntshiab los ntawm qee lub ntim (usb hub), zoo li nws yog (yuav luag) Qhov loj me. Txawm hais tias muaj qee qhov chaw ntxiv, Kuv siv nws los khaws qee yam khoom siv ntxiv (USB OTG Adapter).
Kauj Ruam 4: Yam Uas Yuav Tau Kho Kom Zoo
Nov yog qhov haujlwm yooj yim uas coj kuv tsawg dua 3 hnub los ua kom tiav. Txawm li cas los xij, koj tuaj yeem txhim kho nws los ntawm:
-
Ntxiv Raspberry Pi Lub Koob Yees Duab
Koj tuaj yeem pom nws hauv cov qauv, tab sis thaum kawg nws tau raug tshem tawm vim nws siv lub zog uas tuaj yeem khaws cia, thiab lub koob yees duab txuas ntawm kuv Raspberry Pi Zero W tsoo txawm li cas los xij
-
Ua kom zoo dua (tej zaum 3D Luam) Case
Qhov no yuav ua rau nws muaj zog thiab ruaj khov dua. Rau kuv. Kuv tau tub nkeeg dhau rau 3D qauv thiab tsis muaj lub tshuab luam ntawv 3D, tab sis koj kuj tseem tuaj yeem siv lwm cov ntaub ntawv nyuaj xws li acrylic thiab lwm yam
- Teeb tsa lub vijtsam kov
Pom zoo:
Hloov Lub Pob Ntseg Pob Ntseg Pob Ntseg: 7 Cov Kauj Ruam
Hloov Lub Pob Ntseg Pob Ntseg Pob: Hloov koj lub pob ntseg tuaj yeem ua pa lub neej tshiab rau hauv lub mloog pob ntseg qub. Qhov zoo tshaj plaws txhua qhov koj tuaj yeem ua nws koj tus kheej nrog cov qauv kev lom zem sab hauv ntawm lub pob ntseg. Kuv tau muaj lub mloog pob ntseg no txog 8 xyoo thiab cov tawv faux tau pib tawg
Tig Ib Lub Pob Ntseg Rau Hauv Lub Pob Ntseg Pob Ntseg (tsis cuam tshuam) Tsis tas ua kom lub mloog pob ntseg puas: 9 kauj ruam
Tig Ib Lub Pob Ntseg Rau Hauv Lub Pob Ntseg (tsis cuam tshuam) Tsis Ua Lub Pob Ntseg: Qhov no yog lub tswv yim kuv tau tawm ntawm xiav tom qab ib tus phooj ywg muab rau kuv qee lub pob ntseg supercheap tawg. Nws yog lub khoos phis tawj microphone uas tuaj yeem txuas nrog lub mloog pob ntseg yuav luag txhua lub mloog pob ntseg (Kuv nyiam qhov no vim tias kuv tuaj yeem ua game nrog lub mloog pob ntseg siab thiab
Hloov Dav Hlau Dav Hlau Tshem Tawm Lub Pob Ntseg Rau Lub Pob Ntseg Pob Ntseg: 6 Cov Kauj Ruam (nrog Duab)
Hloov Lub Suab nrov Tshem Tawm Lub Pob Ntseg rau Lub Pob Ntseg Lub Pob Ntseg: Puas tau muaj lub sijhawm los muaj qee lub suab nrov no tshem tawm lub mloog pob ntseg los ntawm lub dav hlau? portable li xws li ce
Txhim Kho Hauv Pob Ntseg Pob Ntseg (Pob Ntseg-Pob Nyiaj): 6 Cov Kauj Ruam
Txhim Kho Pob Ntseg Hauv Pob Ntseg (Pob Ntseg Pob Ntseg): Cov pob ntseg pob ntseg tsis haum rau kuv pob ntseg. Tab sis muaj kev daws teeb meem yooj yim rau qhov ntawd
Pob Kws Pob Pob Iphone/ Multimedia Device Stand: 8 Kauj Ruam
Pob kws Flakes Pob Iphone/ Multimedia Device Stand: Puas tau xav pom cov yeeb yaj kiab, duab kos duab, duab swb .. deb ntawm koj lub charger, ntawm koj lub rooj kas fes, rooj ua haujlwm. zoo, .. Ntawm no kuv piav qhia yuav ua li cas kom muaj kev cia siab ncaj ncees ua tau los ntawm Pob Kws Pob Zeb Pob rau koj lub ipod/ iphone, sq