Find Jobs
Hire Freelancers

Arduino code step motors

€30-250 EUR

In Progress
Posted almost 6 years ago

€30-250 EUR

Paid on delivery
Hi, I have an arduino UNO board with 2 step motor controler "TB6600 4.5A CNC" I already can drive the step motor into one direction and I need a code with the following tasks: 1. Input 1 hast to be active 2. Output 2 HIGH (Relais module) 3. Step motor 1 (Output 3,4) should start for "20mm" or 1 second with a variable speed 4. delay 1000 5. Output 2 LOW 6. Output 7 HIGH 7. Step motor 2 (Output 5,6) start for "10mm" or 0,5 second with a variable speed 8. Step motor 2 has to move back with a variable speed 9. Output 7 LOW 10. Output 2 HIGH 11. Step motor 1 has to move back with a variable speed 12. Output 2 LOW 13. Output 8 HIGH 14. Delay 200 15. Output 8 LOW END IF (inpuit) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The step motor was working with this code at 8-9 #include <AccelStepper.h> // Define a stepper motor 1 for arduino // direction Digital 9 (CW), pulses Digital 8 (CLK) AccelStepper stepper(1, 8, 9); void setup() { // Change these to suit your stepper if you want [login to view URL](1000);//1100 [login to view URL](1100); [login to view URL](2000); } void loop() { // If at the end of travel go to the other end if ([login to view URL]() == 0){ [login to view URL]( [login to view URL]() ); } [login to view URL](); }
Project ID: 16376125

About the project

5 proposals
Remote project
Active 6 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
5 freelancers are bidding on average €132 EUR for this job
User Avatar
I hold master degree in Instrument Tech and having about 35 years of expertise in real time embedded hardware and software applications. I am well versed with stepper motor and Arduino board programming.
€155 EUR in 3 days
5.0 (1 review)
1.4
1.4
User Avatar
I have made my own car by using Arduino Uno Board. So I can complete this required project in flexible speed , direction...controller.
€155 EUR in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
dear we have a team of professional electrical engineers and coders, for further assistance contact me
€50 EUR in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of AUSTRIA
Egg, Austria
5.0
58
Payment method verified
Member since Mar 29, 2016

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.