Diodes and LEDs

And in-depth explanation of LEDs and diodes along with their basic functions. Includes a Test Your Knowledge! section to enhance the learning process.

eye 3.02K
×
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 7.03K
×
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 5.05K
×
Switch Controlled Leds

Project 2: Use Switches to Control LEDs

In this project, you will design and implement a circuit that controls an LED on your FPGA board with a slide switch. This project demonstrates how to use Verilog HDL to design a digital circuit and implement it on an FPGA board.

eye 8.10K
×
Simple Combinational Circuit Design

Project 4: Majority of Five

How could you find a majority of the vote if each voter of five has a switch to vote for yes or no? The logic is fairly simple and will be used in this project. Any time there are three or more of the five who vote yes, then there is a majority and the LED needs to turn on.

eye 4.42K
×
Use Flip-Flops to Build a Clock Divider

Project 9: Blinking LEDs

Flip-flop is an edge-triggered memory circuit. In this project, we will implement a flip-flop behaviorally using Verilog, and use a bunch of flip-flops to implement a clock divider that blinks the LEDs.

eye 15.8K
×
Control Seven Segment Display with Push Buttons

Design Challenge 1

In this challenge you will be asked to use push buttons to control the seven segment display on your FPGA board. Each digit of the seven segment display is composed of 7 LEDs arranged in a "figure 8" pattern with another LED for the decimal point. When the buttons are not pressed, all LEDs should be on. When a button is pressed, a digit should turn off.

eye 10.4K
×
Controlling LEDs with a Demultiplexer

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

eye 4.71K
×
Basic Digital I/O

Slide Switch, Push Button, and LED

Circuits often require inputs that come directly from users (as opposed to inputs that come from other devices). User-input devices can take many forms, among them keyboards (as on a PC), buttons (as on a calculator or telephone), rotary dials, switches and levers, etc.

eye 2.50K
×
Ohm's Law

Design Challenge 4: Current-Limiting Resistor

Resistors in electrical circuits are commonly used to provide other components in the circuit with the voltages and currents they require in order to function properly. For example, in this exercise, we will design our circuit (i.e. choose a resistance value) to ensure that an LED receives the voltage necessary for it to light up without allowing excessive current, which could burn out the LED.

eye 1.08K
×
Truth Tables

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

eye 1.17K
×
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.89K
×
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.74K
×
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 6.38K
×
“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.69K
×
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.45K
×
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.49K
×
Controlling a Tricolor LED Using PWM

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

eye 4.53K
×
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.58K
×
Board Verification and Basic Logic Circuits

Project 2, Exercise 2

This exercise is based off of the material from Real Digital Project 2. You will download a .bit file to your board to configure the FPGA with eight different logic circuits. The circuits use buttons and switches for inputs, and LEDs for outputs. You must probe the logic circuits by applying all possible combinations of input signals, and from the results write logic equations that describe the circuit’s behavior.

eye 1.40K
×
Switch Controlled LEDs

Vivado Project 2: Use Switches to Control LEDs

In this project, you will design and implement a circuit that controls an LED on your FPGA board with a slide switch. This project demonstrates how to use Verilog HDL to design a digital circuit and implement it on an FPGA board.

eye 2.33K
×