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 ...

Get Mastering Arduino now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.