Connect with us

Embedded web server with ENC28J60 + Atmega328

Discussion in 'Microcontrollers, Programming and IoT' started by kievari, Aug 31, 2010.

Scroll to continue with content
  1. kievari

    kievari

    5
    0
    Aug 31, 2010
    Hi,
    I mounted a HanRun HR911105A RJ45 MagJack to the SparkFun breakout board:
    SparkFun Electronics - RJ45 Ethernet MagJack Breakout
    for MagJack and using ENC28J60 and Arduino with Atmega328 chip managed to implement an example web server.

    I used this tutorial:
    Ethernet Shield : nuelectronics.com, Arduino Freeduino projects

    After finishing with the hardware, I programmed Arduino with "ethershield_ping.pde" example from that tutorial.

    Now when I connect Ethernet cable to MagJack, the laptop (on Win XP) don't detect any connection right at once. I have the standard ip set from the example "192.168.1.15", and if I set my laptop network address to something like 192.168.1.1 (both ip and gateway), then a network is recognized, BUT anyway pinging returns "request timed out". When connecting the cable even without the network being recognized, the green LED of link goes on and stays on. When pinging, it starts to blink (after each "request timed out"). The yellow LED never goes on!

    Could you please guide me out of this situation? :)
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-