AUTHOR: Logan Duong
Your show and tell can be about anything you accomplished other than research. This is about an action realized.
<aside> ❓ Tutorial: Clearly explain the necessary information and actions to arrive at an outcome
</aside>
Initial Goal: Operate and control the dynamixel servos
Realized Outcome: Dynamixels are moved to a shaft angle
Outline/Framework/Recipe/Steps
Install Arduino libraries for the dynamixel shield
Run the dynamixel shield example (position_mode)
a. The default baud rate for the XL320 is 1,000,000 (bps). This needs to be changed in the code within void(setup).
b. ID for the dynamixels come with factory ID 1. This is the default in the example code, but if you want to control a different servo, then the ID must be changed appropriately.
IMPORTANT
The shield communicates with the dynamixels through a shared serial bus. Because of this, there are several hardware switches included with shield. To upload, switch the shield off, and ensure that the download/dynamixel switch is in the 'download' position. See image below:
To change a dynamixel ID, use the 'ID' example, and change the ID values appropriately.
To rotate to an angle, use the function setGoalPosition()
https://s3-us-west-2.amazonaws.com/secure.notion-static.com/8f38c069-869b-4a71-9629-c141c14f3744/20201022_140247.mp4