Cov txheej txheem:

Xa Sms Yog Pom Pom Pom Cov Pa (Arduino+GSM SIM900A: 5 Kauj Ruam)
Xa Sms Yog Pom Pom Pom Cov Pa (Arduino+GSM SIM900A: 5 Kauj Ruam)

Video: Xa Sms Yog Pom Pom Pom Cov Pa (Arduino+GSM SIM900A: 5 Kauj Ruam)

Video: Xa Sms Yog Pom Pom Pom Cov Pa (Arduino+GSM SIM900A: 5 Kauj Ruam)
Video: ua zoo poob peev los lawm nkauj xis xyooj (cover) 2024, Lub Xya hli ntuj
Anonim
Xa Sms Yog Pom Pom Pom Cov Pa (Arduino+GSM SIM900A
Xa Sms Yog Pom Pom Pom Cov Pa (Arduino+GSM SIM900A

Nyob zoo sawv daws!

Hauv kuv thawj qhov kev qhia kuv yuav ua lub tswb roj uas xa xov mus rau tus neeg siv yog tias pom muaj kuab paug. Qhov no yuav yog tus qauv yooj yim siv Arduino, GSM module thiab cov pa hluav taws xob ntsuas hluav taws xob. Yav tom ntej qhov no tuaj yeem txuas ntxiv los tsim lub vev xaib dashboard txhawm rau txheeb xyuas cov neeg ua txhaum cai.

Kauj Ruam 1: Cov Ntaub Ntawv Yuav Tsum Tau

(1) Arduino Uno board (lossis ib qho Arduino board)

(2) GSM ntaub thaiv npog (Tus kheej pom zoo GSM SIM900A).

(3) Jumper Cables

(4) 10 K resistor

(5) Cov ntawv ci

(6) MQ 135 roj sensor

Kauj Ruam 2: Ua Kev Sib Txuas (GSM QAUV rau ARDUINO)

Ua ntej tshaj plaws txuas TX ntawm GSM module rau tus pin #2 ntawm Arduino thiab RX rau tus pin #3. Ua thaj av ntawm ob qho khoom siv sib xws. Thiab tsis txhob hnov qab muab lub zog GSM thaiv nrog 12V lub zog sab nraud thaum khiav koj lub cuab yeej.

Kauj Ruam 3: Ua Kev Sib Txuas (ntawm Sensor thiab Arduino)

Ua Kev Sib Txuas (ntawm Sensor thiab Arduino)
Ua Kev Sib Txuas (ntawm Sensor thiab Arduino)

Ua kev sib txuas raws li tau hais hauv daim duab thiab SIB THAM SIDE OF SENSOR NROG "MQ135" Sau li TOP.

Thiab A0 raws li tus lej sib piv (lossis koj yuav tsum hloov txoj cai).

Kauj Ruam 4: Sijhawm Xeem

Ua ntej tshaj plaws peb yuav ua raws txoj cai txuas ntxiv kom peb tuaj yeem pom nyeem ntawv ntawm qhov ntsuas ib puag ncig thiab ib puag ncig muaj kuab paug ntawm cov saib xyuas.

Nco tseg qhov tseem ceeb hauv ob qho xwm txheej no. (Peb tuaj yeem ua rau ib puag ncig "ua paug" los ntawm teeb taws xyab lossis hlawv ntawv)

Kauj Ruam 5: Xeem Kawg

Siv cov txiaj ntsig sau tseg los kho qhov chaws kawg uas txuas nrog thiab hloov tus lej xov tooj ntawm tes hauv tus lej thiab nyem qhov chaws rau Arduino.

Qhib serial saib thiab tos.

Serial monitor yuav qhia "xwm txheej OK" thiab tsis ntev yuav xa sms rau lub xov tooj ntawm tes.

Cov vis dis aus yuav tshaj tawm sai sai no.

Pom zoo: