Arduino sketch for Stepper Motor Serial Control

Cancelled Posted May 25, 2015 Paid on delivery
Cancelled Paid on delivery

1. Scope

The scope of the project is to control a linear actuator that is powered by a stepper motor, driven by a motor driver controlled via Arduino.

The consultant will be requested to analyse requirements based on existing equipment. Design wiring schemas and a sketch as outlined in the description below

2. Description

The linear actuator in question is powered by a Nema 17, 1.8 degree, 24v, 4 wire stepper motor (LDO-42STH47-1684A). The Stepper Motor Driver in use is a ST-M5045 2M542 and controlled via Arduino Uno and two limit switches are to be connected. A 24v Power Supply is also available.

The objective is to send movement commands to the stepper motor via Serial.

3. Requirements

3.1 Design of an Arduino sketch that will receive commands through serial interface.

Features Required are as follows:

3.1.1 Forward movements start with an F followed by a variable number which indicates the number of steps such as:

F500 – (Moves Stepper Forward 500 Steps)

3.1.2 Reverse movements start with an R followed by a variable number which indicates the number of steps such as:

R500 – (Moves Stepper Backward 500 Steps)

3.1.3 Forward and Reverse movements are sometimes required to decelerate in the final steps in this case the input shall be prefixed by FS (Forward Movement with Deceleration) and RS (Reverse Movement with Deceleration) as follows:

FS500 – (Moves forward 500 steps and will decelerate speed in final steps)

RS500 – (Moves backward 500 steps and will decelerate speed in final steps)

3.1.4 A limit switch shall be installed at both ends of the actuator. In the event that any of the limit switches are triggered, motion is to be stopped.

3.1.5 Home axis is a feature that will ensure that the positioning is correct. There will be two home/limit switches. For the purpose of this project, we they shall be called home1 and home2. The features required related to limit home switch are as follows:

H1 – (Moves stepper towards home1 and stops once switch is triggered)

H2 - (Moves stepper towards home1 and stops once switch is triggered)

HTEST – (Moves stepper towards home2 once at home2 goes back to home1.

3.1.6 Serial interface to accept a list of commands in 1 entry eg:

H1, FS500, RS200, FS1500, H1

3.1.7 Once a command is given via serial an OK message is returned to Serial.

3.1.8 Once a limit/home switch is triggered at any point, a message such as Home1 Triggered and Home2 Triggered message is returned to Serial.

3.1.9 A repeat command is required to repeat the last command/s entered.

E.G. REP will repeat the last command such as FS500 or RS500. If multiple commands were inputted together (Refer to 3.1.6) once the REP command is triggered, the commands that were last inputted together in one line are repeated.

[url removed, login to view] Stepper motor speed shall be a fixed variable in the Arduino Sketch.

3.2 Design of Wiring Schema.

3.2.1 A full design indicating the wiring configuration of all the system is required.

3.2.2 The configuration of the Jumper Switches on the ST-M5045 2M542 motor driver needs to be indicated.

4. Bidder Details

The bidder is required to bid for the above Sketch, Wiring Schema and an extra 3 hours of consultancy via email or phone related to the setup or code changes.

4.1 Bidder Requirements:

- Fluent In English

- Extensive experience dealing with Micro Controllers particularly Arduino, Stepper Motors, Drivers and similar.

- Possess equipment to be able to test any code.

Arduino Electronics Microcontroller

Project ID: #7735330

About the project

15 proposals Remote project Active May 26, 2015

15 freelancers are bidding on average $184 for this job

websat13

hello i am interested in your project, i have experience in stepper motor control. --------------------------------------------------------- thanks

$130 USD in 6 days
(37 Reviews)
5.5
yhaat

Hello, I am perfect and interested for this job. I already have similar setup in my lab for testing the software and develop the software accurately. This is a part of a project that I am doing. I will provide yo More

$155 USD in 10 days
(41 Reviews)
5.6
botzindia

Hi, We are a team of engineers with more than 10 years of experience in designing and developing various digital and embedded systems... Currently, apart from our R&D, we help engineering students to complete the More

$250 USD in 5 days
(11 Reviews)
4.7
goharriz

Hello, I have some questions. Are the end of each command marked with a newline character? If not, What is the marking character? Is there a possible maximum number of steps/ maximum length of commands? In the c More

$166 USD in 10 days
(18 Reviews)
4.6
voyagerforth

Hi, Congratulations on an excellent specification! I have been involved in the design and implementation of light industrial controll systems for many years, and more recenlty using the Arduino patform. My skils bas More

$244 USD in 10 days
(13 Reviews)
5.1
mynamejoe

A proposal has not yet been provided

$250 USD in 3 days
(20 Reviews)
4.3
anatolyzimin

A proposal has not yet been provided

$183 USD in 8 days
(13 Reviews)
5.0
EngineerFinance

hello, I am new here but i has done my bachelors in electrical engineering.I can handle any type of project related to Ardino,Microcontroller,Stepper motor,Dc serve motor and any programming project which includes C+ More

$144 USD in 3 days
(0 Reviews)
0.0
Paceman20

I am a student and beginner. I just have built a 3D printer which has hardwares and codes similar to your project requirements like motor, limit switches and serial communication codes. Your project would give me my fi More

$183 USD in 4 days
(0 Reviews)
0.0
DanieloDelgado

A proposal has not yet been provided

$150 USD in 10 days
(0 Reviews)
0.0
castro2487

Im Electronic Engineer with high expertise in arduino systems, and knowledge of stepper motors modules to specific task

$122 USD in 5 days
(0 Reviews)
0.0
Engelectronics

i have a good knowledge about arduino programming and have done number of project using arduino and stepper motor,i will do your work easily and accurately

$120 USD in 3 days
(0 Reviews)
0.0