canairio_firmware

CanAirIO is a citizen science initiative. We are developing a mobile application that is able to set a PM2.5 or CO2 sensors, and other related sensors, as a fixed station using WiFi or mobile station with an smartphone by using a Bluetooth connection.

GPL-3.0 License

Stars
106
Committers
9

Bot releases are visible (Hide)

canairio_firmware - [rev731]

Published by hpsaturn over 3 years ago

  • Heltec board issue was resolved, thanks to user @roberbike
  • installer GNU-Linux Python issues resolved, thanks to user @arhuaco
  • Updated CanAirIO sensor library dependency, some SCD30 init issues was resolved
2abb76678d8f9a16e9e3ef9bb1b0081f ESP32DEVKIT/canairio_ESP32DEVKIT_rev731_20210225.bin
7ec4c85419939bf9fb62cab29033f7cd HELTEC/canairio_HELTEC_rev731_20210225.bin
c6c5e54c22d9d026e7281a08b256f556 TTGO_T7/canairio_TTGO_T7_rev731_20210225.bin
8df5416506c097a9748779b9dde36f3a TTGO_TQ/canairio_TTGO_TQ_rev731_20210225.bin
2c685c378093eae995aef6b38f8c8e6d WEMOSOLED/canairio_WEMOSOLED_rev731_20210225.bin
canairio_firmware - rev680

Published by hpsaturn almost 4 years ago

Features

  • status top bar with dynamic display
  • bottom status zone wity dynamic icons and status line
  • some fixes issues for TTGO-TQ, WemosOLED and D1Mini displays

Related Issues

In the last version of CanAirIO without wire soldering, we have a some display issues on big OLED.

Tests

  • TTGO D1Mini display
  • WemosOLED
  • TTGO-TQ test
  • ESP32 dev board with 128x64 display
7463d6a770a630af9f5447c871d9a74b ESP32DEVKIT/canairio_ESP32DEVKIT_rev680_20201121.bin
aaf53b8b186dd5bee7e238993a85fb5e HELTEC/canairio_HELTEC_rev680_20201121.bin
575db2a1d465bc2d05fdc5c2f9f39fcb TTGO_T7/canairio_TTGO_T7_rev680_20201121.bin
575db2a1d465bc2d05fdc5c2f9f39fcb TTGO_T7_OTA/canairio_TTGO_T7_OTA_rev680_20201121.bin
5e799ad280caa44bf82c2c5ad4bfb275 TTGO_TQ/canairio_TTGO_TQ_rev680_20201121.bin
867a25f546b5efd5b4c1b68835931c28 WEMOSOLED/canairio_WEMOSOLED_rev680_20201121.bin

2020-11-20 18:59:42 -0500 421c28f9488d720cd89d1ee8525a96416723d74a
Merge pull request #78 from kike-canaries/wemosoled_display_fix

canairio_firmware -

Published by hpsaturn almost 4 years ago

  • updated and improved Linux/Mac installer
  • sensorlib is a external library (published in PlatformIO and Arduino Library managers)
  • tested development version for esp8266. Please see CanAirIO fixed station
  • hot fix issue on stype return -1 with new sensorlib
  • documentation updated
canairio_firmware - rev649 Autodetection PM sensors

Published by hpsaturn about 4 years ago

Description

  • ready send PM sensor selection via config lib
  • complete configlib refactored
  • added last key getter on configlib
  • clang format passed in some file

Tests

  • Tested with Android app branch.
  • Sensirion test passed
  • Generic sensors test passed

Binaries

dea47d905d1466f323141662dbe8c653 HELTEC/canairio_HELTEC_rev649_20201016.bin
fc667a4e33c44b61e08db30b37ac0e5b TTGO_T7/canairio_TTGO_T7_rev649_20201016.bin
fc667a4e33c44b61e08db30b37ac0e5b TTGO_T7_OTA/canairio_TTGO_T7_OTA_rev649_20201016.bin
6ca258934a8ad8a96f493154f399e6d1 TTGO_TQ/canairio_TTGO_TQ_rev649_20201016.bin
d7b5784d2b736404058ae0c8b169ab8a WEMOSOLED/canairio_WEMOSOLED_rev649_20201016.bin
canairio_firmware - CanAirIO Firmware rev633

Published by hpsaturn about 4 years ago

Features

CanAir.io firmware complete refactor. In this release the firmware changed a lot but it has backward compatibility. The main features:

  • New sensor manager library for handling all Air Quality sensors
  • Auto detection for Honeywell, Plantower and Panasonic in a Generic sensors group
  • Supported Sensirion sensor with your own detection driver
  • Separated many firmware sections on own classes
  • Watchdog library for handling auto reboots and more
  • The sensor autodetection flows reduced the firmware binaries
  • The GUIUtils library has a new architecture based in triggers for each icon
  • Added log levels for ESP32 and initial support on sensorlib for ESP8266
  • The boot screen is more dynamic
  • The sensor icon is consequent with the sensor status
  • Improved CI with github workflos for build binaries on each action.

Tested sensors:

  • Honeywell
  • Plantower
  • Panasonic
  • Sensirion

Testedd boards:

  • TTGO_TQ
  • TTGO_T7
  • WEMOSOLED
  • Some LOLIN boards

Installer contents

d66a7332ef0df28184b725bc970ed576 HELTEC/canairio_HELTEC_rev633_20201006.bin
f48c57cbcd2470fb91d5d3704af4f1c7 TTGO_T7/canairio_TTGO_T7_rev633_20201006.bin
f48c57cbcd2470fb91d5d3704af4f1c7 TTGO_T7_OTA/canairio_TTGO_T7_OTA_rev633_20201006.bin
92e79890e08644c6e5bb62adea8bf582 TTGO_TQ/canairio_TTGO_TQ_rev633_20201006.bin
d8ed925bd777dd6c1b50dda4d076e203 WEMOSOLED/canairio_WEMOSOLED_rev633_20201006.bin  
canairio_firmware - canairio_rev565_20200828

Published by hpsaturn about 4 years ago

  • rev565 compatible with CanAirIO Android rev437
  • Sensirion SPS30 sensor supported
  • Renamed device name to CanAirIO (Android app scanning compatible)
  • PlatformIO multiple sensor deploy config refactored
  • Added env for legacy sensors (Honeywell and Plantower)
  • fixed some documentation issues
  • Added funding file for github
  • Added github templates
  • fixed 0 value issue

Supported boards and compiled firmwares

f37571128171ee457aced37cccad855b HELTEC/canairio_HELTEC_rev565_20200828.bin
e1b0e734bf264988bf124bf4ce0dba08 TTGO_T7/canairio_TTGO_T7_rev565_20200828.bin
5e1a84edf78a676a4035d653068ed7ca TTGO_T7_LEGACY/canairio_TTGO_T7_LEGACY_rev565_20200828.bin
4552a36a17266cefacc251f3d663ae4b TTGO_T7_OTA/canairio_TTGO_T7_OTA_rev565_20200828.bin
7d402e42528e3fc60e6f561e0ae44822 TTGO_TQ/canairio_TTGO_TQ_rev565_20200828.bin
7bbc17c024c969aa6e586d0db0b1bafa WEMOSOLED/canairio_WEMOSOLED_rev565_20200828.bin
canairio_firmware - rev527

Published by hpsaturn over 4 years ago

  • Emoticons
  • Some influxdb issues resolved
  • Some watchdog improvements
  • Panasonic sensor supported

Supported boards:

md5sum board release
281a8b10519c19ec455b88923a6c670c d1mini/canairio_d1mini_rev527_20200525.bin
27fc4ffaf1d36462bd648f21e9c0e73c heltec/canairio_heltec_rev527_20200525.bin
c2b8d3102f2edc12d8a7679227ed4b0c TTGO_TQ/canairio_TTGO_TQ_rev527_20200525.bin
70040bb70a2de656bc5248ee8fc0b6c2 wemos/canairio_wemos_rev527_20200525.bin
canairio_firmware - rev495

