PIC-WEB Olimex Ltd., PIC-WEB Datasheet

MCU, MPU & DSP Development Tools TCP-IP DEV BRD FOR PIC18F67J60

PIC-WEB

Manufacturer Part Number
PIC-WEB
Description
MCU, MPU & DSP Development Tools TCP-IP DEV BRD FOR PIC18F67J60
Manufacturer
Olimex Ltd.
Datasheet

Specifications of PIC-WEB

Processor To Be Evaluated
PIC18F67J60
Data Bus Width
8 bit, 16 bit
Interface Type
RS-232, Ethernet, I2C, SPI
Dimensions
60 mm x 65 mm
Operating Supply Voltage
5 V
Tool Type
Development Kit
Core Architecture
PIC
Cpu Core
PIC
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
1701532 25R4931

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC-WEB
Manufacturer:
Olimex Ltd.
Quantity:
135
PIC-WEB REV.B development board
Users Manual
All boards produced by Olimex are ROHS compliant
Rev.C, March 2011
Copyright(c) 2011, OLIMEX Ltd, All rights reserved
Page1

Related parts for PIC-WEB

PIC-WEB Summary of contents

Page 1

... PIC-WEB REV.B development board All boards produced by Olimex are ROHS compliant Copyright(c) 2011, OLIMEX Ltd, All rights reserved Users Manual Rev.C, March 2011 Page1 ...

Page 2

... This board is designed to have Web page of no more than 128 kB. If you want a lot’s of images in your application you van also host them on other server visible on the network where you have the PIC-WEB connected. The potential of the board is to generate a fluid communication between some specific sensors or actuators across a TCP/IP net including the controls of it ...

Page 3

... ELECTROSTATIC WARNING The PIC-WEB board is shipped in protective anti-static packaging. The board must not be subject to high electrostatic potentials. General practice for working with static sensitive devices should be applied when working with this board. BOARD USE REQUIREMENTS Cables: meter USB A-B cable to connect or Serial DB9 cable in case of tools ...

Page 4

... PROCESSOR FEATURES PIC-WEB board use CPU PIC18F67J60 from Microchip with these features: Operating Frequency Flash program memory (bytes) – 128k Flash program memory (Instructions) – 65532 SRAM data memory (bytes) – 3808 Interrupt Sources – 26 Ethernet TX/RX Buffer (bytes) – 8192 I/O Ports – ...

Page 5

Internal DMA for fast memory copying Hardware assisted checksum calculation for various protocols MAC: Support for Unicast, Multicast and Broadcast packets Programmable Pattern Match bytes within packet at user- defined offset Programmable wake-up on multiple packet ...

Page 6

Dual Analog Comparators with Input Multiplexing Special Microcontroller Features: 5.5V Tolerant Inputs (digital-only pins) Low-Power, High-Speed CMOS Flash Technology: Self-reprogrammable under software control C compiler Optimized Architecture for re-entrant code Power Management Features: Run: CPU on, peripherals on Idle: CPU ...

Page 7

BLOCK DIAGRAM Page7 ...

Page 8

... MEMORY MAP for PIC18F67J60 Page8 ...

Page 9

SCHEMATIC RJ45 SIDE VCC VSS + 180 180 + Page9 ...

Page 10

... The board power consumption is: about 130 mA with all peripherals and MCU running at full speed. RESET CIRCUIT PIC-WEB reset circuit is made with R8 (10k) pull-up, R7 (330R) serial resistor and RST button. Although on the schematic is made provision for external reset through EXT-16 pin. Manual reset is possible by the RST button. ...

Page 11

... This jumper, when closed, enables 3.3V board power supply. Default state is closed. INPUT/OUTPUT One User button with name BUT – connected to PIC18F67J60 pin 3 (RB0/INT0/FLT0); Status red LED with name LED connected to PIC18F67J60 pin 44 (RB4/KBI0). Power supply red LED with name PWR – indicates that external power source is applied and board power supply is applied ...

Page 12

EXTERNAL CONNECTORS DESCRIPTION ICSP Pin # Signal Name RS232 Pin # Signal Name PWR_JACK Pin # Signal Name 1 Power Input 2 GND EXT RST ...

Page 13

Pin # LAN Pin # Signal Name Signal Name Pin # RA2/AN2/VREF– 2 RA4/T0CKI 4 RE0/P2D 6 ...

Page 14

TPIN+ 8 TPIN- LED Color Right Yellow Left Green Usage Activity 100MBits/s (Half/Full duplex) Page14 ...

Page 15

MECHANICAL DIMENSIONS Page15 ...

Page 16

... Connecting and testing the board The PIC-WEB comes with a default code and web server that you can test in a couple of simple steps. First of all you have to configure the Ethernet port to be able to work on your local network. That is possible trough the MCHPStack Configuration Console. ...

Page 17

... File->Properties->Settings->ASCII Setup. Then save the connection for later use. After this setup the connection with the PIC-WEB should be ready, but the console will not show anything!. That’s because the board is not running on configuration mode. To run on that mode you just need to push the “ ...

Page 18

... DHCP to get the configuration from your router. The first and the second options are not used in this manual. At this moment we will only use the on-board default page. The last option saves the configuration and restarts the PIC-WEB. For testing purposes you can connect the board directly to your computer with a crossover ethernet cable , configure the board with 192 ...

Page 19

... Test WEB page was mentioned above, the PIC-WEB board has an embedded web server and a demo page. The page shows some of the features of the board and it have a link to Olimex’s PIC-WEB information page. To access the demonstration page, the server must be accessible from the computer. The default IP address of the board is 192 ...

Page 20

... BUT, the value of the potentiometer, the status of the LED and so on. To toggle the status LED of the board (PIC-WEB) you can click on the green dot under the caption “LEDs:”. By clicking on this dot you are changing the state of the pin, see how the led switch on or switch off ...

Page 21

... At the page you can also see some values of the PIC-WEB sensors and buttons: • Buttons: • Potentiometer: • Temperature: “Potentiometer” shows a measurement from the PIC A/D connected to a 10KΩ potentiometer on the board, you can freely change that potentiometer position and check how the measurement changes. “ ...

Page 22

Next thing just start the MPFS2.exe utility and set up the required fields. Here is a screenshot of one possible configuration: A very handy feature of the utility is point 4, which may be used to automatically ...

Page 23

Press the 'Generate and Upload' and wait for your new image to be generated and uploaded. This is a sample of the result of a successful upload: Please note that an image file (in this case web.bin) is ...

Page 24

... TCP/IP protocols included in the Microchip Stack. In this manual we will explain how to create a dynamic web page, but this isn’t the limit of the PIC-WEB and the TCP/IP Stack, you can get further to reach the full capacity of this platform and manage other protocols of network communication between the PIC microcontroller and any client or server in the network ...

Page 25

... You can upload programs to the PIC-WEB with any programmer and software compatible with PIC18 like Olimex’s PIC-ICD2-POCKET programmer. MPLAB Integrated Development Environment MPLAB IDE is free software distributed by Microchip that includes a toolset for development of PIC microcontroller applications for windows OS ...

Page 26

... There are several ways to program a PIC, but the easiest and proper way to program the PIC- WEB is using a compatible programmer with an ISCP connector and compatible with MPLAB IDE. For this purpose it will be used an USB programmer compatible with MPLAB ICD 2 sold by Olimex, the PIC-ICD2-POCKET. ...

Page 27

... If you have something already compiled, you can open the “*.hex” file and then program it to the PIC-WEB. Just importing the “*.hex” file in File → Import menu. If you don't have something already compiled, you can use some of the “*.hex” files offered by Olimex Ltd. To use them you should first download TCP/IP stack library v5 ...

Page 28

... PIC-WEB Software If you haven't downloaded the PIC-WEB software distributed by Olimex and TCP/IP stack library v5.0 from Microchip's site or some other place of your choice, now is time to do that. After downloading the necessary PIC-WEB software and executing the instructions in “README.txt” file, you will have a working demo. Open this workspace '.\TCPIP Demo App\TCPIP Demo App-C18 ...

Page 29

Before compiling check that the necessary include directories are well configured to use C18, those are: • Include Search Path: MCC18\h • Library Search Path: MCC18\lib • Linker-Script Search Path: MCC18\lib Page29 ...

Page 30

Now is time to compile! If there aren’t bad configuration the compilation must be successful, that means that you have to get the “BUILD SUCCEEDED” message on the output window. Note: the version of the MPLAB IDE that you are ...

Page 31

... After you have load this “*.hex” file, you should open .\PIC_WEB_RevB_Patch\pre- built\Microchip Ethernet Discoverer.exe. Click on the button “Discover Devices” and the IP address of PIC-WEB will be discovered (for example - 192.168.0.238). Note that your LAN has to have DHCP server. In your browser type the IP of the board with the following path: http://192 ...

Page 32

... Click on the button “Choose File” to select the “*.bin” file you are about to upload. Select the image file in directory .\PIC_WEB_RevB_Patch\pre-built\MPFSImg2.bin and press 'Upload'. Sit back and relax while the upload takes place and then navigate to the home page to behold the page just uploaded. Now your PIC-WEB is with Olimex's original software. Page32 ...

Page 33

... AVAILABLE DEMO SOFTWARE Microchip TCP-IP Stack 5.00 patch without modification on other versions of the stack) modified for PIC-WEB REV.B (will not work Page33 ...

Page 34

... ORDER CODE PIC-WEB - completely assembled and tested. How to order? You can order to us directly or by any of our distributors. Check our web Revision history: Board's revision: Manual's revision www.olimex.com/dev for more info. REV created May 2009 REV created March 2011 - added detailed mechanical dimensions ...

Page 35

... However all warranties implied or expressed including but not limited to implied warranties of merchantability or fitness for purpose are excluded. This document is intended only to assist the reader in the use of the product. OLIMEX Ltd. shall not be liable for any loss or damage arising from the use of any information in this document or any error or omission in such information or any incorrect use of the product ...

Related keywords