Code Monkey home page Code Monkey logo

nager.arduinosteppermotor's Introduction

Nager.ArduinoStepperMotor

C# control a stepper motor via Serial Port communication.

TestUI

Project 1

CncShieldWiringDiagram

Serial Commands (Baudrate 115200)

Command Description
start Enable the motor driver, the motor has voltage
stop Disable the motor driver, the motor has no voltage
move=500 Move the motor for 500 steps
speed=200 Change the rpm (rotation per minute) to the new value

Required Hardware

Quantity Product
1x Akozon Automatic Ball Screw Linear CNC Slide Stroke Long Stage Actuator Guide Slide Table Aluminum with Stepper Motor 400mm Effective Range
1x PChero Mechanic Endstop with LED Indicator
1x Quimat Arduino CNC Shield Kit with Stepper Motor

Project 2

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

nager.arduinosteppermotor's People

Contributors

tinohager avatar

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.