NFC-Assisted Secure Pairing

nRF52840 Bluetooth Hub

Headless IoT platform achieving zero-UI onboarding. Uses NFC Type 2 Tag emulation for hardware-derived cryptographic pairing, enabling seamless tap-to-connect for standard browsers via Web Bluetooth API.

Zephyr RTOSNFC NDEFWeb BluetoothBLE 5.0
nRF52840 Bluetooth Hub, NFC-Assisted Secure Pairing

Overview

Headless BLE sensor hub with NFC-assisted secure onboarding: tap with phone, open web UI, and pair with hardware-derived passkey.

Role
Concept, hardware, firmware, bring-up
Duration
Project-specific
Prototype · documented
Prototype · documented

Highlights

  • Security Level 4 BLE pairing with authenticated GATT characteristics
  • NFC Type 2 Tag handoff with deterministic 6-digit passkey derivation
  • Web Bluetooth dashboard with real-time telemetry and audio visualization
  • Battery-aware TX power adaptation for range vs. runtime balancing

Specifications

Pairing
NFC 6-Digit Passkey
Interface
Web Bluetooth API
Security
AES-128 CCM (Level 4)
Sensors
LSM6DS3TR-C IMU, PDM Mic
Software
Zephyr RTOS Preemptive Threads

Details

NFC-Assisted Secure Pairing

Security Workflow

  • Passkey is derived from immutable silicon identity and mapped into NFC handoff URI.
  • Pairing requires authenticated encryption before any characteristic access.
  • Bonding persists through Zephyr settings/NVS for seamless reconnects.

Real-Time Stack

  • Zephyr preemptive threads for sensor, audio, and main workqueue processing.
  • Custom BLE service includes six characteristics for IMU, audio, battery, TX power, and control.
  • Non-blocking design with periodic workqueues and low-power aware scheduling.

Web Dashboard

  • Browser-native Web Bluetooth without native app installation.
  • Live charts, FFT/spectrogram insights, session export, and secure remote reset.
  • PIN hint via URL parameter with short expiry for safer onboarding UX.

Project video

Demo video

Duration 0:39

Click the play button to watch.

Gallery

nRF52840 Bluetooth Hub

Click an image to open it large. Use the arrow keys to switch between views.

Downloads & documents

Documents

More projects

Hardware that works

Back to all projects
ChromaRF, Wireless Video Streaming onto a 0.96" SPI Display
01 Prototype · documented

Wireless Video Streaming onto a 0.96" SPI Display

ChromaRF

A self-contained display device with no app and no dedicated receiver. Any browser scales a camera or screen feed to 160 x 80, compresses it as JPEG and streams it over Wi-Fi/WebSocket to a Seeed XIAO ESP32-C6, which decodes it in ROM and pushes it to an ST7735S TFT in a single SPI transfer. Two carrier builds share the same XIAO form factor: an ESP32-C6 build for Wi-Fi video and an nRF52 build that delivers true ultra-low-power operation.

ESP32-C6nRF52Zephyr RTOSTJpgDecWebSocket
Builds
XIAO ESP32-C6 (Wi-Fi) + XIAO nRF52 (ultra low power)
MCU
Seeed XIAO ESP32-C6 / XIAO nRF52
Display
0.96" ST7735S 160 x 80 SPI
View project