element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Blog Fast Track to Arduino Programming - Lesson 4b, How to use an Ethernet Shield with a WEB page
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Robert Peter Oakes
  • Date Created: 22 Jun 2014 10:09 PM Date Created
  • Views 2848 views
  • Likes 2 likes
  • Comments 14 comments
  • tutorial
  • console
  • ethernet
  • fast_track_to_arduino_programming
  • ws5100
  • arduino
  • wiznet
  • enc28j60
Related
Recommended

Fast Track to Arduino Programming - Lesson 4b, How to use an Ethernet Shield with a WEB page

Robert Peter Oakes
Robert Peter Oakes
22 Jun 2014

Link back to main menu Fast Track to Arduino Programming

 

link to lesson 4a incase you missed it image : Fast Track to Arduino Programming - Lesson 4a, Ethernet input and response test console

 

In lesson 4a we reviewed the HTML based console that was to be used throughout lesson 4, this was so you are prepared to follow through the lesson without worrying about how other none Arduino parts work, now I will present the main video that will walk you through the sketch, identifying the changes from the previous lesson and explaining the operation of the added code.

 

this is a long video, close to an hour but I wanted to be thorough and not miss out key parts.

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

The sketch and HTML page are provided in lesson 4a here: Fast Track to Arduino Programming - Lesson 4a, Ethernet input and response test console

 

and to follow up with how to change the settings of the web page and a brief description as to how it works, see this

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

  • Sign in to reply
  • Robert Peter Oakes
    Robert Peter Oakes over 10 years ago in reply to brunosurf17

    I tried this on one of my UNO boards and it works ok, the code does have two ehternet cards available to it, a WIZNET and the ENC26 chip. Do you have the right library selected ?

     

    Peter

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • brunosurf17
    brunosurf17 over 10 years ago

    Hello Peter.

     

     

    Thank you for your attention, my code and configuration is as follows:

    Lesson 4:

    var myIPaddress = "http://192.168.1.247/";

          var analogAlljson = "analogAlljson";

          var digitalAlljson = "digitalAlljson";

     

    Arduino:

    byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xaa };

    IPAddress ip(192,168,1,247);

    IPAddress dns1(192,168,1,1);

    IPAddress gateway(192,168,1,1);

    IPAddress subnet(255,255,255,0);

    EthernetServer server(80); // use standard port 80

    image

     

    The other parts of this code the same as files GITHUB.

     

    thank you very much

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Robert Peter Oakes
    Robert Peter Oakes over 10 years ago in reply to brunosurf17

    Hi Bruno

     

    Can you also post your sketch as you have changed it and I will see if I can find what is wrong. Also you wont be able to ping the Arduino, the stack (Code) does not support PING.

     

    Thanks


    Peter

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • brunosurf17
    brunosurf17 over 10 years ago

    Personally, I am unable to capture the state of the Arduino doors, changed the ip configurations in Arduino and html according to my network, I tested other browsers and poblema persists.

    I can trigger all the pins, but this being possible to read the entries

    I can ping the Arduino still not working.

    what should I be doing wrong?

     

     

    Since already thank you.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • vish
    vish over 11 years ago in reply to vish

    forgot to mention, I'm talking about the line numbers in oscilloscope.html file

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube