Top Banner
OLIMEXINO-328 development board Users Manual All boards produced by Olimex are ROHS compliant Revision A, August 2011 Designed by OLIMEX Ltd, 2011 Page 1
14
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: arduino

OLIMEXINO-328 development board Users Manual

All boards produced by Olimex are ROHS compliant

Revision A, August 2011Designed by OLIMEX Ltd, 2011

Page 1

Page 2: arduino

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 hard-ware consists of a simple open hardware design for the Arduino board with an At-mel 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 + librar-ies), similar to C++ with some simplifications and modifications, and a Processing-based IDE.

The project began in Ivrea, Italy in 2005 to make a device for controlling student-built 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, mean-ing "strong friend". The English pronunciation is "Hardwin", a namesake of Ardu-ino 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.

Page 2

Page 3: arduino

BOARD FEATURES:

We enter in Arduino 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.

There are few thinks which we made better than the original Arduino design:

1. We allow the board to work at different frequencies with easily exchange of the quartz crystal.

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

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

4. The original Arduino design is not good for portable applications as con-sumes too much power with the linear vltage regulators, we put ULTRA LOW POWER voltage regulators and the consumption is only few microamps, which en-ables handheld and battery powered applications.

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

6. Our design can work both on 3.3V and on 5V which is selectable with switch.

7. Our board have UEXT connector which allow many existing modules like RF, ZIGBEE, GSM, GPS to be connected.

8. Our desing allow RTC - Real Time Clock.

9. We made our design noise immune, there are number of threads on Ardu-ino forum for problems with the RESET when board works with motors, this is be-cause Atmel recommendations were omited in the original design, we fixed this.

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 in-terference with them.

Page 3

Page 4: arduino

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

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 OLIMEXINO-328 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: You will need mini USB cable for connecting the board to PC. For programming – the cable you will need depends on the programmer/debugger you use. If you use AVR-ISP500, AVR-ISP500-TINY or AVR-ISP500-ISO, you will need USB A-B cable.

Hardware: Programmer/Debugger AVR-ISP500, AVR-ISP500-TINY, AVR-ISP500-ISO or other compatible programming/debugging tool.

Page 4

Page 5: arduino

SCHEMATIC:

Page 5

SIDE_WT CM-TR(3X4)

CE 100uF/35V/6.3x11m m/RM2.5

100nF

100nF

10uF/6.3V

10uF/6.3V

10nF

4.7n

F

100n

F

10uF/6.3V

100nF

100n

F

100n

F

100n

F10

0nF

100n

F10

0nF

39pF

39pF

10nF

820pF

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

10uF/6.3V

10uF/6.3V

2.2uF

2.2uF

2.2u

F

2.2u

F

NA

(PN

1X6)

NA

(PN

1X6)

NA

(PN

1X8)

NA

(PN

1X8)

D7:

Clo

se;D

10:O

pen

IRLM

L640

2

IRLM

L640

2

NA

(HR

1X6)

FB

/600

OH

M/1

206

(32

161

1C

-60

1)

22uH

/10%

/5m

A

CL1

0uH

SW

68

GR

EE

N(G

YX

-SD

-TC

0805

SG

C)

Clo

se

YE

LLO

W(G

YX

-SD

-TC

0805

SY

C)

DW

02R

VIN

VIN

+5V

+5V

+5V

+5V

+5V

VIN

GYX

-SD

-TC

0805

SUR

K(R

ED)

YD

J-11

36

Q16

.000

MH

z/H

C-4

9S/2

0pF/

20pp

m/P

TH

NA

0.47

R

0.47

R

3k/1

%

1k/1

%

0R(N

A)

0R(N

A)

330R

330R

NA

NA

NA

4.7k

330R

NA

330R

1k 1k

330R

10k

4.7k

4.7k

330R

4.7k

4.7k

10k

10k

0R(N

A)

15k

10k

SIDE_WT CM -T R(3X4)

Gre

en(0

603)

1N58

19S

1N5819S

1N58

19S

1N5819S

1N41

48/m

ini-m

elf

NA

(ZTL

431A

FTA

)

IS-1

390(

Def

ault:

5V

is c

lose

d)

Red

(060

3)

ATm

ega3

28P

-AU

FT23

2RL(

SS

OP

28)

MC

3306

3AD

R(S

O8)

MC

P738

12T-

420I

/OT

BH

10R

US

B-M

INI

Clo

se

DV

CC

3.3V

DV

CC

DV

CC

DV

CC

DV

CC

DV

CC

DV

CC

DV

CC

DV

CC

3.3V

3.3V

DV

CC

DV

CC

5V_U

SB

5V_U

SB

5V_U

SB

AV

CC

AV

CC

AV

CC

MC

P17

00T-

3302

E/M

B

NA

A0

A0

A1

A1

A2

A2

A3

A3

A4(

SD

A)

A4(

SD

A)

A4(

SD

A)

A5(

SC

L)

A5(

SC

L)

A5(

SC

L)

AR

EF

AR

EF

AR

EF

CTS C

TS

D0(

RX

D)

D0(

RX

D)

D0(

RX

D)

D0(

RX

D)

D1(

TXD

)

D1(

TXD

)

D1(

TXD

)

D1(

TXD

)

D2(

BU

T)

D2(

BU

T)

D2(

BU

T)

D3

D3

D4

D4

D5

D5

D6

D6

D7

D7

D7

D7

D8

D8

D9(

LED

2)

D9(

LED

2)

D9(

LED

2)

D10

(#S

S)

D10

(#S

S)

D10

(#S

S)

D11

(MO

SI)

D11

(MO

SI)

D11

(MO

SI)

D11

(MO

SI)

D12

(MIS

O)

D12

(MIS

O)

D12

(MIS

O)

D12

(MIS

O)

D13

(SC

K/L

ED

1)

D13

(SC

K/L

ED

1)

D13

(SC

K/L

ED

1)

D13

(SC

K/L

ED

1)

D13

(SC

K/L

ED

1)

DTR D

TR

DTR

GN

D

GN

D

RE

SE

T

RE

SE

T

RE

SE

T

RE

SE

T

RX

I RX

I

TXO TX

O

UE

XT_

CS

XTA

L1X

TAL2

A6

A7

3V3

5V A0

A1

A2

A3

A4

A5

AR

EF

D0

D1

D2

D3

D4

D5

D6

D7

D8

D9

D10

D11

D12

D13

GN

DG

ND

GN

D

ISP

1IS

P2

ISP

3IS

P4

ISP

5IS

P6

RS

T

VIN

BU

T

C1

C2

C3

C4

C5

C6

C7

C8

C9

C10

C11

C12

C13

C14

C15

C16

C17

C18

C19

C20

C21

C22

C23

C24

C25

C26

C27

1 2 3 4 5 6

CO

N1

1 2 3 4 5 6

CO

N2

1 2 3 4 5 6 7 8

CO

N3

1 2 3 4 5 6 7 8

CO

N4

12

3

D7/

D10

FET1

FET2

123456FT

DI_

BA

SIC

L1

L2

L3

LED

1

12

LED

1_E

LED

2

1 2

LIP

O_B

AT

PW

R

PW

R_J

Q1

Q2

R1

R2

R3

R4

R5

R6

R7

R8

R9

R10

R11

R12

R13

R14

R15

R16

R17

R18

R19

R20

R21

R22

R23

R24

R25

R26

R27

R28

R30

RS

T

RX

SD

1

SD2

SD

3

SD4

SD

5

SR

1

1 1

2 2

3 3

44

55

66

SW(3

.3V/

5V)

TX

AD

C6

19

AD

C7

22

AG

ND

21

AR

EF

20

AV

CC

18

GN

D3

GN

D5

INT0

/PC

INT1

8/P

D2

32

PC

0/A

DC

0/P

CIN

T823

PC

1/A

DC

1/P

CIN

T924

PC

2/A

DC

2/P

CIN

T10

25P

C3/

AD

C3/

PC

INT1

126

PC

4/A

DC

4/S

DA

/PC

INT1

227

PC

5/A

DC

5/S

CL/

PC

INT1

328

PC

6/#R

ES

ET/

PC

INT1

429

PC

INT0

/CLK

O/IC

P1/

PB

012

PC

INT1

/OC

1A/P

B1

13P

CIN

T2/#

SS

/OC

1B/P

B2

14P

CIN

T3/O

C2A

/MO

SI/P

B3

15P

CIN

T4/M

ISO

/PB

416

PC

INT6

/XTA

L1/T

OS

C1/

PB

67

PC

INT7

/XTA

L2/T

OS

C2/

PB

78

PC

INT1

9/O

C2B

/INT1

/PD

31

PC

INT2

0/X

CK

/T0/

PD

42

PC

INT2

1/O

C0B

/T1/

PD

59

PC

INT2

2/O

C0A

/AIN

0/P

D6

10P

CIN

T23/

AIN

1/P

D7

11

RX

D/P

CIN

T16/

PD

030

SC

K/P

CIN

T5/P

B5

17

TXD

/PC

INT1

7/P

D1

31

VC

C4

VC

C6

U1

#RE

SE

T19

3V3O

UT

17

AGND25

CB

US

023

CB

US

122

CB

US

213

CB

US

314

CB

US

412

CTS

#11

DC

D#

10D

SR

#9

DTR

#2

GND7

GND18

GND21

NC

18

NC

224

OS

CI

27

OS

CO

28

RI#

6

RTS

#3

RX

D5

TEST26

TXD

1

US

BD

M16

US

BD

P15

VC

C20

VC

CIO

4U

2 DC8

FB5

IS7 SC

1

SE

2TC

3

VCC6VSS

4

U3

CE

1

PR

OG

5

VB

AT

3V

DD

4

VS

S2

U4

12

34

56

78

910

UE

XT

D+D-

GN

D

GND1GND2

GND3GND4

ID

VB

USUS

B

12

US

B_R

ST

GN

D1

VIN

2

VO

UT

3

VR

1

X1-

1

X1-

2

9-30

VD

C

OLI

MEX

INO

-328

Rev

. B

DE

SIG

NE

D B

Y O

LIM

EX

LTD

, 201

1

http

://w

ww

.olim

ex.c

om/d

ev

POWER ANALOG DIGITAL DIGITALARDUINO: PLATFORM & CONNECTORS

ICSP

+

+

GS

D

G S

D

GND

0R

0R

0R

C AR

FT232RL

BATT

ER

YC

HA

RG

ER

USB

+ -

Bat

tery

Cha

rger

Page 6: arduino

BOARD LAYOUT:

POWER SUPPLY CIRCUIT:

OLIMEXINO-328 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 20 mA with all peripherals enabled

RESET CIRCUIT:OLIMEXINO-328 reset circuit includes R12 (4.7kΩ), R13 (330Ω), SD5

(1N4148), C7 (4.7nF), C8(100nF), jumper USB_RST, ATmega328P pin29 (PC6/3RESET/PCINT14) and RST button.

CLOCK CIRCUIT:

Quartz crystal Q1 16 MHz is connected to ATmega328P pin 7 (XTAL1) and pin 8 (XTAL2). Note that the crystal is on socket and can be changed to any value.

Page 6

Page 7: arduino

JUMPER DESCRIPTION:

USB_RSTThis jumper, when closed, enables USB autoreset function. After reset the bootloader is started and loads the program into the Flash. Default state is closed.

LED1_EThis jumper, when closed, connects LED1 to D13(SCK) line.Default state is closed.

D7/D10When this jumper is closed in position D7 – UEXT pin 10 (UEXT_CS) is connected to Atmega328P pin 11 (PD7) – signal D7, when this jumper is closed in position D10 - – UEXT pin 10 (UEXT_CS) is connected to Atmega328P pin 14 (PB2/#SS) – signal D10(3SS).Default state is closed in position D7.

INPUT/OUTPUT:

Status Led with name LED1 (green) connected via jumper LED1_E to ATmega328P pin 17 (SCK/PCINT5/PB5) – signal D13(SCK/LED1).

Status Led with name LED2 (yellow) connected to ATmega328P pin 13 (PCINT1/OC1A/PB1) – signal D9(LED2).

Status Led with name TX (red) indicates that there is transfer in the FTDI.

Status Led with name RX (green) indicates that there is transfer in the FTDI.

Power-on LED (red) with name PWR – this LED shows that the board is power supplied.

User button with name BUT connected to ATmega328P pin 32 (INT0/PCINT18/PD2) – signal D2(BUT).

User button with name RST connected to ATmega328P pin 29 (PC6/#RESET).

Switch with name SW(3.3V/5V) – selects between 3.3V and 5V power supply of the board.

Page 7

Page 8: arduino

EXTERNAL CONNECTORS DESCRIPTION:UEXT:

Pin # Signal Name

1 VCC

2 GND

3 D1(TXD)

4 D0(RXD)

5 A5(SCL)

6 A4(SDA)

7 D12(MISO)

8 D11(MOSI)

9 D13(SCK/LED1)

10 UEXT_#CS

PWR_J:

Pin # Signal Name

1 Power Input

2 GND

CON1 – POWER:

Pin # Signal Name

1 RESET

2 +3.3V

3 +5V

4 GND

5 GND

6 VIN

Page 8

Page 9: arduino

CON2 – ANALOG:

Pin # Signal Name

1 A0

2 A1

3 A2

4 A3

5 A4(SDA)

6 A5(SCL)

CON3 – DIGITAL:

Pin # Signal Name

1 D0(RXD)

2 D1(TXD)

3 D2(BUT)

4 D3

5 D4

6 D5

7 D6

8 D7

CON4 – DIGITAL:

Pin # Signal Name

1 D8

2 D9

3 D10(#SS)

4 D11(MOSI)

5 D12(MISO)

6 D13(SCK/LED1)

7 GND

8 AREF

Page 9

Page 10: arduino

LIPO_BAT:

Pin # Signal Name

1 VBAT

2 GND

USB:

Pin # Signal Name

1 +5V_VBUS (VCCINT)

2 USBDM

3 USBDP

4 Not connected

5 GND

ICSP:

Pin # Signal Name

1 D12(MISO)

2 VCC

3 D13(SCK/LED1)

4 D11(MOSI)

5 RESET

6 GND

Note, that there is no component mounted for this connector.

Page 10

Page 11: arduino

MECHANICAL DIMENSIONS:

Page 11

Page 12: arduino

AVAILABLE DEMO SOFTWARE:

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

Page 12

Page 13: arduino

ORDER CODE:

OLIMEXINO-328 - 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 13

Page 14: arduino

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 14