Go Down

Topic: Interfacing with the ENC28J60 (Read 11113 times) previous topic - next topic

nkcelectronics

I think atmega168 is too small for having tcp/ip stack + http... if you can fit it, there will be no room available for anything else.  Why don't you put the whole tcp/ip stack outside of arduino?  You can add a PIC MCU next to the ENC chip and use the free tcp/ip implementation by microchip (includes http).  Or use Wiznet TCP/IP on hardware chip (TCP/IP + Ethernet) and implement only HTTP in Arduino, using SPI.

An Arduino web server shield could be very useful, to verify pin status, interface with Arduino, control an Arduino remotely, etc etc etc

John_Ryan

Quote

An Arduino web server shield could be very useful, to verify pin status, interface with Arduino, control an Arduino remotely, etc etc etc


Yip, very very very & very, useful

xSmurf

I'm waiting for the WizNet eval board as we speak... We'll see what happens ;)
"Pilots believe in a clean living... they never drink wisky from a dirty glass."

nomi

hello all. i m new to enc28j60 and i want to know the difference b/w
enc28j60/sp and enc28j60-i/sp.

nomi

this is microchip link where they have displayed the ics
http://sample.microchip.com/Default.aspx?testCookies=true

mem

nomi, That link was to your samples shopping cart, not the datasheet. The web page for info on the enc28j60 is here: http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en022889

SP is the skinny plastic DIP package. i/sp is the industrial temperature version of the chip ( -40degrees c verses 0 degrees). The datasheet has the specifics.

nomi

i know that link was for sample shopping cart. i just attached so that ppl can see diff types of enc28j60 ics and can answer to my question propelry. i still cant understand ur answer can u explain a bit further.
i need to interface ATmega 88 with enc28j60. can i use any of them i.e sp or -i/sp. is there any other major diffence except the temp.

FrankRadio

Hi all!!
I have too a Enc 28J60 and my Arduino.
Now what i want to do is this, some basic parts of the library are missing.
DHCP and DNS-Query are basic for a Outgoing connection.

We can use fixed IP, but we must know the gateway IP and the DNS ip, in the most common cases both are the same, this is the network router IP.

So, what i found to do this, a Microchip .C libraries, this are wrote in C come so it must work with some small changes at Arduino.

We can found here several examples of DHCP and DNS:

http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1824&appnote=en011993

DNS is easy, the only thing that we need is a UDP client and a DNS-query format packet. Send this query to the DNS server in the router at the 53 port and the response will be the internet ip. :o

So who want to loose some hair with me? ;D

Best Regards
Frank


Go Up