Arduino UNO R4 Lesson11 - Servo Motor | Single-Axis Solar Tracker using Photoresistors

Опубликовано: 01 Июнь 2025
на канале: Education is Life (joed goh)
2,835
95

This is the 11th lesson of the Arduino UNO R4 - Ultimate Training series. Joed Goh discusses Servo Motors and Building a Single-Axis Solar Tracker using photoresistors. He also shows how to control a servo motor using 2 different Servo libraries. Then, he explains how to position a servo motor using a potentiometer and a photoresistor. At the end of this lesson, you should be able to create a simple solar tracker using two photoresistors simulating east and west locations and a servo motor to position the solar panel.
=======================================================================
--------------------------------------------------------- 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/s...

SunFounder 3 in 1 Ultimate Starter Kit with Original Arduino Uno R4 Minima
https://www.sunfounder.com/products/s...

SunFounder Elite Explorer Kit with Original Arduino Uno R4 WiFi
https://www.sunfounder.com/products/s...

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
01:23 Materials
02:05 Servo Motor
02:36 Servo Motor Connection
04:35 Installing the Servo Library
09:56 The Sweep Sketch
11:47 Installing the PWMServo Library from GitHub
13:13 Controlling via Potentiometer
15:25 map() function
18:06 Controlling via Photoresistor (LDR)
19:00 Challenge Activity
20:49 Up Next

Arduino UNO R4 Lesson07. Arduino UNO R4 Lesson 07. Understanding Photoresistors | nested if, else-if, and for-loop
   • Arduino UNO R4 Lesson 07. Understanding Ph...  

Arduino UNO R4 Lesson06. How to Read Analog Sensors? Potentiometer | Bits, Bytes, & Binary Numbers
   • Arduino UNO R4 Lesson 06. How to Read Anal...  

PWMServo Library
https://github.com/PaulStoffregen/PWM...

------------------------------------------------------------------------------------------------------------------
PLAYLISTS:
Arduino UNO R4 Minima Ultimate Training Course
   • Arduino UNO R4 Minima Ultimate Training Co...  

SunFounder Kit Product Review
   • SunFounder Learning Kit  

Designing Database Solutions with Microsoft SQL Server 2019
   • Designing Database Solutions with Microsof...  

Artificial Intelligence and Machine Learning Foundations
   • Artificial Intelligence and Machine Learning  

IoT Development
   • Internet of Things  

Android App Development in Kotlin
   • Android App Development in Kotlin  

Embedded Systems using Arduino Uno
   • Embedded Systems using Arduino Uno  

Data Structures and Algorithms using C#
   • Data Structures and Algorithms  

References:
https://forum.arduino.cc/t/pwmservo-s...
https://forum.arduino.cc/t/arduino-r4...
https://www.arduino.cc/reference/en/l...
https://www.arduino.cc/reference/en/l...
https://docs.sunfounder.com/projects/...
https://ezcalc.me/linear-interpolatio...
https://www.arduino.cc/reference/en/l...


#SunFounder #arduino #potentiometer #LDR #photoresistor #servomotors #servo #solartracker