Output Devices

For this week, I decided to do part of my final project by being able to control a motor. I was looking at a couple of different motors, and decided on a stepper motor. I wanted to use an RP2040, so I designed a board that would use the DRV8428 to control the motor.

I then milled it out (the small traces needed an engraving bit). The first board turned out not great, as some of the pads were connected that were definitely not supposed to be, and the 1/32" end mill was dull. It is possible that the wires have too wide of a clearance which made the program think it was all one piece.

After switching to gerber files, I was able to get the pads separated, but the other 1/32" endmill was also dull, so I sanded the board. I then soldered the components, and adapted the motor test code to work with the RP2040. It... didn't work.

I had not connected the enable and sleep pins to any power, so the DRV chip wouldn't have turned on. After connecting them to a pin on the Xiao, it worked.

Files can be found here