-
Notifications
You must be signed in to change notification settings - Fork 0
Deploying Plan
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
- 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
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
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
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