Skip to content

Maik93/jetsonDynamixel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jetsonDynamixel

The core concept is to utilize the full-duplex UART of Jetson TX2 to communicate in half-duplex with Dynamixel servos through 74LS241, as illustrated in this beautiful post.

This library is done starting from this library for Raspberry and this python GPIO handler.

Device hardware

I've used a Jetson TX2 with an Orbitty Carrier, where the UART0 is handled by the kernel with the namespace /dev/ttyTHS2 (ttyS0 is already used by the system for... boh, something, so it's easier to use this one!). Maybe you've to change something if you use other platforms.

Prerequisites

First of all install GPIO handler, cloning that repo and executing python setup.py build && sudo python setup.py install. Remeber that anything you do with GPIOs need superuser privileges.

Further improvements

It's not so unusual that some reply from the motors went lost, and I suppose it's related to I/O timings; probably a little improvement could be done implementing this optimizations in GPIO library.

About

Library that allows to control Dynamixel motors (currently AX-12) direclty from Jetson via UART through a 74LS241 dual buffer.

Resources

License

Stars

Watchers

Forks