All Coding Projects

It's easier to learn by taking something apart than starting from scratch. We created hundreds of lines of example code to help you. No prerequisites- explore however you'd like!

The projects below are our examples: the starting point for your own inventions. If you own a kit, you can complete all of the relevant projects and learn the code that makes them work!

Don't know where to start? Check out the structured Lessons.

The projects will let you change your computer program to interact with the following hardware components.  Look for the same icons on the lesson blocks below to decide which component you want to explore.  Use your kit and the component cards to build, tinker, and learn! 


LED

SPEAKER

BUTTON

SENSOR

LED STRIP

SCREEN

BASE KIT PROJECTS

PRESS BUTTON TO PLAY RANDOM TONE

Using the random function in your code, let the code decide what the next note will be in your song.


SPEAKER, BUTTON
Start Project

FADE RANDOM LED COLORS

Using the random function in your code, let the code decide what color your RGB LED will show.

MORSE CODE GENERATOR

Create messages in code that will blink on Maker Board's LED. Learn how to convert plain characters to ASCII code, then to Morse Code.


CODE ONLY
Start Project

 

MORSE CODE WITH SOUND

You’ll replace the LED blinking lights with a speaker to make sounds instead of blinks in this Morse Code Generator.


SPEAKER
Start Project

MORSE CODE WITH SOUND & LIGHT

Combine the digitalWrite commands for the LED with the tone commands for the speaker in this Morse Code Generator.


LED, SPEAKER
Start Project

LED FLASHLIGHT

Create an LED flashlight, with a button to turn the flashlight on and off.


LED, BUTTON
Start Project

 

FOUR Note Piano

Combine four buttons and a speaker to create your own customizable piano. Then modify the code to allow for new notes and combinations.


SPEAKER, BUTTON
Start Project

Four Note Piano with Synced LED

Create a light and sound party by synchronizing an LED with a four note piano.


LED, SPEAKER, BUTTON
Start Project

Sound Samples

Use loops, functions, and variables to create all kinds of cool sounds with just a speaker and a button. Then think up new ways to use code for all kinds of noises.


BUTTON, SPEAKER
Start Project
 

Multi-Color Glow Lamp

Fade and mix colors together in a repeating pattern to create a fun glow lamp for your computer.

Cycle LED Colors with Button

Write code that lets you mix three colors together to create hundreds of cool combos.


LED, BUTTON
Start Project

Tune LED Colors with Button

Using for loops, create a siren that rises and falls automatically with code!


LED, BUTTON
Start Project
 

Coin Toss

Use code to decide the outcome of a coin toss. Press the button and the lights will flicker as the 'coin' flips through the air.


LED, BUTTON
Start Project

Dice Roll

"Roll" a digital dice using and LED light and some computer code! Learn about programming random decisions.


LED, BUTTON
Start Project

Build a 3-LED clock that can keep time in the code and display it with a button press!


LED, BUTTON
Start Project
 

Combines an indicator light with a software timer and a light and speaker alarm and some math to ensure the timer is working in 10 second increments.


LED, SPEAKER, BUTTON
Start Project

Drag Race Reaction Timer

To make a great reaction time game, create specific time windows where you’ll allow inputs to be read.


LED, SPEAKER, BUTTON
Start Project

memory game

Test your memory against your own code! This program blinks out a pattern of lights, then you try to repeat it back. Each time you succeed, the pattern grows.


LED, SPEAKER, BUTTON
Start Project
 

Control how your LED blinks and which color blinks when. Then combine the colors for a light party!

Use random() to make your blinking LED light more interesting!

Button to Play a Tone

Use a button to play a tone from the speaker. Add a loop to continually check the status of the button.


SPEAKER, BUTTON
Start Project
 

Press Button to Stop a Tone

Use a button to stop a tone from playing with the speaker. Add an "if loop" to continually check the status of the button.


SPEAKER, BUTTON
Start Project

Hold Button To Turn LED On

Use a button to turn the LED light on.


LED, BUTTON
Start Project

Play 3 Tones to a Speaker

Add code to your program to play 3 different tones with your speaker. Control the frequency too!


SPEAKER
Start Project
 

Countdown Speaker Alarm

This project shows you how to write a bit of code to create an alarm sound from a speaker.


SPEAKER
Start Project

Countdown LED & Speaker Alarm

This project shows you how to write a bit of code to create an alarm sound from a speaker combined with a blinking LED.


LED, SPEAKER
Start Project

Synchronize LED and Speaker

This project shows you how synchronize sound from a speaker with a blinking LED.


LED, SPEAKER
Start Project
 

SENSOR PROJECTS

Use a temperature sensor to blink out the current temperature with two LEDs. One LED blinks the 'tens place' and the other blinks the 'ones place'.


LED, SENSOR
Start Project

Dual Threshold Nightlight

Create a nightlight that turns on when it's dark out and stays on until it's gotten bright. Two light thresholds means the light won't flicker.


LED, SENSOR
Start Project

Room Mood Display

Use temperature, light, and sound sensors to measure the environment around you. Then display the values using the brightness of LED lights. What color is your environment?


LED, SENSOR
Start Project
 

LED Volume Indicator

Use a sound trigger to change the brightness of an LED. The louder the noise, the brighter the LED!


LED, SENSOR
Start Project

Light-Activated Nightlight

Use a light sensor to trigger an LED on or off based on the light in your environment.


LED, SENSOR
Start Project

Nap Spot Indicator

Use temperature, light, and sound sensors to measure the environment around you. When you've found somewhere that's dark, warm, and quiet, you've found a perfect nap spot!


LED, SPEAKER, SENSOR
Start Project
 

Sleep Friendly Nightlight

Create a smart night light that comes on when the room gets dark. After you turn it off with a clap, it won't turn on again until the next night.


LED, SENSOR
Start Project

Sound Triggered LED

Use a sound trigger to take noise readings from your environment. If the noise reaches a threshold, turn on an LED for the entire time the noise is above your threshold.


LED, SENSOR
Start Project

Sound Light Switch

Use a sound trigger to turn an LED on and off when it 'hears' a loud noise.


LED, SENSOR
Start Project
 

Temperature-Triggered Light

Use a temperature sensor to trigger an LED when a temperature threshold is met.


LED, SENSOR
Start Project

Tricolor Temperature Indicator

Using three LEDs or one multicolor LED, set three temperature thresholds. Turn on a different LED depending on the temperature band you're in.


LED, SENSOR
Start Project

Two-Clap Light Switch

Use a sound trigger to listen for two claps to turn on an LED. Wait for two more claps to turn off the LED. What other noises can trigger the light?


LED, SENSOR
Start Project
 

Serial Print Sound Trigger Reading

When you're using a sound trigger, it's really helpful to take some baseline readings. For example, what happens when you clap?


SENSOR
Start Project

Serial Print Temp Readings

Temperature is not only useful data, but you can display it in lots of interesting ways. See what you can do with this project!


SENSOR
Start Project

Serial Print Light Sensor Readings

The light sensor is simple, reliable, and really useful. Once you understand how to use it, you'll find hundreds of uses for it.


SENSOR
Start Project
 

FLEXIBLE LED STRIP PROJECTS

Color Sweep

Sweep colors across the flexible LED strip with a couple of incrementing statements.


LED STRIP
Start Project

Pixel Bounce with Button

Holding down a button bounces a pixel up and down the flexible LED strip.


BUTTON, LED STRIP
Start Project

Pixel Bounce

Send a single pixel up and down the strip, changing direction at each end.


LED STRIP
Start Project
 

Fade

Fade the entire LED strip's brightness up and back down using the .setPixel method().


LED STRIP
Start Project

Changing Color Pixel Bounce

Send a single pixel up and down the strip, changing direction at each end and changing color along the way!


LED STRIP
Start Project

Brightness & Color Tuner

Use button A5 to update the color value of the LED strip. Use button 2 to update the brightness of the LED strip.


BUTTON, LED STRIP
Start Project
 

Color Sweep with Button

Holding down a button bounces a pixel up and down the flexible LED strip with an if statement.


BUTTON, LED STRIP
Start Project

Color Tuner

Hold down a button to cycle through the colors of the LED strip with all of the pixels at the same time.


BUTTON, LED STRIP
Start Project

Counter

Use a button to count up to 70 on the LED strip using two colors of light- one for the ones place and the other for the tens place.


BUTTON, LED STRIP
Start Project
 

Brightness Wave

Use an array to change the brightness of the pixels on the LED strip in a wave formation.


LED STRIP
Start Project

Color Party

Use the random() function and the .setPixel method to have a party on the LED strip!


