unicon_e

28
The next generation of ARDUINO LEONARDO compatible board ATmega32U4 microcontroller run with 16MHz and Arduino Leonardo boot loader. 32KB FLASH; Arduino Leonardo bootloader preinstalled, 2.5KB SRAM and 1KB EEPROM Direct USB download and communication. 25 Programmable I/O pins include 11 analog inputs. Available with 3-pin of 2mm. JST connectors and routed to 2.54mm. IDC female header 11 of 10-bit ADC channels UART, I 2 C bus and SPI Powered by 6 to 9V external power supply. Apply to DC adaptor jack and 2-pin terminal block POWER slide switch On-board +5V regulator circuit High-quality PCB with ROHS Measures approx. 9 x 5.8cm. USB LED, RESET and User button Technical features Download software, example code, library and documents at www.inexglobal.com Unicon

Upload: innovative-experiment-coltd

Post on 08-Mar-2016

222 views

Category:

Documents


6 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Unicon_E

Unicon board documentation 1

The next generation of ARDUINO LEONARDO compatible board

ATmega32U4 microcontroller

run with 16MHz and Arduino

Leonardo boot loader.

32KB FLASH; Arduino Leonardo

bootloader preinstalled, 2.5KB

SRAM and 1KB EEPROM

Direct USB download and

communication.

25 Programmable I/O pins

include 11 analog inputs.

Available with 3-pin of 2mm. JST

connectors and routed to

2.54mm. IDC female header

11 of 10-bit ADC channels

UART, I2C bus and SPI

Powered by 6 to 9V external

power supply. Apply to DC

adaptor jack and 2-pin terminal

block

POWER slide switch

On-board +5V regulator circuit

High-quality PCB with ROHS

Measures approx. 9 x 5.8cm.

USB LED, RESET and User button

Technical features

Download software, example

code, library and documents at

www.inexglobal.com

Unicon

Page 2: Unicon_E

2Unicon board documentation

1. Software and USB driver installation for Windows7

1.1 Installation

The software that comes with the UNicon board includes Arduino 1.0 software that

containing the driver and interfacing information of Unicon board with Arduino IDE, a library

file of the Unicon board named popxt.h or unicon.h and some example codes. The installation

procedure is as follows.

(1.1) Insert the DVD that comes with the Unicon board into the DVD-ROM drive of your

computer. Find and double-click the file arduino1.0.1release_setup120531.exe (or any similar

name). The Welcome window will appear, click on the Next button to install. Next, the windows

installer will ask where to install the program, click on the Next button to continue.

(1.2) the installer will ask for a name to be created at Start Menu, click on the Next

button. The installer will show the installation summary, click on the Install button to begin

installation. Installation will take some time, be patient ti allow the installation to finish.

Page 3: Unicon_E

Unicon board documentation 3

(1.3) Next, the USB device drivers installer window will appear. It is the pre-driver installer

of the Unicon board. Click on the Next button to continue.

(1.4) Click on the Install this driver software anyway box. The USB driver installation will

require you to click twice to continue. Make sure you click the Install this driver software

anyway box twice.

(1.5), The driver installation process takes place. Wait until the installation is complete.

It will appear that driver installation is complete and it will show the name of the installed

drivers at Arduino LLC. Click on the Finish button to finish the installation.

Page 4: Unicon_E

4Unicon board documentation

1.2 Upload testing

(1.2.1) Apply the +6V power supply to the Unicon board. Turn on power. Wait for a

few seconds and then plug in the USB-miniB cable to the Unicon board. The other end of the

USB cable plug into the USB port of your computer. This step is very important.

YOU MUST TURN ON THE POWER SUPPLY FIRST and WAIT A FEWSECONDS before connecting the USB cable. It will not work if these few

steps are not done properly.

Page 5: Unicon_E

Unicon board documentation 5

(1.2.2) After connecting the Unicon board to the USB port, the system will start to verify

your hardware. After this is done, check the connection by going to My Computer, click on

the right mouse button select Properties. Enter to Control panel and select Device Manager

(1.2.3) See the Ports listing, will find a list of Unicon & POP-XT (Caterina) boot mode

(COMxx) by the number of COM port could be changed on each computer. For eample is

COM26 Remember this COM port number as its required for operation with Arduino1.0.

Page 6: Unicon_E

6Unicon board documentation

(1.2.4) Open the Arduino 1.0x software. The connection between the Unicon board

and computer via USB port still exist.

(1.2.5) Choose the example sketch file for upload testing. For example, choose the

Blink31 file from File > Example > POP-BOT XT > Blink31

(1.2.6) Select the hardware by Tools > Board > Unicon board (Caterina).

(1.2.7) Select the COM port from Tools > Serial port > COMxxx . This example is COM3.

Page 7: Unicon_E

Unicon board documentation 7

(1.2.8) Upload the sketch file by clicking on the button or select menu File >

Upload

(1.2.9) Wait until the uploading finish. The status message; Done uploading is appeared

on the staus bar at the bottom of Arduino IDE window.

(1.2.10) After uploaded; the Unicon board run immediately. The LED at pin 31 is blinked.

(1.2.11) At the Device Manager window; the new hardware will be appeared. It is

Unicon Board & POP-XT (Caterina) Run mode (COMxx) . The number of COM port will be

changed to COM4. The next uploading requires the new port. User must check the port

availibility before uploading by using the Device Manager or check by menu Tools > Serial

port of Arduino IDE

Note : The USB driver installation of the Unicon board will generate2 COM ports that have number is consequently.

If user meet the uploading problem :

(1) Check the current COM port again or

(2) Remove the USB cable and plug again. Check the current COMport before uploading from Device manager or menu Tools > Serial portof Arduino IDE.

Page 8: Unicon_E

8Unicon board documentation

1.3 Troubleshooting if system cannot be find the driver ofUnicon board when change of USB port connection

After installing the USB drivers completed, user should continue to use the same USB

port. In case of any change to the USB port; there maybe a need to install new drivers which

may be different from the above explained normal steps.

If the system can not find drivers for the hardware interface. Follow the steps below.

(1.3.1) Open the Device Manager by clicking the right mouse button at the My

Computer and choose Properties. After that select the Device Manager. At the Device

Manager; found the device that has ! symbol in front. Click the right mouse button at that

device name and select to Update Driver

(1.3.2) The update driver window will appear. Choose the Browse my computer for

driver software option to locate the drivers manually.

Page 9: Unicon_E

Unicon board documentation 9

(1.3.3) Set the driver location to C:\Arduino\drivers\Unicon POP-XT Driver. Click on

the Next button to update the driver.

(1.3.4) System will warn about the safety of the drivers are installed. Select Install this

driver software anyway to confirm the installation.

(1.3.5) Windows will take a while to install the drivers. After which the Device Manager

window will display the device name; Unicon Board & POP-XT (Caterina) run mode (COMxx)

with the COM port number based on the registration of each computer.

The driver installtion requires many steps. Therefore, proper following of instructions is

required to reduce errors in this installation.

After the driver has been installed, the Unicon board is ready for programming.

Page 10: Unicon_E

10Unicon board documentation

2. Software and USB driver installation for Windows XP

2.1 Explanation :

The software and USB driver installtion of the Unicon boardt requires

many steps. Therefore, it is important that you follow closely the instructions

is this manual to avoid and unnescessary errors in this installation.

2.2 Software and USB driver installation

(2.2.1), Insert the DVD-ROM that comes with the Unicon board into the DVD-ROM drive

of your computer. Find and double-click the file arduino1.0.1release_setup120531.exe (or any

similar name). The Welcome window will appear, click on the Next button to install. Next, the

windows installer will ask where to install the program, click on the Next button to continue.

(2.2.2) the installer will ask for a name to be created at Start Menu, click on the Next

button. The installer will show the installation summary, click on the Install button to begin

installation. Installation will take some time, be patient ti allow the installation to finish.

Page 11: Unicon_E

Unicon board documentation 11

(2.2.3) Next, the USB device drivers installer window will appear. It is the pre-driver

installer of the Unicon board. Click on the Next button to continue.

(2.2.4), The driver installation process takes place. Wait until the installation is complete.

It will show that driver installation is complete and it will show the name of the installed

drivers at Arduino LLC. Click on the Finish button to finish the installation.

Page 12: Unicon_E

12Unicon board documentation

2.3 Upload testing and install the USB driver

Only the UNicon board USB driver installation process is different in Windows XP. The

procedures are as follows :

(2.3.1) Apply the +6V power supply to the Unicon board.

(2.3.2) Turn on power. Wait for a few seconds and then plug in the USB port of your

computer.

(2.3.3) After plugging the cable into the UNicon board; the computer detects new

hardware as a USB composite and ask for the location of the driver file to install. Click on the

Install from a list or specific location (Advanced) and click on the Next button to next step.

Page 13: Unicon_E

Unicon board documentation 13

(2.3.4) Choose the location as C:\Arduino\Drivers . Click on the Next button.

(2.3.5) The driver installation start. Wait until the installation is completed. Click on the

Finish button.

(2.3.6) Check the COM port number of Unicon board that is created by the driver

installtion at Control Panel > System > Hardware > Device Manager > Ports > Unicon Board &

POP-XT (COM xx). An example would be COM26

The installation for the USB drivers for Windows XP is

not complete as yet. There is still another procedure that

has to be done. Please ensure you finish all procedures

follow this.

Page 14: Unicon_E

14Unicon board documentation

(2.3.7) Open the Arduino 1.0x software. The connection between the Unicon board

and computer via USB port still exist.

(2.3.8) Choose the example sketch file for upload testing. For example, choose the

Blink31 file from File > Example > POP-BOT XT > Blink31

(2.3.9) Select the hardware by Tools > Board > Unicon board (Caterina).

(2.3.10) Select the COM port from Tools > Serial port > COMxxx . This example is

COM179.

(2.3.11) Upload the sketch file by clicking on the button or select menu File >

Upload

(2.3.12) Wait until the uploading finish. The status message; Done uploading is appeared

on the staus bar at the bottom of Arduino IDE window.

(2.3.13) After uploaded; the Unicon board will run immediately. The LED at pin 31 is

blinking. Now the first USB driver installation is completed.

Page 15: Unicon_E

Unicon board documentation 15

(2.3.14) Next, the computer detects new hardware and ask for the location of the

d river file to insta ll a g a in. It is sec ond round o f USB d river insta lla tion. Clic k on the Install from a

list or specific location (Advanced) and click on the Next button to next step.

(2.3.15) Choose the location as C:\Arduino\Drivers . Click on the Next button.

(2.3.16) The driver installation starts. Wait until the installation is completed. Click on

the Finish button.

Page 16: Unicon_E

16Unicon board documentation

(2.3.17) Wait for a second. The Found New Hardware Wizard is appeared again. Click on

the Install from a list or specific location (Advanced) and click on the Next button to next step.

(2.3.18) Choose the location as C:\Arduino\Drivers again. Click on the Next button.

(2.3.19) The driver installation starts. Wait until the installation is completed. Click on

the Finish button.

Page 17: Unicon_E

Unicon board documentation 17

(2.3.20) At the Device Manager window; the new hardware will be appeared. It is

Unicon Board & POP-XT (COMxx) . The number of COM port will be changed to COM180. The

next uploading requires the new port. User must check the port availibility before uploading

by using the Device Manager or check by menu Tools > Serial port of Arduino IDE.

The driver installtion requires many steps. Therefore, proper following of instructions is

required to reduce errors in this installation.

After the driver has been installed, the Unicon board is ready for programming.

Page 18: Unicon_E

18Unicon board documentation

3. Software and USB driver installation for MAC OS

The installation of Arduino1.0 software for Macintosh computer is not complicated.

Since all files are contained in a ZIP file. The installation step is as follows :

(3.1) Copy the Arduino1.0.zip from DVD-ROM or downloaded from www.inexglobal.com

or www.uniconboard.com to Desktop.

(3.2) Extract this file by Open With > Archive Utility.

(3.3) The extracted file are the Arduino files. There is a software icon below.

(3.4) Open the Finder window. Drag the Arduino icon to Applications

Page 19: Unicon_E

Unicon board documentation 19

(3.5) Double-click to open Arduino software. Select menu Tool s > Board >Unicon

board (Caterina)

(3.6) Tunr on the Unicon board. Wait a few seconds for initialization. Plug the USB cable

to board and computer.

(3.7) Select menu Tools > Serial Port > /dev/tty.usbmodemxxxx. (xxxx is number of

usbmodem)

If user can do follows all steps, it means the software installation is completed. The

Unicon board also ready for operating with Macintosh computer and MAC OSX10.6.

Page 20: Unicon_E

20Unicon board documentation

4. USB driver installation for changing the USB port

After installing the USB drivers completed; user should continue to use the same USB

port. In case of any change to the USB port; there maybe a need to re-install new drivers

which may be different from the above explained normal steps.

The driver installation starts with USB composite device driver installation. After that,

install the Unicon board driver. It is called Caterina in boot mode. This step requires the Button

31 pressing on the Unicon board.

(4.1) After connect the Unicon board to new USB port, the computer detects new

hardware and ask for the location of the driver file to install again. It is second round of USB

driver installation. Click on the Install from a list or specific location (Advanced) and click on

the Next button to next step.

(4.2) Also choose the location as C:\Arduino\Drivers . Click on the Next button.

Page 21: Unicon_E

Unicon board documentation 21

(4.3) The driver installation starts. Wait until the installation is completed. Click on the

Finish button.

(4.4) With the USB cable still connected to the Unicon board and the computer, turn-

off power of the Unicon board. Then, press and hold at the Button 31 near the blue LED on

the Unicon board. Turn-on power and release the Button 31.

0

0

Page 22: Unicon_E

22Unicon board documentation

(4.5) The Found New Hardware Wizard is appeared immediately. Click on the Install

from a list or specific location (Advanced) and click on the Next button to next step.

(4.6) Choose the location as C:\Arduino\Drivers . Click on the Next button.

(4.7) The driver installation starts. Wait until the installation is completed. Click on the

Finish button.

(4.8) Check the current COM port for interfacing at Control Panel > System > Hardware

> Device Manager. See the Ports listing, will find a list of Unicon & POP-XT (Caterina) (COMxx)

by the number of COM port could be changed on each computer. Remember this COM

port number as its required for operation with Arduino1.0.

Page 23: Unicon_E

Unicon board documentation 23

5. Unicon POP-XT Recovery Utility

After installing the USB drivers completed; user should continue work with Unicon board.

If user meet the problem about COM port lost and could not interface with Unicon board ;

there maybe a need to re-install new drivers which may be different from the above explained

normal steps. With this method includes many steps.

For saving your time and easier for fixing the COM port interface problem or error; the

Unicon POP-XT Recovery Utility is assistance tool.

(5.1) Install the software by double click the UniconPOPXT_RecoverySetup.exe file

from the UNicon’s DVD-ROM or download from www.inexglobal .com or www.

uniconboard.com.

(5.2) Install this software by clicking on the Next button and Insall button until the

installation is finished.

Page 24: Unicon_E

24Unicon board documentation

(5.3) Run the Unicon POP-XT Recovery software. Choose Unicon board.

(5.4) Connect the miniB-USB cable between the Unicon board and Computer’s USB port.

(5.5) Press anad hold the Button 31 on the Unicon board. Turn on power.

(5.6) Release the Button 31. The recovery software will detect the Unicon board at

som e COM port and shows a t the USB Board listed box. For example is COM237.

(5.7) Click on the Master Clear button (red button) and wait. The recovery software

will be re-install or update the driver of Unicon board.

(5.8) After that, try to click on the Test I/O button (yellow button). The software try to

upload some test sketch to the Unicon board. If finished, user will see another COM port. It is

USB serial port for Unicon in run mode. The number of COM port is next. User have to use the

new COM port to upload the Arduino’s sketch

After using the recovery software, the Unicon board is back and ready to run !

Page 25: Unicon_E

Unicon board documentation 25

J1DC.input

C1220F16V

SW1ON

D11N5819

IN

PE6UVcc

D-D+

UGndUCapVBusPB0PB1PB2PB3

PB7

RS

TVcc

GN

DXTA

L2

XTA

L1

PD

0PD

1PD

2PD

3PD

5

PE2PC7PC6PB6PB5PB4PD7PD6PD4AVccGND

AVcc

GN

DAREF

PF0

PF1

PF4

PF5

PF6

PF7

GN

DVcc

SS MOSI SCL RXD A6 A11

SCK MISO SDA TXD A7

CR116MHz

SW2RESET

R34k7

ISPA

8A

9A

10

+5V

+5V

A0A1A3A5

A2A4

LED1D31

+5V

+5V

+5V

+5V

R1D-D+IDGND

VUSB

K2USB Mini B

+5V

+USB

+-

+5V

PF7PF6PF4PF0

PF5PF1PE6

PB0 PB2 PD0 PD2 PD4 PD6

PB1 PB3 PD1 PD3 PD7PD5

PB

4P

B5

PB

6P

B7

PC

6P

C7

7 22

IC1ATMega32U4

(TQFP44)

11

10

9

8

7

6

5

4

3

2

144 43 42 41 40 39 38 37 36 35 34

33

32

31

30

29

28

27

26

25

24

232221201918171615141312

20

23 21 19 18

K1+Vin

[6-12V]

IC1NCP1117-5.0

OUT

GND

C2100F6.3V

C30.1F50V

+G

R2

R1,R227 x2

C41F16V

C50.1F50V

C60.1F

C70.1F

C80.1F

C90.1F

R44k7

R54k7

31

13

511

10

98

17 16 3 40 12

630121415

SW3D31

+ 7

REF

23

22

21

20

19

18

31 PE213

5

11

10

9

8

1 4 30

12 616

14 3 2 0

RS

T + 17

15

Port pin number assignment(all pin name is compatible

with Arduino Leonardo)

PB4 A8

GN

D

GN

D

GN

D

SPI Ext.

xx Arduino Leonardo port number assignment

Pxx Atmel port assignment

yy Arduino Leonardo port function assignment

6. Unicon board schematic diagram

Page 26: Unicon_E

26Unicon board documentation

7. GLCD-XT (optional)

It is the Color graphic LCD extension shield board for Unicon board.

Features :

1.8" TFT color graphic LCD

128x160 pixels with 262K color

4-wire SPI interface with any modern microcontroller

Includes the white LED backlight

On-board variable resistor and 1 user button on only one analog input of

microcontroller

Connect direct to female header of the Unicon board and/or POP-XT board

outputOn-board +3.3V regulator power supply circuit

PCB Size 4.5 x 5.5cm. and 2.4mm. thick

Page 27: Unicon_E

Unicon board documentation 27

Page 28: Unicon_E

28Unicon board documentation

www.inex.co.thwww.inexglobal.com (c) Innovative Experiment