Giter Club home page Giter Club logo

nager.arduinosteppermotor's Introduction

Nager.ArduinoStepperMotor

This project was developed to control a stepper motor smoothly and to adjust the speed during operation. Most of the libaries I tested at that time had an acceleration curve but always stopped when changing to another speed and then started again. There are two ways to communicate with the Arduino, one is via serial communication or by using a network module. If you have difficulties and the motor only whistles you should adjust the acceleration curve in the Arduino file.

Project Skier Simulator

Youtube Video
Watch the video on Youtube

A4899WiringDiagram Project2

Serial Commands (Baudrate 115200)

Command Description
enablemotordriver Enable the motor driver, the motor has voltage
disablemotordriver Disable the motor driver, the motor has no voltage
speed Values between -255 and 255
limitenable The motor can only move between the limits
limitdisable No limits active
setlimitleft Set the current position as left limit
setlimitright Set the current position as right limit
step Motor move one step
ramp Returns the current ramp
setramp Set a new ramp (setramp=0008000) rampIndex 0 -> 8000

Required Hardware

Quantity Product
1x A4988 Stepper Driver Control Expansion Board
1x UEETEK 4 Stück 1M Stepper Motor Cable HX2.54 4-pin to 6-pin
1x Usongshine Stepper Motor Nema 17 1.5A 17HS4401S
1x PChero Mechanic Endstop with LED Indicator

Test Software

For control via serial communication I have developed a small test application.

TestUI

nager.arduinosteppermotor's People

Contributors

dependabot[bot] avatar tinohager avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

stromberger

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.