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 ...
Hello friends, I hope you all are doing great. Today, I am going to share the new 28BYJ-48 Stepper Motor and ULN2003 Driver Library for Proteus V1.0. The little silver 28BYJ-48 with its blue cap and its green ULN2003 board is the first stepper motor most of us ever touch: it comes in nearly every Arduino starter kit, it costs very little and it runs from 5 V. Now it is ready for your Proteus simulations, with a dial on its output shaft so you can watch every step it takes, and every step it misses. Behind the parts sit our own models. The ULN2003 board has its four Darlington outputs, the clamp diodes, the A B C D LEDs and the power jumper, and it reads the coil patterns your sketch writes: half step, full step, wave step or the wrong pin order that makes so many 28BYJ-48 motors buzz on the bench. The motor is a model too, with its four half-coils, its torque, the detent, the back-EMF and the real 63.68: 1 gearbox, so it turns exactly as far as a real one, slows down, and loses steps when you load it too much. You get three devices: the ULN2003 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 28BYJ-48. The demo runs on our Arduino UNO V4.0 with both the Arduino Stepper library and AccelStepper. NOTICE: a 28BYJ-48 is famous for two surprises: it never turns exactly once with 2048 steps, and with the wrong pin order it only hums. We wanted both to happen in Proteus just as on your desk, so the dial ...
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 ...