Arduino Ethernet Shield Webserver

Поделиться
HTML-код
  • Опубликовано: 14 май 2018
  • This lesson is about Arduino Ethernet Shield Webserver. We will build small webserver using Arduino Ethernet Shield. This webserver will allows us to control LED connected to Arduino. Ethernet Shield will allows us to provide internet connectivity to our Arduino Project. We will build really cool internet of things enable application using Arduino Ethernet Shield.

Комментарии • 128

  • @thedarksage328
    @thedarksage328 4 месяца назад +2

    I've just looked at a bunch of Arduino Ethernet primers and for the most part they are junk. Yours is great. Very informative.

    • @BINARYUPDATES
      @BINARYUPDATES  4 месяца назад

      Hi, I'm glad to know that this Arduino Ethernet shield was helpful to you. Thank you so much for your words. Good luck and best wishes!

  • @HelmutHassfurther
    @HelmutHassfurther 5 лет назад +9

    You asked "I hope this video is educational for you".
    Yes, the video was instructive, and I recognize in you the potential of a teacher. Good that you have not linked the code, it's better to understand everything and implement it yourself.
    you got a like and won a subscriber

  • @charlesklein7232
    @charlesklein7232 5 лет назад +2

    THANK YOU FOR SAVING MY LIFE! after days of trouble shooting i finally saw what a REAL board should look like. I HAD A BAD CABLE! i had no idea that it had leds at the back or a bunch on the top mine only showed one yellow blinking. your clearly intelligent nobody ever showed these facts.

    • @BINARYUPDATES
      @BINARYUPDATES  5 лет назад +1

      Thanks for comment Mr. Charles. I also struggled in my early days so while making this video I have given special focus to show both LED (Yello, Green) while making sure connection between Router and Arduino Ethernet Shield. Have a beautiful day

  • @bangtap2613
    @bangtap2613 Месяц назад

    Just followed your instructions, to the letter and it worked perfectly first time. Thank you for a very very good lesson. God Bless.

    • @BINARYUPDATES
      @BINARYUPDATES  16 дней назад

      Hi Bangtap, thank you so much. I'm glad your Arduino Ethernet Shield is working fine. Best wishes!

  • @WaterSeason571
    @WaterSeason571 4 года назад +7

    Finally I control LED over internet(anywhere of the world). Thanks. I get Idea from you

    • @prabhasraj3831
      @prabhasraj3831 9 месяцев назад

      Dear this can only work if you are in same network i.e connected to same wifi

  • @fireman4015
    @fireman4015 5 лет назад

    great video! One of the best Arduino tutorials I have done!

  • @puits-de-science
    @puits-de-science 3 года назад +5

    Well done ! (maybe a serial resistor with the LED would be more orthodox? )

  • @lucvanbunder151
    @lucvanbunder151 4 года назад +1

    Goede uitleg !!

  • @kamalpreet980
    @kamalpreet980 2 года назад +1

    Thank you sir for the valuable work. It really helped me.

    • @BINARYUPDATES
      @BINARYUPDATES  2 года назад +1

      Thanks Kamalpreet, you're always welcome!

  • @glynnmason8205
    @glynnmason8205 5 лет назад +1

    good tutorial thanks glynn

  • @jaguar4a
    @jaguar4a 2 года назад +1

    nice cod , thenk you

  • @mohammedk.h.f3016
    @mohammedk.h.f3016 Год назад

    Very Useful video.... Thank you

  • @ridwanansori9716
    @ridwanansori9716 6 лет назад +1

    Nice one, i need this to pass my project. thank you

    • @BINARYUPDATES
      @BINARYUPDATES  6 лет назад

      Thanks Ridwan, I am glad to know that this video will help you build Webserver using Arduino Ethernetshield

  • @rafaelyahu
    @rafaelyahu 4 года назад +1

    Its possible to use this library in Esp32 or there is a library specific to the Esp32 ?
    My question is, how to connect my Esp32 in router and internet with cabe ?

  • @danielfameitau8641
    @danielfameitau8641 5 лет назад

    can you read two separate analog signals and send the data to google docs using Ethernet shield? if so a video would help greatly.

  • @saiakhilkatkam87
    @saiakhilkatkam87 4 года назад

    if we use phpoc shield, will all connections remain same? or after stacking them up, do we need to connect them will some separate way? please reply

  • @ashukondare2822
    @ashukondare2822 6 месяцев назад

    Best Video Explain😊

    • @BINARYUPDATES
      @BINARYUPDATES  6 месяцев назад

      Hi Ashu, thank you so much. I'm glad to know you enjoyed this Arduino with ethernet shield video tutorial. Good luck and best wishes!

  • @prajwalghatage7968
    @prajwalghatage7968 3 года назад +1

    This could be used anywhere or just for local area network

  • @777hiesler
    @777hiesler 4 года назад +1

    Thanks

  • @alifakbar4844
    @alifakbar4844 4 года назад

    Is the Mac address always sama each module? If not, where i can get it because my module no Mac sticker addres's

  • @john2364
    @john2364 4 года назад

    Thanks for the tutorial it was really helpful
    I have tried to butcher your code a bit to control a stepper. The HTML displays on a website with the button:
    I added the following loop below to try and control the stepper but it doe not seem to work. Any ideas?:
    if(readString.indexOf("?button1on")>0)
    {
    stepper.setCurrentPosition(0);
    while(stepper.currentPosition() != 600)
    {
    stepper.setSpeed(400);
    stepper.runSpeed();
    }
    delay(2000);
    }

  • @2XXEquiz
    @2XXEquiz 2 года назад

    Very good explanation of the ethernet shield for arduino. I have a challenge been dealing with for some time. Can I control two lines of video from an digital cctv camera that is not IP? The camera is a Samsung SEB-1005R with an RJ45 connector but the wiring is NOT for 10/100/1GbaseT instead it uses the internal 3 pairs to transport 12v and the video signals on one pair. I have used the RCA yellow cable to connect to my TV and it works fine. I want to view this camera input on a web server. Does arduino has a library for working with video this way? Anyone with information please feel free to comment.

  • @nelsonmaciel9200
    @nelsonmaciel9200 4 года назад

    Thanks for sharing!
    everything is perfect, but the led wont turns on ...
    can't understand why.

  • @glynnmason8205
    @glynnmason8205 5 лет назад

    I don't know if you can help ive bought a wiznet w5500 ethrenet device iam using your code and I get an ip address but I don't get a link status lights on the rj45 connector the cable iam using works

  • @o_o8330
    @o_o8330 5 лет назад

    thank you after I followed your tutorial, my program can run well. I have a question whether you can give me a tutorial to display the message on the P10 matrix LED with the Controlled HTTP Requests webserver?

  • @dhiaeddinebaali8896
    @dhiaeddinebaali8896 4 года назад

    Thank you verry much for this video , can we use instead of web page and html a Labview application ?

  • @JayclovisL
    @JayclovisL 4 года назад

    How can i add 2 liner dispaly and control other from connecting to my internet? Like internet vendo? Can u help me sir?

  • @Noone-zm3zb
    @Noone-zm3zb 5 лет назад +14

    Can u please included code in description

    • @jaume748
      @jaume748 5 лет назад +8

      pastebin.com/ud4sBSGD
      I've copied from myself :)

  • @akshaymannarkkad7805
    @akshaymannarkkad7805 4 года назад

    Do you know auto negotiation in w5500 Ethernet shield.... kindly help me sir ..I'm completely stuck with this..

  • @barbodrexlherjayc.1904
    @barbodrexlherjayc.1904 Год назад +2

    thanks for the tutorial, how about a webserver using ultrasonic in ethernet module?

    • @BINARYUPDATES
      @BINARYUPDATES  Год назад +1

      Hi Barbo, you can connect any sensor to Ethernet shield with Arduino. As Ultrasonic sensor is digital sensor make sure to connect with any digital pin of an Arduino Uno. Good luck and best wishes!

  • @domtechplus
    @domtechplus 4 года назад

    please Can you help me in the program to control two leds , I am a student in data network.

  • @charlesklein7232
    @charlesklein7232 5 лет назад +3

    how did you formulate the mac address. what does these things mean?[ 0xDE, 0xAD, 0xBE, 0xEF, 0xED ] what do the "letters" mean? i have a mac address im using Ubuntu 16.04 and my network gives me information and claims my mac address is 12:A0:

    • @jaume748
      @jaume748 5 лет назад

      these are hexadecimal numbers, see 6:45 .

  • @LAL666666
    @LAL666666 5 лет назад +7

    Can you upload a file with the code ?

  • @WaterSeason571
    @WaterSeason571 4 года назад +1

    Good Tutorial. I have a question . Can we control this led over internet?

    • @BINARYUPDATES
      @BINARYUPDATES  4 года назад +1

      Yes we can. As it shows in this video either by using Web server or by using MQTT Broker. I'll try to make video in future to show, how Arduino connected LED will be controlled from anywhere in the world using MQTT Protocol

  • @kuldeepsharma2209
    @kuldeepsharma2209 2 года назад +1

    Can you please explain how can someone make a webpage to operate multiple Arduino from same page (different set of button for each)

    • @BINARYUPDATES
      @BINARYUPDATES  2 года назад

      Hi Kuldeep, using webserver you can even host multiple HTML webpages on Arduino. There will be lot of things involve when you want to make scalable solution. Good luck!

  • @glynnmason8205
    @glynnmason8205 5 лет назад

    is there other commands that you can tell me about as well as the ones shown in the video for creating the web page like maybe link to commands thanks glynn

  • @navadeep.ganesh
    @navadeep.ganesh 4 года назад

    is it possible to control led from anywhere from world with internet or, only on local web server?

    • @BINARYUPDATES
      @BINARYUPDATES  4 года назад +1

      Yes Navadeep, Its possible you've to use IOT Server and MQTT Protocol to make it work.
      Maybe in future video. You'll find such project
      Have a good day

    • @navadeep.ganesh
      @navadeep.ganesh 4 года назад

      @@BINARYUPDATES Thank you. Awaiting for it.

  • @nguyenvanhuy2668
    @nguyenvanhuy2668 2 года назад +1

    Does the computer also need an internet connection to the model?

    • @BINARYUPDATES
      @BINARYUPDATES  2 года назад

      Yes to access webpage on computer your PC and Arduino will be in same network which can allow access webpage. Even though its a webserver running on Microcontroller on Arduino Uno. I hope have cleared you doubt. Good luck and best wishes!

  • @pornaelectrical-ingeneer7794
    @pornaelectrical-ingeneer7794 9 месяцев назад +1

    Very interesting video

  • @sdknstar601
    @sdknstar601 Год назад

    Hello mate...do you have this kind of setting but control servo by using Logitech usb joystick?...and a button to make the servo back on it's original positiol..

    • @BINARYUPDATES
      @BINARYUPDATES  Год назад +1

      It can be done

    • @sdknstar601
      @sdknstar601 Год назад

      @@BINARYUPDATES love to see the video of that...👍...i'm just subscribing to your channel

  • @barbodrexlherjayc.1904
    @barbodrexlherjayc.1904 Год назад

    and it is connected to desktop application?

  • @Time4yes
    @Time4yes 3 года назад

    Is your website responsive?

  • @ANTHONYBOOTH
    @ANTHONYBOOTH 5 лет назад

    how that script worked without /BODY is what I don't get... - also, did your LED have a built in resistor?

  • @brajeshsahani2624
    @brajeshsahani2624 5 лет назад

    I tried doing d way u have done sir but I'm getting error as
    when I click buttonoff d led turned off after delay of few msec it automatically turn on without cliking ledon button why?

  • @jebre1
    @jebre1 5 лет назад

    won't show anything when i put the ip into the url bar

  • @camplays487
    @camplays487 6 лет назад

    when is the readstring variable defined? or rather how?

  • @charlesklein7232
    @charlesklein7232 5 лет назад +1

    mac address 12:A0:50:D5:F7:7F how do i change it to your format?

    • @mballew32
      @mballew32 5 лет назад

      try 0x12, 0xA0, 0x50, 0xD5, 0xF7, 0x7F

  • @adhimsuryahidayat8921
    @adhimsuryahidayat8921 Год назад

    Hello... I want to connect 2 points A and B. Each point has an Arduino Uno, Ethernet Shield w5500, router and access point. accesspoint in point to point mode and ip settings in 1 network. The distance between points A and B is 1 km. Can the arduino at point A and B communicate with this topology? thank you very much

    • @BINARYUPDATES
      @BINARYUPDATES  Год назад

      Hi Adhim, Arduino can support but you've to check the datasheet of Ethernet PHY chip W5500 for more information. There must be details on features and instructions on best practices to achieve. Good luck!

  • @WaterSeason571
    @WaterSeason571 4 года назад

    Can you please share Arduino connected LED will be controlled from anywhere in the world using MQTT Protocol

    • @BINARYUPDATES
      @BINARYUPDATES  4 года назад

      I'll try to record video MQTT with Arduino to control from anywhere in the world.

  • @josephoyewale3478
    @josephoyewale3478 4 года назад

    Good day binary update, I have an issue of connecting my arduino ethernet shield to my network. In my working place i have a 16 port cisco switch that connect all devices together with a desktop computer (using this IP address: 192.168.0.1-255, subnet Mask:255.255.255.0). i use the desktop computer to log into any device interface and do whatever I want, So I manually assigned this Ip address to the arduino ethernet shield because I have no router, but the desktop cant ping the ethernet shield....... PLEASE HELP ME what to do

  • @Mohamad-kp1gd
    @Mohamad-kp1gd Год назад +1

    Hi, I was trying to do this project and I established everything but when I try to enter the server it just gives me a white screen can you help me fix it?

    • @BINARYUPDATES
      @BINARYUPDATES  Год назад

      Hi Mohamad, please check your arduino code for webserver carefully. its possible any single missing line or syntax may leads to not loading webpage hosted on Arduino using ethernet shield. You can compare your code with my code. Good luck and best wishes!

  • @Jandycon
    @Jandycon 5 лет назад +1

    cant see the buttons

  • @jebre1
    @jebre1 5 лет назад

    any help would be appreciated

  • @glynnmason8205
    @glynnmason8205 5 лет назад

    getting a error readstring was not decared in this scope

  • @NiltonOliv
    @NiltonOliv Год назад

    Is it possible to make the page inside Wampserver's localhost server and pass the information to the arduino?

  • @mifthahulbarki3852
    @mifthahulbarki3852 3 года назад

    How connect laptop to router and ethernet please how to syinchron

  • @timobu4991
    @timobu4991 9 месяцев назад

    Hello, is it posible to run php code on the webserver?

    • @BINARYUPDATES
      @BINARYUPDATES  9 месяцев назад

      Yes, I believe so! Though I haven't yet tried

  • @shawon966
    @shawon966 2 года назад

    i need a program as like this if my select temp high or low send a mail in my address and i can monitor the temp in ip address i already make a program its only send sms but i cant monitoring by ip please help

  • @timyg
    @timyg 4 года назад +1

    Can i get the code

  • @franciscolopes9568
    @franciscolopes9568 3 года назад

    I need HELP,…. I create my own .html file, how i put the file on arduino to read when i click a button activate led??

  • @gemgreg
    @gemgreg Год назад

    How is this working without resistor?

    • @BINARYUPDATES
      @BINARYUPDATES  Год назад +1

      Its usually good practice to use current limiting resistor but it still works as 5mm LED tolerate the current flowing through circuit on Arduino ethernet shield. So it doesn't damage LED and still works. I hope this may help. Good luck and best wishes!

  • @sunnykumargupta6550
    @sunnykumargupta6550 3 года назад

    Please provide these arduino purchase links

  • @brajeshsahani2624
    @brajeshsahani2624 5 лет назад

    why im getting server is at 0.0.0.0?

    • @ibrahimkadri3023
      @ibrahimkadri3023 5 лет назад +2

      You must connect the cable to the arduino Ethernet shield... And the wireless router.. If it didn't work reupload it

    • @arifqurbanov2159
      @arifqurbanov2159 3 года назад

      did you solve that problem ? im haveing this problem too

  • @p1poort340
    @p1poort340 4 года назад +1

    Can we download the code somewhere?

    • @BINARYUPDATES
      @BINARYUPDATES  4 года назад +1

      Yes you can download code from GitHub Repository(Arduino-Webserver) github.com/binaryupdates/Arduino-Webserver

  • @arifqurbanov2159
    @arifqurbanov2159 3 года назад

    when i upload the code and open serial monitor it takes to much time for arduino to react and it gives me 0.0.0.0 what i have to do please anyone can tell me? thank you

    • @BINARYUPDATES
      @BINARYUPDATES  3 года назад

      Hi Arif, this means your Arduino Ethernet Shield is not getting connected with internet. Please check connection between Arduino and Ethernet Shield also make sure LEDs on ethernet socket light-up. This ensure proper connectivity of LAN Cable through Internet router. I hope this can help. Good luck
      Umesh Lokhande

    • @arifqurbanov2159
      @arifqurbanov2159 3 года назад

      @@BINARYUPDATES thanks for response. But i have make all of connections properly, all my my indicators lights up, but still i cant reach to the internet. Im thinking its about ip or mac or such i dont know about them well. If you have any idea for make this work please share with me, i really want to make this work. Thank you so much.

  • @sudirmanhala2692
    @sudirmanhala2692 4 года назад

    Can to web server IP public?

    • @BINARYUPDATES
      @BINARYUPDATES  4 года назад

      You can make Public Webserver. But the process is bit complex. You must enable port forwarding on your router first and then you can build Public IP Webserver on Arduino.

    • @sudirmanhala2692
      @sudirmanhala2692 4 года назад

      Tutorial sir?

  • @francoislutor8821
    @francoislutor8821 2 года назад

    Arduino : 1.8.16 (Windows 10), Carte : "Arduino Uno"
    hi , thnk you for video , but i have a problem see this my message.
    avrdude: ser_open(): can't set com-state for "\\.\COM3"
    Une erreur est survenue lors du transfert du croquis
    Erreur durant la définition des paramètres du port série: 9 600 N 8 1
    Ce rapport pourrait être plus détaillé avec
    l'option "Afficher les résultats détaillés de la compilation"
    activée dans Fichier -> Préférences.

  • @reyphilipgimena8678
    @reyphilipgimena8678 Месяц назад

    i cant access the ip address

  • @Robo-Coder
    @Robo-Coder 3 года назад

    Can you send the source code on reply.

  • @Panvil
    @Panvil 3 года назад

    Working code from video: pastebin.com/0Asb8MX3

  • @camplays487
    @camplays487 6 лет назад

    Nevermind, I answered my own question.

  • @user-hl8pp2ox1h
    @user-hl8pp2ox1h 3 месяца назад

    CODE PLS

  • @jamiecoates9891
    @jamiecoates9891 3 года назад +2

    Lots of ramlbing on, and without code waste of time.....

  • @Jesus_lover295
    @Jesus_lover295 Год назад

    Can not give local ip address perfect

    • @BINARYUPDATES
      @BINARYUPDATES  Год назад

      Hi Naresh, check your internet router. Its possible sometime it can't provide internet to Arduino Ethernet shield. If possible try with other router too.

  • @pornaelectrical-ingeneer7794
    @pornaelectrical-ingeneer7794 9 месяцев назад

    let the code please

  • @tenjoza6204
    @tenjoza6204 4 года назад

    Can you upload a file with the code ?

  • @rsrofik2019
    @rsrofik2019 2 года назад

    Can you please tell how can I send a mail on ethernet shield?

    • @BINARYUPDATES
      @BINARYUPDATES  2 года назад

      To send mails you need IoT cloud platform which support SMTP Protocol. Say for example Blynk IoT or AWS IoT Cloud Platform. Usually, all cloud companies support for email service to integrate with your hardware. I hope this may help you. Good luck!