Teacup_Firmware
jStepper
Teacup_Firmware | jStepper | |
---|---|---|
19 | 2 | |
303 | 0 | |
- | - | |
0.0 | 1.8 | |
8 months ago | over 3 years ago | |
G-code | C++ | |
GNU General Public License v3.0 only | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Teacup_Firmware
-
Digraphs and Trigraphs
Ooh another fun one you may be interested in is how I wrote Teacup's config handling - the user has to provide a config.h with various macros defining their machine setup, and then multiple separate parts of the codebase redefine those macros and re-include the file to build various structures and constants at compile-time
-
Advice to an engineering student
Since then I've made lots of things like audio amplifiers and effects, motor controllers, 3d printer controllers and firmware (and subsequently smoothieboard), muscle stimulators, bluetooth LED strip controllers, etc
-
How is max step rate calculated for stepper motor libraries
Teacup can go pretty fast too, I think I've seen it clocked at 48k @ 20MHz although that may have been across 4 motors at once.
-
Arduino UNO ADC using Embedded C
See here and here for an example from my ESC project, or this example from Teacup
-
best Microcontroller for fast stepper motors?
https://www.airspayce.com/mikem/arduino/AccelStepper/classAccelStepper.html says "The fastest motor speed that can be reliably supported is about 4000 steps per second at a clock frequency of 16 MHz on Arduino" which is pretty poor - teacup can hit something like 10× that when controlling 4 steppers, and also comes with a non-blocking state machine based gcode parser ;)
-
15 steppers on a Mega?
Teacup had decent performance last time I checked, but it's more a complete firmware project rather than a library.
-
Total beginner, want to control two NEMA 17 stepper motors via mathematical function.
That's hard enough just with linear acceleration let alone complex functions - might be worth converting it to line segments host-side and just streaming basic gcode to a 3D printer firmware over the serial port.
-
Driving a stepper motor faster using AccelStepper
Last time I checked, Teacup can do something like 40kHz on an atmega - might be worth having a play with that?
-
Help. Stepper Motor not spinning when I increase the speed
AccelStepper may interest you, and I think Teacup can go even faster.
-
Just updated to the latest firmware, Can I change acceleration/jerk/etc on the fly now? Middle of a print?
The latest what? Teacup? Marlin? Aprinter? Repetier? GRBL? Something else?
jStepper
-
is an Arduino fast enough for running stepper motors at full speed? what about a Teensy? details bellow.
Then I found the jStepper library which uses hardware-timers and interrupts to achieve high stepping rates. It uses direct port manipulation which is 30-50 faster as the digitalWrite() function what I have read.
-
What do I need to control motor speed with an arduino
There are several stepper libraries availiable, if you don't need a high speed then is the AccelStepper library probably what you want. If high speed is required, then I would look at the jStepper library.
What are some alternatives?
grbl - An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on a straight Arduino
AccelStepper - Fork of AccelStepper
Marlin - Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
Smoothieware - Modular, opensource, high performance G-code interpreter and CNC controller written in Object-Oriented C++
aprinter - 3D printer firmware written in C++
ESC - Electronic Speed Controller for DC brushed motors on R/C cars and robots
SpeedyStepper - Stepper motor control library for Arduino
Repetier-Firmware - Firmware for Arduino based RepRap 3D printer.
FlexyStepper - Stepper motor control library for Arduino supporting in motion changes
SunriseLight - RGB Color Temperature Light with Bluetooth Control