Cov txheej txheem:
- Kauj ruam 1: Kho vajtse
- Kauj Ruam 2: Tso Jarvis (esp8266) rau hauv Ironman
- Kauj Ruam 3: Software "Nyob Zoo Jarvis"
- Kauj ruam 4: Avengers Sib Sau
- Kauj Ruam 5: Nws Zoo Li Saib Cov Xim Qhuav
Video: Cov Ntawv Ceeb Toom Zoo Tshaj - Ironman Tsab: 5 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:28
"Excelsior" - Stan Lee.
Cov Ntawv Ceeb Toom Zoo Tshaj
Cov lus qhia no tau mob siab rau leej txiv lig ntawm kuv tus superheroes uas kuv nyiam.
Rau qee lub sijhawm kuv muaj tus pej thuam Iron-man no ntawm lub txee. Nws yog khoom ua si ntawm lub hauv paus tsis txaus ntseeg muab rau kuv tom qab sib cav nrog phooj ywg. Kuv tau lees tias kuv tuaj yeem ua kom nws zoo dua. Lub sijhawm dhau mus thiab cov khoom ua si tsuas yog zaum ntawm kuv lub txee rau lub hlis thiab hli, tsis ua si nrog lub teeb LED tsis sib cuam tshuam lossis pleev xim.
Nws yog lub sijhawm los hloov qhov no!
Cia peb tso qee lub neej rau hauv Ironman no, pleev xim rau nws thiab ntxiv Jarvis-suav suav lub zog! Nws yog lub pov thawj rau kev lom zem ntau npaum li cas ib leeg LED tuaj yeem muab rau koj yog siv kom raug!
Nta:
- Siab "txuas" tswj tau RGB LED teeb - yog ib qho xwb!
- Muaj peev xwm tshaj tawm koj li Facebook, Twitter, WhatsApp lwm yam ntawv ceeb toom
- Tau tshaj Alexa (yog tias koj xav tau)
- Totally SuperHero tus phooj ywg
- Jarvis sab hauv (nws yog ESP8266 tab sis qhov ntawd yog qhov ze tshaj plaws kuv tuaj yeem pom)
Sijhawm: 2hCost: txog 5 USD Kev nyuaj: Superhero yooj yim
(Nco tseg txoj haujlwm xav tau NodeRED server rau IoT txuas)
Muaj kev sib tw mus - yog tias kuv tuaj yeem yeej nws nrog ib qhov project LED uas yuav yog qhov kev paub zoo kawg nkaus! Pov npav tau txais txiaj ntsig ntau!
Cov lus qhia yog ua tiav raws qhov ntxim nyiam no sau los ntawm kuv! Koj tuaj yeem nyeem ntxiv txog nws nyob ntawd, tab sis ceeb toom cov lus qhia no yog kev ua nrog kev lom zem!
Kauj ruam 1: Kho vajtse
Qhov no yuav yog daim ntawv teev cov cuab yeej luv tshaj plaws puas tau:
- ESP8266-01 - ib yam li qhov no ($ 3)
- 1 RGB LED WS2812b koj xav tau ib qho - nws tsis muaj nuj nqis!
- 5V rau 3.3V stepdown (ua kom nws USB powered) ($ 2)
Koj tseem yuav xav tau cov hlau txuas (tus txiv neej), qee tus hero zoo ib yam ua siab ntev, ntiv tes khov kho thiab rab phom laser vim tias koj tsis tuaj yeem muaj cov lasers txaus. Tsis tas li ntawd yog tias koj tuaj yeem nkag mus hauv lub tsev … nres nyeem Peter no thiab mus thiab cawm lub nroog!
Nws yog qhov tseeb Kuv tsuas yog sim ua cov kauj ruam no zoo li hnyav. Qhov tseeb yog - qhov no yog txoj haujlwm lom zem kom tau txais koj txhais taw mus rau MQTT, NodeRED, ESP8266 thiab qee yam khoom siv hluav taws xob yooj yim. Koj tuaj yeem siv roj teeb los txhawb lub zog no tab sis ESP yam tsis muaj hom pw yuav zom los ntawm lawv sai heev.
Kauj Ruam 2: Tso Jarvis (esp8266) rau hauv Ironman
Nws tsis hu ua hmoov! Kuv tau npaj tag nrho tias:
- WS2812b muaj daim kab xev nplaum thiab haum rau sab nraub qaum ntawm ESP
- ESP8266 haum hauv Ironman lub taub hau (Tony yog lub taub hau loj tiag!)
Qhov tseeb lom zem: Kuv tus phooj ywg tam sim no muaj lub npe "Iron-man" (tsis txhob qhia nws tias, nws tsis paub txog qhov no). Kuv khaws cov npe npe txhua lub sijhawm kuv yuav tsum nrhiav tus nyob hauv tsev tshiab, ua ntej xaiv (Kuv tau hla Batman thiab Superman lawm). Tsis tsuas yog nws lub npe tshwm sim los ua Anthony, tab sis thawj lo lus nug nws tau nug yog hais txog lub rooj zaum hlau!
Ntau npaum li koj yuav raug ntxias kom muab tso ua ke - tsis txhob ua qhov no tseem tsis tau. Thaum WS2812b tau muab muag rau ESP8266 nrog txhua lub xov hlau, nws yuav nyuaj rau nyem qhov chaws.
Nrog qhov ntawd hauv siab - sijhawm rau Jarvis qib AI
Kauj Ruam 3: Software "Nyob Zoo Jarvis"
Muaj ob yam ntawm kev teeb tsa no:
NodeRED:
NodeRED yog qhov yooj yim siv thiab koj tuaj yeem ua ntau yam tsis txaus ntseeg nrog qhov no. Los ntawm kev siv tshuab yooj yim los qhia rau peb cov khoom ua si Jarvis yuav ua dab tsi! Kuv muaj kev qhia rau cov pib tshiab yog tias koj xav nthuav koj txoj kev paub ntxiv. Nws tsis xav tau rau cov lus qhia no. Yog tias koj xav ua kom lub teeb tshwm sim - cia li nyeem ntxiv.
Tus neeg rau zaub mov yog lub luag haujlwm rau 2 yam:
- txhawm rau ntes cov teeb meem (ceeb toom tuaj, khawm nias thiab lwm yam)
- xa cov lus txib kom teeb lub teeb
Txhawm rau sib tham nrog ESP8266 Kuv tab tom siv txoj hlua uas tau tsim nrog cov hauv qab no:
Hom ntawv: (tus lej: liab: ntsuab: xiav: LedON: LedOFF: Lub teeb ci: voj) tus lej: int 0-255 // tus lej ntsais liab: int 0-255 // liab channel (siv xim xaiv) ntsuab: int 0- 255 // ntsuab channel (siv xim xaiv) xiav: int 0-255 // xiav channel (siv xim xaiv) LedOn/Off: int mills 100-1000 // LED thiab ua kom lub sijhawm tawg: Brightness: int 0-255 // LED ci ci voj: int 0, 1, 2 // hom (suav/tas mus li ntsais muag/meej)
Raws li tus yuam sij no cov lus piv txwv zoo li no:
3:15:96:226:1000:300:255:0
Yuav txhais ua 3 Blue pulses ntev li 1 vib nas this txhua 300 ms ntawm qhov ci tag nrho.
Qhov no yuav xa ntawm MQTT mus rau ESP8266. Nws nyob ntawm koj qhov yuav ua rau kev ntsais muag yuav tshwm sim. Kuv yuav npog ob peb qho piv txwv piv txwv:
Kev Ceeb Toom Txawb
Pom tseeb los ntes cov lus thiab ceeb toom Kuv yuav siv Tasker thiab AutoNotification plugin. Txhua lub sijhawm kuv tau txais cov lus ntawm qee yam - cia ua WhatsApp thiab SMS - Kuv xav kom Ironman ntsais muag x zaug hauv y xim.
Hauv cov cuab yeej Android, koj tuaj yeem siv Tasker los tshuaj xyuas qhov kev ceeb toom uas tau muab tawm thiab ua qee yam raws li qhov no. AutoNotification yuav saib xyuas txhua qhov kev ceeb toom thiab yog tias nws tau tshaj tawm los ntawm SMS app lossis Whatsapp nws yuav xa HTTP Post rau NodeRED. Kuv muaj ntau Tasker cov lus qhia yog tias koj xav paub ntau ntxiv txog nws.
Txog WhatsApp Kuv yuav ntsais muag LED 6 zaug, teeb xim kom ntsuab
coj = 6: 15: 224: 99: 600: 100: 254: 0
Rau SMS Kuv xav kom LED tig xiav thiab ntsais 10 zaug coj-
10:15:96:226:1000:300:254:0
Koj tuaj yeem rub tawm thiab ntshuam cov ntaub ntawv Tasker tiav nrog txhua cov ntaub ntawv txuas nrog rau cov lus qhia no.
ESP8266
Siv MQTT - Kuv tab tom xa cov ntawv nrog cov ntaub ntawv ntawm LED yuav tsum coj li cas. Koj yuav tsum nyem ESP (tej zaum siv qhov DIY flash adapter no) siv Arduino IDE nrog cov cai. Txoj cai tau npaj rau koj, thiab txhua yam koj yuav tsum tau ua yog hloov kho daim ntawv pov thawj muaj tseeb nrog koj li WiFi nkag mus thiab NodeRED server cov ntaub ntawv.
#define SSID_NAME "xxxxxxx";#txhais SSID_PASS "xxxxxxx"; #define MQTT_SERVER "192.168.1.183"; #define MQTT_USER "xxxxxx"; #define MQTT_PASS "xxxxxx"; #define MQTT_CLIENT "Ironman2";
Yog tias koj tsis paub yuav ua li cas nyem ESP8266 - ntawm no yog phau ntawv qhia rau koj. Nco ntsoov tias kom ua haujlwm LED koj yuav xav tau FastLED lub tsev qiv ntawv los ntawm Arduino IDE.
Kauj ruam 4: Avengers Sib Sau
Nws yog lub sijhawm los muab txhua yam ua ke! Muaj ob peb yam ua. Koj tuaj yeem pom qhov txuas txuas tab sis hauv qhov yooj yim:
- USB cable txuas lub zog fais fab (1 thiab 4) mus rau 5V txog 3.3V qib qis
- 3.3V siv los txhawb lub zog RGB LED thiab ESP8266 (nco ntsoov fais fab CH-EN tus pin)
- Lub teeb liab xa los ntawm GPIO02 mus rau LED
Muab ob npaug rau xyuas tag nrho cov xov hlau, vim qhov ua yuam kev ntawm cov kauj ruam no tuaj yeem kim! Koj yuav luag npaj txhij! Nws yog lub sijhawm rau cov kauj ruam kawg!
Kauj Ruam 5: Nws Zoo Li Saib Cov Xim Qhuav
Hmoov zoo, Kuv tau nrawm cov duab rau koj - yog li koj tsis tas yuav thev 2h kev pleev xim! Siv cov xim acrylic thiab koj lub tswv yim los ua ib yam dab tsi nruab nrab zoo li epic!
Ib qho ntxiv, yog tias koj xav tau txais kev ceeb toom txog qhov hloov tshiab rau qhov no lossis lwm qhov haujlwm - txiav txim siab ua raws kuv ntawm lub platform uas koj xaiv: Facebook Twitter Instagram YouTube
Thiab yog tias koj xav zoo li yuav kuv kas fes lossis txhawb kuv txoj hauv kev txuas ntxiv mus:
Paypal Patreon
Kuv vam tias koj tau txaus siab rau txoj haujlwm!
Pom zoo:
Siv Cov Txheej Txheem Ua Yeeb Yam Zoo Tshaj Plaws los Tswj Cov Ntaub Ntawv Zoo Tshaj WiFi: 4 Cov Kauj Ruam (nrog Duab)
Siv Cov Txheej Txheem Ua Yeeb Yam Zoo Tshaj Plaws los Tswj Cov Ntaub Ntawv Ntshiab Dhau WiFi: Koj puas tau xav sim nrog kev tswj lub ntsej muag? Ua tej yam txav nrog nthwv dej ntawm koj txhais tes? Tswj suab paj nruag nrog kev sib tw ntawm koj lub dab teg? Cov lus qhia no yuav qhia koj li cas! Complex Arts Sensor Board (complexarts.net) yog ntau yam microc
Ceeb Toom Cov Neeg Tuaj Saib Lub Vev Xaib ceeb toom Nrog IFTTT: 6 Cov Kauj Ruam
Kev ceeb toom Cov Neeg Tuaj Saib Lub Vev Xaib Nrog IFTTT: Hauv cov lus qhia no, koj yuav tau txais Android ceeb toom thaum ib tus neeg mus ntsib koj li Website.so rau qhov no Koj yuav tsum muaj kev paub me ntsis ntawm PHP programming lus thiab Kev paub yooj yim ntawm C Yam Lus kom paub li cas IFTTT App cov haujlwm (
Tsab Ntawv Ceeb Toom Tswb Tswb Tswb: 11 Kauj Ruam (nrog Duab)
Tsab ntawv tsa suab nrhiav Tswb System: Nco tseg! Reactive Blocks tsis muaj rau rub tawm ntxiv. Lub koob yees duab USB yooj yim tuaj yeem siv los tshuaj xyuas cov lus tsa suab hauv chav. Hauv cov theem hauv qab no peb yuav qhia koj yuav ua li cas koj tuaj yeem siv Reactive Blocks los ua haujlwm npaj rau khiav Java daim ntawv thov uas xa SMS
Yuav Ua Li Cas Thiaj Li Tshaj Lij Tshaj Lij Tshaj Lij Tshaj Tawm Hauv Circuit Board: Phau Ntawv Qhia Ua tiav: 10 Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Thiaj Li Tshaj Lij Tshaj Lij Tshaj Tawm Hauv Circuit Board: Phau Ntawv Qhia Tiav: Nyob zoo txhua tus, hnub no kuv yuav qhia koj yuav ua li cas thiaj ua tau PCB zoo, txhawm rau txhim kho koj cov phiaj xwm hluav taws xob. Cia peb pib
Lus Ceeb Toom Arduino Tshuab Ntxhua Khaub Ncaws - Thawb Ceeb Toom rau Xov Tooj Nrog Blynk: 5 Cov Kauj Ruam (nrog Duab)
Lus Ceeb Toom Arduino Tshuab Ntxhua Khaub Ncaws - Thawb Ceeb Toom rau Xov Tooj Nrog Blynk: Peb lub tshuab ntxhua khaub ncaws nyob hauv lub nkas -las thiab peb tsis hnov lub suab nrov nrov los qhia tias ntxuav tas lawm. Kuv xav nrhiav txoj hauv kev kom tau txais kev ceeb toom, txhua qhov chaw peb nyob hauv tsev, thaum lub voj voog tiav lawm. Kuv tau tinkering nrog Arduino, ESP8266 WiFi