Tiny Stepper Controller: Difference between revisions
No edit summary |
|||
Line 34: | Line 34: | ||
Direction will change every turn. However this can be overwritten by changing the jumper on the board. | Direction will change every turn. However this can be overwritten by changing the jumper on the board. | ||
[http://lechacal.com/stepper_control/steppercontrol.ino Download Sketch.] | |||
=i2c sketch= | =i2c sketch= | ||
The two i2c pins of the Attiny85 are made available on the board to be controlled from a i2c master. | The two i2c pins of the Attiny85 are made available on the board to be controlled from a i2c master. |
Revision as of 14:46, 21 May 2014
Arduino Stepper Control Board
The tiny stepper controller is a controller board for stepper motor. It can be controlled manually (potentiometer and switches) and programmed with Arduiono IDE.
Technical Specifications
Stepper Motor driver board: A4988
Microcontroller: Attiny85.
Input Power: 30Volts Maximum.
Power Socket: 2.1mm Jack. Center positive.
Manual Control ready with:
- Potentiometer for speed.
- Push button for single step increment.
- Slider switch for direction selection.
Direction and Step can either be controlled from Attiny85 mcu using jumpers on the board.
DIL switch for selection of step resolution.
Two digital I/O available for external use (serial port/external sensors/ external switch/ i2c).
Comes flashed with teh basic default sketch to run the motor at various speeds.
A short demonstration can be seen on this video
Default Sketch
The default sketch loaded in the Attiny85 is a basic sketch to control the motor manually. The potentiometer will be use as speed control.
Direction will change every turn. However this can be overwritten by changing the jumper on the board.
i2c sketch
The two i2c pins of the Attiny85 are made available on the board to be controlled from a i2c master.