Comments (4)
Something like this was in the early code but I removed it in commit e1f6618. I thought the driver should not control this line anyway (it should be done externally), so other than wrapping the pin in a set of two methods there is little advantage to having it in the class and require another pin and initializer set. But I'm willing to reconsider.
Also, these drivers have two lines for switching off the motor, ~ENBL and ~SLEEP. One is active LOW the other is active HIGH. While most schematics wire ~SLEEP only, I actually prefer ~ENBL because it does not lose the counter position and does not have a charge wait.
from stepperdriver.
Thanks for you well-written project. I would actually like to have the enable/sleep functionality as well. It is just convenient to have the additional class function. For my project I did add the function to sent the motor to sleep...
from stepperdriver.
Resolved in #6
from stepperdriver.
One thought about multi-motor setups such as 2-3 axis controls: the ~ENABLE (or ~SLEEP) control line is shared, so it technically doesn't belong to any particular driver.
from stepperdriver.
Related Issues (20)
- Code Analysis HOT 3
- Position drifts over many cycles HOT 18
- support TB6600
- Bug. Two motors nema 17 do not rotate at the same time. HOT 2
- Changing speed
- Motor Status HOT 1
- Not smooth movement HOT 5
- Please advice on constant rotation HOT 2
- Smooth transition between movements in LINEAR_SPEED Profile HOT 2
- Using two steppers - seems that they only can use a single rpm value!! HOT 2
- Stepper.Disable() Issue HOT 2
- Stepper scaling HOT 3
- What is the RPM? HOT 2
- What should be set for the "microstep" value? HOT 2
- No sync move at step_high_min = 30 HOT 1
- Please add non 2^n microstep support for close loop stepper. HOT 2
- TMC HOT 1
- Support non-blocking nextAction()
- compatibility with grbl shield HOT 1
- Sketch didn't work on Apple M1 Pro Sonoma v14.1.2 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stepperdriver.