Using a plugin for Grasshopper called Firefly, it is possible to connect an Arduino and use inputs from the real world to control the geometry in Rhino.
I decided to create something Rhino is not good at - making games. Within Grasshopper I used a combination of Python script and a recursive plugin called Anemone to create a game. The game was controlled using a joystick hooked up to an Arduino.