question

jm-5055 avatar image
0 Votes"
jm-5055 asked ·

Measure sensor MHZ19B with Window Iot on Raspberry PI3

Hello people,

how can I measure with the CO2 sensor "MHZ19B" on a Raspberry Pi3. I have created a UWP application that runs with Window Iot on my Pi.
The sensor is connected to GPIO 4.

Is there an API for the MHZ19B sensor?
I have already tried a lot, yet I can't come to a suitable solution.

Please help me.

Best regards
Lord Integer

windows-iot-10core
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SandervandeVelde42 avatar image
1 Vote"
SandervandeVelde42 answered ·

Hello @jm-5055,

I expect you already use the GPIO Nuget packages

 <PackageReference Include="System.Device.Gpio" Version="1.0.0" />  

Check out the Device Bindings.

There are many examples of other GPIO controlled sensors including sensors making use of SoftwareSerial.

Here is an example of how to use the library.


·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.