Friday 9 November 2012

Raspberry Pi communications protocol

I had thought to write  in Python a communications protocol to manage the I/O ports on the RPi from a program on a PC via a wireless link.   I had been putting together my ideas for how to configure each port for input or output, communicate this to the RPi and then handover to the program to manipulate the data on these ports.

But in the last two days I have come across two different ways that people have already implemented this sort of thing, so  I thought I would just reference them here in case I want to dig into this again in the future.

The first is using NetIO  http://netio.davideickhoff.de/?p=hardware#raspberry

The other is very clever and uses a Wii controller to drive a Roomba vacuum: http://www.raspberrypi.org/archives/2348

There we go.