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.
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, stored in a retrieval system, translated or transmitted in any form or by any means, without the prior written permission of MikroElektronika.
page PICPLC16 v6 Development System TABLE OF CONTENTS Introduction to PICPLC16 v6 Development System ........................................................................ 4 Key Features .................................................................................................................................... 5 1.0. Connecting the System to a PC ................................................................................................ 6 2.0. Supported Microcontrollers ..................
page 4 PICPLC16 v6 Development System Introduction to PICPLC16 v6 Development System The PICPLC16 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 PICPLC16 v6 features additional modules which also enable the microcontroller to be connected to external devices.
1 2 3 4 5 page PICPLC16 v6 Development System 6 25 7 24 23 8 22 21 9 20 10 19 11 18 17 16 15 Key Features 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11.
page 6 PICPLC16 v6 Development System 1.0. Connecting the System to a PC Step 1: Follow the instructions provided in the relevant manuals and install the PICflash program and USB drivers from the product CD. USB drivers are essential for the proper operation of the on-board programmer. In case you already have one of the Mikroelektronika’s PIC compilers installed on your PC, there is no need to reinstall USB drivers as they are already installed along with the compiler.
page PICPLC16 v6 Development System 2.0. Supported Microcontrollers The PICPLC16 v6 development system comes with the PIC18F4520 microcontroller in DIP40 package. In case this microcontroller doesn’t suit your needs, it is possible to replace it with another one. When choosing the appropriate replacement for the existing microcontroller, the most important thing to pay attention to is the pinout.
page 8 PICPLC16 v6 Development System 3.0. On-board USB 2.0 PICflash Programmer with mikroICD Support A programmer is a necessary tool when working with microcontrollers. The PICPLC16 v6 has an on-board PICflash with mikroICD programmer which provides an interface between the microcontroller and the PC. The PICflash program is used for loading a .hex file into the microcontroller. Figure 3-2 shows connection between the compiler, PICflash program and the microcontroller.
page PICPLC16 v6 Development System 4.0. mikroICD (In-Circuit Debugger) The mikroICD (In-Circuit Debugger) is an integral part of the on-board programmer. It is used for the purpose of testing and debugging programs in real time. The process of testing and debugging is performed by monitoring the state of all registers within the microcontroller while operating in real environment.
page 10 PICPLC16 v6 Development System 5.0. Power Supply The PICPLC16 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 voltage 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.
page PICPLC16 v6 Development System 6.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 CN4 and CN5 connectors and the microcontroller USART module. There is one RS-232 port provided on the PICPLC16 v6. Use switches marked as RX232 and TX232 on the DIP switch SW11 to enable this port.
page 12 PICPLC16 v6 Development System 7.0. RS-485 Communication Module The RS-485 communication is a communication standard primarily intended for the use in industrial applications. The main features of this communication standard is the ability to exchange data between distant points (up to 1200 m) and high tolerance to accompanying noise. The PICPLC16 v6 development system features a connector which enables devices using RS-485 communication to be linked.
page PICPLC16 v6 Development System 8.0. Ethernet Module The PICPLC16 v6 development system features an ethernet module providing an interface between the microcontroller and LAN (local area network). The ENC28J60 stand-alone controller enables ethernet communication on the development system. It is used to transfer data from LAN to the microcontroller using serial communication. The 3.3V voltage is required for the operation of this controller.
page 14 PICPLC16 v6 Development System 9.0. GSM Connector Owing to a built-in connector for GSM module, the PICPLC16 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.
page PICPLC16 v6 Development System 10.0. A/D Converter Test Inputs An A/D converter is used for converting an analog signal into the appropriate digital value. A/D converter is linear, which means that converted number is linearly dependent on the input voltage value. The MCP3204 circuit is used as an A/D converter on the PICPLC16 v6 development system. Voltage to be converted into a 12-bit number is brought to the A/D converter input pins by means of the MCP6284 operational amplifier.
page 16 PICPLC16 v6 Development System 11.0. Real-Time Clock (RTC) As a result of the built-in DS1307 circuit, the PICPLC16 v6 development system is capable of keeping the real time.
page PICPLC16 v6 Development System 12.0. Relays and Optocouplers 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 16 relays by means of which it is possible to provide up to 250V power supply. Each relay has one normally-open (W0, W1...) and one normally-closed (NW0, NW1...) contact.
page 18 PICPLC16 v6 Development System 13.0. Input/Output Ports Along the right side of the development system, there are four 10-pin connectors which are linked to the microcontroller’s I/O ports. Microcontroller pins used for programming are not directly connected to the appropriate 10-pin connector CN2 (PORTB), but via a multiplexer. DIP switches SW1-SW4 enable each connector pin to be connected to one pull-up/pull-down resistor.
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, stored in a retrieval system, translated or transmitted in any form or by any means, without the prior written permission of MikroElektronika.
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.