Tag: StepStick

2 articles found.

TMC2209 Stepper Driver Library for Proteus Simulation

TMC2209 Stepper Driver Library for Proteus Simulation: an Arduino UNO V4.0, the TMC2209 module and a 100 mm linear stage

Hello friends, I hope you all are doing great. Today, I am going to share the new TMC2209 Stepper Driver Library for Proteus Simulation, the 46th library of our motor series. If you have searched for a Proteus simulation of the TMC2209, the quiet stepper driver module found in most new 3D printers and CNC boards, this library brings the module itself into Proteus: STEP and DIR from your Arduino, the microsteps set by MS1 and MS2, the current set by VREF, and two coil currents you can watch following their sine and cosine. The module is drawn at its true size, the small black StepStick board with the chip's thermal pad, the VREF trimmer, its two rows of pins and the DIAG and INDEX pins on top. The simulation model drives the motor's two coils through four half-bridges with a current loop on each coil, exactly the job the real chip does, so the current reaches the motor only as fast as the supply voltage and the coil can allow. In the demo an Arduino moves our 100 mm linear stage the same 20 mm at 1/8, 1/16, 1/32 and 1/64 microsteps, then switches the driver off and on. NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get them free. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the Motor Driver board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the TMC2209 Stepper Driver ...

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 ...