O'Reilly logo

Make: Basic Arduino Projects by Don Wilcher

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 17. The Amazing Pushbutton (with Processing)

With this project, you can make colorful lines and numbers move up and down your computer screen as you press a simple pushbutton switch. To do that, this project will introduce you to Processing, a simple, easy-to-learn programming language (very much like the Arduino language) that makes it very easy to display graphics on a computer screen. When you connect an Arduino to Processing, you can make your Arduino draw on a screen!

The electronic components to build this device are shown in the Parts List. The Amazing Pushbutton is shown in Figure 17-1.

Parts List

  • Arduino microcontroller
  • MakerShield kit
  • R1: 1KΩ resistor (brown, black, red stripes)
  • PB1: pushbutton switch
  • USB cable
Figure 17-1. The ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required