™ 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.
TO OUR VALUED CUSTOMERS I 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.
page Easy24-33 v6 Development System TABLE OF CONTENTS Introduction to Easy24-33 v6 Development System ......................................................................... 4 Key Features .................................................................................................................................... 5 1.0. Connecting the System to a PC ................................................................................................ 6 2.0. Supported Microcontrollers ...............
page 4 Easy24-33 v6 Development System Introduction to Easy24-33 v6 Development System The Easy24-33 v6™ development system provides a development environment for programming and experimenting with PIC24® microcontrollers from Microchip®.
1 2 3 4 5 6 7 page Easy24-33 v6 Development System 8 29 9 28 10 11 27 12 26 25 13 24 23 22 21 20 19 18 Key Features 1. 2. 3. 4. 5. 6. 7. 8. Power supply voltage regulator Built-in programmer’s USB connector DIP switches turn on/off on-board modules USB 2.
page 6 Easy24-33 v6 Development System 1.0. Connecting the System to a PC 6WHS Follow the instructions provided in the relevant manuals and install the mikroProg Suite for PIC program and USB driver 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 dsPIC compilers installed on your PC, there is no need to reinstall USB drivers as they are already installed along with the compiler.
page Easy24-33 v6 Development System 2.0. Supported Microcontrollers The Easy24-33 v6 development system provides seven separate sockets for PIC24 microcontrollers in DIP28, DIP20, DIP18 and DIP14 packages. There are three sockets DIP28A, DIP28B and DIP28C for microcontrollers in DIP28 package, and two sockets DIP20A and DIP20B for microcontrollers in DIP20 package. Jumpers J13, J12, J4 and J3 are placed next to the oscillator. They are used to select the function of the microcontroller pins.
page Easy24-33 v6 Development System 3.0. On-board LvPICFlash Programmer A programmer is a necessary tool when working with microcontrollers. It is used to load a hex code into the microcontroller and provides an interface between the microcontroller and a PC. The Easy24-33 v6 has an on-board LvPICFlash programmer. All you QHHG LV D KH[ ¿OH WR EH ORDGHG LQWR WKH PLFURFRQWUROOHU XVLQJ WKH mikroProg Suite for PIC program.
page Easy24-33 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 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. The mikroICD software is integrated in all PIC compilers designed by Mikroelektronika (mikroBASIC PRO, mikroC PRO, mikroPASCAL PRO, etc.).
page 10 Easy24-33 v6 Development System 5.0. ICD Connector The ICD connector enables communication between the microcontroller and an external ICD debugger/programmer (ICD2 or ICD3) from Microchip. Jumpers J1 and J2 are used for selecting the pin to be fed with programming signals. For the programming signal to be sent to the microcontroller, it is necessary to place both jumpers in the same position, as shown in Figure 5-2.
page Easy24-33 v6 Development System 6.0. Power Supply The Easy24-33 v6 development system may use one of two power supply sources: 1. +5V PC power supply through the USB programming cable; and 2. External power supply source connected to an AC/DC connector provided on the development board. 7KH 0& $ YROWDJH UHJXODWRU DQG *UHW] UHFWL¿HU DUH XVHG WR HQDEOH H[WHUQDO SRZHU VXSSO\ YROWDJH WR EH HLWKHU $& LQ WKH UDQJH RI 7V to 23V) or DC (in the range of 9V to 32V).
page 12 Easy24-33 v6 Development System 7.0. A/D Converter Test Inputs An A/D converter is used for converting an analog voltage into the appropriate digital value. The A/D converter is linear, which means that converted number is linearly dependent on the input voltage value. The A/D converter built into the microcontroller converts an analog voltage into a 10-bit number. Potentiometers P1 and P2 enable voltage to vary between 0 and 3.3V.
page Easy24-33 v6 Development System 8.0. Serial EEPROM Module EEPROM (Electrically Erasable Programmable Read-Only Memory) is a built-in memory module used to store data that should be saved when the power supply goes off. The 24AA01 circuit can store up to 1Kbit data and communicates with the microcontroller through pins RB6 - RB9 using I2C communication.
page 14 Easy24-33 v6 Development System 10.0. Serial RAM Module Owing to the built-in RAM module, the Easy24-33 v6 development system is provided with 64Kbit RAM module that can be connected to the microcontroller via SPI interface. The function of the serial RAM module is to expand available RAM of the microcontroller. To establish connection between the microcontroller and RAM module, it is necessary to enable SPI communication by means of the DIP switch SW3.
page Easy24-33 v6 Development System 11.0. RS-232 Communication Module The Easy24-33 v6 development system features the RS-232 module that serves as an interface between the microcontroller and an external device using RS-232 communication to exchange data. The RS-232 module is connected to that device through a 9-pin SUB-D connector. For communication with the microcontroller, this module uses TX pin for sending and RX pin for receiving data.
page 16 Easy24-33 v6 Development System 12.0. CAN Communication Module CAN (Controller Area Network) is a communication standard primarily intended for use in automotive industry. It enables the microcontroller to communicate to a car device without using a host PC. In addition, such communication is widely used in industrial automation. The Easy24-33 v6 uses the MCP2551 circuit for CAN communication. This circuit provides an interface between the microcontroller and some peripheral device.
page Easy24-33 v6 Development System 13.0. ZigBee Communication Module 7KH RSHUDWLRQ RI WKH =LJ%HH FRPPXQLFDWLRQ PRGXOH LV EDVHG RQ WKH ,((( VWDQGDUG WKDW GH¿QHV ZLUHOHVV GDWD WUDQVIHU RQ short distances with a low power consumption. The Easy24-33 v6 development system features the MRF24J40MA ZigBee module. Some of its key features are: 250kbps data rate, 2.4GHz operating frequency, ~20mA power consumption, open area range up to 400m, etc.
page 18 Easy24-33 v6 Development System 14.0. USB UART Module The USB UART module is an interface between an external USB device and the serial USB module integrated in the microcontroller. In order to establish connection between the microcontroller and USB UART module, it is necessary to set switches 5 (RB15) and 7 (RB14) on the DIP switch SW2 to the ON position. In addition, switches 6 (RB1) and 8 (RB0) on the DIP switch SW2 may be optionally used.
page Easy24-33 v6 Development System 15.0. Piezo Buzzer Due to a built-in piezo buzzer, the development system is capable of emitting audio signals. For the piezo buzzer to operate normally LW LV QHFHVVDU\ WR JHQHUDWH D YROWDJH VLJQDO RI VSHFL¿HG IUHTXHQF\ 7KH YROWDJH VLJQDO LV JHQHUDWHG LQ WKH PLFURFRQWUROOHU E\ WKH appropriate code written to its memory. Remember, when writing the voltage signal generation code, the piezo buzzer’s resonant frequency is 3.8kHz.
page 20 Easy24-33 v6 Development System 16.0. DS1820 Temperature Sensor 1-wire® serial communication enables data to be transferred over one single communication line while the process itself is under control of the master device. The advantage of such communication is that only one microcontroller pin is used. All slave devices have by default a unique ID code, which enables the master device to easily identify all devices sharing the same communication interface.
page Easy24-33 v6 Development System 17.0. LEDs /(' /LJKW (PLWWLQJ 'LRGH LV D KLJKO\ HI¿FLHQW HOHFWURQLF OLJKW VRXUFH :KHQ FRQQHFWLQJ /('V LW LV QHFHVVDU\ WR XVH D FXUUHQW OLPLWLQJ resistor. A common LED voltage is approximately 2.5V, while the current varies from 1 to 20mA depending on the type of LED. The Easy24-33 v6 uses LEDs with current I=1mA. There are 23 LEDs on the Easy24-33 v6 development system which visually indicate the state of each microcontroller I/O pin.
page 22 Easy24-33 v6 Development System 18.0. Push Buttons The logic state of all microcontroller input pins may be changed by means of push buttons. Jumper J6 is used to determine the logic state to be applied to the desired microcontroller pin by pressing the appropriate push button. The function of the protective resistor is to limit the maximum current, thus preventing the development system and peripheral modules from being damaged in case a short circuit occurs.
page Easy24-33 v6 Development System 19.0. Touch Sense Keypad The Easy24-33 v6 development system is provided with a set of touch sensitive buttons making the navigation touch sense keypad. The touch sense buttons are arrow-like oriented left, right, up and down. There are also two additional push buttons marked as E and C that can be assigned ENTER and CANCEL functions, respectively.
page 24 Easy24-33 v6 Development System 20.0. 2x16 LCD The Easy24-33 v6 development system provides an on-board connector for the alphanumeric 2x16 LCD. This connector is linked to the microcontroller via ports PORTA and PORTB. Potentiometer P4 is used to adjust display contrast. Switch LCD-BCK on the DIP switch SW3 is used to turn the display backlight on/off. Communication between the LCD and the microcontroller is performed in a 4-bit mode.
page Easy24-33 v6 Development System 21.0. Input/Output Ports Six 10-pin connectors linked to the microcontroller’s I/O ports are provided on the development system. Pins RA0, RA1, RB0, RB1, RB6 and RB7 are used for programming and therefore are not directly connected to the appropriate 10-pin connector, but via the programmer’s multiplexer. In addition to these 10-pin connectors, the development system includes screw connectors and pads suitable for placing additional components.
page 26 Easy24-33 v6 Development System Pull-up/pull-down resistors enable you to set the logic level on all microcontroller’s input pins when they are in idle state. Such level depends on the position of the pull-up/pull-down jumper. The microcontroller’s RB8 pin with the relevant jumpers CN110 and RB8 push button with jumper J6 are used here for the purpose of explaining the performance of pull-up/pull-down resistors. The principle of their operation is the same as for all other microcontroller pins.
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.
If you have any questions, comments or business proposals, do not hesitate to contact us at office@mikroe.com If you are experiencing some problems with any of our products or just need additional information, please place your ticket at www.mikroe.com/en/support If you want to learn more about our products, please visit our website at www.mikroe.