Dear Arduino folks,
So far I followed the Demo#3 in this guide
Everything works like a charm, all wiring is fine... but the L298N gets very hot. As far as I read, this is a very common issue and, after some research, I've realized that the L298N is probably not the best driver to control a NEMA-17 stepper motor (leason learned, never again).
Nonetheless, I feel like the driver has still a chance in my implementation. Why? Well, I just need to position the stepper motor somewhere and no external forces are applied on it, hence, I don't really care if it's powered off after reaching the desired position (0 torque is fine to me).
Then I started to investigate the enable ports.
I currently have the enable ports connected to 5V. Whenever I start an Arduino sketch, the board stays "off", and no overheating is noticed, once I execute a command and move the stepper motor, it looks like the board logic starts to run permanently (and so it starts heating up, even without moving the motor anymore).
Would it be possible to switch off the board via the enable ports? This way I would avoid the overheating! Or as a newbie I'm missing something important? A programatic way to solve this would be fantastic.
Thanks a lot and have a very nice week.