Notifications
Clear all

Motor Controllers for Arduino four-wheel robot motors

6 Posts
3 Users
2 Reactions
55 Views
(@tmatatu)
Member
Joined: 3 days ago
Posts: 3
Topic starter  

My name is Tendeka and I work as a Computer Science teacher and I have started a Coding and robotics club at my school. I need help in the best way to connect the TB6612 fng motor driver to a four-wheel car robot. Any help?


   
Quote
(@dronebot-workshop)
Workshop Guru Admin
Joined: 5 years ago
Posts: 1102
 

Hi Tendeka, welcome to the forum. 

I have used the TB6612FNG H-bridge in many of my videos; an example of driving a 4-wheel car is the Mecanum Wheel robot car I built:

The motor wiring would be identical for a non-Mecanum wheel design; you would only have to change the code slightly for it being a 4-wheel device. This design drives each wheel independently.

You could also use a single TB6612FNG and drive two motors with each channel, but the motors would have to be small. Personally, I like driving them independently.

😎

Bill

"Never trust a computer you can’t throw out a window." — Steve Wozniak


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 7375
 

@tmatatu Welcome to the forum. You have received help from the 'man' himself, nobody can do better.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
huckOhio reacted
ReplyQuote
(@tmatatu)
Member
Joined: 3 days ago
Posts: 3
Topic starter  

Thank you  Bill for the video using Mecanum wheels and how you can interface using two BT6612 FNG drivers. There are people who have suggested connecting to a single BT6612 FNG using pairs of motors in parallel. Would you recommend this?


   
ReplyQuote
(@dronebot-workshop)
Workshop Guru Admin
Joined: 5 years ago
Posts: 1102
 

As I said in my comment, I personally wouldn't do that, but it can be done. You need to be sure that the stall current of both motors combined is less than the peak current of the TB6612FNG.

By driving them independently, you can control each motor and compensate for speed differences, which are common with cheap DC motors. And you can use bigger motors, as you are not sharing the current capabilities of the H-Bridge. But of course, it takes two modules and twice as much wiring to the microcontroller.

😎

Bill

"Never trust a computer you can’t throw out a window." — Steve Wozniak


   
ReplyQuote
(@tmatatu)
Member
Joined: 3 days ago
Posts: 3
Topic starter  

Point taken. Much appreciated responses.


   
ReplyQuote