Pic32-Pinguino and Pic32-Pinguino-Otg Development Boards User's Manual
Pic32-Pinguino and Pic32-Pinguino-Otg Development Boards User's Manual
Pic32-Pinguino and Pic32-Pinguino-Otg Development Boards User's Manual
development boards
user's manual
All boards produced by Olimex are ROHS compliant
Page 2
BOARD FEATURES:
We entered the Arduino/MAPLE field 5 years after the introductions of the design,
and this allowed us to see and skip most of the errors the Arduino inventors did.
We had the possibility to read current customer feedback and to implement what
they wanted to see in the original Arduino.
1. The original Arduino/Maple uses linear power supply, this limits the in-
put voltage range. We designed the power supply to accept power in the 9 to 30V
DC range thus making it possible to take virtually any power supply adapter on the
market; this also enables application which are in industrial power supply 24VDC.
5. Our board has UEXT connector which allows many existing modules like
RF, ZIGBEE, GSM, GPS to be connected.
6. Our board has SD-MMC card for data logging.
7. Our board has USB-OTG hardware.
Page 3
16. 4 mount holes to make board attachment easier.
ELECTROSTATIC WARNING:
The PIC32-PINGUINO and PIC32-PINGUINO-OTG boards are shipped in
protective anti-static packaging. The boards must not be subject to high
electrostatic potentials. General practice for working with static sensitive devices
should be applied when working with these boards.
1. The type of the USB connector is different (mini USB vs mini USB OTG).
The main difference between PIC32-PINGUINO and PIC32-PINGUINO-OTG is the
USB connector. The first board has a standard USB connector that is configured as
a device which allows the board to communicate only with hosts. The PIC32-
PINGUINO-OTG can be configured either as a device or a host – which allows the
board to communicate with devices also – e.g. USB smartphones, keyboards, mice
etc.
Page 4
SCHEMATICS:
PIC32-PINGUINO
3.3V
3.3V_AVCC
R1 AREF
0R
VOLTAGE_REFERENCE U1
RESET
0R(NA)
PGED1/AN0/VREF+/CVREF+/PMA6/CN2/RB0
A[0..3] ARDUINO_PLATFORM
7 16 AREF
VIN 3.3V_AVCC #MCLR
56 PGEC1/AN1/VREF-/CVREF-/CN3/RB1
15 A0
VCAP/VDDCORE CON1
57 AN2/C2IN-/CN4/RB2
14 A1
ENVREG RESET
10 13 A2
AN3/C2IN+/CN5/RB3 1
VDD RST
26 12 A3
AN4/C1IN-/CN6/RB4 2
VDD 3.3V 3V3
R2 R3 38 AN5/C1IN+/VBUSON/CN7/RB5
11 +5V 3
VDD CON3-13 3.3V_AVCC 5V
NA NA 19 PGEC2/AN6/OCFA/RB6
17 PGEC2 4
AVDD GND
AREF PGED2/AN7/RB7
18 PGED2 5
33R CON3-20 GND
C1 C2 C3 C4 C5 C6 AN8/#U2CTS/C1OUT/RB8
21 R4 A4(SDA1) VIN 6
33R CON3-19 VIN
AN9/C2OUT/PMA7/RB9
22 R5 A5(SCL1)
CON3-18 NA
100nF 100nF 100nF 100nF 100nF 20 TMS/AN10/CVREFOUT/PMA13/RB10
23
AVSS A7 CON3-17 CON2
R6 9 TDO/AN11/PMA12//RB11
24 A6 +5V3.3V
VSS CON3-16 A0
NA 25 TCK/AN12/PMA11/RB12
27 1
VSS CON3-12 CON3-15 A1 A0
C 41 TDI/AN13/PMA10/RB13
28 VIN 2
SR1 VSS CON3-11 CON3-14 A2 A1
AN14/#U2RTS/PMALH/PMA1/RB14
29 D8 3
C7 A3 A2
R NA(AP431SA) AN15/OCFB/PMALL/PMA0/CN12/RB15
20pF Q8.000MHz/HC-49S/20pF/20ppm/PTH
39 30 D9 A4(SDA1) 4
Q1 OSC1/CLKI/RC12 A3
A 40 D0(RXD1),D1(TXD1),D2(BUT),D[3..7] 5
GND OSC2/CLKO/RC15 A5(SCL1) A4
R7 48 D2(BUT) 6
SOSCO/T1CK/CN0/RC14 A5
NA 47 D2(BUT)
OC1/INT0/RD0
46
C8 SOSCI/CN1/RC13 NA
20pF #U1RTS/OC2/RD1
49 LED2 D0(RXD1)
CON3-1 60 U1RX/OC3/RD2
50 D0(RXD1) CON4
C9 RE0/PMD0 D1(TXD1) D0(RXD1)
+5V 27pF CON3-2 D1(TXD1)
U1TX/OC4/RD3
61 51 1
RE1/PMD1 D2(BUT) D1(TXD1) D0
CON3-3 62 OC5/IC5/PMWR/CN13/RD4
52 D2(BUT) 2
Q2 RE2/PMD2 D3 D2(BUT) D1
CON3-4 63 PMRD/CN14/RD5
53 D3 3
D1 32.768 kHz/6pF RE3/PMD3 D4 D3 D2
CON3-5 64 CN15/RD6
54 D4 4
C10 RE4/PMD4 D5 D4 D3
27pF CON3-6 CN16/RD7 D5
USB_DEVICE
1 55 5
RE5/PMD5 D6 D5 D4
CON3-7 2 RTCC/IC1/INT1/RD8
42 D6 6
RE6/PMD6 D6 D5
3.3V CON3-8 3 #U1CTS/SDA1/IC2/INT2/RD9
43 A4(SDA1) 7
RE7/PMD7 D7 D6
NA(GPH127/SMT/02x10) SCL1/IC3/PMCS2/PMA15/INT3/RD10
GND 44 A5(SCL1) D7 8
D7
35 IC4/PMCS1/PMA14/INT4/RD11
45 D7
USB VUSB NA
USB_POWER 34
VBUS D- VBUS
D- 36 CON5
D- D+ D-/RG3 D8
D+ 37 RF0 58 1
D+ D+/RG2 1-2->close
D9 D8
RF1 59 2
ID D13(SCK/LED1) CON3-10 D10(#SS) D9
4 USBID/RF3
33 2
GND C11 C12
D12(MISO) RG6/SCK2/PMA5/CN8 CON3-9 D11(MOSI) 3 D10
5 SDA2/U2RX/PMA9/CN17/RF4
31 RX2
MINI-USB D11(MOSI) RG7/SDI2/PMA4/CN9 D10(#SS) D12(MISO) 4 D11
100nF 100nF SCL2/U2TX/PMA8/CN18/RF5
6
D10(#SS) 32 TX2 5
D13(SCK/LED1)
RG8/SDO2/PMA3/CN10 D12
C13 8 6
RG9/#SS2/PMA2/CN11 GND D13
10nF UEXT_#CS 7
AREF GND
8
AREF
PIC32MX440F256H-80I/PT NA
D8,D9(LED2),D10(#SS),D11(MOSI),D12(MISO),D13(SCK/LED1),UEXT_#CS 3.3V
RESET R833R
LEDS RESET
LED1_E
1 2 D13(SCK/LED1) LED2
3.3V 3.3V UEXT 3.3V 3.3V
PGED2
GND
VCC
PGEC2
PGD
Close PGC
PGM
R9 R10 R11 R12 R13 3.3V_AVCC
330R 330R UEXT
4.7k 4.7k 33k
1 2
TX2
3
A5(SCL1) 4 RX2
5
D12(MISO) 6 A4(SDA1) D11(MOSI)
LED1 LED2 VR2(3.3V)
7
D13(SCK/LED1) 8 D11(MOSI) UEXT_#CS
GREEN(GYX-SD-TC0805SGC) YELLOW(GYX-SD-TC0805SYC) NA(MCP1700T-3302E/MB)
9 10 UEXT_#CS
2
BH10R VIN
C14
NA(2.2uF)
VOUT 3
BUTTONS
1 C15 3.3V 3.3V
GND
VIN R14
X1-1 NA(2.2uF)
0.47R
R15
POWER_SUPPLY
D3 R16 R17
0.47R D2
PWR_J
4.7k 1N4148/mini-melf 4.7k
1N5819S/SS14
RESET D2(BUT)
+5V
YDJ-1136
RST BUT
9-30VDC
D4 VR1(3.3V) 3.3V_AVCC
C16 SC 1 MCP1700T-3302E/MB 3.3V
L1 5V
1N5819S/SS14
X1-2 3 SE 2 2
TC VIN
CL10uH SW68 D6 L2
NA 1N5819S/SS14
VOUT 3
C18
D5 Battery Charger FET1 C20
FB 5 R24
330R FB1206
1N5819S/SS14 +5V IRLML6402
R19 C21 R20
R18 +5V 1 NA(100nF)
3k/1% U3 GND 330R 4.7nF 330R
C24
MCP73812T-420I/OT R25
4.7k
4 VBAT
3 C19
U2 VDD
MC33063ADR(SO8) C29 2.2uF
CE 1
BATTERY
CHARGER
PROG
- 1
2 5 2
VSS C30 R22
R21
1k/1% 3.7V-LI_BAT 0R
2.2uF
PIC32-PINGUINO, board revsion B1
15k DW02R 0R(NA)
R23
appr. 70 mA charge current
www.OLIMEX.com
PIC32-PINGUINO-OTG
Designed by Olimex_LTD
3.3V
3.3V_AVCC
R1 AREF
0R
U1
A[0..3] ARDUINO_PLATFORM
0R(NA)
USB_OTG RESET
7
#MCLR
PGED1/AN0/VREF+/CVREF+/PMA6/CN2/RB0
16 AREF
56 PGEC1/AN1/VREF-/CVREF-/CN3/RB1
15 A0
VCAP/VDDCORE CON1
57 AN2/C2IN-/CN4/RB2
14 A1
ENVREG RESET
10 AN3/C2IN+/CN5/RB3
13 A2 3.3V_AVCC 1
VDD RST
26 AN4/C1IN-/CN6/RB4
12 A3 2
VDD CON3-20 3.3V 3V3
38 AN5/C1IN+/VBUSON/CN7/RB5
11 VBUSON +5V 3
VDD CON3-19 5V
19 PGEC2/AN6/OCFA/RB6
17 PGEC2 4
AVDD CON3-18 GND
PGED2/AN7/RB7
18 PGED2 5
33R CON3-17 GND
C1 C2 C6 AN8/#U2CTS/C1OUT/RB8
21 R4 33R A4(SDA1) +5V3.3V VIN 6
CON3-16 VIN
3.3V 10k R27 AN9/C2OUT/PMA7/RB9
22 R5 A5(SCL1)
CON3-15 NA
+5V 3.3V 10k R26 100nF 100nF 20 TMS/AN10/CVREFOUT/PMA13/RB10
23 VIN
U4 AVSS A7 CON3-14 CON2
9 TDO/AN11/PMA12//RB11
24
VSS A6 A0
8 OUT_A 1 25 TCK/AN12/PMA11/RB12
27 V_BAT 1
#ENA VSS CON3-12 A1 A0
7 IN 2 41 TDI/AN13/PMA10/RB13
28 D8_MMC_#SS 2
FLAG_A USB_FAULT VSS A2 A1
6 GND 3 AN14/#U2RTS/PMALH/PMA1/RB14
29 D9 3
FLAG_B C7 A3 A2
C31 5 OUT_B 4 20pF Q8.000MHz/HC-49S/20pF/20ppm/PTH
39 AN15/OCFB/PMALL/PMA0/CN12/RB15
30 USB_FAULT 4
#ENB GND OSC1/CLKI/RC12 A4(SDA1) A3
Q1 D0(RXD1),D1(TXD1),D2(BUT),D[3..7]
40 5
A5(SCL1)
OSC2/CLKO/RC15 A4
100nF LM3526M-L(SO8) 48 6
VBUSON SOSCO/T1CK/CN0/RC14 D2(BUT) A5
47 OC1/INT0/RD0
46 D2(BUT)
T1 10k
C8 SOSCI/CN1/RC13 NA
DTC114YKA
20pF #U1RTS/OC2/RD1
49 LED2
CON3-9 D0(RXD1)
CON3-1 60 U1RX/OC3/RD2
50 D0(RXD1) CON4
C9 RE0/PMD0 D1(TXD1) D0(RXD1)
+5V 27pF CON3-2 U1TX/OC4/RD3
D1(TXD1)
61 51 1
RE1/PMD1 D2(BUT) D1(TXD1) D0
CON3-3 62 OC5/IC5/PMWR/CN13/RD4
52 D2(BUT)
Q2 RE2/PMD2 D3 D2(BUT)2 D1
CON3-4 63 PMRD/CN14/RD5
53 D3 3
D1 RE3/PMD3 D4 D3 D2
CON3-5
32.768 kHz/6pF
64 CN15/RD6
54 D4 4
C10 RE4/PMD4 D5 D4 D3
27pF CON3-6 1 CN16/RD7
55 D5 5
RE5/PMD5 D6 D5 D4
CON3-7 2 RTCC/IC1/INT1/RD8
42 D6 6
RE6/PMD6 D6 D5
3.3V CON3-8 3 #U1CTS/SDA1/IC2/INT2/RD9
43 A4(SDA1) 7
RE7/PMD7 D7 D6
NA(GPH127/SMT/02x10) SCL1/IC3/PMCS2/PMA15/INT3/RD10
GND 44 A5(SCL1) D7 8
D7
35 IC4/PMCS1/PMA14/INT4/RD11
45 D7
USB VUSB NA
+5V_VBUS 34
VBUS D- VBUS
D- 36 CON5
D- D+ D-/RG3 D8_MMC_#SS
D+ 37 RF0 58 1
D+ D+/RG2 1-2->close D9 D8
USB_ID RF1 59 E_MEASUREMENT 2
ID D13(SCK/LED1) CON3-10 D10(#SS) D9
C13
C12 4 USBID/RF3
33 USB_ID 2 3
GND C11 D12(MISO) RG6/SCK2/PMA5/CN8 D11(MOSI) D10
5 SDA2/U2RX/PMA9/CN17/RF4
31 RX2 4
D11(MOSI) RG7/SDI2/PMA4/CN9 CON3-13 D10(#SS) D12(MISO) D11
USB-OTG 100nF 2.2uF 100nF SCL2/U2TX/PMA8/CN18/RF5
FB1
6
D10(#SS) 32 TX2 5
D13(SCK/LED1)
RG8/SDO2/PMA3/CN10 CON3-11 D12
8 6
FB0805/600R/200mA(201209-601)
RG9/#SS2/PMA2/CN11 GND D13
UEXT_#CS 7
AREF GND
8
AREF
PIC32MX440F256H-80I/PT NA
D8,D9(LED2),D10(#SS),D11(MOSI),D12(MISO),D13(SCK/LED1),UEXT_#CS 3.3V
RESET R833R
3.3V
LEDS SD/MMC
RESET
LED1_E
1 2 D13(SCK/LED1) LED2
3.3V 3.3V UEXT 3.3V 3.3V
R45 1M 2
D8_MMC_#SS
PGED2
GND
VCC
CD/DAT3/CS PGEC2
PGD
R46 10k 3
D11(MOSI)
Close CMD/DI PGC
6
VSS PGM
R9 R10 4
R11 R12 R13 VDD
330R 330R UEXT
5
D13(SCK/LED1)
4.7k 4.7k 33k CLK/SCLK
1 2 R47 100k 7
D12(MISO)
TX2 DAT0/DO
A5(SCL1)3 4 RX2 R48 100k 8
DAT1/RES
5
D12(MISO) 6 A4(SDA1) D11(MOSI) R49 100k 1
LED1 LED2 DAT2/RES
7
D13(SCK/LED1) 8 D11(MOSI) UEXT_#CS L3
GREEN(GYX-SD-TC0805SGC) YELLOW(GYX-SD-TC0805SYC) 9 10 UEXT_#CS CL470nH/0805/1.76R/250mA SD/MMC
BH10R C22 MICRO
47uF/6.3V/TANT
BUTTONS
3.3V 3.3V
VR2(3.3V)_A
VIN VOLTAGE_REFERENCE
X1-1 R14 NA(MCP1700T-3302E/MB) 3.3V_AVCC
VIN 3.3V_AVCC
POWER_SUPPLY
2
0.47R VIN
R15 VOUT 3
D3 R16 R17
0.47R C15 D2
PWR_J
C14 1 R2 R3 4.7k 1N4148/mini-melf 4.7k
GND
1N5819S/SS14
NA(2.2uF) NA NA
NA(2.2uF) AREF RESET D2(BUT)
+5V
YDJ-1136
RST BUT
9-30VDC
D4 VR1(3.3V)_D
3.3V_AVCC
C16 SC 1 MCP1700T-3302E/MB 3.3V R6
L1 5V
1N5819S/SS14
X1-2 3 SE 2 2 NA
TC VIN
CL10uH SW68 D6 L2 C
NA VOUT 3 SR1
C18 1N5819S/SS14
www.OLIMEX.com
BOARD LAYOUT:
Page 7
POWER SUPPLY CIRCUIT:
PIC32-PINGUINO/-OTG can take power supply from:
• + 5V from USB
RESET CIRCUIT:
PIC32-PINGUINO/-OTG reset circuit includes D2 (1N4148), R16 (4.7kΩ), R19 (330Ω), C21 (4.7nF),
PIC32MX440F256H pin 7 (#MCLR) and RESET button.
CLOCK CIRCUIT:
Quartz crystal Q1 8 MHz is connected to PIC32MX440F256H pin 39 (OSC1/CLKI/RC12) and pin 40
(OSC2/CLKO/RC15).
Quartz crystal Q2 32.768 kHz is connected to PIC32MX440F256H pin 47 (SOSCI/CN1/RC13) and pin
48 (SOSCO/T1CK/CN0/RC14).
Page 8
JUMPER DESCRIPTION:
LED1_E
This jumper, when closed, enables LED1.
Default state is closed.
G9/F0
This jumper, when is in position G9 – connects UEXT pin 10 (UEXT_#CS) to CON5
pin 3 (D10(#SS)) and when is on position F0 – connects UEXT pin 10 (UEXT_#CS) to
PIC32MX440F256H pin 58 (RF0).
Default state is in position F0.
INPUT/OUTPUT:
Status Led with name LED1 (green) connected via jumper LED1_E to
PIC32MX440F256H pin 4 (RG6) – signal D13(SCK/LED1).
Power-on LED (red) with name PWR_LED – this LED shows that the board is
power supplied.
Note that you should be careful with D2 signal on the digital connector since it
goes to two microcontroller pins.
Page 9
EXTERNAL CONNECTORS DESCRIPTION:
ICSP:
UEXT:
Page 10
CON1 – POWER:
CON2 – ANALOG:
PWR_JACK:
2 GND
Page 11
CON4 – DIGITAL:
CON5 – DIGITAL:
LI_BAT:
Page 12
USB-OTG (On-The-Go):
SD/MMC:
Note that it is present only in the PIC32-PINGUINO-OTG version
1 MCIDAT2
2 D8_MMC_#SS
3 D11(MOSI)
4 +3.3V
5 D13(SCK/LED1)
6 GND
7 D12(MISO)
8 MCIDAT1
9 Not connected
10 Not connected
11 Not connected
12 Not connected
Page 13
CON3:
Page 14
MECHANICAL DIMENSIONS:
The pictures show PIC32-PINGUINO-OTG. The dimensions are the same for PIC32-PINGUINO,
however the non-OTG version lacks MMC/SD card connector.
Page 15
AVAILABLE DEMO SOFTWARE:
https://www.olimex.com/Products/Duino/PIC32/PIC32-PINGUINO/
https://www.olimex.com/Products/Duino/PIC32/PIC32-PINGUINO-OTG/
Page 16
ORDER CODE:
PIC32-PINGUINO – fully assembled and tested board
PIC32-PINGUINO-OTG – fully assembled and tested board
How to order?
You can order to us directly or by any of our distributors.
Check our web https://www.olimex.com/ for more info.
Revision history:
Board's revision
Manual's revision
Page 18
© 2015 Olimex Ltd. Olimex®, logo and combinations thereof, are registered trademarks of Olimex
Ltd. Other product names may be trademarks of others and the rights belong to their respective
owners.
The information in this document is provided in connection with Olimex products. No license,
express or implied or otherwise, to any intellectual property right is granted by this document or
in connection with the sale of Olimex products.
The Hardware project is released under the Creative Commons Attribution-Share Alike 3.0 United
States License. You may reproduce it for both your own personal use, and for commertial use. You
will have to provide a link to the original creator of the project http://www.olimex.com on any
documentation or website.
You may also modify the files, but you must then release them as well under the same terms. Credit
can be attributed through a link to the creator website: http://www.olimex.com
It is possible that the pictures in this manual differ from the latest revision of the board.
The product described in this document is subject to continuous development and improvements. All
particulars of the product and its use contained in this document are given by OLIMEX in good faith.
However all warranties implied or expressed including but not limited to implied warranties of
merchantability or fitness for purpose are excluded. This document is intended only to assist the reader
in the use of the product. OLIMEX Ltd. shall not be liable for any loss or damage arising from the use
of any information in this document or any error or omission in such information or any incorrect use
of the product.
This evaluation board/kit is intended for use for engineering development, demonstration, or
evaluation purposes only and is not considered by OLIMEX to be a finished end-product fit for
general consumer use. Persons handling the product must have electronics training and observe good
engineering practice standards. As such, the goods being provided are not intended to be complete in
terms of required design-, marketing-, and/or manufacturing-related protective considerations,
including product safety and environmental measures typically found in end products that incorporate
such semiconductor components or circuit boards.
Olimex currently deals with a variety of customers for products, and therefore our arrangement with
the user is not exclusive. Olimex assumes no liability for applications assistance, customer product
design, software performance, or infringement of patents or services described herein.