Smell sensor
What is pepoiaq2led
- Gas resistance value read from environmental gas sensor BME680 50 counts every 5 minutes Average value 80%, temperature 10%, humidity 10% Air quality calculated from: IAQ (indoor air quality) 0 to 500 The browser is good (with numerical values) It is expressed in green)~ very_bad (red) colors.
- You can turn on the 3-color LED from the GPIO output with
pepoiaq2led
. - If it is always running, it can be used as an odor sensor appliance.
pepoiaq2led
is started via daemontools with the following command.1
2
3
4# cd /www/pepolinux
# ln -s /usr/local/bin/pepoiaq2led iaqled
# cd /service/
# ln -s /www/pepolinux/iaqled iaqled- pepoiaq2led started by daemontools is stopped/started/confirmed by the following command.
1
2
3# svc -d /www/pepolinux/iaqled
# svc -u /www/pepolinux/iaqled
# svstat /www/pepolinux/iaqled - Raspberry pi’s BME680 and 3-color LED detect the smell of garlic in a tube Demo video
- Please check the source code below
https://github.com/kujiranodanna/IOT-House/blob/master/raspberrypi/usr/local/bin/pepoiaq2led