Manual for the PIC32 Pinguino

Add to my manuals
16 Pages

advertisement

Manual for the PIC32 Pinguino | Manualzz
PIC32-PINGUINO 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.
Our board have UEXT connector which allow many existing modules like
RF, ZIGBEE, GSM, GPS to be connected.
6.
Our desing allow RTC - Real Time Clock.
7.
We made our design noise immune.
8.
We use separate voltage regulator for the Analog part, which allow the
ADC to be read correctly without the digital noise pickup.
9.
Optionally if someone need higher precision and temperature stability in
Analog reading we have provision on the board for Aref preciese source.
10.
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.
11.
All components are LOWER than the connectors, so the shields do not interference with them.
12.
mini USB connector is used which is common and used in most cell phones,
so you do not have to buy other cables
13.
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.
14.
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.
15.
4 mount holes make board attachment easier
Page 4
ELECTROSTATIC WARNING:
The PIC32-PINGUINO 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
A
C
SR1
NA(AP431SA)
USB
GND3
GND4
2
Page 6
C16
3
6
VCC
TC
VSS
4
5
1
2
MC33063ADR(SO8)
U2
FB
SC
SE
DC
IS
X1-2
NA
0 .47R
0.47R
R15
8
7
YDJ-1136
9-30VDC
1N5819S/SS14
D3
L1
1N5819S/SS14
D5
CL10uH SW68
5V
D4
C18
R21
1k/1%
R18
3k/1%
1N5819S/SS14
R24
330R
C24
+5V
1
3
5
7
9
2
4
6
8
10
BH10R
UEXT
RX2
A4(SDA1)
D11(MOSI)
UEXT_#CS
R12
4.7k
C29
+ 10V/ 6.3x11mm/RM2. 5
CE 470uF/
C17 100nF
C23 820pF
+
CE 100uF/35 V/6.3x1 1m m /RM 2.5
10uF/6.3V
appr. 70 mA charge current
15k
VSSPROG
5
1
C30
2.2uF
FET1
IRLML6402
1
2
D6
1N5819S/SS14
C19
2.2uF
3.7V-LI_BAT
DW02R
-
+
R23
2
4 .7k
BATTERY CE
CHARGER
3
4
VDDVBAT
R25
+5V
MCP73812T-420I/OT
U3
Battery Charger
+5V
RX2
TX2
D11 (MOSI)
UEXT_#CS
R13
33k
3.3V 3.3V
58
59
33
31
32
CO N3-10
CO N3-9
D7
2
1-2->close
D10(#SS)
2.2uF
C14
1
2
1
2
GND
VOUT
VIN
3
MCP1700T-3302E/MB
3
VR1(3.3V)
GND
VOUT
VIN
MCP1700T-3302E/MB
VR2(3.3V)
NA
L2
0R(NA)
0R
R22
2.2uF
C15
3.3V
3.3V_AVCC
3.3V_AVCC
UEXT_#CS
D8,D9(LED2),D10(#SS),D11(MO SI),D12(MISO ),D13(SCK/LED1),UEXT_#CS
PIC32-PINGUINO REV.B
DESIGNED BY OLIMEX LTD, 2011
http://www.olimex.com/dev
POWER_SUPPLY
TX2
A5(SCL1 )
D12(MISO )
D13 (SCK/LED1)
R11
4.7k
UEXT
RF0
RF1
USBID/RF3
SDA2/U2RX/PMA9/CN17/RF4
SCL2/U2TX/PMA8/CN18/RF5
D2(BUT)
D0(RXD1)
D1(TXD1)
D2(BUT)
D3
D4
D5
D6
D0(RXD1)
D1(TXD1)
D2(BUT)
D3
D4
D5
D6
D7
A0
A1
A2
A3
A4(SDA1)
A5(SCL1)
R19
330R
RST
R16
4.7k
3.3V
NA
RESET
1
2
3
4
5
6
7
8
33R
PG ED2
PG EC2
R8
CO N5
NA
1
2
3
4
5
6
7
8
NA
CO N4
1
2
3
4
5
6
NA
CO N2
1
2
3
4
5
6
CO N1
RESET
VCC
GND
PGD
PGC
PGM
D8
D9
D10
D11
D12
D13
GND
AREF
D0
D1
D2
D3
D4
D5
D6
D7
A0
A1
A2
A3
A4
A5
RST
3V3
5V
GND
GND
VIN
1N4148/mini-melf
D2
C21
4.7nF
RESET
R20
330R
BUT
C20
100nF
D2(BUT)
R17
4.7k
3.3V
BUTTONS
3.3V
D8
D9
D10(#SS)
D11(MO SI)
D12 (MISO )
D13(SCK/LED1 )
G ND
AREF
VIN
RESET
ARDUINO: PLATFORM & CONNECTORS
PW R_J
R14
LED2
YELLO W(G YX-SD-TC0805SYC)
R10
330R
LED2
3.3V
PIC32MX4 40F256H-80I/PT
RG6/SCK2/PMA5/CN8
RG7/SDI2/PMA4/CN9
RG8/SDO2/PMA3/CN10
RG9/#SS2/PMA2/CN11
VUSB
VBUS
D-/RG3
D+/RG2
D2(BUT)
LED2
D0(RXD1)
D1(TXD1)
D2(BUT)
D3
D4
D5
D6
A4(SDA1)
A5(SCL1 )
D7
46
49
50
51
52
53
54
55
42
43
44
45
D0(RXD1),D1(TXD1),D2(BUT),D[3..7]
CO N3-2 0
CO N3-19
CO N3-1 8
CO N3-17
CON3-16
CO N3-15
CO N3-14
+5V
3 .3V
ARDUINO_PLATFORM
ICSP
VIN
LED1
G REEN(G YX-SD-TC08 05SG C)
D13(SCK/LED1)
3.3V
4
5
6
8
35
34
36
37
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
33R A4(SDA1)
33R A5(SCL1)
A7
3 .3V
A6
+5V
CO N3-12
CO N3-11
VIN
PG EC2
PG ED2
R4
R5
3.3V_AVCC
A[0..3]
DIGITAL
Close
R9
330R
1
100nF
100nF
D13(SCK/LED1)
D12(MISO)
D11 (MOSI)
D10(#SS)
DD+
NA(GPH127/SMT/02x10)
RE0/PMD0
RE1/PMD1
RE2/PMD2
RE3/PMD3
RE4/PMD4
RE5/PMD5
RE6/PMD6
RE7/PMD7
CO N3-13
D8
D9
AREF
A0
A1
A2
A3
16
15
14
13
12
11
17
18
21
22
23
24
27
28
29
30
3
LEDS
C12
1N5819S/SS14
C11
3.3V
27pF
60
61
62
63
64
1
2
3
OSC1/CLKI/RC12
OSC2/CLKO/RC15
SOSCO/T1CK/CN0/RC14
SOSCI/CN1/RC13
AVSS
VSS
VSS
VSS
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
AREF
G9/F0
L ED1_ E
C10
G ND
Q2
27pF
CO N3-1
CO N3-2
CO N3-3
CON3-4
CO N3 -5
CON3-6
CO N3-7
CO N3-8
39
40
48
47
Q8.000MHz/HC-49S/20pF/20ppm/PTH
C6
20
9
25
41
C5
100nF
100nF
Q1
20pF
3 2 .7 6 8 kHz/6 p F
C9
C8
20pF
100nF
C4
#MCLR
VCAP/VDDCORE
ENVREG
VDD
VDD
VDD
AVDD
0R
R1
0R(NA)
1
MINI-USB
C13
10nF
D1
+5V
100nF
100nF
C7
C3
C2
7
56
57
10
26
38
19
U1
DIGITAL
X1-1
GND1
GND2
VBUS
DD+
ID
GND
USB_PO WER
DD+
+
USB
10uF/6.3V T ANT
G ND
C1
RESET
3.3V_AVCC
ANALOG
USB_DEVICE
R
R3
NA
AREF
3.3V_ AVCC
3.3V
POWER
R7
NA
R6
NA
R2
NA
VIN
VOL TAG E_REFERENCE
SCHEMATIC:
SW-SIDE_WT CM -T R(3 X4)
SW-SIDE_WT CM -T R(3 X4)
C28 10nF
C27 10uF/6.3V
C26 10uF/6.3V
C25 100nF
RED(GYX-S D-T C0805SGC)
2.2uF
PWR_LED
BOARD LAYOUT:
POWER SUPPLY CIRCUIT:
PIC32-PINGUINO 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 60 mA with all peripherals
enabled.
RESET CIRCUIT:
PIC32-PINGUINO reset circuit includes D2 (1N4148), R16 (4.7kΩ), R19
(330Ω), C21 (4.7nF), PIC32MX440F256H pin 7 (#MCLR) and RESET button.
Page 7
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).
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 8
EXTERNAL CONNECTORS DESCRIPTION:
ICSP:
Pin #
Signal Name
1
RESET
2
+3.3V
3
GND
4
PGED2
5
PGEC2
6
Not connected
UEXT:
Pin #
Signal Name
1
+3.3V
2
GND
3
TX2
4
RX2
5
A5(SCL1)
6
A4(SDA1)
7
D12(MISO)
8
D11(MOSI)
9
D13(SCK/LED1)
10
UEXT_#CS
Page 9
CON1 – POWER:
Pin #
Signal Name
1
RESET
2
+3.3V
3
+5V
4
GND
5
GND
6
VIN
CON2 – ANALOG:
Pin #
Signal Name
1
A0
2
A1
3
A2
4
A3
5
A4(SDA1)
6
A5(SCL1)
PWR_JACK:
Pin #
Signal Name
1
Power Input
2
GND
Page 10
CON4 – DIGITAL:
Pin #
Signal Name
1
D0(RXD1)
2
D1(TXD1)
3
D2(BUT)
4
D3
5
D4
6
D5
7
D6
8
D7
CON5 – DIGITAL:
Pin #
Signal Name
1
D8_MMC_#SS
2
D9
3
D10(#SS)
4
D11(MOSI)
5
D12(MISO)
6
D13(SCK/LED1)
7
GND
8
AREF
LI_BAT:
Pin #
Signal Name
1
VBAT
2
GND
Page 11
MINI-USB:
Pin #
Signal Name
1
USB_POWER
2
D-
3
D+
4
Not connected
5
GND
CON3:
Pin #
Signal Name
Pin #
Signal Name
1
RE0
2
RE1
3
RE2
4
RE3
5
RE4
6
RE5
7
RE6
8
RE7
9
LED2
10
RF1
11
TX2
12
RB12
13
RX2
14
VIN
15
GND
16
+5V
17
+3.3V
18
GND
19
AGND
20
VDD
Note: This connector is not mounted on the board.
Page 12
MECHANICAL DIMENSIONS:
Page 13
AVAILABLE DEMO SOFTWARE:
The software consists of boot loader that runs on the board and a simple blinking
led project.
Page 14
ORDER CODE:
PIC32-PINGUINO-Rev. B - 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
Rev. B, March 2011
Manual's revision
- 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 15
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 16

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

Download PDF

advertisement