#optical-flow #embedded-hal-driver #sensors #hal-driver #pmw3901 #gnc

no-std pmw3901-ehal

PMW3901 optical flow driver for embedded-hal no_std applications

2 releases

0.1.1 Mar 23, 2025
0.1.0 Jul 16, 2020

#990 in Embedded development

Download history 41/week @ 2024-12-08 9/week @ 2024-12-15 1/week @ 2024-12-22 5/week @ 2024-12-29 7/week @ 2025-01-05 3/week @ 2025-01-12 5/week @ 2025-02-09 2/week @ 2025-02-16 106/week @ 2025-03-23

106 downloads per month

BSD-3-Clause

1.5MB
137 lines

pmw3901-ehal

Rust no_std embedded hal driver for the pmw3901 optical flow sensor hardware.

Notes

  • The only supported mode for debugging is RTT with the rttdebug feature. This is because common flight controller hardware that uses the sensor only provide a SWD interface (no easy ITM solution).

License

BSD-3-Clause: see LICENSE file

Status

Work in progress

  • support for SPI interface
  • example using PX4-based flight controller embedded hardware

lib.rs:

An embedded-hal no-std driver for the PMW3901 optical flow sensor.

Dependencies