ProfFan / dw3000-ng

BSD 3-Clause "New" or "Revised" License
10 stars 4 forks source link

Rust DW3000 Driver crates.io Documentation

Introduction

A modernized driver for the Decawave DW3000 UWB transceiver, written in the Rust programming language. We used the crate dw1000 developped for the DW1000 module and changed the registers access and spi functions, added fast command and implemented some high level functions.

Status

Both RTT methods (single and double sided) are working and giving good positioning values. PDoA and TDoA can be enabled optionally (Please read the docs as they require certain configurations!).

Compared to the old dw3000 crate we fixed the GPIOs and LEDs, also got rid of the old unmaintained ieee802154 crate and replaced it with smoltcp.

We mainly test on the ESP32 platform with embassy async framework.

Usage

Include this crate in your Cargo project by adding the following to Cargo.toml:

[dependencies]
dw3000-ng = "1.0"

Documentation

Please refer to the API Reference.

Please also refer to the DW3000 User Manual

Citation

If you are using this in your academic work, please cite it as follows:

@inproceedings{Jiang24hotmobile,
    author = {Jiang, Fan and Dhekne, Ashutosh},
    title = {Demo: uFiμ: An open-source integrated UWB-WiFi-IMU platform for localization research and beyond},
    year = {2024},
    isbn = {9798400704970},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    url = {https://doi.org/10.1145/3638550.3643628},
    doi = {10.1145/3638550.3643628},
    booktitle = {Proceedings of the 25th International Workshop on Mobile Computing Systems and Applications},
    pages = {156},
    location = {San Diego, CA, USA},
    series = {HOTMOBILE '24}
}

CHANGELOG

Current main

(Blank)

1.0.0

0.9.0

0.8.4

0.8.3

0.8.2

0.8.1

0.8.0

0.7.0

0.6.1

0.6.0

0.5.1

0.5.0

License

BSD-3-Clause