/zephyr_ble_sensor

Bluetooth Low Energy Environmental Sensor for Adafruit nRF52840 Express and Adafruit BME680.

Primary LanguageCApache License 2.0Apache-2.0

Bluetooth Low Energy Environmental Sensor

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.

Schematic

Eechema Schematic

Building

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.

Materials List

Notes on Construction

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.

Assembly Images

IMG_0003.jpeg

IMG_0002.jpeg

IMG_0001.jpeg

Bugs, Issues, and Pull Requests

If you find a bug please create an issue. If you'd like to contribute please send a pull request.