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 6.49K
Optical Theremin

Implementing a simplified optical Theremin using a 555 timer and a photo-resistor.

eye 3.94K
Controlling a Tricolor LED Using PWM

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

eye 10.1K
Potentiometer-Controlled LED Brightness

This project will build upon the Breathing LED with Pulse-Width Modulation project, now introducing an element of user input by allowing manual control over the brightness of the LED. To accomplish this, we will introduce a new component called a potentiometer.

eye 30.4K
Servo Control with Servo Library

This project implements a servo control circuit that will use the chipKIT™ board to read button presses and move the position of a servo's motor shaft accordingly.

eye 7.97K
Potentiometer-Controlled Servo

For this project, we will improve upon the design from the Servo Control with Servo Library project by replacing the pushbuttons with a single potentiometer (a variable resistor).

eye 9.29K
Light Tracking Servo

For this project, we will be building a control system that allows a servo to align itself to the direction of light coming from a flashlight. To do this we will use light sensitive resistors to detect the direction the light is coming from.

eye 3.52K
Relay Controlled LEDs

In this project, we will demonstrate how to use a relay to control a circuit. A relay is an electrically operated switch that is typically used to control high power circuits.

eye 13.0K
Music with a Piezoelectric Buzzer

In this project, we will be generating sound using a piezoelectric buzzer. We will initially explore how to generate different frequencies by cycling a digital pin from HIGH to LOW at different rates. We will then examine some of the fundamentals of music theory and how they can help us play music with our buzzer.

eye 20.7K
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 2.39K
chipKIT Metronome

Create your own adjustable metronome.

eye 3.90K
Design Challenge:

Relay Controlled Camera Flash

In this design challenge we will use a relay to control the flash circuit found in a disposable camera. Specifically we will modify the circuit built in the relay controlled LEDs project.

eye 9.68K
Sine Wave Generator

For this project, we will be expanding on the concepts introduced in the Creating Music With a Piezo Element project by creating a sine wave generator. Instead of rapidly toggling a digital pin high or low to generate an output signal, we will be using an external digital to analog converter (DAC for short) for more control over the signal. Additionally, we will be incorporating potentiometers for volume and frequency control of the sine wave.

eye 6.42K
Shift Registers

An explanation on the benefits of using shift registers.

eye 4.59K

Explanation of the differences between MPLAB® X and MPIDE.

eye 2.06K