Advertisement

Quick Links

User Manual
UBC-222
The Gateway Solution for IoT

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the UBC-222 and is the answer not in the manual?

Questions and answers

Summary of Contents for Advantech UBC-222

  • Page 1 User Manual UBC-222 The Gateway Solution for IoT...
  • Page 2 No part of this manual may be reproduced, copied, translated or transmitted in any form or by any means without the prior written permission of Advantech Co., Ltd. Information provided in this manual is intended to be accurate and reliable. How- ever, Advantech Co., Ltd.
  • Page 3 Because of Advantech’s high quality-control standards and rigorous testing, most of our customers never need to use our repair service. If an Advantech product is defec- tive, it will be repaired or replaced at no charge during the warranty period. For out- of-warranty repairs, you will be billed according to the cost of replacement materials, service time and freight.
  • Page 4  Consult the dealer or an experienced radio/TV technician for help. Technical Support and Assistance Visit the Advantech website at http://support.advantech.com where you can find the latest information about the product. Contact your distributor, sales representative, or Advantech's customer service center for technical support if you need additional assistance.
  • Page 5 Before setting up the system, check that the items listed below are included and in good condition. If any item does not accord with the table, please contact your dealer immediately. 1x UBC-222 unit with Wall mount bracket  Ordering Information...
  • Page 6 The sound pressure level at the operator's position according to IEC 704-1:1982 is no more than 70 dB (A). DISCLAIMER: This set of instructions is given according to IEC 704-1. Advantech disclaims all responsibility for the accuracy of any statements contained herein.
  • Page 7 Don't touch any components on the CPU card or other cards while the PC is on.  Disconnect power before making any configuration changes. The sudden rush of power as you connect a jumper or install a card may damage sensitive elec- tronic components. UBC-222 User Manual...
  • Page 8 UBC-222 User Manual viii...
  • Page 9: Table Of Contents

    Introduction ....................6 UBC-222 I/O Indication ................6 Figure 2.1 UBC-222 front view ............ 6 Figure 2.2 UBC-222 LED indication..........6 Figure 2.3 UBC-222 left side view ..........6 UBC-222 I/O Connectors ................7 2.3.1 Power Input Connector ..............7 Figure 2.4 Power input connector..........
  • Page 10 Obtaining an RMA Number............30 4.4.2 Returning the Product for Repair ..........30 4.4.3 Service Charges ................. 31 4.4.4 Repair Report ................31 4.4.5 Custody of Products Submitted for Repair ......... 32 4.4.6 Shipping Back to the Customer ..........32 UBC-222 User Manual...
  • Page 11: Chapter 1 General Introduction

    Chapter General Introduction This chapter gives background information on UBC-222 series.
  • Page 12: Introduction

    Introduction UBC-222 is a new generation embedded computing system based on Intel Quark X1000 processor technology. With fanless and optimized power design, wired/wire- less connectivity, and highly integrated I/O for industrial automation, it’s the most reli- able and economical solution for your intelligent factory. UBC-222 comes equipped with a specially designed mounting bracket and optionally you can purchase a DIN rail or VESA mount.
  • Page 13: Power Consumption

    Mechanical Specification 1.3.1 Dimensions  143 x 101 x 30 mm (L x W x H) with the metal plate  120 x 89 x 30 mm without metal plate 1.3.2 Weight  200 g (Net weight) UBC-222 User Manual...
  • Page 14: Power Requirements

    1.5.3 Storage Temperature  -40 ~ 85° C (-40 ~ 185 ° F) 1.5.4 Vibration Loading during Operation 1 Gms, IEC 60068-2-64, random, 5 ~ 500 Hz, 1 Oct/min, 1 hr/axis. 1.5.5 CE, FCC Class B  UBC-222 User Manual...
  • Page 15: Chapter 2 Hardware Functionality

    Chapter Hardware Functionality This chapter introduces external I/ O and explains the setup proce- dures of the UBC-222 hardware.
  • Page 16: Introduction

    Introduction The following sections show the external connectors and pin assignments for appli- cations. UBC-222 I/O Indication Figure 2.1 UBC-222 front view Figure 2.2 UBC-222 LED indication Figure 2.3 UBC-222 left side view UBC-222 User Manual...
  • Page 17: Ubc-222 I/O Connectors

    2.3.1 Power Input Connector The UBC-222 comes with a DC-Jack header that carries +5V DC external power input. The power connector can be fixed by a fastener which is an optional acces- sory. The fastener avoids power cables falling off.
  • Page 18: Debug Console

    RS-485 Description Description RS485- RS485+ 2.3.3 Debug Console Table 2.2: Debug Console Pin Assignment Description Description +3V3 Debug_TXD Debug_RXD 2.3.4 Table 2.3: SPI Pin Assignment Description Description +3V3 +3V3 LSPI_CS# LSPI_MISO LSPI_SCK LSPI_MOSI UBC-222 User Manual...
  • Page 19: Gpio

    2.3.6 Ethernet Connectors (LAN1 and LAN2) The UBC-222 provides two RJ45 interface connectors. The Ethernet ports are fully compliant with IEEE 802.3x 10/100 and CSMA/CD protocol support. The Ethernet ports provides standard RJ-45 connector with LED indicators on the front side to show Speed/Active status.
  • Page 20: Sd Connector

    2.3.8 SD Connector UBC-222 provides an SD slot. The SD card is essential for booting up the system and for storage as UBC-222 has no onboard storage. Figure 2.8 SD connector Note! It is recommended to use only "Transcend and Sandisk" SD Cards which Advantech has verified.
  • Page 21 Open the top cover. Figure 2.10 Open the top cover Install your mini-PCIe card, close the top cover and put back the two screws on the bottom of the case. Figure 2.11 Install mini-PCIe card UBC-222 User Manual...
  • Page 22: Console Installation

    Figure 2.12 Console Installation 2.4.4 Mounting Assembly method The UBC-222 supports flexible wall mounting holes so you can easily fix UBC-222 onto the wall. It also supports a DIN-rail kit (optional) for users who need to mount UBC-222 onto a 35mm DIN-rail.
  • Page 23 Figure 2.13 Wall mount installation Figure 2.14 Drawing of mating screw Figure 2.15 Mating screws for wall mounting UBC-222 User Manual...
  • Page 24 UBC-222 User Manual...
  • Page 25: Software Functionality

    Chapter Software Functionality This chapter details the software operating on UBC-222.
  • Page 26: Getting Started And Customization

    ~/U222LIV2011_quark_2016-01-29 ${BSP_PACK}: BSP pack e.g. U222LIV2011_quark_2016-01-29.zip ${BSP_HOME}: the directory BSP pack extracted to e.g. ~/LBV2011/meta-clanton_v1.2.0 ${BDIR}: build directory e.g. yocto_build ${SD_MOUNT}: mount point of SD card in Ubuntu e.g. /media/sdf1 ${POKY}: Yocto poky version e.g. 1.7.2 UBC-222 User Manual...
  • Page 27 Introducing the BSP The BSP is based on Yocto Project with Intel enhanced features for Quark, plus spe- cific target board features from Advantech Inc. Naming Rule The BSP/prebuilt image pack name is consist of the model name followed by "LB" or "LI"...
  • Page 28 The file, bzImage, will be located in directory, ./tmp/deploy/images/quark. To build initramfs individually To create/continue a build environment Perform the following command in terminal console $ bitbake core-image-minimal-initramfs The file, core-image-minimal-initramfs-quark.cpio.gz, will be located in directory, ./tmp/deploy/images/quark. UBC-222 User Manual...
  • Page 29: Debug Port Setting

    3.1.2 Debug Port Setting UBC-222 can communicate with a host server (Windows or Linux) by using serial cables. Common serial communication programs such as HyperTerminal, Tera Term or PuTTY can be used in this case. The example as below describes the serial termi- nal setup using HyperTerminal on a Windows host: Connect UBC-222 with your Windows PC by using a debug cable.
  • Page 30: Test Tools

    $ source /opt/clanton-tiny/${POKY}/environment-setup-i586-poky-linux-uclibc Test tools All test tools must be verified on UBC-222, please prepare the required test fixtures before verifying each specified I/O. If you have any problems getting the test fixture, please contact your Advantech contact window for help.
  • Page 31 0 > gpio0/value; grep "" gpio{0,3}/value; \ echo 1 > gpio0/value; grep "" gpio{0,3}/value; cd - 3.2.1.2 Connecting #1 and #2 cd /sys/class/gpio; \ echo 0 > gpio1/value; grep "" gpio{1,2}/value; \ echo 1 > gpio1/value; grep "" gpio{1,2}/value; cd - UBC-222 User Manual...
  • Page 32: Uart

    # stty -F /dev/ttyS0 -echo; cat /dev/ttyS0 & # echo "1234567890" > /dev/ttyS0; killall cat 3.2.2.3 RS-485 connected with PC/USB-to-Serial/ADAM 4520 RS232-to-RS485 UBC-222 to PC (Ubuntu 12.04) $ sudo stty -F /dev/ttyUSB1 speed 115200 raw -crtscts -echo $ sudo cat /dev/ttyUSB1 UBC-222 # stty -F /dev/ttyS0 speed 115200 raw -crtscts -echo # for I in `seq 0 9`;...
  • Page 33: Wifi

    # PSWD= {password here} # wifi_connect.sh "${SSID}" "${PSWD}" # DEV=wlan0 # SVC=$(P=`connmanctl services | grep "$SSID"` && echo -n wifi_${P#*wifi_}) # set - `connmanctl services $SVC | grep "Nameservers ="` # DNS=${4/,/} # ping -c5 $DNS -I $DEV UBC-222 User Manual...
  • Page 34: Lan

    # ping -c5 $DNS -I $DEV 3.2.6 # dd if=/dev/urandom of=/PTN bs=1024 count=1 # dd if=/PTN of=/dev/sda bs=1024 count=1 seek=4 # dd if=/dev/sda of=/READ bs=1024 count=1 skip=4 # diff /READ /PTN && echo "correct" || echo "incorrect" UBC-222 User Manual...
  • Page 35 # pppd connect 'chat -v -s -t 10 "" "AT" "" "ATDT*99#" "CON- NECT" ""' \ user username password password /dev/ttyUSB2 460800 nodetach crtscts \ debug usepeerdns defaultroute & # ifconfig # cat /etc/resolv.conf # ping -c5 8.8.8.8 UBC-222 User Manual...
  • Page 36 UBC-222 User Manual...
  • Page 37: Advantech Services

    Chapter Advantech Services This chapter introduces Advan- tech design in serviceability, tech- nical support and warranty policy.
  • Page 38: Contact Information

    Technical Support and Assistance For more information about this and other Advantech products, please visit our web- site at: <http://www.advantech.com/> <http://www.advantech.com/ePlatform/> For technical support and service, please visit our support website at: <http://support.advantech.com.tw/support/>...
  • Page 39: Global Service Policy

    (Dead-on-Arrival). The DOA Cross-Shipment excludes any shipping damage, cus- tomized and/or build-to-order products. For those products which are not DOA, the return fee to an authorized ADVANTECH repair facility will be at the customers' expense. The shipping fee for reconstructive products from ADVANTECH back to customers' sites will be at ADVANTECH's expense.
  • Page 40: Repair Process

    "Problem Description". Vague entries such as "does not work" and "failure" are not very helpful. If you are uncertain about the cause of the problem, please contact ADVANTECH's Application Engineers (AE). They may be able to find a solution that does not require sending the product for repair.
  • Page 41: Service Charges

    Product updates and tests upon the request of customers who are without war- ranty. If a product has been repaired by ADVANTECH, and within three months after such a repair the product requires another repair for the same problem, ADVANTECH will do this repair free of charge.
  • Page 42: Custody Of Products Submitted For Repair

    4.4.5 Custody of Products Submitted for Repair ADVANTECH will retain custody of a product submitted for repair for one month while it is waiting for return of a signed P/I or payment (A/R). If the customer fails to respond within such period, ADVANTECH will close the case automatically. ADVAN- TECH will take reasonable measures to stay in proper contact with the customer dur- ing this one month period.
  • Page 43 UBC-222 User Manual...
  • Page 44 No part of this publication may be reproduced in any form or by any means, electronic, photocopying, recording or otherwise, without prior written permis- sion of the publisher. All brand and product names are trademarks or registered trademarks of their respective companies. © Advantech Co., Ltd. 2016...

Table of Contents