Arduino Ethernet Shield Webserver

Поділитися
Вставка
  • Опубліковано 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

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

  • @thedarksage328
    @thedarksage328 5 місяців тому +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!

  • @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  Місяць тому

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

  • @fireman4015
    @fireman4015 5 років тому

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

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

  • @WaterSeason571
    @WaterSeason571 4 роки тому +7

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

    • @prabhasraj3831
      @prabhasraj3831 10 місяців тому

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

  • @puits-de-science
    @puits-de-science 3 роки тому +5

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

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

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

  • @alifakbar4844
    @alifakbar4844 5 років тому

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

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

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

  • @lucvanbunder151
    @lucvanbunder151 4 роки тому +1

    Goede uitleg !!

  • @prajwalghatage7968
    @prajwalghatage7968 3 роки тому +1

    This could be used anywhere or just for local area network

  • @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 3 роки тому

    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.

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

  • @nelsonmaciel9200
    @nelsonmaciel9200 4 роки тому

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

  • @o_o8330
    @o_o8330 6 років тому

    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?

  • @akshaymannarkkad7805
    @akshaymannarkkad7805 4 роки тому

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

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

  • @domtechplus
    @domtechplus 5 років тому

    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 .

  • @jaguar4a
    @jaguar4a 2 роки тому +1

    nice cod , thenk you

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

  • @dhiaeddinebaali8896
    @dhiaeddinebaali8896 4 роки тому

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

  • @jebre1
    @jebre1 5 років тому

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

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

  • @ashukondare2822
    @ashukondare2822 7 місяців тому

    Best Video Explain😊

    • @BINARYUPDATES
      @BINARYUPDATES  7 місяців тому

      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!

  • @ANTHONYBOOTH
    @ANTHONYBOOTH 5 років тому

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

  • @barbodrexlherjayc.1904
    @barbodrexlherjayc.1904 Рік тому

    and it is connected to desktop application?

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

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

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

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

  • @LAL666666
    @LAL666666 5 років тому +7

    Can you upload a file with the code ?

  • @777hiesler
    @777hiesler 4 роки тому +1

    Thanks

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

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

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

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

  • @Time4yes
    @Time4yes 3 роки тому

    Is your website responsive?

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

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

  • @NiltonOliv
    @NiltonOliv Рік тому

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

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

  • @glynnmason8205
    @glynnmason8205 5 років тому

    getting a error readstring was not decared in this scope

  • @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 :)

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

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

  • @Jandycon
    @Jandycon 5 років тому +1

    cant see the buttons

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

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

  • @mifthahulbarki3852
    @mifthahulbarki3852 3 роки тому

    How connect laptop to router and ethernet please how to syinchron

  • @timyg
    @timyg 4 роки тому +1

    Can i get the code

  • @jebre1
    @jebre1 5 років тому

    any help would be appreciated

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

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

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

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

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

  • @reyphilipgimena8678
    @reyphilipgimena8678 2 місяці тому

    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

  • @user-hl8pp2ox1h
    @user-hl8pp2ox1h 3 місяці тому

    CODE PLS

  • @camplays487
    @camplays487 6 років тому

    Nevermind, I answered my own question.

  • @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 10 місяців тому +1

    Very interesting video

  • @pornaelectrical-ingeneer7794
    @pornaelectrical-ingeneer7794 10 місяців тому

    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!