You are on page 1of 14

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

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.

Page 2

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

We allow the board to work at different frequencies with easily exchange of the quartz crystal. 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 making 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 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.

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

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

7. 8.

Our board have UEXT connector which allow many existing modules like RF, ZIGBEE, GSM, GPS to be connected. Our desing allow RTC - Real Time Clock.

9. We made our design noise immune, there are number of threads on Arduino forum for problems with the RESET when board works with motors, this is because 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 interference with them.

Page 3

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. Programmer/Debugger AVR-ISP500, AVR-ISP500-TINY, AVR-ISP500-ISO or other compatible programming/debugging tool. Hardware:

Page 4

5V_USB C17
G ND

DVCC 39pF NA Q2 Q1 39pF


Q16.000MHz/HC-49S/20pF/20ppm/PTH

L1 TXO R16 RXI R17 R5


0R

U2 1k D0(RXD) 1k D1(TXD) DVCC CO N1 RESET 3.3V +5V VIN U1 5V_USB TX R18 R19 RX FTDI_BASIC AREF
20 5 3 GND GND 4 6 VCC VCC

SCHEMATIC:

GND1 GND2

USB CTS DTR 0R(NA)

FB /6 00 O HM /1 20 6 (3 2 16 1 1 C -6 0 1)

4 20

VCCIO VCC

C18

USB
330R 10k Green(0603) 100nF 100nF Red(0603) C13 NA(PN1X6) CON2 C14
PCINT7/XTAL2/TOSC2/PB7 PCINT6/XTAL1/TOSC1/PB6 SCK/PCINT5/PB5 PCINT4/MISO/PB4 PCINT3/OC2A/MOSI/PB3 PCINT2/#SS/OC1B/PB2 PCINT1/OC1A/PB1 PCINT0/CLKO/ICP1/PB0 8 7 17 16 15 14 13 12

VBUS DD+ ID GND 1 2 3 4 5 6

16 15

USBDM USBDP

POWER

R20

4.7k

C10 100nF

FT232RL

GND3 GND4
CBUS0 CBUS1 CBUS2 CBUS3 CBUS4 23 22 13 14 12

USB-MINI

10uF/6.3V

C19 10nF

8 19 24 27 28

NC1 #RESET NC2 OSCI OSCO

TXD RXD RTS# CTS# DTR# DSR# DCD# RI#

1 5 3 11 2 9 10 6

C9
TEST GND GND

XTAL2 XTAL1 D13(SCK/LED1) D12(MISO) D11(MOSI) D10(#SS) D9(LED2) D8

RST 3V3 5V GND GND VIN

R30
AVCC R6
0R

10k
AREF

17

ANALOG

3V3OUT

GND AGND

C11
18 AVCC

A0 A1 A2 A3 A4(SDA) A5(SCL)

1 2 3 4 5 6

VIN
18 26 21

AVCC 0R(NA) C15 100nF


21 AGND

A0 A1 A2 A3 A4 A5

100nF

CTS DVCC TXO RXI DTR NA(HR1X6) D9(LED2) A6 A7


ADC6 ADC7 19 22

6 5 4 3 2 1

PC6/#RESET/PCINT14 PC5/ADC5/SCL/PCINT13 PC4/ADC4/SDA/PCINT12 PC3/ADC3/PCINT11 PC2/ADC2/PCINT10 PC1/ADC1/PCINT9 PC0/ADC0/PCINT8

29 28 27 26 25 24 23

RESET A5(SCL) A4(SDA) A3 A2 A1 A0

NA(PN1X6) CON3

R14 NA

R9 NA

FT232RL(SSOP28)

7 25

C16 100nF

DIGITAL

AREF

LED1_E

D13(SCK/LED1)

Close R15 330R ATmega328P-AU DVCC DVCC DVCC DVCC

R10 NA

PCINT23/AIN1/PD7 PCINT22/OC0A/AIN0/PD6 PCINT21/OC0B/T1/PD5 PCINT20/XCK/T0/PD4 PCINT19/OC2B/INT1/PD3 INT0/PCINT18/PD2 TXD/PCINT17/PD1 RXD/PCINT16/PD0

11 10 9 2 1 32 31 30

D7 D6 D5 D4 D3 D2(BUT) D1(TXD) D0(RXD)

D0(RXD) D1(TXD) D2(BUT) D3 D4 D5 D6 D7

1 2 3 4 5 6 7 8

SR1 NA(ZTL431AFTA) LED2 YELLOW(GYX-SD-TC0805SYC) D7 D7/D10


D7:Close;D10:Open

R8 330R

NA(PN1X8) CON4

D0 D1 D2 D3 D4 D5 D6 D7

ARDUINO: PLATFORM & CONNECTORS

R11 NA

LED1 GREEN(GYX-SD-TC0805SGC)

DIGITAL

R23 4.7k UEXT +5V D0(RXD) A4(SDA) D11(MOSI) UEXT_CS D7 1


2
3

R24 4.7k

R25 10k

DVCC D10(#SS)

D8 D9(LED2) D10(#SS) D11(MOSI) D12(MISO) D13(SCK/LED1) GND AREF NA(PN1X8) D12(MISO)

1 2 3 4 5 6 7 8

D8 D9 D10 D11 D12 D13 GND AREF

Page 5
1 D1(TXD) 3 A5(SCL) 5 D12(MISO) 7 D13(SCK/LED1) 9 2 4 6 8 10
G

+5V

ICSP

Battery Charger
3.3V BH10R
S D

D13(SCK/LED1) D11(MOSI) RESET GND

SD4 1N5819S

U4
2 VIN VOUT 1 GND 3

FET2 IRLML6402 VR1 MCP1700T-3302E/MB

ISP1 ISP2 ISP3 ISP4 ISP5 ISP6

C26

VDDVBAT

2.2uF

BATTERY CE CHARGER

VSSPROG

C27

LIPO_BAT

DVCC

2.2uF

1 2

MCP73812T-420I/OT

C24 2.2uF

+5V 5V_USB 3.3V

C25 2.2uF

R28

15k

DW02R

R21 4.7k +5V DVCC AVCC DVCC BUT D2(BUT)

VIN

R1

X1-1

SW(3.3V/5V)
6 5 4

0.47R R2
6 5 4

C12 L2
22uH/10%/5mA

SIDE_ WT CM-T R(3 X4 )

PWR_J
S D

SD1 1N5819S

0.47R

100nF

330R R22

R12 4.7k

SD5
1N4148/mini-melf

6
G

8 7

FET1 IRLML6402
3 2 1 3 2 1

YDJ-1136 9-30VDC L3 CL10uH SW68 SD3 1N5819S


+

DC IS

VCC

C1 C21 C22 R26 10k C23 R3 3k/1%

C2 100nF

X1-2 NA

TC

SC SE

1 2

SD2

C6 10nF

C3 100nF

1N5819S

SIDE_WT CM -T R(3X4)

C4 10uF/6.3V

C5 10uF/6.3V

VSS

FB

IS-1390(Default: 5V is closed)

RST PWR
GYX-SD-TC0805SURK(RED)

RESET C7 4.7nF

C8

100nF

USB_RST
1 2

DTR Close

10uF/6.3V

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

C20 820pF 10uF/6.3V


R4 1k/1%

U3 MC33063ADR(SO8)

330R R13

R7 330R

OLIMEXINO-328
R27
0R

CE 10 0u F/35 V/6 .3 x1 1m m /RM 2 .5

Rev. B 0R(NA) DESIGNED BY OLIMEX LTD, 2011 http://www.olimex.com/dev

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

JUMPER DESCRIPTION: USB_RST

This jumper, when closed, enables USB autoreset function. After reset the bootloader is started and loads the program into the Flash. Default state is closed. This jumper, when closed, connects LED1 to D13(SCK) line. Default state is closed.

LED1_E

D7/D10

When 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

EXTERNAL CONNECTORS DESCRIPTION: UEXT:


Pin # 1 2 3 4 5 6 7 8 9 10 Signal Name VCC GND D1(TXD) D0(RXD) A5(SCL) A4(SDA) D12(MISO) D11(MOSI) D13(SCK/LED1) UEXT_#CS

PWR_J:
Pin # 1 2 Signal Name Power Input GND

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

Page 8

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

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

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

Page 9

LIPO_BAT:
Pin # 1 2 Signal Name VBAT GND

USB:
Pin # 1 2 3 4 5 Signal Name +5V_VBUS (VCCINT) USBDM USBDP Not connected GND

ICSP:
Pin # 1 2 3 4 5 6 Signal Name D12(MISO) VCC D13(SCK/LED1) D11(MOSI) RESET GND

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

Page 10

MECHANICAL DIMENSIONS:

Page 11

AVAILABLE DEMO SOFTWARE:


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

Page 12

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 Manual's revision - Rev. B, 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 13

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

You might also like