Notes on connecting an Arduino to a Roborio - quasics/quasics-frc-sw-2015 GitHub Wiki

This is the sort of thing we'd have to do to connect the Rio to an Arduino.

Before you do anything, plug in a logic translator. One side of it should be on the right of the gap in the middle of the breadboard, and one on the left: the orientation doesn't matter, but that the pins on one side (which should have one marked "LV") are for low voltages and must connect to the Rio (which runs at 3.3V), while the pins on the other side are for higher voltages and must connect to the Arduino (which runs at 5V).

Ports are listed with the logic translator port first and the device port second. All ports listed for the roborio are actually found on the NavX in the 4 row "UART".

Wiring is as follows.

WARNING: The following connection set needs to be verified!

  • On the side with a pin labeled "LV" (which has to be connected to the roborio NO EXCEPTIONS):
    • Logic translator port "LV" connects to the NavX port labeled "+"
    • Logic translator port "GND" connects to the NavX GND port
    • Logic translator port "RXO" connects to the NavX RX port
    • Logic translator port "TXI" connects to the NavX TX port
  • On the other side (which has to be connected to the Arduino, assumed to be a Mega in the following):
    • wire the logic translator port directly across from the one labeled "LV" to the 5V pin on the Arduino
    • wire the logic translator port directly across from the one labeled "GND" to a ground pin on the Arduino
    • wire the logic translator port RXI to the Arduino's TX1 port
    • wire the logic translator port TXO to the Arduino's RX1 port