You are on page 1of 18

PIC32-PINGUINO-OTG development board Users Manual

All boards produced by Olimex are ROHS compliant

Revision A, August 2011

Designed by OLIMEX Ltd, 2011

Page 1

INTRODUCTION:
What is Arduino?
Arduino is an open-source electronics prototyping platform, designed to make the process of using electronics in multidisciplinary projects more accessible. The hardware consists of a simple open hardware design for the Arduino board with an Atmel AVR processor and on-board I/O support. The software consists of a standard programming language and the boot loader that runs on the board. Arduino hardware is programmed using a Wiring-based language (syntax + libraries), similar to C++ with some simplifications and modifications, and a Processingbased IDE. The project began in Ivrea, Italy in 2005 to make a device for controlling studentbuilt interaction design projects less expensively than other prototyping systems available at the time. As of February 2010 more than 120,000 Arduino boards had been shipped. Founders Massimo Banzi and David Cuartielles named the project after a local bar named Arduino. The name is an Italian masculine first name, meaning "strong friend". The English pronunciation is "Hardwin", a namesake of Arduino of Ivrea More information could be found at the creators web page http://arduino.cc/ and in the Arduino Wiki http://en.wikipedia.org/wiki/Arduino To make the story short - Arduino is easy for the beginners with lack of Electronics knowledge, but also do not restrict the professionals as they can program it in C++ or mix of Arduino/C++ language. There are thousands of projects which makes the startup easy as there is barely no field where Arduino enthusiasts to have not been already. Arduino has inspired two other major derivates - MAPLE and PINGUINO. Based on 8-bit AVR technology the computational power of Arduino boards are modest, this is why team from MIT developed MAPLE project which is based on ARM7 STM32F103RBT6 microcontroller, the board have same friendly IDE as Arduino and offers the same capabilities as hardware and software but runs the Arduino code much faster. Maple project can be found at http://leaflabs.com In parallel with Arduino another project was started called PINGUINO. This project choose the first implementation to be with PIC microcontrollers, the reason was that AVRs were hard to find in some parts of the world like South America so you will see lot of PINGUINO developers are from there. PINGUINO project founders decided to go with Python instead Java for processing language. For the moment PINGUINO is much more flexible than Arduino as not limited to 8bit, currently the IDE which have GCC in background can support 8-bit PIC microcontrollers, 32bit PIC32 (MIPS) microcontrollers and ARM7/CORTEXM3 microcontrollers which makes PINGUINO very flexible as once you make your project you can migrate easily through different hardware platforms and not being connected

Page 2

to single microcontroller manufacturer. The PINGUINO project can be found at http://www.pinguino.cc

Page 3

BOARD FEATURES:
We enter in Arduino/MAPLE field 5 years after the design was introduced, and this allowed us to see and skip all 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.

Original Arduino/MAPLE uses linear power supply, this limits the input voltage range. We designed the power supply to accept power from 9 to 30V DC thus making possible to take virtually any power supply adapter on the market, also enable application which are in industrial power supply 24VDC.

2.

We carefully selected all components to work reliable in INDUSTIRAL temperature range -25+85C so the board can be used in INDUSTIRAL applications while the original design is to Commercial 0-70C operating temperature.

3.

The original Arduino/MAPLE design is not good for portable applications as consumes too much power with the linear vltage regulators, we put ULTRA LOW POWER voltage regulators and the consumption is only few microamps, which enables handheld and battery powered applications.

4.

We add Li-Ion rechargable battery power supply option with BUILD-IN on board charger, so when you attach battery it is automatically charged and kept in this state until the other power source (USB or external adapter) is removed and it AUTOMATICALLY will power the board - no jumpers, no switches!

5.
6. 7.

Our board have UEXT connector which allow many existing modules like RF, ZIGBEE, GSM, GPS to be connected. Our board have SD-MMC card for datalogging Our board have USB-OTG hardware Our desing allow RTC - Real Time Clock. We made our design noise immune.

8.
9.

10. We use separate voltage regulator for the Analog part, which allow the ADC to be read correctly without the digital noise pickup. 11. Optionally if someone need higher precision and temperature stability in Analog reading we have provision on the board for Aref preciese source. 12. The LEDs and the BUTTONs are on the edge of the board so there is easy access even if the boards have shields on them. 13. All components are LOWER than the connectors, so the shields do not interference with them. 14. mini USB connector is used which is common and used in most cell phones, so you do not have to buy other cables 15. Original Arduino design had flaw and the connectors were not spaced at 0.1" this make perfo board use impossible, to keep the compatibility we have same spacing but we add next to this connector on 0.1" which customer can use with perforated boards.

Page 4

