system
March 13, 2013, 9:35pm
78
Here is the newest version for 28BYJ-48.
stepper2.ino
// This Arduino example demonstrates bidirectional operation of a
// 28BYJ-48, which is readily available on eBay for $4.25 inc shipping,
// using a ULN2003 interface board to drive the stepper. The 28BYJ-48
// motor is a 4-phase, 8-beat motor, geared down by a factor of 64. One
// bipolar winding is on motor pins 1,3 and the other on motor pins 2,4.
// Refer to the manufacturer's documentation of Changzhou Fulling
// Motor Co., Ltd., among others. The step angle is 5.625/64 and the
// operating Frequency is 100pps. Current draw is 92mA.
// Vin w USB power is 4.5v too slow for testing use 5v pin.
//#include <Narcoleptic.h>
This file has been truncated. show original
stepper2.txt
Includes ability to step less than step size without losing track of total.
Detect torque spike when you get to end of travel.
Turns off coils between steps for motor with gears that do not need holding torque.
Cooler running with 12v.
Can sleep when moving slow.
Ramping.
Non-blocking.
Enhanced performance using 12v supply with 5v motor.
Here's a summary and some help to get you started:
This file has been truncated. show original
12v is reliable, you just have to mind the heat. This means you cannot run at full speed for 20 minutes. You can go slow forever using the "cool" functions. Or go full speed then stop to let it cool down.