#motor-control #motor #robotics #encoder #pid

tele0592

Control an alternate firmware for the DFR0592 DC motor driver hat

4 stable releases

1.1.1 Sep 21, 2024
1.0.1 Sep 14, 2024

#278 in Hardware support

Download history 214/week @ 2024-09-09 169/week @ 2024-09-16 27/week @ 2024-09-23 37/week @ 2024-09-30

95 downloads per month

GPL-3.0-or-later

34KB
495 lines

This crate allows controlling a DFR0592 DC motor driver hat running an alternate free software firmware.

By default, this crate can communicate with the controller firmware using an I²C port. It can also communicate with the I²C bootloader developed along with the firmware when using the bootloader feature of this crate.

About the alternate firmware

The alternate firmware and the I²C bootloader can be found in the same repository as this crate: https://gitlab.telecom-paris.fr/software/dc-motor-driver-hat.


lib.rs:

Usage

Most users will want to use the controller module in which commands needed to interact with the motors and the encoders can be found, or the reexported Controller trait.

Dependencies

~0.4–1MB
~21K SLoC