All Projects → hpsaturn → CanAirIO

hpsaturn / CanAirIO

Licence: GPL-3.0 License
W A R N I N G: This is a previous proof of concept of CanAirIO device firmware over a TTGO T-Display board, but now it is only a old reference. The last stable version of CanAirIO device already have support for this board and many features more. Please use the official CanAirIO Firmware instead of this firmware. https://github.com/kike-canaries…

Programming Languages

C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to CanAirIO

DustViewerSharp
UART-USB based dust sensor viewer(and also logging) program by C#
Stars: ✭ 38 (+216.67%)
Mutual labels:  air, pollution
M5Stack-Air-Quality-ESPHome
ESPHome configuration for M5Stack's PM2.5 Air Quality Kit with the PMSA003 particulate matter sensor and the SHT20 temperature and humidity sensor
Stars: ✭ 19 (+58.33%)
Mutual labels:  esp32, sensors
SuperGreenOS
🧠 SuperGreenOS home farming automation software for esp32, all in one package, and controllable from your smartphone, pc, mac, linux, toaster, plumbus, whatnot...
Stars: ✭ 83 (+591.67%)
Mutual labels:  esp32, sensors
Farm-Data-Relay-System
A system that uses ESP-NOW, LoRa, and other protocols to transport sensor data in remote areas without relying on WiFi.
Stars: ✭ 97 (+708.33%)
Mutual labels:  esp32, sensors
air-quality
Air quality sensing and monitoring
Stars: ✭ 17 (+41.67%)
Mutual labels:  quality, air
owlos
DIY Open Source OS for building IoT ecosystems
Stars: ✭ 43 (+258.33%)
Mutual labels:  esp32, sensors
ESPHome-Air-Quality-Monitor
ESPHome configuration for a DIY indoor air quality monitor for CO₂ concentration, PM2.5 and PM10 concentrations, and temperature, humidity and pressure
Stars: ✭ 42 (+250%)
Mutual labels:  esp32, sensors
Scipy-Bordeaux-2017
Course taught at the University of Bordeaux in the academic year 2017 for PhD students.
Stars: ✭ 16 (+33.33%)
Mutual labels:  science
sps30
Sensirion SPS30 driver for ESP32, SODAQ, MEGA2560, UNO, ESP8266, Particle-photon on UART OR I2C coummunication
Stars: ✭ 57 (+375%)
Mutual labels:  esp32
IFTTTWebhook
DEPRECATED: Arduino SDK library for triggering IFTTT web hooks on ESP8266 and ESP32 processors
Stars: ✭ 28 (+133.33%)
Mutual labels:  esp32
HackTheDeep
The 4th Annual American Museum of Natural History Hackathon produced by the BridgeUP: STEM program
Stars: ✭ 35 (+191.67%)
Mutual labels:  science
NASSCOM-MHRD-IOT-Practical-Module 1-2
Arduino on TinkerCad
Stars: ✭ 26 (+116.67%)
Mutual labels:  sensors
Touche-Experiments
Interaction studies with a homemade Touché (swept-frequency capacitive) sensor
Stars: ✭ 20 (+66.67%)
Mutual labels:  sensors
telnetspy
Telnet Server For ESP8266: Cloning the serial port via Telnet. "Debugging over the air"
Stars: ✭ 41 (+241.67%)
Mutual labels:  esp32
catch
A package for designing compact and comprehensive capture probe sets.
Stars: ✭ 55 (+358.33%)
Mutual labels:  science
ustd
Micro-standard-library providing minimal and portable array, queue and map for attiny avr, arduinos, esp8266/32 and linux, mac
Stars: ✭ 14 (+16.67%)
Mutual labels:  esp32
AstroMech
Protocol for exchanging small amounts of data over audio.
Stars: ✭ 21 (+75%)
Mutual labels:  esp32
Sensors
A macOS application displaying the thermal, voltage and current sensor values.
Stars: ✭ 70 (+483.33%)
Mutual labels:  sensors
Home-Fi
Home Automation App using Flutter, Adafruit IO & Esp32 dev board.
Stars: ✭ 60 (+400%)
Mutual labels:  esp32
Arduino-BLE-MIDI
MIDI over Bluetooth Low Energy (BLE-MIDI) 1.0 for Arduino
Stars: ✭ 133 (+1008.33%)
Mutual labels:  esp32

PlatformIO Build Status ViewCount Liberapay Status



W A R N I N G: This is a previous proof of concept of CanAirIO device firmware over a TTGO T-Display board, but now it is only a old reference. The last stable version of CanAirIO device already have support for this board and many features more. Please use the official CanAirIO Firmware instead of this firmware.



CanAirIO

