Cov txheej txheem:

Pib Qhia rau Raspberry Pi: 6 Kauj Ruam (nrog Duab)
Pib Qhia rau Raspberry Pi: 6 Kauj Ruam (nrog Duab)

Video: Pib Qhia rau Raspberry Pi: 6 Kauj Ruam (nrog Duab)

Video: Pib Qhia rau Raspberry Pi: 6 Kauj Ruam (nrog Duab)
Video: Saib Mis paub Poj niam (hluas nkauj) tus yam ntxwv lub siab 2024, Hlis ntuj nqeg
Anonim
Pib Phau Ntawv Qhia rau Raspberry Pi
Pib Phau Ntawv Qhia rau Raspberry Pi

Tau ib ntus kuv tau ua haujlwm nrog Arduino. Nws yog ib qho yooj yim, pheej yig thiab ua tiav txoj haujlwm. Tab sis tsis ntev los no kuv tau xav ntau ntxiv rau IoT cov phiaj xwm. Yog li kuv pib siv ESP pawg thawj coj txhim kho thiab nws ua haujlwm zoo kawg nkaus. Tab sis tam sim no kuv xav txav mus rau cov haujlwm loj xws li ua duab thiab lwm yam. Thiab pawg thawj coj zoo tshaj plaws rau lub hom phiaj no yog Raspberry Pi. Hauv kab ntawv no kuv yuav muab cov ntaub ntawv qhia txog Raspberry Pi thiab yuav pib li cas. Yog li koj tuaj yeem pib ua cov phiaj xwm txias nrog kuv.

Kauj Ruam 1: Raspberry Pi yog dab tsi?

Raspberry Pi yog dab tsi?
Raspberry Pi yog dab tsi?
Raspberry Pi yog dab tsi?
Raspberry Pi yog dab tsi?

Thawj lo lus nug uas tshwm sim hauv siab yog "Dab tsi yog Raspberry pi tiag?" yog li cia kuv pib nrog qhia Pi rau txhua tus pib. Raspberry Pi yog lub khoos phis tawj siv computer uas pheej yig tshaj tawm hauv xyoo 2012 los ntawm Raspberry Pi Foundation. Daim npav rho nyiaj no siv lub computer tau nrov heev ntawm cov neeg tsim khoom. Muaj qee tus qauv ntawm raspberry pi Raspberry Pi 3 tus qauv B+ yog qhov tseeb. Kuj tseem muaj qhov me me hu ua Raspberry Pi Zero thiab Zero W cov no yog cov laug cam tsis txaus ntseeg. Hauv qab no kuv tau teev cov lus qhia tshwj xeeb ntawm ob lub rooj nrov npe.

  1. Raspberry Pi 3 Qauv B+:

    • ARM cortex-A53 1.4GHz processor
    • 1GB RAM
    • Kev koom ua ke WiFi 2.4GHz/5GHz
    • Bluetooth 4.2
    • 300 Mbps Ethernet
    • 4 USB chaw nres nkoj, 1 HDMI, 1 lub mloog pob ntseg thiab lub micro USB chaw nres nkoj fais fab.
  2. Raspberry Pi Zero W:

    • BCM2835 1GHZ processor
    • 512 MB ntawm RAM
    • Kev koom ua ke WiFi 2.4GHz
    • Bluetooth 4.0
    • 2 USB chaw nres nkoj, 1 mini HDMI

Koj tuaj yeem kawm paub ntau ntxiv txog cov laug cam no thiab lwm yam, Txheeb xyuas Raspberry Pi Foundation lub vev xaib raug cai raspberrypi.org.

Kauj Ruam 2: Yuav Tsum Tau:

Yuav tsum
Yuav tsum

Ntawm no kuv tau teev tag nrho cov ntaub ntawv koj yuav xav tau kom pib.

Kho vajtse Cheebtsam:

  1. Raspberry Pi

    • Raspberry Pi Zero W ……….. (Amazon US / Amazon EU / Banggood) LOS YOG
    • Raspberry Pi 3 Qauv B+…. (Amazon US / Amazon EU / Banggood)
  2. Micro SD card ……………………….. (Amazon Asmeskas / Amazon EU / Banggood)
  3. Micro SD daim npav nyeem ntawv ……………. (Amazon US / Amazon EU / Banggood)
  4. OTG cable (rau Pi Zero w) ………. (Amazon US / Amazon EU / Banggood)
  5. HDMI cable ………………………….. (Amazon US / Amazon EU / Banggood) LOS YOG
  6. HDMI rau mini HDMI ……………….. (Amazon Asmeskas / Amazon EU / Banggood)
  7. LOSSIS koj tuaj yeem tau txais Raspberry Pi Starter kit …… (Amazon US / Amazon EU)
  8. Mini Wireless Keyboard …………………………….. (Amazon Asmeskas / Amazon EU / Banggood)

Yuav tsum tau Software:

  1. Raspbian
  2. 7-Zip cov
  3. Win32diskimager

