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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.