Connect the TinyUSBboard to the Hanrun HR911105A network breakout board with the following method:
AVR pin | HR911105A pin | ||
---|---|---|---|
PB4 | SO (SPI MISO) | ||
PB3 | SI (SPI MOSI) | ||
PB5 | SCK (SPI SCK) | ||
PB2 | CS (SPI SS) | ||
5v | VCC | ||
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: TinyUSBboard-network