Developer
Ask a QuestionBlecon WebsiteBlecon Console
  • Learn Blecon
    • Introduction
    • Blecon Modems
      • Device Identity and Network Security
      • Modem Firmware vs Modem Library
      • Using the Modem
      • Communicating with the cloud
      • Sending data from the cloud to a device
    • Blecon Hotspots
    • Blecon Networks
      • Blecon Accounts
      • Registering devices
        • The Blecon Scanner
        • Blecon Scanner Developer Guide
      • Blecon Events
      • Cloud Integrations
  • Cloud Integrations
    • Webhook
    • AWS S3
    • AWS SQS
    • AWS EventBridge
    • Memfault
  • Getting Started Guides
    • Getting started index
    • Install the Blecon Modem Firmware
    • Set up a Blecon Hotspot
    • Use Blecon from your computer with the Blecon CLI
    • Create a Network and register a device
    • Send device requests and events to your web service
    • Use Blecon from a Development Board
    • Use the Blecon Modem from an MCU
  • Device Guides
    • KKM S5-BCN
  • Development Board Guides
    • Supported Development Boards
    • Ezurio DVK-BL54L15
    • Fanstel EV-BM15C
    • InsightSiP ISP2454-LX-EB
    • Nordic nRF52840DK
    • Nordic nRF54L15DK
    • Minew ME54BE01
    • Panasonic PAN-B511 EVB
    • Raytac AN54L15Q-DB
    • u-Blox EVK-NORA-B20
  • Modem Reference
    • Modem Firmware Releases
      • nRF54L15 DK
      • nRF52840 Dongle
      • nRF52840 DK
    • CLI Releases
    • SDK Releases
    • Modem API Reference
    • Modem Protocol Reference
      • Request Frames
      • Command Protocol
      • UART Transport
    • Guides and best practices
      • Retrieve a device's identity
  • Cloud Reference
    • Configuration API
    • Advanced event routing
  • Hotspot Reference
    • Blecon Hub
Powered by GitBook

Get Support

  • Ask a question
On this page
  • Overview
  • Hardware
  • System
  • Physical
  • Pre-installed Firmware
  • Receiving data from the S5-BCN
  • Memfault Setup and OTA
  • Alternative firmware variants
  1. Device Guides

KKM S5-BCN

Reference for the KKM S5-BCN temperature/humidity/motion sensor

PreviousUse the Blecon Modem from an MCUNextSupported Development Boards

Last updated 2 months ago

Overview

The S5-BCN temperature, humidity, and motion sensor is a Blecon device made by 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 customizations to the pre-installed firmware and deploy them without having to physically flash the hardware.

Hardware

System

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

Physical

Dimensions
38mm diameter x 12 mm height

Weight

24g

Environmental

IP67

Pre-installed Firmware

Receiving data from the S5-BCN

A typical log report payload from the S5-BCN has the following structure (after decoding):

{
    "uptime": 305,
    "battery": 2950,
    "events": [
      {
        "id": 123
        "time": "2025-01-21T22:00:02+00:00",
        "type": "temperature_humidity_update",
        "temperature": 25.82,
        "humidity": 49.05
      }
    ]
}
Field
Description

uptime

device uptime in seconds

battery

device battery voltage in mV

events

list of logged temperature and motion events

Events

Field
Description

id

ID to disambiguate events

time

timestamp of the event

type

temperature_humidity_update , motion_start, motion_stop, or motion_vector

Temperature/Humidity Updates

Field
Description

temperature

Temperature in °C

humidity

% Relative humidity

Motion events

  • motion_start - time movement started

  • motion_stop- time movement ended

  • motion_vector- (x, y, z) acceleration vector of resting position

Memfault Setup and OTA

When building new versions of the firmware for OTA, the firmware needs to be configured with and uploaded to Memfault with the following scheme:

Configuration Field
Value

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

Alternative firmware variants

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 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 .

The S5-BCN submits logged data to the Blecon network and the messages it sends can be connected to any you have set up on your network.

Data from the S5-BCN arrives as with the namespace kkm_s5_bcnand with the method log

To connect S5-BCN devices with Memfault, follow the instructions in theguide. Use the default namespace of memfault.

The contains alternative firmware variants for the S5-BCN. These can be built and directly flashed onto the hardware or deployed using OTA.

The 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.

Memfault
available from the Blecon GitHub repository
integrations
events
Memfault Integration
Blecon firmware repository
sensor-memfault
KKM