Cov txheej txheem:
- Kauj Ruam 1: Teeb Blynk
- Kauj Ruam 2: Txhim Kho Tsev Kawm Ntawv Arduino
- Kauj Ruam 3: Programming NodeMCU
- Kauj ruam 4: Prototyping
- Kauj ruam 5: IFTTT
- Kauj Ruam 6: Ua Tsaug
Video: Qhib thiab Kaw Koj Lub Computer Nrog Google Tsev & Blynk: 6 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Nyob Zoo Cov Menyuam thiab txais tos rau qhov kev qhia no!
Lub sijhawm no kuv yuav qhia koj yuav ua li cas qhib koj lub khoos phis tawj nrog koj lub Tsev Google
CEEV FAJ !! Nyeem qhov no !!: 1. Nco ntsoov cais cov txuas! Kuv xaiv 3d luam ib rooj plaub los kho qhov teeb meem no
2. Yog tias koj txuas lub zog rau koj lub khoos phis tawj khawm koj yuav hlawv lub motherboard tawm, yog li ntawd peb siv kev xa xov los kho qhov teeb meem ntawd.
Vim li cas kuv thiaj ua qhov no Kuv yuav lub tsev google thiab sai sai no pib tswj txhua yam nrog nws. (Piv txwv li kuv lub teeb) Kuv tau ua qhov no vim kuv tub nkeeg thiab tsis xav taug kev mus yog tias kuv nyob hauv txaj. Tom qab ntawd kuv pom kuv tus kheej hauv txaj, thiab lub sijhawm no kuv tsis nco qab tua kuv lub khoos phis tawj. Muaj kuv xav, Kuv yuav tsum muaj peev xwm qhib nws thiab tawm nrog kuv google. Kuv pib googling ncig, tab sis hmoov tsis, kuv tsis pom leej twg uas tau ua li ntawd. Yog li kuv pib kuv tus kheej. Kuv pib los ntawm hauv qab. Kuv tsis paub dab tsi txog cov ncauj lus no, tab sis kuv tau kawm nrawm thiab tom qab 2 hnub so kuv tau ua tiav cov khoom! Tam sim no kuv tuaj yeem ua tub nkeeg raws li kuv xav tau: D, tab sis ua ntej kuv yuav tsum qhia nws nrog zej zog.
Koj yuav xav tau dab tsi 1. NodeMCU - https://goo.gl/HDd5S7 1. Relay Module - https://goo.gl/HDd5S7 1. Breadboard or PCB - https://goo.gl/HDd5S7 1. Khoos phis tawj nrog Arduino software ntawm 1. Smartphone nrog Blynk app
Kauj Ruam 1: Teeb Blynk
Txoj haujlwm no siv Blynk lub tsev qiv ntawv & IFTTT txoj haujlwm los txuas rau google
Yog tias koj xav paub dab tsi blynk yog, tom qab ntawv nyem qhov no -> https://docs.blynk.cc/First, koj yuav tsum teeb tsa lub app ntawm koj lub smartphone. (Duab 1) Thaum lub app tau teeb tsa, qhib nws thiab ua tus account. Yog tias lub app nug tus neeg rau zaub mov twg koj yuav txuas rau, xaiv Blynks tus qauv server. Thaum koj tus lej nyiaj tau tsim, nyem qhov haujlwm tshiab. Koj teeb tsa zoo li no:
Lub npe phiaj xwm: Koj tuaj yeem xaiv ib qho! Xaiv lub cuab yeej: NodeMCUC kev txuas: WiFiTheme: Koj tuaj yeem xaiv ib qho!
Tam sim no koj tsim qhov project. Ntawm no koj muaj thaj chaw ua haujlwm loj thiab peb lub nyees khawm nyob rau saum toj. Nyem rau ntawm thaj chaw ua haujlwm kom qhib lub thawv widget. Qhov no koj yuav tsum xaiv khawm. Nws yuav tsum tau txav koj rov qab mus rau Chaw Ua Haujlwm, thiab tam sim no koj tuaj yeem pom lub pob nyem. Nyem rau ntawm lub cuab yeej qhib lub pob teeb tsa. Kev teeb tsa zoo li no: (Duab 2)
Lub Npe: D1Output: Pin (D1) 1_0Mode: PushON/OFF Cov ntawv: Cov chaw teeb tsa
Thaum koj ua tiav, nyem ok nyob rau ntawm kaum sab xis saum toj kawg nkaus, nyem rau ntawm qhov chaw ua haujlwm kom qhib lub thawv widget, thiab xaiv lub khawm widget. Nyem rau ntawm lub widget qhib lub pob teeb tsa. Kev teeb tsa zoo li no: (Daim duab 3)
Lub Npe: Pib / StopOutput: Pin (V1) 0_1Mode: SwitchON / OFF Labels: Standart settings
Thaum koj ua tiav, nyem ok nyob rau sab xis saum toj kawg nkaus. Ntawm no, nyem rau ntawm qhov chaw ua haujlwm kom qhib lub thawv widget, thiab xaiv lub khawm widget. Nyem rau ntawm tus widget qhib lub pob teeb tsa. Kev teeb tsa zoo li no: (Daim duab 4)
Lub Npe: RestartOutput: Pin (V2) 0_1 Hom: Hloov ON/OFF Cov ntawv cim: Cov chaw teeb tsa
Thaum koj ua tiav, nyem ok nyob rau hauv kaum sab xis saum toj no. Tam sim no peb tau teeb tsa tiav, Nyem rau ntawm lub pob teeb tsa, (nws yog nyob rau sab xis saum toj ntawm lub chaw ua haujlwm) Scroll down rau Auth Token, Ntawm no koj yuav tsum nyem E-Mail, thiab cov cim yuav xa tuaj rau hauv koj lub inbox. Tom qab ntawv nyem OK hauv lub ces kaum sab xis saum toj. Tom qab ntawd mus rau sab xis ntawm lub chaw teeb tsa, koj yuav tsum nyem ua si, thiab tom qab ntawd nws yuav hais tias "(Lub Npe Lub Npe) tsis nyob." Tam sim no peb tau ua tiav nrog cov app no!
Kauj Ruam 2: Txhim Kho Tsev Kawm Ntawv Arduino
Ua ntej peb tuaj yeem pib ua haujlwm NodeMCU koj xav tau software thiab tsev qiv ntawv
Ua ntej nruab Arduino software - https://www.arduino.cc/en/Main/SoftwareTau nruab NodeMCU Library - https://www.youtube.com/embed/RVSCjCpZ_nQA thiab tom qab ntawd nruab Blynk Library - https:/ /https://www.youtube.com/embed/Ea0y1ExNNnI
Tom qab ntawd thaum txhua lub Tsev Qiv Ntawv raug teeb tsa, Qhib Arduino software thiab tom qab ntawd nyob rau saum kaum, mus rau Cov Cuab Yeej -> Pawg Thawj Coj -> NodeMCU 1.0 (ESP -12E Module)
Tam sim no koj tuaj yeem txuas koj NodeMCU rau lub khoos phis tawj (nrog lub xov tooj usb) Tom qab ntawd qhib lub qhov rai program Tus Thawj Saib Xyuas Haujlwm thiab hauv qab cov chaw nres nkoj pom "Silicon Labs" (Duab 1)
Tom qab ntawd qhib Arduino software dua thiab mus rau Cov Cuab Yeej -> Chaw Nres Nkoj -> Xaiv koj com (tus lej uas sib haum rau NodeMCU) (Duab 2)
Kauj Ruam 3: Programming NodeMCU
Tam sim no peb tau npaj rau kev tsim lub NodeMCU
Tsim qhov kos duab Arduino khoob thiab luam cov cai los ntawm qhov link
Kab 7: Tus Cai Sau Npe: Hloov TOKEN nrog lub cim cim uas tau xa tuaj rau koj tus E-Mail. Line 8: SSID: Hloov SSID nrog koj li WiFi ssid. Line 9: Lo lus zais: Hloov PASS nrog koj tus lej WiFi.
Thaum koj tau hloov qhov kev hloov pauv, koj tuaj yeem nyem upload hauv lub ces kaum sab xis Tam sim no koj yuav tsum tsuas yog tos kom txog thaum qhov program tau rub tawm tam sim no peb tau ua tiav nrog lub khoos phis tawj thiab tam sim no tau npaj los pib ntsuas
Kauj ruam 4: Prototyping
Tam sim no peb tau npaj los txuas Relay rau Arduino
Ua kom ntseeg tau kom tshem tawm ARDUINO thaum txuas tus PIN
Ntawm NodeMCU peb xav tau peb tus pin 5 volt tus pin - VinA av pin - GNDAnd tus Digital pin - D1
Txuas tus pin Vin mus rau lub davhlau ya nyob twg zoo ntawm kev xa tawm (Nws yuav raug sau npe VCC lossis +) Txuas tus pin GND mus rau lub davhlau ya nyob twg ntawm tus xa khoom (Nws yuav muaj qhov cim npe GND lossis -) Txuas tus pin D1 mus rau lub davhlau ya nyob twg ntawm kev xa tawm (Nws yuav tshwm sim tau sau rau hauv)
Tam sim no koj tuaj yeem txuas cov pins rau qhov kawg tso tawm.
Txuas koj lub khoos phis tawj khawm mus rau NC (Ib txwm Kaw) thiab COM (Common)
Kauj ruam 5: IFTTT
Tam sim no peb nyob ze, tab sis peb xav tau ib yam ntxiv Thiab qhov ntawd txuas nws mus rau hauv google tsev
Mus rau IFTTT -> https://ifttt.com/my_appletsClick on New appletTus nyem rau ntawm no (Daim Duab 1) Tshawb rau Google tus pab (Duab 2) Xaiv Hais Cov Lus Yooj Yim (Duab 3) Teeb kab lus raws li daim duab (Duab 4) Tom qab ntawv nyem rau +uas (Daim duab 5) Tshawb rau webhooks (Daim duab 6) Tom qab ntawd qhib daim ntawv thov CMD ntawm koj lub khoos phis tawj (Daim duab 7, Tsis txhob mloog nws hais tias "kommandoprompt" nws yog Danish rau CMD) Tom qab ntawd nkag ping blynk-cloud. com Tom qab ntawd saib tus IP (Qhov no tuaj yeem txawv ntawm daim duab, raws li nws nyob ntawm koj qhov chaw nyob) (Daim duab 8) Tom qab ntawd qhib koj lub browser dua thiab tam sim no peb tuaj yeem teeb tsa lub webhook applet
URL: https:// IP: 8080/TOKEN/hloov tshiab/V1? Value = 1Muaj txheej: GETContent yam: Daim ntawv thov/jsonBody: Tsis muaj dab tsi (Daim duab 9)
Tam sim no koj yuav tsum tos txog 24 teev, thiab tom qab ntawd koj tuaj yeem sim qhia google koj cov lus txib. Yeej yog koj ua tiav, tab sis yog tias koj xav kom tuaj yeem yuam nws kaw (Ua raws li tuav lub pob rau 6 vib nas this) Koj yuav tsum ua ib qho ntxiv applet, Qhov tsuas yog qhov koj hloov pauv yog kab lus thiab webhook url rau
URL: https:// IP: 8080/TOKEN/hloov tshiab/V2? Tus nqi = 1
Kauj Ruam 6: Ua Tsaug
Tam sim no peb tau ua tiav, thiab ua tsaug rau koj nyeem qhov no
Yog tias nws tsis ua haujlwm lossis koj muaj lus nug, thov sau email lossis xa ntawv ntiag tug ntawm Instructables. I tau pib ua noob thiab kuv tseem yuav cais kuv tus kheej ua noob, tab sis kuv yuav tsum tuaj yeem pab koj nrog koj cov teeb meem Rau kuv nws ua haujlwm thiab kuv yuav tsum rau koj ib yam.
Kuv ua tiav qhov kuv xaiv los teeb tsa kuv txoj haujlwm tso cai rau PCB thiab, sai sai no kuv yuav 3d luam tawm rooj plaub. Koj tuaj yeem pom nws ntawm daim duab uas tau ua tiav. Kuv kuj tau ua qee qhov txuas nrawm rau kuv PCB kom sai tuaj yeem tshem nws tawm ntawm lub khoos phis tawj yog tias tsis tseem ceeb.
CEEV FAJ !! Nyeem qhov no !!:
1. Nco ntsoov cais cov connectons! Kuv xaiv 3d luam ib rooj plaub los kho qhov teeb meem no2. Yog tias koj txuas lub zog rau koj lub khoos phis tawj khawm koj yuav hlawv lub motherboard tawm, yog li peb siv qhov txuas txuas los kho qhov teeb meem ntawd.
Pom zoo:
Plug & Ua Si CO2 Sensor Zaub Nrog NodeMCU/ESP8266 rau Cov Tsev Kawm Ntawv, Tsev Kawm Qib Siab lossis Koj Lub Tsev: 7 Kauj Ruam
Plug & Ua Si CO2 Sensor Zaub Nrog NodeMCU/ESP8266 rau Cov Tsev Kawm Ntawv, Lub Tsev Kawm Qib Siab lossis Koj Lub Tsev: Kuv yuav qhia koj sai npaum li cas txhim kho lub plug & ua si CO2 sensor qhov twg txhua qhov ntawm txoj haujlwm yuav txuas nrog DuPont xov hlau. Yuav muaj tsuas yog 5 cov ntsiab lus uas yuav tsum tau muab siv, vim tias kuv tsis tau muab tshuaj txhuam ua ntej qhov haujlwm no txhua lub sijhawm
Tsev Automation Nrog Android thiab Arduino: Qhib Lub Qhov Rooj Thaum Koj Mus Tsev: 5 Kauj Ruam
Kev Ua Haujlwm Hauv Tsev Nrog Android thiab Arduino: Qhib Lub Rooj Vag Thaum Koj Mus Tsev: Cov Lus Qhia no yog hais txog kev teeb tsa lub tshuab ua haujlwm hauv tsev kom tswj tau los ntawm lub xov tooj smartphone, siv kev txuas internet, yog li nws tuaj yeem nkag tau los ntawm txhua qhov chaw koj xav tau. Ntxiv mus, nws yuav ua qee yam kev nqis tes thaum twg yog cov txheej txheem m
Siv PSP Raws Li Lub Computer Joystick thiab Tom Qab Tswj Koj Lub Computer Nrog PSP: 5 Cov Kauj Ruam (nrog Duab)
Siv PSP Raws Li Lub Computer Joystick thiab Tom Qab Tswj Koj Lub Computer Nrog PSP: Koj tuaj yeem ua ntau yam txias nrog PSP homebrew, thiab hauv qhov kev qhia no kuv cam yuav qhia koj yuav siv koj li PSP li joystick rau kev ua si li cas, tab sis kuj tseem muaj ib txoj haujlwm uas tso cai rau koj siv koj lub joystick ua koj tus nas. Ntawm no yog cov mater
Txuag lub Ntiaj Teb thiab Koj Lub Hnab. $$ Hloov Koj P & S Pheej Yig Pheej Yig Lub Koob Yees Duab kom rov them rov qab: 4 Cov Kauj Ruam (nrog Duab)
Txuag lub Ntiaj Teb thiab Koj Lub Hnab. $$ Hloov Koj Li P & S Pheej Yig Tshaj Lub Koob Yees Duab kom rov tau txais txiaj ntsig: Ntau xyoo dhau los, Kuv yuav Dolphin Jazz 2.0 Megapixel Digital Camera Nws muaj cov yam ntxwv zoo thiab tus nqi. Nws kuj tseem muaj qhov qab los noj mov rau AAA Bateries. Tsis yog ib tus neeg taug kev deb ntawm qhov kev sib tw, kuv xav tias kuv yuav hloov kho nws kom siv lub roj teeb rov tau los kom tsis txhob nkim sijhawm ntxiv
Ua ib qho kev cuam tshuam uas qhib thiab kaw tag nrho koj cov Cd Tsav: 4 Cov Kauj Ruam
Ua Qhov Tsis Txaus Siab Qhov program uas Qhib thiab Kaw Tag Nrho Koj Cov Tsav Tsheb Cd: qhov no yog kuv thawj Qhov Qhia Qhia yog li thov qhia kuv tias kuv tuaj yeem txhim kho li cas. cov lus qhia no qhia koj yuav ua li cas txhawm rau cuam tshuam qhov program qhib thiab kaw tag nrho koj cov CD tsav. koj yuav xav tau: lub khoos phis tawj siv lub qhov rais