Couple of questions with Dagu T'Rex Controller

Hi Guys

Just trying to get my excellent new controller board up and running in my project. I'm only using the left motor and nothing was happening but have found from searching the pin assignments are not correct in the sample code is that right? I've switch around right and left and can now operate the motor, but current sense isn't working. Before I spend too long debugging I was going to try and get a correct list of pins in case maybe the current sense pins didnt need to be swapped?

Also the motor fault LED is great - is there a way to read this programmatically to detect a fault condition? I'm switching over to this controller from using a polulu motor driver shield and you can read a diag pin on that so just wondering if I can do the same on this board?

Thanks

Mick

Thanks for the replies guys.

Thanks for the replies guys. I figured out the motor drive pins are incorrect in the sample code vs the supplied pcb, however the current sense pins are correct. I’m not sure about the brake pin as I’m not using that functionality at the moment. You may want to try this and update the sample code??

Thanks for response on fault condition. I wasn’t sure what conditions you were using to light the fault LED. I’m already monitoring current draw. I guess if I got really keen I could unsolder LED and use a wire jumper to input pin.

Cheers,
Mick