Blinking an On-Board LED

Creation of a Sketch to Blink an LED

Introduction to writing a chipKIT sketch where the goal is to blink an LED on the chipKIT board. This page also points out the existence of the reference material that is included in MPIDE.

eye 6.46K
Button-Controlled LED

Obtaining Input and Generating Output

The chipKIT board is used to determine whether a button has been pushed or not. The state of the button determines whether or not an LED is illuminated.

eye 4.61K
Controlling LEDs with a Demultiplexer

This Project teaches the basics of using a Demultiplexer IC to select an LED.

eye 4.11K
Truth Tables

This topic page covers how to use multiple buttons to control multiple LEDs.

Multiple Buttons

Using Multiple Buttons to Control Multiple LEDs

Here multiple buttons are used to control multiple buttons. Rather than having one button control one LED, combinations of buttons affect which LEDs are illuminated. The way in which the buttons control the LEDs is described in the form of a truth table.

eye 1.71K
Trainable Delay

In this project, you will set up a single button and external LED much like the one in “Button-Controlled LEDs.” However, the LED will now blink at an adjustable rate.

eye 1.57K
Piezoelectric Switch with Schmitt Trigger

For this project, we will be creating a switch that can turn an LED on and off by simply bending a piezoelectric element.

eye 5.48K
“Marching” LEDs

An Introduction to Binary Numbers

This project introduces binary numbers, bit-wise operators, for loops, and an MPIDE function(bit()). We will use these new concepts to create “marching” LEDs.

eye 2.33K
Binary Counter

Counting Binary with Six LEDs

This project is very similar to the project “Marching” LEDS. However, we will use the six LEDs to output a six bit binary number instead of “Marching.”

eye 1.28K
Pulse-Width Modulation

Making an LED "Breathe"

This project discusses pulse-width modulation (PWM) and how to use it to make an LED “breathe.” The term “breathing” is used to describe how we will make the LED repeatedly grow brighter (until it is completely on) and dimmer (until it is completely off).

eye 3.10K
Controlling a Tricolor LED Using PWM

In this project, we will use PWM to control the color of a tricolor LED.

eye 3.88K
Button Controlled LED with Serial Output

In this project, a button is again used to control an on-board LED, but things get a bit more complicated. Instead of simply having the state of the LED correspond to the state of the button, in this project the LED's state will toggle every time the button is pushed.

eye 1.44K