Cov txheej txheem:
- Kauj Ruam 1: Tau Txais Cov Ntaub Ntawv
- Kauj Ruam 2: Teeb Raspberry Pi
- Kauj Ruam 3: Txuas Lub Koob Yees Duab
- Kauj ruam 4: Tig rau Raspberry Pi
- Kauj ruam 5: Pab kom lub Koob Yees Duab
- Kauj Ruam 6: Qhib Kev Sau Ntawv Thov 'Thonny Python IDE'
- Kauj ruam 7: Ntaus Code
- Kauj Ruam 8: Siv Daim Duab
- Kauj Ruam 9: Yuav Qhib Duab Li Cas
Video: Siv Cov Duab Tseem Nrog Raspberry Pi: 9 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Yuav ua li cas thiaj thaij tau duab nrog Raspberry Pi
Kauj Ruam 1: Tau Txais Cov Ntaub Ntawv
Koj yuav xav tau:
- Lub koob yees duab nrog cov hlua txuas txuas rau Raspberry Pi Raspberry Pi (saib duab)
- HDMI qaum los ntsaws
- 5 volt 2 amp hwj chim charger
- Mouse thiab keyboard
Kauj Ruam 2: Teeb Raspberry Pi
- Xaiv lub hwj huam qaum
- Plug rau hauv qhov hluav taws xob hauv phab ntsa Siv lwm qhov kawg los ntsaws rau hauv Raspberry Pi qhov hluav taws xob (saib duab)
- Xaiv lub HDMI cable
- Txuas ib qho kawg rau tus saib xyuas hauv chav kawm
- Txuas lwm qhov kawg rau hauv Raspberry Pi HDMI chaw nres nkoj (saib duab)
-
Mus nqa nas thiab keyboard wireless USB plugin
- Xyuas kom tseeb tias "Dell" sau rau ntawm lub USB plug -in tab tom ntsib (saib duab)
- Plug hauv USB txuas rau USB chaw nres nkoj ntawm Raspberry Pi (saib duab)
Kauj Ruam 3: Txuas Lub Koob Yees Duab
- Nrhiav lub koob yees duab chaw nres nkoj tab ntawm Raspberry Pi
-
Rub lub koob yees duab chaw nres nkoj tab dub ntawm Raspberry Pi
Cov tab yuav nyob rau sab laug thiab sab xis ntawm lub koob yees duab chaw nres nkoj (Saib duab 1)
-
Siv lub koob yees duab ribbon txuas los ntsaws rau hauv lub koob yees duab chaw nres nkoj
- Ua kom ntseeg tau cov xim hlau ntawm daim kab xev lub ntsej muag HDMI chaw nres nkoj ntawm Raspberry Pi (Saib duab 2)
- Plug hauv kab xov txuas rau hauv qhov chaw nres nkoj
- Ua kom ntseeg tau tias cov hlua hlau tau thawb txhua txoj kev nqes mus rau hauv qhov chaw nres nkoj
- Thawb nqes tab ntawm lub koob yees duab chaw nres nkoj kom ruaj ntseg kab hlua
Yuav muaj qhov me me "nyem" thaum tab chaw nres nkoj raug thawb
Kauj ruam 4: Tig rau Raspberry Pi
- Nrhiav lub hwj huam qaum
- Nrhiav rau/tawm khawm ntawm qaum
- Nias lub pob kom qhib
- Cia qhov system thauj kom txog thaum lub ncuav qab zib raspberry tshwm
Kauj ruam 5: Pab kom lub Koob Yees Duab
- Nyem Raspberry Pi lub tsev khawm. (Saib duab)
- Hover hla Preferences Tab
- Nyem Raspberry Pi Configurations Tab
- Nyem Interfaces Tab ntawm cov ntawv qhia zaub mov tshiab
- Nyem pab ua npuas rau thawj lub koob yees duab xaiv
- Nyem qhov 'ua li cas' xaiv
- Nyem 'Yog' thaum nug kom rov pib dua
Kauj Ruam 6: Qhib Kev Sau Ntawv Thov 'Thonny Python IDE'
-
Nyem Raspberry Pi lub tsev khawm
Cov ntawv qhia zaub mov nco tseg yuav tshwm (Saib duab)
-
Hover hla Programming tab
Lwm cov ntawv qhia zaub mov nco tseg yuav tshwm (Saib duab)
-
Xaiv Thonny Python IDE los ntawm cov npe (Saib duab)
Yuav qhib daim ntawv thov kev pab
Kauj ruam 7: Ntaus Code
- Txoj cai yuav tsum tau ntaus yam zoo li sau ntawv
- Nyem hauv kab ntawv dawb (Saib duab rau cov lus qhia hauv qab no)
-
Ntaus thawj kab "los ntawm picamera ntshuam PiCamera"
Ntaus Enter rau kab tshiab
-
Ntawm kab kab tom ntej "los ntawm lub sijhawm ntshuam pw"
Ntaus Enter dua
-
Hom kab tom ntej "lub koob yees duab = PiCamera ()"
Ntaus Enter dua rau kab tshiab
-
Hom kab tom ntej "camera.rotation = 180"
Ntaus Enter dua rau kab tshiab
-
Hom kab tom ntej “sim:”
Ntaus Ntaus dua Kab yuav cia li TAB
-
Tom qab ntawv ntaus “camera.start_preview ()”
Ntaus Enter dua
-
Hom kab tom ntej “pw tsaug zog (5)”
Ntaus Enter dua
-
Hom kab tom ntej "camera.capture ('/home/pi/Desktop/cameraTestImage.jpg')"
Ntaus Enter dua
-
Hom kab tom ntej “pw tsaug zog (2)”
- Ntaus Enter dua
- Nias lub Backspace khawm ntawm koj cov keyboard kom tshem tawm qhov tsis siv neeg no tab.
-
Hom kab tom ntej "thaum kawg:"
Ntaus Enter dua
-
Hom kab tom ntej “camera.stop_preview ()”
Ntaus Enter dua
- Hom kab tom ntej “camera.close ()”
-
Nyem Cov Ntaub Ntawv nyob rau sab saud sab laug ntawm daim ntawv thov
Qhov no yuav qhib cov ntawv qhia zaub mov nco
-
Nyem Txuag Raws li … los ntawm cov ntawv qhia zaub mov
Qhov no yuav qhib cov ntawv qhia zaub mov
- Npe koj qhov program “cameraTest” hauv kab ntawv cim “cim npe:”
- Nias lub khawm Txuag.
Kauj Ruam 8: Siv Daim Duab
- Nyem rau Green Arrow khawm hauv daim ntawv thov kom ua haujlwm thiab thaij duab! (Saib duab)
-
Yog tias koj tau ua yuam kev thaum thaij duab, thawj zaug tshuaj xyuas ob zaug tias koj cov cai yog raws nraim hauv daim duab.
Yog tias tsis yog, xyuas kom tseeb tias nws zoo ib yam
- Yog tias koj tseem muaj qhov ua yuam kev tom qab kuaj ob zaug koj tus lej zoo ib yam, xyuas kom meej tias koj ua tiav qib 5 kom pab tau lub koob yees duab.
Kauj Ruam 9: Yuav Qhib Duab Li Cas
- Cov ntaub ntawv yuav tshwm ntawm lub vijtsam tsev mus rau sab laug ntawm qhib qhov program Thonny yog tias koj khaws nws rau lub desktop
- Cov ntaub ntawv yuav raug hu ua "cameraTest"
- Ob npaug nias cov ntaub ntawv qhib
Pom zoo:
Cov Duab Duab Tseem Siv Cov ESP32-CAM Pawg: 5 Kauj Ruam
Digital Still Image Camera Siv ESP32-CAM Board: Hauv kab ntawv no, peb yuav kawm paub tsim lub koob yees duab digital li cas siv ESP32-CAM board. Thaum lub khawm rov pib dua raug nias, lub rooj tsavxwm yuav thaij duab, khaws cia rau hauv daim npav microSD thiab tom qab ntawd nws yuav rov qab mus pw tsaug zog. Peb siv EEPROM t
Cov Duab Duab Duab thiab Cov Duab 1: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Cubes thiab Cov Duab 1: Thaum sim nrog qee cov ntoo ntoo thiab cov duab los qhia, kuv pom ob peb txoj hauv kev los ua cov voos thiab lwm yam duab los ntawm cov khoom siv yooj yim. Los ntawm kev muab cov no los ua Cov Ntawv Qhia, Kuv vam tias yuav txhawb nqa kev ua si thiab kev kawm. Kev hloov pauv ntawm qhov kev qhia no
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: Nov yog txoj hauv kev yooj yim heev thiab tus nqi qis mus rau cov duab thav duab digital - nrog qhov zoo ntawm kev ntxiv /tshem cov duab hla WiFi ntawm 'nyem thiab luag' siv (pub dawb) xa cov ntaub ntawv . Nws tuaj yeem siv tau los ntawm qhov me me £ 4.50 Pi Zero. Koj tseem tuaj yeem hloov pauv
Tswj Cov Khoom Siv Los Ntawm Arduino Nrog Cov Neeg Siv Khoom Hloov: 8 Cov Kauj Ruam (nrog Duab)
Kev Tswj Cov Khoom Siv Los Ntawm Arduino Nrog Kev Siv Hluav Taws Xob: Lub Arduino tuaj yeem siv los tswj cov cuab yeej los ntawm kev siv cov khoom siv yooj yim hloov pauv hloov chaw
Tseem Tseem Lwm Cov Duab Duab (Linux): 9 Kauj Ruam
Tseem Tseem Lwm Cov Duab Duab (Linux): Tau pom lwm qhov qauv kuv xav sim ua ib qho ntawm kuv tus kheej. Txawm hais tias tsis raug nqi ntawm ~ $ 135 nws yog qhov haujlwm lom zem thiab kuv zoo siab heev nrog cov txiaj ntsig. Nws yog qhov yooj yim huv thiab tsuas yog xav tau ib lub xaim me me rau lub zog. Tus Nqi Project: Laptop wi