TCP/IP + CopperLan
TCP/IP & CopperLan together
This demo implements a full TCP/IP stack in addition to full featured CopperLan control.
To illustrate this implementation, a CopperLan remotely edited web page is delivered by an on-board web server.
Basic controls are available via the CopperLan Manager:
-
Enable/disable the board's HTTP server
Watch its IP address (automatically set by DHCP)
Adjust and monitor via sliders the red, green and blue values that define the background color of the generated web page.
Note that the page is refreshed periodically every 5 seconds.
Usage
As it is, the demo is first of all about demonstrating the integration of a TCP/IP stack in relation with CopperLan .
The IP frames are passed through the CopperLan-Ethernet MCU to the application MCU both ways.
The IP stack is the one provided by Microchip without any modification.
Note that this setup needs a DHCP server in the network
This demo is Ethernet-only and cannot be realized via a USB connection
CopperLan concepts implemented
-
Pass-through of non-CopperLan Ethernet frames by the CopperLan-Ethernet MCU
Simultaneous handling of IP and CopperLan protocols on the Ethernet physical side
Simultaneous handling of IP and CopperLan protocols on the CHAILink side (client MCU side)
Remote parameter editing and monitoring
Variations
As a TCP/IP implementation the goal is to provide a compatibility bridge for products that need to rely on IP while implementing the advanced capabilities of CopperLan.
One could think of various Internet related applications such as:
-
software update
remote settings via a web page
data reporting and monitoring
... or compatibility with existing IP-based implementations in local network command and control.
Hardware
This demo is self-sufficient with the Copperduino board only.
No shield is required but any one can be used according to the IP/CopperLan project planned.
A DHCP server is required in the network to allocate an IP address to the board
Screenshots
Download the demo code
