Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Hardware
  3. Wiring MQ-2 Gas Sensor

Wiring MQ-2 Gas Sensor

Scheduled Pinned Locked Moved Hardware
4 Posts 3 Posters 2.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    gmccarthy
    wrote on last edited by
    #1

    I'm looking at the code provided for this sensor and am a bit confused by this bit on the connections:

     * 
     *   A H A   >>> 5V
     *   B       >>> A0
     *   H       >>> GND
     *   B       >>> 10K ohm >>> GND
     * ```
    

    What is A,H, B?
    Shouldnt it be

    Vcc -> 5V
    Gnd -> Gnd
    A0 -> A0
    A0 -> 10k -> GND
    
    
    1 Reply Last reply
    0
    • alexsh1A Offline
      alexsh1A Offline
      alexsh1
      wrote on last edited by
      #2

      Depends on your sensor.
      It yours comes with the board http://www.ebay.co.uk/itm/MQ-Gas-Sensor-Carrier-board-for-MQ3-MQ2-MQ4-MQ5-MQ7-MQ9-MQ6-MQ8-MQ135-arduino-/171387108192?hash=item27e777bb60:g:fv8AAOSwW1ZTxKUz

      you do not have to add anything.

      epierreE 1 Reply Last reply
      0
      • alexsh1A alexsh1

        Depends on your sensor.
        It yours comes with the board http://www.ebay.co.uk/itm/MQ-Gas-Sensor-Carrier-board-for-MQ3-MQ2-MQ4-MQ5-MQ7-MQ9-MQ6-MQ8-MQ135-arduino-/171387108192?hash=item27e777bb60:g:fv8AAOSwW1ZTxKUz

        you do not have to add anything.

        epierreE Offline
        epierreE Offline
        epierre
        Hero Member
        wrote on last edited by
        #3

        @alexsh1 said:

        Depends on your sensor.

        you do not have to add anything.

        yes and no, you don't have a datasheet for the board... 10K is 10K so you know it ;-)

        z-wave - Vera -> Domoticz
        rfx - Domoticz <- MyDomoAtHome <- Imperihome
        mysensors -> mysensors-gw -> Domoticz

        alexsh1A 1 Reply Last reply
        0
        • epierreE epierre

          @alexsh1 said:

          Depends on your sensor.

          you do not have to add anything.

          yes and no, you don't have a datasheet for the board... 10K is 10K so you know it ;-)

          alexsh1A Offline
          alexsh1A Offline
          alexsh1
          wrote on last edited by
          #4

          @epierre said:

          @alexsh1 said:

          Depends on your sensor.

          you do not have to add anything.

          yes and no, you don't have a datasheet for the board... 10K is 10K so you know it ;-)

          Actually, I have the datasheet for my board and this is adjustable resistor :)
          Anyway, I got mine working without any additional 10k resistors. I hope it helps.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          15

          Online

          11.7k

          Users

          11.2k

          Topics

          113.1k

          Posts


          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • MySensors
          • OpenHardware.io
          • Categories
          • Recent
          • Tags
          • Popular