-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
does this motor driver work with johnny? #995
Comments
Yes, use the 3-pin example: http://johnny-five.io/examples/motor-3-pin/ The fritzing diagram shows a shield (which is not very helpful TBH) but the code will work. If this answers your question, feel free to close the issue. |
thanks, I will give it a try! Is it also possible to read out the encoders? I have used this motors: https://www.pololu.com/product/1447 to read the currents of the shield I only have to do an analog read? |
Hi @nofear87 sorry for the lack of response on this. We are considering adding support for encoders right into the motor class but that probably won't happen too soon. For now, you would have to write your own code to work with the two inputs. It's not something I've looked to deeply into... maybe someone else here knows more or has some examples? |
@nofear87 I'm assuming that the 3-pin example worked for you. Is it okay to close this ticket? |
I need some time for testing. Then I will give some feedback! Thanks! |
@nofear87 I'm going to go ahead and close this. If for some reason the 3-pin example didn't work, feel free to re-open. |
@nofear87 Hello guys, did that 3-pins example worked for you? I got into trouble while working with "Pololu Dual VNH5019" |
@cheerx hope this helps:
Using this shield to...
|
@dtex are there any upddates regarding the implementation of the encoders? |
No updates. I have a project the requires encoders (using hall effect sensors), but it's still on my to-do list. |
@dtex any updates? Did you have a nice solution for a soft start of the motors? With low pwm they did not run...I ever have to start with high pwm and then decrease it until I reach the target pwm. Maybe there is a smart algorithm for that? |
No, I haven't worked on encoders. I don't recall the soft start issue, but we don't have a fix for that. It would be a nice addition to the motor class though. I'll add that to the wish list. |
The driver is the Pololu Dual VNH5019
https://www.pololu.com/product/2507
The text was updated successfully, but these errors were encountered: