Need help with Arduino and Ethernet...

Hi,

my setup is Arduino (Pro Mini 328, 5V, 16MHz) and ENC28J60 Network Controller.

I want to use this library (or an other): http://blog.thiseldo.co.uk/wp-filez/EtherShield_1.6.zip

...to check a PHP-output from a webserver, and control an relay with the arduino.
The arduino should load the PHP-site from a webserver every 10 seconds.

Example: http://server.tld/arduino.php

If the PHP says "on" the relay should switch on.
If the PHP says "off" the relay should switch off.

Could anybody help me with the code? With the
examples I can“t find out how I could realize this.

Greetings
Tim

Hi,

now I use this lib: GitHub - njh/EtherCard: EtherCard is an IPv4 driver for the ENC28J60 chip, compatible with Arduino IDE

...and it was easy to get it work!

SCK - Pin 13
SO - Pin 12
SI - Pin 11
CS - Pin 8
VCC - 3.3V
GND - GND

Greetings
Tim