Electrial setup, rs485 protocols

Todays lecture will cover discussions about

1. setup and handling of the CrustCrawler form a communication point of view

Tutorials for RS485

protocols

The MX64 motor

Dynamixel example code

We have som code snippets for protocol no 2 for the MX64

RS 485 design

RS485 troble shooting

Slides

Exercises

We all ned to be in control of our wiring.

RS485 consists of

  • a pair of signal wires (see RS485 links above)

  • a way ot either

    • have common ground

    • avoid common ground by galvanic insolation (not case in our lab)

  • So you need to have TX, RX,GND from your Arduino to the red Sparkfun rs232 to rs485 board

    • check and double check that ( I have seen smoky devices from you the last week)

2)

Start loking at the CC protocol 2 for use in your project