KKM S5-BCN
Reference for the KKM S5-BCN temperature/humidity/motion sensor
Last updated
Reference for the KKM S5-BCN temperature/humidity/motion sensor
Last updated
The S5-BCN temperature, humidity, and motion sensor is a Blecon device made by KKM and distributed by Blecon. The S5-BCN comes ready to connect to your Blecon network. The S5-BCN is IP67-rated and suitable for use in wet/humid environments.
The pre-installed firmware is fully open-source and includes built-in support for Memfault OTA update. This means you can easily make modifications and customisations to the pre-installed firmware and deploy them without having to physically flash the hardware.
Processor / SoC
Nordic nRF52833
External SPI Flash
512KB
Temperature and Humidity Sensor
Sensirion SHT40
Motion Sensing
ST LIS3DH
LED
1x Red (inside enclosure)
Input
1x Tactile Switch (inside enclosure)
Battery
CR2477
Dimensions
38mm diameter x 12 mm height
Weight
24g
Environmental
IP67
The firmware that is pre-installed on the S5-BCN logs humidity and temperature readings every minute as well as sudden motion events. The S5-BCN attempts to submit logged data via Blecon requests every 5 minutes. The pre-installed firmware also comes with Memfault support built-in and is ready to connect to a Memfault account to enable OTA update.
If you need to customise the behaviour of the S5-BCN, the Zephyr-based firmware for the S5-BCN is fully open source and available from the Blecon GitHub repository.
The S5-BCN submits logged data to the Blecon network and the messages it sends can be connected to any integrations you have set up on your network.
Data from the S5-BCN arrives as events with the namespace kkm_s5_bcn
and with the method log
A typical log report payload from the S5-BCN has the following structure (after decoding):
uptime
device uptime in seconds
battery
device battery voltage in mV
events
list of logged temperature and motion events
id
ID to disambiguate events
time
timestamp of the event
type
temperature_humidity_update
, motion_start
, motion_stop
, or motion_vector
temperature
Temperature in °C
humidity
% Relative humidity
motion_start
- time movement started
motion_stop
- time movement ended
motion_vector
- (x
, y
, z
) acceleration vector of resting position
To connect S5-BCN devices with Memfault, follow the instructions in the Memfault Integration guide. Use the default namespace of memfault.
When building new versions of the firmware for OTA, the firmware needs to be configured with and uploaded to Memfault with the following scheme:
Software type
main
Hardware version
kkm_s5_bcn
Software version
major.minor.patch
with optional pre-release and metadata suffixes.
Example:
3.3.2+sensor-memfault-metrics
The Blecon firmware repository contains alternative firmware variants for the S5-BCN. These can be built and directly flashed onto the hardware or deployed using OTA.
The sensor-memfault
variant of the firmware exercises more of Memfault's metric capturing and crash reporting features. For instance this variant allows a flag to be set to cause the firmware to crash.