Household gas leaks are extremely dangerous - even small cracks in a water heater or old stove could create a huge explosion. This MQ-4 sensor will become the basis of your gas detection system.
The sensor is based on the MQ-4 sensor. Given a logical input, the sensor will produce an analog signal proportional to the concentration of gas vapor in the surrounding environment. Libraries for Arduino or Iskra are available to convert these readings into ppm (parts per million).
We have also provided the ability to control the heating element on the sensor through a separate group of contacts.
You can use a different voltage for the sensor's logic and heater, and also programmatically turn on and off the heater, which will significantly extend the battery life of the device.
A heating element is built into the module's gas analyzer, which is necessary for the chemical reaction to occur. Therefore, during operation the sensor will be hot - this is normal.
Before using for the first time, we recommend that you "burn" the sensor. Turn it on and leave it running for 24 hours. This procedure will increase the accuracy of the sensor's readings.
In general, the sensor is connected by two 3-pin jumper cables. The first is the sensor power and the sensor data, the second is the power for the heating element. If there is no need to manually control the heater, you can use a single 3-pin cable and power the heater through an onboard jumper.
Troyka Shield. The most straightforward method. Connect the module to a pin group on Troyka Shield with the 3-pin jumper cable and you’re ready to interface with it from your Arduino.
Troyka Slot Shield. The best choice for quick prototyping. Using slots on the shield, you can get rid of cables. The module will be held securely in place using both pin headers.
Breadboard. For advanced use. Troyka pin headers have 0.1” spacing which is compatible with any breadboard. Simply wire the module like you would do with any IC.