Home
PICPLC4 v6 Development System User Manual
Contents
1. E E d sek z Development system for PIC sadi microcontroller based devices BOARD RU UR Bio ma amie ma UA E zac ni bin ee Se L a Built in microcontroller provided on the board is programmed by prog means ofthe external 18FJprog M programmer ep ole an E E 3 EI a LACH E ig P CPLCA v6 RUE E Ep Owing to the GSM module it is possible to establish 4604644 Connection to remote PCs is established via communication between the development system TA LAN network and a built in module for ethernet and other devices which use GSM standard communication The Lv18PICflash M program provides a complete list of all supported microcontrollers The latest version of this program with updated list of supported microcontrollers can be downloaded from our website at www mikroe com Package contains Development system PICPLCA v6 CD product CD with relevant software Cables USB cable Documentation Manual for PICPLC4 v6 quick guide for installing USB drivers and electrical schematic of the development system Vaga j S 8 035 1 gur Huty Hraj System specification Power supply over the CN1 connector 12 22V AC or 16 30V DC Power consumption 20mA when all on board modules are off Dimension 21 4 x 14cm 8 4 x 5 5inch Weight 3009 0 65lbs MikroElektronika PICPLC4 v6 Development System Ole POW
2. P CPLC4 V6 User manual All MikroElektronika s development systems represent irreplaceable tools for programming and developing microcontroller based devices Carefully chosen components and the use of machines of the last generation for mounting and testing thereof are the best guarantee of high reliability of our devices Due to simple design a large number of add on modules and ready to use examples all our users regardless of their experience have the possibility to develop their project in a fast and efficient way Devel opment Syste JMikroElektronika SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD waking it simple TO OUR VALUED CUSTOMERS want to express my thanks to you for being interested in our products and for having confidence in mikroElektronika The primary aim of our company is to design and produce high quality electronic products and to constantly improve the performance thereof in order to better suit your needs Nebojsa Matic General Manager The Microchip name and logo the Microchip logo Accuron dsPIC KeeLog microlD MPLAB PIC PlCmicro PICSTART PRO MATE PowerSmart rfPIC and SmartShunt are registered trademarks of Microchip Technology Incorporated in the U S A and other countries PICPLC4 v6 Development System TABLE OF CONTENTS Introduction to PICPLC4 v6 Development System nnnn0nnnnennnnennnonnnnnsrnnnonnnnsrrnrsnnnnnenrrnsrrrrennrene 4 NOV I lU RETE D C UU T
3. Jumper for pull up pull down resistor selection DIP switch to enable pull up pull down resistor for each port pin PIC18F87J60 Figure 9 4 Port PORTC connection schematic MikroElektronika RB4 mm RB5 mm RBG mm GND w OSC2 OS up ids DD SS Daer Pull up pull down resistors enable you to set the logic level on all microcontroller s input pins when they are in idle state This level depends on the position of the pull up pull down jumper When this jumper is in pull up position the input pins will be supplied with the 3 3V power supply voltage which means that they will be driven high logic one 1 When this jumper is in pull down position the input pins will be supplied with OV i e they will be fed with a logic zero 0 In order to provide some of the microcontroller pins with a desired logic level it is necessary to enable connection between that pin and the resistor using the appropriate DIP switch Refer to Figure 9 4 Port PORTC pins are driven low 0 It means that jumper J3 is in pull down position whereas switches on the DIP switch SW3 are in ON position VCC 3 3 O J3 sw3 BS 12345678 position DISCLAIMER All the products owned by MikroElektronika are protected by copyright law and international copyright treaty Therefore this manual is to be treated as any other copyright material No part of this manual including product and software described herein may be reproduced sto
4. as shown in Figure 2 3 MikroElektronika PICPLC4 v6 Development System E Da d m l a TEN E E AN a SL E FE ee aaa r Aa P al B i EF PROGRAMMER WITT Figure 2 3 Connecting programmer When the external programmer 18Fjprog is connected to the development system it is necessary to connect it to a PC via USB cable One end of the cable with a connector of the USB A type should be connected to a PC whereas the other end of the cable provided with a connector of the USB B type should be connected to the programmer iB PICPLCA v6 Figure 2 4 18FJprog programmer connected to the development system During the programming the programmer is used for loading a hex file into the microcontroller via RB6 RB7 and MCLR microcontroller pins When the programmer is connected to the development system these pins cannot be used as l O pins since they are used for programming In order to use them as I O pins it is necessary to place jumpers over the pins of the 2x5 male connector CN8 as shown in Figure 2 3 4 s PR 1 fo g ls Figure 2 5 18FJprog programmer MikroElektronika page 8 PICPLC4 v6 Development System d CH 8 3 0 Power Supply The PICPLCA v6 development system is connected to the power supply source via the CN1 connector The power supply voltage can be either DC or AC A DC power supply voltage can be in the range of 16V to 30V whereas the AC power supply vo
5. gt gt SS gt gt TT TTO CVUIKIIDRZSSS 5SzILES 0 N OAM OSOS w sss e B PICPLCA v BY MIKROELEKTRONIKA PLACE SIM CARD HERE owes a 42 e PIC18F87J60 microcontroller DIP switch to enable pull up pull down resistors CN8 connector for external programmer DIP switches to enable disable on board modules Connector for GSM module Real time clock Connectors for relays Relays Connector for GSM antenna MikroElektronika 6 PICPLC4 v6 Development System Q 8 1 0 PIC18F87J60 Microcontroller There is a PIC18F87J60 microcontroller in 80 pin TQFP package soldered on the development system This microcontroller is provided with an on board ethernet module which enables connection between the development system and LAN local area network over the ethernet connector In addition to the ethernet module the microcontroller also features other modules intended for USART communication PWM control serial communication parallel communication A D conversion etc The PIC18F87J60 microcontroller can communicate to external devices via either SPI or IC connection whereas the USART module enables it to be connected to two communication modules HS 232 and RS 485 The microcontroller also features a 10 bit analog to digital converter capable of using up to 16 available channels I O pins For the clock frequency stabilization the microcontroller employs an external quartz crystal with a frequency of 25MHz In addition
6. 5 TO PUG ro FOG Oe deet del EE 6 2s Programming ht ER deele ele EE 6 As eet 8 4 0 RS 232 Communication Module 9 50 TERM el 10 6 0 GSM Connector 11 TO Reak Une OCI Ie uu 12 Eiere 19 Romain u E 14 MikroElektronika page LA PICPLC4 v6 Development System 4 Q 8 Introduction to PICPLC4 v6 Development System The PICPLC4 v6 development system provides a development environment for experimenting with industrial devices Connection between the development system and these devices is established by means of relays In addition the PICPLC4 v6 features additional modules which also enable the microcontroller to be connected to external devices The PICPLC4 v6 may be used as a stand alone controller which communicates to remote devices through communication modules Numerous modules such as RS 232 communication module real time clock ethernet controller GSM module etc are provided on the board and allow you to easily experiment with your microcontroller Development system may be used as a stand alone controller in industrial devices DEVELOPMENT D 4 Hx TE eme A A SS i aL Jud 1 an T T s SR 4 wa EL un E LIEGT j a st k E _ E a Jal rx SEA St
7. ER KZ POWER 4 X e a y ES EU E eec d d d Fi H CONNECTS ETHERNET LEDB TO RA1 PIN e CH Q la Q HE EE m LEDA LEDB DEVELOPMENT TOOLS FOR EMBEDDED WORLD e nn oe EN Power supp UN 7 IN 7 NY FOR EMBEDDED WORLD oz D o uU O0 EN iil woes LOL SL CERE D UD m SOFTWARE AND HARDWARE SOLUTIONS 1 YL Key Features DIES LI Power supply connector CN1 Power supply voltage regulator Ethernet module RS 232 communication module Connector for speaker Connector for microphone I O port connectors Jumper for pull up pull down resistor selection 3U Cell CR2032 PCB EERE e PUE um 1111171 u die oi TT ETHERNET x 9 10 AR 12 13 14 19 16 17 i NI EN c zu zs E om 233 A ws zu Z EN cU S aS Z m H o Zo Lal o z Wi 29 SOS amp e been DEVELOPMENT BOARD a zane page U1 I SS E SLL e luisa cc A T 8 E RX TX GND GND SPEAKER MICROPHONE SOS LE imi mi mi E i imi ORTA E ucc iH NUN UN nw wt n 9 j Es imi ms il im Em isi LES un EJES UNI URN Es UNI Es UNT 1111111 im s m m sa ml Eg gl EJ Is s Es ILE id Up SSO a l amp 9 OO im sa mr m Es imi sl n Aum Is is ss iss uno f n 11111 v 0 v 3 A O w SS E pee a O o P gt P P_d gt gt gt gt gt SP gt O PR gt S gt gt gt ANAA
8. LEDs marked as LEDA and LEDB will be enabled These two LEDs are used to indicate whether the ethernet module is active during communication between the microcontroller and some other device connected to LAN Ethernet module connector J Bn Ethernet module is connected to the microcontroller Figure 5 2 Ethernet module connection schematic MikroElektronika PICPLC4 v6 Development System 6 0 GSM Connector Owing to a built in connector for GSM module the PICPLC4 v6 development system is capable of communicating with the outside world using GSM network A GM862 QUAD GSM module from Telit can be ordered with the development system This module features a slot for placing a SIM card as well as a connector for external antenna For the GSM module to be connected to the microcontroller it is necessary to set switches 1 8 on the DIP switch SW6 to the ON position x HET AM os i DIT Way In case that the GSM module is employed for the audio communication it is necessary to plug in a speaker and a microphone into appropriate connectors as shown in Figure 6 3 In addition to the audio signal transmission the GSM module can be used for sending data in accordance with the GPRS standard used in mobile applications Figure 6 3 Audio connectors GSM module is connected to the microcontroller via DIP switch SW6 TELIT GSM GPRS GM862 EAR_HF e Figure 6 5 Microcontroller and GSM connect
9. euuojur jeuonippe p u snf 10 sjonpoud ano Jo ue yum Swa qoJd eulos Buiouauedxe ae nof LO op III MAM Je lISQ A INO SIA eseejd SIONPOIA JNO 1r oqe sJOW UBA 0 JUEM nof J fa d IHOM Q4GGdglIAd 804 SNOLLA TOS 3HVMQOSHVH ANY 38VM1dOS
10. ikroElektronika NO Quartz crystal provides accuracy of the clock signal used by the real time clock i x Q gt VCCRX VSA 21 OvCC 3 3 RB7 RC5 PICPLC4 v6 Development System 8 0 Relays Industrial devices usually utilize more power than the microcontroller can provide via its I O ports To enable the microcontroller to be connected to such devices the development system is provided with 4 relays by means of which it is possible to provide up to 250V power supply Each relay has one normally open WO W1 one normally closed NWO NW1 contact and one common contact COMO COM1 These relays are run by the microcontroller Figure 8 1 Relays with relevant connectors Relays are connected to the microcontroller via a relay driver ULN2803 ND 59 o VCCTX HN U6 RLY RE4 Hine E nene 8 BIN VCCRX 3 GNDTX mu TPOUT um TPOUT um BIN HIN BIN BIN KENDER PN ULN2803 Figure 8 2 Relays and microcontroller connection schematic MikroElektronika 13 page 14 d 8 9 0 Input Output Ports PICPLC4 v6 Development System Along the right side of the development system there are four 10 pin connectors which are linked to the microcontroller s I O ports DIP switches SW1 SWA enable each connector pin to be connected to a pull up pull down resistor It depends on the position of jumpers J1 J4 whether the port pins are to be connected to pull up or pull down resistors
11. ltage can range between 12V and 22V Have in mind that the on board programmer cannot operate without being connected to the power supply source although it is connected to a PC via the USB cable Power supply connector CN1 POWER SUPPLY switch Power supply voltage regulator Figure 3 1 Power supply 4x MBRS340T3 330uF 330uF 330uF D7 LN MBRS140T3 Figure 3 2 Power supply connection schematic MikroElektronika PICPLC4 v6 Development System 4 0 RS 232 Communication Module USART Universal Synchronous Asynchronous Receiver Transmitter is one of the most common ways of exchanging data between the PC and peripheral units The RS 232 serial communication is performed through CN17 and CN18 connectors and the microcontroller USART module There is one RS 232 port provided on the PICPLC4 v6 Use switches 4 7 on the DIP switch SW5 to enable this port Which of these switches is to be used depends on the microcontroller pin which is fed with an RS 232 communication signal In case pins RC7 and RC6 are used it is necessary to set switches 4 RX and 6 TX on the DIP switch SW5 to ON position In case pins RG2 and RG1 are used it is necessary to set switches 5 RX and 7 TX on the DIP switch SW5 to ON position The microcontroller pins used for the RS 232 communication are marked as follows RX receive data line and TX transmit data line Data rate goes up to 115 kbps In order to enable the USART module of the mic
12. or connection schematic 41 EN 87 RX A AK7 LD20 GSM LED VCC 4 Pe E EE can LL Sc i ETHERNET PUNI amp Dun Dram aay z Figure 6 4 GSM module with antenna R14 C11 100nF VCC 4 E8 10uF MikroElektronika 11 page 7 0 Real Time Clock RTC PICPLC4 v6 Development System A real time clock is widely used in alarm devices industrial controllers consumer devices etc As a result of the built in PCF8583 circuit the PICPLC4 v6 development system is capable of keeping the real time The main features of the real time clock are as follows clock with calendar C serial interface universal counter used as an alarm ability to change the time format 12 24h The real time clock provided on the P CPLC4 v6 development system is used to generate an interrupt at pre set time In order to establish connection between the microcontroller and the real time clock it is necessary to set switches 1 2 and 3 on the DIP switch SW5 to the ON position 3V battery enables the operation of the real time clock when the power supply is off Real time clock is connected to the microcontroller via pins RC4 RC3 and RBO B C20 B BAT1 BAT43 100nF RS BAT43 ae VCC 3 30 b VCC 3 3 O oSsc1 VCCI d K R sc 2 mE 5 TI 3 fed B SDAN PCF8583 RTC OUT SOS E cab Figure 7 2 Real time clock and microcontroller connection schematic M
13. rcraft navigation or communication systems air traffic control direct life support machines or weapons systems in which the failure of Software could lead directly to death personal injury or severe physical or environmental damage High Risk Activities MikroElektronika and its suppliers specifically disclaim any expressed or implied warranty of fitness for High Risk Activities TRADEMARKS The Mikroelektronika name and logo the Mikroelektronika logo mikroC mikroC PRO mikroBasic mikro Basic PRO mikroPascal mikroPascal PRO AVRflash PlCflash dsPlCprog 18FJprog PSOCprog AVR prog 8051prog ARMflash EasyPIC5 EasyPIC6 BigPIC5 BigPIC6 dsPIC PRO4 Easy8051B EasyARM EasyAVR5 EasyAVR6 BigAVR2 EasydsPIC4A EasyPSoC4 EasyVR Stamp LV18FJ LV24 33A LV32MX PIC32MX4 MultiMedia Board PICPLC16 PICPLC8 PICPLC4 SmartGSM GPRS UNI DS are trademarks of Mikroelektronika All other trademarks mentioned herein are property of their respective companies All other product and corporate names appearing in this manual may or may not be registered trademarks or copyrights of their respective companies and are only used for identification or explanation and to the owners benefit with no intent to infringe Mikroelektronika 2010 All Rights Reserved UJOO 90JXIUU 991JJO Je sn 1981UOO 0 ejejsoeu JOU op sjesodoud soueng Jo sjueujuloo suoils nb ue eAeu noA J jmoddns u9 u109 80JXIU MMM ye 1exon UNOA eoej d aseajd uon
14. red in a retrieval system translated or transmitted in any form or by any means without the prior written permission of MikroElektronika The manual PDF edition can be printed for private or local use but not for distribution Any modification of this manual is prohibited MikroElektronika provides this manual as is without warranty of any kind either expressed or implied including but not limited to the implied warranties or conditions of merchantability or fitness for a particular purpose MikroElektronika shall assume no responsibility or liability for any errors omissions and inaccuracies that may appear in this manual In no event shall MikroElektronika its directors officers employees or distributors be liable for any indirect specific incidental or consequential damages including damages for loss of business profits and business information business interruption or any other pecuniary loss arising out of the use of this manual or product even if MikroElektronika has been advised of the possibility of such damages MikroElektronika reserves the right to change information contained in this manual at any time without prior notice if necessary HIGH RISK ACTIVITIES The products of MikroElektronika are not fault tolerant nor designed manufactured or intended for use or resale as on line control equipment in hazardous environments requiring fail safe performance such as in the operation of nuclear facilities ai
15. rocontroller to receive input signals which meet the RS 232 standard it is necessary to adjust voltage levels using an IC circuit such as MAX3238E Figure 4 1 RS 232 module Port RS 232 is connected to the microcontroller U4 C16 100nF op d e e72 VCC n OVCC 3 3 g v ex frout Ni PACA NN Loo RX 232 B13 0UT T3INI PR1IN R10OUT D Utes BR2IN R20uUTI N Su O CO EN RBIAS m GNDTX mm TPOUT m ev eat RH1 mm RHO mm RE2 1 RE3 mm RE4 mm RE5 REG m RE7 RDO m VCC m ENDE RD1 RD2 VCCTX mg mm 3H2 um RH3 C18 mm RE1 me REO ma RBO ma RB 1 mu RB2 um RB3 mmu MCLR 02 E al GNDPLL SS VCCPLL mm TPOUT mm NO 8 9Srvt 0lk Hi BT4OUT T4INE R26 oND PIC18F87J60 1K mm VCC MBR3IN R3OUTE Lj BTS5OUT T5INE mm RFG O VCC 3 3 TT FORCEON R10UTB lj zz a ees vaio mz RES RF2 MAX9238E VCC 3 3 m RH7 mm RHG C19 100nF Figure 4 2 RS 232 module connection schematic MikroElektronika page O 10 PICPLC4 v6 Development System 0 O 32 5 0 Ethernet Module The function of the ethernet connector provided on the PICPLC4 v6 development system is to connect it to LAN Ethernet communication is enabled on the development system owing to the ethernet module built into the PIC18F87J60 microcontroller The ethernet connector and the microcontroller are connected via the following microcontroller pins TROUT TPOUT TPIN and TPIN By placing jumpers J5 and J6
16. to it the microcontroller also features an internal clock frequency stabilizer with a frequency of 31kHz Figure 1 1 PIC18F87J60 microconirellar 2 0 Programming the Microcontroller In order to enable the microcontroller provided on the development system to be programmed it is necessary to provide an external programmer 18FJprog This programmer is placed over a 2x5 male connector CN8 on the development system Step 1 Prior to starting the process of programming it is necessary to connect the development system to the power supply source Follow the instructions given in figure 2 1 to establish this connection properly Figure 2 1 Connecting power supply source Figure 2 2 Power supply Step 2 Prior to connecting the 18FJprog external programmer the appropriate driver necessary for the proper operation of this programmer must be installed In addition it is also necessary to install the Lv18PICflash program used for loading a hex file from the PC to the microcontroller The driver and the Lv18PICflash program are provided on the product CD that you get along with the development system They can also be downloaded from our website at www mikroe com Step 3 When the development system is connected to the power supply source and the appropriate driver is successfully installed it is necessary to place a 2x5 female connector provided on the 18FJprog programmer on the 2x5 male connector CN8 provided on the development system
Download Pdf Manuals
Related Search
Related Contents
スライド 1 - 紙製容器包装リサイクル推進協議会 Medisana Manilux L “おいしく・かんたん・思いやり仕様” Backbeat® Go 2 Transcend Information TS-RDM1 Computer Hardware User Manual Welcome to the PERFECT CHOICE Design`s world Accell K088B-001B Setup Guide La Stratégie - Seductdz`s Academy MANUAL DE INSTRUÇÕES Copyright © All rights reserved.
Failed to retrieve file