Video není dostupné.
Omlouváme se.
How to Control a Servo Motor with ESP32 and ESP Rainmaker - Step by Step Tutorial
Vložit
- čas přidán 21. 03. 2023
- Learn how to control a servo motor using ESP Rainmaker and ESP 32 in this step-by-step tutorial. This project uses an ESP 32 board, a servo motor, a breadboard, and jumper wires. First, you will learn how to wire the components together correctly, then write the code to control the servo motor. You will also set up the ESP Rainmaker app and test everything to show how the project works. The video includes instructions on installing the ESP 32 board and servo library and demonstrates how to use the Rainmaker app to control the servo motor. Watch this video to learn how to create a servo motor project using ESP Rainmaker and ESP 32.
--------------------------------------------------------------------------------------------------------------------
Buy Parts
--------------------------------------------------------------------------------------------------------------------
1. ESP32 Espressif - amzn.to/3YCq2dS
2. Servo Motor - amzn.to/3Ywvb7v
3. Breadboard - amzn.to/3ysOvHX
--------------------------------------------------------------------------------------------------------------------
Useful Video Links
--------------------------------------------------------------------------------------------------------------------
Raspberry Pi Pico Servo Motor
• Raspberry Pi Pico Serv...
Arduino IR Remote Servo Control | Servo Motor | IR Sensor
• Arduino IR Remote Serv...
--------------------------------------------------------------------------------------------------------------------
Social Media Links
--------------------------------------------------------------------------------------------------------------------
GitHub:
github.com/ahm...
--------------------------------------------------------------------------------------------------------------------
Download Code
--------------------------------------------------------------------------------------------------------------------
github.com/ahm...
--------------------------------------------------------------------------------------------------------------------
Disclaimer
--------------------------------------------------------------------------------------------------------------------
Disclaimer: All videos are for educational purposes and use them wisely. Any video may have a slight mistake, please take decisions based on your research. This video is not forcing anything on you.
Warning: I will use High Voltages which if incorrectly or improperly used could result in serious injuries or death. So be careful of what you are doing because I will take no responsibility for any of your actions.
Warning: In some countries it is required to register GSM module from govt authorities before using it. So, get proper understanding of govt laws related to GSM technologies.
#esp32 #servomotors #rainmaker
Excellent video. One of the best on this topic. How would I make the servo rotate 90 degrees and then back to 0 from a single button? I am trying to make a "fingerbot" like the comment below. Basically I just need the servo to push a button whenever it is activated through the app. Thanks, you've got a new subscriber!
Hello Ahmed Khan You were absent for a while Whats up I'm glad it's back on
Thank you for taking interest in my channel. I apologize for my absence from CZcams for a while. I had to take a break due to some personal and professional commitments that needed my attention.
During my break, I was busy with some important tasks and projects that required my full focus and dedication, which unfortunately left me with very little time for creating content for my CZcams channel.
However, I am excited to say that I am back now and ready to create more content for my channel.
Once again, thank you for your support and for your patience during my absence. I appreciate your interest in my channel and look forward to connecting with you in the future.
You assumed Arduino ide, but you didn't mention it. How do you do this with Esp-idf?
when i try to upload the code i get this error message
WARNING: library Servo claims to run on avr, megaavr, sam, samd, nrf52, stm32f4, mbed, mbed_nano, mbed_portenta, mbed_rp2040, renesas, renesas_portenta, renesas_uno architecture(s) and may be incompatible with your current board which runs on esp32 architecture(s).
In file included from C:\Users\suita\Downloads\esp32-main\esp32-main\esp32-servo\esp32-servo.ino:21:
C:\Users\suita\AppData\Local\Arduino15\libraries\Servo\src/Servo.h:79:2: error: #error "This library only supports boards with an AVR, SAM, SAMD, NRF52 or STM32F4 processor."
#error "This library only supports boards with an AVR, SAM, SAMD, NRF52 or STM32F4 processor."
^~~~~
exit status 1
Compilation error: exit status 1
Rename Servo.h to ESP32Servo.h make sure you have the ESP32 servo library installed. Took me ages to figure this out myself, now i have a not enough memory problem :/
change servo.h to ESP32Servo.h
I have a WEMOS D! R32. Is this not compatible with Rainmaker? I have no setting for Partition for rainmaker. I also get an error "Compilation error: SimpleTimer.h: No such file or directory" Thanks for any help.
hey there,
I'm trying to make a garage door opener using esp rainmaker, but I don't know what to do. Can you give me a hand, please?
greetings.
Hi dear friend
While admiring you
I have a question
I wrote a program in which I want to use the following command to send an important message to the phone
esp_err_t esp_rmaker_raise_alert(const char *alart_str)
Can you show me its format with an example?
Thank you again
Why did you choose a rotation angle of 180 degrees but the servo only rotates 90 degrees?
Brother, waiting for your feedback regarding the project of vending machine
Fantastic project. Is it possible to give an idea on how to programming to create an fingerbot with servo and physical button to work togheter?
can you explain a bit more about fingerbot
Hi my friend i wanna ask, can i use this on esp8266 and uf i can what app for controlling the motor servo or what code that i use can you help???
Hello
very good
You can control a RGB with the software ESP Rainmaker along with various effects
Thankful
you are welcome
Hi sir great video, the code and everything works but then when I move slider I'm getting no output form servo motor, everything is connected and blue light on esp32 is on, do help please
I have the same problem. Movement is detected in Serialmonitor, but its not no output
Hi Ahmed I want to make a live gps tracker using esp32 and neo 6m gps module and connecting it to a portable wifi dongle
can you please provide the code for it
it should display location on map
I will try
Hello the pins on my esp32 are different than urs, I'm using the espressif made esp32. Pls help
just google it. search for pin mapping esp32 and your module.
Hello sir, there is a way to make the servo motor work with on/off? In a way that it goes to 90° when turned on, and back to 0º when turned off?
Thank you.
#include
Servo servoMotor; // Create a servo object
int switchPin = 2; // Connect the switch to digital pin 2
void setup() {
servoMotor.attach(9); // Attach the servo to pin 9
pinMode(switchPin, INPUT_PULLUP); // Set the switch pin as input with internal pull-up resistor
}
void loop() {
if (digitalRead(switchPin) == LOW) {
// Switch is pressed, move the servo to 90 degrees
servoMotor.write(90);
} else {
// Switch is not pressed, move the servo to 0 degrees
servoMotor.write(0);
}
}
Thank you for your response sir, I am sorry that i wasn't clear but I would like to make it work with the digital button on rainmaker, I don't have a switch in my project. I follow your tutorial and could make it work with a slide, but I will use the servo to simulate a gate, so would be better to open and close directly. Could you help me please? And again, thank you for take your time to try to help me.
Hello , brother what will be connection if we want to also add ldr that work as indoor and outdoor to automatically open and close the curtains. and what will be the code for that.. smart curtain using servo motor and ldr ... I haven't found any satisfactory video on youtube ..I think u r the one who can help me with that....
I think this code is google starting for you
#include
Servo curtainServo;
int ldrPin = A0;
int servoPin = 9;
int threshold = 500; // Adjust this threshold to your preference
void setup() {
curtainServo.attach(servoPin);
curtainServo.write(0); // Initialize the servo position to fully closed
delay(1000); // Wait for the servo to reach its initial position
Serial.begin(9600);
}
void loop() {
int lightLevel = analogRead(ldrPin);
if (lightLevel < threshold) {
curtainServo.write(0); // Close the curtain
} else {
curtainServo.write(90); // Open the curtain
}
delay(1000); // Adjust the delay as needed
}
@@AhmadLogs Thank you
Brother there is No A0 pin in Esp32
@@affanrathore5439 it is just sample code for arduino. you just change the pin as per your neeeds
Dear Ahmed
Please Make A Display
Moon Rise Moon Set Time..
That Are Not Available In Internet.
can you give me the detail about the project
❤
Brother I am not getting this QR code,I am getting some letters,boxes etc...can you pls help me pls
I am not getting this blue colour light please help me brother😢
Aoa Bro
Your work is practically awesome. Kindly guide me on the project (Getting multiple GPS location on offline map) using HC-12, Arduino UNO, Neo 6M GPS and offline map app.
No GSM or Network(else HC-12 connectivity)
Ye kesa kaam hai kis kaam aata hai
Hello
Rainmaker stepper motor right left turn please make code
will try
@@AhmadLogs
Thank you very much
@@AhmadLogs
czcams.com/video/BVQWa1esOxU/video.html
@@AhmadLogs
I want to make ESP RainMaker or blynk stepper motor I want to make a door lock please help code
I am waiting
Bhai Ager ap sa rabta krna ho to kasy
ask anything here
@@AhmadLogsok
Hello sir I needed your help with one project of gps tracker using esp8266. Can you please provide your email or any other contact method
you can ask anything here.
@@AhmadLogs I tried to make gps tracker using esp8266 and sim800l but when checked on serial monitor it shows garbage values in place of phone numbers. So phone number aren't getting resistered.
@@anmolkasabe you just clean the eprom and then store the phone number by sending the R command
@@anmolkasabe you just clear the eeprom memory and then try to register the phone number
@@AhmadLogs I tried it but it didn't worked i also tried inserting mobile number directly into the code still no luck