Arduino UNO R4 Lesson 08. Controlling RGB Full Color LED through Pulse Width Modulation (PWM)
ฝัง
- เผยแพร่เมื่อ 26 มิ.ย. 2024
- This is the 8th lesson of the Arduino UNO R4 Minima Ultimate Training Series. In this video, Joed Goh explains how to control RGB LEDs through Pulse Width Modulation or PWM. He shows several examples of how to mix Red, Green, and Blue colors to produce an array of colors. He also illustrates how to make a program for RGB LED fading effect.
Where to buy?
Amazon US
SunFounder Ultimate Sensor Kit with Original Arduino Uno R4 Minima -
amzn.to/3FCX06P
SunFounder Ultimate Starter Kit with Original Arduino Uno R4 Minima -
amzn.to/3MqfSKd
SunFounder Official Website:
www.sunfounder.com/?ref=hmqmlw0e
------------------------------------------------------------------------------------------------------------------
TABLE OF CONTENTS
00:00 Introduction
01:35 Materials
03:09 PWM - How is it done?
06:30 RGB LED
08:09 Circuit Implementation
08:47 Controlling RGB LED
12:10 RGB Module
12:56 Fading RGB LED
15:41 Mixing RGB Colors
17:42 Challenge Activity
19:21 Up Next
------------------------------------------------------------------------------------------------------------------
PLAYLISTS:
Arduino UNO R4 Minima Ultimate Training Course
• Arduino UNO R4 Minima ...
SunFounder Kit Product Review
• SunFounder Learning Kit
Designing Database Solutions with Microsoft SQL Server 2019
• Designing Database Sol...
Artificial Intelligence and Machine Learning Foundations
• Artificial Intelligenc...
IoT Development
• Internet of Things
Android App Development in Kotlin
• Android App Developmen...
Embedded Systems using Arduino Uno
• Embedded Systems using...
Data Structures and Algorithms using C#
• Data Structures and Al...
References:
rgbcolorpicker.com/
www.circuitbread.com/tutorial...
docs.sunfounder.com/projects/...
• 07 Arduino Pulse Widt...
#SunFounder #arduino #rgbled #pwm
Your lessons are the best!
Thank you! Pls share 🙂
Complimenti
Great lesson , challenge activity was enjoyable and quite easy once you figured it
Thanks!
nice lesson
Thanks for watching
Will these work on R3 also?
Completed the challenge activity.
int RED_PIN = 11;
int GREEN_PIN = 10;
int BLUE_PIN = 9;
void setup() {
pinMode(RED_PIN, OUTPUT);
pinMode(GREEN_PIN, OUTPUT);
pinMode(BLUE_PIN, OUTPUT);
Serial.begin (9600);
}
void loop() {
for (int value=0; value
Great! 😊
Thanks for the support!
@@joselitoeduardgoh4036 hope to learn more from your lessons.
That's great! 😊