0

Smallest Microcontroller for TT Motor All-Metal Gearbox?
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Smallest Microcontroller for TT Motor All-Metal Gearbox?

by Kotoni on Sun Jul 28, 2019 12:34 pm

Is there a suitable and small microcontroller that can make one TT Motor All-Metal Gearbox rotate automatically in two directions?

Kotoni
 
Posts: 7
Joined: Mon Sep 18, 2017 8:35 am

Re: Smallest Microcontroller for TT Motor All-Metal Gearbox?

by adafruit_support_mike on Sun Jul 28, 2019 12:36 pm

The Trinket M0 can generate the appropriate control signals:

https://www.adafruit.com/product/3500

Its pins can’t handle the amount of current the motor will need though. For that, you’d need something like a TB6612:

https://www.adafruit.com/product/2448

adafruit_support_mike
 
Posts: 58856
Joined: Thu Feb 11, 2010 2:51 pm

Re: Smallest Microcontroller for TT Motor All-Metal Gearbox?

by Kotoni on Mon Jul 29, 2019 9:02 am

Thank you so so much!

I'm going to pick those up and try it out. Do you also have a portable battery pack you would recommend for something like this?

Kotoni
 
Posts: 7
Joined: Mon Sep 18, 2017 8:35 am

Re: Smallest Microcontroller for TT Motor All-Metal Gearbox?

by adafruit_support_bill on Mon Jul 29, 2019 9:14 am

A 3x or 4x AA or AAA pack would be a good match. 3x will give you about 4.5v with alkaline cells or 3.6v with rechargeables. 4x will give you 6v or 4.8v. Higher supply voltage (within reason) gives you more speed and torque. We don't recommend higher than 6v for more than brief periods.

https://www.adafruit.com/product/830
https://www.adafruit.com/product/771

LiPo cells at 3.7v are another option. We have a variety of charger options and a wide range of battery capacities.
https://www.adafruit.com/category/574
https://www.adafruit.com/category/575

adafruit_support_bill
 
Posts: 74337
Joined: Sat Feb 07, 2009 10:11 am

Re: Smallest Microcontroller for TT Motor All-Metal Gearbox?

by Kotoni on Thu Aug 08, 2019 10:48 am

Hello again. I can't thank you enough for helping get this figured out!

I got all my parts and I've been mapping out how I might solder it together. Could I trouble you to check my work?

Here are the connections I'm planning to make:
3.7vBattery (Pos and Neg) -> TB6612 (GND and VM)
Motor (Pos and Neg) -> TB6612 (MotorA)
TB6612(GND) -> Trinket M0 (GND)
TB6612(Vcc) -> Trinket M0 (3V)
TB6612(PWMA) -> Trinket M0 (Pin 3)
TB6612(AIN2) -> Trinket M0 (Pin 4)
TB6612(AIN1) -> Trinket M0 (Pin 2)
TB6612(STBY) -> Trinket M0 (Pin 1)

The attached picture is my rough layout drawing.
doodle.jpg
doodle.jpg (384.25 KiB) Viewed 63 times


Lastly, I read the description on the TT Motor that said:
"The TB6612 can also be used, it's on our shields and wings, but you'll need to supply at least 4.5V - which is what you'll likely want to run these motors at anyhow!"

I was planning to use the https://www.adafruit.com/product/258 Do you think that is enough to run the one motor?

Thank you!

Kotoni
 
Posts: 7
Joined: Mon Sep 18, 2017 8:35 am

Re: Smallest Microcontroller for TT Motor All-Metal Gearbox?

by adafruit_support_bill on Thu Aug 08, 2019 12:10 pm

The TB6612 has a low-voltage cutoff that limits current when the voltage is below about 4.5v. That is to protect against overloads when the battery voltage drops. The TB6612 is really optimized for 5v-12v operation.

adafruit_support_bill
 
Posts: 74337
Joined: Sat Feb 07, 2009 10:11 am

Re: Smallest Microcontroller for TT Motor All-Metal Gearbox?

by Kotoni on Fri Aug 09, 2019 10:22 am

adafruit_support_mike wrote:The Trinket M0 can generate the appropriate control signals:

https://www.adafruit.com/product/3500

Its pins can’t handle the amount of current the motor will need though. For that, you’d need something like a TB6612:

https://www.adafruit.com/product/2448


Hey Mike!

If you have the time, would you mind taking a peek at the picture I posted below and let me know if i'm on the right track for how to solder everything together?

Thank you!

Kotoni
 
Posts: 7
Joined: Mon Sep 18, 2017 8:35 am

Please be positive and constructive with your questions and comments.