This library provides support for the Arduino Portenta UWB Shield, enabling Ultra-Wideband (UWB) communication capabilities for Arduino Portenta boards.
The Arduino Portenta UWB Shield adds secure ranging and positioning capabilities to your Portenta projects through Ultra-Wideband technology. This library provides the necessary software interface to utilize these features.
- Two-way ranging (TWR) support
- TDoA support
- Apple Nearby Interaction API with 3rd party devices support
- Distance measurement between UWB devices
- Session management for multiple connections
- Configurable device roles (Controller/Controlee/etc)
- Comprehensive error handling
- Easy-to-use Arduino API
For a comprehensive introduction to UWB technology and how to use this library, please refer to our UWB Primer guide.
- Open the Arduino IDE
- Go to Tools > Manage Libraries...
- Search for "Portenta UWB Shield"
- Click Install
The library includes several examples demonstrating different features:
- Two-way ranging
- Distance measurement
- Multi-device communication
You can find these examples in the Arduino IDE under File > Examples > PortentaUWBShield.
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
For technical support and questions:
- Create an issue on GitHub
- Visit the Arduino Forum
Copyright (c) 2025 Truesense Srl