Tiny Stepper Motor Driver Carrier for ESP32 Feather

Tiny Stepper Motor Driver Carrier for ESP32 Feather


In this episode I’ll be designing and building these tiny stepper motor drivers for the Adafruit feather To start off I’ll design the circuit board schematic in Eagle. It uses four Pololu DRV8835 driver carriers Next I’ll design the board layout. Here I’ll place the parts on the board and let the auto router connect them together It’s a two sided board with two stepper motor drivers on either side on the back of the board There’s a power connector and an exposed input just in case I want to connect a LED or a sensor or something like that I’ll switch the manufacturing view where you can preview what your board will look like My circuit board manufacturer has requested the files to be in RS274x format So just remember to set that in your export settings. I’ve uploaded the Gerber files to PCBWAY And about two weeks later, the boards have arrived Thanks to the Gerber files are in the description if you’d like to make your own door about five dollars for ten boards plus shipping This is the layout of where the components will go on the board. On one side I have two pin headers and then I have two DRV8835 Pololu stepper motor drivers Then the ESP32 to feather will sit on top Next up I’ll prepare the DRV8835 carriers for surface mount soldering to do this I’ll get a pair of side cutters and cut along the pinholes on either side This way it’ll be easier to solder to the pads below The first thing i’ll solder other female headers to do this i’ve cheated and superglued them down first I’ll do the same with the drivers and super glue them down first before soldiering them To solder the driver carriers just heat up the connection and make sure there’s a solder bridge between the board and the pad below it Repeat the same steps for the second driver carrier and if you want it as well you can repeat the same steps for the other side of the board to add an additional two channels to the board or If you want to save a bit of money, you can just leave it as the two channels on the one side of the board On the top of the board there’s a little solder joint If you’d like to power the ESP32 from the power connector at the back of the board just sold of this joint together Otherwise, you’ll have the power the ESP32 and the stepper board with separate power supplies Next up I’m sold during the stepper driver board and the ESP32 together. I’m doing this to save a bit of space But if you’d like to be able to separate them in a future stage Sold on female pin headers to one side and male pin headers to the other side Next up we’ll make a few small modifications to the ESP32 Removing this 4.7 K resistor will disable the lithium polymer battery charger on this board I’m doing this because I’ll be using nickel metal hydride Triple A’s and I don’t want the LiPo charger active Next up we’ll remove the JST battery connector I’m just doing this because it’s fairly tall and it takes up a bit of extra space to remove it Just heat up the pins on the side And then heat up the pins on back of it all so clean up the solder pads a bit we’re not finished Now you’re ready to hook up power, motors, start programming it, and then build things

4 Replies to “Tiny Stepper Motor Driver Carrier for ESP32 Feather”

  1. Very nice. Don''t they get too hot? You often see heatsinks on those stepper drivers. Also, how easy is it to control the current going to the motors? In my (limited) experience via 3d printing, they've always needed 'tuning' using some on-board pots.

    I'd love to see a sketch to show how this could be used to control two Nema17 stepper motors for a self-balancing robot I'd like to build with an ESP32.

  2. Very practical project for a thousand uses. Please, would it be possible to have the exact reference or a purchase link in "Amazon" for example, from ESP32? Buy one, physically or in sight the same, but it is wider, it is not suitable for the card that I already manufacture PCBway, thanks.
    [email protected]
    sorry for my english

    I buy this:
    https://www.amazon.com/gp/product/B07QCP2451/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1

    That You use is ??????????????':
     https://www.amazon.com/Adafruit-PID-3591-HUZZAH32-pre-soldered/dp/B079QGXX88/ref=sr_1_2_sspa?keywords=Adafruit+Feather+ESP32+microcontroller.&qid=1568824187&s=electronics&sr=1-2-spons&psc=1&spLa=ZW5jcnlwdGVkUXVhbGlmaWVyPUEzVTVVN0xZM0I4VFJUJmVuY3J5cHRlZElkPUEwNDgxMDIwMjc1UkNCU1JYTE5IVyZlbmNyeXB0ZWRBZElkPUEwNjU0NTU2MjRLUExFU1NSNDM5QyZ3aWRnZXROYW1lPXNwX2F0ZiZhY3Rpb249Y2xpY2tSZWRpcmVjdCZkb05vdExvZ0NsaWNrPXRydWU=

  3. This is just simply awesome. Do you mind me asking what your ESP32 program looks like for controlling the drv8835? It's the driver I need to use given my tight space requirements.

Leave a Reply

Your email address will not be published. Required fields are marked *