Asked — Edited
Resolved Resolved by Dunning-Kruger!

Iotiny And Dynamixel

How can the ioTiny be used to drive a Dynamixel AX-12 servo chain?

I wrote an init script

 UARTInit(0,5,11500)

and got: Error on line 1: UART port is @ 0, 1, or 2.

If only pins 0,1,or 3 on the Tiny can be used as a UART can the Dynamixel plugin be expanded to include a UART pin choice?


ARC Pro

Upgrade to ARC Pro

Stay on the cutting edge of robotics with ARC Pro, guaranteeing that your robot is always ahead of the game.

#1  

The iOTiny does not have a uart port... You could try SendSerial instead?... Using SendSerial also means you don't have to initiate the iOTiny's digital port prior to sending data... For reference the board layout of the iOTiny is shown here (middle of the page)... EZB and iOTiny info

#2  

Just checked the dynamixel plugin... Unless it is somehow updated to work with the iOtiny you're out of luck where the control is concerned... However, you may be able to control the servos "somewhat" using SendSerial commands and scripts... This is just a guess however since I have never used a dynamixel type servo before...

PRO
USA
#3  

Richard is correct the IOTiny, has no UART port and therefor cant use the Dynamixel with it.

#4  

@Richard R. & @fxrtst, You guys are correct. Unfortunately for me. Thanks for the reply.

PRO
Synthiam
#5  

If you wanted to set the dynamixel baudrate to 115,200 - i can modify the plugin to use a digital port rather than UART. That will work on the IoTiny

#6  

@DJ will modifying the existing plug in that works for the ezb make it now unusable on the ezb4/2? Thanks Chris

#7  

@kamaroman68 If you read between the lines @DJ will be just adding support for the IOTiny. It would be rather silly to add dynamixel support for the iotiny while dropping support for the ezb4....

#8  

@DJ Sures,

I have the baud rate set @ 115200 now.
If I could use the ioTiny for my project it would be a big help. Thanks.

PRO
Synthiam
#9  

Here: https://synthiam.com/redirect/legacy?table=plugin&id=39

#10  

@DJ Sures,

You have done it again!

Initial test of the new version of the Dynamixel plugin works with the ioTiny driving my AX-12 servo chain. I have tried only several servos so far. Now I will replace the EZ-B4/2 with the ioTiny on my robot. I hope to have pictures and maybe a video soon.

Thanks again.

PRO
USA
#11  

Talking Baud rates here, I have a Question on when it becomes relevant. At 115k, realistically how many servos moving at once to notice a performance decrease?

PRO
USA
#12  

,,,hello any one in here?