Cov txheej txheem:
- Kauj Ruam 1: Siv Software:
- Kauj Ruam 2: Cov Khoom Siv:
- Kauj Ruam 3: Daim Duab Circuit:
- Kauj ruam 4: Code:
- Kauj ruam 5: Yees duab:
Video: Arduino Xa Cov Ntaub Ntawv Kub thiab Vaum rau MySQL Server (PHPMYADMIN): 5 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Hauv Txoj Haujlwm no Kuv tau cuam tshuam DHT11 nrog arduino thiab tom qab ntawd kuv xa cov ntaub ntawv ntawm dht11 uas yog cov av noo thiab kub mus rau phpmyadmin database. Ntawm no peb tab tom siv ib tsab ntawv PHP los thawb cov ntaub ntawv mus rau phpmyadmin database.
Kauj Ruam 1: Siv Software:
Nov yog cov software peb tau siv rau txoj haujlwm no:
1. Arduino IDE: Koj tuaj yeem rub tawm qhov tseeb Arduino IDE los ntawm qhov txuas no:
2. Kev teeb tsa XAMPP server: Ntawm no peb siv XAMPP server nws tuaj yeem siv tau ob qho tib si hauv lub qhov rais thiab Linux, tab sis kuv qhov lus pom yog tias yog koj nyob hauv Ubuntu (Txhua lub platform Linux) tom qab ntawd mus nrog LAMP. Tam sim no txij li peb nyob hauv windows yog li peb tau nyiam XAMPP server. Yog li koj tuaj yeem rub tawm XAMPP server los ntawm qhov txuas no.
Xwb ntawm no yog cov kauj ruam rau LAMP server:
1. Nruab Apachesudo apt-tau nruab apache2
2. Nruab MySQL:
sudo apt-tau nruab mysql-server
3. Nruab PHP:
sudo apt-tau nruab php5 libapache2-mod-php5
4. Restart Server:
sudo /etc/init.d/apache2 rov pib dua
5. Txheeb xyuas Apache https:// localhost/
koj yuav tau txais ib nplooj ntawv apache los ntawm nyem qhov txuas saum toj no yog tias koj tsis tau txais nws txhais tau tias muaj qee yam tsis raug nrog koj teeb tsa
Ntawm no peb tab tom siv PHPMYADMIN uas yog lub vev xaib sib tham ntawm MySQL server yog li txhawm rau txhim kho qhov kev siv hais kom ua:
sudo apt-tau nruab phpmyadmin
Kauj Ruam 2: Cov Khoom Siv:
1) Arduino UNO: Arduino/Genuino Uno yog lub microcontroller board raws li ATmega328P (cov ntawv). Nws muaj 14 digital input/output pins (ntawm uas 6 tuaj yeem siv ua PWM tawm), 6 analog inputs, 16 MHz quartz siv lead ua, txuas USB, txuas lub hwj chim, ICSP header thiab khawm rov pib dua.
2) Ethernet Shield: Arduino Ethernet Shield 2 txuas koj Arduino rau hauv internet hauv feeb xwb. Tsuas yog ntsaws qhov qauv no rau koj Arduino Board, txuas nws rau koj lub network nrog RJ45 cable thiab ua raws ob peb kauj ruam yooj yim kom pib tswj hwm koj lub ntiaj teb los ntawm internet. Raws li ib txwm nrog Arduino, txhua lub hauv paus ntawm lub platform-kho vajtse, software thiab ntaub ntawv-yog muaj pub dawb thiab qhib-qhov chaw. Qhov no txhais tau tias koj tuaj yeem kawm raws nraim li nws tau tsim thiab siv nws cov qauv tsim los ua qhov pib rau koj tus kheej kev sib tw. Ntau pua txhiab tus Arduino Boards twb tau txhawb nqa tib neeg txoj kev muaj tswv yim thoob plaws ntiaj teb, txhua hnub.
3) DHT11 sensor: Qhov DHT11 Kub thiab Vaum Sensor nta qhov ntsuas ntsuas cov teeb liab tso tawm nrog qhov ntsuas kub thiab av noo lub peev xwm. Nws tau koom ua ke nrog kev ua haujlwm siab 8-ntsis microcontroller. Nws cov cuab yeej siv ua kom ntseeg tau zoo thiab ruaj khov mus sij hawm ntev zoo. Qhov ntsuas no suav nrog lub hauv paus tiv thaiv thiab lub ntsuas rau ntub NTC ntsuas cov ntsuas kub. Nws muaj qhov ua tau zoo tshaj plaws, teb tau sai, muaj peev xwm tiv thaiv kev cuam tshuam thiab ua haujlwm tau zoo.
Kauj Ruam 3: Daim Duab Circuit:
Circuit Diagram ntawm qhov haujlwm no tau muab rau saum toj no.
Koj yuav tsum txuas Ethernet ntaub thaiv npog ua ntej raws li qhia hauv daim duab saum toj no koj yuav tsum ua kom DHT11 txuas
Kauj ruam 4: Code:
Koj tuaj yeem tau txais qhov chaws ntawm txoj haujlwm no los ntawm peb nplooj ntawv github. Nov yog github txuas rau qhov ntawd
Kauj ruam 5: Yees duab:
Kev piav qhia tag nrho Txoj Haujlwm tau muab rau hauv cov vis dis aus saum toj no
Yog tias koj muaj kev tsis ntseeg txog txoj haujlwm no thov tawm lus rau peb hauv qab no.
Thiab yog tias koj xav kawm paub ntau ntxiv txog kev teeb tsa kab ke koj tuaj yeem mus ntsib peb tus youtube channel
Thov mus saib thiab nyiam peb Facebook nplooj ntawv rau hloov tshiab tas li.
Ua tsaug & Ua tsaug, Embedotronics yees
Pom zoo:
Ua Cov Phiaj Xwm Zoo Los Ntawm Cov Ntaub Ntawv Nyob Arduino (thiab Txuag Cov Ntaub Ntawv rau Excel): 3 Cov Kauj Ruam
Ua Cov Phiaj Xwm Zoo Los Ntawm Cov Ntaub Ntawv Nyob Arduino (thiab Txuag Cov Ntaub Ntawv rau Excel): Peb txhua tus nyiam ua si nrog peb tus lej L … cov ntsiab lus tau ntxiv thiab nws tsis tshwj xeeb rau lub qhov muag. Arduino IDE cov phiaj xwm tsis
Yuav Ua Li Cas Vaum Thiab Kub Tiag Tiag Cov Ntaub Ntawv Teev Npe Nrog Arduino UNO thiab SD-Card - DHT11 Cov ntaub ntawv-logger Simulation hauv Proteus: 5 Cov Kauj Ruam
Yuav Ua Li Cas Vaum Thiab Kub Tiag Tiag Cov Ntaub Ntawv Teev Npe Nrog Arduino UNO thiab SD-Card | DHT11 Cov ntaub ntawv-logger Simulation hauv Proteus: Taw qhia: nyob zoo, qhov no yog Liono Maker, ntawm no yog YouTube txuas. Peb tab tom tsim txoj haujlwm muaj tswv yim nrog Arduino thiab ua haujlwm ntawm cov kab ke. Cov ntaub ntawv-Logger: Cov ntaub ntawv logger (tseem cov ntaub ntawv-logger lossis cov ntaub ntawv kaw) yog cov cuab yeej siv hluav taws xob uas sau cov ntaub ntawv dhau sijhawm
Xa IoT Long Range Wireless Kub thiab Vaum Sensor Cov Ntaub Ntawv rau Google Ntawv: 39 Cov Kauj Ruam
Xa IoT Long Range Wireless Kub thiab Vaum Sensor Cov Ntaub Ntawv rau Google Daim Ntawv: Peb tab tom siv NCD Qhov Kub thiab Vaum qhov ntsuas, tab sis cov kauj ruam nyob sib npaug rau ib qho ntawm cov khoom ncd, yog li yog tias koj muaj lwm yam ncd wireless sensors, muaj kev saib xyuas dawb ib sab ntxiv. Los ntawm kev nres ntawm cov ntawv no, koj yuav tsum
Xa-Cov Ntaub Ntawv-ntawm-IOT-Wireless-Kub-thiab-Vaum-Sensor-rau-MySQL: 41 Cov Kauj Ruam
Xa-Cov Ntaub Ntawv-ntawm-IOT-Wireless-Kub-thiab-Vaum-Sensor-rau-MySQL: Qhia NCD Qhov Ntev Ntev IoT Kub thiab Vaum Sensor. Kev khav theeb txog li 28 mais, thiab kev sib txuas wireless network sib txuas, qhov ntsuas no xa cov av noo (± 1.7%) thiab kub (± 0.3 ° C) cov ntaub ntawv ntawm tus neeg siv txhais ua ntu zus, tsaug zog
Kub thiab Vaum Zaub thiab Sau Cov Ntaub Ntawv Nrog Arduino thiab Ua: 13 Kauj Ruam (nrog Duab)
Kub thiab Vaum Zaub thiab Sau Cov Ntaub Ntawv Nrog Arduino thiab Ua: Intro: Qhov no yog Txoj Haujlwm uas siv Arduino board, Sensor (DHT11), lub khoos phis tawj Windows thiab Kev Ua Haujlwm (rub tawm dawb) program los tso saib Kub, Cov ntaub ntawv vaum hauv digital thiab bar kab ntawv, tso tawm lub sijhawm thiab hnub tim thiab suav lub sijhawm suav