Skip to content
This repository was archived by the owner on Apr 15, 2025. It is now read-only.

Deploying Plan

Ben Thorpe edited this page May 25, 2023 · 6 revisions

Air Quality Sensor

To build code and flash the board simply run these two commands:

west build -p auto -b thingy52_nrf52832

west flash -r jlink

The Air Quality Sensor requires no further configuration, it advertises a custom air quality service:

UUID = c55e4011-c55e-4011-0000-c55e40110001

Characteristics:

CO2 parts per million, UUID = c55e4011-c55e-4011-0000-c55e40110002

TVOC parts per billion, UUID = c55e4011-c55e-4011-0000-c55e40110002

Flower

Setup

  • Assembly: Follow instructions at https://www.instructables.com/Blooming-Marvelous-Flower-Lamp/
  • Attach the Circuit Playground Express to the top of the flower
  • Place the Particle Argon into the Adafruit CRICKIT FeatherWing
  • Connect the servo motor to Servo 1 of the Adafruit CRICKIT FeatherWing
  • Connect A6 from the Circuit Playground Express to the signal I/O 1 of the Adafruit CRICKIT
  • Connect A7 from the Circuit Playground Express to the signal I/O 2 of the Adafruit CRICKIT

Flashing The Boards

Connect each of the boards to a pc via usb cable, then using the Mu Editor simply save the code.py files in the root directory along with any libraries provide in the lib folder

Operation

Plug in the power cable to the Adafruit CRICKIT board and it will automatically scan for the air quality sensor and advertise for connection To change the air quality sensor just change the target value in the Particle Argon code.py file

Remote GUI

Simply run the python script, by default it will connect to the flower with mac address f6:f3:69:60:38:74, however this can be changed with command line arguments, the first command line argument specifies the target, the second specifies if data should be uploaded to the web dashboard

Clone this wiki locally