Cov txheej txheem:

Arduino Air Monitor Shield. Nyob hauv ib puag ncig nyab xeeb: 5 Kauj Ruam (nrog Duab)
Arduino Air Monitor Shield. Nyob hauv ib puag ncig nyab xeeb: 5 Kauj Ruam (nrog Duab)

Video: Arduino Air Monitor Shield. Nyob hauv ib puag ncig nyab xeeb: 5 Kauj Ruam (nrog Duab)

Video: Arduino Air Monitor Shield. Nyob hauv ib puag ncig nyab xeeb: 5 Kauj Ruam (nrog Duab)
Video: $600 NYIAJ PAB CA * $3600 CHILD TAX * BIDEN SPEECH * INDIA KAB MOB HNYAV * TOP NEWS+ 04/29/2021 2024, Hlis ntuj nqeg
Anonim
Arduino Air Monitor Shield. Nyob hauv Ib puag ncig nyab xeeb
Arduino Air Monitor Shield. Nyob hauv Ib puag ncig nyab xeeb
Arduino Air Monitor Shield. Nyob hauv Ib puag ncig nyab xeeb
Arduino Air Monitor Shield. Nyob hauv Ib puag ncig nyab xeeb

Nyob zoo, Hauv Cov Lus Qhia no Kuv yuav ua kom huab cua saib xyuas daim npog rau arduino. Qhov twg tuaj yeem nkag siab LPG los thiab CO2 kev mloog zoo hauv peb qhov chaw. Thiab tseem muaj lub suab nrov nrov tig rau LED thiab kiv cua tso thaum twg los tau pom LPG lossis qhov siab ntawm CO2 nce ntxiv. Raws li qhov no tau ua los ua haujlwm hauv tsev nws tsis xav tau raug, tab sis nws yuav tsum yog lub ntsiab lus me ntsis thiab yuav tsum haum rau peb daim ntawv thov. Raws li kuv tau siv qhov no los qhib lub kiv cua tso tawm thaum muaj ib qho LPG cov pa tawm lossis nce CO2 thiab lwm yam kev phom sij. Qhov no yog txhawm rau tiv thaiv cov neeg hauv tsev neeg noj qab haus huv thiab tiv thaiv kev phom sij uas tuaj yeem tshwm sim los ntawm kev xau roj LPG.let pib.

Kauj Ruam 1: Sau Qhov Chaw !!!!

Sau Qhov !!!!!!
Sau Qhov !!!!!!
Sau Qhov !!!!!!
Sau Qhov !!!!!!
Sau Qhov !!!!!!
Sau Qhov !!!!!!

Sau cov ntu no: Qhov tseem ceeb 1. Arduino Uno.2. 16x2 lcd zaub 3. MQ2.4. MQ135.5. RELAY 12v (ntsuas tam sim no raws li koj cov kiv cua tso tawm tshwj xeeb).6. 12 volts fais fab mov (rau relay module). Cov ntu 1. Txiv neej thiab poj niam headers.2. Dot PCB.3. Buzzer.4. LEDs.5. Resistors (R1 = 220, R2, R3 = 1k) 6. NPN transistor. (2n3904) 7. Lub thawv ntim khoom 8. qee cov xov hlau. 9. Dc jack.let's do !!!!!.

Kauj Ruam 2: Nkag Mus Rau Hauv MQ Gas Sensors

Sib sib zog nqus rau hauv MQ Gas Sensors
Sib sib zog nqus rau hauv MQ Gas Sensors
Sib sib zog nqus rau hauv MQ Gas Sensors
Sib sib zog nqus rau hauv MQ Gas Sensors
Sib sib zog nqus rau hauv MQ Gas Sensors
Sib sib zog nqus rau hauv MQ Gas Sensors

Cia peb paub txog MQ series cov pa roj carbon monoxide. MQ series cov pa ntsuas pa muaj 6 tus pin, uas 2 ntawm lawv yog cov tso cua sov thiab lwm yam 4 ntawm lawv yog cov pins sensor, uas nws tiv taus nyob ntawm qhov sib txawv ntawm cov nkev raws li lawv cov txheej txheej. Cov cua sov pins H1, H2 txuas nrog 5 volts thiab hauv av (Polarity tsis muaj teeb meem). Sensor pins A1, A2 thiab B1, B2 Siv ib qho twg yog A lossis B. (hauv ob qho tib si tau siv, nws tsis xav tau).connect A1 (lossis B1) mus rau 5 volts thiab A2 (lossis B2) rau RL (uas txuas nrog rau hauv av). A2 (lossis B2) yog cov khoom sib txuas uas yuav tsum tau txuas nrog cov lus sib piv ntawm Arduino. As kev tiv thaiv ntawm lub koob pins sib txawv nrog kev hloov pauv cov roj cua, qhov hluav taws xob hla RL hloov pauv uas yog cov lus sib piv rau arduino. By kev txheeb xyuas cov duab ntawm lub ntsuas hluav taws xob tau muab hauv cov ntawv peb tuaj yeem hloov qhov kev nyeem analog mus rau hauv cov pa. Cov ntsuas no yuav tsum tau ua kom sov li 24 teev txog 48 teev kom tau txais kev nyeem ntawv ruaj khov..cov saib cov ntaub ntawv no.https://www.google.co.in/url? sa = t & rct = j & q = & esrc = s & … https://raw.githubusercontent.com/SeeedDocument/Gr…MQ2: Raws li hauv cov txheej txheem saum toj no R6 yog RL rau MQ2.datasheet ntawm MQ2 qhia RL kom nyob nruab nrab ntawm 5K ohms thiab 47K ohms. LPG. Lwm lwm yam MQ cov cim uas nkag siab rau LPG tuaj yeem siv tau zoo li: MQ5 lossis MQ6. MQ135: Raws li cov lus hais saum toj no R4 yog RL rau MQ135.datasheet qhia RL kom nyob nruab nrab ntawm 10K ohms thiab 47K ohms. CO2 siab.

Kauj Ruam 3: Ua thiab Xeem

Ua thiab Lej
Ua thiab Lej
Ua thiab Lej
Ua thiab Lej
Ua thiab Lej
Ua thiab Lej

Tsim koj cov circuits raws li cov lus qhia hauv kuv cov kab hluav taws xob koj tuaj yeem pom cov qauv ntawm cov pa roj. Kuv hloov kho lawv cov phiaj xwm hluav taws xob mus rau saum toj schematic.leave lub ntsuas cua kom sov li 24 teev txog 48 teev raws li lub sijhawm ua ntej cua sov. thaum lub sijhawm ntawd los tshuaj xyuas kab ntawv ntawm MQ135 kom tau qhov sib npaug rau CO2. By los saib ntawm kab ntawv peb tuaj yeem hais tias kuv yog log-cav teeb. *cav (x)+nyob qhov twg, x yog ppm tus nqi y yog qhov piv ntawm Rs/Ro.m yog txoj kab nqes.c yog y cuam tshuam. Txhais "m" nqes hav: m = log (Y2) -log (Y1) / cav (X2-X1) m = log (Y2 / Y1) / log (X2 / X1) los ntawm kev noj cov ntsiab lus ntawm kab CO2 qhov nruab nrab txoj kab nqes ntawm kab yog -0.370955166. To nrhiav "c" Y-cuam tshuam: c = log (Y)- m*log (x) txiav txim siab m tus nqi hauv qhov kev ua zauv thiab coj X thiab Y qhov tseem ceeb los ntawm kab ntawv peb tau txais qhov nruab nrab c sib npaug rau 0.7597917824 = m * log (ppm) + clog (ppm) = [log (Rs / Ro) - c] / mppm = 10^{[log (Rs / Ro) - c] / m} Suav R0: peb paub tias, VRL = V*RL / RT. qhov twg, VRL yog qhov ntsuas hluav taws xob hla lub resistor RLV yog qhov siv hluav taws xob. RL yog tus tiv thaiv (saib daim duab). RT yog qhov tiv thaiv tag nrho hauv peb qhov teeb meem, VRL = qhov hluav taws xob hla RL = analog nyeem ntawv ntawm arduino*(5/1023). V = 5 voltsRT = Rs (xa cov ntaub ntawv kom paub txog Rs).+ RL.therefore, Rs = RT-RLfrom equation- VRL = V*RL/ RT. RT = V*RL/ VRL.and Rs = (V*RL/ VRL) -RLwe paub tias, qhov siab ntawm CO2 yog 400 ppm tam sim no hauv huab cua.so los ntawm kev siv cov cav sib npaug (Rs/Ro) = m * cav (ppm) + cwe tau Rs/Ro = 10^{[-0.370955166 * log (400)] + 0.7597917824} Rs/Ro = 0.6230805382.which muab Ro = Rs/0.623080532. siv tus lej "kom tau Ro" thiab tseem nco tus nqi ntawm V2 (hauv huab cua huv). thiab tseem nco tseg tus nqi ntawm R0. I programmed nyob rau hauv ib txoj kev uas Ro, V1 thiab V2 tau tshwm sim ob qho tib si ntawm cov saib thiab LCD. (Vim tias kuv tsis xav kom kuv lub PC nyob twj ywm kom txog thaum nyeem tau ruaj khov).

Kauj ruam 4: Txoj Cai ……

Txoj Cai ……
Txoj Cai ……
Txoj Cai ……
Txoj Cai ……
Txoj Cai ……
Txoj Cai ……
Txoj Cai ……
Txoj Cai ……

Nov yog qhov txuas mus rub cov lej los ntawm GitHub.https://github.com/ManojBR105/Arduino-Air-Monitor

Txoj haujlwm yog yooj yim heev thiab tuaj yeem nkag siab yooj yim. Hauv qhov chaws "to_get_R0". Kuv tau piav qhia MQ135 analog tso tawm raws li sensorValue. RS_CO2 yog RS ntawm MQ135 hauv 400 ppm CO2 uas yog qhov tam sim no concentration ntawm CO2 hauv Atmosphere. R0 yog xam siv cov mis muab los hauv cov kauj ruam dhau los.sensor1_volt yog kev hloov pauv ntawm anolog tso tawm ntawm MQ135 rau voltage.sensor2_volt yog kev hloov pauv ntawm analog tso tawm ntawm MQ2 rau hauv voltage.these tau tshwm sim ob qho tib si ntawm LCD thiab Serial monitor. In the code "AIR_MONITOR" Tom qab ntxiv lub tsev qiv ntawv LCD.we pib los ntawm kev txhais cov kev sib txuas ntawm buzzer, coj, MQ2, MQ135, Relay. Ntxiv hauv teeb tsa, peb txiav txim siab seb cov khoom sib txuas puas tau nkag los lossis tso tawm thiab tseem muaj cov xeev (piv txwv li, siab lossis qis). Huab Cua Saib Xyuas "rau 750 milli vib nas this nrog lub suab nrov ntawm lub suab nrov thiab LED. Then peb teeb tsa txhua lub xeev tso tawm kom qis. Hauv lub voj Peb xub txheeb xyuas txhua nqe lus uas peb siv hauv cov lej rau kev suav uas kuv tau hais hauv cov kauj ruam dhau los. Tom qab ntawd peb siv cov qauv no kom tau txais cov ntsiab lus CO2 hauv ppm. Txhais koj tus nqi R0 hauv ntu no. (Uas kuv tau hais kom sau tseg) nqis thaum siv cov cai dhau los). tom qab ntawd peb tso saib qhov siab ntawm CO2 hauv LCD. siv "yog" ua haujlwm peb siv qhov pib txwv rau ppm tus nqi uas kuv tau siv li 600 ppm. thiab tseem rau MQ2 qhov hluav taws xob peb siv "yog" ua haujlwm los teeb tsa lub hnub nyoog txwv rau nws.we ua lub suab nrov, coj, txuas mus kom siab rau 2 vib nas this thaum yog tias kev ua haujlwm txaus siab ad kuj tseem ua rau LCD los tso saib LPG raws li pom thaum MQ2 qhov hluav taws xob siab dua qhov pib txwv. Txheeb xyuas koj qhov txwv txwv rau MQ2 qhov hluav taws xob uas koj tau sau tseg thaum lub sijhawm dhau los ua tus lej V2. teeb tsa cov zis siab rau 2 vib nas this hauv qhov yog tias ua haujlwm nws yog qhov zoo siv lub sijhawm yooj yim. Yog leej twg tuaj yeem hloov kho ncua mus rau timer hauv tus lej, koj ib txwm zoo siab tos txais thiab qhia rau kuv paub tias hauv kab lus tawm tswv yim.

Kauj ruam 5: Nws Ua Haujlwm !!!!!!

Image
Image

Nov yog daim vis dis aus los qhia tias nws ua haujlwm.

thov txim kuv tsis tuaj yeem qhia qhov txuas ntxiv hauv video.

koj tuaj yeem pom tias Kev Nyuaj Siab ntawm CO2 nce siab ntxiv vim tias cov pa tso tawm los ntawm qhov sib zog tseem ua rau MQ135 uas nkag siab rau lwm cov roj kuj tseem tab sis tsis txhob txhawj nws yuav rov zoo li qub tom qab ob peb feeb.

Pom zoo: