Raspberry Pi 3 B+ Compatibility With MAXSwerve

I am trying to make a Raspberry Pi 3B+ control a set of MAXSwerve modules. Has anyone attempted this or have any ideas of what would be needed to make this work?

You can control the motor controllers with pwm but it’ll take a lot of code, correct me if I’m wrong but the absolute encoders would also require a dedicated hardware solution

The REV through bore encoder’s output signal isn’t proprietary its just PWM output.
But yeah it will require a good amount of work to engineer a solution to control the swerve modules effectively using a Raspberry Pi.

I more meant in the aspect of the amount of pwm pins on the 3b, from my understanding there’s like at the very most 8 pwm channels including the audio ones

You can always get a PWM hat if you need more PWM outputs. Something like this

1 Like