Cov txheej txheem:
Video: Yuav Ua Li Cas EchoLight: 3 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
EchoLight yog cov cuab yeej siv yooj yim tsim los ua kom txoj kev nyab xeeb los ntawm kev ua rau tib neeg paub thaum lawv tab tom nrawm. EchoLight yog Raspberry Pi raws cov cuab yeej siv hauv qhov liab-liab uas ci ntau lub xim LED thiab ua lub tswb ceeb toom rau tib neeg yog tias lawv mus txog qhov txaus ntshai. EchoLight kuj tseem muaj peev xwm SMS, tso cai rau nws xa cov lus ceeb toom thiab xa cov ntsiab lus ntawm koj qhov kev mus ncig ua si.
Khoom siv
- Ib (1) Raspberry Pi 3
- Ib (1) Multicolor LED
- Ib (1) Active Alarm Sound Module (rau Arduino)
- Rau (6) Poj niam rau Poj Niam Hlau
- Ib (1) Ethernet Cable
- (Tsis teb los tau) Raspberry Pi Protective Case (los nrog ob (2) Heatsinks)
Kauj ruam 1: Kev teeb tsa
Txoj haujlwm no siv ntau lub tsev qiv ntawv sib txawv, feem ntau tsim cov nodes tshiab rau Node-Red. Qee qhov kev teeb tsa no yuav tsum ua tiav hauv koj lub khoos phis tawj, thaum lwm tus yuav tsum ua tiav ntawm koj li Raspberry Pi.
Khoos phis tawj thiab kev ua haujlwm:
(Windows) Nruab PuTTY
(Mac) Tsis tas yuav rub tawm
Tom ntej no, peb SSH rau hauv Raspberry Pi. Ua qhov no sib txawv Mac thiab Windows cov neeg siv, yog li ua raws cov kab ntawv sib txuas.
Ua ntej tshaj, txuas koj li Raspberry Pi rau koj li WiFi nrog Ethernet Cable
(Windows) Txuas rau Raspberry Pi nrog PuTTY, tom qab ntawd Txuas Raspberry Pi rau koj li WiFi
(Mac) SSH los ntawm Terminal ncaj qha, tom qab ntawd Txuas Raspberry Pi rau koj li WiFi
Yeem rau Mac thiab Windows:
Nthuav lub hauv paus muab faib ntawm Raspberry Pi SD daim npav
Kev teeb tsa ntawm Raspberry Pi:
Node-Liab
SMS Node - Twilio
Counter Node
Kauj ruam 2: Kev thaiv kab
Tam sim no koj muaj txhua qhov tsim nyog rub tawm tiav, nws yog lub sijhawm los txuas lub LED thiab tswb rau koj li Raspberry Pi. Koj tuaj yeem siv daim duab saum toj no lossis cov npe hauv qab no los pab koj txuas cov xov hlau raug rau tus pin raug.
Nco tseg: Cov wirings no yuav tsum yog qhov tseeb rau txoj haujlwm ntawm cov kauj ruam tom ntej los ua haujlwm, txawm hais tias yog koj xav kom program nws koj tus kheej xav tias yuav xaim kab ke sib txawv.
LED ntau xim:
Peb tsuas yog yuav tsum tau txuas cov xim liab thiab ntsuab ntawm LED, raws li liab yuav qhia txog kev nrawm thiab ntsuab yuav qhia txog kev nyab xeeb, yog li xiav tsis tsim nyog.
Liab - Pin 16
Hauv av - Pin 9
Ntsuab - Pin 15
Tswb Tswb Suab Module:
Txawm hais tias nws yuav tsis tsim nyog, Kuv pom zoo muab daim kab xev lossis lwm yam khoom tso rau hauv lub tswb, vim tias nws tuaj yeem ua rau nrov nrov thiab tsis txaus ntseeg.
VCC - Pin 1
I/O - Pin 11
Hauv av - Tus Pin 6
Kauj Ruam 3: Ntxiv Txoj Haujlwm
Tam sim no nws yog lub sijhawm ntxiv cov cai. SSH rau hauv koj li Raspberry Pi, nkag mus rau hauv.node-liab cov ntaub ntawv, thiab pib qhov program liab. Tom qab ntawd, mus rau sab xis sab saum toj (zoo li peb kab sib tshooj), nyem rau nws, nyem rau ntshuam> ntawv los teev cia. Tom qab ntawd, muab cov lej hauv qab no tso rau hauv lub thawv. Txoj cai no yuav qhib lub tswb, ua kom lub teeb hloov los ntawm ntsuab mus rau liab raws li qhov simulated tus tsav tsheb nce ntxiv (raws li qhia hauv cov duab saum toj no), thiab xa cov ntawv xov xwm thaum tus neeg tsav tsheb mus nrawm heev thiab cov ntaub ntawv hais txog kev caij tsheb thaum lub array yog tsis muaj dej.
[{"id": "412bd4f2.ad4b3c", "type": "tab", "label": "Main", "disabled": cuav, "info": ""}, {"id": "e490141d. ad9358 "," type ":" function "," z ":" 412bd4f2.ad4b3c "," name ":" Speedometer Sim "," func ":" msg.payload = msg.payload [msg.count]; / nreturn msg; "," outputs ": 1," noerr ": 0," x ": 110," y ": 300," xov hlau ":
Txij li thaum peb tsis muaj lub ntsuas hluav taws xob lossis GPS, txawm hais tias nws tuaj yeem yooj yim me ntsis ntxiv rau hauv kab ke, muaj 6 qhov sib koom ua ke ua raws cov kev txwv ceev thiab lub tsheb qeeb qeeb koj tuaj yeem hloov kho cov kab ke uas tso tawm cov txiaj ntsig no hauv kev txhaj tshuaj ' array.
Tam sim no, txhua yam koj yuav tsum tau ua yog sau npe rau Twilio tus lej nyiaj thiab nkag mus rau koj tus lej xov tooj thiab cov ntaub ntawv nyiaj txiag rau hauv ob lub xov tooj SMS xiav. Tom qab ntawd koj tuaj yeem nkag mus rau koj tus lej xov tooj kom tau txais cov ntawv.
Koj ua tiav! Tsuas yog nias lub pob "Deploy" liab nyob rau sab xis saum toj thiab koj yuav tsum zoo mus! Xav tias dawb los ntxiv GPS lub peev xwm, lub ntsuas hluav taws xob, lossis lwm yam qauv los txhim kho ntawm peb cov qauv.
Pom zoo:
YUAV UA LI CAS YUAV UA LI CAS YUAV TSUM MUAJ KEV LAG LUAM CIRCUIT Siv D882 Tus Neeg Soj Ntsuam: 3 Kauj Ruam
YUAV UA LI CAS YUAV UA LI CAS YUAV TSUM TAU LWM YAM CIRCUIT Siv D882 Tus Kws Tshaj Lij: HELLO phooj ywg, Zoo siab txais tos rau kuv CHANNEL, Hnub no kuv yuav qhia koj li cas kom ua tau CIRCUIT ntawm kev siv hluav taws xob tsis siv neeg lub teeb pom kev siv D882
YUAV UA LI CAS YUAV UA LI CAS YUAV TSUM ROBOT COOB SCARECROW: 16 Cov Kauj Ruam (nrog Duab)
YUAV UA LI CAS YUAV TSUM NYOB ROBOT COW SCARECROW: Kuv nyuam qhuav tsim Moo-Bot, tus neeg hlau nyuj scarecrow dhia hla lub hli, rau kev sib tw hauv zej zog scarecrow.Kuv kev tshoov siab yog los ntawm kuv tus tub hu nkauj "hey diddle diddle, miv thiab fiddle. .. " Txoj haujlwm zoo heev los ua haujlwm nrog kuv
YUAV UA LI CAS YUAV RAWS LI QHOV ROOJ TSHUAB QHOV ROBOT ARM (PART2: ROBOT RAU KEV ZOO SIAB ZOO TSHAJ PLAWS) - YUAV TSUM MICRO: BIT: 3 Kauj Ruam
YUAV UA LI CAS YUAV RAWS LI QHOV ROOJ TSHUAB QHOV ROBOT ARM (PART2: ROBOT RAU KEV ZOO SIAB ZOO TSHAJ PLAWS)-YUAV TSUM MICRO: BIT: Yav dhau los peb tau qhia txog Armbit hauv kab-taug qab hom. Tom ntej no, peb qhia yuav ua li cas rau nruab Armbit kom tsis txhob muaj teeb meem
Yuav Ua Li Cas Tau Txais Cov Nkauj Los Ntawm Txhua Qhov (Haha) Lub Vev Xaib (Ntev Li Koj Tau hnov Nws Koj Yuav Tau Txais Nws Ok Zoo Yog Nws Tau Ntxig Hauv Flash Koj Yuav Tsis Muaj Peev Xwm) EDITED !!!!! Ntxiv Info: 4 Cov Kauj Ruam
Yuav Ua Li Cas Tau Txais Cov Nkauj Los Ntawm Txhua Qhov (Haha) Lub Vev Xaib (Ntev Li Koj Tau hnov Nws Koj Yuav Tau Txais Nws … Ok Zoo Yog Nws Tau Ntxig Hauv Flash Koj Yuav Tsis Muaj Peev Xwm) EDITED !!!!! Ntxiv Cov Lus Qhia: yog tias koj tau mus rau lub vev xaib thiab nws ua nkauj nkauj uas koj nyiam thiab xav tau nws ntawm no yog cov lus qhia rau koj tsis yog kuv qhov txhaum yog tias koj cuam tshuam qee yam (tsuas yog txoj hauv kev nws yuav tshwm sim yog tias koj pib tshem cov khoom yam tsis muaj laj thawj. ) Kuv tuaj yeem tau txais cov nkauj rau
Yuav Txheeb Xyuas Li Cas Yog Game Yuav Ua Haujlwm Hauv Koj Lub Computer Ua Ntej Koj Yuav Game: 4 Kauj Ruam
Yuav Txheeb Xyuas Li Cas Yog Game Yuav Ua Haujlwm Hauv Koj Lub Computer Ua Ntej Koj Yuav Game: Kuv tsis ntev los no tau txais Hu ntawm Duty 4 los ntawm tus phooj ywg (pub dawb kuv yuav ntxiv) vim tias yuav tsis khiav hauv nws lub computer. Zoo, nws lub khoos phis tawj yog qhov tshiab haum, thiab nws tsis txaus ntseeg kuv vim li cas nws yuav tsis khiav. Yog li tom qab ob peb teev ntawm kev tshawb nrhiav hauv internet, Kuv tau hla