Site Guide

Find your way around the Engineering Club.

Know what you need? Search for a component, concept or project.

Around the site

Start

Labs

TestingExperimental

Build

Club

LearnExperimental

Go a little deeper

Entry points to larger collections. Use Search for individual records.

Learning paths & reference

Inside PiCrawlerExperimental

Inside Inventory

← Mega Components

ELEGOO MEGA · LESSON 3

LED

Power a red LED through a resistor and compare three resistor values.

Observe how series resistance changes LED current and brightness.

Parts List

  • ELEGOO Mega 2560 R3 is a 5 V ATmega2560 AVR board with many I/O pins and four hardware UARTs for control systems with several peripherals. Long ELEGOO-branded Mega PCB with USB-B and barrel connector, ATmega2560 marking, extended side headers and a large double-row digital header at the end. Read printed Mega labels; its SPI hardware placement is not the same numeric pins as an Uno.
  • A USB-A to USB-B cable carries USB power and, when its data conductors are present, a host/device data link. USB-A plug and square USB-B plug. Inspect the plug shape; micro-USB is not USB-C, and USB-B is the squarer device connector.
  • An 830-contact solderless breadboard joins inserted leads through hidden spring strips so circuits can be rebuilt without solder. Full-size rectangular board, center channel, numbered five-hole terminal groups and side power rails. Counted contact holes are not component units.
  • A red indicator LED converts forward current into visible light; use it for status indication with a series resistor. Red two-lead dome; longer lead normally anode, flat edge normally cathode. Lead length may have been trimmed; confirm polarity with diode test.
  • 220 Ω resistor provides a fixed opposition to current. LED current limiting is a common use when its unverified power and tolerance limits fit the circuit. Small axial body with one wire at each end. Find the labeled value compartment and measure an isolated loose part with a meter; the shared inventory image is a form reference.
  • 1 kΩ resistor provides a fixed opposition to current. Signal current limiting and transistor base drive is a common use when its unverified power and tolerance limits fit the circuit. Small axial body with one wire at each end. Find the labeled value compartment and measure an isolated loose part with a meter; the shared inventory image is a form reference.
  • 10 kΩ resistor provides a fixed opposition to current. Pull-ups, pull-downs and sensor voltage dividers is a common use when its unverified power and tolerance limits fit the circuit. Small axial body with one wire at each end. Find the labeled value compartment and measure an isolated loose part with a meter; the shared inventory image is a form reference.
  • Male-to-male jumper leads make removable point-to-point connections for low-current prototype signals. Pins at both ends; count individual leads rather than ribbon groups. Check intact insulation and snug contacts before use.

Assembly

  1. Unplug USB before changing the breadboard.
  2. Install the 220 Ω resistor and LED as shown; keep the LED legs in separate connected strips.
  3. Connect USB, observe, then unplug before swapping to 1 kΩ and 10 kΩ.
Illustration © ELEGOO. All rights reserved.
Illustration © ELEGOO. All rights reserved. Open full-size ↗
Reviewed pin-to-pin connections
FromToPurpose / notes
Mega: 5VSeries resistor: input
Series resistor: outputRed LED: anode (+)
Red LED: cathode (-)Mega: GND
Open vector connection diagram ↗

Code

Hardware-only experiment. No program or upload is required.

Expected behavior

The 220 Ω circuit is brightest;1 kΩ is dimmer and10 kΩ may be faint. Only one resistor is installed at a time; no firmware is required.

Experiments & Challenges

  • Move the resistor to the cathode side without changing its series connection.

Troubleshooting

  • Dark LED: check polarity and breadboard row continuity; do not remove the resistor.