lego_dynamixel_control_xl320
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
lego_dynamixel_control_xl320 [2019/05/16 22:01] – [Running and Analysis] ntorresreyes | lego_dynamixel_control_xl320 [2019/06/06 23:03] (current) – [NXC Code] ntorresreyes | ||
---|---|---|---|
Line 143: | Line 143: | ||
**RS485 to TTL** | **RS485 to TTL** | ||
\\ | \\ | ||
- | The XL-320 uses TTL logic levels (0 to 5v) for communication. Since the NXT uses RS485 communication, | + | The XL-320 uses TTL logic levels (0 to 5v) for communication. Since the NXT uses RS485 communication, |
\\ | \\ | ||
\\ | \\ | ||
+ | {{: | ||
+ | \\ | ||
+ | \\ | ||
+ | The MAX485 chip offers some simplicity over using an off the shelf converter although many higher level features are not included. Nevertheless, | ||
+ | \\ | ||
+ | *1 - TTL Output | ||
+ | *2 - LOW (GND) | ||
+ | *3 - LOW (GND) | ||
+ | *4 - Not Connected | ||
+ | *5 - GND | ||
+ | *6 - SDA (From NXT) | ||
+ | *7 - SCL (From NXT) | ||
+ | *8 - 5 volts | ||
**Writing Dynamixel ID's** | **Writing Dynamixel ID's** | ||
\\ | \\ | ||
Line 216: | Line 229: | ||
The NXC code files as well as the header file is included below in a .zip file: | The NXC code files as well as the header file is included below in a .zip file: | ||
\\ | \\ | ||
- | {{:torres:tutorials: | + | {{:torres:xl320_codev2.zip|}} |
\\ | \\ | ||
**Controlling Multiple Dynamixels** | **Controlling Multiple Dynamixels** | ||
Line 226: | Line 239: | ||
</ | </ | ||
\\ | \\ | ||
- | Next, each Dynamixel should be initialized with the " | ||
- | < | ||
- | SetMode(ID1, | ||
- | SetMode(ID2, | ||
- | </ | ||
\\ | \\ | ||
Finally, when using the " | Finally, when using the " | ||
Line 266: | Line 274: | ||
Wait(10); | Wait(10); | ||
} | } | ||
- | | ||
- | | ||
| |
lego_dynamixel_control_xl320.txt · Last modified: 2019/06/06 23:03 by ntorresreyes