Cov txheej txheem:
- Kauj Ruam 1: Daim Ntawv Teev Npe
- Kauj ruam 2: Kev thaiv kab
- Kauj ruam 3: Flowchart
- Kauj ruam 4: Code
- Kauj Ruam 5: Node-RED
- Kauj Ruam 6: MySQL Wampserver
Video: UCL - IIoT - Cov ntaub ntawv noo noo: 6 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Cov lus qhia no, yuav muab cov lus qhia rau koj ntawm cov dej noo los ntawm cov av, uas yuav tuaj yeem pom ntawm UI nrog rau ntawm qhov liab-ntxiv, ntxiv mus yuav khaws cov ntaub ntawv thiab muab tso rau hauv MySQL database, qhov no tuaj yeem pab koj kawm paub cov qauv dej rau koj cov nroj tsuag, kawm thaum lawv xav tau dej.
Kauj Ruam 1: Daim Ntawv Teev Npe
1 x Arduino Mega 2560
1 x USB cable
1 x I2C LCD npo
1 x Cov av noo noo sensor
Hlau
Kauj ruam 2: Kev thaiv kab
LCD I2C zaub
GND> GND ntawm arduino
VCC> 5V ntawm arduino
SDA> SDA ntawm arduino
SCL> SCL ntawm arduino
Hws noo sensor
GND> GND ntawm arduino
VCC> 5V ntawm arduino
Teeb liab> A0 ntawm arduino
Kauj ruam 3: Flowchart
Daim duab qhia chaw no nthuav tawm qhov peb ua nrog cov ntaub ntawv los ntawm peb cov arduino, txhua yam pib nrog sau peb cov ntaub ntawv los ntawm peb cov arduino uas tom qab ntawd tau xa mus rau MySQL server, los ntawm qhov uas peb txuas nrog nodeRED kom tau txais cov ntaub ntawv qhia hauv cov zaub.
Kauj ruam 4: Code
Cov cai rau Arduino tuaj yeem pom ntawm no, thiab nws kuj tseem yog ua cov ntawv sau kom yooj yim rub tawm thiab siv hauv Arduino IDE yog li koj tuaj yeem xa nws mus rau koj tus kheej Arduino thiab pom tias cov cai tau teeb tsa li cas.
Kauj Ruam 5: Node-RED
node-liab tau siv hauv txoj haujlwm no kom xa thiab txais cov ntaub ntawv, uas peb tuaj yeem pom tom qab ntawm lub dashboard kom pom cov ntaub ntawv uas peb muab tso rau hauv. los ntawm peb cov ntsuas dej noo ntawm peb Arduino. Nov yog qhov peb xa cov ntaub ntawv mus rau peb MySQL, thiab tseem yuav ua li cas peb sau nws rau peb UI, los ntawm kev khaws nws los ntawm peb cov database.
Koj yuav tsum tau khiav thiab teeb tsa node-liab los ntawm https://nodered.org/docs/getting-started/installat… thiab ua raws li phau ntawv qhia yuav ua li cas rau nruab thiab khiav node-liab.
Thaum nws tau teeb tsa koj yuav tsum tau khiav nws los ntawm CMD kom nws mus.
Cov cai los ntawm kuv qhov liab-liab tau muab xa ua cov ntawv hauv cov lus qhia no thiab yuav tsum tau xa mus rau hauv-liab
Koj yuav tsum tau teeb tsa cov tsev qiv ntawv hauv qab no rau hauv node-liab:
node-liab
ntawm-liab-dashboard
node-liab-node-mysql
ntawm-liab-node-arduino
node-red-contrib-string
ntawm-liab-node-serialport
ntawm-liab-node-feedparser
qhov no yog los xyuas kom meej tias node-liab yuav ua haujlwm nrog cov lej-liab code uas tau muab hauv cov lus qhia no. Txwv tsis pub qhov ntws no tsuas yog ua rau koj yuam kev.
Kauj Ruam 6: MySQL Wampserver
Wampserver tau siv los tsim MySQL database, uas peb tuaj yeem txuag cov ntaub ntawv los ntawm peb Arduino, uas hauv txoj haujlwm no yog cov ntaub ntawv ntsuas cov dej noo. Thaum siv Wampserver tus neeg rau zaub mov khiav hauv zos ntawm koj lub khoos phis tawj, thiab txhawm rau kos npe rau hauv koj lub database koj yuav tsum tau kos npe nrog "hauv paus" thiab tsis nkag rau tus lej. Txhawm rau sib tham nrog node-liab nws qhov tseem ceeb uas MySQL teeb tsa hauv qhov ntws muaj cov ntaub ntawv ib yam li koj li Wampserver database, txwv tsis pub nws tsis tuaj yeem txuas rau nws.
Hauv qhov haujlwm no kuv tau tsim cov ntaub ntawv tshiab hu ua nodered thiab tom qab ntawd tsim lub rooj hu ua node. Tom qab ntawd koj yuav tsim ob kab, ib qho rau lub sijhawm thiab ib qho rau cov dej noo, qhov no yuav pab sau cov ntaub ntawv ya raws los ntawm lub ntsuas cua, thiab lub sij hawm muab los ntawm node-liab hauv qhov no.
Wampserver tuaj yeem teeb tsa ntawm no:
Pom zoo:
Ua Pi Zero Dashcam (pt. 3): Kev Tswj Ntaub Ntawv & Kev Txhim Kho: 3 Kauj Ruam
Ua Pi Zero Dashcam (pt. 3): Kev Tswj Ntaub Ntawv & Txhim Kho: Peb txuas ntxiv nrog Pi Zero dashcam project thiab hauv cov ntawv no, peb saib xyuas kev tswj hwm cov ntaub ntawv thaum tseem ntxiv qee qhov kev txhim kho hauv cov txheej txheem. Txoj haujlwm no yuav luag tiav thiab peb yuav ua qhov kev xeem txoj kev hauv lub lim tiam tom ntej tshaj tawm/vis dis aus
Tsev Kawm Ntawv Nroog Tsev Kawm Ntawv Chaw Nres Tsheb Daim Ntawv Qhia: 7 Kauj Ruam (nrog Duab)
University Campus Student Parking Map: Ntau tus tub ntxhais kawm xav paub tias lawv tuaj yeem nres tsheb hauv lub tsev kawm ntawv qib siab li cas. Txhawm rau daws qhov teeb meem no, Kuv tsim daim duab qhia chaw nres tsheb ntawm thaj chaw tseem ceeb ntawm Utah State University lub tsev kawm ntawv. Daim duab qhia chaw yog rau cov tub ntxhais kawm kom nrawm nrawm saib seb qhov chaw nres tsheb twg yog
YUAV UA LI CAS UA SMART USB LED NTAUB NTAWV: 9 Kauj Ruam
YUAV UA LI CAS UA SMART USB LED NTAWV: Nyob zoo phooj ywg, Cov ntse LED no koj tuaj yeem siv nrog USB. nws muaj txiaj ntsig zoo Cia peb pib
HAUJ LWM HAUV TSEV KAWM NTAWV NTAWV TSEV KAWM NTAWV MARKUP LANGUAGE (AIML) VIA NOTEPAD: 8 Kauj Ruam
HAUJ LWM HAUV TSEV KAWM NTAWV HAUV TSEV KAWM NTAWV MARKUP LANGUAGE (AIML) VIA NOTEPAD: Artificial Intelligence Markup Language (AIML) yog hom lus programming uas yog Extensible Markup Language (XML) kev qhia siv los ntawm chatbot, verbot, pandorabot, superbot, thiab lwm yam neeg tham. Nws tau tsim los ntawm Dr. Richard Wallace thiab € € ¦
DDR Dance Pad / Ntaub Ntaub Ntaub Ntoo: 5 Kauj Ruam
DDR Dance Pad / Carpet in Wood: Yuav ua li cas thiaj ua tau zoo ddr ncoo nrog qee cov ntoo, ntawv ci tooj liab, pleev xim thiab tuag USB ncoo / keyboard