-
2Upload CanAir.IO firmware
Installation alternatives
We have different alternatives for load the current firmware. In order of complexity they are:
Via CanAirIO Web Installer (RECOMMENDED)
If you already have a ESP32 board, you can test our CanAirIO firmware on one click, with our web installer:
Video and instructions here
Installation via CanAirIO loaderYou will able to install the last version of CanAirIO firmware with internet updates via a simple Arduino sketch that it will doing all for you, you only need to use the official Arduino IDE or Arduino Droid for Android for load this simple sketch. Please follow the instructions here or follow the next YouTube video guide for Android OTG installation alternative.
Installation via binaries (Linux and MacOSx)You can download the last firmware version in releases section. Download the last release from
assets
section in releases and please uncompress zip file.USB alternative
Connect your CanAirIO device to your USB and execute the next command for your model board*, like this:
unzip canairio_rev414_20190829.zip cd canairio_installer ./install.sh canairio_TTGO_T7_rev605_20200925.bin
For more options run
./canairio_installer help
.Note: you need python2 or python3 with pyserial in your system.
OTA alternative
After that you will able to send OTA updates to any board supported, like this:
./install.sh ota canairio_d1mini_rev414_20190829.bin
Also you can specify the IP address:
./install.sh ota canairio_xxx.bin 192.168.1.10
Windows
Please read procedure on
firmware
section on HacksterIO Guide for details for load firmware via oficial Espressif Download Tool in WindowsFor build a firmware version please follow the README instructions on Github:
https://github.com/kike-canaries/canairio_firmware#optional-compiling-and-installing
-
3Using CanAirIO app
Usage
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 onjson
format.CanAirIO Mobile Map
We are developing a new mobile map, you can see the current tracks that the people share here:
Fixed 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 setup the initial settings, after that the device could be publish data without the phone using the WiFi. For this please download the CanAirIO app and setup the WiFi:
WiFi Setup
- Open the app and enter on settings section
- Choose the Wifi Name and set the Password (if it has)
- Save the credentials with the switch.
- Wait for
connected
status in the summary switch
Publication
After WiFi is ready, please follow the next steps for publish your fixed station:
- save Geohash location (turn on the switch for save, it will go to off after some seconds)
- enable the publication switch
- wait for some minutes, the device should be show data icon some times
- your station should be in our Global Map with the special ID showed in the last item of settings
CanAirIO fixed station (fast setup guide)
CanAirIO Documentation
We have a documentation portal with full information about the device and the app usage.
Supporting the project
If you want to contribute to the code or documentation, consider posting a bug report, feature request or a pull request.
When creating a pull request, we recommend that you do the following:
- Clone the repository
- Create a new branch for your fix or feature. For example, git checkout -b fix/my-fix or git checkout -b feat/my-feature.
- Run to any clang formatter if it is a code, for example using the
vscode
formatter. We are using Google style. More info here - Document the PR description or code will be great
- Target your pull request to be merged with
devel
branch
Also you can consider make a donation, be a patron or buy a device:
- Via Ethereum:
- 0x1779cD3b85b6D8Cf1A5886B2CF5C53a0E072C108
- Be a patron: Github Sponsors, LiberaPay
- Buy a device: CanAirIO Bike in Tindie
- Inviting us a coffee: buymeacoffee, Sponsors
NOTE: Supporting our Citizen Science Initiative many people be able to fight for air quality rights in many countries with this kind of problems. More info in CanAir.IO
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.