Communication between BeagleBone and RoboRIO

Hello!

Sorry if this has been covered on this forum before, but I can’t figure out any way to connect my BeagleBone to the RoboRIO.

My goal is to have the BeagleBone and the RoboRIO exchanging strings of data (ie. coordinates). At first I looked into using i2c, then I heard there was UART, but I can’t find any tutorials on how to use either of these interfaces. I need to find a communications interface that is supported by both the BeagleBone and the RoboRIO.

Thanks!

Try using UDP over ethernet. Implementing the UDP protocol on the RoboRio was fairly straightforward, and if you are using Java there are plenty of tutorials on how to do it (ie. https://docs.oracle.com/javase/tutorial/networking/datagrams/). I actually have not worked on the beaglebone end of things, but I would imagine it is very similar.

UDP works great. We did it last year between Python on an rPi and the roboRIO running Java. Take a look at http://www.chiefdelphi.com/media/papers/3189, it points to our RoboRIO code.

We didn’t get around to publishing the rPi end :frowning: but I think the students grabbed it from a tutorial.

The nice thing we did was use JSON for a data format. That worked very very well.

Let me know if we can help!