8 lessons · Learn by making
EagLED experiments
Eight hands-on projects with an accurate 3D EagLED, explained programs and browser programming. Explore LEDs, buttons, light sensing and sound.
Start with an intact EagLED and a USB data cable. Explore its real board layout in 3D, upload each reviewed starter program, and test it on your own board.
Build from blinking and LED sequences to button memory, light measurements, an automatic night light and buzzer notes. Each project explains the code, gives a prediction experiment and helps you diagnose common problems.
-
Light and timing
1Blink an eye with EagLED
Make the right eye blink, then investigate how on-time and off-time shape a repeating signal.
Beginner · 25 minutes
-
2
Sequence all seven EagLED LEDs
Follow an array through the six shaped LEDs and the small user indicator.
Beginner · 25 minutes
-
3
Fade the EagLED eyes
Use PWM to change the average brightness of the two red eye LEDs.
Beginner · 25 minutes
-
Input and memory
4Press to light with EagLED
Read an active-low button and make the left eye follow your finger.
Beginner · 25 minutes
-
5
Make an EagLED button remember
Turn a momentary press into a debounced, persistent on/off choice.
Beginner · 25 minutes
-
Sensing the world
6Measure light with EagLED
Read the on-board phototransistor and compare ADC counts with approximate voltage.
Beginner · 25 minutes
-
7
Build an automatic EagLED night light
Use two thresholds and remembered state to keep a light stable near the switching point.
Beginner · 25 minutes
-
Sound
8Play notes on the EagLED buzzer
Drive the built-in piezo and explain the relationship between frequency, duration and its shared LED pin.
Beginner · 25 minutes