Wireless + Arduino + oF [Tutorial]

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:

Sorry, this is Members Only content. Please Log-in.

Join us today by becoming a Member.

• Archive: Access thousands of projects, scores of essays, interviews and reviews.
• Publish: Post your projects, events, announcements.
• Discuss: Join our Discord for events, open calls and even more projects.
• Education: Tutorials (beginners and advanced) with code examples and downloads.
• Jobs Archive: Find employers who have recruited here in the past (over 1,000 jobs).
• Discounts: Special offers and giveaways (events, books and media).
• Ad-Free Reading: No advertisements or banners of any kind.
• Studios/Organisations: Read more about benefits here.

Read More

/++

/+

2 comments on “Wireless + Arduino + oF [Tutorial]

Click here to cancel reply.