Published by hpsaturn almost 5 years ago

  • Added complete config flow for:
    • setting for API hostname IP or domain. (apisrv)
    • setting for API endpoint. (apiuri)
    • setting for API port. (apiprt)
  • Added timerAlarmDisable for the OTA loop to avoid a Reset in the routine that make impossible to complete the OTA.
md5sum board release
245bfa632663ce813a312973ea128418 d1mini/canairio_d1mini_rev495_20191227.bin
87b425b7087afa96836a427cdcfd9dfb ESP32Sboard/canairio_ESP32Sboard_rev495_20191227.bin
0cddc1d6a20ad661644bda6ac077bb3c heltec/canairio_heltec_rev495_20191227.bin
f034cbd04ee834a9dde6b93b193edd7c TTGO18650/canairio_TTGO18650_rev495_20191227.bin
89db98b4db07db72eecf7e94657e91fb TTGO_TQ/canairio_TTGO_TQ_rev495_20191227.bin
a3078ceff69e2220e2eb56129a382121 wemos/canairio_wemos_rev495_20191227.bin
canairio_firmware - rev457

Published by hpsaturn almost 5 years ago

  • updated documentation and wiki
  • updated connection diagrams
  • updated builder for generate pkg release
  • added humidity and temperature values on display
  • supported new ESP32Sboard
  • timer via interrupt for implement watchdog
  • incremented time for re-connection (after reboot)
canairio_firmware - Hotfix API write issues

Published by hpsaturn about 5 years ago

  • hotfix, resolved some API write issues for some kind of data types
  • updated dependencies

Libraries:

Adafruit AM2320 sensor library  @ 1.1.2
Adafruit Unified Sensor         @ 1.0.3
ArduinoJson                     @ 6.11.5
HPMA115S0 Arduino Library       @ 23cbd44
Influx-Arduino                  @ ce16fc3
U8g2                            @ 2.26.14

Framework:

espressif32                     @ 1.9.0
toolchain-xtensa32              @ 2.50200.80
tool-openocd-esp32              @ 1.1000.20190708
tool-mkspiffs                   @ 2.230.0
framework-arduinoespressif32    @ 2.10002.190628
framework-espidf                @ 3.30202.190627
tool-esptoolpy                  @ 1.20600.0
canairio_firmware - Clear data and new icons

Published by hpsaturn about 5 years ago

  • Added new features:
    • Restore factory defaults
    • Live icon of sensor (icon of ticks for each second)
    • Save preferences icon
  • Some issues fixed on write API error code notification
canairio_firmware - OTA updates and more

Published by hpsaturn about 5 years ago

OTA updates

Via wifi now you can send updates from pio or espota commands, for example:

pio run -e d1miniOTA -t upload

New supported boards:

New esp32 based boards are supported:

  • TTGO18650
  • TTGO TQ

Also the previous boards now can be selected from pio command:

pio run -e d1mini -e d1miniOTA -e wemos -e heltec -e TTGO18650 -e TTGO_TQ

Battery level support on TTGO TQ

Is possible monitoring the power level of battery in this board with some additional connections

3dprint and new lasercut box

In the box directory we have a new update of laser cut box more slim that previous version. Also you can test the new 3d printing box alpha version.

Android App

From the Android app release, we added some features:

  • Setup location parameters
  • Perform device reboot
  • Enable/Disable WiFi, API, InfluxDb options

New release on GooglePlay
HacksterIO guide ES/EN

canairio_firmware - BME680 Bosch Air Quality Sensor IAQ

Published by hpsaturn over 5 years ago

  • first version for this driver
  • support all features of regular CanAirIO firmware
  • measures:
    • GAS
    • IAQ
    • Hum
    • Temp
    • Pression
    • Others
canairio_firmware - influxDb write settings hotfix and others

Published by hpsaturn over 5 years ago

  • Hotfix on InfluxDb save settings
  • some fixes on API stability issues
  • added documentation for installation and protocols
  • updated HacksterIO spanish guide.
  • new branch for BME680 Bosch air quality sensor (IAQ)
  • for full features description please see preview releases
canairio_firmware - CanAirio API and InfluxDb (optional support)

Published by hpsaturn over 5 years ago

  • Setup via Bluetooth:
    • Station name
    • Sensor sample rate time setup
    • SD or Android external storage export path
    • Wifi credentials setup
    • CanAirIO API credentials
    • Influxdb settings (without user/passw support, only open stations for now)
    • Set location, speed and altitude
    • Reboot and clear data via Bluetooth added with provisional token
  • Dual mode for default (mobile stations (via BT) or static stations (via Wifi))
  • New GUI library:
    • PM2.5 average is showed ever on big font
    • status icons (BT, BT paired, Wifi, upload data, etc)
    • error status code (see documentation)
    • other user interfaces improvments
  • New preferences library (for flash stored settings and parameters)
  • Added alpha installer for Linux (only with Python dependency)
  • Added to HacksterIO guide a new Windows firmware installation flow
  • Support for running this firmware without sensor (for testing your ESP32 board i.e)
  • Error code added and status vector data via serial console
  • New release on GooglePlay
canairio_firmware - rev273

Published by hpsaturn over 5 years ago

Features:

  • Setup via Bluetooth:
    • Sensor sample rate time setup
    • Wifi credentials setup
    • Influxdb settings (without user/passw support, only open stations for now)
    • Set location, speed and altitude
    • Reboot and clear data via bluetooth added with provisional token
  • Dual mode for default (mobile stations (via BT) or static stations (via Wifi))
  • New GUI library:
    • PM2.5 average is showed ever on big font
    • status icons (BT, BT paired, Wifi, upload data, etc)
    • error status code (see documentation)
    • PM10 value
    • other user interfaces.
  • Added alpha installer for Linux (only with Python dependency)
  • Support for running this firmware without sensor (for testing your ESP32 board i.e)
  • Error code added and status vector data via serial console
  • Some speed improvements
  • Other minors

Building options

  • PlatformIO, Version 3.6.4

Libraries

canairio_firmware - rev212beta

Published by hpsaturn over 5 years ago

Features:

  • Setup via Bluetooth:
    • sensor sample rate time setup
    • Wifi credentials setup
    • Influxdb settings (without user/passw support, only open stations for now)
  • Dual mode for default (mobile stations (via BT) or static stations (via Wifi))
  • New GUI library:
    • PM2.5 average is showed ever on big font
    • status icons (BT, BT paired, Wifi, upload data, etc)
    • error counter
    • PM10 value
    • other user interfaces.
  • Backward compatibility with current CanAirIO apk
  • Some speed improvements
  • Other minors

Building options

  • PlatformIO, Version 3.6.4

Libraries

canairio_firmware - rev134beta

Published by hpsaturn about 6 years ago

Features:

  • D1 Mini Kit board (set to oficial board)
  • Multi display support from platformio.ini board setting
  • Refactored sensor config methods
  • fixed avarage value on display issue (big font)
  • Some minor issues fixed
  • Android app version supported: GooglePlay

Building options

  • PlatformIO, Version 3.6.1
  • Espressif32, Version: 1.4.0

Libraries

U8g2_ID942 Monochrome LCD, OLED and eInk Library.
HPMA115S0 Arduino Library, fork

canairio_firmware - rev81alpha

Published by hpsaturn about 6 years ago

Features:

  • D1 Mini Kit board supported
  • Avarage value on display (big font)
  • Some minor issues fixed
  • Android app version supported: rev149alpha

Building options

  • PlatformIO, Version 3.6.0
  • Espressif32, Version: 1.3.0

Libraries

U8g2_ID942 Monochrome LCD, OLED and eInk Library.
HPMA115S0 Arduino Library, fork

canairio_firmware - rev66alpha

Published by hpsaturn about 6 years ago

Features:

  • added config support via platformio.ini for choose board, view it for details
  • fixed HPMA serial read error, now the sensor handling the period sampling
  • fixed windows build issue (it not support echo calls for dinamic revision number resolution)
  • other minors
  • Android supported version: rev108alpha

Building options

  • PlatformIO, Version 3.6.0a6
  • Espressif32, Version: 1.1.2
  • Framework arduinoespressif32, Version: 1.6.0

Libraries

U8g2_ID942 Monochrome LCD, OLED and eInk Library.
HPMA115S0 Arduino Library, fork