Recently Viewed
gas:bit - MQ gas sensor range board for BBC micro:bit
  Zoom
gas:bit - MQ gas sensor range board for BBC micro:bitgas:bit - MQ gas sensor range board for BBC micro:bitgas:bit - MQ gas sensor range board for BBC micro:bitgas:bit - MQ gas sensor range board for BBC micro:bit

gas:bit - MQ gas sensor range board for BBC micro:bit

Our Price:  £13.20 

Available Now:  

20 in stock, immediate despatch

SKU:  PPMB00137
Part Number:  PPMB00137
Brand:  Proto-PIC


This is our MQ breakout board for the micro:bit, connecting to an analog input, it gives you a reading based on the concentration of the detectable gas. 
The gas:bit will not give you a PPM reading due to the resolution of the analog input, but can be great for detecting if the gas is in the air! We have used it with an alcohol sensor to make our own breath alcohol detector, giving an output when the concentration of alcohol on the breath was over a given value!

Please note : This board does NOT come with a sensor or micro:bit.

 

Sensors :

MQ8 - Hydrogen

MQ6 - LPG (Butane or Propane)

MQ4 - Methane or Compressed Natural Gas

MQ3 - Alcohol or Benzine

MQ2 - Flammable Gas and Smoke High Sensitivity for LPG, Propane and Hydrogen

 

Sample uPython code :

from microbit import *

# 'Flame' animation graphics
firea = Image("00900:"
              "00990:"
              "09590:"
              "95959:"
              "09990")

fireb = Image("00900:"
              "09900:"
              "09590:"
              "95559:"
              "09990")
              
# Wait for 60 Seconds - allow sensor to heat up
for x in range(0,60):
    display.show(firea)
    sleep(500)
    display.show(fireb)
    sleep(500)

threshold = 800

while True:
    reading = pin2.read_analog()
    if (reading > threshold):
        display.show(Image.HAPPY)
    else :
        display.show(Image.SAD)


Customer Reviews

Be the first to Write a Review for this item!

Related Products
Phys:bit kit

Phys:bit kitFrom:  £14.40

60 in stock, immediate despatch