have a seat.

Collect data of public chairs, how they are used, how often, on what time, at which position (sun, shadow)

Goal of the challenge #moveandchill of makezurich.ch 2020

Proof of concept based on the Arduino Nano BLE 33 to measure how public chairs are used in the city of Zurich during the #makezurich hackathon.

It is an implementation of the #moveandchill challenge.

See the RESULTS for a summary of the achievements.

Resources

Setup

git submodule update --init --recursive

Resources and ideas

Things to do

  • [X] 1st connection of arduino nano 33
  • [X] build arduino library to commuincate with murata module
  • [X] occupancy detection of a chair
    • [X] infrared
    • [X] flexbend (quadratic)
    • [X] strain gauge / load cell with HX711
  • [X] function to check if chair in the sun or not
  • [X] measure duration of occupancy
  • [X] send data to ttn
  • [X] pass data to some db which is publicly available
  • [ ] detect position of chair

Manual fix about attachInterrupt only calling one

  • see this patch
  • fixed in this file: ~/.platformio/packages/framework-arduino-nrf52-mbedos/cores/arduino/Interrupts.cpp

Inital setup calls I did to set things up (platformio)

pio project init --board nano33ble
pio lib install 6590 # hts221 (temperature, humidity) 
pio lib install 6591 # lps22hb (barometric pressure)
pio lib install 6589 # lsm9ds3 (9-axis imu)
pio lib install 6616 # light APDS9960
pyenv virtualenv 3.7.8 chair
pyenv local chair
cd lib; git submodule  add [email protected]:2ni/lorawan_modem.git
This content is a preview from an external site.
 

Event finished

31.10.2020 14:30

Repository updated

31.10.2020 13:20 ~ 2ni

A prototype on the breadboard has been implemented. No designs yet of data visualisation or product case or alike.

31.10.2020 13:20 ~ 2ni

Repository updated

31.10.2020 08:41 ~ gonzalocasas

Edited content

24.10.2020 08:44 ~ 2ni

Joined the team

23.10.2020 18:40 ~ matteo_pacher

Challenge posted

23.10.2020 18:06 ~ 2ni

Event started

23.10.2020 15:00
 
Contributed 2 years ago by 2ni for Make Zurich 2020

Everyone at the event is required to agree with our Code of Conduct: Be excellent to each other!

The contents of this website, unless otherwise stated, are licensed under a Creative Commons Attribution 4.0 License.
Creative Commons Licence

Make Zurich 2020