Cov txheej txheem:

Roj teeb Powered Wi-Fi Ntse Khawm los Tswj HUE Teeb: 5 Cov Kauj Ruam (nrog Duab)
Roj teeb Powered Wi-Fi Ntse Khawm los Tswj HUE Teeb: 5 Cov Kauj Ruam (nrog Duab)

Video: Roj teeb Powered Wi-Fi Ntse Khawm los Tswj HUE Teeb: 5 Cov Kauj Ruam (nrog Duab)

Video: Roj teeb Powered Wi-Fi Ntse Khawm los Tswj HUE Teeb: 5 Cov Kauj Ruam (nrog Duab)
Video: NOOBS PLAY BRAWL STARS, from the start subscriber request 2024, Hlis ntuj nqeg
Anonim

Ua raws ntau los ntawm tus sau:

Yuav Ua Li Cas Txuas RaspberryPi Pico rau WiFi & xa ntawv ceeb toom
Yuav Ua Li Cas Txuas RaspberryPi Pico rau WiFi & xa ntawv ceeb toom
Yuav Ua Li Cas Txuas RaspberryPi Pico rau WiFi & xa ntawv ceeb toom
Yuav Ua Li Cas Txuas RaspberryPi Pico rau WiFi & xa ntawv ceeb toom
BBC Micro: ntsis + WiFi + Xov Tooj Ceeb Toom
BBC Micro: ntsis + WiFi + Xov Tooj Ceeb Toom
BBC Micro: ntsis + WiFi + Xov Tooj Ceeb Toom
BBC Micro: ntsis + WiFi + Xov Tooj Ceeb Toom
Yuav ua li cas thiaj tsim WiFi Sensors thiab UI hauv Node-RED ntawm Raspberry Pi
Yuav ua li cas thiaj tsim WiFi Sensors thiab UI hauv Node-RED ntawm Raspberry Pi
Yuav tsim WiFi Sensors thiab UI li cas hauv Node-RED ntawm Raspberry Pi
Yuav tsim WiFi Sensors thiab UI li cas hauv Node-RED ntawm Raspberry Pi

Txoj haujlwm no qhia pom yuav ua li cas tsim lub roj teeb siv IoT Wi-nkaus khawm hauv tsawg dua 10 feeb. Lub khawm tswj HUE teeb hla IFTTT.

Hnub no koj tuaj yeem tsim cov cuab yeej hluav taws xob thiab txuas lawv mus rau lwm lub cuab yeej ntse hauv tsev tiag tiag hauv feeb. Dab tsi ntxiv koj tuaj yeem ua nws yam tsis muaj cov programmer tshwj xeeb thiab sau ib kab nkaus xwb. Hauv blog no peb qhia lub roj teeb siv Wi-Fi Smart Button, uas tswj HUE teeb nyob deb ntawm internet. Nws tuaj yeem tsim ua kom yooj yim los ntawm cov tsim tawm ntawm txhua qib txuj ci. Qhov khawm yuav nyob ntev 15k qhib cov xwm txheej ntawm 2xAAA lithium roj teeb - qhov no yog nyob deb ntawm qhov zoo tshaj plaws lub zog -ntse ntse khawm. Yog tias peb coj mus rau hauv tus account 8x thawb/txheej xwm ib hnub nws yuav nyob ntev li 5+ xyoo. Nws yog vim IoT tus qauv, uas tau siv hauv txoj haujlwm no, tsis tso dej tam sim no thaum tsis tau qhib - qhov tseeb 0A. Cov lus qhia no suav nrog cov hauv qab no:

  1. Sib dhos siv lub rooj noj mov
  2. Teeb tsa IFTTT thiab HUE cov kev pabcuam
  3. Configuring IoT module
  4. Txuas IoT module rau hauv internet

Txhua yam tuaj yeem ua tiav qis dua 10 feeb yam tsis muaj kab ntawm kab lossis kev paub huab.

Khoom siv

Qhov

  • Cricket Wi-Fi module Yam Ntawm Ntug
  • Breadboard (generic)
  • SparkFun Loj Liab Dome Khawm
  • Cov Roj Teeb, AAA x 2

Software apps thiab cov kev pabcuam online

