Cov txheej txheem:

Pi Pob: 4 Kauj Ruam
Pi Pob: 4 Kauj Ruam

Video: Pi Pob: 4 Kauj Ruam

Video: Pi Pob: 4 Kauj Ruam
Video: Yasmi - Txiv Nraug Ntsuag ft. JN Vang (Music Video) 2024, Kaum ib hlis
Anonim
Pob Pob
Pob Pob
Pob Pob
Pob Pob
Pob Pob
Pob Pob
Pob Pob
Pob Pob

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

Electronics
Electronics
Electronics
Electronics
Electronics
Electronics
Electronics
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

Software
Software
Software
Software
Software
Software
Software
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

Casing
Casing
Casing
Casing
Casing
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:

  1. 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

  2. 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

  3. Teeb tsa lub vijtsam kov

Pom zoo: