Jetson/Tutorials/Communicate To Arduino
There are multiple ways an Arduino or any microcontroller can communicate with a Jetson TK1. The easiest & recommende dmethod is to use serial communication. It is also possible to use I2C (faster than serial) or SPI (faster than I2C), but these are slightly more tricky.
User applications that need flexible communication between the Jetson & Arduino can implement it using serial UART.
On the Arduino side, communication is implemented with the Serial API.
On the Jetson side, the user would
/dev/ttyUSB0 and perform read/write calls on the returned descriptor, using
termios.h for configuring options like baud rate, etc.
TODO example serial code