Lab 1 - Serial Demo

About: I am currently a senior in college

This example demonstrates how to use Serial input to control LEDs

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Adding 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 3 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.

Step 2: LED Errors

Step 3: Add a Green LED

The green LED has the same setup as our red LED.

1. Connect the led to the breadboard.

2. Connect a 220Ω resistor to the positive(+) lead of the LED and to a Pin 5 on the Arduino.

3. Connect the negative lead to the ground rail.

Step 4: Add a Red LED

The red LED has the same setup as our blue and green LEDs.

1. Connect the led to the breadboard.

2. Connect a 220Ω resistor to the positive(+) lead of the LED and to Pin 9 on the Arduino.

3. Connect the negative lead to the ground rail.

Step 5: Code for Serial Demo

Attached is the SerialDemo.ino which contains all of the code for running the binary counter project on an Arduino Uno.

Be the First to Share

    Recommendations

    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest

    2 Discussions

    0
    None
    gwwhitneySwansong

    Reply 1 year ago

    Yep! We're using Instructables to submit our lab projects