In the last tutorial we used an openFrameworks application to control a process running on an Arduino board. In this tutorial we’re going to reverse that and use an Arduino board to control an openFrameworks application that’s playing back music and we’ll do it wirelessly and (relatively) inexpensively. The electronics in this tutorial are a little more involved than the previous one because we need an oF application to control and two Arduino controllers: one to send transmit data and one to receive data and communicate with the oF application. There are a whole bunch different ways to do wireless communication that we’ll outline in the section below on wireless but for this tutorial, to mitigate the cost of requiring two Arduinos, I’m going to use inexpensive Radio Frequency (RF) components to send and receive the data.
RF components tend to be around $10US for a transmitter and receiver pair and have a range of about 150 meters outdoors. While that's not a huge distance, it's oftentimes plenty to create simple wireless interactivity between different components. There are plenty of other options to create wireless communication or even small networks of devices and applications. For the sake here is a comparison of some of the ways to create wireless communication between two or more devices: