This project shows you how to build a Bluetooth Low Energy environmental sensor with the Adafruit nRF52840 Express and the Adafruit BME680. The program rests using very little power until a timer powers up the sensor and broadcasts the readings. These readings are received and logged into a SQLite database by my Bluetooth Low Energy Sensor Service project. I've also provided a CGI so you can RESTfully query the data in JSON and inspect it with interactive data graphics powered by Plotly.
I used the Zephyr Project to build this project. If you plan to do the same, and you're not already familiar with it, you'll want to follow the directions in the Getting Started guide. If you don't already own a Segger J-Link taking up this project is a great reason to buy one.
- Adafruit Feather nRF5280 Express
- Lithium Ion Battery Pack - 3.7V 6600mAh
- Pololu 5V Step-Up Voltage Regulator U1V11F5
- Adafruit BME680 - Temperature, Humidity, Pressure and Gas Sensor - STEMMA QT
I designed a battery box with a circuit compartment and a lid to hold this project. (See the pictures below.) After you print the parts you'll need to epoxy in three plastic stand-offs so you can use M2.5 plastic screws to hold the parts together. In the circuit compartment I used museum putty to anchor the boards. My hope is that this approach will make it easy to re-use the box for my next project since the putty is easy to remove.
If you find a bug please create an issue. If you'd like to contribute please send a pull request.