Simple Web Server with Arduino Ethernet Shield

Sdílet
Vložit
  • čas přidán 5. 08. 2019
  • Find code and diagrams at: www.EliTheComputerGuy.com
    Using an Ethernet Shield you can run a simple web server from an Arduino.
    Note: The Micro SD card must be formatted as FAT.
    Functional Parts in the Project:
    Arduino Uno - store.arduino.cc/usa/arduino-...
    Arduino Ethernet Shield 2 - store.arduino.cc/usa/arduino-...
    Micro SD Card
  • Věda a technologie

Komentáře • 51

  • @madezra64
    @madezra64 Před 5 lety +7

    Really loving how you're getting back into the game Eli! Looking forward to seeing what the future holds for you :D

  • @netwizzard
    @netwizzard Před 4 lety

    Thanks for this video. While I was building something completely different, this helped me tremendously with the part of this project I needed.

  • @husky-nu3xk
    @husky-nu3xk Před 3 lety +2

    debugging: 1. if you keep getting 0.0.0.0 can not initialize the SD card: unplug the USB for 2 sec and plug it back in after you down load the skitch.
    2. the html file has to be pasted on a text editor like sublime or visual studio to be saved in the right html format before uploaded to the SD card.

  • @danielduhaime6908
    @danielduhaime6908 Před 4 lety

    Hi Eli! Thanks for this tutorial, I've been meaning to do this for a while.
    I keep on getting 169. apipa addresses when doing the serial monitor. Any idea what it could be? Thanks!

  • @AtlasMTBRider
    @AtlasMTBRider Před 4 lety

    Thanks for the video. You can use Arduino web server to control what the Arduino does depending on the requests from the webpage. for example control a light bulb from a web browser or Telnet ...

  • @shaunpx1
    @shaunpx1 Před 4 lety

    Great Video! How would you use the wifi module to connect to a hosted website/app online and send data to through the WiFI connection to the web?

  • @andrewrzepecki7879
    @andrewrzepecki7879 Před 5 lety +3

    Great Stuff!

  • @acatisfinetoo3018
    @acatisfinetoo3018 Před 4 lety

    So how does this work if used over the internet. I can't see the Arduino running anything like a tcp/ip stack or does it?

  • @buntwogarde6583
    @buntwogarde6583 Před 4 lety +2

    I keep getting an error when initializing the SD card, it is formatted in fat32, but to connect it to my computer, I have to use a USB converter. I don't know if this will mess with that or not, or if I did something wrong.. I got the code from the website so I am sure it is accurate

  • @777hiesler
    @777hiesler Před 4 lety

    How do you display a analog reading

  • @jeffgrant6004
    @jeffgrant6004 Před rokem

    Hi Eli, thanks for the video. Just wondering, I am looking at an Arduino to run two ethernet ports and add on an air flow sensor so that I can reverse proxy into a device to mornitor text data. It this possible?

  • @cfpwastaken
    @cfpwastaken Před 4 lety

    can I put multiple files on the SD Card for the webserver?

  • @herbie5263
    @herbie5263 Před 4 lety +1

    can you make a little server cluster? lets say take four, load the same thing on each one and connect them somehow, make them aware of each other and write a few if statements, like if one is primary than this one is presenting the web page, if it goes down, the other random one takes its place.

  • @castro619a
    @castro619a Před 4 lety +1

    How many users can access at a time?

  • @mehmetcanyldrm394
    @mehmetcanyldrm394 Před 4 lety

    Thanks for video. I have a question. Is it possible to make web server with arduino Ethernet shield by using Arduino LEONARDO ? Can you help me ? THANKS!

  • @germaniumoxide6382
    @germaniumoxide6382 Před 5 lety +1

    Thanks Eliiiii

  • @GoogolEnergy
    @GoogolEnergy Před rokem +1

    thenks

  • @inzneofficial4521
    @inzneofficial4521 Před 4 lety

    Can I upload different web pages?

  • @jim9689
    @jim9689 Před 4 lety

    This video is really helpful, thanks for posting it. I went to your web site to get and try the code, but I couldn't find it. Am I dense, or is it not there? I can re-type it all myself, but of course Ctrl-Y is faster.
    And you really got to get on board with saying EEEEthernet because you are the only person on earth saying it with a short "e" for the first syllable, and it is bone-jarring to hear.

  • @cedrickloydrosiercelius2199

    Thx but How to secure this page ?

  • @dablet
    @dablet Před 3 lety +2

    would be nice if you post the code so we dont have to type everything

  • @mikec2689
    @mikec2689 Před 5 lety

    Can you help me with a project I’m doing?

  • @achmadromadoni89
    @achmadromadoni89 Před 4 lety

    perfect

  • @sagaspace
    @sagaspace Před 3 lety

    Hey I want to make a website without buying domain and hosting v.i.a Arduino server. Is this possible¿?
    Also including payment gateways

  • @longngo2418
    @longngo2418 Před 4 lety

    thanks for the amazing video. If I have many Arduino Ethernet Shield (server), i can use only one the client (webserver) to control them?

  • @skyax3328
    @skyax3328 Před rokem

    Haha you are right i have a very good use case for using an arduino to serve a web page in order to set variables.

  • @S0K0N0MI
    @S0K0N0MI Před 4 lety +1

    I wanted to be able to interact with the arduino from the web.
    Like toggle some switches or read some data from a temp sensor and such.
    Is that even possible?

    • @hannes.b
      @hannes.b Před 4 lety

      same question here. Do you have an answer yet :)

    • @S0K0N0MI
      @S0K0N0MI Před 4 lety +1

      @@hannes.b Via IoT (Internet of Things) you can do it. Its a bit tricky, but it can talk directly to a phone app that way, instead of having to build a website.

    • @seanguerra8934
      @seanguerra8934 Před rokem

      czcams.com/video/ZAqNKaX3LQ0/video.html

  • @shahbazarain9488
    @shahbazarain9488 Před 3 lety

    not able to download code, please guide me

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

    Thanks for this but I can't find your code. Can you give me the exact link?

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

    It'S Ethernet - EEEEthernet - EEEE-THERNET

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

    It cannot read my SD Card after i slot in. Do anyone know what is the possible reason. It has formatted into a FAT file System

    • @vimer911
      @vimer911 Před 2 lety

      Arduino only supports SD (2GB and less), and SDHC (more than 2GB and up to 32 GB). Cards larger than 32GB are SDXC and are not supported by arduino libraries.

    • @mathsyt7267
      @mathsyt7267 Před 2 lety

      @@vimer911 Ahh. I see, that’s is the reason for unable to function properly! Thanks for the advise

  • @niklassuper3578
    @niklassuper3578 Před 4 lety

    this is what i get:
    0.0.0.0
    Initializing SD card ...
    ERROR - SD card initialization failed

    • @husky-nu3xk
      @husky-nu3xk Před 3 lety

      unplug the USB for 2 seconds after you download the skitch

  • @TheAnahenak
    @TheAnahenak Před 3 lety

    You look like (Jason Statham)‏. 😄😄😄

  • @jim9689
    @jim9689 Před 4 lety

    I think you forgot to put a 'return' after the if statement where you check for the existence of the file:
    if (!SD.exists("index.htm")) {
    Serial.println("Error -- can't find that file");
    return;
    }

  • @NortelGeek
    @NortelGeek Před 4 lety

    I've been raked over the coals for saying "Eh-Thur-Net" for years... Finally, I'm glad to meet someone that's not just another "E-Thur-Net" sheep lol. 😆

    • @S0K0N0MI
      @S0K0N0MI Před 4 lety +5

      Well, the name Ethernet is based off of the term "Luminiferous Ether", which was once thought to transfer electromagnetic waves through space. We know how to pronounce 'Ether' by itself, so it stands to reason that 'Ether-net' starts the same way. (long and complicated way of saying you are wrong. ;)

  • @converter8230
    @converter8230 Před 3 lety

    omg why are you holding you microcontroller like that, ur damaging it

  • @bsb0011
    @bsb0011 Před 5 lety +2

    Need a unique mac address? Next time before you toss out that old computer, router, or other ethernet device record it's mac address. I record the mac of every device i have, then when it dies I still have it. If you are going to donate the old device, might not want to use that mac address, but if the thing dies it's mac address can live on.

    • @idkidk9204
      @idkidk9204 Před 4 lety

      Oh never thinked about it thanks especially cuz mac addresses cost a bit

    • @RailyardProductions
      @RailyardProductions Před 3 lety

      Can't you just make one up?

  • @stirious8407
    @stirious8407 Před 3 lety

    If you say ethernet one more time I am gonna kms

  • @jim9689
    @jim9689 Před 4 lety

    You pronounce ethernet wrong. EEEEEEthernet. Long E. Saying it your way kills all your credibility.