Can TB6612 Be Used with Analog Pins?
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- MountainMan370
- Posts: 34
- Joined: Mon May 11, 2020 7:30 pm
Can TB6612 Be Used with Analog Pins?
I started using the Adafruit TB6612 Motor Driver Breakout with the Adafruit NEMA 17 Stepper Motors. Everything works perfectly using the example in the tutorial with both Uno and Nano. I’d like to use 2 of the NEMA17 motors with one Nano if possible. I don’t need PWM control. Can I use some of the analog pins for the INA and/or BIN connections or must they be digital pins?
- adafruit_support_bill
- Posts: 88154
- Joined: Sat Feb 07, 2009 10:11 am
Re: Can TB6612 Be Used with Analog Pins?
Yes. You can use analog pins as digital pins on most Arduinos.
- MountainMan370
- Posts: 34
- Joined: Mon May 11, 2020 7:30 pm
Re: Can TB6612 Be Used with Analog Pins?
I thought so but it never hurts to check !
- MountainMan370
- Posts: 34
- Joined: Mon May 11, 2020 7:30 pm
Re: Can TB6612 Be Used with Analog Pins?
Just tried it with an Arduino Nano using 2 Adafruit NEMA 17 Steppers and 2 of the TB6612 breakouts. Worked fine with a homemade controller board that used 4 pushbuttons (Left and Right for each stepper) !!
- adafruit_support_bill
- Posts: 88154
- Joined: Sat Feb 07, 2009 10:11 am
Re: Can TB6612 Be Used with Analog Pins?
Great! Thanks for the follow-up.
Please be positive and constructive with your questions and comments.