-
Notifications
You must be signed in to change notification settings - Fork 10
Home
Stepper motion control with Pythogorean Hodograph Curves
FireStep is an Arduino stepper library for FirePick Delta. FireStep is tested with Arduino Mega2560 (with RAMPS1.4 or Tin Whiskers FPD EMC02 breakout boards). It has also been ported to faster CPUs such as MotionBoard. FireStep relies on analytic Pythagorean Hodographic Quintic curves (PH5Curves) for precise and smooth motion.
Here are some videos of FireStep that demonstrate how smoothly, gently and quickly it moves without any special motion board hardware, using open-loop steppers with no feedback:
FireStep is targeted at pick and place (PnP) operations on a FirePick Delta CNC machine, but it can also be used for cheap, smooth and fast 4-axis CNC control.
NOTE: FireStep is optimized for low-accelaration, high-speed curvilinear PnP motion and is currently not suited to 3D printer control.
FireStep requests and responses use JSON syntax:
FireStep devotes precious memory for smooth path traversal of complicated paths. Unfortunately, no memory is left for GCODE interpretation. Instead of GCODE, FireStep relies entirely on a versatile two-level JSON command structure inspired by TinyG.
FireStep is primarily designed to support continuously accelerating rapid pick and place (PnP) operations and should not be used for 3D printing, which requires a highly chatty GCODE protocol and constant feedrates.
However, future versions of FireStep may support GCODE and/or 3D printing.
- Download and install the AdaFruit NeoPixel library. Since NeoPixel is GPL, it must be listed separately for installation.
- Download the latest FireStep release
- Unzip release into your Arduino workspace folder. The zip file contains the FireStep Arduino sketch.
- Connect to your Arduino Mega2560 or Due board via USB (shorter is better, but 16-foot can work)
- Install Arduino IDE 1.6.11 (please note the EXACT version number) as a normal user (do not install as super user)
- Launch Arduino IDE 1.6.11 and open FireStep/FireStep.ino`
- Compile and run your sketch
- Use the Serial Monitor at
19200
baud withNewline
. Faster baud rates are not supported at this time, although you can get faster rates with shorter USB cables. TheNewline
is required for handshakes. - [Calibrate your steppers](Stepper Calibration)
- If your are using FireStep with FirePick Delta, proceed to Delta-Calibration
Arduino IDE's are very idiosyncratic. Version numbers matter!
Arduino IDE | FireStep compatible |
---|---|
1.6.11 | ✅ |
1.6.7 | ✅ |
1.6.5 | ❌ |
Linux serial ports typically show up as:
- /dev/ttyACM0
- /dev/ttyUSB0
- etc.
If you have trouble accessing those ports, you may need to give your user permission
to access the serial ports by putting them in the dialout
group. For example:
sudo usermod -a -G dialout $USER