Projects Home Schematics Datasheets Links    
   
Description

The Celeritous PICWEB1 Embedded web server is a small module featuring the new Microchip PIC18F67J60 8-bit microcontroller with integrated Ethernet controller on the chip.

The PICWEB1 module includes all the support components for the PIC18F67J60 plus a 25LC256 serial EEPROM, a USB interface based on the FTDI FT232RQ USB controller and as an option a DS2502-E48 from Dallas-Maxim holding an IEEE assigned 48-bit MAC address.

A demo board is available where you plug in the PICWEB1 module, adding a power supply connector with a voltage regulator, the classic RJ12-6 connector for ICSP with an ICD2, Reset and four push buttons, four LEDs and a TMP121 digital temperature sensor.

The PICWEB1 ships with the PIC18F67J60 preloaded with a customized version of the Microchip TCP/IP Stack v.4.02 but I also created a hardware profile and tested it with the modified version of the 3.75 TCP/IP Stack.





Celeritous PICWEB1
[Click Image to Enlarge]
Design considerations

The PICWEB1 Demo Kit includes everything you need to get started, the PICWEB1 module, the demo board, a cross-over and straight ethernet cables, USB cable, power supply and a CD with additional information and drivers that let you use the USB interface on the PICWEB1 that is connected via two jumpers to the PIC18F67J60 UART.


External memory

As mentioned before the PICWEB1 module includes a 25LC256 Serial EEPROM that will be used for storing configuration information and HTTP server documents.


Microcontroller Clock Frequency

To support the internal Ethernet controller, the PIC18F67J60 requires a clock source of 25MHz, but the TCP/IP stack code set the configuration bits to use the PLL block to generate an internal cpu clock of about 41.6667MHz.


Schematics

Detailed schematics and a Quick Start Guide are included in the CD distributed with the demo kit and additional information can be obtained on Celeritous Website.


Getting the board up and running

Compiling the 3.75 for the PICWEB1 is a simple task, it requires few software tools available for download from Microchip's website at no cost, and obviously the TCP/IP stack source code distribution and a PIC programmer. For this project I used Microchip's MPLAB ICD2 as a programmer.

With the latest modified version of the Microchip TCP/IP Stack v3.75, the process is quite simple.

This new version adds the PICWEB1 macro definition that combined with the device selection for the Microcontroller generates the appropriate code for this particular project.

The software distribution includes the MPLAB IDE project file PICWEB1.mcp, load this project into MPLAB IDE, select the correct processor (by default the project has selected the PIC18F97J60) and verify that the settings on the config.h and picweb1.h files apply to your project or modify them accordingly (both files are located in the include subdirectory of the main src directory).

For additional details check the README.TXT file included in the software distribution.

For a detailed explanation about how to build Microchip's TCP/IP stack
for this or similar projects Click Here.


Schematics & Firmware source Code

Celeritous PICWEB1 Product Page  
Celeritous PICWEB1 Demo Server Kit Product Page  
Building the Microchip TCP/IP Stack for this project  


Datasheets for relevant parts used in this project

Microchip's PIC18F97J60 8-bit MCU Datasheet  
Microchip's PIC18F97J60 8-bit MCU Datasheet Errata A0  
Microchip's 25LC256 Serial EEPROM Datasheet  


Useful Links

TCP/IP Stack Source code and useful software tools

Microchip's TCP/IP Stack v3.02  
Microchip's TCP/IP Stack v3.60  
Microchip's TCP/IP Stack v3.75  
Microchip's TCP/IP Stack v4.02  
Microchip's TCP/IP Latest Version  
Microchip's MPLAB Integrated Development Environment  
Microchip's MPLAB C18 Compiler  
Wireshark (formerly Ethereal) Network Protocol Analyzer  
CoffeCup HTML Editor 2007  


Additional Resources

Brush Electronics Ethernet Boot Loader  
Microchip TCP/IP Stack Application Note (AN833)  
Microchip Users Forum - TCP/IP-Ethernet  




   
    ©2006-2009, Jorge Amodio, All rights reserved

Last Update: Jan 28, 2008