Ultra-Wideband Remote Lock System

ultrawidebandremotelocksystem

Ultra-Wideband Remote Lock System

Description:

This project implements a secure, real-time bidirectional UWB (Ultra-Wideband) communication and control system using Nordic nRF52 hardware and the Qorvo/Decawave UWB stack. It enables precise wireless distance measurement and event-driven payload exchange between embedded boards, with custom logic for servo actuation in response to UWB-triggered events. The system features FreeRTOS-based multitasking, microsecond-accurate software PWM for servo control, and comprehensive diagnostic logging. This project incorporates frequency hopping and rolling-code synchronization to resist replay and desynchronization attacks. The protocol uses AES-CCM* authenticated encryption to guarantee payload confidentiality, integrity, and authenticity, making it well-suited for safety-critical IoT and control applications. A robust rolling-code windowing mechanism on the responder enables automatic resynchronization in the presence of packet loss or reordering, significantly improving reliability in noisy RF environments. Integrated diagnostics and signal-quality monitoring provide real-time visibility into link health, error states, and protocol events, enabling efficient debugging, field validation, and secure wireless control.