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 12.7K
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 11.5K
Controlling LEDs with a Demultiplexer

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

eye 11.2K
Truth Tables

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

eye 2.94K
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 7.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 3.20K
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 16.0K
“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 5.83K
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 3.20K
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 7.58K
Controlling a Tricolor LED Using PWM

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

eye 12.9K
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 3.07K