Citizen science project with mobile and fixed sensors for measuring air quality (PM 2.5) using low-cost sensors and smartphones. Built with a ESP32 module board and some dust sensor, like Sensirion, Panasonic, Honeywell and Samsung interfaced with an CanAirIO Android app.

This repo is a TTGO T-Display version of CanAirIO that supports two Air Quality sensors:

  • Panasonic PM Sensor
  • Bosch BME680 VOC sensor for IAQ.

Features

  • PM 1.0, 2.5 and PM 10 values.
  • Pressure, altitude, Humidity, Temperature.
  • Gas resistence (IAQ parameter)
  • Tag geo localization (mobile mode)
  • Save mobile trips on SD (mobile mode)
  • Share mobile tracks (mobile mode)
  • Set wifi parameters via Bluetooth (fixed mode)
  • Set geo localization via Bluetooth (fixed mode)
  • InfluxDB publication (fixed mode)
  • OTA updates via local WiFi
  • Enable/Disable sensor (for low power mode)

Firmware

For compiling and upload the current firmware, please firts install PlatformIO or include the project in your Arduino IDE. Also you need the Git software. Please check that the commands pio and git works fine in your OS.

Compiling and Installing

First, please clone this repo:

git clone https://github.com/hpsaturn/CanAirIO.git

Connect your device to USB cable , enter to CanAirIO directory and run:

pio run --target upload

You should have something like this:

Building .pio/build/ttgo-display/firmware.bin
RAM:   [==        ]  19.7% (used 64684 bytes from 327680 bytes)
Flash: [========= ]  86.4% (used 1698140 bytes from 1966080 bytes)
esptool.py v2.6
============== [SUCCESS] Took 33.86 seconds ==================

Environment       Status    Duration
----------------  --------  ------------
ttgo-display      SUCCESS   00:00:33.861
ttgo-display-ota  IGNORED
============= 1 succeeded in 00:00:33.861 =====================

OTA update

Optional you could send OTA updates of this firmware with:

pio run -e ttgo-display-ota --target upload

It will be try to send the firmware to CanAirIO.local host on your network, it this does not working, you can try to add IP parameter with --upload-port=your_esp_ip.

Android CanAirIO application

For now you need any Android device with Bluetooth 4 or above. You can download the CanAirIO app from GooglePlay, keep in mind that it is in continuos development then please any feedback, report errors, or any thing please let us knowed it via our contact form or on our Telegram chat

You have two configuration options or modes of your CanAirIO device from the app:

Mobile Station Mode

For record tracks on your device (Sdcard) or publish it to the cloud (share), please follow the next steps:

Connection to device

Recording track and share

NOTE: Also all recorded tracks will be saved in the /sdcard/canairio/ directory on json format.


Static Station Mode

Also, you can connect your CanAirIO device to the WiFi and leave this like a fixed station. In this mode you only need the Android app only for initial settings, after that the device could be publish data without the phone. For this you need configure it in settings section:

Settings

  • Station Name: for example: PM25_Berlin_Pankow
  • Wifi Name and Password:
    • Your Wifi network credentials.
    • Save the credentials with the switch.
  • InfluxDB Cloud: add the next values,
    • Database name: canairio
    • Hostname: influxdb.canair.io
    • Save the settings with the switch.

The data will be configured and showed in CanAirIO Grafana Server.

Settings Tools

  • Reboot device: Only for restart your CanAirIO device
  • Factory Reset: For set all settings to default on your CanAirIO device

Electronic components

Schematic

Components

Description Alternative store link
TTGO T-Display AliExpress option
Panasonic SN-GCJA5 Mouser international option
Bosch BME680 AliExpress option
DC-DC Booster ** AliExpress option
Lipo Battery 3.7 *** Amazon option

** NOTE: untested it, meanwhile I have a 2n2222 for enable/disable a normal boost without enable pin, but I think that it will be work.
*** Any lipo battery with max size: 25x48x8 mm aprox. Please see the 3D box model. The battery in the link has 8.8x47x19.7 mm and is the ~500mAh.


3D Print box

You can download the 3D models in Thingiverse or download from box git directory.

3d print files:

 ArtilleryGenius_Cura_project.3mf  # Project for Ultimaker Cura slicer software (optional).
 CanAirIO_3dBox_body.stl           # Main body for sensors and TTGO T-Display board.
 CanAirIO_3dBox_cap.stl            # Body cap with holes for air input/output.
 CanAirIO_Logo_canary.stl          # Optional CanAirIO logo.
 CanAirIO_Logo_cloud.stl           # Optional CanAirIO logo cloud.


Feedback

Please let us know about your questions on our forum, contact form or on our Telegram chat.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].