Skip to content
Parallax Learn (Stage)

Parallax Learn (Stage)

This is the staging site. Please see https://learn.parallax.com for the official site.

  • Welcome
  • Tutorials
        • Tutorial Series head tag

          Tutorial Series
        • Tutorial Series

          The special, classroom-ready series pages are organized collections of tutorials for our most popular hardware and/or languages. The tutorials for each topic are conveniently accessible from a single page, shown in the order it is recommended that they be completed.
        • Robotics Series Head tag

          Robotics Series
        • Robotics Series

          • Artificial Intelligence Tutorial Series
          • Cybersecurity: Radio Data tutorialCybersecurity Tutorial Series
          • cyber:bot Tutorial Series
          • Boe-Bot Tutorial SeriesBoe-Bot Tutorial Series
          • Arduino Shield-Bot Tutorial Series
          • ActivityBot with C TutorialsActivityBot with C Tutorials
          • ActivityBot with BlocklyProp Tutorial SeriesActivityBot with BlocklyProp Tutorial Series
          • Scribbler 3 Tutorial SeriesScribbler 3 Tutorial Series
        • Electronics & Programming Series Head tag

          Electronics & Programming Series
          • BS2 Board of Education Tutorial SeriesBS2 Board of Education Tutorial Series
          • Propeller C-Language BasicsPropeller C Basics and Projects
          • FLiP Try-It Kit C Tutorial SeriesFLiP Try-It Kit C Tutorial Series
          • FLiP Try-It Kit BlocklyProp TutorialsFLiP Try-It Kit BlocklyProp Tutorials
          • Badge WX Tutorial SeriesBadge WX Tutorial Series
          • Propeller BlocklyProp Basics and ProjectsPropeller BlocklyProp Basics and Projects
          • View All Tutorial Series »
        • Browse Tutorials
        • Browse Tutorials

          Individual tutorials sorted by robot or kit, and language.
        • By Robot or Kit
          • ActivityBot
          • SumoBot WX
          • Boe-Bot
          • Shield-Bot
          • cyber:bot
          • Badge WX
          • ELEV-8
          • ARLO
        • By Language
        • By Language

          • Propeller C
          • Arduino
          • BlocklyProp
          • PBASIC
          • Python
          • View All Tutorials »
  • Educators
  • Reference
  • Downloads
  • Home
  • All Courses
  • Robotics with the Board of Education Shield for Arduino

Robotics with the Board of Education Shield for Arduino

LED Test Circuit

LED Test Circuit Parts

(2) LEDs – Red
(2) Resistors,  220 Ω (red-red-brown)
(3) Jumper wires
 

Always disconnect power to your board before building or modifying circuits!  
1. Set the BOE Shield’s Power switch to 0.
2. Disconnect the programming cable and battery pack.

LED Test Circuits

The image below shows the indicator LED circuit schematic on the left, and a wiring diagram example of the circuit built on your BOE Shield’s prototyping area on the right.

  • Build the circuit shown below. If you are new to building circuits, try to follow the wiring diagram exactly.
  • Make sure your LED cathode leads are connected to GND.  Remember, the cathode leads are the shorter pins that are closer to the flat spot on the LED’s plastic case.  Each cathode lead should be plugged into the same 5-socket row as the wires that run to the GND sockets.
  • Make sure that each longer anode lead is connected to the same 5-socket row as a resistor lead.

The next picture will give you an idea of what is going on when you program the Arduino to control the LED circuit.  Imagine that you have a 5 volt (5 V) battery. The Board of Education Shield has a device called a voltage regulator that supplies 5 volts to the sockets labeled 5V.  When you connect the anode end of the LED circuit to 5 V, it’s like connecting it to the positive terminal of a 5 V battery.  When you connect the circuit to GND, it’s like connecting to the negative terminal of the 5 V battery.

On the left side of the picture, one LED lead is connectd to 5 V and the other to GND. So, 5 V of electrical pressure causes electrons to flow through the circuit (electric current), and that current causes the LED to emit light.  The circuit on the right side has both ends of the LED circuit connected to GND.  This makes the voltage the same (0 V) at both ends of the circuit.  No electrical pressure = no current = no light. 

You can connect the LED to a digital I/O pin and program the Arduino to alternate the pin’s output voltage between 5 V and GND.  This will turn the LED light on/off, and that’s what we’ll do next.

Volts is abbreviated V. 
When you apply voltage to a circuit, it’s like applying electrical pressure. By convention, 5 V means “5 V higher than ground.” Ground, often abbreviated GND, is considered 0 V. 

Ground is abbreviated GND.
The term ground originated with electrical systems where this connection is actually a metal rod that has been driven into the ground.  In portable electronic devices, ground is commonly used to refer to connections that go to the battery supply’s negative terminal.

Current refers to the rate at which electrons pass through a circuit. 
You will often see measurements of current expressed in amps, which is abbreviated A.  The currents you will use here are measured in thousandths of an amp, or milliamps.  For example, 10.3 mA passes through the circuit shown above.


Printer-friendly version
Introducing the Prototyping Area
Prev
How a Sketch Makes the LED Turn On and Off
Next

DISCUSSION FORUMS | PARALLAX INC. STORE

About | Terms of Use | Feedback: learn@parallax.com | Copyright©Parallax Inc. 2024

© 2025 Parallax Learn (Stage) • Built with GeneratePress