-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Steppers not supported? #29
Comments
Thanks for the report, unfortunately...
This is correct. The docs also include this notice:
(And the platform page: http://johnny-five.io/platform-support/#intel-edison-arduino) I apologize for this being unclear, and I have updated that to be more specific:
Please note that this is only temporary. Updates to follow |
Also, you'll want to remove that sketch from the system:
|
As it turns out, if you're using the SparkFun Arduino Block, you can flash Advanced Firmata to the Arduino and run JS scripts from the Edison. https://github.com/rwaldron/galileo-io#sparkfun-edison-arduino-block |
Cool, I have the arduino breakout board, but I'll look into using the Sparkfun block as a temporary workaround. Out of curiosity, what are the issues blocking Stepper support on edison+arduino breakout board? |
None, I just haven't finished writing support yet :) I worked on it all day today, should be ready for testing tomorrow-ish. |
Awesome, thanks a bunch for working on this immediately! |
Sometimes I just need a little outside motivation ;) Appreciate you bringing this bug :) |
Update:
|
No matter what I try, I cannot get the speed to increase beyond a certain point. |
Ouch, how slow are we talking? |
I am trying to create a stepper control on an Edison board by doing the following taken from the johnny-five docs
stepper = new five.Stepper({
type: five.Stepper.TYPE.DRIVER,
stepsPerRev: 200,
pins: {
step: 11,
dir: 13
}
});
However I am getting a Stepper is not supported error
Error: Stepper is not supported
at new Stepper (/home/rmperez/test/node_modules/johnny-five/lib/stepper.js:128:11)
at initializeStepper (/home/rmperez/test/app/controllers/mcu.js:28:13)
at Board.exports.gotoPosition (/home/rmperez/test/app/controllers/mcu.js:41:3)
I made sure to upload a sketch using AdvancedFirmata before this. Are steppers not supported in galileo-io or am I doing something incorrectly? Thanks
The text was updated successfully, but these errors were encountered: