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
Push-to-Close Buttons

Discussion of the behavior of push-to-close as well as push-to-open buttons.

eye 1.31K
Push-On/Push-Off Buttons

Design Challenge, Problem 1

Write the code that converts the three momentary contact push buttons to operate as push-on / push-off buttons that satisfies the following specifications.

eye 1.30K
Debouncing via Software

Correcting Bounce with Software

In this project, we will write a software sketch to identify and correct the effects of button bounce on the chipKIT™ microcontroller boards.

eye 6.03K
Debouncing via Bounce Library

Using Libraries to Debounce Button Circuits

In this project, when the button is pressed the LED shines and the computer receives the number of times the button has been pressed.

eye 7.03K
Using Force Buttons

Create a more complex and sophisticated button circuit that will activate when pressed with the right amount of force.

eye 6.00K
Multi-Button Input

This topic page describes how you can set up a multi-button input circuit.

eye 1.15K
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
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