Hello,
I am using an Adafruit TB6612 Motor Driver with Nema17 stepper motor controlled with Arduino. I have 12V battery for supplying the motor and at the same time, I need to connect the Arduino with my laptop to send serial data between my laptop and Arduino.
could someone point me in the right direction for a wiring diagram?
What driver pins should be used for the battery?
Is it OK to connect the Arduino to my computer while the battery supplying the circuit?
What the function of STBY and why it was not used in the TB6612 datasheet?
Thanks in advance.
Arduino with TB6612 and 12 V stepper motor
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- mariamelebari
- Posts: 2
- Joined: Fri Feb 15, 2019 7:13 am
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Arduino with TB6612 and 12 V stepper motor
Wiring and pinouts are all covered in the guide: https://learn.adafruit.com/adafruit-tb6 ... t/overview
You didn't specify which Arduino. But most have automatic switching of the power source.Is it OK to connect the Arduino to my computer while the battery supplying the circuit?
- mariamelebari
- Posts: 2
- Joined: Fri Feb 15, 2019 7:13 am
Re: Arduino with TB6612 and 12 V stepper motor
I am using Arduino UNO.
I read the guide and apply the same connection but it does not work well. The motor makes a sound and it is just shaking without any rotation
Also, I put 12V battery in Vmotor pins and it dose not rotate
another question is do I have to use STBY pin?
Thank you again
I read the guide and apply the same connection but it does not work well. The motor makes a sound and it is just shaking without any rotation
Also, I put 12V battery in Vmotor pins and it dose not rotate
another question is do I have to use STBY pin?
Thank you again
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Arduino with TB6612 and 12 V stepper motor
Please post some photos showing your soldering and connections.I read the guide and apply the same connection but it does not work well. The motor makes a sound and it is just shaking without any rotation
Also please post the electrical specifications for the motor you are using.
Stepper motors require a program to generate step commands. Simply applying power does not make them move.Also, I put 12V battery in Vmotor pins and it dose not rotate
That is entirely up to the requirements of your project. If you need standby functionality, the STBY pin is a simple way to implement it.do I have to use STBY pin?
STBY - this is the standby pin for quickly disabling both motors, pulled up to Vcc thru a 10K resistor. Connect to ground to disable.
Please be positive and constructive with your questions and comments.