3LED Dimmer Switch

In this project, you’ll build a light dimmer by controlling the brightness of an LED using a potentiometer. The power in this project lies in your ability to read analog inputs with the Raspberry Pi and output pulse-width modulation signals. These will be incredibly useful skills in future projects and in your Pi learning.

image

PARTS REQUIRED

Raspberry Pi

Breadboard

10 kΩ potent iometer

MCP 3008 chip

5 mm LED

330 Ω resistor

Jumper wires

INTRODUCING POTENTIOMETERS

Potentiometers are like power dials and are used in a wide variety of applications in your daily life, such as controlling the volume of the radio, adjusting the brightness ...

Get 20 Easy Raspberry Pi Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.