Sei sulla pagina 1di 2

Search the Arduino Website

Reference Language (//www.arduino.cc/en/Reference/HomePage) | Libraries (//www.arduino.cc/en/Reference/Libraries) |


Comparison (//www.arduino.cc/en/Reference/Comparison) | Changes (//www.arduino.cc/en/Reference/Changes)

Stepper Library
This library allows you to control unipolar or bipolar stepper motors. To use it
you will need a stepper motor, and the appropriate hardware to control it. For
more on that, see Tom Igoe's notes on steppers
(http://www.tigoe.net/pcomp/code/circuits/motors/stepper-motors/).

Functions
-

Stepper
(//www.arduino.cc/en/Reference/StepperConstructor)

Circuits
-

Bipolar Steppers (//www.arduino.cc/en/Reference/StepperBipolarCircuit)

Examples
-

Stepper
(//www.arduino.cc/en/Reference/StepperConstructor)

Unipolar Steppers
(//www.arduino.cc/en/Reference/StepperUnipolarCircuit)

(steps, pin1, pin2)

(steps, pin1, pin2, pin3, pin4)


-

setSpeed
(//www.arduino.cc/en/Reference/StepperSetSpeed)(rpm)

step (//www.arduino.cc/en/Reference/StepperStep)(steps)

Motor Knob (/en/Tutorial/MotorKnob): Control a highly accurate stepper


motor using a potentiometer.

Stepper One Revolution (/en/Tutorial/StepperOneRevolution): Turn the


shaft one revolution clockwise and one counterclockwise.

Stepper One Step At A Time (/en/Tutorial/StepperOneStepAtATime): Turn


the shaft step by step to check the proper wiring of the motor.

Stepper Speed Control (/en/Tutorial/StepperSpeedControl): Control the


stepping speed with a potentiometer.

Reference Home (//www.arduino.cc/en/Reference/HomePage)

Corrections, suggestions, and new documentation should be posted to the Forum


(http://arduino.cc/forum/index.php/board,23.0.html).
The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License
(http://creativecommons.org/licenses/by-sa/3.0/). Code samples in the reference are released into the public domain.

Share

NEWSLETTER

Enter your email to sign up

2016 Arduino

Copyright Notice (//www.arduino.cc/en/Main/CopyrightNotice)

About us (//www.arduino.cc/en/Main/AboutUs)

(https://twitter.com/arduino)

Contact us (//www.arduino.cc/en/Main/ContactUs)

Careers (//www.arduino.cc/Careers)

(https://www.facebook.com/ocial.arduino)

(https://www.ickr.com/photos/arduino_cc)

(https://youtube.com/arduinoteam)

(https://plus.google.com/+Arduino)

Potrebbero piacerti anche