Cov txheej txheem:

IOT123 - ASSIMILATE SENSOR HUB: ICOS10 CUSTOMIZATION WEBSEREVEVEREVER: 11 Kauj Ruam
IOT123 - ASSIMILATE SENSOR HUB: ICOS10 CUSTOMIZATION WEBSEREVEVEREVER: 11 Kauj Ruam

Video: IOT123 - ASSIMILATE SENSOR HUB: ICOS10 CUSTOMIZATION WEBSEREVEVEREVER: 11 Kauj Ruam

Video: IOT123 - ASSIMILATE SENSOR HUB: ICOS10 CUSTOMIZATION WEBSEREVEVEREVER: 11 Kauj Ruam
Video: IOT123 - ASSIMILATE SENSOR HUB: ICOS10 IDC PANEL ASSEMBLY 2024, Kaum ib hlis
Anonim
IOT123 - ASSIMILATE SENSOR HUB: ICOS10 CUSTOMIZATION WEBSEREVEREVER
IOT123 - ASSIMILATE SENSOR HUB: ICOS10 CUSTOMIZATION WEBSEREVEREVER
IOT123 - ASSIMILATE SENSOR HUB: ICOS10 CUSTOMIZATION WEBSEREVEREVER
IOT123 - ASSIMILATE SENSOR HUB: ICOS10 CUSTOMIZATION WEBSEREVEREVER
IOT123 - ASSIMILATE SENSOR HUB: ICOS10 CUSTOMIZATION WEBSEREVEREVER
IOT123 - ASSIMILATE SENSOR HUB: ICOS10 CUSTOMIZATION WEBSEREVEREVER

ASSIMILATE SENSOR/ACTOR Qhev embed metadata uas yog siv rau kev txheeb xyuas qhov pom hauv Crouton. Qhov kev tsim no ntxiv cov webserver rau ESP8266 Master, ua haujlwm rau qee cov ntaub ntawv teeb tsa uas tuaj yeem hloov kho los ntawm tus neeg siv, tom qab ntawd siv cov ntaub ntawv ntawd los txheeb xyuas qhov pom kev. Yog li cov npe ntawm daim npav dashboard thiab feem ntau ntawm cov khoom siv teeb tsa tuaj yeem hloov pauv. Qhov no yog qhov tsim nyog xws li DHT11 tshaj tawm Cov Khoom Kub thiab Vaum: yog tias lub xaib muaj ob peb lub node nrog cais DHT11 cov cim lawv txhua tus tsis tuaj yeem hu ua Kub (Chaw rau tsheb Temp., Yard Temp …). Kev txwv qhov ntev ntawm metadata tau teeb tsa los ntawm I2C Bus (16 tus ntawv) tsis muaj nyob thiab cov txiaj ntsig zoo dua tuaj yeem siv tau (txog 64 tus ntawv).

Yeem Yeem Yeem Yeem Yeem Yeem Yeem Yeem tau tsim kho rau lub vev xaib hloov pauv, nrog rau cov npe cais tawm los ntawm Kev Pov Thawj rau lwm yam peev txheej.

Kev hloov qis qis uas ua rau cov qhev qis thaum tsim nyog, kuj tseem tau tsim ntawm tus ntxhais-board uas twb muaj lawm.

Raws li cov ntawv sau tseg, ua ntej pib qhov no tsim lub cim xeeb hneev taw yog 70% vim yog lub ntiaj teb cov khoom siv metadata cov duab. Qhov tseeb AssimilateBus lub tsev qiv ntawv tau muaj qhov kev hloov pauv uas txiav tawm lub ntiaj teb sib txawv mus rau hauv JSON cov ntaub ntawv khaws tseg rau SPIFFS. Qhov no tau coj tus hneev taw rov qab mus rau ~ 50%, uas muaj kev nyab xeeb dua rau txhua qhov JSON cais tawm/tsev. Lub tsev qiv ntawv AssimilateBusSlave tseem zoo ib yam (ASSIM_VERSION 2) thoob plaws cov kev hloov pauv no.

NTAUS THIAB VIM LI CAS

