Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Ntxiv Koj Cov Ntaus rau LoggingPlatform
- Kauj Ruam 2: Kev Kho Vajtse Txuas
- Kauj Ruam 3: Upload Software Xav Tau Rau Ntaus Ntawv (Windows Qhia)
- Kauj Ruam 4: Txheeb Cov Ntaub Ntawv ntawm Txawb lossis Duab
Video: Arduino thiab SIM900 GSM GPRS 3G Kub thiab Vaum Logging, Txawb Stats: 4 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Nrog Arduino UNO R3, SIM900 Shield THIAB DHT22 koj tuaj yeem teev cov ntaub ntawv kub thiab av noo sab nraum, hauv chav, tsev cog khoom, chav kuaj, chav txias lossis lwm qhov chaw pub dawb. Qhov piv txwv no peb yuav siv los ntsuas chav sov thiab av noo.
Cov cuab yeej yuav txuas nrog internet ntawm GPRS 2G, yog li tuaj yeem siv tau txawm tias tsis muaj Router tam sim no lossis txuas internet txuas. Zoo tshaj rau cov teb, vaj txiv hmab lossis cov chaw zoo sib xws yam tsis muaj kev txuas internet txuas.
Koj yuav tuaj yeem tshawb xyuas qhov kev nyeem tshiab kawg ntawm koj lub xov tooj ntawm tes, desktop lossis lwm yam khoom siv nrog browser.
Khoom siv
Koj tuaj yeem yuav cov cuab yeej xav tau ntawm no (tsawg kawg xav tau):
Arduino UNO R3
SIM900 Shield rau Arduino UNO
USB them nyiaj rau Fais fab koj lub cuab yeej - tam sim no qhov no xav tau rau GSM module usb tsis muaj lub zog txaus
micro USB cable
DHT22 module nrog cable
SIM Card nrog tus PIN xiam oob qhab thiab qee cov phiaj xwm phiaj xwm
LED Diode rau xwm txheej
Kuj zoo kom muaj:
Jumper xov hlau
Kev sim ua haujlwm rau Arduino
Waterproof thaiv
Jack hloov rau lub zog
Qhov no kuj sim/ua haujlwm nrog kev lag luam AM2305
Kauj Ruam 1: Ntxiv Koj Cov Ntaus rau LoggingPlatform
Ntawm no koj tuaj yeem ntxiv koj lub cuab yeej kom tau txais cov yuam sij api xav tau tom qab:
Kauj Ruam 2: Kev Kho Vajtse Txuas
Ntxig SIM rau hauv GSM module Shield Txuas Shield rau Arduino
Txuas lub hwj chim adapter thiab USB rau PC
Txuas DHT22 Tawm rau GSM daim thaiv PIN 10
Txuas DHT22 + rau GSM daim thaiv 3V
Txuas DHT22 - rau GSM ntaub thaiv npog GND
Txuas LED yog tias koj xav tau qhov xwm txheej qhia, tsis xav tau
Daim duab piv txwv ntawm daim duab
Kauj Ruam 3: Upload Software Xav Tau Rau Ntaus Ntawv (Windows Qhia)
Rub tawm thiab teeb tsa Arduino IDE: https://www.arduino.cc/en/main/software Txuas lub cuab yeej rau USB ntawm koj lub PC Windows, thiab teeb tsa cov tsav tsheb yog xav tau
Khiav Arduino IDE
Xaiv COM chaw nres nkoj (qhov no feem ntau yog tus lej loj dua yog tias koj tsis muaj lwm yam khoom siv txuas nrog), duab 1
Xaiv Pawg hom, duab 2
Rub tawm thiab qhib qhov chaws: Koj yuav tsum muaj cov tsev qiv ntawv:
SoftwareSerial.h - qhov no feem ntau suav nrog hauv Arduino IDE
thiab
DHT.h-koj tuaj yeem rub tawm ntawm no thiab luam tawm rau koj lub tsev qiv ntawv arduino zoo li: C: / arduino-1.6.8 / tsev qiv ntawv
SIM 900 tus lej rau kev nkag tau muaj nyob ntawm no
Qhib daim npav SIM900 no nrog Arduino IDE:
Hloov qhov ntsuas no raws li ntawm daim duab 3
APN koj tuaj yeem tau txais los ntawm koj tus kws muab daim npav SIM
Thiab lwm yam los ntawm loggingforest platform: https://loggingforest.com/index.php/page/pricing, duab 3
Qee cov ntawv ceeb toom: Cov tsev qiv ntawv txheem rau SIM900 tsis ua haujlwm zoo rau kev rov ua haujlwm zoo li kev nkag mus, yog li peb sib txuas lus ncaj qha nrog cov lej SIM900 AT Commands
Yog tias koj siv cov ntaub thaiv npog sib txawv tej zaum koj yuav tsum txhais qhov sib txawv RX, TX pins hauv cov cai
Thaum siv (tsis debugging lossis kuaj) koj yuav tsum lov tes taw DEBUG_EN, hloov ntawm qhov tseeb mus rau cuav
Txog kev xaiv tus kheej network nrog SIM900, yog tias koj nyob ntawm ciam teb teb chaws, koj tuaj yeem tsis pom zoo cov kab no thiab txhais cov cai network muab hauv cov lej, zoo li daim duab 4
network code zoo li 21910 rau A1 tuaj yeem pom hauv kab COPS, duab 5
Yog tias koj cov cai nyob ntawm TEST AT, txhais tau tias koj lub zog hloov pauv tsis muab lub zog txaus rau SIM900, zoo tshaj yog siv 5V 2A lossis 9V 1A. Qee tus neeg muab khoom sim yuav xav tau USER thiab PWD rau kev sib txuas apn, koj tseem tuaj yeem txhais hauv tus lej.
Tom qab ntawd koj lub cuab yeej yuav pib xa cov ntaub ntawv mus rau kev txiav ntoo thiab koj tuaj yeem pom nws nyob ntawd
Kauj Ruam 4: Txheeb Cov Ntaub Ntawv ntawm Txawb lossis Duab
Tom qab ntawd koj lub cuab yeej yuav pib xa cov ntaub ntawv mus rau kev txiav ntoo thiab koj tuaj yeem pom nws nyob ntawd Hauv kev txiav ntoo txiav ntoo hloov kho tsuas yog txhais lub npe tsis raug thiab qhov txiaj ntsig zoo li duab 1
Nyem rau saib ua ntej, duab 2
Thiab koj yuav pom cov ntaub ntawv zoo, duab 3
Xav tias dawb los tawm tswv yim thiab qhia koj cov logger
Pom zoo:
NodeMCU Lua Pheej Yig 6 $ Board nrog MicroPython Kub thiab Vaum Logging, Wifi thiab Txawb Stats: 4 Cov Kauj Ruam
NodeMCU Lua Pheej Yig 6 $ Board nrog MicroPython Kub thiab Vaum Logging, Wifi thiab Txawb Stats: Qhov no yog huab cua huab cua chaw nres tsheb, koj tuaj yeem tshawb xyuas cov ntaub ntawv ntawm koj lub xov tooj lossis siv qee lub xov tooj raws li cov duab nyob nrog NodeMCU ntaus ntawv koj tuaj yeem teev cov ntsuas kub thiab cov av noo sab nraum. , hauv chav, tsev cog khoom, lab, chav txias lossis lwm qhov chaw ua tiav
MicroPython ntawm Pheej Yig $ 3 ESP8266 WeMos D1 Mini rau 2x Kub Kub Logging, Wifi thiab Txawb Stats: 4 Cov Kauj Ruam
MicroPython ntawm Pheej Yig $ 3 ESP8266 WeMos D1 Mini rau 2x Kub Logging, Wifi thiab Txawb Xov Xwm Stats: Nrog me me pheej yig ESP8266 nti / ntaus ntawv koj tuaj yeem teev cov ntaub ntawv kub sab nraum, hauv chav, tsev cog khoom, lab, chav txias lossis lwm qhov chaw dawb kiag li. Qhov piv txwv no peb yuav siv los ntsuas cua txias hauv chav sov, sab hauv thiab sab nraum.Device yuav ua kom zoo
Arduino Ethernet DHT11 Kev ntsuas kub thiab vaum, Txawb xov xwm Stats: 4 Cov Kauj Ruam
Arduino Ethernet DHT11 Kev ntsuas kub thiab av noo, Txawb Xov Xwm: Nrog Arduino UNO R3, Ethernet Shield THIAB DHT11 koj tuaj yeem teev cov ntsuas kub thiab cov av noo sab nraum, hauv chav, tsev cog khoom, lab, chav txias lossis lwm qhov chaw dawb kiag li. Qhov piv txwv no peb yuav siv los ntsuas chav sov thiab av noo. Ntaus
Yuav Ua Li Cas Txawb Txawb Txawb Txawb Tsheb Ntawm Bluetooth: 4 Cov Kauj Ruam
Yuav Ua Li Cas Txawb Txawb Chaw Taws Teeb Tsheb Ntawm Bluetooth: Yuav Ua Li Cas Txawb Txawb Txawb Tsheb ntawm Bluetooth | Indian LifeHacker
Yuav Ua Li Cas Siv DHT11 Kub Sensor Nrog Arduino thiab Luam Kub Kub thiab Vaum: 5 Kauj Ruam
Yuav Ua Li Cas Siv DHT11 Kub Sensor Nrog Arduino thiab Luam Kub Kub thiab Vaum: Lub DHT11 sensor tau siv los ntsuas kub thiab av noo. Lawv yog cov khoom siv hluav taws xob nrov tshaj plaws.Qhov DHT11 cov av noo thiab ntsuas kub ua rau nws yooj yim ntxiv cov av noo thiab ntsuas kub rau koj li DIY cov phiaj xwm hluav taws xob. Nws yog rau