EasyManuals Logo

Freenove Ultimate Starter Kit User Manual

Freenove Ultimate Starter Kit
286 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #110 background imageLoading...
Page #110 background image
Chapter 8 Potentiometer & LED
110
www.freenove.com
support@freenove.com
Chapter 8 Potentiometer & LED
We have learned how to use ADC and DAC before. When using DAC output analog to drive LED, we found
that, when the output voltage is less than led turn-on voltage, the LED does not light, the output analog
voltage is greater than the LED voltage, the LED will light. This leads to a certain degree of waste of resources.
Therefore, in the control of LED brightness, we should choose a more reasonable way of PWM control. In this
chapter, we learn to control the brightness of LED through a potentiometer.
Project 8.1 Soft Light
In this project, we will make a soft light. Use PCF8591 to read ADC value of potentiometers and map it to duty
cycle ratio of PWM used to control the brightness of LED. Then you can make the LED brightness changed by
shifting the potentiometer.
Component List
Raspberry Pi 3B x1
GPIO Extension Board & Wire x1
BreadBoard x1
Jumper
Rotary potentiometer x1
PCF8591 x1
Resistor 10kΩ x2
Resistor 220Ω x1
LED x1

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Freenove Ultimate Starter Kit and is the answer not in the manual?

Freenove Ultimate Starter Kit Specifications

General IconGeneral
BrandFreenove
ModelUltimate Starter Kit
CategorySingle board computers
LanguageEnglish