Download mikromedia for dsPIC33

Transcript
mikromedia
for dsPIC33
™
®
Compact development system rich with on-board peripherals for all-round
multimedia development on dsPIC33FJ256GP710A device.
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.
Nebojsa Matic
General Manager
The dsPIC® and Windows® logos and product names are trademarks of Microchip Technology® and Microsoft® in the U.S.A. and other countries.
Table of Contents
Introduction to mikromedia for dsPIC33®4
Programming with mikroProg™ programmer
18
Package contains
5
mikroProg Suite™ for PIC Software
19
Key features
6
Programming with ICD2 or ICD3 programmer
20
System specification
1. Power supply
USB power supply
Battery power supply
7
4. Reset buttons
22
8
5. Crystal oscillator
24
8
6. microSD card slot
26
8
7. Touch screen
28
10
8. Audio module
30
10
9. USB-UART connection
32
3. Programming the microcontroller 11
10. Accelerometer
34
Programming with mikroBootloader 12
2. dsPIC33FJ256GP710A microcontroller
Key microcontroller features 11. Flash memory 36
step 1 – Choosing COM port
13
12. Pads
38
step 2 – Choosing device family 14
13. Pinout
39
step 3 – Choosing device 14
14. Dimensions
40
step 4 – Browse for .HEX file
15
15. mikromedia accessories
41
step 5 – Set Baud rate
16
What’s next?
42
step 6 – Uploading .HEX file
16
Page 3
Introduction to mikromedia for dsPIC33®
mikromedia for dsPIC33® is a compact
development system with lots of on-board
peripherals which allow development of devices
with multimedia contents. The central part of
the system is a 16-bit dsPIC33FJ256GP710A
microcontroller. mikromedia for dsPIC33
features integrated modules such as stereo
MP3 codec, TFT 320x240 touch screen
display, accelerometer, USB connector, audio
connector, MMC/SD card slot, 8 Mbit flash
memory, 2x26 connection pads and other. It
comes pre-programmed with UART bootloader,
but can also be programmed with external
programmers, such as mikroProg™ or ICD2/3.
Mikromedia is compact and slim, and perfectly
fits in the palm of the hand, which makes it a
convenient platform for mobile devices.
Page 4
Package contains
mikromedia for dsPIC33® - pinout
01 Damage resistant protective box
02 mikromedia for dsPIC33® development system
5V power supply
5V
RST
Reset pin
Reference Ground
GND
GND
Reference Ground
AN10
RB1
L
left ch.
audio out
AN2/SS1/CN4
RB2
R
right ch.
AN3/CN5
RB3
RD0
OC1
AN4/CN6
RB4
RD1
OC2
AN5/CN7
RB5
RD2
OC3
AN8
RB8
RD3
OC4
AN9
RB9
RD4
OC5/CN13
AN20/INT1
RA12
RD5
OC6/CN14
®
AN21/INT2
RA13
RD8
IC1
IC2
INT3
RA14
RD9
INT4
RA15
RD14
IC7/U1CTS/CN20
PGEC1/AN6/OCFA
RB6
RD15
IC8/U1RTS/CN21
PGED1/AN7
RB7
RD6
OC7/CN15
Compact development system rich with on-board peripherals
for
all-round
SCK1/INT0
RF6
RC2
AN17/T3CK/T6CK
SDI1
RF7
RF12
U2CTS
SPI1
multimedia development on dsPIC33FJ256GP710A
device.
SDO1
RF8
RF13
U2RTS
COFS
RG15
RF0
C1RX
CAN
C2RX
RG0
RF1
C1TX
RD10
IC3
RF2
U1RX
UART
RG6
SCK2/CN8
RF3
U1TX
SDI2/CN9
RG7
RG2
SCL1 I2C
SPI2
SDO2/CN10 We present
RG8
SDA1 ™ for dsPIC33®
you with a complete color schematics forRG3
mikromedia
3.3V power supply
3.3V
3.3V
3.3V power supply
board. We want you to know what yourGND
board is
consisted
Reference Ground development
GND
Reference
Groundof and
SCHEMATICS
mikromedia
for dsPIC33
mikromedia
™
™
for dsPIC33®
Pin functions
Programming lines
how it actually works.
Analog Lines
Interrupt Lines
Pin functions
SPI Lines
I2C Lines
UART lines
PWM lines
Comparator lines
03 User’s guide, schematic and pinout
04 USB cable, two 1x26, one 1x6 and one 1x5 male headers
Page 5
Key features
01 Connection pads
02 TFT 320x240 display
03 USB MINI-B connector
04 CHARGE indication LED
05 LI-Polymer battery connector
06 3.5mm headphone connector
01
07 Power supply regulator
08 FTDI chip
09 Serial flash memory
10 RESET button
11 VS1053 Stereo mp3 coder/decoder
12 dsPIC33FJ256GP710A microcontroller
02
13 Accelerometer
14 Crystal oscillator
15 Power indication LED
16 microSD card slot
17 ICD2/3 connector
18 mikroProg connector
Page 6
03
04
System specification
05
06
power supply
Via USB cable (5V DC)
07
power consumption
08
77 mA with erased MCU (when on-board modules are inactive)
09
10
11
board dimensions
81.2 x 60.5 mm (3.19 x 2.38 inch)
12
weight
13
~50g (0.11lbs)
class B product
Product complies with the Class B limit of EN 55022 and can be used
in the domestic, residential, commercial and industrial environments.
14
15
16
CAUTION: Electrostatic sensitive device
Permanent damage may occur on devices subjected to high energy
electrostatic discharges which readily accumulate on the human
body or test equipment and can discharge without detection.
17
18
Page 7
1. Power supply
USB power supply
Figure 1-1:
Connecting USB
power supply
You can apply power supply to
the board using MINI-B USB
cable provided in the package.
On-board voltage regulators
provide the appropriate voltage
levels to each component of
the board. Power LED (GREEN)
will indicate the presence of
power supply.
Battery power supply
You can also power the board using a Li-Polymer
battery, via on-board battery connector. On-board battery
charger circuit MCP73832 enables you to charge the
battery over a USB connection. LED diode (RED) will
indicate when the battery is charging. Charging current
is ~250mA and charging voltage is 4.2V DC.
Figure 1-2: Connecting Li-Polymer battery
Page 8
VCC-SYS
VCC-USB
DATA BUS
DMP2160UW
M1
+
-
VCC-BAT
CN1
BATT CONN
USB MINIB
VCC-3.3
VCC-1.8
C29
R49
4K7
E10
VCC-1.8
2.2uF
R34
4K7
VREF-1.8
1
2
3
VCC-1.8
FP3
FERRITE
E11
10uF
10uF
U3
Vout
Vin
GND
EN
ADJ
R47
120K
5
4
R46
22K
MIC5205-ADJ
R50
0R
VCC-3.3
VCC-3.3
STAT
R35
10K
HDR1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
M1X26
VBUS
DD+
ID
GND
R43
10K
R6
4K7
VSENSE
1
2
3
4
5
C28
10nF
VCC-BAT
VCC-SYS
CN3
FP2
FERRITE
PMEG3010ER
D1
R39
4K7
VCC-3.3
LD2
CHARGE
VCC-3.3 VCC-BAT
R36
10K
R37
10K
Q4
BC846
Q5
BC846
R38
10K
E5
10uF
R45
1K
1
2
3
VCC-3.3
HDR2
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
M1X26
VCC-3.3
VCC-SYS
E7
C40
10uF
U5
2.2uF
STAT
VSS
VBAT
PROG
VDD
2K2
5
4
MCP73832
R44
3K9
Charging Current approx. 250mA
Figure 1-3: Power supply schematics
Page 9
VCC-SYS
R26
LD1
POWER
E3
10uF
VCC-3.3
1
3
E4
10uF
REG1
Vin
Vout
GND
LD29080DT33
2
2. dsPIC33FJ256GP710A microcontroller
mikromedia for dsPIC33® development system comes with the
dsPIC33FJ256GP710A microcontroller. This high-performance
16-bit microcontroller with its integrated modules and in combination
with other on-board modules is ideal for multimedia applications.
Key microcontroller features
- Up to 40 MIPS Operation;
40/60 MIPS
16-bit Core
- Optimal fo
r ‘C’
- MCU + DS
P Resource
s
16 Core
40-bit
Registers
DSP
Accumulator
Engine
Shadow Se
t
16x16 Multi
ply
Instruction
Data
Data/Memor
y
- 16-bit architecture;
- 256KB of program memory;
DMA
8 Ch.
- 30.720 Bytes of RAM;
Flash
(256KB)
- 85 I/O pins;
2-wire
Interrupt Debug
Controller
Bus
RAM
(30KB)
GPIO
VREG
Data Bus
- Internal Oscillator 7.37 MHz, 512kHz;
CAN
- nanoWatt features: Fast Wake/Fast Control;
- 2-UART, 2-SPI, 2-I2C, 2-CAN; - DAC, ADC, etc.
Input
Capture
Output
Compare
PWM
16-bit
PMP
Timers
RTCC 32-bit
Motor
QEI
Control I2
C UART
32
-bit Audio
SPI
PWM
Control 10
/1
CRC
2bit
DAC
Analog
DAC
ADC
Page 10
Comparator
3. Programming the microcontroller
The microcontroller can be programmed in three ways:
01 Over UART bootloader
02 Using mikroProg™ external programmer
03 Using ICD2/3 external programmer
Page 11
Programming with mikroBootloader
You can program the microcontroller with the bootloader which
is preprogrammed into the device by default. To transfer .HEX
file from a PC to MCU you need bootloader software (ds30
Loader) which can be downloaded from:
www.mikroe.com/eng/downloads/get/1493/
mikrommb_dspic33_bootloader.zip
Upon download, unzip the file to the desired location and start
ds30 Loader software.
Figure 3-1: ds30 Loader open-source software
note
Page 12
Connect mikromedia for dsPIC33® with a
PC before starting ds30 Loader software
Identifying device COM port
step 1 – Choosing COM port
01
Figure 3-2: Identifying COM port
Figure 3-3: Selecting COM port
note
In Device Manager you can see which COM port
is assigned to mikromedia (in this case COM5)
01 From drop down list select USB COM port which is used
for communication with a PC (in this case COM5)
Page 13
step 2 – Choosing device family
step 3 – Choosing device
01
01
Figure 3-4: Selecting MCU family
Figure 3-5:
Selecting MCU chip
01 From drop down list select MCU family (dsPIC33FJ)
01 From drop down list select MCU chip (256GP710A)
Page 14
step 4 – Browse for .HEX file
01
01
02
03
Figure 3-7: Pop-up window for .HEX file choosing
01 Select desired .HEX file
02 Folder list
Figure 3-6: Browse for .HEX file
03 Click on Open button
01 Click on Browse button and from pop-up window (figure
3-7) select .HEX file which will be uploaded to MCU memory
Page 15
step 5 – Set Baud rate
step 6 – Uploading .HEX file
01
02
01
Figure 3-8: Seting baud rate
Figure 3-9: Write program
01 From drop down list set baud rate value to 256000
01 First RESET mikromedia and then, within 5s
click on Write button
02 Check Write program check box
Page 16
note
If you accidently erase bootloader program from MCU memory it is possible to load it again with external programer.
mikromedia for dsPIC33® bootloader firmware.hex file is located in Firmware subfolder, Page 12.
01
01
Figure 3-10: Program uploading
Figure 3-11: Uploading is finished
01 Progress bar indicates .HEX file upload process
01 After uploading is finished you will get a
notice in ds30 Loader history window
Page 17
Programming with mikroProg™ programmer
The microcontroller can be programmed with mikroProg™ programmer and mikroProg Suite™ fo PIC® software.
The mikroProg™ programmer is connected to the development system via the CN6 connector, Figure 3-12.
Figure 3-12:
Connecting mikroProg™ to mikromedia™
mikroProg™ is a fast USB 2.0
programmer with mikroICD™
hardware In-Circuit Debugger.
Smart engineering allows mikroProg™
to support PIC10®, PIC12®, PIC16®, PIC18®,
dsPIC30/33®, PIC24® and PIC32® devices in a single
programmer. It supports over 570 microcontrollers from
Microchip®. Outstanding performance, easy operation and
elegant design are it’s key features.
Page 18
mikroProg Suite™ for PIC® software
mikroProg™ programmer requires special
programming software called mikroProg
Suite™ for PIC®. This software is used
for programming 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-13: Main Window of mikroProg Suite™ for PIC® programming software
Page 19
Programming with
ICD2® or ICD3®
programmer
The microcontroller can be
also programmed with ICD2®
or ICD3® programmer. These
programmers connects with
mikromedia board via ICD2
CONNECTOR BOARD.
Figure 3-15:
Connecting ICD2®
or ICD3® programmer
In order to enable the ICD2® and ICD3® programmers to be connected to the development system, it is
necessary to provide an appropriate connector such as the ICD2 CONNECTOR BOARD. This connector should
be first soldered on the CN5 connector. Then you should plug the ICD2® or ICD3® programmer into it, Figure 3-14.
Page 20
E9
10uF
VCC-3.3
PGC1
PGD1
MCLR#
VCC-3.3
1
2
3
4
5
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
M1X5
dsPIC33FJ256GP710A
GND
SOSCO/RC14
SOSCI/RC13
RD0
RD11
RD10
RD9
RD8
RA15
RA14
GND
CLKO/RC15
CLKI/RC12
VCC
RA5
RA4
RA3
RA2
SCL1/RG2
SDA1/RG3
SCK1/RF6
SDI1/RF7
SDO1/RF8
U1RX/RF2
U1TX/RF3
RB6/PGEC1
RB7/PGED1
RA9/VrefRA10/Vref+
AVCC
AGND
RB8/AN8
RB9/AN9
RB10/AN10
RB11
GND
VCC
RA1
RF13
RF12
RB12
RB13
RB14
RB15
GND
VCC
RD14
RD15
RF4
RF5
RG15
VCC
RE5
RE6
RE7
RC1
RC2
RC3
RC4
RG6/SCK2
RG7/SDI2
RG8/SDO2
MCLR
RG9
GND
VCC
RA0
RA12
RA13
RB5
RB4
RB3
RB2/AN2
RB1
RB0
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
MCLR#
RE4
RE3
RE2
RG13
RG12
RG14
RE1
RE0
RA7
RA6
RG0
RG1
RF1
RF0
VCC
VCAP
RD7
RD6
RD5
RD4
RD13
RD12
RD3
RD2
RD1
U1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
C31
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
SOSCO
SOSCI
22pF
X3
32.768KHz
C30
22pF
C2
CLKO
CLKI
22pF
X1
8MHz
C1
22pF
VCC-3.3
MCLR#
PGD1
PGC1
RB7
R15
100
R14
100
PGC1
PGD1
RB6
VREF-1.8
VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3
E8
C5
C6
C7
C8
10uF
100nF
100nF
100nF
100nF
decoupling capacitors
Figure 3-16: ICD2 / ICD3 & mikroProg™ programmer connection schematics
Page 21
CN6
6
5
4
3
2
1
CN5
M1X6
4. Reset buttons
Board is equipped with a reset button, which is
located at the top of the front side (Figure 4-2). If
you want to reset the circuit, press the reset button. It
will generate a low voltage level on the microcontroller
reset pin (input). In addition, a reset can be externally
provided through pin 27 on side headers (Figure 4-3).
You can also solder an additional
reset button on the appropriate place
at the back side of the board, Figure 4-1.
note
Figure 4-1: Reset button located at the backside of the board
Page 22
Figure 4-2: Frontal reset button
VCC-3.3
E9
R8
10K
10uF
HDR2
RST
T2
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
C3
100nF
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
VCC-3.3
T1
dsPIC33FJ256GP710A
GND
SOSCO/RC14
SOSCI/RC13
RD0
RD11
RD10
RD9
RD8
RA15
RA14
GND
CLKO/RC15
CLKI/RC12
VCC
RA5
RA4
RA3
RA2
SCL1/RG2
SDA1/RG3
SCK1/RF6
SDI1/RF7
SDO1/RF8
U1RX/RF2
U1TX/RF3
RB6/PGEC1
RB7/PGED1
RA9/VrefRA10/Vref+
AVCC
AGND
RB8/AN8
RB9/AN9
RB10/AN10
RB11
GND
VCC
RA1
RF13
RF12
RB12
RB13
RB14
RB15
GND
VCC
RD14
RD15
RF4
RF5
100
RG15
VCC
RE5
RE6
RE7
RC1
RC2
RC3
RC4
RG6/SCK2
RG7/SDI2
RG8/SDO2
MCLR
RG9
GND
VCC
RA0
RA12
RA13
RB5
RB4
RB3
RB2/AN2
RB1
RB0
C31
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
SOSCO
SOSCI
22pF
X3
32.768KHz
C30
22pF
C2
CLKO
CLKI
22pF
X1
8MHz
VCC-3.3
C1
M1X26
22pF
VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3
E8
C5
C6
C7
C8
10uF
100nF
100nF
100nF
100nF
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
R7
RE4
RE3
RE2
RG13
RG12
RG14
RE1
RE0
RA7
RA6
RG0
RG1
RF1
RF0
VCC
VCAP
RD7
RD6
RD5
RD4
RD13
RD12
RD3
RD2
RD1
U1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
decoupling capacitors
VREF-1.8
Figure 4-3: Reset circuit schematics
Page 23
5. Crystal oscillator
Figure 5-1:
Crystal oscillator
module (X1)
Board is equipped with an 8MHz crystal oscillator (X1) circuit that
provides external clock to the microcontroller OSC pins. This base
frequency is suitable for further clock multipliers and ideal for generation
of the necessary USB clock, which ensures proper operation of bootloader
and your custom USB-based applications. Board also contains 32.768kHz
Crystal oscillator (X3) which provides external clock for the internal RTCC module.
note
The use of crystal in all other schematics is implied even if
it is purposely left out, because of the schematics clarity.
Page 24
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
VCC-3.3
dsPIC33FJ256GP710A
GND
SOSCO/RC14
SOSCI/RC13
RD0
RD11
RD10
RD9
RD8
RA15
RA14
GND
CLKO/RC15
CLKI/RC12
VCC
RA5
RA4
RA3
RA2
SCL1/RG2
SDA1/RG3
SCK1/RF6
SDI1/RF7
SDO1/RF8
U1RX/RF2
U1TX/RF3
RB6/PGEC1
RB7/PGED1
RA9/VrefRA10/Vref+
AVCC
AGND
RB8/AN8
RB9/AN9
RB10/AN10
RB11
GND
VCC
RA1
RF13
RF12
RB12
RB13
RB14
RB15
GND
VCC
RD14
RD15
RF4
RF5
RG15
VCC
RE5
RE6
RE7
RC1
RC2
RC3
RC4
RG6/SCK2
RG7/SDI2
RG8/SDO2
MCLR
RG9
GND
VCC
RA0
RA12
RA13
RB5
RB4
RB3
RB2/AN2
RB1
RB0
C31
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
22pF
SOSCO
SOSCI
X3
32.768KHz
C30
22pF
C2
22pF
CLKO
CLKI
X1
8MHz
C1
22pF
VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3
E8
C5
C6
C7
C8
10uF
100nF
100nF
100nF
100nF
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
RE4
RE3
RE2
RG13
RG12
RG14
RE1
RE0
RA7
RA6
RG0
RG1
RF1
RF0
VCC
VCAP
RD7
RD6
RD5
RD4
RD13
RD12
RD3
RD2
RD1
U1
decoupling capacitors
VREF-1.8
Figure 5-2: Crystal oscillator schematics
Page 25
6. microSD card slot
Figure 6-1:
microSD card slot
Board contains a microSD card slot for using microSD cards in your projects. It enables you to store large amounts of data externally,
thus saving microcontroller memory. microSD cards use Serial Peripheral Interface (SPI) for communication with the microcontroller.
Page 26
E9
10uF
VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3
E8
C5
C6
C7
C8
10uF
100nF
100nF
100nF
100nF
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
VCC-3.3
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
SOSCO
SOSCI
22pF
X3
32.768KHz
C30
22pF
C2
CLKO
CLKI
VCC-MMC
FERRITE
22pF
X1
8MHz
C38
100nF
C1
22pF
R11
10K
R10
10K
R9
10K
VCC-MMC
SD-CS#
MOSI2-RG8
MISO2-RG7
SD-CD#
Figure 6-2: microSD Card Slot module connection schematics
Page 27
E6
10uF
VCC-MMC
SCK2-RG6
VREF-1.8
VCC-3.3
FP1
R16
27
1
2
4
5
6
7
CD
CN4
CS
CS
Din
Din
+3.3V
SCK
SCK
GND
GND
Dout
Dout
CD
CD
GND
G
dsPIC33FJ256GP710A
decoupling capacitors
C31
SD-CD#
27
GND
SOSCO/RC14
SOSCI/RC13
RD0
RD11
RD10
RD9
RD8
RA15
RA14
GND
CLKO/RC15
CLKI/RC12
VCC
RA5
RA4
RA3
RA2
SCL1/RG2
SDA1/RG3
SCK1/RF6
SDI1/RF7
SDO1/RF8
U1RX/RF2
U1TX/RF3
RB6/PGEC1
RB7/PGED1
RA9/VrefRA10/Vref+
AVCC
AGND
RB8/AN8
RB9/AN9
RB10/AN10
RB11
GND
VCC
RA1
RF13
RF12
RB12
RB13
RB14
RB15
GND
VCC
RD14
RD15
RF4
RF5
SD-CS#
27
RG15
VCC
RE5
RE6
RE7
RC1
RC2
RC3
RC4
RG6/SCK2
RG7/SDI2
RG8/SDO2
MCLR
RG9
GND
VCC
RA0
RA12
RA13
RB5
RB4
RB3
RB2/AN2
RB1
RB0
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
R5
SCK2-RG6
MISO2-RG7
MOSI2-RG8 R4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
RE4
RE3
RE2
RG13
RG12
RG14
RE1
RE0
RA7
RA6
RG0
RG1
RF1
RF0
VCC
VCAP
RD7
RD6
RD5
RD4
RD13
RD12
RD3
RD2
RD1
U1
7. Touch screen
The development system features a TFT 320x240 display covered with a resistive
touch panel. Together they form a functional unit called a touch screen. It enables data
to be entered and displayed at the same time. The TFT display is capable of showing
data in 262.144 diffe­rent colors.
Figure 7-1:
Touch Screen
Page 28
E9
10uF
VCC-3.3
PMWR
PMRD
LCD-BLED
T-D9
T-D8
T-D7
T-D6
T-D12
T-D11
T-D10
VCC-SYS
Q1
BC846
VCC-3.3
R23
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
VCC-SYS
D2
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
X3
32.768KHz
LCD-RS
LCD-YU
LCD-XL
T-D1
VREF-1.8
T-D15
T-D14
T-D13
T-D12
T-D11
T-D10
T-D9
T-D8
C30
22pF
C2
VCC-3.3
22pF
CLKO
CLKI
X1
E13
10uF
8MHz
C1
T-D5
T-D4
T-D3
T-D2
LCD-RST
Q3
BC846
22pF
SOSCO
SOSCI
R40
12
Q2
BC846
BAT43
C31
T-D7
T-D6
T-D5
T-D4
T-D3
T-D2
T-D1
T-D0
22pF
VCC-3.3 VCC-3.3
R24
10K
R25
10K
LCD-RST
LCD-CS#
VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3
E8
C5
C6
C7
C8
10uF
100nF
100nF
100nF
100nF
VCC-3.3
C21
LCD-YD
LCD-XR
T-D0
dsPIC33FJ256GP710A
GND
SOSCO/RC14
SOSCI/RC13
RD0
RD11
RD10
RD9
RD8
RA15
RA14
GND
CLKO/RC15
CLKI/RC12
VCC
RA5
RA4
RA3
RA2
SCL1/RG2
SDA1/RG3
SCK1/RF6
SDI1/RF7
SDO1/RF8
U1RX/RF2
U1TX/RF3
RB6/PGEC1
RB7/PGED1
RA9/VrefRA10/Vref+
AVCC
AGND
RB8/AN8
RB9/AN9
RB10/AN10
RB11
GND
VCC
RA1
RF13
RF12
RB12
RB13
RB14
RB15
GND
VCC
RD14
RD15
RF4
RF5
LCD-CS#
RG15
VCC
RE5
RE6
RE7
RC1
RC2
RC3
RC4
RG6/SCK2
RG7/SDI2
RG8/SDO2
MCLR
RG9
GND
VCC
RA0
RA12
RA13
RB5
RB4
RB3
RB2/AN2
RB1
RB0
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
T-D13
T-D14
T-D15
LCD-RST
RE4
RE3
RE2
RG13
RG12
RG14
RE1
RE0
RA7
RA6
RG0
RG1
RF1
RF0
VCC
VCAP
RD7
RD6
RD5
RD4
RD13
RD12
RD3
RD2
RD1
U1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
1K
LCD-BLED
decoupling capacitors
18nF
C22
R41
300K 18nF
PMRD
PMWR
LCD-RS
LCD-CS#
VCC-3.3
R42
300K
LCD-XL
LCD-YU
LCD-XR
LCD-YD
LCD-XL
LCD-YU
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
TFT1
L ED- K
L ED- A1
L ED- A2
L ED- A3
L ED- A4
IM0
IM3
IM2
IM1
RESET
VSYNC
HSYNC
DOTCL K
DE
DB17
DB16
DB15
DB14
DB13
DB12
DB11
DB10
DB9
DB8
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
SDO
SDI
RD
WR(D/C)
D/C(SCL)
CS
TE
VDDI
VCI
VCI
GND
X+(R)
Y+(D)
X- (L )
Y- (U)
MI 0283QT- 9A
Figure 7-2: Touch Screen connection schematics
Page 29
8. Audio module
mikromedia for dsPIC33 features a stereo audio codec VS1053. This
module enables audio reproduction by using stereo headphones connected
to the system via a 3.5mm connector CN2. All functions of this module are
controlled by the microcontroller over Serial Peripheral Interface (SPI).
Figure 8-1: On-board
VS1053 MP3 codec
Figure 8-2: 3.5mm
headphones jack
Page 30
E9
10uF
MP3-DREQ
MP3-RST#
MP3-CS#
MP3-DCS
VCC-3.3
R19
10K
VCC-3.3
VCC-1.8
VCC-1.8
VCC-1.8
C4
100nF
C9
100nF
C10
100nF
VCC-1.8 VCC-3.3 VCC-3.3
VCC-3.3
VCC-3.3
VCC-3.3
C24
100nF
C26
100nF
C27
100nF
MP3-CS#
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
MP3-RST#
VCC-1.8
22pF
C2
13
14
15
16
17
18
19
20
21
22
23
24
R1 1M
X2
MP3-CS#
XDCS/BSYNC
IOVDD1
VC0
DGND1
XTAL0
XTAL1
IOVDD2
DGND2
DGND3
DGND4
XCS
CVDD2
VS1053
25
26
27
28
29
30
31
32
33
34
35
36
C20
22pF
VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3
C5
C6
C7
C8
100nF
100nF
100nF
100nF
R20
10K
decoupling capacitors
VCC-3.3
R21
10K
Figure 8-3: Audio module connection schematic
Page 31
R22
27
MISO2-RG7
E8
10uF
R33
E2
470
E1
R32
LN2
AGND3
LEFT
AVDD2
RCAP
AVDD1
GBUF
AGND2
AGND1
RIGHT
AVDD0
AGND0
48
47
46
45
44
43
42
41
40
39
38
37
LEFT
RIGHT
10uF
L
R17
100K
R28
10
R29
10
CN2
PHONEJACK
RIGHT
C13
1uF
R
R18
100K
C17
3.3nF
LEFT
GBUF
10uF
C18
3.3nF
470
GPIO7
GPIO6
GPIO3
GPIO2
DREQ
CVDD1
IOVDD0
CVDD0
DGND0
XRESET
MICN
MCP/LN1
MP3-DCS
22pF
12.288MHz
C19
22pF
VCC-3.3
U2
C1
SCK2-RG6
MOSI2-RG8
VREF-1.8
C23
100nF
12
11
10
9
8
7
6
5
4
3
2
1
22pF
8MHz
X1
MP3-RST#
C30
CLKO
CLKI
C12
100nF
22pF
32.768KHz
X3
MP3-DREQ
SOSCO
SOSCI
GPIO5
RX
TX
SCLK
SI
SO
CVDD3
XTEST
GPIO0
GPIO1
GND
GPIO4
dsPIC33FJ256GP710A
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
C11
100nF
decoupling capacitors
GPIO
27
GND
SOSCO/RC14
SOSCI/RC13
RD0
RD11
RD10
RD9
RD8
RA15
RA14
GND
CLKO/RC15
CLKI/RC12
VCC
RA5
RA4
RA3
RA2
SCL1/RG2
SDA1/RG3
SCK1/RF6
SDI1/RF7
SDO1/RF8
U1RX/RF2
U1TX/RF3
RB6/PGEC1
RB7/PGED1
RA9/VrefRA10/Vref+
AVCC
AGND
RB8/AN8
RB9/AN9
RB10/AN10
RB11
GND
VCC
RA1
RF13
RF12
RB12
RB13
RB14
RB15
GND
VCC
RD14
RD15
RF4
RF5
27
RG15
VCC
RE5
RE6
RE7
RC1
RC2
RC3
RC4
RG6/SCK2
RG7/SDI2
RG8/SDO2
MCLR
RG9
GND
VCC
RA0
RA12
RA13
RB5
RB4
RB3
RB2/AN2
RB1
RB0
R2
10K
C31
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
R5
SCK2-RG6
MISO2-RG7
MOSI2-RG8 R4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
RE4
RE3
RE2
RG13
RG12
RG14
RE1
RE0
RA7
RA6
RG0
RG1
RF1
RF0
VCC
VCAP
RD7
RD6
RD5
RD4
RD13
RD12
RD3
RD2
RD1
U1
R30
20
R31
20
R27
10
C15
C16
C14
10nF
10nF
47nF
9. USB-UART connection
Mikromedia contains a USB MINI-B
connector which is positioned next
to the battery connector. FT232RL
USB-UART IC enables you to implement
UART serial communication functionality via
USB cable, since dsPIC33FJ256GP710A does
not support USB protocol.
Figure 9-1:
Connecting
USB cable to
programming
connector
note
Before connecting the board, make sure that you have FTDI drivers installed
on your computer. Tx/Rx LED flashes when USB and controller communicate.
Page 32
E9
10uF
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
VCC-3.3
dsPIC33FJ256GP710A
GND
SOSCO/RC14
SOSCI/RC13
RD0
RD11
RD10
RD9
RD8
RA15
RA14
GND
CLKO/RC15
CLKI/RC12
VCC
RA5
RA4
RA3
RA2
SCL1/RG2
SDA1/RG3
SCK1/RF6
SDI1/RF7
SDO1/RF8
U1RX/RF2
U1TX/RF3
MCU-RX
MCU-TX
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
RB6/PGEC1
RB7/PGED1
RA9/VrefRA10/Vref+
AVCC
AGND
RB8/AN8
RB9/AN9
RB10/AN10
RB11
GND
VCC
RA1
RF13
RF12
RB12
RB13
RB14
RB15
GND
VCC
RD14
RD15
RF4
RF5
RG15
VCC
RE5
RE6
RE7
RC1
RC2
RC3
RC4
RG6/SCK2
RG7/SDI2
RG8/SDO2
MCLR
RG9
GND
VCC
RA0
RA12
RA13
RB5
RB4
RB3
RB2/AN2
RB1
RB0
C31
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
22pF
SOSCO
SOSCI
VCC-3.3
32.768KHz
X3
C30
MCU-RX
22pF
C2
MCU-TX
22pF
CLKO
CLKI
8MHz
X1
C1
22pF
VCC-3.3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
U4
TXD
DTR#
RTS#
VCCIO
RXD
RI#
GND
NC
DSR#
DCD#
CTS#
CBUS4
CBUS2
CBUS3
FT232RL
RE4
RE3
RE2
RG13
RG12
RG14
RE1
RE0
RA7
RA6
RG0
RG1
RF1
RF0
VCC
VCAP
RD7
RD6
RD5
RD4
RD13
RD12
RD3
RD2
RD1
U1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
FT232RL
VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3
E8
C5
C6
C7
C8
10uF
100nF
100nF
100nF
100nF
decoupling capacitors
Figure 9-2: USB module connection schematics
Page 33
OSCO
OSCI
TEST
AGND
NC
CBUS0
CBUS1
GND
VCC
RESET#
GND
3V3OUT
USBDM
USBDP
R53
220
28
27
26
25
24
23
22
21
20
19
18
17
16
15
LD3
TX/RX
VCC-USB
R51
4K7
CN3
FP2
FERRITE
USBDM
USBDP
C36
100nF
C34
100nF
R52
10K
C28
10nF
1
2
3
4
5
VBUS
DD+
ID
GND
USB MINIB
10. Accelerometer
Figure 10-1:
Accelerometer
module
On board ADXL345 accelerometer is used to
measure acceleration in three axes: x, y and z. The
accelerometer’s function is defined by the user in the
program loaded into the microcontroller. Communication
between the accelerometer and the microcontroller is
performed via the I2C interface.
You can set the accelerometer address to 0 or 1 by re-soldering
the SMD jumper (zero-ohm resistor) to the appropriate position.
Jumper is placed in address 1 position by default.
Page 34
E9
VCC-3.3
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
10uF
VCC-3.3
R12
10K
SCL1-RG2
R13
10K
VCC-3.3
22pF
CLKO
CLKI
8MHz
X1
13
SDA1-RG3
12 ACC ADDRESS
11
10
VCC-3.3
9
8
SDA
ADD
Res
NC
INT2
INT1
ADXL345
VCC-3.3
VCC-3.3
J1
C1
C33
100nF
22pF
SCL1-RG2
SDA1-RG3
VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3
E8
C5
C6
C7
C8
10uF
100nF
100nF
100nF
100nF
decoupling capacitors
VREF-1.8
Figure 10-2: Accelerometer connection schematic
Page 35
C32
100nF
3
VCC
GND
Res
GND
GND
VCC
2
22pF
C2
1
U9
1
2
3
4
5
6
C30
SCL
32.768KHz
X3
14
22pF
SOSCO
SOSCI
CS
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
7
dsPIC33FJ256GP710A
GND
SOSCO/RC14
SOSCI/RC13
RD0
RD11
RD10
RD9
RD8
RA15
RA14
GND
CLKO/RC15
CLKI/RC12
VCC
RA5
RA4
RA3
RA2
SCL1/RG2
SDA1/RG3
SCK1/RF6
SDI1/RF7
SDO1/RF8
U1RX/RF2
U1TX/RF3
RB6/PGEC1
RB7/PGED1
RA9/VrefRA10/Vref+
AVCC
AGND
RB8/AN8
RB9/AN9
RB10/AN10
RB11
GND
VCC
RA1
RF13
RF12
RB12
RB13
RB14
RB15
GND
VCC
RD14
RD15
RF4
RF5
RG15
VCC
RE5
RE6
RE7
RC1
RC2
RC3
RC4
RG6/SCK2
RG7/SDI2
RG8/SDO2
MCLR
RG9
GND
VCC
RA0
RA12
RA13
RB5
RB4
RB3
RB2/AN2
RB1
RB0
C31
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
RE4
RE3
RE2
RG13
RG12
RG14
RE1
RE0
RA7
RA6
RG0
RG1
RF1
RF0
VCC
VCAP
RD7
RD6
RD5
RD4
RD13
RD12
RD3
RD2
RD1
U1
11. Flash memory
Figure 11-1:
Flash memory module
Since multimedia applications are getting increasingly
demanding, it is necessary to provide additional memory
space to be used for storing more data. The flash memory module
enables the microcontroller to use additional 8Mbit flash memory. It is
connected to the microcontroller via the Serial Peripheral Interface (SPI).
Page 36
E9
10uF
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
VCC-3.3
dsPIC33FJ256GP710A
RB6/PGEC1
RB7/PGED1
RA9/VrefRA10/Vref+
AVCC
AGND
RB8/AN8
RB9/AN9
RB10/AN10
RB11
GND
VCC
RA1
RF13
RF12
RB12
RB13
RB14
RB15
GND
VCC
RD14
RD15
RF4
RF5
SOSCO
SOSCI
22pF
X3
32.768KHz
C30
22pF
C2
CLKO
CLKI
VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3
22pF
X1
8MHz
C6
C7
C8
100nF
100nF
100nF
VCC-3.3
R48
10K
Figure 11-2: Flash memory module connection schematic
Page 37
C5
100nF
decoupling capacitors
22pF
RD14
RD15
MCU-RX
MCU-TX
T-D1
RF13
RF12
LCD-YU
LCD-XL
SD-CD#
LCD-RS
VREF-1.8
E8
10uF
C1
FLASH-CS#
MISO2-RG7
RB8
RB9
LCD-YD
LCD-XR
27
GND
SOSCO/RC14
SOSCI/RC13
RD0
RD11
RD10
RD9
RD8
RA15
RA14
GND
CLKO/RC15
CLKI/RC12
VCC
RA5
RA4
RA3
RA2
SCL1/RG2
SDA1/RG3
SCK1/RF6
SDI1/RF7
SDO1/RF8
U1RX/RF2
U1TX/RF3
C31
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
27
RG15
VCC
RE5
RE6
RE7
RC1
RC2
RC3
RC4
RG6/SCK2
RG7/SDI2
RG8/SDO2
MCLR
RG9
GND
VCC
RA0
RA12
RA13
RB5
RB4
RB3
RB2/AN2
RB1
RB0
PGC1
PGD1
FLASH-CS#
R5
SCK2-RG6
MISO2-RG7
MOSI2-RG8 R4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
RE4
RE3
RE2
RG13
RG12
RG14
RE1
RE0
RA7
RA6
RG0
RG1
RF1
RF0
VCC
VCAP
RD7
RD6
RD5
RD4
RD13
RD12
RD3
RD2
RD1
U1
VCC-3.3
C37
VCC-3.3
1
2
3
4
100nF
U10
CS
SDO
WP
GND
M25P80
VCC
HOLD
SCK
SDI
8
7
6
5
SCK2-RG6
MOSI2-RG8
12. Pads
E9
RD3
RD2
RD1
RD6
RD5
RD4
RF1
RF0
RG0
10uF
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
VCC-3.3
RX
TX
SCL
S DA
L
R
RD0
RD1
RD2
RD3
RD4
RD5
RD8
RD9
RD14
RD15
RD6
RC2
RF12
RF13
RF0
RF1
RX1-RF2
TX1-RF3
SCL1-RG2
SDA1-RG3
VCC-3.3
RC2
R5
SCK2-RG6
MISO2-RG7
MOSI2-RG8 R4
RST
R7
RA12
RA13
RB5
RB4
RB3
RB2
RB1
27
27
100
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
RG15
VCC
RE5
RE6
RE7
RC1
RC2
RC3
RC4
RG6/SCK2
RG7/SDI2
RG8/SDO2
MCLR
RG9
GND
VCC
RA0
RA12
RA13
RB5
RB4
RB3
RB2/AN2
RB1
RB0
dsPIC33FJ256GP710A
GND
SOSCO/RC14
SOSCI/RC13
RD0
RD11
RD10
RD9
RD8
RA15
RA14
GND
CLKO/RC15
CLKI/RC12
VCC
RA5
RA4
RA3
RA2
SCL1/RG2
SDA1/RG3
SCK1/RF6
SDI1/RF7
SDO1/RF8
U1RX/RF2
U1TX/RF3
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
M1X26
RG15
RB6/PGEC1
RB7/PGED1
RA9/VrefRA10/Vref+
AVCC
AGND
RB8/AN8
RB9/AN9
RB10/AN10
RB11
GND
VCC
RA1
RF13
RF12
RB12
RB13
RB14
RB15
GND
VCC
RD14
RD15
RF4
RF5
PWM
RST
RE4
RE3
RE2
RG13
RG12
RG14
RE1
RE0
RA7
RA6
RG0
RG1
RF1
RF0
VCC
VCAP
RD7
RD6
RD5
RD4
RD13
RD12
RD3
RD2
RD1
U1
HDR2
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
HDR1
22pF
SOSCO
SOSCI
RD0
X3
RD10
RD9
RD8
RA15
RA14
22pF
CLKO
CLKI
X1
RD14
RD15
RF13
RF12
RB8
RB9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
RB1
RB2
RB3
RB4
RB5
RB8
RB9
RA12
RA13
RA14
RA15
RB6
RB7
SCK1-RF6
MISO1-RF7
MOSI1-RF8
RG15
RG0
RD10
SCK2-RG6
MISO2-RG7
MOSI2-RG8
22pF
C2
8MHz
C1
22pF
SCL1-RG2
SDA1-RG3
SCK1-RF6
MISO1-RF7
MOSI1-RF8
RX1-RF2
TX1-RF3
VCC-3.3
M1X26
VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3
10uF
PGC1
PGD1
32.768KHz
C30
C5
C6
C7
C8
100nF
100nF
100nF
100nF
E8
VREF-1.8
VCC-SYS
C31
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
decoupling capacitors
Pads HDR2
Pads HDR1
Figure 12-1: Pads connecting schematic
Most microcontroller pins are available for further connectivity via two 1x26 rows of
connection pads on both sides of the mikromedia board. They are designed to match
additional shields, such as Battery Boost shield, Gaming, PROTO shield and others.
Page 38
AN
INT
SCK
SDI
S DO
13. Pinout
5V power supply
Reference Ground
AN10
AN2/SS1/CN4
AN3/CN5
AN4/CN6
AN5/CN7
AN8
AN9
AN20/INT1
AN21/INT2
INT3
INT4
PGEC1/AN6/OCFA
PGED1/AN7
SCK1/INT0
SDI1
SPI1
SDO1
COFS
C2RX
IC3
SCK2/CN8
SDI2/CN9
SPI2
SDO2/CN10
3.3V power supply
Reference Ground
5V
GND
RB1
RB2
RB3
RB4
RB5
RB8
RB9
RA12
RA13
RA14
RA15
RB6
RB7
RF6
RF7
RF8
RG15
RG0
RD10
RG6
RG7
RG8
3.3V
GND
RST
GND
L
R
RD0
RD1
RD2
RD3
RD4
RD5
RD8
RD9
RD14
RD15
RD6
RC2
RF12
RF13
RF0
RF1
RF2
RF3
RG2
RG3
3.3V
GND
Reset pin
Reference Ground
left ch.
audio out
right ch.
OC1
OC2
OC3
OC4
OC5/CN13
OC6/CN14
IC1
IC2
IC7/U1CTS/CN20
IC8/U1RTS/CN21
OC7/CN15
AN17/T3CK/T6CK
U2CTS
U2RTS
C1RX
CAN
C1TX
U1RX
UART
U1TX
SCL1 I2C
SDA1
3.3V power supply
Reference Ground
Pin functions
Programming lines
Pin functions
Analog Lines
Interrupt Lines
SPI Lines
Page 39
I2C Lines
UART lines
PWM lines
Comparator lines
14. Dimensions
1.6
63
73.66
2900
4
157
63.5
2500
2.03
80
7.62
300
43.2
1700
50.2
1976
55.88
2200
60.45
2380
36.58
1440
8.89
350
7
276
81.15
3195
2.54
100
Legend
57.6
2268
3.2
126
69.3
2728
Page 40
2.67
105
15. mikromedia accessories
We have prepared a set of
extension boards pin-compatible
with your mikromedia, which
enable you to easily expand
your board’s basic functionality.
We call them mikromedia
shields. But we also offer other
accessories, such as Li-polymer
battery, stacking headers, wire
jumpers and more.
04
Gaming shield
01
Connect shield
02
BatteryBoost shield
03
PROTO shield
05
Li-Polimer battery
06
Wire Jumpers
07
Stacking headers
Page 41
What’s next?
You have now completed the journey through each and every feature of mikromedia for dsPIC33® board. You got to know its modules
and organization. Now you are ready to start using your new board. We are suggesting several steps which are probably the best way
to begin. Find useful projects and tutorials on the Libstock website (www.libstock.com). Join our Forum (www.mikroe.com/forum)
and get help from a large ecosystem of users.
Compiler
You still don’t have an appropriate compiler? Locate dsPIC® compiler that suits you best
on our site:
http://www.mikroe.com/dspic/compilers/
Choose between mikroC™, mikroBasic™ and mikroPascal™ and download fully functional
demo version, so you can begin building your first applications.
Visual TFT
Once you have chosen your compiler, and since you already got the board, you are ready to start writing your
first projects. Visual TFT software enables you to quickly create your GUI. It will automatically generate code
compatible with МikroElektronika compilers. Visual TFT is rich with examples, which are an excellent starting
point for your future projects. Download it from the link bellow:
http://www.mikroe.com/visualtft/
Page 42
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.
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.
TRADEMARKS
The MikroElektronika name and logo, mikroC™, mikroBasic™, mikroPascal™, mikroProg™, Ready™, MINI™, mikroBUS™, EasyPIC™, EasyMX™, 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 © 2014 MikroElektronika. All Rights Reserved.
Page 43
If you want to learn more about our products, please visit our website 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 www.mikroe.com/support
If you have any questions, comments or business proposals,
do not hesitate to contact us at [email protected]
mikromedia for dsPIC33 Manual
ver. 1.10c
0 100000 024614