I’m working on my own project, and I need somebody who can make me an instruction/description about a system, which contains an Arduino Uno Plus microcontroller and a Nema 23 stepper motor. It’s going to be a part of a machine. I’m a mechanical engineer, don’t have much experience in electricity, so I need carefully descriptions.
The system consists 1 stepper motor, 1 stepper motor driver, 1 power supply, 2 micro switches, 2 potenciometer (I think we can use it to adjust the number of the rotations), 2 on-off switches, Arduino uno plus (+other necessary electronik (wires etc.) .
How it works: The stepper motors are operating brakes-they are pushing pads to a disc through a spring, the resistance of the brake can be adjusted by the number of revolution of the motor (with the 2 potenciometer).
The 2 microswitches are going to sense a 2 directional movement. The stepper motor needs to react on it. On-off switches are needed because I want to choose which microswitch the motor responds to (only 1st, only 2nd, both)
If the 1. microswitch is on, and the belonging On-Off switch is On:
-The stepper motor makes 0,5-1-2-3 or 4 rotations, performs as many turns as set on the adjustable switch (1. potenciometer)-then holds it, until the 1. switcher is on. If the 1. switcher is off, the stepper motors turns back to the 0 position.
If the 2. microswitch is on, and the belonging On-Off switch is On:
-The stepper motor makes 0,5-1-2-3 or 4 rotates, performs as many turns as set on the adjustable switch (2. adjustable switch) - then holds it, until the 2. switcher is on. If the 2. switcher is off, the stepper motors turns back to the 0 position.
The stepper motor needs to turn as fast as possible, always in the same direction, and back to the 0 position.
May it sounds a bit difficult, but you can see in the attachments a sketch about it.
I bought a hbs57 driver with a 2,2 Nm Cloosed loop Nema 23 Stepper, with a Power supply. ([login to view URL])
I have a the Arduino uno, microswitches, wires.
I have already done a test with the system, based on video, where the engine just rotated, stopped, changed direction due to switching.
What I need is:
-Description of the missing electrical components (suitable potenciometer, resistors etc...)
-Explanation of the sketch, and system so that I can change the data if I want a different speed / revolution