0

I am currently using four TB6612FNG motor drivers to power eight individual motors simultaneously. For three of them everything works without a problem, but for one (connected to the pins 14,15, 23,24 and STANDBY to 18), the raspi seems to suddenly stop outputting from the abovementioned pins after 1-3 seconds pass. disconnecting and reconnecting the motor driver seems to take care of the issue sometimes, but the issue of the raspberry gpio pins not working anymore remains.

I already tried disconnecting all but the one motor driver connected to these pins, as well as replacing the motor driver itself with a new one, but the problem remains. Is it possible for the raspberry pi to have some issues with these specific GPIO pins?

  • 1
    sometimes after reconnecting the motors even work for 10-25 seconds, but always abruptly stop responding at all afterwards until either the connectors to the motor driver or the connectors from the driver to the motors themselves are reconnected – Yes Aug 1 at 13:44
  • 1
    Don't add additional information to comments - edit it into your question. What pin numbering system are you using? – joan Aug 1 at 14:00
  • 1
    Hi @Yes, Wellcome and nice to meet you. Ah, let me see. Very briefly, you are using 4 sets of 5 GPIO pins each to control 4 TB6612FNG motor drivers, each driver drives two motors, altogether 8 motors. Let us name the 4 sets of GPIO pins Set A, Set B, Set C, Set D. You problem is the following: Set A, B, C have no problems. (1) Only Set D has a problem, can only move motor for 1 to 3 seconds. (2) Swap driver board and motor, Set D problem does not go away. I think you would agree that at least one of the five Set D GPIO pins is not working properly. I would suggest to do the following: ... – tlfong01 Aug 1 at 14:45
  • 1
    (a) Swap one of Set D pins with one of Set A, and test Set A again, if now Set A now has a problem, then of course the newly swapped in Set D pin is the trouble maker. But if Set A with one Set D pin swapped in has no problem, then swap another Set D pin and try Set A again, this way, you should have found at least one to four Set D pins have a problem. What I am suggesting is the common swap and test method. – tlfong01 Aug 1 at 14:48
  • 1
    BTW, I am assuming you are using the following: (1) Dual TB6612FNG motor driver - US$5 aliexpress.ru/item/32466224012.html (2) TB6612FNG Driver IC for Dual DC motor - Toshiba sparkfun.com/datasheets/Robotics/TB6612FNG.pdf. Please let me know otherwise. Good luck and cheers. – tlfong01 Aug 1 at 14:49
0

as @tlfong01 said the problem was one of the pins being damaged, switching pins was the solution.

| improve this answer | |
  • 3
    How do you know one of the pins was damaged? I suspect there is nothing wrong with the Pi GPIO. – joan Aug 1 at 16:34

Not the answer you're looking for? Browse other questions tagged or ask your own question.