Processing the Physical World
In This Chapter
Turning on a real light with a virtual switch
Graphing data from the physical world
Sending signals between the Arduino and Processing
In the previous chapter, you learn the basics of Processing and its similarities to and differences from Arduino. This chapter is all about combining both of these tools to integrate the virtual and physical worlds. These few exercises teach you the basics about sending and receiving data in both Processing and Arduino. You can build on this knowledge to create your own projects, maybe to generate some awesome onscreen visuals from your sensors or to turn on a light every time someone mentions you on Twitter.
Making a Virtual Button
In this example, you learn how to make an onscreen button in Processing that affects a physical LED on your Arduino. This is a great sketch to get started with interactions between computers and the real world, and between an Arduino and Processing.
An Arduino Uno
The setup is simple for this introduction to Arduino and Processing, requiring only ...