Cov txheej txheem:
- Kauj Ruam 1: Cov Ntaub Ntawv Yuav Tsum Tau
- Kauj ruam 2: Txheej txheem
- Kauj ruam 3: Code
- Kauj Ruam 4: Kaw Cov Lus Cim
Video: Yuav Ua Li Cas RPi Tswb Hluav Taws: 4 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Nyob zoo !! Hauv cov lus qhia no, kuv yuav qhia koj yuav ua li cas thiaj tsim lub tswb hluav taws siv Raspberry Pi. Lub tswb hluav taws no yuav nkag siab thiab ceeb toom rau koj yog tias muaj hluav taws nrog cov lus ceeb toom thiab yuav hu rau tub ceev xwm nrog nias lub pob.
Kauj Ruam 1: Cov Ntaub Ntawv Yuav Tsum Tau
- 1 Raspberry Pi B+
- 1 T-Cobbler
- 1 Raspberry Pi breadboard
- 3 poj niam rau txiv neej xov hlau (1 Liab, 1 Dub, 1 Xim av)
- 2 jumper xov hlau (1 Liab, 1 Dub)
- 1 Dej kab
- 1 Raspberry Pi Nplaim sensor
- lub mloog pob ntseg lossis tus hais lus
Kauj ruam 2: Txheej txheem
- Declutter koj thaj chaw ua haujlwm yog li nws muab chaw dav rau koj ua haujlwm
- Plug rau hauv cov khoom tso tawm los ntawm HDMI rau hauv koj li Raspberry Pi
- Plug rau hauv lub hwj chim cable thiab cov khoom siv computer piv txwv li (keyboard thiab nas) rau hauv koj li Raspberry Pi
- Txuas ib qho kawg ntawm tus dej txuas mus rau qhov kawg ntawm T-Cobbler
- Txuas lwm qhov kawg ntawm txoj kab dej mus rau tus pin ntawm Raspberry PiGPIO7Navigate
- Tso koj T-Cobbler kom nws nyob nruab nrab ntawm daim ntawv qhia zaub mov
- Muab T-Cobbler tso rau hauv ib txoj kev uas txhua kab ntawv txuas rau cais ob sab ntawm lub khob cij
- Txuas ib kawg ntawm Red jumper hlau rau hauv kab uas hais tias 5V5 ntawm T-Cobbler
- Txuas lwm qhov kawg ntawm Red jumper hlau hauv kab ntawv nrog "+" kos npe lossis kab ntawv zoo
- Txuas ib kawg ntawm Cov xov tooj cua dub txuas rau kab uas hais tias GND ntawm T-Cobbler
- Txuas lwm qhov kawg ntawm Dub jumper hlau hauv kab ntawv nrog tus cim "-" lossis kab hauv av
- Txuas tus poj niam kawg ntawm tus txiv neej liab rau poj niam xaim rau tus pin uas hais tias "VCC" ntawm lub nplaim taws
- Txuas tus txiv neej kawg ntawm Liab txiv neej rau poj niam xaim mus rau tib kab lus li Red jumper wire
- Txuas tus poj niam kawg ntawm tus txiv neej Dub rau poj niam xaim rau tus pin uas hais tias "GND" ntawm lub nplaim taws
- Txuas tus txiv neej kawg ntawm Tus txiv neej Dub rau poj niam xaim rau hauv kab ib yam li Cov xov tooj cua dub
- Txuas tus poj niam kawg ntawm tus txiv neej xim av rau poj niam xaim rau hauv tus pin uas hais tias "Ua" ntawm Cov nplaim taws
- Txuas tus txiv neej kawg ntawm tus txiv neej xim av rau poj niam xaim mus rau txhua kab ntawm lub khob cij nrog daim ntawv lo GPIO7
- Tam sim no txhawm rau kom tau txais lub suab rau lub tswb nrov no, mus rau qhov hloov pauv mp3, thiab hloov pauv cov suab twg los xij uas koj xav tau rau.wav file
- Nkag mus rau hauv qab kaum sab tes ntawm qhov screen ntawm koj lub RPi thiab nyem lub pob qhov rai. Nws yuav coj los rau hauv cov ntawv qhia zaub mov me me koj yuav xav txav mus rau qhov twg nws hais tias "Programming" Qhov no yuav coj mus rau lwm cov ntawv qhia zaub mov uas koj yuav xav nyem " Nab hab sej 3 (IDLE) "Qhov no yuav coj lub qhov rai tshiab, mus rau sab saud sab laug ntawm lub qhov rai no thiab nyem qhov uas nws hais tias" Cov Ntaub Ntawv"
- Qhov no yuav nthuav tawm cov ntawv qhia zaub mov me me uas koj yuav nyem "Cov Ntaub Ntawv Tshiab" Ib zaug hauv lub qhov rai tshiab no,
- Nco ntsoov tsim daim nplaub tshev tshiab thiab tso cov.wav cov ntaub ntawv thiab cov ntawv nrog cov cai hauv nws ua ke. qhov no yuav ua rau lub khoos phis tawj yooj yim dua los nrhiav cov ntawv.
- ntxig lub mloog pob ntseg rau hauv chaw nres nkoj thiab ntxig USB yog tias muaj
- Thaum cov lej tau raug muab tso rau lawm nyem lub pob uas hais tias F5 ntawm cov keyboard
- Qhov kev xaiv me me yuav tshwm nyem "khiav" Qhov no yuav coj koj mus rau thaj chaw uas koj tuaj yeem txuag koj tus lej, thov koj xav qhia lub npe rau qhov koj nyiam.
- Thaum cov ntawv tau txais kev cawmdim, koj tuaj yeem ua raws txoj cai thiab pom koj lub RPi hluav taws kub tswb tshiab ua haujlwm zoo kawg nkaus
- Txaus siab rau koj lub tsev tshiab hluav taws tswb tswb
Kauj ruam 3: Code
koj yuav luam tawm thiab muab cov cai uas muaj nyob hauv daim duab.
Kauj Ruam 4: Kaw Cov Lus Cim
Qhov no tau zoo kawg 10 feeb uas koj tau siv los tsim lub tswb Hluav Taws Zoo, Kuv vam tias koj yuav tau txais kev lom zem tawm ntawm qhov phiaj xwm vwm tshiab no uas koj nyuam qhuav ua 3This yuav ua rau koj nyab xeeb thiab yuav ceeb toom txog Kev Kub Ntxhov. Muaj ib hnub AWESOME thiab nyob nyab xeeb.
Pom zoo:
Cov Hluav Taws Xob Hluav Taws Xob Hluav Taws Xob Hluav Taws Xob Igniter: 6 Kauj Ruam (nrog Duab)
Cov Hluav Taws Xob Bluetooth Hluav Taws Xob Igniter: Puas yog nws zoo rau taws ntau dua ib lub foob pob hluav taws tib lub sijhawm? Lossis txawm tias muaj kev nyab xeeb nyob deb rau qhov phom sij txaus ntshai. Hauv qhov haujlwm no kuv yuav qhia koj yuav tsim lub Circuit Court uas tuaj yeem ua tau li cas nrog kev pab ntawm Bluetooth ua haujlwm
Arduino Push Alerts rau Lub Tswb, Tswb Tswb, Tswb Tswb Tswb Thiab Lwm Yam: 8 Kauj Ruam
Arduino Push Alerts rau Tswb, Tswb Tswb, Tswb Tswb Tswb thiab lwm yam: IoT Cov Ntawv Ceeb Toom los ntawm koj lub Tswb, Tswb Tswb, Tswb Tswb thiab lwm yam siv Arduino Uno thiab Ethernet Shield. Cov ncauj lus kom ntxaws ntawm kuv lub vev xaib ntawm no Hais txog Arduino Push Alert Box Siv Arduino Uno thiab Ethernet Shield raws li Wiznet W5100 nti rau
Ib Leeg Hluav Taws Xob Hluav Taws Xob / Hluav Taws Xob Hluav Taws Xob: 6 Cov Kauj Ruam
Ib Leeg Hluav Taws Xob Hluav Taws Xob Hluav Taws Xob / Hluav Taws Xob Hluav Taws Xob: Hauv qhov haujlwm no peb tab tom ua kom muaj Ib lub kauj induction lub cev Muaj zog, thiab ntau yam piav qhia ntxiv, cov qauv ntawm lub tshuab hluav taws xob no tau siv ntau yam khoom siv tam sim no. Peb lub cav tsis muaj lub zog loj, nws yog ntau ntxiv txog kev ua haujlwm
Yuav Ua Li Cas Siv Cov Hluav Taws Xob Hluav Taws Xob Hluav Taws Xob Hluav Taws Xob Module: 6 Kauj Ruam
Yuav Ua Li Cas Siv Cov Hluav Taws Xob Hluav Taws Xob Hluav Taws Xob Hluav Taws Xob Module: Nco tseg thiab ceev faj: CFL muaj cov mercury uas yog cov khoom phom sij, yog li nws yuav tsum tau ua raws li feem ntau CFL cov teeb, hluav taws xob hluav taws xob tau ua haujlwm zoo thiab tseem siv tau, tsuas yog lub teeb mus tsis zoo. CFL Circuit Court ntawm 18-24 Watts yog
Tsim Lub Tswb Tswb Tswb Tswb Rau Koj Lub PC thiab Hluav Taws Xob Hluav Taws Xob-Clock: 3 Kauj Ruam (nrog Duab)
Tsim Tsa Tswb Tswb Tswb Tswb Rau Koj Lub PC thiab Hluav Taws Hluav Taws Xob-Clock: Lub tswb tooj dag, lub me me txuas ob peb yam ntxiv thiab lub tswb nrov tuaj yeem tsoo lub sijhawm ntawm koj lub khoos phis tawj. OS X kuj, Kuv xav tias yuav nruab Ubuntu Linux ntawm lub PC Kuv pom hauv lub thoob khib nyiab thiab ua haujlwm ntawm qhov ntawd: Kuv tsis tau