Source code of firmware v1.02

Ben,
Can you guys provide source code of your Orangutan X2 168 Firmware? We have a slightly different PWM driver that we want to drive using an Orangutan X2. This different driver doesn’t take a PWM and a direction signal, but it requires a digital PWM signal on one or the other pin depending on the direction. We were hoping that a minor tweak to the firmware code would let us do this. Please do let us know -

thanks,
Sandeep

Hello.

Unfortunately the auxiliary microcontroller on the X2 will not have enough available hardware PWMs for you to be able to control your motor driver in this way. On top of this, a least for now, we do not plan on making the X2 firmware public. Our recommendation is that you construct a simple circuit using several AND gates to convert the X2’s control signals into the control signals your motor driver needs. For example, one of your motor driver’s input pins could be the output of X2 direction pin 1 AND the PWM while the other of your motor driver’s input pins could be the output of X2 direction pin 2 AND the PWM.

Another option is for you to provide the control signals to your motor driver using the main mega644 microcontroller.

- Ben