I gang

Control big stepper motor with arduino (hbs57 driver, nema 23)


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.

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). It is not certain that the potentiometer can be used to control the number of revolutions of the motor shaft, if not, I would request another adjustable solution.

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. potenciometer)-then holds it, until the 2. switcher is on. If the 2. switcher is off, the stepper motors turns back to the 0 position.

2 potentiometers are required, it is possible that different values will be set on it.

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 (just a simple diagram of which element works what).

A quick summary for sure understanding:

The stepper motor will apply the brakes. In position 0, there will be no brakeforce. The more the motor shaft rotated, the greater the braking effect.

The two microswitches will be connected by a moving part in a machine. The motor will respond to these microswitches.

I would like to set the braking effect (how many rotations the stepper motor makes), but I want to set this for both microswitches. So I might want the shaft to rotate 360 ​​degrees when you press one microswitch and 180 degrees when you press the other switch. But both must be adjustable. The braking effect must be built up as quickly as possible, which means that the motor must make a revolution/partial revolution at maximum speed-> it must also revert at maximum speed if none of the microswitches are pressed.

I want 2 more on off switches in the system. The role of these will be that if I don't want the motor to run when one of the microswitches is pressed, I can turn them off with the corresponding on off switch. 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:

-Arduino Sketch

-Wiring plan

-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

Please read the project, I did not write any sentences unnecessarily. Of course, I have the opportunity to try out the description I got and then give feedback, then you have the opportunity to improve on it.

If you have any questions, contact me.

Evner: Arduino, Elektronik, Microcontroller, Elektrisk Ingeniørarbejde, Ingeniørarbejde

Se mere: stepper motor angle control arduino, control stepper motor with arduino, arduino multiple stepper motor library, tb6600 stepper motor driver, tb6600 stepper motor driver schematic, accelstepper, nema 23 stepper motor driver arduino, arduino stepper library, build stepper motor controler computer driver free, remote control base stepper motor, joystick stepper motor arduino, stepper motor arduino circuit, scanner stepper motor arduino, stepper motor arduino code, stepper motor arduino wiring, unipolar stepper motor arduino, nema 17 stepper motor arduino code, longruner stepper motor arduino, stepper motor arduino, closed loop stepper motor arduino

Om arbejdsgiveren:
( 0 bedømmelser ) Budapest, Hungary

Projekt ID: #27549770

Tildelt til:


Hi, Hope you are doing well! Thanks for sharing your project requirement. It will be our great pleasure to work on your project. I have checked your requirement, yes I can do it, because I already work on similar re Flere

$40 USD in 3 dage
(0 bedømmelser)

11 freelancers are bidding on average $47 for this job


Hello, thank you for your job posting. I read your description about--stepper motor I am a senior electrical engineer. I have plenty of experience in firmware development and micro-controller developments. I can write Flere

$25 USD på 1 dag
(111 bedømmelser)

✋ Hi! I am completely familiar & experienced to the project. I can complete your project with perfection . I have completed my [login to view URL] in Electrical & Electronic Engineering. I have been working on the field of Microcon Flere

$30 USD in 4 dage
(41 bedømmelser)

I worked a lot with stepper motors and arduino. The most recent project included 6 NEMA steppers for a 6 DOF robotic arm. I believe I would be the best candidate for this project!

$70 USD in 7 dage
(14 bedømmelser)

hye i am electrical enginier i solve your problem kindly contact me for good result i have experiencec in this field

$25 USD på 1 dag
(36 bedømmelser)

Hello, I'm an Electrical Engineer .I have many Experiences in Matlab, Microcontroller, Arduino , sensors ,PLC’s, SCADA system, circuit design , PCB ,also I have experience in programming that connect electronic to de Flere

$40 USD in 7 dage
(4 bedømmelser)

Hello, I'm an expert in embedded system, C programming, Arduino, 8-bits and 32-bits microcontroller, and electronics. I can help you with that project. I can write the software on any kind of microcontroller you want t Flere

$50 USD in 7 dage
(3 bedømmelser)

hello, note that : i just complete several projects with stepper motors to control ,it is mentioned on my portfolio I followed a training in electronics and automation engineering ,i've got a 3 experiences as software Flere

$40 USD in 7 dage
(3 bedømmelser)

Dear Sir, I would like to present my self as prospective candidate to do your project, I have sound knowledge and experiances in electronic both analog and digital and computer programming. I'm capable of designing el Flere

$50 USD in 7 dage
(1 bedømmelse)

Hello I have more than 15 years of experience in the embedded systems design and pcb design and electronics systems design So let's discuss your project in chat

$111 USD på 1 dag
(3 bedømmelser)

Hello Sir, I am a professional electronics engineer. designer with 5 years of experience. I have read your job carefully. I understand your project. i will be waiting for your reply best regards soufiane

$38 USD in 7 dage
(0 bedømmelser)