Gas Detector Alarm DIY - MQ-135
Intro
Another alarm how to post for you!
Hardware
You will need the following:
A buzzer (with or without lead)
A MQ-135 sensor module
Arduino Uno R3
Connector leads
Arduino IDE
The VCC goes to the 5V pin on the Arduino, the gnd to gnd and the A0 pin to A0.
Positive pole pin on the buzzer goes to D9 (digital pin 9) on the Arduino and the negative to gnd.
Code
Copy the code exactly as it appears in the pictures below.
You can add change the code to implement digital input instead of analogue. You can also change the code to trigger an LED instead of a buzzer or both at the same time.
Usage
This alarm can detect a range of gases and can be used to monitor air quality. The analogue values are as follows: 100 -150 for normal air, 700 – 750 for alcohol in the air and 750+ for lighter gases. Use it to measure air quality in the room, check for Carbon dioxide and as a breath detector for alcohol.
The only drawbacks are burn in time – which is the time required for the sensor to reach maximum accuracy. The MQ-135 sensor needs 30 seconds to ‘burn in’ and the gas sensor stays hot while in operation, so watch your hands.
Survive and Thrive!
Minds: https://www.minds.com/AspiePrepper
Steemit: https://steemit.com/@aspieprepper
Youtube: https://www.youtube.com/channel/UC8WohhlmLNq2B5w3dV84Omw
Vidme: https://vid.me/AspiePrepper
Paypal: paypal.me/AspiePrepper
Resteemed your article. This article was resteemed because you are part of the New Steemians project. You can learn more about it here: https://steemit.com/introduceyourself/@gaman/new-steemians-project-launch
Really appreciate this discussion—having proactive measures is crucial, and third-party company representation on-site ensures smooth monitoring and management, especially when an emergency alert system is integrated at the center of safety operations. From real-time notifications to quick response coordination, on-site experts make sure alerts reach the right teams instantly, reducing risks and improving workplace security. Implementing such structured systems with professional oversight guarantees both efficiency and compliance in critical situations.