ARDUINO meets PROCESSING

physical computing and computer graphics


navigation

The Arduino meets Processing project intends to make it as easy as possible for anyone to explore the world of physical computing. All you need is an Arduino board as well as the Arduino and Processing software, which you can download on their project websites.

On this website we explain how to:

  1. set up electronic circuits with various kinds of sensors,
  2. control and measure the sensors with the Arduino board,
  3. send the data to the computer,
  4. and use the received values to generate computer graphics with Processing.

For all examples you need some basic electronic equipment such as a breadboard, resistors, the sensors, and some wires.

The following sensors are dealt with on this website:

All examples contain a list of the parts as well as the Arduino and Processing files you need.

The Processing files have a DisplayItems class which paints a grid with values, a black or white background. You control these attributes with the following keys:

Also, the Processing files produce output of the values in the console, this function can be turned ON and OFF with the 'O' key.

Finally, you should know that you can freely change the width and height of the Processing windows, as well as the default setting for the display attributes by editing the corresponding variables.

Since both, Processing and Arduino files, have the expansion .pde we have named all files that run in Processing beginning with pa_ and all Arduino files beginning with ap_, so you don't mix them up.

Feel free to play around and have fun exploring the wonderful world of Arduino and Processing!