O'Reilly logo

Mastering Arduino by Jon Hoffman

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

First prototype

The first prototype that we will build is pretty simple and designed to be used in the next couple chapters where we learn to program the Arduino. This prototype will have one button that will be used to turn a LED on or off, another LED that we can turn on or off and a TMP36 temperature sensor.

In this prototype, we will have two inputs (a push button and temperature sensor) and two outputs (the two LEDs). We will use the 5V output from the Arduino to power the components. Here is the Fritzing diagram of this prototype:

In this diagram, starting from left to right, we have the button, the two LEDs, and the TMP36 temperature ...

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