Tam sim no Cov Qhev (cov cim thiab tus ua yeeb yam) yog tus kheej muaj thiab vam khom raws li kev cog lus raws I2C cov lus los nyeem cov khoom lossis ua raws cov lus txib. Tus Xib Hwb khaws cov metadata thiab cov khoom los ntawm qhev thiab xa nws mus rau MQTT broker. Nws kuj tseem pib lub vev xaib thiab ua haujlwm rau JSON cov ntaub ntawv uas tuaj yeem raug kho kom teeb tsa tus tswv thiab kho cov metadata/cov khoom uas thaum kawg tau siv los ntawm Crouton. Tus neeg ntsuas tus kheej/tus ua yeeb yam tau nyeem/hais kom ua ntawm Crouton yam tsis muaj tus tswv muaj kev paub ua ntej ntawm cov qhev ua.

Ib lub hom phiaj ntawm ASSIMILATE IOT NETWORK yog txhawm rau kho Crouton kom cov mashup cov kws kho mob tau txais kev pabcuam los ntawm IOT NODE webservers (zoo li qhov kev tsim no), tau ntxiv ua webcomponents uas yuav muab kev tswj kom tiav ntawm yam uas ua piv txwv li tus tswv tsis tau programmed, cov qhev muaj cov txheej txheem yooj yim tab sis Crouton dashboard tso rau txhua txoj cai kev lag luam xav tau los ua qhov khoom!

Crouton diav rawg yog pom raws li kev xaiv rau kev tswj hwm/teeb tsa ntawm yam. Hauv qhov tseeb ib qho MQTT tus thov kev pabcuam/GUI ua ke tuaj yeem tswj hwm koj cov khoom, raws li txhua txoj haujlwm (cov cim thiab tus ua yeeb yam) raug nthuav tawm raws li MQTT qhov kawg.

Kauj ruam 1: Crouton

Crouton
Crouton
Crouton
Crouton

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.

ASSIMILATE SLAVES (cov cim thiab cov ua yeeb yam) tau teeb tsa cov metadata thiab cov khoom uas tus tswv siv los tsim cov cuab yeej Info json pob ntawv uas Crouton siv los tsim lub dashboard. Tus neeg nruab nrab ntawm ASSIMILATE NODES thiab Crouton yog MQTT tus broker uas yog websockets tus phooj ywg: Yoov tshaj cum tau siv rau qhov kev qhia.

Raws li ASSIMILATE MASTER (qhov tsim no) thov cov khoom, nws tawm tswv yim cov lus teb hauv qhov yuav tsum tau ua rau Crouton hloov tshiab.

Kauj ruam 2: Lub Vev Xaib / Editor

Lub Vev Xaib / Editor
Lub Vev Xaib / Editor
Lub Vev Xaib / Editor
Lub Vev Xaib / Editor

Raws li tus Xib Hwb khau looj plab hlaub (qhov kev tsim no) ib qho kev sib txuas hauv lub vev xaib tau pib. Tus IP chaw nyob yog tso tawm mus rau Lub Chaw Sib Tham; thaum kawg qhov no yuav raug tshaj tawm rau Crouton dashboard.

Thaum koj txheeb xyuas qhov URL tau hais tseg, ACE EDITOR yuav raug rub tawm:

Ace yog tus lej tsim kho kab ntawv sau hauv JavaScript. Nws phim cov yam ntxwv thiab kev ua tau zoo ntawm cov neeg kho ib txwm xws li Sublime, Vim thiab TextMate.

Ace yog nrov nrog kos cov vev xaib thiab muab lub interface zoo rau kev kho thiab txuag JSON cov ntaub ntawv.

Nyem rau ntawm lub npe filename ntawm sab laug yuav nyeem cov ntawv los ntawm SPIFFS ntawm ESP8266, thiab thauj cov ntsiab lus rau kev kho ntawm sab xis. Cov ntaub ntawv tuaj yeem raug cawm los ntawm cov cuab yeej saum toj kawg nkaus.

Txhawm rau xa cov ntawv:

  1. Xaiv Cov Ntaub Ntawv los ntawm koj cov ntaub ntawv hauv zos.
  2. Ntxig ib txoj hauv kev nplaub tshev (yog tias xav tau) hauv lub thawv ntawv.
  3. Nyem Upload.
  4. Refresh nplooj ntawv.

