Category: Arduino Projects

  • Upload the Amazing Pushbutton Sketch

    With the Amazing Pushbutton built, it’s time to upload the sketch. Example 17-1 sends digital information to the Arduino IDE (integrated development environment) Serial Monitor and turns the onboard LED on and off with each press of the pushbutton switch. Here are the steps you’ll need to follow: Example 17-1. The Amazing Pushbutton sketch Once the Amazing Pushbutton sketch has…

  • 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,…

  • Parts List

    Figure 17-1. The Amazing Pushbutton

  • Introduction

    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…

  • Circuit Theory

    Pressing the pushbutton will close the switch and allow +5 volts DC electrical current to flow through the circuit. The Arduino reads digital pin 6 to determine if the pin is receiving +5 volts (i.e., set to HIGH), or if it is not receiving any voltage (i.e., set to LOW). The Arduino takes that information and…

  • Upload the Logic Tester Sketch

    With the Logic Tester built, it’s time to upload the sketch. Example 16-1 operates an LCD using a pushbutton switch, a transistor, and two fixed resistors. Here are the steps you’ll need to follow: Once the Logic Tester sketch has been uploaded to the Arduino, the LCD will display a message, as shown in Figure 16-1. Take the long jumper…

  • Let’s Build a Logic Tester

    Building this tester requires the use of an LCD. If this is your first time using an LCD, I suggest reading. For help adding the 16-pin male header to the LCD, see Figure 14-2 and Figure 14-3. The 10KΩ potentiometer’s center pin is wired to pin number 3 of the LCD. The potentiometer’s remaining pins should be wired to +5VDC and ground.…

  • Parts List

    Figure 16-1. A Logic Tester with an LCD

  • Introduction

    The Logic Tester project in allowed you to check the digital data values the Arduino uses to control motors and LEDs. The tester’s two LEDs offer a quick way to see the digital data. In this project, you’ll make an awesome change to the tester by displaying “HIGH (1)” or “LOW (0)” data messages on an LCD.…

  • Circuit Theory

    Pressing the pushbutton will close the switch and allow +5 volts DC electrical current to flow through the test circuit. The Arduino reads digital pin 8 to determine if the pin is receiving +5 volts (i.e., set to HIGH) or if it is not receiving any voltage (i.e., set to LOW). The Arduino takes that information…