16. All signals on the connectors are printed on top and on bottom of the board, so when you check with probe you know exactly which port you are measuring. 17. 4 mount holes make board attachment easier

ELECTROSTATIC WARNING:
The PIC32-PINGUINO-OTG board is shipped in protective anti-static packaging. The board must not be subject to high electrostatic potentials. General practice for working with static sensitive devices should be applied when working with this board.

BOARD USE REQUIREMENTS:


Cables: mini USB cable

Page 5

3.3V 3.3V_AVCC R1 U1 0R(NA) CO N1 3 .3V_AVCC 3.3V +5V VIN RESET


0R

AREF

A[0..3]

USB_OTG
RESET
#MCLR VCAP/VDDCORE ENVREG VDD VDD VDD AVDD 7 56 57 10 26 38 19

ARDUINO_PLATFORM
POWER

C1 C2 100nF 100nF 100nF 100nF 100nF C3 C4 C5 C6

SCHEMATIC:

10uF/6.3V T ANT

+5V
20 9 25 41 AVSS VSS VSS VSS
D0(RXD1),D1(TXD1),D2(BUT),D[3..7]

3.3V 3.3V

10k 10k

R27 R26 U4

AREF A0 A1 A2 A3 VBUSON PG EC2 PG ED2 R4 R5 CO N3-20 CO N3-19 CO N3-18 CO N3-17 CO N3 -16 CON3-15 CO N3-14 NA CON2
1 2 3 4 5 6 RST 3V3 5V GND GND VIN

C31
C7 20pF
Q8.000MHz/HC-49S/20pF/20ppm/PTH

8 7 6 5

OUT_A #ENA FLAG_A IN GND FLAG_B OUT_B #ENB

1 2 3 4

USB_FAULT Q1
C8 20pF

ANALOG

100nF D2(BUT) CO N3-9

LM3526M-L(SO8)

G ND

PGED1/AN0/VREF+/CVREF+/PMA6/CN2/RB0 PGEC1/AN1/VREF-/CVREF-/CN3/RB1 AN2/C2IN-/CN4/RB2 AN3/C2IN+/CN5/RB3 AN4/C1IN-/CN6/RB4 AN5/C1IN+/VBUSON/CN7/RB5 PGEC2/AN6/OCFA/RB6 PGED2/AN7/RB7 AN8/#U2CTS/C1OUT/RB8 AN9/C2OUT/PMA7/RB9 TMS/AN10/CVREFOUT/PMA13/RB10 TDO/AN11/PMA12//RB11 TCK/AN12/PMA11/RB12 TDI/AN13/PMA10/RB13 AN14/#U2RTS/PMALH/PMA1/RB14 AN15/OCFB/PMALL/PMA0/CN12/RB15

16 15 14 13 12 11 17 18 21 22 23 24 27 28 29 30

3.3V 33R A4(SDA1) +5V 33R A5(SCL1) A7 VIN A6 CON3-12 D8_MMC_#SS D9 USB_FAUL T A0 A1 A2 A3 A4(SDA1) A5(SCL1)
1 2 3 4 5 6

A0 A1 A2 A3 A4 A5

10k

VBUSO N
C9 27pF

39 40 48 47 OSC1/CLKI/RC12 OSC2/CLKO/RC15 SOSCO/T1CK/CN0/RC14 SOSCI/CN1/RC13

47k

T1 DTC114YKA

+5V Q2 3.3V G ND
NA(GPH127/SMT/02x10)

NA CO N4

DIGITAL

D1
3 2 .7 6 8 kHz/6 p F

C10

27pF

CON3-1 CO N3-2 CO N3-3 CO N3-4 CO N3-5 CON3-6 CO N3-7 CO N3 -8 D7


35 34 36 37 VUSB VBUS D-/RG3 D+/RG2

60 61 62 63 64 1 2 3 RE0/PMD0 RE1/PMD1 RE2/PMD2 RE3/PMD3 RE4/PMD4 RE5/PMD5 RE6/PMD6 RE7/PMD7

1N5819S/SS14

ARDUINO: PLATFORM & CONNECTORS

Page 6
PIC32MX440F256 H-80I/PT 3 .3V R45 R46 R12 4.7k R47 R48 R49 L3
CL470nH/0805/1.76R/250mA

LED1_E 1M D8_MMC_#SS 10k D11(MOSI)


D13(SCK/LED1) D12(MISO)

Close R9 330R R11 4.7k 100k 100k 100k UEXT R13 33k

LED1 G REEN(G YX-SD-TC0805SG C) D11(MO SI) UEXT_#CS BH10R

GND1 GND2

USB DD+

OC1/INT0/RD0 #U1RTS/OC2/RD1 U1RX/OC3/RD2 U1TX/OC4/RD3 OC5/IC5/PMWR/CN13/RD4 PMRD/CN14/RD5 CN15/RD6 CN16/RD7 RTCC/IC1/INT1/RD8 #U1CTS/SDA1/IC2/INT2/RD9 SCL1/IC3/PMCS2/PMA15/INT3/RD10 IC4/PMCS1/PMA14/INT4/RD11

46 49 50 51 52 53 54 55 42 43 44 45

D2(BUT) LED2 D0(RXD1) D1(TXD1 ) D2(BUT) D3 D4 D5 D6 A4(SDA1) A5(SCL1) D7 D0(RXD1) D1(TXD1) D2(BUT) D3 D4 D5 D6

D0(RXD1) D1(TXD1) D2(BUT) D3 D4 D5 D6 D7

1 2 3 4 5 6 7 8

NA CO N5

D0 D1 D2 D3 D4 D5 D6 D7

+5V_VBUS DD+ USB_ID

USB
G9/F0
C13
C12

VBUS DD+ ID GND

C11

CON3-10
1 3
2

1-2->close

DIGITAL

GND3 GND4
2.2uF
100nF

USB-OTG

FB1

100nF

FB 0 8 0 5 /6 0 0 R/2 0 0 m A (2 0 1 2 0 9 -6 0 1 )

D13(SCK/LED1) D12(MISO ) D11(MO SI) D10(#SS)


RG6/SCK2/PMA5/CN8 RG7/SDI2/PMA4/CN9 RG8/SDO2/PMA3/CN10 RG9/#SS2/PMA2/CN11

4 5 6 8

RF0 RF1 USBID/RF3 SDA2/U2RX/PMA9/CN17/RF4 SCL2/U2TX/PMA8/CN18/RF5

58 59 33 31 32

USB_ID RX2 TX2 CO N3-13 CON3-11 D10(#SS)

UEXT_#CS D8,D9(LED2),D10(#SS),D11(MO SI),D12(MISO ),D13(SCK/LED1),UEXT_#CS 3.3V

D8_MMC_# SS D9 D10(#SS) D11(MO SI) D12(MISO ) D13(SCK/LED1) G ND AREF 3.3V

1 2 3 4 5 6 7 8

NA RESET R8 33R PG ED2 PGEC2

D8 D9 D10 D11 D12 D13 GND AREF

LEDS
3 .3V

R10 330R

LED2 YELLO W (G YX-SD-TC0805SYC)

2 3 6 4 5 7 8 1
+

TX2 A5(SCL1) D12(MISO) D13(SCK/LED1)

1 3 5 7 9

2 4 6 8 10

RX2 A4(SDA1) D11(MOSI) UEXT_#CS

CD/DAT3/CS CMD/DI VSS VDD CLK/SCLK DAT0/DO DAT1/RES DAT2/RES

RESET VCC GND PGD PGC PGM

ICSP

D13(SCK/LED1)

LED2

UEXT
3 .3V 3 .3V

SD/MMC

C22 47uF/6.3V/TANT

SD/MMC MICRO

BUTTONS
3.3V 3.3V 3.3V_AVCC VO LTAGE_REFERENCE VIN 3.3V_AVCC
VIN VOUT 3

VIN

R14

X1-1

MCP1700T-3302E/MB

VR2(3.3V)_A

0.47R R15

PW R_J

D3

0.47R

C14 2.2uF

GND

C15 2.2uF VR1(3.3V)_D


2

1N5819S/SS14

R2 NA

PIC32-PINGUINO-OTG REV.C DESIGNED BY OLIMEX LTD, 2011 http://www.olimex.com/dev


+5V
1N5819S/SS14

R3 NA AREF

R16 4.7k

D2
1N4148/mini-melf

R17 4.7k RESET 3.3V_AVCC


MCP1700T-3302E/MB

D2(BUT) RST 3.3V BUT

8 7

YDJ-1136 9-30VDC D4
5V

DC IS

VCC

C16

3
+

X1-2 NA C18

TC

SC SE

1 2

L1

POWER_SUPPLY
Battery Charger
+5V U3
MCP73812T-420I/OT
1N5819S/SS14

CL10uH SW68

D6

VIN VOUT 3

R6 NA L2
1
C

SW-SIDE_WT CM -T R(3X4 )

SW-SIDE_WT CM -T R(3X4 )

C17 100nF
R18 3k/1%
4

VSS

FB

D5 R24 330R C24 +5V


3 1 5

1N5819S/SS14

IRLML6402

FET1

SR1 NA
GND
R A

NA(AP431SA)

CE 470uF/10V/6.3x11mm/RM2.5

C23 820pF
C29
VDDVBAT
BATTERY CE CHARGER

U2 MC33063ADR(SO8)

R25 4.7k

R7 NA

R19 330R

C21 4.7nF

R20 3 30 R

C20 1 00 nF

C25

C26

C27

C28

10uF/6.3V 2.2uF
2

C19 2.2uF

10nF

100nF

10uF/6.3V

10uF/6.3V

CE 100 uF/35V /6.3x1 1m m /RM 2.5

R21 1k/1%
VSSPROG

C30 15k

2.2uF

1 2

R22
0R

RED(GYX-SD-T C08 05SGC)

R23

3.7V-LI_BAT DW 02R

0R(NA)

PWR_LED

appr. 70 mA charge current

BOARD LAYOUT:

Page 7

POWER SUPPLY CIRCUIT:


PIC32-PINGUINO-OTG can take power supply from:

external power supply (9-30) VDC. + 5V from USB 3.7 V Li-ion battery

The programmed board power consumption is about 100 mA with all peripherals enabled.

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). Status Led with name LED2 (yellow) connected to PIC32MX440F256H pin 49 (#U1RTS/OC2/RD1). Power-on LED (red) with name PWR_LED this LED shows that the board is power supplied. User button with name BUT connected to PIC32MX440F256H pin 46 (OC1/INT0/RD0) and pin 52 (OC5/IC5/PMWR/CN13/RD4) signal D2(BUT). User button with name RST connected to PIC32MX440F256H pin 7 (#MCLR).

Page 9

EXTERNAL CONNECTORS DESCRIPTION: ICSP:


Pin # 1 2 3 4 5 6 Signal Name RESET +3.3V GND PGED2 PGEC2 Not connected

UEXT:
Pin # 1 2 3 4 5 6 7 8 9 10 Signal Name +3.3V GND TX2 RX2 A5(SCL1) A4(SDA1) D12(MISO) D11(MOSI) D13(SCK/LED1) UEXT_#CS

Page 10

CON1 POWER:
Pin # 1 2 3 4 5 6 Signal Name RESET +3.3V +5V GND GND VIN

CON2 ANALOG:
Pin # 1 2 3 4 5 6 Signal Name A0 A1 A2 A3 A4(SDA1) A5(SCL1)

PWR_JACK:
Pin # 1 2 Signal Name Power Input GND

Page 11

CON4 DIGITAL:
Pin # 1 2 3 4 5 6 7 8 Signal Name D0(RXD1) D1(TXD1) D2(BUT) D3 D4 D5 D6 D7

CON5 DIGITAL:
Pin # 1 2 3 4 5 6 7 8 Signal Name D8_MMC_#SS D9 D10(#SS) D11(MOSI) D12(MISO) D13(SCK/LED1) GND AREF

LI_BAT:
Pin # 1 2 Signal Name VBAT GND

Page 12

USB-OTG (On-The-Go):
Pin # 1 2 3 4 5 DD+ USB_ID GND Signal Name +5V_VBUS

SD/MMC:
Pin # 1 2 3 4 5 6 7 8 9 10 11 12 Signal Name MCIDAT2 D8_MMC_#SS D11(MOSI) +3.3V D13(SCK/LED1) GND D12(MISO) MCIDAT1 Not connected Not connected Not connected Not connected

Page 13

CON3:

Pin # 1 3 5 7 9 11 13 15 17 19

Signal Name RE0 RE2 RE4 RE6 LED2 TX2 RX2 GND +3.3V AGND

Pin # 2 4 6 8 10 12 14 16 18 20

Signal Name RE1 RE3 RE5 RE7 RF1 RB12 VIN +5V GND VDD

Note: This connector is not mounted on the board.

Page 14

MECHANICAL DIMENSIONS:

Page 15

AVAILABLE DEMO SOFTWARE:


The software consists of boot loader that runs on the board and a simple blinking led project.

Page 16

ORDER CODE:
PIC32-PINGUINO-OTG - assembled and tested board
How to order? You can order to us directly or by any of our distributors. Check our web www.olimex.com/dev for more info.

Revision history:
Board's revision Manual's revision Rev. C, March 2011 - Rev. A, August 2011 - At first page Copyright(c) 2011, OLIMEX Ltd, All rights reserved is replaces with Designed by OLIMEX Ltd., 2011 - In schematic COPYRIGHT(C) 2011, OLIMEX Ltd. replaced with DESIGNED BY OLIMEX LTD, 2011

Page 17

Disclaimer: 2011 Olimex Ltd. Olimex, logo and combinations thereof, are registered trademarks of Olimex Ltd. Other terms and product names may be trademarks of others. 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. Neither the whole nor any part of the information contained in or the product described in this document may be adapted or reproduced in any material from except with the prior written permission of the copyright holder. 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.

Page 18

You might also like