Re-mapping the pins on the TB9051FTG motor driver shield


I have a question about the Dual TB9051FTG Motor Driver Shield for Arduino.
I want to use it with an A* 32U4 Prime SV, but I don’t want to give up I2C and the buzzer.
So my questions are about re-mapping pins 2 and 6.

  1. if I map M1EN from pin 2 to pin D1 and M1DIAG pin 6 to D0 will I have problems uploading programs using the Arduino IDE via an USB cable? Will the Arduino IDE Serial Monitor still work?
  2. would I have any issues if I map pins 2 and 6 to pins 15 and 16 on the A* 32U4 Prime?

Thanks a ton Tom


  1. On the ATmega32U4, pins 0 and 1 are connected to Serial1 (the TTL serial interface) and not used for the Serial Monitor or communication with the computer (like they are on the ATmega328P), so it should be fine to use them.

  2. Pins 15 and 16 on the A-Star 32U4 Prime are used for the microSD card; if you are not using that feature (or have a version that doesn’t have support it), then it should be fine to use those pins.


Thank you Brandon!

1 Like