Tag: NEMA 17

1 articles found.

A4988 / DRV8825 Stepper Motor Driver Library for Proteus V1.0

A4988 DRV8825 Stepper Driver Library for Proteus V1.0: an Arduino UNO V4.0 driving a NEMA 17 through the A4988, and the DRV8825 Advance pop-up at 1/32 step

Hello friends, I hope you all are doing great. Today, I am going to share the new A4988 / DRV8825 Stepper Driver Library for Proteus V1.0. These two tiny boards, the green A4988 and the purple DRV8825, drive the stepper motors of almost every 3D printer, laser engraver and hobby CNC machine. Two Arduino pins, STEP and DIR, are all they need, and they split every step of the motor into as many as 32 microsteps for a smooth, quiet motion. Now they are ready for your Proteus simulations, together with a NEMA 17 stepper motor that carries a dial on its shaft, so you can watch every step. Behind the boards sits our own model of the A4988 and the DRV8825: the translator with its microstep tables, EN, SLEEP and RESET, the current limit set by VREF, and a chopper that pushes the coil currents only as fast as the motor supply allows. The motor is a model too, with the coils, the torque, the detent, the inertia and the back-EMF of a real NEMA 17, so it follows the microsteps, slows down when the supply is too low and loses steps when you load it too much. You get five devices: each board as a Simple device with a live STATUS panel and as an Advance device with a pop-up window and three test tools, plus the NEMA 17. The demo runs on our Arduino UNO V4.0 with the AccelStepper library. NOTICE: a stepper is only interesting in a simulator if it can go wrong the way a real one does. So we did not draw a dial that simply follows the step count: the rotor is pulled by the coil currents, it ...