Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Txoj Kev Npaj
- Kauj Ruam 2: Nws Ua Haujlwm Li Cas?
- Kauj Ruam 3: Teeb IFTTT thiab Dweet
- Kauj Ruam 4: PCB Tsim
- Kauj ruam 5: Lub sijhawm rau Coding
- Kauj Ruam 6: Luam Ntawv 3D
- Kauj ruam 7: Txaus siab rau
Video: IoT Notifier Siv ESP-12E: 7 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Puas nyob hauv tsev deb ntawm koj tus hlub? Thaum lub sijhawm nyuaj no, txoj haujlwm me me lom zem no yuav tau sim ua kom luag ntxhi rau koj lub ntsej muag.
Hauv Cov Lus Qhia no, Kuv yuav qhia koj yuav ua li cas tso saib cov ntawv ceeb toom los ntawm koj lub xov tooj ntawm tes hauv daim ntawv ntawm kev ua kom pom ntawm lub Ceeb Toom.
Cia peb pib
Khoom siv
ESP12E WiFi Module x1
WS2812B LEDs x 27
AMS1117 3.3V Voltage Regulator x1
10k SMD (0805) Resistor x4
100nF SMD (0805) Resistor x1
NodeMCU rau kev ua haujlwm ESP12E
Kauj Ruam 1: Txoj Kev Npaj
Lub phiaj xwm yog siv IFTTT (Yog Qhov No Yog Qhov ntawd) txhawm rau tshuaj xyuas cov xwm txheej tshwj xeeb tshwm sim ntawm lub xov tooj ntawm tes uas tom qab ntawd ua rau lub vev xaib thov. Dweet yog siv los tshaj tawm cov ntaub ntawv los ntawm IFTTT thiab tom qab ntawd tau txais tib cov ntaub ntawv siv ESP12E.
Thaum kuv pib nrog txoj haujlwm lub tswv yim yog ua kom ceeb toom uas qhia rau kuv paub yog tias muaj xov, hu, thiab lwm yam los ntawm ib tus neeg tshwj xeeb. Tab sis tom qab ntawd kuv nkag siab tias ntau yam tuaj yeem ua tiav siv IFTTT. Yog li, kuv txiav txim siab ntxiv cov ntawv ceeb toom zoo li roj teeb qis, khawm widget thiab Twitter. Koj tuaj yeem ntxiv cov xwm txheej los ntawm IFTTT.
Kauj Ruam 2: Nws Ua Haujlwm Li Cas?
Yog tias muaj xwm txheej (lus, roj teeb tsawg, hu xov tooj, thiab lwm yam) tshwm sim, Tom qab ntawv thov lub vev xaib tau ua rau Dweet thiab "tshaj tawm" cov ntaub ntawv hauv JSON daim ntawv.
Piv txwv li, yog tias lub roj teeb poob qis dua 15%, ib qho xwm txheej tau tshwm sim uas ua rau lub vev xaib thov mus rau https://dweet.io/dweet/for/mythingname?Noti=batt. Qhov no ntxiv "Noti": "batt" rau JSON code. Noti yog 'tus yuam sij' thiab kev sib ntaus yog nws 'tus nqi'.
ESP12E txuas mus rau Dweet thiab "tau txais" cov ntaub ntawv tshaj tawm siv https://dweet.io/get/latest/dweet/for/mythingname thiab txheeb xyuas JSON saum toj no txhawm rau txheeb xyuas tus nqi ntawm "Noti". Txhua qhov xwm txheej tau muab tus nqi sib txawv thiab qhov no yog li cas ESP12E paub qhov xwm txheej tau tshwm sim.
ESP-12E tom qab ntawd nthuav qhia cov duab tas mus li kom txog thaum koj nias lub pob nyob tom qab.
Kauj Ruam 3: Teeb IFTTT thiab Dweet
Teeb tsa Dweet:
- Koj tsuas yog xav tau lub npe rau yam.
- Txhawm rau txheeb xyuas seb nws puas muaj, ntaus
- Yog tias koj tau txais cov lus teb raws li qhia hauv daim duab, tom qab ntawv nws muaj.
Teeb tsa IFTTT Applet:
- Mus ntsib IFTTT thiab tsim ib tus as khauj
- Nyem rau ntawm "Tshawb" thiab tom qab ntawd "Ua rau koj tus kheej Applets los ntawm kos"
- Nyem rau "Qhov no" thiab xaiv "Android Roj teeb" los ntawm cov npe
- Xaiv qhov txhais - "Roj teeb poob qis dua 15%"
- Nyem rau ntawm "Ntawd" thiab xaiv "Webhooks" los ntawm cov npe
- Xaiv qhov kev txiav txim - "Ua lub vev xaib thov"
- URL -
- Txoj Kev - POST
- Cov ntsiab lus hom - ntawv/dawb
- Nyem rau ntawm "Tsim Ua"
Rub tawm IFTTT Android/iOS app thiab nkag mus rau hauv koj tus lej nyiaj. Lub app yuav cia li nug koj kom tso cai nkag mus rau ntau yam kev pabcuam nyob ntawm cov applets tsim. Lwm qhov, koj yuav tsum tau tso cai rau tus kheej.
Hauv app, mus rau Chaw> Kev xaiv ua haujlwm thiab ua kom "Ua Haujlwm Qhov Chaw, Android Roj Teeb thiab WiFi txuas tau sai dua".
Ib yam li ntawd, koj ua ntau applets. Tsuas yog hloov qhov URL uas yog qhov siab
Android Roj teeb - sib ntaus
Twitter - Twitter
Khawm - khawm
Kauj Ruam 4: PCB Tsim
Koj tuaj yeem siv cov software uas koj nyiam rau tsim PCBs. Kuv tab tom siv EasyEDA raws li nws tsim nyog rau cov neeg tshiab zoo li kuv. Kuv tau txuas nrog schematic. Nyem qhov no mus rub cov ntaub ntawv Gerber rau PCB.
Nco ntsoov tias tsis muaj lub dav hlau hauv av qis dua WiFi tus kav hlau txais xov ntawm ESP-12E tus qauv.
Rau lub hom phiaj ua haujlwm, cov ntaub qhwv tau muab rau TX, RX, RST, D3 thiab GND.
Thaum koj tau ua tiav kev tsim PCB, tau txais nws los ntawm cov chaw tsim khoom uas koj xaiv. Kuv xaiv JLCPCB vim nws qhov kev pabcuam sai.
Kuv tau siv lub 27 LEDs siv qhov rov ua dua tshiab siv cov ntaub hlau. Kuv yuav tsum tau muab tes laug ESP-12E tus qauv ntxiv rau qee qhov lwm yam SMD cov khoom nyob tom qab ntawm lub rooj tsavxwm.
Yuam kev uas kuv tau ua:
- Kuv tsis tau tshuaj xyuas cov txheej txheem thiab yog li nco qhov txuas GND mus rau LED. Kuv yuav tsum tau khawb daim npog qhov ncauj tawm ntawm daim phiaj av thiab txuas cov laug txuas.
- Kuv tsis tau ntxiv 100nF capacitor ntawm qhov tso tawm ntawm qhov ntsuas hluav taws xob. ESP-12E rub ntau dua tam sim no thaum nws txuas rau WiFi. Thaum tsis muaj lub capacitor, qhov hluav taws xob poob qis txaus kom rov pib dua ESP-12E.
Tsis txhob txhawj! Kuv tau muab cov ntaub ntawv kho dua rau PCB.
Kauj ruam 5: Lub sijhawm rau Coding
Muaj ntau txoj hauv kev uas ESP-12E tuaj yeem ua haujlwm tau. Koj tuaj yeem nyeem txog nws ntawm no. Kuv yuav siv NodeMCU los ua haujlwm rau nws thiab yog vim li cas kuv thiaj tau ua cov ntaub qhwv rau RX, TX, RST, D3 thiab GND. Nco ntsoov tias pawg thawj coj tau siv ON (los ntawm 5V) kom 3.3V muaj rau ESP-12E. Ua qhov kev sib txuas rau NodeMCU raws li sau rau ntawm pawg thawj coj. Txuas EN (Pab Tau) tus pin ntawm NodeMCU rau GND. Qhov no ua tsis taus tus qauv ntawm NodeMCU kom cov qauv ntawm peb pawg thawj coj tuaj yeem ua haujlwm. Txuas NodeMCU rau koj lub khoos phis tawj thiab qhib.ino cov ntawv txuas nrog ntawm no.
Ua ntej koj rub tawm, ua cov kev hloov hauv qab no:
- Sau koj li WiFi SSID
- Sau koj tus password WiFi
- Sau koj lub npe dweet 'yam' tshwj xeeb.
Nruab ArduinoJson thiab FastLED cov tsev qiv ntawv los ntawm tus thawj tswj tsev qiv ntawv.
Nco tseg: Xaiv qhov qis dua (5.13.5) thaum txhim kho ArduinoJson.
Xaiv Pawg Thawj Coj> NodeMCU 1.0 thiab ntaus Upload!
Kauj Ruam 6: Luam Ntawv 3D
Tsis muaj dab tsi zoo nkauj ntawm no. Tsuas yog sawv ntsug yooj yim nrog lub cev zoo li lub plawv.
Lub rooj muag zaub muaj cov channel los ntawm qhov uas USB cable taug kev los ntawm lub hauv paus mus rau lub rooj tsavxwm. Kuv tau tsim lub cev tseem ceeb xws li nws yog kev sib txhuam haum.
Kuv tseem tabtom txhim kho tsim. Kuv yuav hloov kho cov ntaub ntawv thaum kuv ua tiav nrog nws.
Kauj ruam 7: Txaus siab rau
Plug nws rau lub xov tooj ntawm tes thiab tsis txhob hnov qab ceeb toom!
Ua tsaug rau koj lo rau qhov kawg. Vam tias koj txhua tus nyiam txoj haujlwm no thiab kawm paub qee yam tshiab hnub no. Qhia rau kuv paub yog tias koj ua ib qho rau koj tus kheej. Sau npe yuav ua rau kuv tus YouTube channel rau ntau txoj haujlwm zoo li no. Ua tsaug ntau ntau!
Qhov khoom plig thib ob hauv Kev Sib Tw Lub Plawv
Pom zoo:
Txawb Xov Tooj Siv Yooj Yim Siv STM32F407 Cov Khoom Siv Tshawb Pom thiab GSM A6 Module: 14 Cov Kauj Ruam (nrog Duab)
Kev Siv Xov Tooj Ntawm Lub Xov Tooj Siv STM32F407 Cov Khoom Siv Tshawb Pom thiab GSM A6 Module: Koj puas tau xav tsim qhov kev ua kom txias txias? Yog tias yog, ua li cas txog kev tsim ib qho ntawm cov neeg nyiam tshaj plaws thiab txhua tus nyiam cov khoom siv xws li Lub Xov Tooj Txawb !!!. Hauv Cov Lus Qhia no, Kuv yuav qhia koj yuav tsim lub xov tooj txawb yooj yim siv STM li cas
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
Rov Qab Siv Cov Duab Duab Nrog Virtual Asistent: 7 Cov Kauj Ruam (nrog Duab)
Rov Qab Siv Cov Duab Duab Nrog Virtual Asistent: Nyob zoo txhua tus! Cov lus qhia no tau yug los ntawm lub laptop faib ua ib nrab, yuav los ntawm ib tus phooj ywg. Thawj qhov kev sim ntawm txoj haujlwm no yog kuv Lego Digital Photo Frame, txawm li cas los xij, yog ib tus neeg mob siab rau Siri thiab Google Tam sim no, Kuv txiav txim siab coj nws mus rau qhov tshiab
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