loading
loading
loading
This is the 9th lesson of the Arduino UNO R4 Minima Ultimate Training Series. In this video, Joed Goh explains how to create custom functions (user-defined functions) in organizing Arduino codes. He explains the concept of a function parameter and return value. He also illustrates creating a dynamic program that accepts user input through a Serial monitor in controlling RGB LED. Finally, he demonstrates how to use the potentiometer's analogRead value to dynamically control an RGB LED. =========================================================================== ---------------------------------------------------------- Where to buy? ---------------------------------------------------- SunFounder Official Website: https://www.sunfounder.com/?ref=hmqmlw0e SunFounder Ultimate Sensor Kit with Original Arduino Uno R4 Minima https://www.sunfounder.com/products/sunfounder-ultimate-sensor-kit-with-original-arduino-uno-r4-minima?ref=hmqmlw0e SunFounder 3 in 1 Ultimate Starter Kit with Original Arduino Uno R4 Minima https://www.sunfounder.com/products/sunfounder-3-in-1-ultimate-starter-kit-with-original-arduino-uno-r4-minima?ref=hmqmlw0e SunFounder Elite Explorer Kit with Original Arduino Uno R4 WiFi https://www.sunfounder.com/products/sunfounder-elite-explorer-kit-with-official-arduino-uno-r4-wifi?ref=hmqmlw0e Amazon US SunFounder Ultimate Sensor Kit with Original Arduino Uno R4 Minima - https://amzn.to/3FCX06P SunFounder Ultimate Starter Kit with Original Arduino Uno R4 Minima - https://amzn.to/3MqfSKd ========================================================================== ------------------------------------------------------------------------------------------------------------------ TABLE OF CONTENTS 00:00 Introduction 02:14 Materials 03:07 User-Defined Functions 12:30 Serial Input 24:45 Using Potentiometers to Control an RGB LED 28:30 Challenge Activity 29:34 Up Next Arduino UNO R4 Lesson08. Controlling RGB Full Color LED through Pulse Width Modulation (PWM) https://youtu.be/HkT_DTVcq08 Arduino UNO R4 Lesson06. How to Read Analog Sensors? Potentiometer | Bits, Bytes, & Binary Numbers https://youtu.be/CCPfCgj8RkE ------------------------------------------------------------------------------------------------------------------ PLAYLISTS: Arduino UNO R4 Minima Ultimate Training Course https://www.youtube.com/playlist?list=PLVTsfY7Kr9qhzrfkvEuI1JhbqoOuchmKw Arduino UNO R4 WiFi - IoT Development Training Course https://youtube.com/playlist?list=PLVTsfY7Kr9qjOA9hcP5FNqH9A5RGN2PDH&si=FTnBpq84fk4uTaa4 SunFounder Kit Product Review https://www.youtube.com/playlist?list=PLVTsfY7Kr9qj3mVZgvStfVjFuecVrUim0 Designing Database Solutions with Microsoft SQL Server 2019 https://youtube.com/playlist?list=PLVTsfY7Kr9qjagmWoPLXPvdOk46C5IAB_ Artificial Intelligence and Machine Learning Foundations https://youtube.com/playlist?list=PLVTsfY7Kr9qjMqXcOUEkB_rDHQVTVDYtY IoT Development https://www.youtube.com/playlist?list=PLVTsfY7Kr9qjVkq8aJmTXbiiy5h41ayRL Android App Development in Kotlin https://youtube.com/playlist?list=PLVTsfY7Kr9qimoaNmBCQQcvNi49EoKTWS Embedded Systems using Arduino Uno https://youtube.com/playlist?list=PLVTsfY7Kr9qhkfmq85MH2xObFIELuq_Vo Data Structures and Algorithms using C# https://youtube.com/playlist?list=PLVTsfY7Kr9qiTxECmzTVkLZt1DkaFEfUg References: https://docs.sunfounder.com/projects/ultimate-sensor-kit/en/latest/components_basic/24-component_rgb.html https://rgbcolorpicker.com/ https://www.arduino.cc/reference/tr/language/functions/communication/serial/readstringuntil/ https://www.ascii-code.com/ #SunFounder #arduino #rgbled #pwm #serialmonitor #functions
What can you expect from this Course? In this Arduino UNO R4 Ultimate Training Series, I’ll be taking you from absolute beginner to Arduino master. You’ll learn how to work with a bunch of sensors like ultrasonic, gas and smoke, flame, vibration, accelerometer & Gyroscope, photoresistor, potentiometer, IR obstacle avoidance, Capacitive Soil moisture, Raindrop detection, Temperature, humidity, and pressure, PIR motion, Pulse oximeter & heart rate, Real-time clock, touch, IR speed module, joystick, and Time of Flight micro-LIDAR distance sensors. You’ll learn how to work with different displays like RGB LED, Traffic Light, OLED Display, and a 16x2 I2C LCD Display. You'll learn to work with a couple of actuators like TT motor, Servo, Centrifugal Pump, Passive Buzzer, and Relay. Finally, we’ll integrate different IoT communication modules such as the ESP-01 Wi-Fi module and JDY-31 Bluetooth module, to support several of our IoT projects to be made. Our primary goal is to assist beginners in their Arduino adventure. Since the Arduino UNO R4 is new to the market, there's a noticeable gap in instructional videos specifically tailored for this board, and we're here to fill that void. Many beginners find themselves unsure of where to start, and we aim to be the guiding light, making this series a comprehensive resource for anyone taking their first steps into the exciting world of Arduino programming. Our hope is that this series truly becomes a helping hand for beginners. #SunFounder #Arduino