BUTTON, LED STRIP
Start Project

Color Scanning Bar

Sweep a 'bar' of lights across the LED Strip.


LED STRIP
Start Project
 

Timing Game

Try to hit the button just as the moving pixel passes the center pixel. Level up and increase your speed. How fast can you go?


BUTTON, LED STRIP
Start Project

Pong

Play a fun game of pong using lights and buttons. There's a lot of code here, but you can do it!


BUTTON, LED STRIP
Start Project

Single Pixel Example

Turn on a single pixel on your LED strip. Play around with the different patterns you can make with only a few lines of code!


LED STRIP
Start Project
 

Using Entire Strip

Turn on a every pixel on your LED strip. Play around with the different color values with .setPixel().


LED STRIP
Start Project
 
 

SENSOR & FLEXIBLE LED STRIP PROJECTS

Light Sensor LED Strip Gauge

Using an LED Strip and a light sensor, create a light gauge that lights up more pixels when it's bright and fewer when it's dim.


SENSOR, LED STRIP
Start Project

Sound Sensor LED Strip Gauge

Using an LED Strip and a sound sensor, create a sound gauge that lights up more pixels when it's loud and fewer pixels when it's quiet.


SENSOR, LED STRIP
Start Project

Temperature Sensor LED Strip Gauge

Using an LED Strip and a temperature sensor, create a temperature gauge that lights up more pixels when it's warm and fewer pixels when it's cool.


SENSOR, LED STRIP
Start Project
 

Temperature Sensor LED Strip Color Changer

Using an LED Strip and a temperature sensor, create a temperature display that changes color based on the temperature.


SENSOR, LED STRIP
Start Project

Light & Sound LED Strip Gauge

Using an LED strip, light sensor and sound sensor, create a double gauge that measures the sound from one end and the light from the other.


SENSOR, LED STRIP
Start Project
 
 

MAKER SCREEN PROJECTS

Maker Screen Basics

The Maker Screen is a fun and powerful component for your projects. It will allow you to display data, create custom messages, and make video games! Estimated time to complete: 3 Hours


SCREEN
Start Project

Alarm Clock Build

Build your own alarm clock from the ground up! Add features like a message alarm, a speaker, AM/PM, and modes that make your alarm clock customized to you. Estimated time to complete: 8 Hours


SPEAKER, BUTTON, SCREEN
Start Project

Jump Man Guided Build

Dive in to building your own mini video game on the Maker Screen. Start with the basics- moving a character around the screen. By the end, you'll have an addicting game and an understanding of the loops, statements, variables, and functions that go in to it! Estimated time to complete: 20 Hours


SCREEN
Start Project
 

CODE CONCEPTS

In this code, you’re placing digitalWrite commands side by side so they happen at almost the exact same time.


This program illustrates just how fast code can move. After you assign pin 13 to be an output in the setup, you combine the digitalWrite and the ‘for’ loop structure to create a bright-dim-bright blink cycle.



CODE ONLY
Start Project

LED Counter

Keeping count of something in code means using a variable. In this sketch, the variable “count” will change its value from 0 to 1 to 2…..to 10 each time the loop of code runs.


CODE ONLY
Start Project
 

Using the serial monitor provides you with a way to send information to and receive information from the Maker Board. Here you send in a variable’s value and the code updates as soon as Maker Board receives the input.


CODE ONLY
Start Project

This code avoids delays and instead uses a timer built into the Arduino software called millis().

For Loop

The 'for' loop iterates ,or counts through, one or more commands. The loop will repeat an exact numbers of times; you tell the loop how many times to run before it 'breaks'.


CODE ONLY
Start Project
 

While Loop

The "while" loop iterates ,or counts through, one or more commands. The loop will repeat until a condition is met that makes it break; it runs until something stops it from running.


CODE ONLY
Start Project

If Statement

The 'if' statement puts a branch into your code. It allows you to run a certain part of the code only when a condition is true.


CODE ONLY
Start Project

Switch Case Statement

The "switch case" statement 'picks' a code statement to run based on the value of a variable. You can create many unique conditions depending on what the variable value is without using many if-else if statements.


CODE ONLY
Start Project

Are You Stuck?

Part of learning to code is to simply dig into the electronics, hardware and programming language.  But we know that learning to code can be a challenge.  That's where we come in.  

If you are stuck and don't know what to do next, let us know.  We'll come to the rescue!