pic24...∫ program memory: 1024kb ∫ pin count: 100 ∫ usb v2.0 on-the-go (otg) compliant page 9...

25
PIC24 A compact starter kit with your favorite microcontroller and two mikroBUS sockets PIC24

Upload: others

Post on 07-Jul-2021

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: PIC24...∫ Program memory: 1024KB ∫ Pin count: 100 ∫ USB v2.0 On-The-Go (OTG) Compliant Page 9 ∫ Using USB HID mikroBootloader, ∫ Using external mikroProg for PIC24 programmer

Page 1

PIC24

A compact starter kit with your favorite microcontroller and two mikroBUS™ sockets

PIC24

Page 2: PIC24...∫ Program memory: 1024KB ∫ Pin count: 100 ∫ USB v2.0 On-The-Go (OTG) Compliant Page 9 ∫ Using USB HID mikroBootloader, ∫ Using external mikroProg for PIC24 programmer

Page 2

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.

The dsPIC® and Windows® logos and product names are trademarks of Microchip Technology® and Microsoft® in the U.S.A. and other countries.

TO OUR VALUED CUSTOMERS

Nebojsa Matic

General Manager

Page 3: PIC24...∫ Program memory: 1024KB ∫ Pin count: 100 ∫ USB v2.0 On-The-Go (OTG) Compliant Page 9 ∫ Using USB HID mikroBootloader, ∫ Using external mikroProg for PIC24 programmer

Page 3

Introduction to clicker 2 for PIC24 4

Key features 5

Schematic 6

1. Power supply 7

2. PIC24FJ1024GB610 microcontroller 8

3. Programming the microcontroller 9

3.1 Programming with mikroBootloader 10

step 1 – Connecting clicker 2 for PIC24 10

step 2 – Browsing for .HEX file 11

step 3 – Selecting .HEX file 11

step 4 – Uploading .HEX file 12

step 5 – Finish upload 13

3.2 Programming with mikroProg programmer 14

mikroProg Suite for PIC® software 15

4. Buttons and LEDs 16

5. Power management and battery charger 17

6. Oscillators 18

7. USB connection 19

8. Pinout 20

8.1 mikroBUS™ pinout 21

9. click boards™ are plug and play! 22

10. Dimensions 23

Table of contents

Page 4: PIC24...∫ Program memory: 1024KB ∫ Pin count: 100 ∫ USB v2.0 On-The-Go (OTG) Compliant Page 9 ∫ Using USB HID mikroBootloader, ∫ Using external mikroProg for PIC24 programmer

Page 4

clicker 2 for PIC24 is a compact development kit

with two mikroBUS™ sockets for click board™

connectivity. You can use it to quickly build your

own gadgets with unique functionalities and

features. It carries the PIC24FJ1024GB610, a

16-bit microcontroller, two indication LEDs,

two general purpose buttons, a reset button, an

ON/OFF switch, a li-polymer battery connector,

a micro USB connector and two mikroBUS™

sockets. A mikroProg connector and a 2x26

pinout for interfacing with external electronics

are also provided. The mikroBUS™ connector

consists of two 1x8 female headers with SPI, I

2C, UART, RST, PWM, Analog and Interrupt lines as

well as 3.3V, 5V and GND power lines. clicker 2 for

PIC24 board can be powered over a USB cable.

Introduction to clicker 2 for PIC24

PIC24

Page 5: PIC24...∫ Program memory: 1024KB ∫ Pin count: 100 ∫ USB v2.0 On-The-Go (OTG) Compliant Page 9 ∫ Using USB HID mikroBootloader, ∫ Using external mikroProg for PIC24 programmer

Page 5

1 ON/OFF switch

2 8 MHz crystal oscillator

3 two 1x26 connection pads

4 mikroBUS™ sockets 1 and 2

5 Pushbuttons

6 Additional LEDs

7 LTC3586 USB power manager IC

8 Power and Charge indication LEDs

9 RESET button

10 Micro USB connector

11 PIC24FJ1024GB610 MCU

12 Li-Polymer battery connector

13 mikroProg programmer connector

14 32.768 KHz crystal oscillator

9

10

11

3

4

5

6

12

13

1

2

3

14

4

5

6

8

7

Key features

Page 6: PIC24...∫ Program memory: 1024KB ∫ Pin count: 100 ∫ USB v2.0 On-The-Go (OTG) Compliant Page 9 ∫ Using USB HID mikroBootloader, ∫ Using external mikroProg for PIC24 programmer

Page 6

ILIM

01

ILIM

12

LDO

3V3

3

CLPR

OG

4

NTC

5

VOU

T46

VOU

T47

SW4

8

MO

DE

9

FB4

10

FB3

11

VC3

12

SWAB3 13VIN3 14VIN3 15VOUT3 16VOUT3 17EN3 18SWCD3 19

EN2

20EN

121

VIN

422

FB2

23VI

N2

24SW

225

SW1

26VI

N1

27FB

128

PRO

G29

CHRG

#30

GAT

E31

BAT32

EN433

VOUT34

VBUS35

VBUS36

SW37

FAULT#38

LTC3586

U2LTC3586-1

VCC-USB

VCC-3.3V VCC-3.3V

LDO3V3LDO3V3

VCC-BAT

VSYSVCC-USB

LDO3V3

VCC-USB

VCC-5V

LDO3V3

VSYS

VCC-5V VCC-5V

GND

VCC-3.3V VCC-3.3V

VCC-3.3V

PWR-EN PWR-EN

VCC-3.3V VCC-3.3V VCC-3.3V LDO3V3

VCC-5V VCC-5V VCC-5V VCC-3.3V

VSYS VSYS

VCC-3.3V VCC-3.3V VCC-3.3V VCC-3.3V VCC-3.3V VCC-3.3VVCC-BAT

1

2

3

4

5

6

SW1JS202011AQNVCC-3.3V

VCC-3.3V

LDO3V3

PWR-EN

VCC-3.3V

RG15-STAT

RE6-I2C3_SCLRE7-I2C3_SDARC1-MB1_INT1

RC3-INT3RC4-INT4RG6-MB1_AN17RG7-AN18RG8-AN19RESET#

RE4-

MB1

_CS

RE9-SPI1_SDIRB5-SPI1_SCKRB4-SPI1_SDORB3-AN3RB2-MB2_AN2

RB0-

PGED

1

OSC32_OUTOSC32_INRD0-PWM5RD11-PWM6

RD9-UART2_RXRD8-UART2_TXRA15-GPIORA14-GPIO

OSC2OSC1

RA5-GPIORA4-GPIORA3-I2C2_SDARA2-I2C2_SCLUSB-D_PUSB-D_N

RF8-PWM4USB-DET

RA10

-MB2

_CS

RB9-

AN9

RB10

-AN

10

RF13

-SEN

SEL

RB12

-GPI

ORB

13-G

PIO

RB14

-UAR

T1_T

XRB

15-U

ART1

_RX

RD15

-GPI

O

RA0-T2RE8-LED1

RE2-

T3RG

13-L

ED2

RD2-

SPI2

_SD

O

RD13

-GPI

ORD

12-S

PI2_

SDI

RD3-

SPI2

_SCK

RD4-

GPI

O

RF1-

GPI

ORF

0-G

PIO

USB-ID

RF5-

MB2

_PW

M2

RA9-

MB2

_RST

RE3-

MB1

_RST

RF4-

MB1

_PW

M1

RF2-PWM3

RG15-STAT

Vcap

X2

32.768KHz

X1

8MHz

T2 VCC-3.3V VCC-3.3V T3

RE2-

T3

ANRSTCSSCKMISOMOSI3.3VGND

PWMINTRXTX

SCLSDA

5VGND

VCC-3.3V VCC-5V

ANRSTCSSCKMISOMOSI3.3VGND

PWMINTRXTX

SCLSDA

5VGND

VCC-3.3V VCC-5V

RA10-MB2_CSRA9-MB2_RST

VCC-3.3V

RESET#

RESET#

VCC-3.3V

T1

RST

VCC-USB

FP2FERRITE 1

2345 GND

IDD+D-VBUS

CN2

USB MINIB

AVCC

AVCC

FP1

VCC-3.3V

VCC-BAT

RF13-SENSEL

RA6-VSENSE

VCC-BAT

R29R28

HD1

mPROG

VSYS

VCC-3.3V VCC-3.3V

M1

DMP2305U-7

M2

DMP2305U-7

+_

CN1BATT CONN

VCC-BAT

R15

2.2k

R20

10k

R23

1.69k

R2688.7k

R2716.9k

R8470

R21

15k

R19324k

R22105k

R171k

R16

10k

R18

3.3k

R1

2.2k

R2

2.2k

R510k

R610k

R4

1k

R310k

R24100

R101M

R11

1k

R12100k

R13100k

R14100k

C38

2.2µF

C2

2.2µF

C32

10µF

C9

0.1µF

C10

0.1µF

C11

0.1µF

C12

0.1µF

C35

0.1µF

C36

0.1µF

C37

0.1µF

C18

0.1µF

C250.1µF

C1

0.1µF

C3

0.1µF

C13

0.1µF

C19

2.2µF

C20

2.2µF

C22

22µF

C31

22µF

C14

22µF

C30

22µF

C15

1µF

C17

1µF

C27

1µF

C16

10000pF

C26

10000pF

C29

10pF

C28

10pF

C23 10pF

C24300pF

C21

33pF

E1

10µF

C33

22pF

C6

22pF

C5

22pF

C34

22pF

L1 3.3µHL2

2.2µH

L32.2µH

LD3

LD4BRED

VSYSGND

SCKMISOMOSI3.3VGND

RESET#GND

NCNC

RXTX

SCLSDA3.3VGND

AN

INT

GPIO

PWM

GPIO

HDR?

RESET#

USB-D_PUSB-D_N

USB-ID

USB-DET

RC2-MB2_INT2

RG9-AN20

RB1-

PGEC

1

RB11

-AN

11

RD14

-GPI

O

RB0-PGED1RB1-PGEC1

RE1-

GPI

O

RF4-MB1_PWM1

RE9-SPI1_SDIRB5-SPI1_SCK

RB4-SPI1_SDO

RB14-UART1_TXRB15-UART1_RXRD9-UART2_RX

RD8-UART2_TX

RA3-I2C2_SDARA2-I2C2_SCLRE6-I2C3_SCL

RE7-I2C3_SDA

RD9-UART2_RXRD8-UART2_TX

RD2-SPI2_SDORD12-SPI2_SDIRD3-SPI2_SCKR7 R9

R32R33

RG1-

GPI

O

RD6-

GPI

ORD

7-G

PIO

RG0-

GPI

O

RE0-

GPI

O

RG14

-GPI

O

RG7-AN18RG8-AN19RG9-AN20

RC1-MB1_INT1

RC3-INT3RC4-INT4

RC2-MB2_INT2

RE9-SPI1_SDIRB5-SPI1_SCK

RB12-GPIORB13-GPIO

RD15-GPIORD14-GPIO

RA15-GPIO

RA14-GPIORA5-GPIORA4-GPIO

RD13-GPIORD4-GPIORD6-GPIORD7-GPIO

RF1-GPIORF0-GPIO

RG1-GPIORG0-GPIO

RE1-GPIORE0-GPIO

C40

0.1µF

RG13

-LED

2

RG14-GPIO

RF2-PWM3RF8-PWM4

RD0-PWM5RD11-PWM6

RB2-MB2_AN2

RB9-AN9RB10-AN10RB11-AN11RE4-MB1_CS

RE3-MB1_RSTRG6-MB1_AN17

RB3-AN3

RB8-

GPI

O

RB8-GPIO

RB8-

GPI

O

RC1-MB1_INT1 RC2-MB2_INT2

RB4-SPI1_SDO

RA0-

T2

RE6-I2C3_SCLRE7-I2C3_SDA

RE8-

LED

1

RF5-MB2_PWM2VCC-3.3V

30292827 3433

58575655545352

463635 42 43 44 4537 50

9

48 49

1112

32

72

69686766656463

43

78 77

2423

181716151413

5678

10

7980

12

22212019

62616059

38 39 40 41 47

71

31

51

70

2625

76

757473

100pin TQFP

81828384858687888990919293949596979899100

RB13

RB12

RE7RC1RC2RC3

RD9RD8

RA15

D-/RG3

RB15

RB14

RF2RF8

VBUSVUSB

VSS

VDD

RA6

RG0

RG1

RE0

RF1

RF0

RE6RE5

RE2

RG13

RG12

RG14 RE1

RA7

RG8

RB2RB3RB4RB5RE9RE8

RD11RD10

RF3

VSS

RG9

RG7RG6

RA1

RE3

RE4

RG15VDD

RB0RB1

RF4

RF5

RA14

RA4

RD14

RD15

D+/RG2

RF13

VDD

RA2

RA5

ENVR

EG

RA0VDDVSS

VSS

RF12

RA3

OSC2/RC15MCLR

RC4

VDDOSC1/RC12

RD0

RD3

RD1

SOSCI/RC13SOSCO/RC14

VSS

RD2

RD12

RD13

RD4

AVSS

AVD

D

RB9

RB8

RB10

RB11

RB7

RA9

RB6

RA10

RD5

RD6

RD7

VCAP

PIC24FJ1024GB610

PIC24FJU1

RA6-

VSEN

SE

Schematic

Page 7: PIC24...∫ Program memory: 1024KB ∫ Pin count: 100 ∫ USB v2.0 On-The-Go (OTG) Compliant Page 9 ∫ Using USB HID mikroBootloader, ∫ Using external mikroProg for PIC24 programmer

Page 7

1. Power supply

You can supply power to the board with a micro USB cable provided

in the package. On-board voltage regulators provide the appropriate

voltage levels to each component on the board. Power LED (GREEN)

will indicate the presence of power supply.

You can also power the board using a Li-Polymer battery, via onboard

battery connector. On-board battery charger circuit enables you

to charge the battery over USB connection. LED diode (RED) will

indicate when battery is charging. Charging current is ~300mA and

charging voltage is 4.2V DC.t

Battery power supply

USBpower supply

Figure 1-1: Connecting USB power supply

Figure 1-2: Connecting Li-Polymer battery

Some click boards need more current than the USB connection can supply. For 3.3V clicks, the upper limit is 750 mA; for 5V clicks, it’s 500

mA. In those cases you would need to use the battery as the power supply, or the vsys pin on the side of the board.

NOTE

Page 8: PIC24...∫ Program memory: 1024KB ∫ Pin count: 100 ∫ USB v2.0 On-The-Go (OTG) Compliant Page 9 ∫ Using USB HID mikroBootloader, ∫ Using external mikroProg for PIC24 programmer

Page 8

2. PIC24FJ1024GB610 microcontroller

The clicker 2 for PIC24 development tool comes with the

PIC24FJ1024GB610 device. This 16-bit microcontroller features

large dual partition flash with live update capability. This family

includes up to 1024KB Flash, 32KB RAM, USB and advanced

peripherals.

Key MCU features∫ CPU speed: 16 MIPS

∫ Architecture: 16-bit

∫ Program memory: 1024KB

∫ Pin count: 100

∫ USB v2.0 On-The-Go (OTG) Compliant

Page 9: PIC24...∫ Program memory: 1024KB ∫ Pin count: 100 ∫ USB v2.0 On-The-Go (OTG) Compliant Page 9 ∫ Using USB HID mikroBootloader, ∫ Using external mikroProg for PIC24 programmer

Page 9

∫ Using USB HID mikroBootloader,

∫ Using external mikroProg for PIC24 programmer

Figure 3-1:PIC24FJ1024GB610microcontroller

The microcontroller can be programmed in two ways:

3. Programming the microcontroller

Page 10: PIC24...∫ Program memory: 1024KB ∫ Pin count: 100 ∫ USB v2.0 On-The-Go (OTG) Compliant Page 9 ∫ Using USB HID mikroBootloader, ∫ Using external mikroProg for PIC24 programmer

Page 10

You can program the microcontroller with a bootloader

which is preprogrammed by default. To transfer .hex

file from a PC to MCU you need bootloader software

(mikroBootloader USB HID) which can be downloaded

from:

3.1 Programming with mikroBootloader

Figure 3-2: USB HID mikroBootloader window

step 1 – Connecting clicker 2 for PIC24

01

01

To start, connect the USB cable, or if already connected press the Reset button on your clicker 2 for PIC24. Click the Connect button within 5s to enter the bootloader mode, otherwise existing microcontroller program will execute.

After the mikroBootloader software is downloaded,

unzip it to desired location and start it.

https://download.mikroe.com/examples/starter-boards/clicker-2/pic24/clicker-2-pic24-bootloader.zip

clicker 2 for PIC24 BootloaderWinRAR ZIP archive

clicker 2 for PIC24 BootloaderFile folder

SoftwareFile folder

mikroBootloader USB HID.exeBootloader tool for mikroElektron...mikroElektronika

clicker 2 for PIC24 PIC24FJ1024GB610 USB HID Bootloader v2.700.hexHEX File

FirmwareFile folder

Page 11: PIC24...∫ Program memory: 1024KB ∫ Pin count: 100 ∫ USB v2.0 On-The-Go (OTG) Compliant Page 9 ∫ Using USB HID mikroBootloader, ∫ Using external mikroProg for PIC24 programmer

Page 11

step 3 – Selecting .HEX file step 2 – Browsing for .HEX file

Figure 3-3: Browse for HEX Figure 3-4: Selecting HEX

01 01

02

01

02

Click the Browse for HEX button and from a

pop-up window (Figure 3.4) choose the .HEX file

which will be uploaded to MCU memory.

Select .HEX file using open dialog window.

Click the Open button.

clicker2 for PIC24.hex HEX.file

01

Page 12: PIC24...∫ Program memory: 1024KB ∫ Pin count: 100 ∫ USB v2.0 On-The-Go (OTG) Compliant Page 9 ∫ Using USB HID mikroBootloader, ∫ Using external mikroProg for PIC24 programmer

Page 12

step 4 – Uploading .HEX file

Figure 3-5: Begin uploading Figure 3-6: Progress bar

01

01 01To start .HEX file bootloading click the Begin uploading button.

Progress bar enables you to monitor .HEX file uploading.

01Begin

uploading

Page 13: PIC24...∫ Program memory: 1024KB ∫ Pin count: 100 ∫ USB v2.0 On-The-Go (OTG) Compliant Page 9 ∫ Using USB HID mikroBootloader, ∫ Using external mikroProg for PIC24 programmer

Page 13

step 5 – Finish upload

Figure 3-7: Restarting MCU Figure 3-8: mikroBootloader ready for next job

01

01

02

Click OK button after the uploading process is finished.

Press Reset button on clicker 2 for PIC24 board and wait for

5 seconds. Your program will run automatically.

Page 14: PIC24...∫ Program memory: 1024KB ∫ Pin count: 100 ∫ USB v2.0 On-The-Go (OTG) Compliant Page 9 ∫ Using USB HID mikroBootloader, ∫ Using external mikroProg for PIC24 programmer

Page 14

The microcontroller can be programmed with external mikroProg

for PIC programmer and mikroProg Suite for PIC software.

The external programmer is connected to the development

system via 1x5 connector Figure 3-9. mikroProg is a fast USB

2.0 programmer with hardware debugger support. It supports

PIC10®, dsPIC30/33®, PIC24® and PIC32® devices in a single

programmer. It supports over 1100 microcontrollers

from Microchip®. Outstanding performance,

easy operation and elegant design are its key

features.

3.2 Programming with mikroProg programmer

Figure 3-9: mikroProg connector

You can also

program it

with ICD2®

or ICD3® if

you reroute

the wires like

shown here.

4. G

ND5.

VCC

3.3

V6.

MCL

R#

2. P

GC3.

PGD

1. N

C GN

DRE

SET# RB

7RB

6VC

C 3.

3V

ICD2/3programmer

clicker 2 fordsPIC33 1x5programmingheaders

Page 15: PIC24...∫ Program memory: 1024KB ∫ Pin count: 100 ∫ USB v2.0 On-The-Go (OTG) Compliant Page 9 ∫ Using USB HID mikroBootloader, ∫ Using external mikroProg for PIC24 programmer

Page 15

mikroProg Suite for PIC24® software

mikroProg programmer requires

special programming software called

mikroProg Suite for dsPIC®. This

software is used for programming

of ALL Microchip® microcontroller

families, including PIC10®, PIC12®,

PIC16®, PIC18®, dsPIC30/33®, PIC24®

and PIC32®. Software has intuitive

interface and SingleClick™ programming

technology. Just by downloading the

latest version of mikroProg Suite your

programmer is ready to program new

devices. mikroProg Suite is updated

regularly, at least four times a year, so

your programmer will be more and more

powerful with each new release.

Figure 3-10: Main window of mikroProg Suite for dsPIC® programming software

PIC24

Page 16: PIC24...∫ Program memory: 1024KB ∫ Pin count: 100 ∫ USB v2.0 On-The-Go (OTG) Compliant Page 9 ∫ Using USB HID mikroBootloader, ∫ Using external mikroProg for PIC24 programmer

Page 16

Figure 4-1: Two LEDs, two buttons and a reset button

4. Buttons and LEDs

The board also contains a 01 reset button and a

pair of 02 buttons and 03 LEDs, as well

as an ON/OFF switch. The

RESET button is used

to manually reset

the microcontroller—

it generates a low

voltage level on the

microcontroller’s reset pin.

LEDs can be used for visual

indication of the logic state on

two pins (RG13 and RE8). An active

LED indicates that a logic high (1) is

present on the pin. Pressing any of the

two buttons can change the logic state of the

microcontroller pins (T2 and T3) from logic high

(1) to logic low (0).03 02 01

Page 17: PIC24...∫ Program memory: 1024KB ∫ Pin count: 100 ∫ USB v2.0 On-The-Go (OTG) Compliant Page 9 ∫ Using USB HID mikroBootloader, ∫ Using external mikroProg for PIC24 programmer

Page 17

5. Power management and battery charger

clicker 2 for PIC24 features LTC®3586-2, a

highly integrated power management and

battery charger IC that includes a current

limited switching PowerPath manager.

LTC®3586 also enables battery charging

over a USB connection.

Figure 5-1: power management and battery charger IC

Page 18: PIC24...∫ Program memory: 1024KB ∫ Pin count: 100 ∫ USB v2.0 On-The-Go (OTG) Compliant Page 9 ∫ Using USB HID mikroBootloader, ∫ Using external mikroProg for PIC24 programmer

Page 18

6. Oscillators

Board is equipped with 8MHz crystal

oscillator (X1) circuit that provides

external clock waveform to the

microcontroller CLKO and CLKI pins. This

base frequency is suitable for further

clock multipliers and ideal for generation

of necessary USB clock, which ensures

proper operation of bootloader and your

custom USB-based applications.

There is also 32.768 KHz crystal oscillator

for the RTC

Figure 6-1:8MHz crystal oscillator module (X1) and 32.768 KHz crystal oscillator

Page 19: PIC24...∫ Program memory: 1024KB ∫ Pin count: 100 ∫ USB v2.0 On-The-Go (OTG) Compliant Page 9 ∫ Using USB HID mikroBootloader, ∫ Using external mikroProg for PIC24 programmer

Page 19

PIC24 microcontrollers have an integrated USB

module, which enables you to implement USB

communication functionality to your clicker 2 board.

Connection with target USB host is done over a

micro USB connector which is positioned next to the

battery connector.

7. USB connection

Figure 7-1: Connecting USB cable to clicker 2

Page 20: PIC24...∫ Program memory: 1024KB ∫ Pin count: 100 ∫ USB v2.0 On-The-Go (OTG) Compliant Page 9 ∫ Using USB HID mikroBootloader, ∫ Using external mikroProg for PIC24 programmer

Page 20

SPI LinesInterrupt LinesAnalog LinesDigital lines I2C Lines UART lines PWM lines

8. PinoutVSYSRSTReset pin System power supplyGNDGNDReference Ground Reference GroundRB11RB10RB9RD0RG7RD11RG8RF2RG9RF8RB3RA15RC1RD13RC2RD4RC3RD6RC4RD7RA14RF0RA5RF1RA4RG1RD15RG0RD14RE0RB13RE1RB12RG14RB8RD9RB5RD8RE9RE6RB4RE73.3V3.3V3.3V power supplyGNDGNDReference Ground

Pin functions Pin functions

Digital I/O lines

SPI1 Lines

Interrupt Lines

Analog Lines

RXTX SCK

SCL SDISDA SDO

UART2 Lines

I2C3 Lines

PWM lines

Digital I/O lines

3.3V power supplyReference Ground

Page 21: PIC24...∫ Program memory: 1024KB ∫ Pin count: 100 ∫ USB v2.0 On-The-Go (OTG) Compliant Page 9 ∫ Using USB HID mikroBootloader, ∫ Using external mikroProg for PIC24 programmer

Page 21

RB15RC2RF5

RD9

RF4

RB14

RD8

RC1

RA2

5V

RE6

5V

RA3

RD5

RE7

GND

RXInterrupt linePWM line

RX

PWM line

TX

TX

Interrupt line

SCL

5V power supply

SCL

5V power supply

SDA

Reference ground

SDA

Reference ground

UART1 lines

UART2 lines

I2C2 lines

I2C3 lines

RB5

RB2

RD3

RG6

3.3V

RE9

3.3V

RA9

RD12

RE3

GND

RB4

GND

RA10

RD2

RE4

SPI1 lines

SPI2 lines

SCK

Analog line

SCK

Analog line

3.3V power supply

MISO

3.3V power supply

MISO

Digital lines*

Reference ground

MOSI

Reference ground

MOSI

Figure 9-1: mikroBUS™ individual and shared lines

8.1 mikroBUS™ pinouts

Digital lines*

SPI LinesInterrupt LinesAnalog LinesDigital lines I2C Lines UART lines PWM lines

Page 22: PIC24...∫ Program memory: 1024KB ∫ Pin count: 100 ∫ USB v2.0 On-The-Go (OTG) Compliant Page 9 ∫ Using USB HID mikroBootloader, ∫ Using external mikroProg for PIC24 programmer

Page 22

Up to now, MikroElektronika has released more

than 300 mikroBUS™ compatible click boards™.

On the average, three click boards are released

per week. It is our intention to provide you with

as many add-on boards as possible, so you will

be able to expand your development board with

additional functionality. Each board comes with

a set of working example code. Please visit the

click boards™ webpage for the complete list of

currently available boards:

https://shop.mikroe.com/click

9. click boards™ are plug and play!

Figure 10-1: clicker 2 for PIC24 driving

click boards™

Page 23: PIC24...∫ Program memory: 1024KB ∫ Pin count: 100 ∫ USB v2.0 On-The-Go (OTG) Compliant Page 9 ∫ Using USB HID mikroBootloader, ∫ Using external mikroProg for PIC24 programmer

Page 23

10. Dimensions

Page 24: PIC24...∫ Program memory: 1024KB ∫ Pin count: 100 ∫ USB v2.0 On-The-Go (OTG) Compliant Page 9 ∫ Using USB HID mikroBootloader, ∫ Using external mikroProg for PIC24 programmer

Page 24

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. 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.

TRADEMARKS

The MikroElektronika name and logo, mikroC, mikroBasic, mikroPascal, Visual TFT, Visual GLCD, mikroProg, Ready, MINI, mikroBUS™, EasyPIC, EasyAVR, Easy8051, click boards™ and mikromedia 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.

Copyright © 2017 MikroElektronika. All Rights Reserved.

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, aircraft 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.

Page 25: PIC24...∫ Program memory: 1024KB ∫ Pin count: 100 ∫ USB v2.0 On-The-Go (OTG) Compliant Page 9 ∫ Using USB HID mikroBootloader, ∫ Using external mikroProg for PIC24 programmer

Page 25

If you want to learn more about our products, please visit our web site at www.mikroe.com

If you are experiencing some problems with any of our products or just need additional

information, please place your ticket at helpdesk.mikroe.com

If you have any questions, comments or business proposals,

do not hesitate to contact us at [email protected]

PIC24