Переглядів 14,874
This video demonstrates how to use Freenove ADC Chips PCF8591 and ADS7830 with Raspberry Pi and Python to create a digital LED dimmer with a potentiometer. I also explain how to use generator functions with gpiozero objects' source property.
0:00 Intro
1:22 Schematic Diagrams
1:36 Breadboard Circuit
2:41 Potentiometers Explained
3:36 How to Detect the ACD Chip
5:00 Basic Test Program
8:54 Better Digital LED Dimming
10:05 gpiozero source-values
10:55 Python Generators Explained
12:06 Complete Program
Complete code: github.com/mheidenreich/ADCBa...
(Note: code posted may contain small updates and/or bug fixes not shown in the video)
Disclaimer:"Raspberry Pi" and the distinct logo are a trademark of the Raspberry Pi Foundation.
Music: Reuben's Train by Nat Keefe with The Bow Ties, UKposts Music Library