Connect the Hanrun HR911105A network interface to an Arduino with the following method:
Arduino pin | HR911105A pin | ||
---|---|---|---|
Arduino pin 12 | SO (SPI MISO) | ||
Arduino pin 11 | SI (SPI MOSI) | ||
Arduino pin 13 | SCK (SPI SCK) | ||
Arduino pin 10 | CS (SPI SS) | ||
Arduino 3v3 (or 5v) | VCC | ||
Arduino GND | GND |
Download the uIP library here:
github.com/BauweBijl/arduino_uip
Extract it and put it in the Arduino libraries folder.
In your sketch you can use any ethernet example.
Change #include <Ethernet.h>
to #include <UIPEthernet.h>
to use the proper library.
Labels: Arduino-network