SpeedyStepper
Teacup_Firmware
SpeedyStepper | Teacup_Firmware | |
---|---|---|
4 | 19 | |
79 | 303 | |
- | - | |
0.0 | 0.0 | |
almost 4 years ago | 8 months ago | |
C++ | G-code | |
MIT License | 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.
SpeedyStepper
- How is max step rate calculated for stepper motor libraries
-
Stepper motor acceleration with microstepping?
Library: https://github.com/Stan-Reifel/SpeedyStepper https://github.com/Stan-Reifel/FlexyStepper
-
Building electronics for my bipedal robot. Simultaneous position, speed and acceleration control of multiple steppers and encoder dc motors.
I have not created schematics yet, I simply followed the specs of each boards and connected them and programmed. I will create schematics soon and share. For stepper control and connections, I used SpeedyStepper library examples here: https://github.com/Stan-Reifel/SpeedyStepper/tree/master/examples
-
How can i control 6 stepper motors?
You don't necessarily need a single shield to control them all is recommend using small, individual driver boards all mounted on breadboards honing up directly to your Arduino. Fundamentally, most stepper drivers use a 'step' and 'direction' pin, do every time you pulse the 'step' pin the driver turns the motor one position, and if the direction is high or low changes the direction the motor turns. Is suggest using a library like https://github.com/Stan-Reifel/SpeedyStepper it's very popular, way to use and there are lots of good examples. Start with getting one motor controlled how you like, then look at their examples for using multiple motors and build it up. For motor drives, you have two fundamental options: Breakout board style: https://www.pololu.com/category/120/stepper-motor-drivers these are the type that mount in most 3d printers, and are fairly compact l, but need some wiring work done to be correct. The other type is a fully enclosed type: https://www.amazon.com/Digital-Microstep-Stepper-Controller-2-phase/dp/B07YWZRXGR these are controlled in the same way but can draw much larger currents and are probably easier to wire and set up. United space is critical for you I'd recommend these. Both types are controlled with the same step direction method. I hope this helps, let me know if you have any questions
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?
What are some alternatives?
FastAccelStepper - A high speed stepper library for Atmega 168/328p (nano), Atmega32u4, Atmega 2560, ESP32, ESP32S2, ESP32S3, ESP32C3 and Atmel SAM Due
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
TMCStepper
AccelStepper - Fork of AccelStepper
Arduino-FOC - Arduino FOC for BLDC and Stepper motors - Arduino Based Field Oriented Control Algorithm Library
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.
WS2812FX - WS2812 FX Library for Arduino and ESP8266
Smoothieware - Modular, opensource, high performance G-code interpreter and CNC controller written in Object-Oriented C++
ArduinoJson - 📟 JSON library for Arduino and embedded C++. Simple and efficient.
aprinter - 3D printer firmware written in C++
RF24 - OSI Layer 2 driver for nRF24L01 on Arduino & Raspberry Pi/Linux Devices [Moved to: https://github.com/nRF24/RF24]
ESC - Electronic Speed Controller for DC brushed motors on R/C cars and robots