loading
loading
loading
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? 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 SunFounder Official Website: https://www.sunfounder.com/?ref=hmqmlw0e ------------------------------------------------------------------------------------------------------------------ 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 https://youtu.be/w-EQM7hLhJQ Arduino UNO R4 Lesson06. How to Read Analog Sensors? Potentiometer | Bits, Bytes, & Binary Numbers https://youtu.be/CCPfCgj8RkE PWMServo Library https://github.com/PaulStoffregen/PWMServo ------------------------------------------------------------------------------------------------------------------ PLAYLISTS: Arduino UNO R4 Minima Ultimate Training Course https://www.youtube.com/playlist?list=PLVTsfY7Kr9qhzrfkvEuI1JhbqoOuchmKw 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://forum.arduino.cc/t/pwmservo-support-pwm-at-50hz/1158434 https://forum.arduino.cc/t/arduino-r4-wifi-servo-jitters/1148768/16 https://www.arduino.cc/reference/en/libraries/servo/writemicroseconds/ https://www.arduino.cc/reference/en/libraries/servo/ https://docs.sunfounder.com/projects/ultimate-sensor-kit/en/latest/components_basic/27-component_servo.html https://ezcalc.me/linear-interpolation-calculator/ https://www.arduino.cc/reference/en/language/functions/math/map/ #SunFounder #arduino #potentiometer #LDR #photoresistor #servomotors #servo #solartracker
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