VictorSPX Controller with Orange Pi

I’m working on an engineering project, for which I need to be able to control a motor’s speed using a controller of some sort. Due to cost, we’ve opted for an Orange PI 3+ as our brain, and we have a VictorSPX motor controller hooked up to the actual motor. I’m intending to use the VictorSPX in PWM mode since as far as I know, the Orange Pi doesn’t really have CAN support, but I haven’t really found any docs for how to actually use the controller with a non-Roborio device. Any info on this would be greatly appreciated in terms of the hardware/connectivity and software needed to do this.

You could put a USB-CAN converter on the OPi3+, but then you’d also need to get that converter to use the FIRST CAN frames and give it an Enable signal on the CAN bus and etc etc, so your idea of using the PWM mode is going to be much simpler and more achievable.

The PWM mode is sometimes referred to as “hobby servo PWM”. Without being familiar with OPi3+, there are libraries for Raspberry Pi that use GPIO as PWM outputs and so I presume the OPi3+ has GPIO pins that can be set to PWM modes as well.

Some background on PWM:

https://learn.sparkfun.com/tutorials/hobby-servo-tutorial/all

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.