Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 2.17 KB

README.markdown

File metadata and controls

42 lines (28 loc) · 2.17 KB

moca-hcho: Bluetooth 5 BLE formaldehyde/temperature/humidity sensor beacon

moca-hcho is a simple Bluetooth Low Energy sensor beacon that uses a Sensirion SFA30 Formaldehyde Sensor Module to sense formaldehyde/temperature/humidity. This information is measured and sent periodically using Bluetooth BLE advertisements, which can be received by any Bluetooth 4.0+ device within range.

Wall-mounted moca-hcho with banana for scale

Overview:

  • Enclosure: Hammond 1551V4WH vented sensor enclosure (wall-mountable)
  • Sensor: Sensirion SFA30 Formaldehyde sensor module
  • Microcontroller: Fanstel BT832 Bluetooth module with Nordic nRF52832
  • Power supply: external +5V power supply
  • Firmware (less than 1 kLOC) is written in Rust using the Embassy embedded async/await framework
  • Data is sent periodically using Bluetooth BLE advertisements that are very simple to send and receive
  • Not FCC/Bluetooth/etc certified/qualified but a "best effort" -style approach is used by using qualified BT832 module with integrated antenna + qualified Nordic S112 SoftDevice Bluetooth stack.

moca-hcho v1.0 assembled, without lid

Potential future improvements

  • Tidy up the code...currently the code is very crude and could use a lot of polish and some tests should be written
  • Improve environmental coupling of the sensor. The vented enclosure works fine, but SFA30 Design-In Guide suggests even better environmental coupling options
  • Add encryption. Unencrypted advertisements can be read or spoofed by anyone
  • Re-evaluate the feasibility of using a battery

License

Hardware is licensed under Creative Commons Attribution 4.0 International.

Firmware is licensed under either of

at your option.