It can be handy to use an adjustable external power supply (that comes with a DC terminal connector) like I did! However, you could use my setup for any DC motor that takes between 5V to 12V power voltage, as long as you properly adjust the power supply voltage level. Since I had difficulty finding a good Adafruit wiring diagram for a DC motor (with two wires coming out of it), I've made one here for you with Fritzing!įor this tutorial, I am using a 12V DC motor (a stepper motor would also work but would require different wiring, explained on the TB6612 tutorial). This driver can control 2 DC motors, or 1 stepper motor (a DC motor usually has 2 wires, while a stepper motor has more than 2 wires coming out of it). For this project, I wanted to control a motor, specifically a linear actuator (with linear motion), using a 12V power supply.įor this to work, I found that I needed an Adafruit TB6612 motor driver breakout board in addition to the Arduino Uno board.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |