Max stepper speed on motor shield V2

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Max stepper speed on motor shield V2

Post by adafruit_support_bill »

The TB6612 H-bridges use MOSFET drivers, so the dropout is only a fraction of a volt. A 12v supply will deliver about 11.8v to the motor.

Most motors are tolerant of a small overvoltage. The maximum motor supply voltage for the driver chips is 13.5v. That would deliver about 13.3v to the motors.

Smash__7
 
Posts: 5
Joined: Wed Feb 05, 2014 4:33 pm

Re: Max stepper speed on motor shield V2

Post by Smash__7 »

Thank you so so so so soooo much! You've really helped with my university project, i really appreciate it.

All the best!

Hashu

eholz1
 
Posts: 16
Joined: Mon Jun 09, 2014 3:40 pm

Re: Max stepper speed on motor shield V2

Post by eholz1 »

SORRY - WRONG PLACE FOR POST (I THINK)
Members,
This is a good post. How do I use the code? the Wire.h, etc.
I would like to turn my motor faster. Is this code the Arduino processor microcode?
Any info will help.

Thanks,
eholz1

eholz1
 
Posts: 16
Joined: Mon Jun 09, 2014 3:40 pm

Re: Max stepper speed on motor shield V2

Post by eholz1 »

question on this post with the Wire.h changes for twi.h, etc.
How do I implement the code? Is this firmware for the Arduino?

Post Below:
I did some more testing and the step-rate limitation is related to the i2c communication speed. The default i2c bus rate on the Arduino is 100KHz. The Atmega chip is capable of up to 400KHz.

You can adjust the speed in the Wire library by editing this file: hardware/libraries/Wire/utility/twi.h. If you change:
Code: Select all | TOGGLE FULL SIZE#define TWI_FREQ 100000L

To:
Code: Select all | TOGGLE FULL SIZE#define TWI_FREQ 400000L

You should be able to increase your step rate considerably.
I got this from this link: forums.adafruit.com/viewtopic.php?f=31&t=42477
any info will help

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Shields from Adafruit”