Personal Project

Published

Introduction: Personal Project

About: I am currently a senior in college

In this project we will use a potentiometer to control the brightness of an LED and a button to control the pitch of a piezo speaker.

Step 1: Add an LED

1. Place an LED (any color) into the breadboard

2. Connect one end of 220 Ω (ohm) resistor to the top lead (+), should be the longer lead, and the other end into Pin 10 on your Arduino Board.

3. Connect a Jumper Wire to the bottom lead (-) and to the grounded rail on the breadboard.

4. Connect a Jumper Wire from the grounded rail to the GND (ground) Pin on the Arduino.

5. Connect a jumper wire from the positive rail (+) on the board to the 5v pin on the Arduino

Step 2: Add Piezo Speaker

1. Add a Piezo speaker to the board

2. Connect one end of a 100 Ω (ohm) resistor to the negative (black) lead on the speaker and the other end to the grounded rail on the breadboard.

3. Connect a jumper wire from the positive lead (red) to pin 9 on the Arduino

Step 3: Add a Button

1. Connect a button to the breadboard

2. Connect a jumper cable from the bottom left side of the button to the positive (+) rail on the breadboard

3. Connect one end of a 10 Ω (ohm) resistor from the bottom ride side of the button and the other side to the ground (-) rail on the board

4. Connect a jumper cable from the top right side of the button to pin 4 on the Arduino

Step 4: Add a Potentiometer

1. Connect a potentiometer to the board

2. Connect a jumper cable from the left lead of the potentiometer to the 5v (+) rail on the board

3. Connect a jumper cable from the center lead of the potentiometer to the A0 (analog) pin on the Arduino

4. Connect a jumper cable from the right lead of the potentiometer to the ground (-) rail on the board

Step 5: Code for Personal Project

Attached is the personalProject.ino which contains all of the code for running the personal project on an Arduino Uno.

Share

    Recommendations

    • Water Contest

      Water Contest
    • Creative Misuse Contest

      Creative Misuse Contest
    • Clocks Contest

      Clocks Contest

    Discussions