PIC-MAXI-WEB development board Users Manual

Similar documents
PIC-MAXI-WEB development board Users Manual. Rev.B, April 2009 Copyright(c) 2009, OLIMEX Ltd, All rights reserved. Page 1

MOD-ENC28J60 development board Users Manual

PIC-WEB REV.C development board User's Manual

Tutorial for MPLAB Starter Kit for PIC18F

PROTO-SHIELD development board Users Manual

Understanding PIC WEB boards and how to use Microchip's TCP-IP Stack. Rev.A, April Copyright(c) 2008, OLIMEX Ltd, All rights reserved

Universal EXTension connector (UEXT)

PICNet 1. PICNet 1 PIC18 Network & SD/MMC Development Board. Features. Applications. Description

MX PIC24F Educational Module User Manual

Chapter 13. PIC Family Microcontroller

STM32 F-2 series High-performance Cortex-M3 MCUs

SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.

FLYPORT Wi-Fi G

Lab Experiment 1: The LPC 2148 Education Board

USB-ISO - USB 2.0 compliant, 1000VDC USB Full Speed isolator Users Manual

M68EVB908QL4 Development Board for Motorola MC68HC908QL4

ET-BASE AVR ATmega64/128

Fondamenti su strumenti di sviluppo per microcontrollori PIC

DKWF121 WF121-A B/G/N MODULE EVALUATION BOARD

Atmel Norway XMEGA Introduction

WIZ-Embedded WebServer User s Manual (Ver. 1.0)

Hello, and welcome to this presentation of the STM32L4 reset and clock controller.

RN-131-PICTAIL & RN-171-PICTAIL Evaluation Boards

Microtronics technologies Mobile:

EasyPIC4 User s Manual

VF2F. USB Flash Disk File-to-file Transfer Vinculum Evaluation Kit. Future Technology Devices International Ltd. Preliminary - Subject to Change

STM-P103 development board user's manual

Communication Unit 560CMU05 Data sheet

Freescale Semiconductor, Inc. Product Brief Integrated Portable System Processor DragonBall ΤΜ

SMARTCARD XPRO. Preface. SMART ARM-based Microcontrollers USER GUIDE

RC2200DK Demonstration Kit User Manual

USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual

Block 3 Size 0 KB 0 KB 16KB 32KB. Start Address N/A N/A F4000H F0000H. Start Address FA000H F8000H F8000H F8000H. Block 2 Size 8KB 16KB 16KB 16KB

GSM Interfacing Board

udrive-usd-g1 Embedded DOS micro-drive Module Data Sheet

ALL-USB-RS422/485. User Manual. USB to Serial Converter RS422/485. ALLNET GmbH Computersysteme Alle Rechte vorbehalten

DK40 Datasheet & Hardware manual Version 2

Products. CM-i586 Highlights. Página Web 1 de 5. file://c:\documents and Settings\Daniel\Os meus documentos\humanoid\material_o...

Android Controlled Based Interface

POCKET SCOPE 2. The idea 2. Design criteria 3

Web Site: Forums: forums.parallax.com Sales: Technical:

Am186ER/Am188ER AMD Continues 16-bit Innovation

BE635 User Manual. Rev. V Bolymin, Inc. All Rights Reserved.

ACR880 GPRS Portable Smart Card Terminal

TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT

GTS-4E Hardware User Manual. Version: V1.1.0 Date:

USER GUIDE EDBG. Description

Welcome to the tutorial for the MPLAB Starter Kit for dspic DSCs

How To Program A Microcontroller Board (Eb064) With A Psp Microcontroller (B064-74) With An Ios 2.5V (Power) And A Ppt (Power Control) (Power Supply) (

High-Speed Inter-Chip (HSIC) USB 2.0 to 10/100 Ethernet

CB-OLP425 DEVELOPMENT KIT GETTING STARTED

Using Xbee in Serial Communication

Embedded Ethernet Solutions

Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol

RN-131-PICTAIL & RN-171-PICTAIL Web-Server Demo Application

Yun Shield User Manual VERSION: 1.0. Yun Shield User Manual 1 / 22.

Von der Hardware zur Software in FPGAs mit Embedded Prozessoren. Alexander Hahn Senior Field Application Engineer Lattice Semiconductor

Getting Started with PIC24F/PIC24H Programming and Interfacing in C

An Introduction to MPLAB Integrated Development Environment

LonManager PCC-10 and ISA Protocol Analyzers Models and

Embedded Systems on ARM Cortex-M3 (4weeks/45hrs)

The following is a summary of the key features of the ARM Injector:

Guangzhou HC Information Technology Co., Ltd. Product Data Sheet

(USR-TCP232-T, USR-TCP232-2) (USR-TCP232-S, USR-TCP232-D) (USR-TCP232-24, USR-TCP ) (USR-TCP , USR-TCP ) File version: V3.

Vinco Development Module. Datasheet

UPS PIco. to be used with. Raspberry Pi B+, A+, B, and A. HAT Compliant. Raspberry Pi is a trademark of the Raspberry Pi Foundation

Palaparthi.Jagadeesh Chand. Associate Professor in ECE Department, Nimra Institute of Science & Technology, Vijayawada, A.P.

JNIOR. Overview. Get Connected. Get Results. JNIOR Model 310. JNIOR Model 312. JNIOR Model 314. JNIOR Model 410

User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK

Serial Communications

APPLICATION NOTE Atmel AT02509: In House Unit with Bluetooth Low Energy Module Hardware User Guide 8-bit Atmel Microcontroller Features Description

Alcalde # 1822 Col. Miraflores C.P Guadalajara, Jal. Mexico MX 01 (33) y USA 001 (619) (San Diego, CA.

The Programming Interface

Digitale Signalverarbeitung mit FPGA (DSF) Soft Core Prozessor NIOS II Stand Mai Jens Onno Krah

Quick Start Guide. TWR-MECH Mechatronics Board TOWER SYSTEM

Implementing SPI Master and Slave Functionality Using the Z8 Encore! F083A

Z8 Encore! XP F082A Series Development Kit

TCP/IP MODULE CA-ETHR-A INSTALLATION MANUAL

User Manual. AS-Interface Programmer

UniPi technical documentation REV 1.1

ontroller LSI with Built-in High- Performance Graphic Functions for Automotive Applications

Data Sheet. Adaptive Design ltd. Arduino Dual L6470 Stepper Motor Shield V th November L6470 Stepper Motor Shield

SIMATIC NET. CP AS-Interface Master B C. Preface Contents. Technical Description and Installation Instructions Interface to the User Program

MFRD52x. Mifare Contactless Smart Card Reader Reference Design. Document information

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs

Application. Characteristics RTU560. Data Sheet Communication Unit 560CMD11. Communication Unit 560CMD11

Advanced Microcontrollers Grzegorz Budzyń Lecture. 3: Electrical parameters of microcontrollers 8051 family

BIT COMMANDER. Serial RS232 / RS485 to Ethernet Converter

Serial port interface for microcontroller embedded into integrated power meter

DS1307ZN. 64 x 8 Serial Real-Time Clock

Byte code Interpreter for 8051 Microcontroller

PCAN-MicroMod Universal I/O Module with CAN Interface. User Manual. Document version ( )

DS1104 R&D Controller Board

PolyBot Board. User's Guide V1.11 9/20/08

HyperAccess Access Control System

AND8336. Design Examples of On Board Dual Supply Voltage Logic Translators. Prepared by: Jim Lepkowski ON Semiconductor.

Security & Chip Card ICs SLE 44R35S / Mifare

T200, PTP/IEEE 1588 Grandmaster Clock and

PIC18F8722 Family Data Sheet

AN4646 Application note

Transcription:

PIC-MAXI-WEB development board Users Manual Rev.A, July 2008 Copyright(c) 2008, OLIMEX Ltd, All rights reserved

INTRODUCTION: This board allows you to easily develop Ethernet connectivity applications. It has everything you normally would need for such applications: power relays which you can command through web interface, LCD display which will display messages you fill in web forms, analogue inputs for connection to sensors, digital optoisolated inputs, trimmer potentiometer, temperature sensor, Ethernet connector. With this board you can easily automate your home and then control and monitor it from any point in the world via Internet. An extension connector is available so you can connect custom made hardware to the board. The PIC18F97J60 has 128KB Flash program memory and there is external 1Mbit (128KB) flash memory for data storage. The on board DC/DC converter makes this board very tolerant to the external power supply which could be in 9-25V DC or 7-18V AC range. The bridge rectifier on the input allows AC and DC adapters to be used and makes power supply polarity problems go away. BOARD FEATURES: PIC18F97J60 microcontroller with embedded Ethernet MAC and PHY and 128KB Flash programming space 1Mbit on board serial flash for web pages storage ICSP/ICD connector for programming with PIC-MCP, PIC-MCPUSB and programming and debugging with PIC-ICD2 and PIC-ICD2POCKET. Temperature sensor Trimmer potentiometer connected to analogue input Two relays 10A/250VAC Four optoisolated digital inputs Twelve analogue inputs on terminal block Two buttons LCD16x2 with backlight RS232 interface Ethernet interface Complete web server and TCP-IP stack support as per Microchip's open source TCP-IP stack Terminal block for power supply works with 9-25 VDC power supply Extension header to connect to other boards Dimensions 120x108 mm (4.72x4.25") ELECTROSTATIC WARNING: The PIC-MAXI-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: Depends on the used programming/debugging tool. It could be 1.8 meter USB A-B cable to connect PIC-MCPUSB, PIC-ICD2 or PIC-ICD2POCKET to USB host on PC or RS232 cable in case of PIC-MCP or other programming and/or debugging tools. You will need a serial cable if not for

programming, than for configuring the board. You will also need a LAN cable. Hardware: Programmer/Debugger most of Olimex programmers are applicable, for example PIC-MCP, PIC-MCP-USB, PIC-ICD2, PIC-ICD2-POCKET or other compatible programming/debugging tool. Software: PIC-WEB is tested with MPLAB IDE v.7.62 + MPLAB C18 C compiler. It is possible that the stack might not function properly if used with later versions of MPLAB IDE. You will also need a terminal program configured at 19 200 bps, 8N1 and no flow control. PROCESSOR FEATURES: PIC-MAXI-WEB board use MCU PIC18F97J60 from Microchip with these features: - IEEE 802.3 compatible Ethernet Controller - Integrated MAC and 10Base-T PHY - 8-Kbyte Transmit/Receive Packet Buffer SRAM - Supports One 10Base-T Port - Programmable Automatic Retransmit on Collision - Programmable Padding and CRC Generation - Programmable Automatic Rejection of Erroneous Packets - Activity Outputs for 2 LED Indicators - Buffer: o Configurable transmit/receive buffer size o Hardware-managed circular receive FIFO o Byte-wide random and sequential access o Internal DMA for fast memory copying o Hardware assisted checksum calculation for various protocols - MAC: o Support for Unicast, Multicast and Broadcast packets o Programmable Pattern Match of up to 64 bytes within packet at user-defined offset o Programmable wake-up on multiple packet formats - PHY: o Wave shaping output filter - Selectable System Clock derived from Single 25 MHz External Source: o 2.778 to 41.667 MHz - Internal 31 khz Oscillator - Secondary Oscillator using Timer1 @ 32 khz - Fail-Safe Clock Monitor: o Allows for safe shutdown if oscillator stops - Two-Speed Oscillator Start-up - Address Capability of up to 2 Mbytes for External Memory Bus - 8-Bit or 16-Bit Interface - 2-Bit, 16-Bit and 20-Bit Addressing modes - High-Current Sink/Source: 25 ma/25 ma on PORTB and PORTC - Five Timer modules (Timer0 to Timer4) - Four External Interrupt pins - Two Capture/Compare/PWM (CCP) modules - Three Enhanced Capture/Compare/PWM (ECCP) modules: o One, two or four PWM outputs

- - - - o Selectable polarity o Programmable dead time o Auto-shutdown and auto-restart Up to Two Master Synchronous Serial Port (MSSP) modules supporting SPI (all 4 modes) and I2C Master and Slave modes Up to Two Enhanced USART modules: o Supports RS-485, RS-232 and LIN 1.2 o Auto-wake-up on Start bit o Auto-Baud Detect (ABD) 10-Bit, Up to 16-Channel Analog-to-Digital Converter module (A/D): o Auto-acquisition capability o Conversion available during Sleep Dual Analog Comparators with Input Multiplexing Parallel Slave Port (PSP) module (100-pin devices only) 5.5V Tolerant Inputs (digital-only pins) Low-Power, High-Speed CMOS Flash Technology: o Self-reprogrammable under software control C compiler Optimized Architecture for Reentrant Code Power Management Features: o Run: CPU on, peripherals on o Idle: CPU off, peripherals on o Sleep: CPU off, peripherals off Priority Levels for Interrupts 8 x 8 Single-Cycle Hardware Multiplier Extended Watchdog Timer (WDT): o Programmable period from 4 ms to 134s Single-Supply 3.3V In-Circuit Serial Programming (ICSP ) via Two Pins In-Circuit Debug (ICD) with 3 Breakpoints via Two Pins Operating Voltage Range of 2.35V to 3.6V (3.1V to 3.6V using Ethernet module) On-Chip 2.5V Regulator

BLOCK DIAGRAM:

MEMORY MAP:

SCHEMATIC:

BOARD LAYOUT: POWER SUPPLY CIRCUIT: PIC-MAXI-WEB can take power only from power connector PWR, where (9-12) VDC or (6-9) VAC external voltage source has to be applied. The board power consumption is about 200 ma with all peripherals and MCU running at full speed, relays and LEDs on and working Ethernet connection. RESET CIRCUIT: PIC-MAXI-WEB reset circuit is made with RC group R20 10k and C31 100nF. Serial resistor R21 330Ω is used to prevent fast C31 charge and discharge when PIC18F97J60 is being programmed. Manual reset is possible by the RESET button. CLOCK CIRCUIT: Quartz crystal 25MHz is connected to PIC18F97J60 pins OSC1 (CLK1) and OSC2 (CLKO). Internal PLL circuit can multiply this frequency up to 41MHz. 32.768 KHz quartz crystal is connected to PIC18F97J60 pins T1SO and T1OSI for its internal Timer1.

JUMPER DESCRIPTION: 5V_E enables 5V supply for LCD and relays. Default state closed (shorted). 3.3V_E enables 3.3V supply for PIC18F97J60 and all other devices. Default state closed (shorted). 3.3V is also available to EXT-1, so if you want to connect external backup battery to the PIC18F97J60 this jumper should be opened and the external battery to be connected to EXT-1 pin. #SS1/#SS2 is selected but user can chip select for U5 (AT45DB011) serial flash. Default position to be #SS2 in compatibles with Microchip software change it in its own application. Default state closed (shorted) INPUT/OUTPUT: Two User buttons with names BUT1 and BUT2 connected to PIC18F97J60 pin 8 RB3/INT3/ECCP2(1)/P2A(1) and pin 6 RB1/INT1; One analog trimmer AN_TR connected to PIC18F97J60 pin 33 RA2/AN2/VREF-; Thermistor TH1 connected to PIC18F97J60 pin 32 RA2/AN2/VREF+; Three LEDs LD0 (yellow) connected to PIC18F97J60 pin 49 RJ0/ALE, LD1 (red) connected to PIC18F97J60 pin 50 RJ1/#OE, LD2 (red) connected to PIC18F97J60 pin 66 RJ2/#WRL; Four opto isolated digital inputs IN1-IN4; Four red LEDs LED1, LED2, LED3, LED4 for every digital input; Two green LEDs LED5, LED6 for the relays; Power supply red LED with name PWR_LED indicates that 3.3V power supply is available Twelve analog inputs X1-X6; LCD Display - SC1602A - 16 characters x 2 lines.

EXTERNAL CONNECTOR DESCRIPTION: ICSP: Signal Name 1 RST 2 VCC 3 GND 4 PGD 5 PGC 6 NC PGD I/O Program Data. Serial data for programming. PGC Input Program Clock. Clock used for transferring the serial data (output from ICSP, input for the MCU). RS232: Signal Name 1 NC 2 TXD 3 RXD 4 NC 5 GND 6 NC 7 NC 8 NC 9 NC TXD OutputTransmit Data. This is the asynchronous serial data output (RS232) for the shift register on the UART controller. RXD Input Receive Data. This is the asynchronous serial data input (RS232) for the shift register on the UART controller.

X(1 6)-CONNECTORS Signal Name 1 AIN4 2 AIN5 3 AIN6 4 AIN7 5 AIN8 6 AIN9 7 AIN10 8 AIN11 9 AIN12 10 AIN13 11 AIN14 12 AIN15 13 GND These are the 12 analog inputs. IN(1 4)-CONNECTORS Signal Name 1 IN1+ 2 IN1-3 IN2+ 4 IN2-5 IN3+ 6 IN3-7 IN4+ 8 IN4These are the 4 opto isolated digital inputs.

EXT: Signal Name Signal Name 1 VCC 2 GND 3 RJ7/#UB 4 RJ6/#LB 5 RJ5/#CE 6 RJ4/BA0 7 RJ3/#WRH 8 RJ2/#WRL 9 RJ1/#OE 10 RJ0/ALE 11 RH3/A19 12 PG3/CCP4/P3D 13 RG2/RX2/DT2 14 RG1/TX2/CK2 15 RG0/ECCP3/P3A 16 RF7/#SS1 17 RD6/AD6/PSP6/SCK2/SCL2 18 RD5/AD5/PSP5/SDI2/SDA2 19 RD4/AD4/PSP4/SDO2 20 RD3/AD3/PSP3 21 RD2/AD2/PSP2 22 RS1/AD1/PSP1 23 RD0/AD0/PSP0 24 RB5/KBI1 25 RB0/INT0/FLT0 26 RB2/INT2

LAN: Signal Name Chip Side Signal Name Chip Side 1 TPOUT+ 5 Not Connected (NC) 2 TPOUT- 6 Not Connected (NC) 3 3.3V 7 TPIN+ 4 Not Connected (NC) 8 TPIN- LED Color Usage Right Yellow Activity Left Green 100MBits/s (Half/Full duplex) RELAYS: Signal Name 1 Normal Open 2 Common 3 Normal Close

PWR: Signal Name 1 AC in 1 2 AC in 2 MECHANICAL DIMENSIONS: All measures are in mm.

AVAILABLE DEMO SOFTWARE: You could find information about PIC-MAXI-WEB board, Microchip TCP/IP stack and how to change and configure the software in Understanding PIC WEB boards on www.olimex.com/dev. ORDER CODE: PIC-MAXI-WEB assembled and tested (no kit, no soldering required) How to order? You can order to us directly or by any of our distributors. Check our web www.olimex.com/dev for more info. All boards produced by Olimex are RoHS compliant Revision history: REV.A - created July 2008

Disclaimer: 2008 Olimex Ltd. All rights reserved. Olimex, logo and combinations thereof, are registered trademarks of Olimex Ltd. Other terms and product names may be trademarks of others. The information in this document is provided in connection with Olimex products. No license, express or implied or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Olimex products. Neither the whole nor any part of the information contained in or the product described in this document may be adapted or reproduced in any material from except with the prior written permission of the copyright holder. The product described in this document is subject to continuous development and improvements. All particulars of the product and its use contained in this document are given by OLIMEX in good faith. 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.