Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Suntzu
    S
    • Continue chat with Suntzu
    • Start new chat with Suntzu
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    Suntzu

    @Suntzu

    1
    Reputation
    4
    Posts
    1200
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Suntzu Follow

    Posts made by Suntzu

    • RE: Connecting M5Stack to an MQ-2 smoke/gas sensor

      @JimiT Yes, I used Pin 36 and 21.

      Absolutely, I will post the finish product and pictures in the Projects section.

      posted in FAQS
      S
      Suntzu
    • RE: Connecting M5Stack to an MQ-2 smoke/gas sensor

      @jimit 在 Connecting M5Stack to an MQ-2 smoke/gas sensor 中说:

      @suntzu Hi Suntu,

      Try sourcing the 5V from the positive terminal on the Grove connector.

      It worked like a charm! Thank you again. It's time to rewrite my sketches for M5Stack.

      posted in FAQS
      S
      Suntzu
    • RE: Connecting M5Stack to an MQ-2 smoke/gas sensor

      @JimiT I will try that when I get back home from the office. And I will make sure to keep you updated.

      Thank you so much, Jimi.

      posted in FAQS
      S
      Suntzu
    • Connecting M5Stack to an MQ-2 smoke/gas sensor

      I am trying to port my ESP8266 project to M5Stack but for the life of me I could not figure out how to connect the wires between M5Stack and the analog MQ-2 gas sensor.

      This is my wiring for ESP8266 that perfectly works:

       MQ-2 Sensor    ->    ESP8266
           A0         ->      A0
           D0         ->      D0
           VCC        ->      VIN (5.5V)
           GRD        ->      GRD
      

      This is what I have tried in M5Stack but did not work. The sensor's D0 LED and power LED do not even lit on.

       MQ-2 Sensor    ->      M5Stack
           A0         ->        Pin 36 (I also have tried 35)
           D0         ->        Pin 21 (I also have tried 16)
           VCC        ->        5V
           GRD        ->        G
      

      How do I wire the analog MQ-2 sensor To M5Stack? Is it doable? Any guidance please?

      posted in FAQS
      S
      Suntzu