Skip to content
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

DMM drives with johnny five #1559

Closed
darkworks opened this issue Feb 26, 2019 · 5 comments
Closed

DMM drives with johnny five #1559

darkworks opened this issue Feb 26, 2019 · 5 comments

Comments

@darkworks
Copy link

darkworks commented Feb 26, 2019

i have Question can we use johnny five with DMM DYN4 AC serve drives

http://www.dmm-tech.com/Files/DYN4MS-ZM7-A10A.pdf

so am thinking of using DMM servo motors in my project so i was thinking that johnny five servo class will get feedback from DMB4250-8B Breakout Board or not

thanks

@dtex
Copy link
Collaborator

dtex commented Mar 3, 2019

Not out of the box. What board are you using? Some of the IO plugins support serial so the DYN232M should be able to be implemented.

I've added this to the Requested Features page.

@dtex dtex closed this as completed Mar 3, 2019
@darkworks
Copy link
Author

darkworks commented Mar 4, 2019

am using Arduino Mega 2560 , also i have i2c module PCF8574T , so can you tell me how to start , like how to set budrate 38400 for i2c with mega 2560 as their rs232 protocol use it

https://youtu.be/cxTCNnXewAU?t=61

@darkworks
Copy link
Author

would it will be possible to user johnny five and Serial port : https://serialport.io/docs/en/guide-usage together

@dtex
Copy link
Collaborator

dtex commented Mar 6, 2019

Johnny-Five already uses Serial port as a transport for firmata when talking to an Arduino Mega. You can use a second UART on the Mega to talk to the servos using functionality that is already available.

The serial methods that are available are documented at https://github.com/firmata/firmata.js

The most practical way to do this would be to add a new device and/or controller to the Johnny-Five servo class. If these servos have some additional feature beyond a regular servo (i.e. position encoding) then you would need a new device. If they are programmatically indistinguishable from standard hobby servos then you're fine with the existing default device.

Either way, you will need to add a new controller that uses serial to send messages. The only Johnny-Five class that currently uses serial is GPS so you could crib some stuff from there.

@darkworks
Copy link
Author

thank you very much :) , i will play with it once i get dmm drives , hopefully i next month , thanks for the direction , i will update you how it goes ,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants