Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Luis E. Linares Garcia

Pages: [1]
Hi! Glad to contribute! Where precisely should I place this within the Wiki?
Hello :)

For my work I acquired a WIZ812MJ Ethernet module from Saelig, which I'm using with my breadboarded Wiring over an ATmega644(P). Given the absence in Wiring of a library for this module, I went on to look for an existing one, and eventually found this: http://www.mcqn.com/weblog/dhcp_and_dns_arduino, upon which I built the library I'm attaching (A little contribution payback from the Arduino community  8)). I had to make some minor modifications to the code, as well as adding the proper specification for the (SPI) Slave Select signal of my ATmega644.

The library implements DHCP and DNS, and serves both as Client and Server. The heart of the module, which is the specific target of the library, is the W5100 Ethernet Controller, the same used for the Arduino Ethernet shield. So in principle you could attach the shield to your Wiring board, but then you may have to modify the w5100.h file (line 323 and on) in the library to make sure the Slave Select signal is properly assigned to the pin where the shield expects to find that signal.

The connections I have to the module are: MOSI, MISO, SCK and SS as drawn on the ATmega644 datasheet. It is optional to add an IO pin to the reset signal of the module, but it is recommended for critical applications.

I hope the community finds this useful.
Pages: [1]