How to work with the C02 Sensor MH-Z19B



  • Hi all,

    I have a MH-Z19B that I would like to get talking to my Pi B+, although the pins on the GPIO needed for it are already taken up by a RaspBee module.

    Are there any other options? Could a JST to USB work?


    Log in to reply
     

  • Plugin Developer

    Welcome to the MySensors forum. MySensors is a library you can use to create a wireless mesh network of sensors which communicate with a central point, such as your Raspberry Pi.

    You could attach an Arduino Nano to USB and talk to it via Serial.

    You could create a MySensors network, which you could also communicate to via an arduino+radio on your USB port. Then you could attach countless sensors. There is a ready-to-go sketch for the MH-Z19B.


Log in to reply
 

1 out of 2

Suggested Topics


  • General Discussion   1 Mar 2015, 11:21

    87

  • Hardware   9 Aug 2023, 16:28

    5
  • 2
  • 5

  • Hardware   19 Jun 2023, 00:41

    1

  • Hardware   14 Feb 2025, 20:03

    1

1
Online

11.5k
Users

11.1k
Topics

112.8k
Posts