Cov txheej txheem:

Yuav Ua Li Cas Nyob Khov Siv Raspberry Pi: 5 Kauj Ruam
Yuav Ua Li Cas Nyob Khov Siv Raspberry Pi: 5 Kauj Ruam

Video: Yuav Ua Li Cas Nyob Khov Siv Raspberry Pi: 5 Kauj Ruam

Video: Yuav Ua Li Cas Nyob Khov Siv Raspberry Pi: 5 Kauj Ruam
Video: Saib Mis paub Poj niam (hluas nkauj) tus yam ntxwv lub siab 2024, Hlis ntuj nqeg
Anonim
Yuav Ua Li Cas Nyob Khov Siv Raspberry Pi
Yuav Ua Li Cas Nyob Khov Siv Raspberry Pi

Hauv qhov kev qhia no, peb yuav kawm paub yuav ua li cas ua peb lub koob yees duab yoo siv Raspberry Pi.

Koj tuaj yeem nkag mus rau cov kwj no siv txhua lub cuab yeej tsuav nws txuas nrog tib lub network RPi.

Khoom siv

Raspberry Pi ua tiav nrog Screen (koj tuaj yeem siv TV lossis saib xyuas koj muaj), Keyboard thiab Mouse

Raspberry Pi Lub Koob Yees Duab

Wifi

Kauj Ruam 1: Txuas lub Koob Yees Duab

Muab lub Koob Yees Duab
Muab lub Koob Yees Duab
Muab lub Koob Yees Duab
Muab lub Koob Yees Duab
Muab lub Koob Yees Duab
Muab lub Koob Yees Duab
  1. Rub cov yas yas dub ntawm qhov chaw nres nkoj lub koob yees duab
  2. Nco ntsoov tias qhov kawg ntawm txoj kab xaum tau ntsib lub USB chaw nres nkoj
  3. Xyuas kom tseeb tias cov nyiaj sib txuas txhua tus nyob hauv

*Xa mus rau cov duab txuas nrog

Kauj Ruam 2: Pab Koob Yees Duab

Pab Koob Yees Duab
Pab Koob Yees Duab
Pab Koob Yees Duab
Pab Koob Yees Duab

1. Ntawm koj tus Raspberry Pi, mus rau [Preferences]> [Raspberry Pi Configuration]

2. Ntawm Raspberry Pi Configuration window, nyem rau ntawm [interfaces] kais, tom qab ntawd nyem rau [Enable] ib sab ntawm [Camera]

3. Rov pib dua

*Koj yuav tsum rov pib dua koj li Raspberry Pi, kom lub koob yees duab ua haujlwm

4. Kuaj lub koob yees duab

sudo raspistill -o tester.jpg

Cov lus txib no yuav siv sijhawm 5 vib nas this los kuaj seb lub koob yees duab puas ua haujlwm

Kauj ruam 3: Tsab ntawv

Tsab ntawv
Tsab ntawv

1. Tua tawm Thonny lossis Python thiab muab cov ntawv hauv qab no tso

ntshuam ioimport picamera ntshuam logging ntshuam ntsaws ntsaws ntsaws ntsaws ntsaws ntswj ntswj ntsaws ntsaws ntswj ntswj los ntawm http ntshuam server PAGE = "" "\ PiCamera MJPEG streaming demo

PiCamera MJPEG Streaming Demo

* cov peev txheej los ntawm

2. Txuag cov ntawv thiab ntaus [Khiav]

Kauj Ruam 4: Nrhiav Koj Tus IP Chaw Nyob

Nrhiav Koj Tus IP Chaw Nyob
Nrhiav Koj Tus IP Chaw Nyob

1. Ntawm Terminal, ntaus:

ifconfig

2. Xa mus rau daim duab txuas mus rau qhov chaw kom pom koj tus IP chaw nyob

Kauj ruam 5: Saib Koj Cov Kwj

Saib Koj Cov Kwj
Saib Koj Cov Kwj

Txhawm rau saib koj cov kwj deg:

  • Tua tawm koj lub web browser
  • Ntaus koj tus IP chaw nyob raws li hauv qab no:

: 8000/index.html

*Xa mus rau daim duab txuas nrog

Txhawm rau kawm paub yuav ua li cas nyob hauv YouTube, koj tuaj yeem tshawb xyuas qhov kev qhia no

Pom zoo: