Skip to content

gregor-samsa/papilio-enc28j60

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

papilio-enc28j60

Papilio One with Enc28j60

SPI Ethernet on the Papilio

This is a quick howto to get started using the enc28j60 SPI based ethernet board with the Papilio One 500k.

Hardware

  • Papilio One 500k
  • Olimex ENC28J60-H dev board

Set Up

  • Install the Papilio ZAP IDE
  • Load hacky fork of jcw's EtherCard library for Arduino (this fork contains changes to map pins to SPI)
    • make sure to save this repo as '(Arduino)/libraries/EtherCard'
  • Open 'BackSoon' sketch
    • Edit the ip address and gateway address (check your config with IPCONFIG on windows)
  • Connect the pins (see enc28j60.h) -
Enc28j60 Papilio
SCK - 1 WAL0
MOSI - 2 WAL1
MISO - 3 WAL2
CS - 7 WA8
GND - 9 GND
3.3v - 10 3.3v
  • Load the sketch and connect the serial monitor
  • Plug the ethernet cable in, hopefully dhcp will work and report
  • Ping the IP address, hopefully will work, same for http!

About

SPI Ethernet on the Papilio

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published