Can MG811 (carbon dioxide sensor) be used on Android Things?

Asked 3 months ago, Updated 3 months ago, 6 views

I'd like to create an app that measures carbon dioxide with raspies and sensors and sounds an alarm if it's too high, but I'd like to ask if it's possible to get carbon dioxide values with the following combinations.My biggest concern is the speed of Android Things data calls.
terminals:Raspberry Pi 3Model B
Sensor Name: Carbon Dioxide Sensor Module MG811/MG-811 CO20-2V 0-10000 ppm Shop from:
Sensor specifications:

I'm worried if I can get the exact value because Android Things' data call speed is slow.Android Things takes 230us to call a single data from GPIO.If anyone knows the call speed required for MG811, I would appreciate it if you could let me know.

android android-studio raspberry-pi sensor

2022-09-30 12:01

1 Answers

On Android Things 230us

to invoke a single piece of data from GPIO

The 230us is 0.23 ms, which is very fast for measuring temperature, room temperature, etc., but the link is
I looked at the carbon dioxide sensor module datasheet, the Response and Resume Characteristic (Figure3) item has a sensor response rate table, and the time base unit is kindly written as "time (s), so I can read the slow voltage change from Figure 3 graph.(MG811 is an analog output sensor.I see)

I think you can read it if you program it normally.

Lastly, be careful not to run out of oxygen during debugging!

2022-09-30 12:01

If you have any answers or tips

© 2023 OneMinuteCode. All rights reserved.