cyberman54 / ESP32-Paxcounter

Wifi & BLE driven passenger flow metering with cheap ESP32 boards
https://cyberman54.github.io/ESP32-Paxcounter/
Other
1.69k stars 397 forks source link

Add C02 Sensor as sensor 2 (C02 Ampel) // how to include a custom sensor #780 // Second example #787

Closed hansju-11 closed 1 year ago

hansju-11 commented 3 years ago

A more complex example to add scd30 sensor.

put code in seperate files, (like sds011 sensor) add NEO pixel LED to have a real "traffic light" to show air is good (green), air is not realy good but still ok (yellow) air is bad (red)

use additional libs: https://github.com/adafruit/Adafruit_NeoPixel change in this lib Adafruit_NeoPixel.cpp

--> #if defined(TARGET_LPC1768) // #include

include

endif

https://github.com/sparkfun/SparkFun_SCD30_Arduino_Library

it is the first try. Please have a look and write your comments.

PAX-CO2-Ample

cyberman54 commented 3 years ago

Thanks for the PR! What shall we do with the first one?

hansju-11 commented 3 years ago

We can use the example in the discussion  #732, but we should not take it into the branch.Kind regardsHans-Jürgen --Diese Nachricht wurde von meinem Android Mobiltelefon mit GMX Mail gesendet.Am 08.04.21, 18:19 schrieb Verkehrsrot @.***>:

Thanks for the PR! What shall we do with the first one? —You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.