Kauj Ruam 3: Kev Kho Tus Kheej

Customization Device
Customization Device

Kev teeb tsa lub cuab yeej (ESP8266) tau ua los ntawm cov cuab yeej.json cov ntaub ntawv.

Qee qhov nkag no (wifi_ssid, wifi_key) yuav tsum tau hloov kho ua ntej koj rub cov ntaub ntawv mus rau SPIFFS (ESP8266 Sketch Data Upload).

Xauj mus rau lub hauv paus ntawm webserver (pom hauv cov khoom tso tawm zoo li

Kho kom raug

Hauv ACE EDITOR xaiv config/device.json.

Cov nkag yog:

  • www_auth_username: kev tso cai siv lub npe rau cov ntaub ntawv webserver (khoob rau tsis tso cai).
  • www_auth_password: tso cai lo lus zais rau cov ntaub ntawv webserver (yog lub npe siv tau hais tseg).
  • www_auth_exclude_files: ib nrab-nyuv delimited cov npe ntawm cov ntaub ntawv paths kom cais tawm ntawm kev tso cai tshawb xyuas (yog lub npe siv tau hais tseg).
  • sensor_interval: milliseconds ntawm kev tshaj tawm cov ntaub ntawv rau MQTT Broker.
  • ntp_server_name: lub npe ntawm lub sijhawm server siv.
  • time_zone: qhov offset hauv teev rau koj lub sijhawm hauv zos.
  • wifi_ssid: SSID ntawm koj qhov Chaw Nkag Mus Hauv Zos.
  • wifi_key: tus yuam sij siv rau SSID.
  • mqtt_broker: MQTT broker chaw nyob.
  • mqtt_username: lub npe siv los rau MQTT broker (khoob rau yam tsis xav tau tus account).
  • mqtt_password: tus password siv los ntawm MQTT lub npe siv.
  • mqtt_port: MQTT broker chaw nres nkoj.
  • mqtt_device_name: lub npe siv rau MQTT cov ncauj lus thiab Crouton kev txheeb xyuas.
  • mqtt_device_description: de3scription ntawm lub cuab yeej qhia hauv Crouton.
  • viz_color: xim txhawm rau txheeb xyuas daim npav ntaus ntawv hauv Crouton (hauv daim forked version)

Kauj Ruam 4: Kev Kho Vaj Tse

Kev Kho Vaj Tse
Kev Kho Vaj Tse
Kev Kho Vaj Tse
Kev Kho Vaj Tse
Kev Kho Vaj Tse
Kev Kho Vaj Tse

Txhua tus qhev muaj nvc cov qauv txheej txheem txhais hauv cov ntsiab lus.h cov ntaub ntawv:

// --------------------------------------- PUBLISHED PROPERTIES

nvc props [2] = {{"Vaum", "", muaj tseeb}, {"Kub", "", tsis tseeb}}; // --------------------------------------- KAWG PUBLISHED PROPERTIES

Txhua qhov nkag muaj qhov ntsuas nrog thawj tus yog 0 (xoom).

Cov cuab yeej lub npe kev hloov kho tau ua los ntawm cov ntaub ntawv user_props.json.

Xauj mus rau lub hauv paus ntawm webserver (pom hauv cov khoom tso tawm zoo li

Kho kom raug

Hauv ACE EDITOR xaiv teeb tsa/user_props.json (lossis upload ib qho).

Tus qauv yog:

Thawj qhov tseem ceeb yog Chaw Nyob ntawm Tus Qhev hauv cov ntsiab lus.h cov ntaub ntawv raws li tau txheeb xyuas los ntawm:

#define ADDRESS_SLAVE XX

  • Cov theem tom ntej ntawm cov yuam sij yog Index ntawm Cov Khoom.
  • Tus nqi ntawm tus yuam sij ntawd yog Lub Npe Cov Khoom siv hauv Crouton tsis yog Lub Npe Cov Khoom tau teev tseg hauv cov lus txhais.

Kauj ruam 5: Metadata Customization

Customization ntawm Metadata
Customization ntawm Metadata
Customization ntawm Metadata
Customization ntawm Metadata
Customization ntawm Metadata
Customization ntawm Metadata
Customization ntawm Metadata
Customization ntawm Metadata

Vim tias muaj peev xwm hloov kho tau, txhua tus qhev nws muaj nws cov ntaub ntawv hloov kho metadata. Cov ntaub ntawv yuav tsum yog nyob rau hauv hom ntawv user_metas_.json.

Tus qhev chaw nyob muaj nyob hauv cov ntsiab lus txhais.h hauv ATTINY85 cov duab kos:

#define ADDRESS_SLAVE XX

Cov metadata tau teev tseg hauv tib cov ntaub ntawv zoo li no:

const zoo li qub char viz1 PROGMEM = "VIZ_CARD_TYPE";

const zoo li qub char viz2 PROGMEM = "2: chart-donut"; const zoo li qub char viz3 PROGMEM = "1";

Thawj kab yog lub npe ntawm cov khoom metadata.

Kab thib ob yog tus nqi. Feem ntau nws muaj cov lej cim ntxiv tom ntej.

Kab thib peb yog tus chij txuas ntxiv. 1 - txuas ntxiv, 0 - kawg ntawm metadata (VCC_MV).

Xauj mus rau lub hauv paus ntawm webserver (pom hauv cov khoom tso tawm zoo li

Kho kom raug

Hauv ACE EDITOR xaiv teeb tsa/user_metas_SLAVE_ADDRESS.json (lossis upload ib qho). Tus qauv yog:

  • Ib qho array ntawm lub npe/tus nqi khub.
  • Lub npe yog lub npe ntawm cov khoom metadata hloov pauv.
  • Tus nqi yog qhov hloov pauv. Cov ntawv txuas ntxiv raug tshuaj xyuas rau kev hloov pauv.

Kauj Ruam 6: Cov Ntaub Ntawv thiab Cov Cuab Yeej

Cov Ntaub Ntawv thiab Cov Cuab Yeej
Cov Ntaub Ntawv thiab Cov Cuab Yeej
Cov Ntaub Ntawv thiab Cov Cuab Yeej
Cov Ntaub Ntawv thiab Cov Cuab Yeej
Cov Ntaub Ntawv thiab Cov Cuab Yeej
Cov Ntaub Ntawv thiab Cov Cuab Yeej

ICOS10 (IDC) Plhaub Nqi Khoom Siv

  1. D1M BLOCK Pin Jig (1)
  2. D1M BLOCK puag thiab vaj tsev (1)
  3. Wemos D1 Mini (1)
  4. Wemos D1 Mini Protoboard Shield (1)
  5. 40P Poj Niam Headers (8P, 8P, 9P, 9P)
  6. Txiv neej Header 90º (3P, 3P, 3P, 2P, 1P, 2P)
  7. 1 "Ob tog ob tog protoboard (2)
  8. 2N7000 NFET (1)
  9. 6 Pin Shrouded IDC Txiv Neej Header (1)
  10. Hookup hlau (~ 10)
  11. 0.5 hli Tinned Hlau (~ 4)
  12. 4G x 15mm Khawm taub hau tus kheej tapping screws (2)
  13. 4G x 6mm tus kheej tapping countersunk screws (~ 20)
  14. Cov laug thiab hlau (1)

Kauj Ruam 7: Kev Npaj MCU

Image
Image
Kev Npaj MCU
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.

TUS TSHUAJ TUS HAUV 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 kho kom raug: qhov siab (offset) ntawm tus lej JIG yog 6.5 hli.

  1. Luam/tau tus PIN JIG los ntawm nplooj ntawv no.
  2. Pub cov kab taub hau hla hauv qab ntawm lub rooj tsavxwm (TX sab xis-sab laug) thiab rau hauv cov laug cam.
  3. Nias tus pin nqes mus rau qhov tiaj tiaj.
  4. Nias lub rooj tsavxwm nqes mus rau lub jig.
  5. Ua tus kav 4 lub ces kaum pins.
  6. 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).
  7. 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_customization_webserver".

Cov lus qhia rau teeb tsa Arduino rau Wemos D1 Mini ntawm no.

Kev vam khom: ArduinoJson, TimeLib, PubSubClient, NeoTimer (saib cov ntawv txuas yog ua txhaum kev hloov pauv hauv cov chaw cia khoom).

UPLOAD RAU SPIFFS

Thaum cov cai tau raug thauj mus rau Arduino IDE, qhib device.json hauv cov ntaub ntawv/teeb tsa nplaub tshev:

  1. Hloov kho tus nqi ntawm wifi_ssid nrog koj li WiFi SSID.
  2. Hloov kho tus nqi ntawm wifi_key nrog koj tus yuam sij WiFi.
  3. Hloov kho tus nqi ntawm mqtt_device_name nrog qhov koj nyiam Ntaus Tus Kheej (tsis xav tau koom nrog).
  4. Hloov kho tus nqi ntawm mqtt_device_description nrog qhov koj nyiam ntaus ntawv piav qhia (hauv Crouton).
  5. Txuag device.json.
  6. Muab cov ntaub ntawv xa mus rau SPIFFS.

Kauj Ruam 8: Kev Npaj Tsev MCU

Image
Image
Kev Npaj Tsev MCU
Kev Npaj Tsev MCU
Kev Npaj Tsev MCU
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.

HOUSING HEADERS Qhov no yog ua raws D1 Mini Protoboard, thiab rhuav tshem cov pins no:

  1. Pins rau D1M WIFI BLOCK/D1 Mini txuas rau.
  2. Kev tawg ncaj qha ntawm 2 kab ntawm kev sib cuag los ntawm D1M WIFI 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.
  3. 4 Kev tawg ntawm cov pins tshwj xeeb uas siv los ntawm tus ntxhais-laug cam.

Txhawm rau ntxiv D1M Cov Neeg Tiv Thaiv rau HOUSING HEADER:

  1. Saib tus muag khoom siv Lub SOCKET JIG video.
  2. Pub cov kab taub hau hla hauv qab ntawm lub rooj tsavxwm (TX sab laug-sab laug rau sab saum toj).
  3. Pub jig hla lub taub hau yas thiab qib ob sab.
  4. Tig jig thiab sib dhos dua thiab nias lub taub hau ncaj qha mus rau qhov tiaj tiaj.
  5. Nias lub rooj tsavxwm nqes mus rau lub jig.
  6. Solder 4 lub kaum tus pin uas siv cov laug me me (tsuas yog ua ntu zus ntawm tus pin).
  7. 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).
  8. Solder tus so ntawm tus pin.
  9. Tshem tawm jig.
  10. Txiav pins tawm saum cov laug.

Txhawm rau ntxiv Daughter-board Breakouts:

  1. Txiav 4 tawm 9P Poj niam lub taub hau.
  2. 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:

  1. Txiav 2 tawm 8P Poj niam lub taub hau.
  2. 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:

  1. Lw thiab solder los ntawm RST tus pin hla 4 tus pin.
  2. Lw thiab solder los ntawm tus pin A0 hla 4 tus pin.
  3. Lw thiab solder los ntawm D1 tus pin hla 4 tus pin.
  4. Lw thiab solder los ntawm D2 tus pin hla 4 tus pin.
  5. Kab thiab kab laug sab los ntawm D0 tus pin nqes 2 kab thiab hla 4 tus pin.
  6. Lw thiab solder los ntawm D7 tus pin hla 4 tus pin.
  7. Lw thiab solder los ntawm GND tus pin hla 4 tus pin.
  8. Kab thiab kab laug sab los ntawm 5V tus pin hla 4 tus pin.
  9. 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.

  1. 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.
  2. Ntxig MCU mus rau MCU CONTACTS thaum sib txuas kom ntseeg tau tias ua kom raug.
  3. 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.
  4. 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 9: Txhim Kho Tus Qhev Qis Tsawg Sab Hloov/RESET Daughter-board

Txhim Kho Cov Qhev Qis Qis Qis Qis/RESET Daughter-board
Txhim Kho Cov Qhev Qis Qis Qis Qis/RESET Daughter-board
Txhim Kho Tus Qhev Qis Tsawg Sab Hloov/RESET Daughter-board
Txhim Kho Tus Qhev Qis Tsawg Sab Hloov/RESET Daughter-board
Txhim Kho Tus Qhev Qis Tsawg Sab Hloov/RESET Daughter-board
Txhim Kho Tus Qhev Qis Tsawg Sab Hloov/RESET Daughter-board

Qhov no yog kev txhim kho ntawm REST tus ntxhais-pawg thawj coj tsim kho zaum kawg. Qhov no ntxiv qhov hloov pauv qis uas txuas cov qhev mus rau GROUND. Yog tias tus tswv rov pib dua, cov qhev tseem yuav, thiab kev pib ua haujlwm nthuav tawm cov metadata yuav pib dua.

TSEEM CEEB

  1. Ntawm sab hauv, ntxig rau 9P 90 ° Txiv Neej Headers (1), 1P 90 ° Txiv Neej Lub Taub Hau (2), 2N7000 (3), thiab muab tso rau sab nraud.
  2. Ntawm sab hauv, taug ib txoj kab daj los ntawm YELLOW1 mus rau YELLOW2 thiab cov laug.
  3. Ntawm sab hauv, taug qab cov xaim liab qab los ntawm SILVER1 rau SILVER2 thiab cov laug.
  4. Nyob sab hauv, taug ib txoj kab liab qab ntawm SILVER3 mus rau SILVER4 thiab cov laug.

Kauj Ruam 10: Sib sau Cov Khoom Loj

Sib dhos Cov Cheeb Tsam Loj
Sib dhos Cov Cheeb Tsam Loj
Sib dhos Cov Cheeb Tsam Loj
Sib dhos Cov Cheeb Tsam Loj
Sib dhos Cov Cheeb Tsam Loj
Sib dhos Cov Cheeb Tsam Loj
Sib dhos Cov Cheeb Tsam Loj
Sib dhos Cov Cheeb Tsam Loj
  1. Ua kom ntseeg tau tias SHELL tau tsim thiab sim ua Circuit (cable thiab qhov nyob).
  2. Sib pauv 2P Txiv neej lub taub hau ntawm 3V3 I2C DAUGHTER-BOARD nrog 2P 90º 1P Txiv Neej Lub Npe.
  3. Ntxig 3V3 I2C DAUGHTER-BOARD, nrog 3V3 tus pin ntawm qhov kawg ntawm lub taub hau (saib daim duab).
  4. Ntxig lub LOW-SIDE SWITCH/RESET DAUGHTER-BOARD, nrog xaim rau sab hauv (saib daim duab).
  5. Taug qab Dupont ua tus coj ntawm 90º 1P Txiv Neej Lub Taub Hau ntawm RESET DAUGHTER-BOARD mus rau 3V3 I2C DAUGHTER-BOARD.
  6. Ntxig lub IDC Socket los ntawm SHELL CABLE rau hauv IDC Header ntawm 3V3 I2C DAUGHTER-BOARD.
  7. Ua tib zoo ntxig DAUGHTER-BOARDS/HOUSING nruab nrab ntawm cov xov tooj hauv SHELL thiab kho lub hauv paus qhov.
  8. Ua kom lub hauv paus ruaj khov rau SHELL nrog 4G x 6mm ntsia hlau.
  9. Txuas ib qho ASSIMILATE SENSORS koj tau ua.

Kauj Ruam 11: Cov Kauj Ruam Tom ntej

Image
Image
Cov kauj ruam tom ntej
Cov kauj ruam tom ntej
Cov kauj ruam tom ntej
Cov kauj ruam tom ntej
  1. Taw koj tus browser ntawm
  2. Xyuas kom tus tswv lag luam yog test.mosquitto.org.
  3. Nyem Txuas.
  4. Nkag mus rau lub npe ntaus ntawv siv ua mqtt_device_name hauv /config/device.json cov ntaub ntawv.
  5. Nyem Ntxiv Device.
  6. Nyem Pib-txuas.
  7. Fais fab koj li ICOS10 (5V MicroUSB).
  8. Txheeb xyuas ntawm Crouton dashboard.

Pom zoo: