background image

E a s y P I C  v 8  f o r  P I C 2 4 / d s P I C 3 3

  M a n u a l

P A G E  9

Voltage reference

The PSU is able to provide a very accurate, programmable voltage reference (VREF) 

(5) 

in the range from 0V to 

4.096V. VREF is very useful for many different applications including A/D and D/A converters, comparators, 
etc. 

The programmable VREF design is based on several different ICs produced by Microchip: the MCP1501, a 
high-precision buffered voltage reference IC is used to provide a very precise VREF of 4.096V for the MCP4726, 
a 12-bit D/A converter (DAC) with integrated EEPROM. The MCP4726 DAC is controlled and programmed by 
the CODEGRIP module, over the I2C interface. Finally, the MCP606, a single rail-to-rail operational amplifier 
is used to provide an additional buffering at the output. By using a 4-pole DIP switch 

(6)

 

located in the VREF 

section of the development board, it is possible to route 

VREF

 to four different MCU pins:

 

ON (up):

 connects VREF to the MCU pins (RB0, RB3, RB4, and RB6) 

OFF (down):

 disconnects VREF from the MCU pins (RB0, RB3, RB4, and RB6)  

 

Programming voltage

Not all PIC24/dsPIC33 MCU devices support low voltage programming. Therefore, the PSU module has to 
provide the required high voltage (VPP) for the programming of such devices. The VPP is controlled by the 
CODEGRIP module automatically, it depends on the programmed MCU and can’t be modified by the user. To 
provide a sufficient voltage level, the MIC2250, a high-efficiency, low EMI boost regulator is used. It is used 
to provide 14V for the operational amplifier circuit composed of a dual operational amplifier, labeled as 
MCP6H02T, and produced by Microchip. This circuit has a fixed gain, allowing the CODEGRIP programmer/
debugger module to reach up to 14V for the high-voltage programming of various PIC24/dsPIC33 MCU 
devices. 

ADC INPUT

A/D converters are specialized circuits which can convert analog signals (voltages) into a digital 
representation, usually in form of an integer number. The value of this number is linearly dependent on the 
input voltage value. Most microcontrollers nowadays internally have A/D converters connected to one or 
more input pins.

EasyPIC v8 for PIC24/dsPIC33 provides an interface in form of a potentiometer for simulating analog input 
voltages that can be routed to any of the 10 supported analog input pins. In order to connect the output of 
the potentiometer P1 

(7)

 to RB0, RB1, RB14, RB15 analog microcontroller inputs,  you have to place the DIP 

switch SW7 

(8)

 in the desired position. 

 

SW7 (ADC IN):

 

UP position:

 

potentiometer is connected to the respective MCU pin

 

DOWN position:

 potentiometer is disconnected from the respective MCU pin

P A G E  9

P O W E R  S U P P L Y

Figure 1:  P

ow

er supply unit  view

N O T E

E a s y P I C  v 8  for P I C 2 4 / d s P I C 3 3  

M a n u a l

6

7

8

5

In order to protect host MCU and development board, VREF values higher then 3.3V 
can only be set if the board voltage is previously set to 5V.

Summary of Contents for EasyPIC V8

Page 1: ...E a s y P I C v 8 f o r P I C 2 4 d s P I C 3 3 M a n u a l P A G E 1 D E V E L O P M E N T B O A R D E a s y P I C v 8 U S E R M A N U A L f o r P I C 2 4 d s P I C 3 3...

Page 2: ...2 4 d s P I C 3 3 M a n u a l It s time to rethink the way you approach rapid prototyping Let us introduce you to the latest generation of Mikroe development boards E a s y P I C v 8 f o r P I C 2 4 d...

Page 3: ...ent board 12 Dual power supply 12 CODEGRIP programmer debugger module 14 Device setup 15 PGC PGD jumpers 15 DBG selection 15 Connectivity 16 MCU sockets 18 How to properly install the MCU into the DIP...

Page 4: ...P A G E 4 E a s y P I C v 8 f o r P I C 2 4 d s P I C 3 3 M a n u a l...

Page 5: ...huge base of Click boards EasyPIC v8 for PIC24 dsPIC33 offers two display options allowing even the basic 16 bit PIC24 dsPIC33 MCU devices to utilize them and display graphical or textual content One...

Page 6: ...he power supply redundancy function power ORing for uninterrupted operation The onboard PSU module regulates filters and distributes the power across all the connected peripherals The development boar...

Page 7: ...4 pin header which are used for the touch panel connection The development board also provides the required circuitry allowing the resistive touch panel to be interfaced with the installed MCU Both th...

Page 8: ...rity The PSU design based on a set of high performance integrated devices produced by Microchip ensures a very good quality of the output voltage high current rating and reduced electromagnetic radiat...

Page 9: ...er To provide a sufficient voltage level the MIC2250 a high efficiency low EMI boost regulator is used It is used to provide 14V for the operational amplifier circuit composed of a dual operational am...

