Це відео не доступне.
Перепрошуємо.
ESP8266 Webserver Controlled Servo
Вставка
- Опубліковано 15 січ 2022
- In this video, We will learn how to control a servo motor using ESP8266 NodeMCU Webserver.
Parts Required:-
1.ESP8266 NodeMCU x1
2.Servo Motor x1
3.Breadboard x1
4.Male-Male Jumper Wires x5
5.LED x1 (I have used a led as signal indicator)
Circuit Diagram and Code:-
electechoz.blo...
Please Subscribe My Channel....
Pls Like, Share and Subscribe and also comment if have any doubt.
Thanks for this tutorial! I purchased something similar on eBay, using the ESP8266 board (it was supposed to be setup so all I had to do was just login) I had nothing but problems with it. First one didn't work and the 2nd they sent, had no code on it. lol. No help of any kind. I hope to try this project out soon. So, I really appreciate it.
Thanks buddy😉
Bhai Mai bhi aap ki tarah video banata hu aur mujhe apki ye video achi lagi ❤
Thanks sir. You helped me out.
why the webpage can't be opened sir??
Add the Webpage code in other tab with proper include
great job!!
Thank You If you want any this kind of more video share with your friends who is interested on it
can you give link repo ESP8266WebServer? I can't find it pls
This may be problem on your Library or you have not added the library check the code first properly
Why the servo did not move
Check the connection first any loose connection on servo then check the DigitalPIN numbers
error: #error "This library only supports boards with an AVR, SAM, SAMD, NRF52 or STM32F4 processor."
79 | #error "This library only supports boards with an AVR, SAM, SAMD, NRF52 or STM32F4 processor."
getting this error
plzz help
Which board are you using for....????
nice job...thank you
Most welcome....!
👍👍👏👏
yeah...!
do we need to upload the page index too to the nodemcu
Yes! This is main Webpage file🗃️. So you have to upload it...
hello my servo motor turns 90 degrees when I get 180 what could be the problem
That is because the max voltage output of esp8266 is only 3.3 and not 5, that is why you wrote
servo. write(180);
It turns only 90 degrees
this is great. do you have a tutorial to control multiple boards each with a servo with one button?
not this time but sure in future....
@Eleco Techoz that will be awesome. I have sensors and when we are away it must turn inward and when we are home they turn outward. Each would have 2 positions so the code would be the same with a variable 1 and 2 and each variable will differ depending on position
Hey please help me i can't do this with 2 servos, i just want 2 sliders, i tried making my own code based on the code on the internet similar to this, everything looks good but the second slider doesn't move the second servo, i tried everything
Yes please
@@peterhussaini4093 Solved, with an esp32
@@designer.346 please can you explain how and I'm using an esp8266
@@peterhussaini4093 using blynk I was able to make them work with the esp8266, but since i built a mechanism to open a bay in a water rocket i can't use it, because blynk requires internet. So i bought an esp32 and make them both work with a web server
this is really nice how can I get the code please. I don't think my other comments have I posted have been appearing
I got an error "Compilation error: 'D5' was not declared in this scope"
I tried Removing LED1 but it didn't work then it said the same for the servo
Something hidden in your code check it properly first.... add the web page on new tab in IDE and also check board setting on IDE set it to ESP8266 and select the COM Port no need to remove LED but need to fix the problem
Ok I will try
Thanx
Welcome
Can i programme it to BLDC motor speed controller??
I don't know because I had not tested yet in BLDC or any BLDC ESC's.... but sound good you can try if don't work then need to change the code by adding Map and Values.....
hii I, am not getting the web page when I type the ip address. Please waiting for your suggestion.
Pls Check the code, did you put the webpage code on another tab.....?
Yes I did
@@snehagopala3775 Hello, was your problem get solved?
I have the same problem too.
i have the same problem. how to solve it ?
Sir what is page index it is not
Compiling
Why not compiling....?
What the error message show in IDE....?
Connected but not working
Check everything properly where sometime IP address create trouble a lots
Yes it's working
same , how to solve it ?
everthing ok but servo motor is not rotating
even led is blinking
Check the connection and upload some normal Servo test program and check your Servo Motor is working or not....
Now working thanks
I'm having the same issue , it worked for 2 days but now the servo motor is not responding
now how do i connect it to alexa
Need to change some line and parameter of the code, here is a tutorial sample - www.instructables.com/Alexa-Controlled-Servo/
WHY AM I HAVING THIS ERROR
PageIndex.h: No such file or directory
Open Arduino IDE, Press Crtl+Shift+N for new tab name it PageIndex.h and save it. After then paste the HTML Code on new tab.
@@elecotechoz2455
hello, I have the same problem I did what you explained as explained in the description but nothing still causes the same problem.
@@benoitberardier HI, I solved it. I paste the code in VS code and save the file with .h extension. The two files must be in the same folder. And compile the ESP8266 Servo Webserver.ino.