hackAIR workshop in a primary school

Bring together in one room: 21 enthusiastic kids, an air quality expert from the VUB (Free University of Brussels), smartphones in the classroom and many empty drink cartons to build their own cardboard sensors. These were the ingredients for the hackAIR workshop at a primary school in Brussels – a big success!  

What do you already know about air quality? How is the air quality in your city, around the school, in your street? And what could you do next week for a better air quality in your neighbourhood?

The 8-10 year old pupils were very eager to answer, discuss and explore these questions using the hackAIR platform. Carina Veeckman (VUB) did a great job in explaining and guiding the children into the world of air quality. And well: they had so many questions!

After a round of theory and platform exploration the kids went outside to take photos of the sky with smartphones and tablets. And so they did the next day (and the next day…)

In the next round they were ready to build their own hackAIR cardboard sensor. Cutting, folding, bending, coating.

At the end of the afternoon 6 sensors were placed at the school gate and several more taken back home to measure the local air quality in the children’s neighbourhoods.

And finally the kids made posters to convince all the parents of the school to act for better air quality. What convincing activists they are!  

This workshop was co-hosted by Inge Jansen (ON:SUBJECT) and Carina Veeckman (VUB). This workshop report was written by Inge Jansen.

How to upgrade your hackAIR sensor

The hackAIR project is slowly coming to an end! While our servers will still remain live for a while, we want to make sure you can continue to use your own sensors as long as possible. For that purpose, we have started a collaboration with OpenSenseMap and created an improved version of the software running on our sensors that sends measurements to both OpenSenseMap and hackAIR.

Below are the step-by-step instructions to upgrade your hackAIR sensor with the new software version. Note: We’ve tested the new software, but we provide these instructions without guarantee. If you have suggestions to improve them, let us know!

3 Steps to upgrade your sensor and make it compatible with OpenSenseMap:

Step 1: Get your access keys

  • Go to https://opensensemap.org and create an account (→ Register)
  • Register your sensor ( → New SenseBox),  select hackAIR as the sensor type and take note of your senseBox ID and senseBox access token.
  • Go to your profile on http://platform.hackair.eu and take note of your hackAIR access key as well.
  • Connect the sensor to your computer with a micro-USB cable.

Step 2: Upgrade your sensor

These instructions assume that you have installed hackAIR software on your sensor before. If this is your first time, start with Step 2a below before continuing here.

  • Open the Arduino IDE and install the following additional libraries (Sketch ➞ Include Library ➞ Manage Libraries…)
    • Adafruit_MQTT Library by Adafruit
    • ArduinoJson by Benoit Blanchon (Attention! Use version 5.13.2, not version 6)
    • ESP8266 InfluxDb by Tobias Schürg
  • Download the new hackAIR sensor software from https://github.com/hackair-project/hackair-v2-advanced and open it. Then upload it to your sensor using Sketch → Upload. That’s it!

Step 3: Connect your sensor to your WiFi

  • Disconnect the sensor from the computer. When you power it up, it will create a temporary WiFi network. With your laptop or phone, connect to the WiFi network ESP-wemos. Go to 192.168.4.1 and configure the WiFi by entering the details of your home WiFi (SSID and password).
  • You will also be asked for your hackAIR access key and your OpenSenseMap credentials (senseBox ID and senseBox access token).
  • Once set up correctly, the temporary network will disappear and the sensor starts sending measurements to both platform.hackair.eu and opensensemap.org.

Happy measuring!

——————————————

Step 2a: If this is the first time installing software on your hackAIR sensor

  • Download, install and open the Arduino IDE
  • add the board manager http://arduino.esp8266.com/stable/package_esp8266com_index.json
  • Go to Tools ➞ Board ➞ Boards Manager… and select LOLIN(WEMOS) D1 R2 & mini
  • Select the correct port by going to Tools ➞ Port ➞ [name of the port]
  • Install libraries. Click on Sketch ➞ Include Library ➞ Manage Libraries… and install the following libraries:
    • WiFiManager by tzapu
    • DHT sensor library by Adafruit
    • Adafruit Unified Sensor by Adafruit
    • hackAIR by Thanasis Georgiou

Copyright 2021. All rights reserved

Take part in this short survey and help us improve your hackAIR experience.