ESP8266 Webserver Controlled Servo

Sdílet
Vložit
  • čas přidán 9. 09. 2024
  • 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.

Komentáře • 60

  • @woolfy02
    @woolfy02 Před rokem +2

    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.

  • @HarshitProjectsShorts
    @HarshitProjectsShorts Před 10 měsíci +1

    Bhai Mai bhi aap ki tarah video banata hu aur mujhe apki ye video achi lagi ❤

  • @aungkmyatt
    @aungkmyatt Před rokem +1

    Thanks sir. You helped me out.

  • @AhmadYusuf-fn1db
    @AhmadYusuf-fn1db Před 4 měsíci +1

    great job!!

    • @elecotechoz2455
      @elecotechoz2455  Před 4 měsíci

      Thank You If you want any this kind of more video share with your friends who is interested on it

  • @edoctronic5207
    @edoctronic5207 Před 2 lety

    nice job...thank you

  • @abduqaxxarovkamoliddin8304

    👍👍👏👏

  • @MAslam-tv3ip
    @MAslam-tv3ip Před 2 lety

    Thanx

  • @nguyeny2141
    @nguyeny2141 Před 4 měsíci +1

    can you give link repo ESP8266WebServer? I can't find it pls

    • @elecotechoz2455
      @elecotechoz2455  Před 4 měsíci

      This may be problem on your Library or you have not added the library check the code first properly

  • @JaphitPetallo-hy5be
    @JaphitPetallo-hy5be Před 3 měsíci +1

    Why the servo did not move

    • @elecotechoz2455
      @elecotechoz2455  Před 3 měsíci

      Check the connection first any loose connection on servo then check the DigitalPIN numbers

  • @LucidFX.
    @LucidFX. Před rokem

    this is great. do you have a tutorial to control multiple boards each with a servo with one button?

    • @elecotechoz2455
      @elecotechoz2455  Před rokem +1

      not this time but sure in future....

    • @LucidFX.
      @LucidFX. Před rokem

      @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

  • @paradillaafifah4077
    @paradillaafifah4077 Před 4 měsíci +1

    why the webpage can't be opened sir??

    • @elecotechoz2455
      @elecotechoz2455  Před 4 měsíci

      Add the Webpage code in other tab with proper include

  • @jagannathmestry2635
    @jagannathmestry2635 Před 10 měsíci +1

    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

  • @Dhruvstar_4
    @Dhruvstar_4 Před 9 měsíci +1

    I got an error "Compilation error: 'D5' was not declared in this scope"

    • @Dhruvstar_4
      @Dhruvstar_4 Před 9 měsíci +1

      I tried Removing LED1 but it didn't work then it said the same for the servo

    • @elecotechoz2455
      @elecotechoz2455  Před 9 měsíci +1

      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

    • @Dhruvstar_4
      @Dhruvstar_4 Před 9 měsíci

      Ok I will try

  • @fatih1422
    @fatih1422 Před rokem

    hello my servo motor turns 90 degrees when I get 180 what could be the problem

    • @tehbing6332
      @tehbing6332 Před rokem

      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

  • @deepajegan432
    @deepajegan432 Před rokem

    do we need to upload the page index too to the nodemcu

    • @elecotechoz2455
      @elecotechoz2455  Před 11 měsíci

      Yes! This is main Webpage file🗃️. So you have to upload it...

  • @action_in_technology
    @action_in_technology Před rokem

    Can i programme it to BLDC motor speed controller??

    • @elecotechoz2455
      @elecotechoz2455  Před 10 měsíci

      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.....

  • @designer.346
    @designer.346 Před 2 lety

    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

    • @peterhussaini4093
      @peterhussaini4093 Před rokem

      Yes please

    • @designer.346
      @designer.346 Před rokem

      @@peterhussaini4093 Solved, with an esp32

    • @peterhussaini4093
      @peterhussaini4093 Před rokem

      @@designer.346 please can you explain how and I'm using an esp8266

    • @designer.346
      @designer.346 Před rokem

      @@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

    • @peterhussaini4093
      @peterhussaini4093 Před rokem

      this is really nice how can I get the code please. I don't think my other comments have I posted have been appearing

  • @snehagopala3775
    @snehagopala3775 Před 2 lety

    hii I, am not getting the web page when I type the ip address. Please waiting for your suggestion.

  • @Sehajpreet12
    @Sehajpreet12 Před rokem

    Sir what is page index it is not
    Compiling

    • @elecotechoz2455
      @elecotechoz2455  Před rokem

      Why not compiling....?
      What the error message show in IDE....?

  • @tganesh1431
    @tganesh1431 Před 2 lety +1

    Connected but not working

  • @HARRYPOTTER-qb7hf
    @HARRYPOTTER-qb7hf Před 11 měsíci +1

    everthing ok but servo motor is not rotating
    even led is blinking

    • @elecotechoz2455
      @elecotechoz2455  Před 11 měsíci +1

      Check the connection and upload some normal Servo test program and check your Servo Motor is working or not....

    • @HARRYPOTTER-qb7hf
      @HARRYPOTTER-qb7hf Před 10 měsíci +1

      Now working thanks

    • @manips007
      @manips007 Před 8 měsíci

      I'm having the same issue , it worked for 2 days but now the servo motor is not responding

  • @spiralanimal3849
    @spiralanimal3849 Před rokem

    now how do i connect it to alexa

    • @elecotechoz2455
      @elecotechoz2455  Před rokem

      Need to change some line and parameter of the code, here is a tutorial sample - www.instructables.com/Alexa-Controlled-Servo/

  • @latest-clip
    @latest-clip Před 2 lety +1

    WHY AM I HAVING THIS ERROR
    PageIndex.h: No such file or directory

    • @elecotechoz2455
      @elecotechoz2455  Před 2 lety

      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.

    • @benoitberardier
      @benoitberardier Před rokem

      @@elecotechoz2455
      hello, I have the same problem I did what you explained as explained in the description but nothing still causes the same problem.

    • @aungkmyatt
      @aungkmyatt Před rokem

      @@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.