rs232, rs485, protocols

Topices

  1. Serial communication

    1. rs232 - point to point

    2. rs485 - multi drop

  2. Serial protocols

    1. Dynamixel protocols

  3. Arduino setup

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

RS232 and RS485

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

EMG XBEE protocol

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