Find Jobs
Hire Freelancers

Arduino sketch for Stepper Motor Serial Control

$30-250 USD

Cancelled
Posted almost 9 years ago

$30-250 USD

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. 3.1.10 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.
Project ID: 7735330

About the project

15 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
15 freelancers are bidding on average $184 USD for this job
User Avatar
hello i am interested in your project, i have experience in stepper motor control. --------------------------------------------------------- thanks
$130 USD in 6 days
4.9 (37 reviews)
5.5
5.5
User Avatar
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 you clear wiring diagram and fully tested software with video demo of the experiment. Please do not hesitate to write back if you consider. Thanks, Sam
$155 USD in 10 days
4.9 (41 reviews)
5.6
5.6
User Avatar
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 their academic projects. Also conduct seminars and workshops on Arduino and Robotics... So we have experienced with a lot of Microcontrollers such as PIC, AVR, ARM etc. We are also experienced with a lot of sensors and sensor modules.... We are very proficient with PCB desingning tools such as EAGLE, KICAD etc... We have done a lot of projects with arduino, please check our completed projects and reviews given by other employers...:-) This project can be easily done...You can provide us with more details like the application of this project, use of Xbee etc. We really would like to know more about your project, kindly let me know if you are interested...:-) Thank You
$250 USD in 5 days
4.9 (11 reviews)
4.7
4.7
User Avatar
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 case of multiple commands (3.1.6), Are the commas sent? and the spaces? Are all the commands sent in a "burst" fashion? i.e. in the Arduino, Is a command buffer necessary? or Is the new command sent only when the previous command's movement has finished? That's all for now. I look forward to your reply. Thanks.
$166 USD in 10 days
5.0 (18 reviews)
4.6
4.6
User Avatar
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 base includes software and firmware for controlers, CAD, electronics and PCB design. The only issue I can see with your project is my lack of any detailed experience with the particular stepper controller/driver that you have selected. However, stepper controllers are basically all share the same sorts of interfaces. I would propose executing your project in two stages. Firstly, develop a schematic of the system cabeling and connections, along with some test code to drive the motor. This will confirm the interface method and the connectivity. Secondly, implement the command protocol as you have described it. Regards and good luck with your project. James Harrison-Smith
$244 USD in 10 days
4.5 (13 reviews)
5.1
5.1
User Avatar
A proposal has not yet been provided
$250 USD in 3 days
4.9 (20 reviews)
4.3
4.3
User Avatar
A proposal has not yet been provided
$183 USD in 8 days
3.9 (13 reviews)
5.0
5.0
User Avatar
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+ or assembly language I assure you the quality work PM me for further discussions Best regards
$144 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
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 first earnings. Just give me a chance.
$183 USD in 4 days
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$150 USD in 10 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Im Electronic Engineer with high expertise in arduino systems, and knowledge of stepper motors modules to specific task
$122 USD in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
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.0 (0 reviews)
0.0
0.0

About the client

Flag of MALTA
San Gwann, Malta
5.0
1
Payment method verified
Member since Nov 17, 2008

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.