® EasyPIC User manual A large number of useful peripherals, ready-to-use practical code examples and a broad set of add-on boards make MikroElektronika development systems fast and reliable tools that can satisfy the needs of experienced engineers and beginners alike.
Page 2
TO OUR VALUED CUSTOMERS MikroElektronika. It is our intention to provide you with the best quality products. Furthermore, we will continue to improve our performance to better suit your needs. Nebojsa Matic General Manager The Microchip ® name and logo, PIC ® and dsPIC ® are registered trademarks of Microchip Technology Incorporated in the U.S.A. and...
DC connector (7V to 23V AC or 9V to 32V DC); or over a USB cable (5V DC) Power consumption: up to 40mA (depending on how many on-board modules are currently active) Size: 26,5 x 22cm (10,43 x 8,66inch) Weight: ~417g (0.919lbs) MikroElektronika...
It is not possible to program PIC microcontrollers without having these devices installed. In case that you already have some of the MikroElektronika’s compilers installed on your PC, there is no need to reinstall the programmer as it will be automatically installed along with compiler installation.
Write a code in some of PIC compilers, generate progress. care of loading data into the microcontroller. The principle of programmer’s operation For more information on the programmer refer to the relevant manual provided in the EasyPIC6 development system package. MikroElektronika...
Page 9
J7. When placed in the left-hand position, the MCLR pin has default function, i.e. is used as MCLR/Vpp. Otherwise, when the jumper is placed in the right-hand position, the MCLR pin is available The position of jumper J7 as an I/O pin. MikroElektronika...
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 compilers designed by mikroElektronika (mikroBASIC ®...
Figure 6-2 shows the microcontroller in DIP40 package (PIC16F887). MCLR OSC1 SUB-D 9p OSC2 MAX202 Bottom view DIP40 Figure 6-2: RS-232 module schematic Make sure that your microcontroller is provided with the USART module as it is not necessarily integrated in all microcontrollers. MikroElektronika...
MICROCHIP. Jumpers J8 and J9 are placed in the same way as when using the programmer with mikroICD designed by MikroEektronika. CLK-PIC ICD connector DATA-PIC MCLR Side view Bottom view Front view RJ12 Figure 8-1: ICD connector ICD connector pinout and pin labels *ICD2 and ICD3 are registered trademarks of MICROCHIP® MikroElektronika...
Bottom view OSC2 8MHz Bottom view 22pF 22pF DIP28 RC3/VUSB 22pF 22pF USB B DIP40 USB B LD44 LD44 USB ON USB ON 100nF 100nF 100nF 100nF Figure 9-3: PIC18F4550 USB communication schematic Figure 9-4: PIC18F2550 USB communication schematic MikroElektronika...
Figure 11-5: Microcontroller in DIP28 package and A/D converter test inputs connectiion inputs connection In order to enable the microcontroller to accurately perform A/D conversion, it is necessary to turn off LED diodes and pull-up/pull-down resistors on port pins used by the A/D converter. MikroElektronika...
(1) is present on the pin. In order to enable LEDs, it is necessary to select appropriate port PORTA/E, PORTB, PORTC or PORTD using the DIP switch SW9. Notch indicating the SMD LED cathode R=U/I SMD LED Microcontroller SMD resistor limiting current Figure 12-1: LEDs Figure 12-2: LED diode and PORTB connection schematic MikroElektronika...
By pressing any push button (R0-R7) when jumper J17 is in the VCC-MCU position, a logic one (5V) will be applied to the appropriate microcontroller pin as shown in Figure 13-2. Jumper J17 in the pull-up position Figure 13-2: PORTB push button connection schematic MikroElektronika...
Now you can plug a GLCD display into the appropriate connector as shown in Figure 4. LEDs and pull-up/pull-down resistors on the RA0 and RA1 pins of the PORTA port must be turned off when using a touch panel. MikroElektronika...
Figure 19-2: J2 in the pull-down position Additional module connected to PORTC DIP switch turn pull-up/pull-down resistors for each pin Figure 19-1: I/O ports J2 in the pull-up position Jumper J2 in the pull-down position Figure 19-4: PORTB schematic connection MikroElektronika...
Page 25
Jumper J2 in pull-up and J17 in pull-down positions In this case, jumpers J2 and J17 have the same logic state which means that pressing push button will not cause any pin to change its logic state. Jumpers J2 and J17 in the same position MikroElektronika...
Jumper for selecting pull-up/pull-down resistor PORT1 DIP switch connecting port expander to the microcontroller Figure 20-2: DIP switch SW6 when port Figure 20-1: Port expander expander is enabled Jumpers J18 and J19 in the upper position Figure 20-3: Port expander schematic MikroElektronika...
Page 27
MikroElektronika shall assume no responsibility or liability for any errors, omissions and inaccuracies that may 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.
Need help?
Do you have a question about the EasyPIC 6 and is the answer not in the manual?
Questions and answers