TransWikia.com

Running stepper motor for specified no. of turns with Arduino?

Arduino Asked on December 19, 2020

I hope you are doing well.

I want to run a pretty big stepper motor for a specified number of turns, take, for instance, 25. Easy! But not for a beginner with Arduino and I’m not an electrician!
Here is my purpose once again: Rotate my stepper motor for 25 rounds at the maximum speed possible.
Here is a similar circuit that I found on the internet. If you ignore the potentiometer, that would be my circuit!

I think my purpose in kind of simple. But I don’t know anything about the code. I would appreciate any advice or helpful complementary code! 🙂

One Answer

Here's a post that will get you started. It uses a Teensy 3.5, but the motor driver code will be the same. You will also need to modify the low-level driver functions to match with the actual motor driver module being used. However, if you use a Teensy 3.5 and the L298N motor driver, you should be able to use the program with little or no modifications.

Answered by user3765883 on December 19, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP