Control Servo motor using ESP32 over WiFi Push-Return SESP-WiFi-2
Control Servo motor using ESP32 over WiFi Push-Return SESP-WiFi-2
This video shows how to control position of Servo Motor using ESP32 Microcontroller to move it from 0° to 180° or from 180° to 0° or set your own values and returns back. You need to download the libary that specifically works with ESP32 Arduino IDE over WiFi from Desktop browser and from mobile phone browser.
The link to use in the "preferences" of Arduino IDE for ESP32 board https://dl.espressif.com/dl/package_esp32_index.json Watch video for instructions.File you need to download for this project
1- Servo Library for ESP32 (zip)2- Arduino Code and ESP32-Servo_Wifi-push-return.h files (zip)
Resources for this sketch
- Servo Library for ESP32 (zip)
- Download SG90 Datasheet (pdf)
- Learn Arduino step by step from beginner to Advance (Coruse)
- Get Early Access to my videos via Patreon ($1/month) and your name appears on all my videos
Code SESP-WiFi-2 controling Servo motor (needs library from the link above)
/*
* Original sourse: https://github.com/RoboticsBrno/ESP32-Arduino-Servo-Library
*
* This is Arduino code to control Servo motor with ESP32 boards over Wifi
* Watch video instruction for this code: https://youtu.be/j5Op02E9Fy0
* Written/updated by Ahmad Shamshiri for Robojax Video channel www.Robojax.com
* Date: Dec 29, 2019, in Ajax, Ontario, Canada
* this code has been downloaded from http://robojax.com/learn/arduino/
* Get this code and other Arduino codes from Robojax.com
Learn Arduino step by step in structured course with all material, wiring diagram and library
all in once place. Purchase My course on Udemy.com http://robojax.com/L/?id=62
****************************
Get early access to my videos via Patreon and have your name mentioned at end of very
videos I publish on YouTube here: http://robojax.com/L/?id=63 (watch until end of this video to list of my Patrons)
****************************
or make donation using PayPal http://robojax.com/L/?id=64
* * This code is "AS IS" without warranty or liability. Free to be used as long as you keep this note intact.*
* This code has been download from Robojax.com
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/