Kev pabcuam FTTT Maker

Cov cuab yeej

Soldering hlau (generic)

Kauj ruam 1: Sib dhos

Image
Image
Los ua ke
Los ua ke
Los ua ke
Los ua ke

Solder Pin Header PCB cais tawm txuas mus rau Kab laum module. Lub taub hau ua rau nws yooj yim dua los txuas Cricket module rau breadboard.

  • Txuas tus lej thib 1 los ntawm lub pob rau roj teeb VCC (+)
  • Txuas tus lej thib ob los ntawm khawm mus rau WAKE_UP chaw nres nkoj ntawm Kab laum module
  • Txuas roj teeb VCC (+) mus rau BATT chaw nres nkoj ntawm Cricket module
  • Txuas roj teeb GND (-) mus rau GND chaw nres nkoj ntawm Cricket module

Kauj Ruam 2: teeb tsa IFTTT

IFTTT teeb tsa
IFTTT teeb tsa
IFTTT teeb tsa
IFTTT teeb tsa
IFTTT teeb tsa
IFTTT teeb tsa
IFTTT teeb tsa
IFTTT teeb tsa

Cov kauj ruam ua raws:

  1. Mus rau:
  2. ID nkag mus lossis sau npe
  3. Nyem Tsim los ntawm Tus Neeg Siv / Tus lej ntawv qhia zaub mov (kaum sab xis saum toj)
  4. Nyem + txhawm rau tsim qhov xwm txheej tshiab
  5. Xaiv qhov kev pabcuam Webhooks
  6. Nyem Mus Ntxiv
  7. Nyem Tau txais lub vev xaib thov (ntawm sab laug tes)
  8. Tsim lub npe txheej xwm xws li khawm_event
  9. Qhov xwm txheej yuav tsum tau teeb tsa tam sim no, nyem + tom qab ntawd tshwm sim
  10. Tshawb nrhiav HUE kev pabcuam
  11. Xaiv HUE qhov kev tshwm sim
  12. yog tias koj tseem tsis tau HUE koj xav tau ntxiv los ntawm -> Txuas
  13. Xaiv lub cuab yeej (lub teeb) uas qhov xwm txheej no yuav txuas nrog
  14. Nyem tag

Yuav luag tiav, peb yuav tsum tau txais HTTP chaw nyob uas peb tuaj yeem tshaj tawm cov xwm txheej los ntawm IoT module.

Tshawb nrhiav Webhooks cov kev pabcuam thiab nyem rau hauv cov ntaub ntawv hauv kaum sab xis.

Tom ntej no luam cov vev xaib txuas hauv qab "Ua POST lossis Tau Txais web thov rau:" koj yuav xav tau nws tom kawg.

Kauj Ruam 3: Kho Wi-Fi Cricket Module

Kho Wi-nkaus Cricket Module
Kho Wi-nkaus Cricket Module
Kho Wi-nkaus Cricket Module
Kho Wi-nkaus Cricket Module
Kho Wi-nkaus Cricket Module
Kho Wi-nkaus Cricket Module

