Hi everyone,
I am using the Automation/Irrigation Hat - V10 and I would like to connect the MH-Z19 C02 sensor. I need to admit that I started using the hat with Home Assistant as I wanted to try out a few more things myself and add other inputs. However, it's just a great way to reduce wiring. Now I just want to check that I don't do anything wrong (as I still consider myself a beginner in this area).
The MH-Z19 C02 be directly connected to the following GPIO pins:
I looked at the male pins on the board but I am slightly confused on which ones to use. I am aware you connected GPIO08 and GPIO10 to MCP3008 for analog inputs (which I do not need in my setting).
Can I still use male pins on the board (if yes, which?) or do I need to solder the connections myself? The latter would also be fine - just checking.
Thanks,
Thomas
hi, should you have any advice on how to put the sensor into operation and use it to control co2?thanks a lot
Ok, easy - found this out myself: youtube.com/watch?v=bQzbZEsPGD0&t=280s
Works fine now after removing the two pins from the board.
Thank you, just saw your reply now: I tried without removing the pins from the relay and got the CO2 sendor working (after enabling UART in the config.text file in root). I get the sensor data in the system now but every approx. 30 seconds the relay board pin gets activated by a short signal. What's the best way of removing those two pins from the board?
Don't think it is a good idea to keep both connected at same time. You can remove these two pins from the relay
Thank you for the explanation. Is it also possible to just to use GPIO14 and GPIO15 while still having relay2 attached? I would still like the rest of the GPIOs connected to the relay board as switches. In Home Assistant I could configure the rest of the GPIOs accordingly (on relay2) and leave GPIO14 and GPIO15 unused. I have the relay2 in use at the moment and would like to keep it this way.
Hi There,
I think that you table refers to the Raspberry Pin number 8 and 10 which are the GPIO14 and GPIO15 (Tx, Rx). Luckily these are connected to male pins in the automation board. The only attention point is that these pins are shared with the relay2, so if you use them for the sensor then the relay2 should not be connected.