Cov txheej txheem:
- Kauj Ruam 1: Cov Ntaub Ntawv thiab Cov Cuab Yeej
- Kauj Ruam 2: Kev Npaj MCU
- Kauj Ruam 3: Kev Npaj Tsev MCU
- Kauj Ruam 4: Tsim RESET Daughter-board
- Kauj Ruam 5: Sib Sau Cov Cheeb Tsam Loj
- Kauj Ruam 6: Cov Kauj Ruam Tom ntej
Video: IOT123 - ASSIMILATE SENSOR HUB: ICOS10 CROUTON RESET NODE: 6 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Crouton. https://crouton.mybluemix.net/ Crouton yog lub dashboard uas tso cai rau koj pom thiab tswj koj li IOT cov cuab yeej nrog teeb tsa me me. Qhov tseem ceeb, nws yog daim ntawv yooj yim tshaj plaws los teeb tsa rau ib qho IOT khoos phis tawj uas siv MQTT thiab JSON nkaus xwb.
Qhov kev tsim no xa cov cuab yeej Cov ntaub ntawv xav tau los ntawm Crouton mus rau MQTT tus tswv lag luam, rau bootstrap automatic dashboards. ASSIM_VERSION xav tau 2 rau AssimilateBusSlaves (cov ua yeeb yam thiab cov ntsuas).
Lub HOUSING HEADERS yav dhau los tau hloov kho me ntsis, nrog D0 kev tsheb nqaj hlau hloov txoj kev tsheb ciav hlau D6 uas tsis siv lawm.
Ib tus ntxhais-pawg thawj coj tshiab tau ntxiv uas tso cai rau rov kho kho vajtse, sawv hauv qhov xwm txheej thiab yav tom ntej yuav siv rau qhov hloov pauv qis zog (rau kev tswj lub zog ntawm cov qhev).
Cov kab ntawv ntws saum toj no muab cov lus piav qhia ntawm ASSIMILATE-CROUTON kev koom ua ke.
Yog tias koj tsis tau ua li ntawd, lub plhaub txheej sab nrauv yuav tsum tau muab sib dhos.
NCO TSEG: firmware rau ACTORS/SENSORS xav tau ASSIM_VERSION 2.
Kauj Ruam 1: Cov Ntaub Ntawv thiab Cov Cuab Yeej
ICOS10 (IDC) Plhaub Nqi Khoom Siv
- D1M BLOCK Pin Jig (1)
- D1M BLOCK puag thiab vaj tsev (1)
- Wemos D1 Mini (1)
- Wemos D1 Mini Protoboard Shield (1)
- 40P Poj Niam Headers (8P, 8P, 9P, 9P)
-
Txiv neej Header 90º (3P, 3P, 3P, 2P)
- 1 "Ob tog ob tog protoboard (2)
- 6 Pin Shrouded IDC Txiv Neej Header (1)
- Hookup hlau (~ 10)
- 0.5 hli Tinned Hlau (~ 4)
- 4G x 15mm Khawm taub hau tus kheej tapping screws (2)
- 4G x 6mm tus kheej tapping countersunk screws (~ 20)
Kauj Ruam 2: Kev Npaj MCU
Hauv qhov kev tsim no peb tab tom siv Wemos D1 Mini. Yog tias koj tau ua yav dhau los D1M WIFI BLOCK, koj tuaj yeem siv qhov ntawd rau cov khoom siv kho vajtse hloov pauv. Yog tias tsis yog, yam tsawg kawg liab qab ua raws seem tom ntej.
Muag lub taub hau PINS ntawm MCU (siv tus lej PIN JIG)
Yog tias koj tsis tuaj yeem luam tus lej PIN JIG tsuas yog ua raws cov lus qhia thiab tsim kho: qhov siab (offset) ntawm tus lej PIN JIG yog 6.5mm.
- Luam/tau tus PIN JIG los ntawm nplooj ntawv no.
- Pub cov kab taub hau hla hauv qab ntawm lub rooj tsavxwm (TX sab xis-sab laug) thiab rau hauv cov laug cam.
- Nias tus pin nqes mus rau qhov tiaj tiaj.
- Nias lub rooj tsavxwm nqes mus rau lub jig.
- Ua tus kav 4 lub ces kaum pins.
- Reheat thiab rov ua haujlwm pawg thawj coj/tus pin yog xav tau (pawg thawj coj lossis tus pin tsis sib dhos lossis cov kav dej).
- Solder tus so ntawm tus pin.
UPLOADING LUB FIRMWARE
Cov chaw cia khoom tuaj yeem pom ntawm no (snapshot).
ZIP ntawm lub tsev qiv ntawv tuaj yeem pom ntawm no (snapshot).
Cov lus qhia rau "Ntshuam ZIP Library" ntawm no.
Thaum lub tsev qiv ntawv raug teeb tsa koj tuaj yeem qhib qhov piv txwv "mqtt_crouton_esp8266".
Cov lus qhia rau teeb tsa Arduino rau Wemos D1 Mini ntawm no.
Kev vam khom: ArduinoJson, TimeLib, PubSubClient.
Thaum cov cai tau raug thauj mus rau Arduino IDE:
- Hloov kho tus nqi ntawm _wifi_ssid nrog koj li WiFi SSID.
- Hloov kho tus nqi ntawm _wifi_password nrog koj tus yuam sij WiFi.
- Hloov kho tus nqi ntawm _mqtt_device_name nrog qhov koj nyiam Ntaus Tus Kheej (tsis xav tau koom nrog).
- Hloov kho tus nqi ntawm _mqtt_device_description nrog qhov koj nyiam ntaus ntawv piav qhia (hauv Crouton).
Kauj Ruam 3: Kev Npaj Tsev MCU
MCU Vaj Tsev nthuav tawm lub taub hau rau D1 Mini los ntsaws rau hauv thiab lub taub hau rau tus ntxhais-laug cam uas sib txuas lus nrog Lub Qhov (lub ntsuas cua thiab tus ua yeeb yam) Circuit.
Lub HOUSING HEADERS ntawm thawj ICOS10 3V3 MQTT NODE xav tau hloov kho los txhawb nqa kho vajtse rov qab thaum I2C cov lus sib txuas mus tsis sib xws (rov pib dua yog lub tswv yim qub) thiab tawm ntawm kev tsaug zog. D6 tus pin tawg uas tau hloov pauv tsis tau muab rau ib yam dab tsi thaum lub sijhawm tsim thawj, thiab tau raug xaiv los ua "qee qhov lwm tus lej digital tsuas yog nyob rau hauv rooj plaub".
HOUSING HEADERS
Qhov no yog ua raws D1 Mini Protoboard, thiab sib cais:
- Pins rau D1M BLOCK/D1 Mini txuas rau.
- Kev Ncaj Ncees ncaj qha ntawm 2 kab ntawm kev sib cuag los ntawm D1M BLOCK/D1 Mini. Cov no tsuas yog muaj rau kev yooj yim thaum ua qauv. Nws tau cia siab tias tus ntxhais-laug cam yuav thaiv txhua qhov nkag mus rau cov ntawv no.
- 4 Kev tawg ntawm cov pins tshwj xeeb uas siv los ntawm tus ntxhais-laug cam. Kuv txiav txim siab tsuas yog rhuav tshem I2C tus pin tshwj xeeb tab sis kuv twb muaj qhov siv-siv rau lwm tus pin (qis-qis pw tsaug zog hloov), yog li kuv tsoo RST, A0, D0 thiab lwm tus lej digital tsuas yog hauv rooj plaub.
Txhawm rau ntxiv D1M Cov Neeg Tiv Thaiv rau HOUSING HEADER:
- Saib tus muag khoom siv Lub SOCKET JIG video.
- Pub cov kab taub hau hla hauv qab ntawm lub rooj tsavxwm (TX sab laug-sab laug rau sab saum toj).
- Pub jig hla lub taub hau yas thiab qib ob sab.
- Tig jig thiab sib dhos dua thiab nias lub taub hau ncaj qha mus rau qhov tiaj tiaj.
- Nias lub rooj tsavxwm nqes mus rau lub jig.
- Solder 4 lub kaum tus pin uas siv cov laug me me (tsuas yog ua ntu zus ntawm tus pin).
- Reheat thiab rov ua haujlwm pawg thawj coj/tus pin yog xav tau (pawg thawj coj lossis tus pin tsis sib dhos lossis cov kav dej).
- Solder tus so ntawm tus pin.
- Tshem tawm jig.
- Txiav pins tawm saum cov laug.
Txhawm rau ntxiv Daughter-board Breakouts:
- Txiav 4 tawm 9P Poj niam lub taub hau.
- Nyob rau sab saum toj, ntxig 9P Lub Taub Hau raws li qhia, thiab muab tshuaj txhuam tso rau hauv qab.
Txhawm rau ntxiv Direct Breakouts:
- Txiav 2 tawm 8P Poj niam lub taub hau.
- Nyob rau sab saum toj, ntxig rau 8P Lub Taub Hau raws li qhia, thiab muab tshuaj txhuam tso rau hauv qab.
Txhawm rau txuas lub taub hau, hauv qab nrog TX tus pin taw qhia nce:
- Lw thiab solder los ntawm RST tus pin hla 4 tus pin.
- Lw thiab solder los ntawm tus pin A0 hla 4 tus pin.
- Lw thiab solder los ntawm D1 tus pin hla 4 tus pin.
- Lw thiab solder los ntawm D2 tus pin hla 4 tus pin.
- Kab thiab kab laug sab los ntawm D0 tus pin nqes 2 kab thiab hla 4 tus pin.
- Lw thiab solder los ntawm D7 tus pin hla 4 tus pin.
- Lw thiab solder los ntawm GND tus pin hla 4 tus pin.
- Kab thiab kab laug sab los ntawm 5V tus pin hla 4 tus pin.
- Kab thiab kab laug sab los ntawm 3V3 tus pin nqes 45 ° hla 4 tus pin.
TSEV KAWM NTAWV TSHAJ PLAWS
Lub HOUSING HEADERS tau txuas rau MCU HOUSING thiab qhov no tau txuas rau BASE PLATE.
- Nrog rau sab ntev ntawm HOUSING HEADERS taw tes rau lub qhov, ntxig D1M KEV TIV THAIV rau hauv qhov qhib hauv MCU HOUSING thiab thawb dej ntws tawm.
- Ntxig MCU mus rau MCU CONTACTS thaum sib txuas kom ntseeg tau tias ua kom raug.
- Muab lub taub hau TEEB sab saum toj ntawm cov khoom sib dhos ua ke thiab txuas nrog 2 ntawm 4G x 16mm ntsia hlau.
- Muab cov khoom sib dhos ua ke nrog lub qhov taw qhia rau sab luv thiab sau nrog 4G x 6mm ntsia hlau.
Kauj Ruam 4: Tsim RESET Daughter-board
Tom qab tus ntxhais-board tau ntxiv rau hauv kev sib dhos ntau dua koj yuav pom ib qho kev hloov pauv yuav tsis tso nrog kev sib dhos ua tiav. D1 WIFI BLOCK yuav tsum tau muab tshem tawm ntawm lub tsev (tsuas yog rub tawm) rau qhov rub tawm, tom qab ntawd hloov (tsuas yog thawb rau hauv).
Nyob rau theem no pawg thawj coj no tsuas yog txuas D0 rau tus pin rov pib dua.
- Nyob sab hauv, ntxig 9P 90 ° Txiv Neej Lub Taub Hau (1), thiab muab tshuaj txhuam tso rau sab nraud.
- Ntawm sab hauv, taug ib txoj kab daj los ntawm YELLOW1 mus rau YELLOW2 thiab cov laug.
Kauj Ruam 5: Sib Sau Cov Cheeb Tsam Loj
- Ua kom ntseeg tau tias SHELL tau tsim thiab sim ua Circuit (cable thiab qhov nyob).
- Ntxig 3V3 I2C DAUGHTER-BOARD, nrog 3V3 tus pin ntawm qhov kawg ntawm lub taub hau (saib daim duab).
- Ntxig rau RESET DAUGHTER-BOARD, nrog xaim rau sab hauv (saib daim duab).
- Muab tus Jumper tso rau ntawm 2P Txiv Neej Lub Npe ntawm 3V3 I2C DAUGHTER-BOARD.
- Ntxig lub IDC Socket los ntawm SHELL CABLE rau hauv IDC Header ntawm 3V3 I2C DAUGHTER-BOARD.
- Ua tib zoo ntxig DAUGHTER-BOARDS/HOUSING nruab nrab ntawm cov xov tooj hauv SHELL thiab kho lub hauv paus qhov.
- Ua kom lub hauv paus ruaj khov rau SHELL nrog 4G x 6mm ntsia hlau.
- Txuas ib qho ASSIMILATE SENSORS koj tau ua.
Kauj Ruam 6: Cov Kauj Ruam Tom ntej
- Taw koj tus browser ntawm
- Xyuas kom tus tswv lag luam yog test.mosquitto.org.
- Nyem Txuas.
- Nkag mus rau lub cuab yeej lub npe nkag raws li _mqtt_device_name hauv firmware.
- Nyem Ntxiv Device.
- Nyem Pib-txuas.
- Fais fab koj li ICOS10 (5V MicroUSB).
- Txheeb xyuas ntawm Crouton dashboard.
Pom zoo:
Ib qho yooj yim IOT - App Tswj RF Sensor Hub rau Nruab Nrab Ntau Yam IOT Devices: 4 Cov Kauj Ruam
YOT yooj yim IOT - App Tswj RF Sensor Hub rau Nruab Nrab Ntau Yam IOT Devices: Hauv kab lus qhia no, peb yuav tsim lub network ntawm cov cuab yeej uas tuaj yeem tswj tau los ntawm kev txuas xov tooj cua los ntawm lub hauv paus hub. Cov txiaj ntsig ntawm kev siv 433MHz xov tooj cua txuas txuas tsis siv WIFI lossis Bluetooth yog qhov ntau dua (nrog qhov zoo
Docker Pi Series ntawm Sensor Hub Board Hais txog IOT: 13 Cov Kauj Ruam
Docker Pi Series ntawm Sensor Hub Board Hais txog IOT: Nyob zoo, txhua tus hais mav. los thov rau IOT rau koj.Kuv siv cov khoom no uas yog raws
4 Lig 7-Segment Timer With Reset Button: 5 Kauj Ruam
4 Zauv 7-Segment Timer With Reset Button: Cov lus qhia no yuav qhia koj li cas los tsim lub sijhawm suav suav suav nrog siv 4 Tus lej 7-Segment Display uas tuaj yeem rov pib dua nrog lub pob. ib daim ntawv downloadable ntawm tus lej uas yog
Tsim Kodi / OSMC Infrared Receiver thiab Reset Hat rau Raspberry Pi: 5 Kauj Ruam (nrog Duab)
Tsim Kodi / OSMC Infrared Txais thiab Rov Pib Lub Koob rau Raspberry Pi: Tsim Kodi / OSMC IR Tus Txais thiab Rov Pib Lub kaus mom rau Raspberry Pi 3 Los ntawm thoob plaws ib chav, Kuv xav: Tswj Kodi / OSMC khiav ntawm Raspberry Pi nrog cov chaw taws teeb tswj Saib yog tias Raspberry Pi tau txhawb nqa Ntxiv rau, Kuv xav kom kuv tsev neeg
Handy MP3 Reset Tool: 5 Kauj Ruam
Handy MP3 Reset Tool: kuv lub friggin MP3 player ua kom khov ib ntus yog li kuv tau ua haujlwm txhawm rau txiav txim siab nws. nws zoo li khov rau 3 teev txog thaum kuv tuaj yeem pom daim ntawv kaw lub asthiv no thaum caij caij snow. nws nqus … yog li kuv tuaj nrog qhov no