Let’s Build an Amazing Pushbutton

Building the Amazing Pushbutton requires the use of a USB cable to send digital information from the Arduino to a computer screen. As shown in Figure 17-1, the device is quite simple to build, using only a 1KΩ fixed resistor and a pushbutton switch. The two components are connected in series. Where the two electronic components tie together, a jumper wire connects between them and pin D7 of the Arduino microcontroller.

Complete the rest of the Amazing Pushbutton wiring using the Fritzing diagram shown in Figure 17-2. The placement of the parts is not critical, so experiment with the locations of the electronic components and electrical wiring of the device. Although a mini breadboard is shown in the Fritzing diagram, the MakerShield protoboard provides a compact way to wire the device.

The Amazing Pushbutton Fritzing diagram

Figure 17-2. The Amazing Pushbutton Fritzing diagram

TECH NOTE

The clicking sound made when pressing the pushbutton switch provides audible feedback of closing electrical contacts.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *