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

no-std pmw3901-ehal

PMW3901 optical flow driver for embedded-hal no_std applications

2 releases

new 0.1.1 Mar 23, 2025
0.1.0 Jul 16, 2020

#987 in Embedded development

Download history 33/week @ 2024-12-04 29/week @ 2024-12-11 5/week @ 2024-12-18 10/week @ 2025-01-01 5/week @ 2025-01-08 7/week @ 2025-02-12 102/week @ 2025-03-19

102 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