Kab civliv tau teeb tsa tag nrho OTA (Tshaj Huab Cua) los ntawm Yam Ntawm Ntug - Tus Tsim Kho Portal (https://dev.thingsonedge.com). Kev teeb tsa yuav rov qab los ntawm Kab civliv hauv is taws nem thaum nws txuas nrog koj li Wi-nkaus (uas tau piav qhia hauv ntu tom ntej). Tam sim no cia teeb tsa nws ua ntej.

Txog lub pob peb yuav tsum teeb tsa Kab civliv kom xa POST HTTP thov thaum woken los ntawm lub teeb liab ntawm IO1: WAKE_UP tus pin. Lub teeb liab no yog muab thaum lub pob nyem.

Tam sim no qhib TOE Developer Portal los ntawm txhua lub browser los ntawm PC lossis txawb. Koj yuav tsum sau npe/nkag mus rau Developer Portal txhawm rau qhib thiab teeb tsa lub cuab yeej hauv koj tus account. Txwv tsis pub lub cuab yeej yuav tsis ua haujlwm.

Tom qab ua tiav kev nkag mus / sau npe koj yuav tsum nyem "Ntxiv tshiab" ntaus ntawv kom qhib koj lub cuab yeej hauv kab ke. Koj yuav tsum tau siv tus lej cim tshwj xeeb luam tawm ntawm daim ntawv lo rau sab nraum qab ntawm Cricket. WARNING: Koj yuav tsum khaws tus lej lej rau koj tus kheej nkaus xwb. Tsis txhob muab nws qhia rau lwm tus.

Tam sim no koj tuaj yeem teeb tsa koj lub cuab yeej.

Teem cov teeb tsa hauv qab no:

  • RTC: TSO
  • IO2: OFF
  • IO3: Tawm
  • Roj teeb saib xyuas: OFF
  • Force hloov tshiab ntawm - IO1 Wake Up: On
  • Yuam kom hloov tshiab ntawm - RTC Wake Up: OFF
  • Tshaj Tawm Cov Txheej Txheem: saib hauv qab no

Luam/Muab tshuaj txhuam qhov txuas uas koj tau theej los ntawm Webhooks rau hauv io1_wakeup thiab tso cov ntaub ntawv tseg

maker.ifttt.com/trigger/button_event/with/key/hfNIx8SKn_xxxxxxxxxxxxxxxxxxxxxxxx_YW3xx5yFw5MGD

Thaum koj teeb tsa lub teeb nyem Txuag khawm.

Ua tau zoo! Koj yuav luag nyob ntawd! Tam sim no koj tsuas yog yuav tsum txuas koj lub cuab yeej rau hauv internet hla koj li Wi-nkaus network. Thov ua raws ntu tom ntej yuav ua li cas.

Kauj Ruam 4: Txuas IoT Module rau Is Taws Nem

Txuas IoT Module rau Is Taws Nem
Txuas IoT Module rau Is Taws Nem
Txuas IoT Module rau Is Taws Nem
Txuas IoT Module rau Is Taws Nem
Txuas IoT Module rau Is Taws Nem
Txuas IoT Module rau Is Taws Nem

Hauv ob peb kauj ruam koj yuav txuas koj lub cuab yeej rau hauv internet hla koj li Wi-nkaus network. Txhua yam koj yuav tsum tau ua yog qhib Cricket tus kheej Wi-nkaus hotspot thiab tom qab ntawd qhib lub vev xaib ntiag tug kom dhau koj li ntawv pov thawj Wi-nkaus network. Thov ua raws cov theem hauv qab no:

  1. Nias thiab tuav lub pob ntawm tus qauv rau 5 vib nas this kom txog thaum LED tau teeb tas li.
  2. Thaum lub LED tau teeb tsa tas li Cricket qhib qhov chaw ntiag tug Wi-nkaus kub. Txuas los ntawm lub khoos phis tawj lossis lub xov tooj smartphone mus rau qhov chaw kub nrog cov ntawv pov thawj hauv qab no: SSID: toe_device Tsis tas yuav siv tus lej zais
  3. Ib zaug txuas nrog, qhib lub vev xaib ntiag tug: https://192.168.4.1/index.html NCO NTSOOV: nco ntsoov tias LED tseem nyob! Yog tias OFF rov ua cov kauj ruam txij thaum pib
  4. Tam sim no koj tuaj yeem hla koj li ntawv pov thawj Wi-nkaus network thiab nyem txuas. Yog tias koj dhau qhov SSID thiab Password raug tom qab ob peb vib nas this lub cuab yeej yuav tsum tshaj tawm nws online thiab LED yuav OFF.

Nrog koj zoo siab! Tam sim no koj lub cuab yeej nyob thiab txuas nrog internet!

Kauj ruam 5: Cov ntsiab lus

Tam sim no koj tuaj yeem hloov/tua HUE lub teeb nrog koj lub cuab yeej khawm !

Koj tuaj yeem nrhiav cov ntaub ntawv ntxiv:

  • Txog Cricket module los ntawm Yam Ntawm Ntug (https://thingsonedge.com) nplooj ntawv
  • Xav paub ntau ntxiv cov ntaub ntawv tuaj yeem nrhiav tau ntawm no GitHUB (https://github.com/thingsonedge/cricket)
  • Cov vis dis aus nrog cov lus qhia:

Pom zoo: