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

no-std pmw3901-ehal

PMW3901 optical flow driver for embedded-hal no_std applications

1 unstable release

0.1.0 Jul 16, 2020

#1386 in Embedded development

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