Arduino Nema-34 Motion Loop

via Freelancer ·

Budget / Salary₹600–1,500
TypeFreelance project
LocationRemote
Posted1 hour ago
I need a concise Arduino Uno sketch that drives my Nema 34 stepper through its existing driver in a continuous loop with the following timing:

• From home, turn 60° clockwise and hold that position for one second.
• Return to the home position and pause one second.
• Turn 60° anticlockwise, pause one second, then repeat the entire sequence indefinitely.

Please base the calculations on a typical 200-step Nema 34 (1.8° per step) unless I can later change a constant for different micro-stepping settings. No sensors or limit switches are required; it is pure open-loop control.

Alongside the .ino file, include a clear wiring diagram that shows the connections between the Arduino Uno, my stepper driver, power supply, and any needed resistors or opto-isolators so I can duplicate your setup on a breadboard or strip-board without guessing.

The code should be clean, well-commented and make it easy for me to tweak the speed, acceleration (if you choose to use the AccelStepper library), dwell times, and micro-stepping parameters later on.

Deliverables
1. Fully tested Arduino source code.
2. PDF or PNG wiring schematic with legible pin labels.

I will upload the compiled sketch to verify the motion matches the timing above; once that passes, the project is complete.
electronics microcontroller electrical engineering robotics arduino programming embedded systems prototyping
Apply on Freelancer →

Project sourced from Freelancer.com. Applications happen directly on the original platform — we never collect your data.