Cov txheej txheem:
- Kauj Ruam 1: Yam Koj Yuav Tsum Tau
- Kauj ruam 2: Software
- Kauj Ruam 3: Ua Kev Sib Txuas
- Kauj Ruam 4: Ua IBM Watson Account
- Kauj Ruam 5: Muab Cov Khoom Siv
- Kauj ruam 6: Sketch
- Kauj Ruam 7: Saib Cov Ntaub Ntawv
Video: IoT Hydroponics - Siv IBM's Watson rau PH thiab EC Ntsuas: 7 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Cov lus qhia no yuav qhia saib yuav ua li cas saib xyuas EC, pH, thiab ntsuas kub ntawm kev teeb tsa hydroponics thiab xa cov ntaub ntawv mus rau IBM's Watson kev pabcuam.
Watson yog pub dawb los pib nrog. Muaj cov phiaj xwm them nyiaj, tab sis txoj phiaj xwm pub dawb ntau dua li txaus rau txoj haujlwm no.
Kauj Ruam 1: Yam Koj Yuav Tsum Tau
- Txhua lub rooj tsav xwm txhim kho ESP32. Qhov no zoo li tsim nyog, tab sis ib qho twg yuav ua haujlwm.
- Isolated EC Probe Interface board thiab K1 conductivity probe. Koj tuaj yeem tau txais ob qho ntawm ufire.co.
- Isolated ISE Probe Interface board thiab pH sojntsuam kuj los ntawm ufire.co.
- Qee qhov txawv thiab xaus zoo li xov hlau thiab USB cables.
Kauj ruam 2: Software
- Kuv yuav xav tias koj paub nrog Arduino, Arduino IDE, thiab nws tau teeb tsa lawm. Yog tsis yog, ua raws cov kab ntawv txuas.
- Yam tom ntej yog tau txais ESP32 lub platform teeb tsa. Vim qee qhov, qhov no tsis tau yooj yim los ntawm kev muaj lub platform tswj hwm tus IDE tau muab, yog li koj yuav tsum tau mus rau nplooj ntawv github thiab ua raws cov lus qhia teeb tsa tsim nyog.
-
Tam sim no rau cov tsev qiv ntawv: Los ntawm Arduino IDE, tau txais Sketch / suav nrog Lub Tsev Qiv Ntawv / Tswj Tsev Qiv …
- Tshawb nrhiav thiab teeb tsa 'Isolated EC Probe Interface'.
- Tshawb nrhiav thiab teeb tsa 'PubSubClient'.
- Tshawb nrhiav thiab teeb tsa 'Isolated ISE Probe Interface'.
- Tshawb nrhiav thiab teeb tsa 'ArduinoJson' version 5.13.2.
Kauj Ruam 3: Ua Kev Sib Txuas
ESP32 peb tab tom siv muaj WiFi thiab BLE cuam tshuam, yog li tsuas yog xav tau lub zog siv. Tej zaum koj yuav xav tau USB cable muab lub zog, tab sis roj teeb yog lwm txoj kev xaiv. Ntau ESP32s tuaj yeem yuav nrog lub roj teeb them hluav taws xob hluav taws xob twb nyob ntawm lub rooj tsavxwm.
Cov cuab yeej uFire uas peb yuav ntsuas EC, pH thiab qhov kub thiab txias txuas mus rau ESP32 los ntawm I2C npav. Nrog ESP32, koj tuaj yeem xaiv ob qho pins rau I2C. Ob lub cuab yeej yuav nyob ntawm tib lub npav, yog li SCL thiab SDA tus pin yuav zoo ib yam. Yog koj saib cov cai (kauj ruam tom ntej), koj yuav pom ob kab no.
ISE_pH pH (19, 23); uFire_EC mS (19, 23);
Kuv txiav txim siab siv tus pin 19 rau SDA thiab tus pin 23 rau SCL. Yog li Txuas ESP32's 3.3v (lossis xijpeem tus pin tuaj yeem hu rau ntawm koj lub rooj tshwj xeeb) mus rau EC uFire ntaus ntawv 3.3/5v tus pin, GND rau GND, 19 rau SDA, thiab 23 rau SCL. Tam sim no txuas lub uFire pH board rau EC board, tus pin rau tus pin. Tus pinout ntawm koj ESP32 yuav txawv ntawm daim duab.
Kauj Ruam 4: Ua IBM Watson Account
Mus rau IBM Watson IoT Platform lub vev xaib thiab nyem 'SIGN IN' hauv kaum sab xis saum toj. Nyem qhov txuas nyob ze hauv qab mus rau 'Tsim thiab IBMid'. Ua kom tiav cov txheej txheem sau npe thiab koj yuav kawg pom koj tus kheej ntawm qhov feem ntau tsis pom lub vev xaib. Nyob rau sab xis sab xis, koj yuav pom koj tus email chaw nyob, nyem rau nws thiab koj yuav pom tias nws hais tias koj tsis yog tus tswv cuab ntawm ib lub koom haum. Nyem 'Sau npe'.
Koj yuav pom koj tus kheej ntawm IBM Cloud Login nplooj ntawv. Nyem 'Nkag mus', thiab tom qab ntawv ntawm nplooj ntawv tom ntej, nyem 'SIGN UP'. Ua kom tiav daim ntawv thiab tom qab ntawd txheeb xyuas koj tus email. Lub taub hau rov qab mus rau nplooj ntawv no thiab teeb tsa 'Internet of Things Platform'.
Tam sim no lub taub hau mus rau thawj nplooj ntawv, ntawm no, nyem rau koj tus email chaw nyob, thiab koj yuav tsum pom ib lub koom haum hauv cov ntawv qhia hu ua 'Bluemix Free xxxxxx'. Nco tseg ntawm tus lej tus lej/ntawv ua ke. Koj yuav xav tau nws tom qab, nws yog koj lub koom haum ID.
Tam sim no koj tuaj yeem mus rau qhov txuas no, nyem 'Internet of Things Platform-vr. Ntawm nplooj ntawv tom ntej, koj yuav pom lub pob "Launch". Kuv yuav luam qhov txuas rau nkag tau sai dua lub sijhawm tom ntej, nws yuav yog qhov uas txhua yam ua tiav los ntawm no.
Kauj Ruam 5: Muab Cov Khoom Siv
- Koj yuav pom cov ntawv qhia zaub mov nyob rau sab laug ntawm qhov screen. Nyem rau ib qho uas zoo li microprocessor sau tias 'Devices'.
- Hauv nruab nrab sab saud ntawm lub vijtsam, koj yuav pom 'Xauj', 'Ua Haujlwm', thiab 'Ntaus Ntaus'. Xaiv 'Ntaus Ntaus', thiab tom qab ntawd '+ Ntxiv Ntaus Ntaus'.
- Ntawm qhov 'Add Device Type' screen, ua lub cuab yeej tshiab lub npe nws ESP32, nyem Next. Ua kom tiav cov ntaub ntawv ntxiv ntawm daim foos yog tias koj xav tau thiab tom qab ntawd nyem 'Ua tiav'. Ntawm qhov screen tom ntej, nyem 'Register Devices'
- Ntawm qhov 'Register Devices' screen, koj yuav tsum pom koj lub ntaus ntawv hom, ESP32, twb tau sau thiab dub kom nkag mus rau 'Device ID'. Kuv yuav hu kuv li '0001'. Nyem 'Tom ntej'. Tawm qhov kev lees paub token dawb paug thiab nyem 'Tom ntej' thiab tom qab ntawd 'Ua tiav'.
- Ntawm lub vijtsam hauv qab no, koj yuav tau txais koj ib qho thiab tsuas yog muaj lub sijhawm los theej 'Ntawv Pov Thawj Pov Thawj'. Luam nws thiab tseem ceeb ntawm 'Lub Koom Haum ID', 'Ntaus Tus ID' thiab 'Ntaus Ntaus'. Koj yuav xav tau nws rau qib tom ntej.
- Khaws nplooj ntawv qhib thiab mus rau theem tom ntej.
Kauj ruam 6: Sketch
Koj tuaj yeem tshawb xyuas qhov chaw ntawm no.
- Luam cov ntaub ntawv rau hauv qhov project Arduino.
-
Kho Watson.h
- Hloov ssid thiab password rau koj cov ntaub ntawv xov tooj ntawm tes WiFi.
- Hloov Organization_ID, Device_Type, Device_ID, thiab Authentication_Token rau cov ntaub ntawv koj tau txais los ntawm cov kauj ruam dhau los.
- Rub nws mus rau koj ESP32 thiab saib koj lub cuab yeej tshiab ntawm IBM Watson qhov chaw. Nyem rau lub cuab yeej thiab tom qab ntawd 'Xeev'. Nws yuav tsum tau qhia koj hloov kho qhov tseem ceeb. Yog tias nws tsis ua haujlwm, koj yuav pom qee cov ntaub ntawv muaj txiaj ntsig hauv qab 'Logs'.
Kauj Ruam 7: Saib Cov Ntaub Ntawv
- Ntawm IBM Watson IoT Platform nplooj ntawv, nyem rau sab saum toj kawg nkaus lub cim, ib qho nrog cuaj lub cim me me sau tias 'Boards'.
- Nyem '+ Tsim Pawg Thawj Coj Tshiab', hu nws txhua yam koj xav tau, nyem 'Tom ntej' thiab tom qab ntawd 'Ua tiav'.
-
Qhib pawg thawj coj tsim tshiab, tom qab ntawv nyem '+ Ntxiv Daim Npav Tshiab'.
- Kuv yuav ua kom pom qhov kub thiab txias siv hom Gauge chart.
- Ntawm nplooj ntawv tom ntej, xaiv peb lub cuab yeej thiab nyem 'Tom ntej'
- Nyem 'Txuas cov ntaub ntawv tshiab teeb tsa' ntawm nplooj ntawv tom ntej. Hauv lub thawv 'Txheej xwm', xaiv 'xwm txheej', tom qab ntawd hauv 'Cov Khoom', koj yuav tsum pom cov npe ntawm peb cov ntaub ntawv cov ntaub ntawv, xaiv 'C'. Hloov 'Hom' rau tus lej thiab 'Chav' rau 'C', tom qab ntawv 'Min' thiab 'Max' rau 0 thiab 85. Nyem 'Tom ntej'.
- Hloov qhov loj me rau 'S' lossis 'M' kom pom cov duab ntsuas. 'Tom ntej' thiab tom qab ntawd 'Xa'.
- Rov ua cov kauj ruam saum toj no rau lwm cov ntaub ntawv.
Pom zoo:
Tiv Tauj Tsawg thiab Corrosion Cov Dej Ntsuas Dej Ntsuas Tus Kheej thiab Kev Tswj Lub Cev: 5 Kauj Ruam
Tiv Tauj Tsawg thiab Corrosion Cov Dej Ntsuas Tsis Ntsuas thiab Kev Tswj Lub Cev: HI, Hauv cov lus qhia no peb yuav pom yuav ua li cas thiaj li tau txais cov xwm txheej ntawm Dej tank raws li qib dej (Siab, Nruab Nrab, Tsawg) ntawm lub taub hau taub hau siv peb xim sib txawv leds hauv Txoj kev tsis sib cuag nrog kev pab ntawm ultrasonic sensor thiab Arduino uno board.P
Ntsuas Kev Ntsuas Dej Hauv av rau Cov Chaw Pabcuam Qis: 4 Cov Kauj Ruam (nrog Duab)
Kev Ntsuas Kev Ntsuas Hauv Qab Hauv av rau Qhov Chaw Muaj Peev Xwm Muaj Tsawg: Taw Qhia Peb tau txais kev thov los ntawm Oxfam txhawm rau txhim kho txoj hauv kev yooj yim uas cov menyuam kawm ntawv hauv tebchaws Afghanistan tuaj yeem saib xyuas cov dej hauv av hauv qhov dej ze. Nplooj ntawv no tau muab txhais ua Dari los ntawm Dr. Amir Haidari thiab kev txhais lus tuaj yeem yog
Yuav ua li cas txhawm rau ntsuas lub ntsuas kub rau lub roj teeb ntev dua: 4 Cov Kauj Ruam
Yuav ua li cas txhawm rau ntsuas lub ntsuas kub rau lub roj teeb ntev dua: Inkbird IBS-TH1 yog lub cuab yeej zoo me me rau kev ntsuas kub thiab av noo ntau li ob peb teev lossis ib hnub. Nws tuaj yeem teeb tsa los teev cia txhua thib ob txog rau txhua 10 feeb, thiab nws tshaj tawm cov ntaub ntawv hla Bluetooth LE mus rau hauv xov tooj ntawd lossis iOS. Lub app
Kev Ntsuas Sijhawm Ntsuas (Pom, Suab thiab Kov): 9 Kauj Ruam (nrog Duab)
Kev Ntsuas Lub Sijhawm Tus Kheej (Pom Kev, Suab thiab Kov): Lub sijhawm tshuaj tiv thaiv yog ntsuas lub sijhawm uas tib neeg siv los txheeb xyuas qhov kev txhawb siab thiab tsim cov lus teb. Piv txwv li tus neeg ncaws pob lub suab hais tawm lub sijhawm yog lub sijhawm dhau los ntawm kev tua phom (uas pib kev sib tw) thiab nws lossis nws pib sib tw. Reactio… nyeem ntxiv
Ntsuas thiab Daim Duab Qhia Pollution Nrog Koj Lub Xov Tooj Ntawm Tes: 4 Kauj Ruam (nrog Duab)
Ntsuas thiab Daim Duab Qhia Pollution Nrog Koj Lub Xov Tooj: Nicolas Maisonneuve (Sony CSL Paris) Matthias Stevens (Vrije Universiteit Brussel / Sony CSL Paris) Luc Steels (Vrije Universiteit Brussel / Sony CSL Paris) Hauv qhov no " Qhia " koj yuav kawm paub yuav ua li cas koj tuaj yeem siv koj lub xov tooj ntawm tes uas muaj GPS