Cov txheej txheem:

IDC2018IOT IoPill Box: 7 Kauj Ruam
IDC2018IOT IoPill Box: 7 Kauj Ruam

Video: IDC2018IOT IoPill Box: 7 Kauj Ruam

Video: IDC2018IOT IoPill Box: 7 Kauj Ruam
Video: Kanye West & Lil Pump - I Love It feat. Adele Givens [Official Music Video] 2024, Hlis ntuj nqeg
Anonim
IDC2018IOT IoPill Box
IDC2018IOT IoPill Box

Nov yog IoPill Box - internet txuas nrog lub thawv tshuaj ntsiav txhua lub lis piam.

Txog peb qhov phiaj xwm zaum kawg ntawm peb chav kawm IoT, peb txiav txim siab muab qhov kev daws teeb meem uas yuav pab xyuas kom cov neeg laus (lossis lwm tus neeg uas siv lub thawv tshuaj ntsiav txhua lub lis piam) tsis txhob hnov qab nqa lawv cov tshuaj txhua hnub, thiab raws sijhawm.

Hauv cov kauj ruam hauv qab no peb yuav piav qhia cov txheej txheem sib txawv ntawm peb tes num, suav nrog yav tom ntej hais qhia kev txhim kho thiab txhim kho txoj haujlwm.

  1. Kev Qhia Hnub - raws li hnub ntawm lub lim tiam, cov xov tooj ntawm tes nyob hauv lub thawv yuav pom kev, qhia tias yuav tsum noj tshuaj dab tsi.
  2. Qhov taw qhia tias tau noj cov tshuaj ntawm ib hnub tau txais - los ntawm LDR lub ntsuas hluav taws xob tau teeb tsa hauv txhua lub xov tooj, lub thawv cia li paub thaum twg lub xov tooj tau qhib kom thim cov tshuaj noj txhua hnub, tag nrho 7 LEDs yuav muab qhia rau tus neeg mob.
  3. Nco Ntsoov 1-yog tias tsis noj tshuaj txhua hnub nyob rau lub sijhawm yuav tsum tau ua, yuav ceeb toom email rau tus neeg siv, kom ceeb toom nws kom noj nws cov tshuaj
  4. Nco Qab 2 - yog tias tus neeg siv tseem tsis tau noj nws cov tshuaj, tom qab lub sijhawm muab thiab tom qab thawj qhov kev ceeb toom, email yuav xa mus rau ib tus neeg hauv tsev neeg lossis tus kws kho mob - qhia rau lawv tias tsis tau noj tshuaj txhua hnub
  5. Nco Txog Lub Limtiam Xaus Thaum kawg ntawm lub asthiv, ceebtoom kom sau cov tshuaj rau lub limtiam tom ntej yuav xa mus rau tus neeg siv, suav nrog cov lus qhia ntawm kev siv tshuaj thiab hom tshuaj noj rau txhua hnub - ntawm email.
  6. Cov Ntaub Ntawv Nkag - keeb kwm ntawm cov ntsiav tshuaj noj cov hnub thiab sijhawm tau khaws cia hauv cov ntaub ntawv teev cia ntawm MQTT.

Kauj Ruam 1: Yuav Tsum Kho Vajtse, Software thiab Khoom

  1. ESP8266 NodeMCU
  2. 7 LEDS
  3. 7 Lwd
  4. 7 x 10k Ohm resistor (rau ldrs)
  5. 7 x 200R Ohm resistors (rau leds)
  6. 4.7k Ohm resistor (rau MCP23017)
  7. 16-ch-analog-multiplexer
  8. NPE 2301
  9. Ntsiav tshuaj Box
  10. Ib lub thawv ntawv

Kauj Ruam 2: Lub Thawv, thiab Lub Pill Box

Box, thiab Pill Box
Box, thiab Pill Box
Box, thiab Pill Box
Box, thiab Pill Box
Box, thiab Pill Box
Box, thiab Pill Box

Peb pom qee lub thawv ntawv thawv thiab muab lub voj voog tso rau hauv nws thiab kaw lub thawv tshuaj ntsiav rau saum nws.

Vim yog ldr lub teeb pom kev zoo thiab peb lub hom phiaj ua kom nws raug qhov zoo - peb yuav tsum tau pleev xim rau lub thawv tshuaj.

Rau txhua ldr peb "drilled" 2 qhov nyob tom qab ntawm txhua hnub ntawm lub thawv tshuaj - siv cov qauv qub "koob kub" txheej txheem.

Rau txhua tus coj peb pinched ob zaug lub thawv nrog rab koob txias.

Rau lub hwj chim cable peb tau ua lub qhov nyob tom qab ntawm lub thawv ntawv.

Kauj Ruam 3: Daim duab Circuit Court

Daim duab Circuit Court
Daim duab Circuit Court
Daim duab Circuit Court
Daim duab Circuit Court
Daim duab Circuit Court
Daim duab Circuit Court

Raws li koj tuaj yeem pom hauv cov duab peb tau siv tag nrho cov khoom siv raws li hauv daim duab - peb tau ua nws tom qab lub thawv tshuaj pleev xim, ldrs nyob sab hauv txhua hnub thiab cov coj hauv lub thawv ntawv ib yam.

Hauv cov duab koj tuaj yeem pom tsuas yog 2 ntawm ldrs thiab leds (qis dua sawv cev rau hnub Sunday thiab saum toj sawv cev rau hnub Saturday), txhawm rau kom muaj tag nrho 7 los ntawm ob qho tib si theej cov ntawv hauv daim duab thiab txuas lawv mus rau qhov sib txawv ntawm cov leej twg tshwm hauv daim duab.

Lub nodeMCU yuav yog lub zog los ntawm usb cable.

Kauj Ruam 4: Adafruit MQTT Pub

Adafruit MQTT Pub
Adafruit MQTT Pub

Peb teeb tsa 2 cov ntaub ntawv txau:

  1. IOP_PatientDemoPT - sawv cev lub sijhawm cim ntawm txhua hnub thaum tus neeg mob noj cov tshuaj hnub ntawd
  2. IOP_PatientDemoHR (tseem tsis tau ua tiav, ua haujlwm yav tom ntej) - sawv cev BPM ntawm tus neeg mob.

Kauj ruam 5: IFTTT Configuration

IFTTT Configuration
IFTTT Configuration
IFTTT Configuration
IFTTT Configuration
IFTTT Configuration
IFTTT Configuration

Peb ua 3 IFTTT cov xwm txheej:

  1. ceeb toom_1 - yog tias tsis tau noj tshuaj txhua hnub nyob rau lub sijhawm yuav tsum tau ua, yuav ceeb toom email rau tus neeg siv, kom ceeb toom nws kom noj nws cov tshuaj
  2. ceeb toom_2 - thaum tus neeg siv tseem tsis tau noj nws cov tshuaj, tom qab lub sijhawm muab thiab tom qab thawj qhov kev ceeb toom, email yuav xa mus rau ib tus neeg hauv tsev neeg lossis tus kws kho mob - qhia rau lawv tias tsis tau noj cov tshuaj txhua hnub
  3. fill_pill - thaum kawg ntawm lub lim tiam, ceeb toom kom sau cov tshuaj rau lub lim tiam tom ntej yuav raug xa mus rau tus neeg siv, suav nrog cov lus qhia ntawm kev siv tshuaj thiab hom tshuaj rau txhua hnub - ntawm email

Kauj Ruam 6: Txoj Cai

Txoj cai yog yooj yim heev thiab muaj cov lus pom zoo.

Rau koj teeb tsa kom ntseeg tau tias koj hloov pauv IFTTT thiab Adafruit cov lej zais, thiab teeb tsa wifi ib yam.

Lub xeev daim duab qhia chaw ntawm tus lej yog raws li tau piav qhia hauv daim duab ntxiv rau theem no.

Kauj ruam 7: Ntxiv

Kev sib tw hauv txoj haujlwm

Peb puas xav tau kom ntseeg tau tias cov tshuaj tau noj tiag? - qhov no yog lo lus nug peb nug peb tus kheej thaum lub sijhawm sib tham ntawm txoj haujlwm, vim tias thaum kawg ntawm hnub ntawd, tus neeg siv yog tib neeg thiab tsis yog lub tshuab, thiab txawm tias muaj qhov qhia tias nws noj cov tshuaj tawm ntawm lub npov, tseem muaj kev txwv ntawm qhov taw qhia seb nws puas tau siv cov tshuaj lossis tsis yog.

Txawm li cas los xij peb tau txiav txim siab tias lo lus nug no tsis yog lub ntsiab lus tseem ceeb ntawm peb txoj haujlwm thiab cov cuab yeej no, thiab peb tsom mus rau yuav ua li cas thiaj li yuav txo tau txoj kev pheej hmoo ntawm cov neeg siv ploj ib hnub ntawm nws cov tshuaj.

Lwm qhov teeb meem peb xav daws yog kom ntseeg tau tias tus neeg siv tsis noj tshuaj ntau hnub sib txawv. Peb qhov kev daws teeb meem yog qhov tshwj xeeb thiab qhia meej ntawm lub xov tooj tam sim no los siv, txawm li cas los xij muaj cov kev daws teeb meem zoo dua thiab nyab xeeb los xyuas kom qhov yuam kev no tsis tshwm sim, txawm li cas los peb tsis muaj cov cuab yeej los txhawb cov kev daws teeb meem no (piv txwv li xauv lub hlwb, saib daim ntawv thov yav tom ntej rau txoj haujlwm)

Txwv

Peb tes num hais txog ib lub thawv ib lub lim tiam - ib koob tshuaj ib hnub - kev daws teeb meem tuaj yeem txuas ntxiv mus ntxiv kom txhawb nqa ob peb koob tshuaj ib hnub / ntau lub thawv

Mechanics - peb tsis tau siv cov khoom txav/tshuab vim tias cov no tsis yog ib feem ntawm chav kawm. Yuav muaj txiaj ntsig txhawm rau txhawm rau tso cai rau peb kaw cov cell uas tsis siv, pib sau cov cell nrog tshuaj thaum kawg ntawm lub asthiv thiab lwm yam.

Cov ntawv thov yav tom ntej/kev txhim kho rau txoj haujlwm

Lub plawv dhia - ntxiv lub ntsuas ntsuas ntsuas tus neeg mob lub plawv dhia thiab los ntawm nias lub pob xa cov ntaub ntawv mus rau MQTT pub rau kev taug qab ntxiv

App - tus neeg siv -phooj ywg app uas tswj hwm qhov system - los ntawm cov app no tus neeg siv tuaj yeem hloov kho qhov sib txawv

sib txawv ntawm lub cuab yeej:

  1. Lub sijhawm twg los noj tshuaj
  2. Hloov cov tshuaj thiab hom tshuaj kom puv
  3. Tau txais cov lus ceeb toom ntawm lub app
  4. Txuag cov ntaub ntawv thiab teev cov tshuaj siv.
  5. Txiav txim cov tshuaj los ntawm lub app thaum ua tiav

Txuas lub cuab yeej txhawb nqa 2 koob tshuaj ib hnub/ntau lub thawv

Auto-fill of cells-txog thaum kawg ntawm lub lim tiam lossis tom qab siv cov tshuaj lawm, lub cuab yeej yuav rov ua cov cell txhua hnub nrog cov tshuaj xav tau.

Xauv cov xovtooj uas tsis siv - txhua lub xovtooj tabsis cov xovtooj txhua hnub uas yuav tau siv yuav raug kaw kom ntseeg tau tias cov neeg siv tsis txhob siv cov tshuaj tsis raug/siv ntau dhau.

Tsim kev txhim kho.

Txuas cov cuab yeej mus rau kev kho mob/tuam txhab pov hwm uas saib xyuas cov neeg siv, khaws cov ntaub ntawv cuam tshuam, hloov kho npe thiab xa tshuaj thaum xav tau thiab lwm yam.

Pom zoo: