Cov txheej txheem:

Arduino Gas Sensor: 5 Kauj Ruam
Arduino Gas Sensor: 5 Kauj Ruam

Video: Arduino Gas Sensor: 5 Kauj Ruam

Video: Arduino Gas Sensor: 5 Kauj Ruam
Video: How to make Smoke and GAS Leakage Detector using Arduino | Gas sensor MQ-5 interface with Arduino 2024, Hlis ntuj nqeg
Anonim
Arduino Roj Sensor
Arduino Roj Sensor

Lub ntsuas roj no yuav tso cai rau tus neeg siv ntsuas cov roj xws li cov pa roj carbon monoxide thiab methane nrog rau cov pa taws thiab ua raws li lub tshuab nqus pa.

Kauj Ruam 1: Tau Txais Cov Khoom

Tau Txais Cov Khoom
Tau Txais Cov Khoom
Tau Qhov Chaw
Tau Qhov Chaw
Tau Txais Cov Khoom
Tau Txais Cov Khoom

Roj Sensor Breakout Board * 4

MQ-7 cov pa roj carbon monoxide, MQ-4 methane, MQ-3 cawv, MQ-6 LPG (cov kua roj liquefied)

Dhia Hlau

RGB LED Common Anode * 1

10k Ohm Resistors * 4, 100 Ohm Resistors * 2, 220 Ohm Resistors * 1

Pawg Mov Ci rau Kev Xeem

Arduino Ib

USB a rau B Cable

LCD Screen

Fais Fab Khoom rau Arduino Uno

Kauj Ruam 2: Npaj Tawm Pawg Thawj Coj

Breakout Board Npaj
Breakout Board Npaj

Siv cov xov hlau txuas rau txhua tus ntawm cov laug cam tawg thiab txuas lub sensor rau txhua lub rooj tsavxwm.

Kauj Ruam 3: Kev thaiv kab hlau

goo.gl/DvbR9V

Qhov txuas saum toj no xa koj mus rau lub vev xaib uas muab cov phiaj xwm. Siv ib feem ntawm cov txheej txheem lav phib xaub txhawm rau txuas lub sensor mus rau Arduino thiab rov ua dua tshiab rau txhua qhov ntsuas ntxiv ntxiv. Koj tuaj yeem muaj qhov siab tshaj ntawm plaub lub ntsuas nrog Arduino Uno, txawm li cas los xij koj tuaj yeem muaj ntau dua yog tias koj siv Arduino loj dua, piv txwv li Arduino Mega.

Kauj ruam 4: Code

Peb pom qee qhov piv txwv piv rau LCD zaub; peb hloov nws los qhia lub npe sensor thiab tus nqi hauv lub sijhawm tiag tiag. Qhov chaws tuaj yeem rub tawm los ntawm cov ntawv txuas.

Kauj Ruam 5: Kuaj thiab Hlawv Hauv

Kuaj thiab Hlwb Hauv
Kuaj thiab Hlwb Hauv

Hlawv rau hauv thiab ntsuas txhua lub sensor ib tus zuj zus. Rau qhov kub hnyiab tawm, tso lub sensor txuas thiab Arduino thaum hmo ntuj, nws tuaj yeem sov so kom paub tseeb tias nws muaj chaw txias.

Pom zoo: