Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CO2 analog sensor
#2
Hi Skwerl77, thanks happy new year to you as well.

That's a nice looking sensor, it should work on an analog port when set to 0-5v. Of course there's no code to map out the 2000ppm but you could still use it with the custom rules if you pull out a calculator for now. Later down the road I do plan to add some mapping for co2.

The analog pins reads 0-5v and translates that into a number from 0-1023, 1023 being 5v. In the custom rules for analog sensors you can select a value in this range. If you wanted to have something happen when the sensor read 1000ppm you would set the rule value to 511. If you want to trigger at 500ppm set the rule value to 255.
Reply to top


Messages In This Thread
CO2 analog sensor - by Skwerl77 - 01-05-2019, 01:33 PM
RE: CO2 analog sensor - by Rob F - 01-05-2019, 03:42 PM
RE: CO2 analog sensor - by rott - 01-05-2019, 04:18 PM
RE: CO2 analog sensor - by Rob F - 01-05-2019, 04:33 PM
RE: CO2 analog sensor - by Skwerl77 - 01-05-2019, 07:41 PM
RE: CO2 analog sensor - by Rob F - 01-05-2019, 10:23 PM
RE: CO2 analog sensor - by rott - 01-09-2019, 06:24 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  ANALOG SENSOR INPUTS SEANS AQUAPONICS 1 3,574 04-18-2018, 07:36 PM
Last Post: Rob F
  LED DRIVER 10PWM AND 10 ANALOG apanelmarcin 4 6,556 07-16-2017, 04:28 PM
Last Post: Rob F

Forum Jump:

Current time: 05-02-2024, 07:07 PM