Page 10: ...n be connected over the 12VDC barrel connector When using an external power supply it is possible to obtain an optimal amount of power since one external power supply unit can be easily exchanged with...

Page 11: ...nd longer battery life The charging process is indicated by a CHARGER LED indicator The battery charging current can be configured by using the CODEGRIP Suite which offers a choice between 100mA and 5...

Page 12: ...he PSU module will start distributing the power to the rest of the development board This is indicated by the POWER LED indicator located on the PSU module itself Right under the POWER LED there is a...

Page 13: ...E a s y P I C v 8 f o r P I C 2 4 d s P I C 3 3 M a n u a l P A G E 13 1 2 Figure 5 Battery power supply connection...

Page 14: ...re is a data transfer ongoing between the MCU and the CODEGRIP module The onboard CODEGRIP module requires no additional drivers as it utilizes a HID driver model which is natively supported by the co...

Page 15: ...ines J12 DIP28B C DIP20A DIP18 GPIO up allows the RB0 and RB1 pins to be used as GPIO lines PGC PGD down connects the RB0 and RB1 pins to the CODEGRIP programmer debugger module or external device If...

Page 16: ...o contains LEDs for visual indication of pin states BUTTONs for applying the desired logic states to the pins and DIP switches for configuring pull up or pull down resistors All LEDs buttons and heade...

Page 17: ...7 C O N E C T I V I T Y Easily create an IoT Weather Station with the EasyPIC v8 for PIC24 dsPIC33 development board Use the following tools G2C click OLED C click Temp Log 2 click Thunder click LPS22...

Page 18: ...cing an 18 pin MCU into the DIP28 socket will cause pin misalignment and other problems However there are exceptions to this rule if using an MCU in DIP28 package type there are three options availabl...

Page 19: ...ition allows the RA2 and RA3 to be used as GPIO lines DOWN position connects the RA2 and RA3 to the crystal oscillator socket OSC1 Above the DIP28A MCU socket there is a jumper J14 6 used to specify w...

Page 20: ...UTTON PRESS LEVEL 3 is used to determine the applied logic level of a button press for the entire PORT As a result only three poles of this DIP switch are used allowing control of all three groups of...

Page 21: ...the EasyPIC v8 for PIC24 dsPIC33 development board allowing interfacing with other devices peripherals and measurement equipment either by using IDC10 extension cables IDC10 female sockets or simply b...

Page 22: ...is ON OFF down GLCD backlight is OFF SW6 2 ON up PWM signal at the RA4 pin controls the GLCD backlight brightness OFF down Backlight brightness amount is fixed and can t be controlled by the MCU In or...

Page 23: ...E a s y P I C v 8 f o r P I C 2 4 d s P I C 3 3 M a n u a l P A G E 23 1 5 4 3 2 7 6 Figure 9 1x20 pin board connector view...

Page 24: ...Figure 10 1x16 display header view 1 4 2 3...

Page 25: ...nnection and preventing bending of their pins The LCD and GLCD use the same pins thus are unable to operate if simultaneously plugged in Two poles of the SW6 DIP switch 4 grouped under the LCD label a...

Page 26: ...y fit into the mikroBUS socket The new mikroBUS socket is now a fully fledged standardized monolithic component with all its pins clearly labeled offering very good grip for the Click board preventing...

Page 27: ...ver the best performances for the used components they save developers of testing and troubleshooting often associated with the prototyping phase They enhance rapid development and accelerate time to...

Page 28: ...P40A and DIP40B MCU sockets J17 DIP28B 10 GPIO up Allows the RB14 and RB15 pins to be used as GPIO lines CAN down Connects the RB14 and RB15 pins to the CAN transceiver circuit The development board c...

Page 29: ...ovided only for MCUs installed in DIP28C and DIP40B MCU sockets A six pole DIP switch SW8 15 located in the LIN COMM section of the board allow fully independent control of the UART RX and TX lines an...

Page 30: ...n the BOARD SETUP section SW6 9 ON up connects the HOST DEVICE configuration pin of the MCU with the PTN5150 logic control circuit OFF down disconnects the HOST DEVICE configuration pin from the PTN51...

Page 31: ...pins to the USB C conn and accompanying circuitry J9 4 GPIO up allows the RB10 and RB11 pins to be used for other purposes USB down connects the RB10 and RB11 pins to the USB C conn and accompanying c...

Page 32: ...the recognition of your skills invention or the development process Whatever the reason is we want to let you know that we are here for you every step of the way You can enjoy the process focused yet...

Page 33: ......

Page 34: ...r own code please visit the Libstock website With user profiles you can get to know other programmers and subscribe to receive notifications on their code www libstock mikroe com Once you have chosen...

Page 35: ...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...

Page 36: ...www 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 support If you have any questions comments...

Reviews: