2017 REVIEW | 'IoT & Embedded MAKER SPACE - MKE' Group
Arduino & IPv6 Ethernet Port
| Gene's Inner Lab, Quick Ref
2017 | by Gene Casanova
Senior Computer Systems Engineer
CGI Computer Wares IPv6 Ethernet Network Interface Controller Module
- IEEE 802.3 Compatible Ethernet Controller
- Fully Compatible with 10/100/1000Base-T Networks
- Integrated MAC and 10Base-T PHY
- Supports One 10Base-T Port with Automatic Polarity Detection and Correction
- Supports Full and Half-Duplex modes
- Programmable Automatic Retransmit on Collision
- Programmable Padding and CRC Generation
- Programmable Automatic Rejection of Erroneous Packets
- SPI Interface with Clock Speeds Up to 20 MHz
- Supports Unicast, Multicast and Broadcast Packets
- ENC28J60/SS IC chip, SSOP28 package
- 25MHZ Crystal
- RJ45 Socket Connector HR911105A With Isolation Transformer
- 2 x 6 Pin Header Connector:
- 5v+ Pin Input
- 3.3v+ Pin Input Power Supply AMS1117-3.3 IC Chip
- SPI Communication Interface Connections (SO, SI (ST), CS, SCK)
- WOL (Wakeup On LAN) Connection
- LNT (INT)
- RST (RESET)
- Q3 (3.3VDC)
Arduino UNO Connection
The Next-Generation Modern IPv6 Ethernet Network Interface Controller module by CGI Computer Wares, utilizes the International electronics industry standard 'SPI' communication interface, for communications with microcontrollers.
The Arduino UNO SPI interface connects to this module, using the following pin configruation:
|Arduino SPI||CGI IPv6 Ethernet NIC|
Ethernet Module Pin Header
3.3VDC Powered System:
|Arduino SPI||CGI IPv6 Ethernet NIC|
Arduino Ethernet WOL
The Next-Generation IPv6 Ethernet Network Interface Controller (NIC) module by CGI Computer Wares, provides the industry standard WOL service.
A computer equipped with an Ethernet WOL NIC, can be booted using a "Wake on LAN" network signal.
While a computer is in standby ("sleep") mode, with WOL enabled, the WOL NIC inside the computer is monitoring the Ethernet connection for a WOL signal. This signal is a "magic packet" containing the MAC address of the NIC. The 'magic packet' can be sent from a device connected to the network; like a computer, a Smartphone, an Arduino, a Raspberry PI, and other devices from the LAN, private WAN, or the public global internet named the Internet.
An Arduion C library named "EtherCard" was developed to support use of the ENC28J60 IPv6 Ethernet IC chip.
Connect the CGI Computer Wares IPv6 Ethernet Network Interface Controller module to a network using DHCP or configuring a static IP-address.
Download the 'EtherCard' Library from the Internet github web site. Load the downloaded .zip file into the Arduino IDE application Library Management. The management system uses the .zip file.
For an experimental setup, use a momentary button switch to trigger sending a WOL 'magic packet'. Connect one pin of the momentary button switch to 5V on an Arduino UNO, and connect the other switch pin to the Arduino Digital I/O Pin 5, and to a 10K Ohm resistor. Connect the oposite end of the 10K resistor to Arduino GND pin.
Connect the Ehernet module to the computer runing the Arduino IDE application using a special "crossover" CAT5, CAt5+, or CAT6 cable.
The Arduino, with connected CGI Computer Wares Deluxe IPv6 Ethernet NIC module, and the computer running the Arduino IDE application (computer workstation), are now ready for testing the examples provides with the "EtherCard" library.
ENC28J60 Ehernet Module DHCP – Arduino Sketch
Modify the sketch with the destination MAC being used on the Ethernet module. Upload this example sketch to the Arduino, using the Arduino IDE applicaition with the Arduino connected to the workstation computer through the USB port.
Open the Arduino IDE 'Serial Monitor' tool and set the 'baud rate' to 9600.
Arduino Minimal IPv6 Library
A minimal IPv6 library for an Arduino and a ENC28J60 Ethernet interface controller module.
- SLAAC (Neighbour Discovery Protocol / Stateless Auto-Configuration)
- HTTP Server
- UDP Client and Server
- DNS Client
Optimised for Arduino; not a general purpose library.
Decoupled core from protocols where possible, enabling program size optimisations.
Only use statically allocated memory to avoid leaks and keep memory usage down.
- Ethernet only
- No DHCPv6
- No Routing or RPL
- Stateless TCP (single packet request/response)
- No fragmentation support
- A single local router on LAN assumed
- The network prefix length is assumed to be /64
EtherSia is an IPv6 only library and should work on any Arduino system with an ENC28J60 Ethernet Network Interface Controller Module.
'IoT & Embedded MAKER SPACE - MKE'
CONACT to learn about a new group in METRO Area of WI & IL - Milwaukee, Racine, Kenosha, South Eastern WI And Northern IL, space and/or spaces - Forming Now!
We Have Industrial Zoned Making Space With Outfitted Machine Shop And Lab Space Available! Multiple Dedicated Online Locations Available In Milwaukee 3rd Ward.
I am building a network of creative Makers/Doers!... Come Learn More, Join, Engage, Enjoy, Create A Solid Future Of Fun And Reward... Come Help..... Core Team Members Wanted, Or Simply be A Hangout Member Learning, Socializing/Networking... Start-Up Incubator Space, Students Tutoring Space, Retired... Hobbyists, Educators, Scientists, Researchers, Developers...
Mega Industrial Machines Building!!!! AI Development.... Super Computing.... @ Tier 1 Level. Locations looking to establish a network space, include Chicago IL, Melbourne Vic Australia.
Use The Technology Wisely & Keep It Simple
Need More? Need Help? ........Software, Network, System & Data Center Builder & Developer | Development Services Available - Freelance Small Jobs; To Outsourced Long Term Service Provider Contract Labor Available.
CGI Computer Wares | EST 1979