Fading LED

This project shows how to fade a LED with the Raspberry Pi.

1. Introduction

This project shows how to fade a LED with the Raspberry Pi. We cover the hardware and software setup in which we connect the GrovePi to a rotary angle sensor (a fancy name for a potentiometer). The Raspberry Pi reads the analog value and dims or fades the PWM to the LED which sets the LED’s intensity. The LED is dimmed using the potentiometer.