Kauj Ruam 3: Txhim Kho Kev Ua Haujlwm:

Txhim kho Kev Ua Haujlwm
Txhim kho Kev Ua Haujlwm
Txhim kho Kev Ua Haujlwm
Txhim kho Kev Ua Haujlwm
Txhim kho Kev Ua Haujlwm
Txhim kho Kev Ua Haujlwm

Raspberry Pi yog lub khoos phis tawj thiab txhua lub khoos phis tawj yuav tsum muaj Operating System ua haujlwm. Tej zaum yuav muaj OS rau Raspberry Pi tab sis kuv yuav siv Raspbian uas yog tus nom OS los ntawm Raspberrypi Foundation.

  1. Ua ntej rub tawm Raspbian Stretch
  2. Tom ntej rub tawm thiab teeb tsa 7-Zip
  3. Muab cov ntaub ntawv Raspbian Zip siv 7-Zip
  4. Tom ntej rub tawm thiab teeb tsa Win32diskimager
  5. Ntxig daim npav SD rau hauv daim npav nyeem ntawv thiab txuas nws hauv lub computer Nco ntsoov lub npe tsav, hauv kuv qhov xwm txheej nws yog (Kuv:) tsav.
  6. Qhib daim disk duab thiab xaiv daim npav SD.
  7. Nyem rau ntawm lub cim ntawv thiab mus rau lub nplaub tshev uas Raspbian duab tau muab rho tawm.
  8. Xaiv cov duab thiab nyem rau ntawm "sau".

Tam sim no nws yuav siv ob peb feeb rau kev ua tiav cov txheej txheem hlawv. Nco ntsoov tias koj tsis thim nws nyob nruab nrab.

Kauj ruam 4: Thawj khau raj:

Thawj khau raj
Thawj khau raj

Thaum cov duab Raspbian raug hlawv rau ntawm daim npav ua tiav. Ntxig daim npav SD rau hauv Raspberry Pi. Tam sim no ua raws cov theem hauv qab no.

  1. Txuas HDMI mus rau qhov chaw nres nkoj ntawm lub nkoj thiab tus saib.
  2. Txuas lub wireless module ntawm keyboard rau hauv USB chaw nres nkoj ntawm Rpi, yog tias koj muaj Pi Zero W siv OTG adapter.
  3. Thaum kawg fais fab lub rooj tsavxwm siv lub micro USB. Xyuas kom koj siv lub hwj chim tsim nyog. Kuv siv lub 5v 2A lub xov tooj smartphone uas ua haujlwm zoo.

Tus Pi yuav siv sijhawm me ntsis rau thawj khau raj yog li ua siab ntev thiab tsis txhob tshem nws lossis tshem daim npav SD. Thaum lub khau raj ua tiav, koj yuav pom lub vijtsam hauv tsev ntawm Raspbian. Koj tuaj yeem siv tus nas lossis taug qab ncoo kom taug kev.

Kauj ruam 5: Pab kom Interfaces:

Enabling Interfaces
Enabling Interfaces
Enabling Interfaces
Enabling Interfaces

Raws li peb yuav siv Pi rau cov neeg hlau peb yuav xav tau los pab qee yam ntawm Pi. Cov yam ntxwv no yuav tso cai rau peb ua haujlwm I/O pins thiab cov khoom siv sib xws xws li LED, Servo, Motors, thiab lwm yam rau Raspberry Pi.

  1. Nyem rau ntawm Raspberry icon nyob rau sab saum toj sab laug.
  2. Los ntawm cov ntawv qhia zaub mov nco-down xaiv "Nyiam" thiab nyem rau ntawm "Raspberry Pi Configuration".
  3. Los ntawm Configuration window xaiv "Interfaces" tab.
  4. Tom ntej Pab kom GPIO, I2C, SSH, Lub Koob Yees Duab thiab Serial Port. Cov no yog cov yam ntxwv peb yuav xav tau feem ntau.

Kauj Ruam 6: Lus Cim Kawg:

Qhov ntawd yog txhua yam rau qhov kev qhia no. Tam sim no koj tuaj yeem khau raj OS rau hauv Raspberry Pi. Hauv kev qhia tom ntej no kuv tau qhia yuav ua li cas siv Raspberry Pi hauv hom taub hau

Yog tias koj txaus siab rau neeg hlau thiab tseem tab tom kawm, Txheeb xyuas kuv thawj eBook "Mini WiFi Robot" qhov twg koj yuav kawm txhua yam koj xav tau kom pib nrog neeg hlau.

Yog tias koj xav tau daim ntawv pov thawj chav kawm neeg hlau xyuas qhov no e-course

Kuv vam tias koj nyiam cov ntawv thiab kawm tau los ntawm nws. Yog tias koj ntsib teeb meem lossis teeb meem, thov tawm lus hauv qab no.

Ua tsaug

Pom zoo: