MQ2 Analog Gas Sensor Brick(EF04028)
Introduction
MQ2 analog gas sensor is used to detect smoke, with high sensitivity and fast response time. The sensitivity can be adjusted by potentiometer.
Products Link
ELECFREAKS Octopus Smoke Sensor MQ-2 Brick
Characteristics
Standard 3-pin GVS port is easy to plug.
Specification
Item | Parameter |
---|---|
SKU | EF04028 |
Connections Type | Analog |
Pins Definition | S-Sigal V-VCC G-GND |
Working Voltage | 5V |
Size | 38x27mm |
Size:
Outlook and Dimension
Quick to Start
Materials required and connections diagram
Connect to P1 port as the picture shows.
Take sensor:bit for example
Program as the picture shows
Reference
Link:https://makecode.microbit.org/_KJVXj9Co2UXU
You can also download it directly below:
Result
Preheat it for 10 minutes after connections, detect the smoke by approaching the probes to the smoke while the returned value is almost stable. With the change of the smoke, the returned value gets bigger with the growing of the smoke concentration.