Winmate EACFA20 User Manual

Page 1
IoT Gateway
Freescale i.MX 6 Arm® Cortex®-A9 i.MX6 Dual Core, 1 GHz
EAC Mini EACFA20
User Manual
Please read these instructions carefully before using this product, and save this manual for future use.
Page 2
Page 3
1
EAC Mini EACFA20 IoT Gateway User Manual
Contents
Preface .......................................................................................................................... 3
About This User Manual .............................................................................................. 7
Chapter 1: Introduction ............................................................................................... 8
1.1 Overview .............................................................................................................. 9
1.2 Product Features .................................................................................................. 9
1.3 Expansion Module ................................................................................................ 9
1.4 Hardware Specifications ..................................................................................... 10
1.5 Package Contents .............................................................................................. 11
1.6 Description of Parts ............................................................................................ 12
1.7 LED Indicators .................................................................................................... 12
1.8 Mechanical Dimensions ..................................................................................... 13
Chapter 2: Hardware Installation .............................................................................. 14
2.1 Connectors ......................................................................................................... 15
2.1.1 HDMI Connector ....................................................................................... 15
2.1.2 Ethernet Connector .................................................................................. 15
2.1.3 USB 2.0 Connector ................................................................................... 16
2.1.4 USB 2.0 OTG Connector .......................................................................... 16
2.1.5 Power Connector ...................................................................................... 16
2.2 Hardware Installation .......................................................................................... 17
2.2.1 External Antenna Installation .................................................................... 17
2.2.2 Expansion Module Installation .................................................................. 18
2.2.3 USB Wire Loop Installation ....................................................................... 19
2.3 Connecting the Power ........................................................................................ 20
2.3.1 Connecting the Power .............................................................................. 20
2.3.2 Chassis Grounding ................................................................................... 20
Chapter 3: Mounting ................................................................................................ .. 21
3.1 Wall/ Desk Mount ............................................................................................... 22
3.2 DIN-Rail Mount ................................................................................................... 23
3.3 VESA Mount ....................................................................................................... 24
Chapter 4: Android System Settings ........................................................................ 25
4.1 Android Operating System ................................................................................. 26
4.2 Android Debug Bridge Driver Installation ........................................................... 26
4.2.1 Disabling Driver Signature on Windows 8................................................. 27
4.2.2 ADB Driver Installation.............................................................................. 31
4.3 Installing Android Debug Bridge (ADB) .............................................................. 35
Page 4
2
Preface
4.4 OTA Update Guide ............................................................................................. 36
4.5 OS Image Update Guide .................................................................................... 39
4.6 Android Programming Guide .............................................................................. 39
4.6.1 ADB Installation ........................................................................................ 39
4.6.2 U2DIDO .................................................................................................... 40
4.6.3 U2CAN ..................................................................................................... 40
4.6.4 U2COM Sample Code .............................................................................. 40
4.6.5 OTA Update Guide ................................................................................... 40
Chapter 5: Linux System Settings ............................................................................ 45
5.1 Linux Operating System ..................................................................................... 46
5.2 Linux System Settings ........................................................................................ 46
5.2.1 Start Menu ................................................................................................ 46
5.2.2 Linux Terminal .......................................................................................... 47
5.2.3 System Information ................................................................................... 48
5.2.4 Ethernet Settings ...................................................................................... 48
5.2.5 Exit the System ......................................................................................... 52
5.3 Linux Programming Guide .................................................................................. 52
Chapter 6: Technical Support ................................................................................... 53
6.1 Software Developer Support .............................................................................. 54
6.2 Problem Report Form ......................................................................................... 54
Appendix..................................................................................................................... 55
Appendix A: Order Information ................................................................................. 56
Appendix B: Expansion Module ............................................................................... 57
B-1: 16-Channel Digital I/O with isolation EACWLST-232 ................................. 57
B-2: 2- Port CANBus with isolation EACWLST-233 ........................................... 58
B-3: CANBus EACWLST-234 ............................................................................ 58
B-4: 2-Port RS232/422/485 with isolation EACWLST-235 & EACWLST-231 .... 59
Appendix C: Ubutu Command Code ........................................................................ 60
Page 5
3
EAC Mini EACFA20 IoT Gateway User Manual
Preface
Copyright Notice
No part of this document may be reproduced, copied, translated, or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the prior written permission of the original manufacturer.
Trademark Acknowledgement
Brand and product names are trademarks or registered trademarks of their respective owners.
Disclaimer
We reserve the right to make changes, without notice, to any product, including circuits and/or software described or contained in this manual in order to improve design and/or performance. We assume no responsibility or liability for the use of the described product(s) conveys no license or title under any patent, copyright, or masks work rights to these products, and make no representations or warranties that these products are free from patent, copyright, or mask work right infringement, unless otherwise specified. Applications that are described in this manual are for illustration purposes only. We make no representation or guarantee that such application will be suitable for the specified use without further testing or modification.
Warranty
Our warranty guarantees that each of its products will be free from material and workmanship defects for a period of one year from the invoice date. If the customer discovers a defect, we will, at his/her option, repair or replace the defective product at no charge to the customer, provide it is returned during the warranty period of one year, with transportation charges prepaid. The returned product must be properly packaged in its original packaging to obtain warranty service. If the serial number and the product shipping data differ by over 30 days, the in-warranty service will be made according to the shipping date. In the serial numbers the third and fourth two digits give the year of manufacture, and the fifth digit means the month (e. g., with A for October, B for November and C for December).
For example, the serial number 1W17Axxxxxxxx means October of year 2017.
Page 6
4
Preface
Note:
A note is used to emphasize helpful information
Important:
An important note indicates information that is important for you to know.
Caution
A Caution alert indicates potential damage to hardware and explains how to avoid the potential problem.
Warning!
An Electrical Shock Warning indicates the potential harm from electrical hazards and how to avoid the potential problem.
Alternating Current
The Protective Conductor Terminal (Earth Ground) symbol indicates the potential risk of serious electrical shock due to improper grounding.
Customer Service
We provide a service guide for any problem by the following steps: First, visit the website of our distributor to find the update information about the product. Second, contact with your distributor, sales representative, or our customer service center for technical support if you need additional assistance.
You may need the following information ready before you call:
Product serial number Software (OS, version, application software, etc.) Detailed description of the problem The exact wording of error messages
In addition, free technical support is available from our engineers every business day. We are always ready to give advice on application requirements or specific information on the installation and operation of any of our products.
Advisory Conventions
Four types of advisories are used throughout the user manual to provide helpful information or to alert you to the potential for hardware damage or personal injury. These are Notes, Important, Cautions, and Warnings. The following is an example of each type of advisory.
Page 7
5
EAC Mini EACFA20 IoT Gateway User Manual
Warning!
Always completely disconnect the power cord from your chassis whenever you work with the hardware. Do not make connections while the power is on. Sensitive electronic components can be damaged by sudden power surges. Only experienced electronics personnel should open the PC chassis.
Warning!
During heavy loading in 50°C environment, the top side of the EAC Mini may be over 70°C. Please do not touch these parts with your bare hands.
Caution
Always ground yourself to remove any static charge before touching the CPU card. Modern electronic devices are very sensitive to static electric charges. As a safety precaution, use a grounding wrist strap at all times. Place all electronic components in a static-dissipative surface or static-shielded bag when they are not in the chassis.
Caution
Use the recommended mounting apparatus to avoid risk of injury.
Caution
Do not cover the openings!
Warning!
Only use the connection cords that come with the product. When in doubt, please contact the manufacturer.
Warning!
Always ground yourself against electrostatic damage to the device.
Safety Information
Safety Precautions
For your safety carefully read all the safety instructions before using the device. All cautions and warnings on the equipment should be noted. Keep this user manual for future reference.
*Let service personnel to check the equipment in case any of the following problems appear:
o The power cord or plug is damaged. o Liquid has penetrated into the equipment. o The equipment has been exposed to moisture. o The equipment does not work well or you cannot get it to work according to
the user manual.
o The equipment has been dropped and damaged. o The equipment has obvious signs of breakage.
Do not leave this equipment in an uncontrolled environment where the storage
temperature is below -20°C (-4°F) or above 60°C (140°F). It may damage the equipment.
Page 8
6
Preface
This device complies with part 15 FCC rules. Operation is subject to the following two conditions:
This device may not cause harmful interference. This device must accept any interference received including
interference that may cause undesired operation.
Important Information
Federal Communications Commission Radio Frequency Interface Statement
This equipment has been tested and found to comply with the limits for a class "B" digital device, pursuant to part 15 of the FCC rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications. Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at him own expense.
European Union
This equipment is in conformity with the requirement of the following EU legislations and harmonized standards. Product also complies with the Council directions.
Electromagnetic Compatibility Directive (2014/30/EU)
EN55024: 2010+A1: 2015
o IEC61000-4-2: 2009 o IEC61000-4-3: 2006+A1: 2007+A2: 2010 o IEC61000-4-4: 2012 o IEC61000-4-5: 2014 o IEC61000-4-6: 2014 o IEC61000-4-8: 2010 o IEC61000-4-11: 2004
EN 55032: 2015+AC: 2016 EN61000-3-2:2014 EN61000-3-3:2013
Low Voltage Directive (2014/35/EU)
EN 60950-1:2006/A11:2009/A1:2010/A12:2011/ A2:2013
Page 9
7
EAC Mini EACFA20 IoT Gateway User Manual
Note:
Some pictures in this guide are samples and can differ from actual product.
Version
Date
Note
1.0
18-Jan-2019
New document release.
1.1
14-Aug-2019
Add Ch.5: Linux System Settings
About This User Manual
This User Manual provides information about using the Winmate® EAC Mini EACFA20 IoT Gateway.
The documentation set for the Winmate® EAC Mini EACFA20 IoT Gateway provides information for specific user needs, and includes:
EAC Mini EACFA20 Quick Start Guide - describes how to get the box computer up and
running.
EAC Mini EACFA20 User Manual – contains detailed description on how to use the
display, its components and features.
Revision History
Page 10
8
Chapter 1: Introduction
Chapter 1: Introduction
This chapter provides the EAC Mini EACFA20 IoT Gateway product overview, describes its features and hardware specifications.
Page 11
9
EAC Mini EACFA20 IoT Gateway User Manual
1.1 Overview
Congratulations on purchasing Winmate® EAC Mini EACFA20 IoT Gateway EAC Mini EACFA20 is an ARM-based industrial IoT gateway with low power consuming
Freescale Cortex A9 i.MX6 processing and excellent expansion possibilities. Expansion modules offer rich options for additional serial interfaces such as CANBus, DIDO, Wi-Fi and 4G LTE. Wireless connectivity and all necessary connectors allow the EAC mini (EACFA20) to send data from manufacturing facilities directly to cloud servers. This ARM-based IoT gateway features Android, Linux, and Ubuntu operating system choices.
Compact size and rich expansion options make the EACFA20 suitable for IoT, smart factory and machine automation applications.
1.2 Product Features
Winmate® EAC Mini IoT Gateway offers the following features:
Freescale i.MX 6 Arm® Cortex®-A9 i.MX6 Dual Core, 1GHz Fanless cooling system Compact size 100 x 70 x 31 mm (w/o mounting bracket) Various mounting options: desk, wall, VESA, DIN-Rail Suitable for smart factory applications Microsoft Azure Certified for IoT
1.3 Expansion Module
15+ combinations, ex:
WWAN Expansion Board (Single SIM Slot) EACWSLT-231 3-port RS232/422/485 w/ isolation EACWSLT-232 16-Channel Digital I/O w/ isolation EACWSLT-233 2-port CANBUS w/ isolation EACWLST-234 3-port USB 2.0 EACWLST-235 2-port RS232/422/485 w/ isolation
Page 12
10
Chapter 1: Introduction
Model Name
EACFA20
System Specification
CPU
Freescale i.MX 6 Arm® Cortex®-A9 i.MX6 Dual Core, 1GHz
System Memory
1GB, up to 2GB
Storage
eMMC
Onboard 16GB (default), up to 32 GB
Interface USB
2 x USB Type-A 2.0, 1 x USB 2.0 OTG (Micro USB)
Ethernet
2 x Giga LAN RJ45
HDMI
1 x HDMI
Power Input
Terminal Block / 2 Pin
Power Management
Power Supply
9~36 V DC, 2 pin Terminal Block
Grounding Protection
Chassis Grounding
Buttons and LED Indicators
LED Indicator
1 x Power
Button
1 x Power Button 1 x Reset Button
Mechanical Specification
Dimensions
100 x 70 x 31mm
Weight
0.4 kg (One layer)
Mounting
Desk Mounting (Default), Wall Mounting (Default), VESA Mounting (Optional), DIN-Rail Mounting(Optional)
Cooling
Fanless
Enclosure
Metal
Environment
Operating Temp.
0~55° C
Storage Temp.
-15~70° C
Operating Humidity
10~90% RH
Shock
Operating, IEC 60068-2-27
Vibration
Operating, IEC 60068-2-64
IP Rating
IP30
Operating System
OS
Android 6.0*, Ubuntu 16.04, Ubuntu 18.04
Certificate
EMC
CE, FCC
IoT
Microsoft Azure Certified for IoT
1.4 Hardware Specifications
Note:*The Android OS option for EACFA20 will only support 1 x LAN.
Page 13
11
EAC Mini EACFA20 IoT Gateway User Manual
EAC Mini
IoT Gateway
Quick Start Guide
(Hardcopy)
Terminal Block
2 pin to 2.5Ø
Female Adapter
Cable
Open Wire Cable
Varies by product
specifications
Part No. 91521110103J
Part No. 94J602G020K2
Part No.
94EL02X020E0
WLAN External
Antenna (For
EACFA20-101-F116)
WWAN External
Antenna (For
EACFA20-102-F116)
Part No. 397SM000000D
Part No. 397SM000000C
AC Adapter
12V/ 40W
VESA Mount Kit
DIN Rail Mount Kit
Part No.922D036W12V6
Part No. 98K000A0009A
Part No. 98K000A00099
1.5 Package Contents
Carefully remove the box and unpack EAC Mini EACFA20 IoT Gateway. Please check if all the items listed below are inside your package. If any of these items are missing or damaged contact us immediately.
Carefully remove the box and unpack your device. Please check if all the items listed below are inside your package. If any of these items are missing or damaged contact us immediately.
Standard factory shipment list:
Optional accessories:
Page 14
12
Chapter 1: Introduction
LED Type
Status
Description
Power
On
Power is on
Off
Power is off
1.6 Description of Parts
This section includes front and rear side I/O ports location of the EAC Mini EACFA20 IoT Gateway. Front Side
Rear Side
1.7 LED Indicators
The EAC Mini IoT Gateway provides one HDD and one Power LED indicators located on the front for status monitoring.
Page 15
13
EAC Mini EACFA20 IoT Gateway User Manual
1.8 Mechanical Dimensions
All dimensions are shown in mm (millimeters).
Unit without mounting bracket
Page 16
14
Chapter 2: Hardware Installation
Chapter 2: Hardware Installation
This chapter provides information on how to use external I/O and the installation of EAC Mini EACFA20 IoT Gateway hardware.
Page 17
15
EAC Mini EACFA20 IoT Gateway User Manual
Pin №
Signal Name
Pin №
Signal Name
1
HDMI_RX2+
2
GND
3
HDMI_RX2-
4
HDMI_RX1+
5
GND
6
HDMI_RX1-
7
HDMI_RX0+
8
GND
9
HDMI_RX0-
10
HDMI_RXC+
11
GND
12
HDMI_RXC-
13
HDMI_CON_CEC
14
NC
15
HDMI_CON_SCL
16
HDMI_CON_SDA
17
HDMI_CON_CABLE
18
+5V_HDMI
19
HDMI_CON_HP
Pin №
Signal Name
Pin №
Signal Name
1
TX1+
2
TX1-
3
TX2+
4
TX3+
5
TX3-
6
TX2-
7
TX4+
8
TX4-
2.1 Connectors
This section describes all the external connectors located on the EAC Mini IoT Gateway. The following sections give you information about EAC Mini standard connectors and pin
assignments.
2.1.1 HDMI Connector
Plug HDMI signal cable to the HDMI connector of the EAC Mini EACFA20, and plug the other end to the monitor.
Pin assignment and signal names of HDMI connector
2.1.2 Ethernet Connector
The EAC Mini EACFA20 has two Ethernet connectors located on the front. Ethernet ports provide a standard RJ45 10/100/1000 Mbps jack connector with LED indicators on the front side to show its Active/ Link status and Speed status.
Pin assignment and signal names of Ethernet connector
10/100 Mbps- Green 1G Mbps – Orange
Page 18
16
Chapter 2: Hardware Installation
Pin №
Signal Name
Pin №
Signal Name
1
+5V
2
USB_D-
3
USB_D+
4
GND
5
STDA_SSRX-
6
STDA_SSRX+
7
GND
8
STDA_SSTX-
9
STDA_SSTX+
Pin №
Signal Name
Pin №
Signal Name
1
+5V
2
USB_OTG_D-
3
USB_OTG_D+
4
USB_OTG_ID
5
GND
2.1.3 USB 2.0 Connector
The EAC Mini EACFA20 provides two USB 3.0 connectors. Use USB 3.0 connector to connect external devices such as mouse or keyboard to the box computer.
Pin assignment and signal names of USB connector
2.1.4 USB 2.0 OTG Connector
The EAC Mini EACFA20 provides one USB 2.0 OTG (Micro USB) connector. Use USB 2.0 OTG connector to install software updates.
Pin assignment and signal names of USB OTG connector
2.1.5 Power Connector
DC power source input is a 2 pin terminal block connector. Power Input is 9V to 36V DC in.
Page 19
17
EAC Mini EACFA20 IoT Gateway User Manual
Caution
Always remove the power cord before installing the hardware.
2.2 Hardware Installation
This chapter describes how to install optional expansion module in the system.
2.2.1 External Antenna Installation
Notice that external antenna is an optional feature of the EAC Mini EACFA20.
To install external SMA antenna:
1. Remove the rubber cap on the SMA connector before installing the antenna.
2. Align the antenna with the SMA connector located on the rear side of the EAC Mini and fasten it as shown on the picture.
3. Adjust the position of external antenna for better signal.
Page 20
18
Chapter 2: Hardware Installation
Unscrew the three screws, and remove
the bottom cover.
Attach the 2
nd
layer module bracket and install
four copper pillars
Attach the 2
nd
layer I/O module, and
fasten four screws.
Fasten three screws to screw back the bottom
cover, fasten two screws on the side of the module bracket and fasten copper pillars/ screws in front to secure I/O module.
2.2.2 Expansion Module Installation
Notice that expansion module is an optional feature of the EAC Mini EACFA20.
To install expansion module:
Page 21
19
EAC Mini EACFA20 IoT Gateway User Manual
Insert USB to the USB slot.
Install copper pillar, USB wire loop, and
fasten one screw to secure the USB to the EAC Mini EACFA20.
You have finished the USB Wire Loop installation.
2.2.3 USB Wire Loop Installation
To install USB Wire Loop:
Page 22
20
Chapter 2: Hardware Installation
Warning!
Ensure voltage and polarity is compliant with the DC input. Improper input voltage or polarity can cause system damage.
2.3 Connecting the Power
The DC power supply connector of the EAC Mini IoT Gateway is on the front panel. The DC power input for the EAC Mini allows a voltage input range from 9 V DC to 30 V DC.
2.3.1 Connecting the Power
Connect EAC Mini to 9-36V DC. The power source can either be from a power adapter or an in­house power source. Front power LED indicator indicates the power status of the device.
2.3.2 Chassis Grounding
EAC Mini provides EMI protection and a stable grounding base. Use chassis grounding point located on the front.
Page 23
21
EAC Mini EACFA20 IoT Gateway User Manual
Chapter 3: Mounting
The EAC Mini supports five types of mounting: wall and desk mounting by default, and optional VESA, DIN-rail mounting solutions. You can purchase mounting kit from Winmate as an optional accessory.
Page 24
22
Chapter 3: Mounting
Place the EAC Mini on the fixture (ex. table) and fasten four M3 screws to secure the unit to the fixture.
3.1 Wall/ Desk Mount
L-shape mounting brackets for wall/ desk mounting are supplied with the EAC Mini. Before mounting the unit to the wall, attach L-shape mounting brackets to the EAC Mini (supplied by Winmate).
Mounting Instruction:
Page 25
23
EAC Mini EACFA20 IoT Gateway User Manual
Fasten screws to secure DIN-rail mounting bracket to the EAC Mini.
Rear Side
Place the EAC Mini with the DIN-Rail bracket on the DIN-Rail.
Rear Side
Bottom Side
Bottom Side
3.2 DIN-Rail Mount
You can purchase DIN-Rail mounting kit from Winmate as an optional accessory. DIN-Rail Mounting Kit:
Part Number: 821118551400
Mounting Instruction:
Page 26
24
Chapter 3: Mounting
Mark the location of the screw holes on the fixture (ex. wall). Align the VESA mounting bracket with the screw location and screw VESA plate from the rear side of the fixture.
Place the EAC Mini on the VESA mounting bracket and fasten screws to secure and the EAC Mini to the VESA plate.
You have completed VESA mounting installation. Connect other peripherals if needed.
3.3 VESA Mount
You can purchase VESA mounting kit from Winmate as an optional accessory. VESA Mounting Kit
Part Number: 821118561001
Mounting Instruction:
Page 27
25
EAC Mini EACFA20 IoT Gateway User Manual
Chapter 4: Android System Settings
This chapter describes how to install Android software on EACFA20 IoT Gateway and provides general system settings information.
Page 28
26
Chapter 4: Android System Settings
Important:
The device is shipped with the OS system according to your order. Contact us if you have any questions regarding OS settings.
Important:
If your computer is running on Windows 10, Windows 8.1 Industry Pro OS or
Windows Embedded 8 Standard system, you need to disable driver
signature.
For Win XP / Win 7 skip disabling driver signature section, and directly
proceed to ADB driver installation.
4.1 Android Operating System
Your IoT gateway supports Android operating system. This section describes how to get started with Android 6.0 and basic settings.
For more advanced Ubuntu settings, please click here to download SDK from Winmate Download Center.
4.2 Android Debug Bridge Driver Installation
You need to connect device to the computer with the USB OTG cable. When using a USB cable (not supplied with your device), verify that the cable or cable packaging bears the “Certified USB™” mark to guarantee USB OTG compliance.
Connecting IoT Gateway to external computer
You can find USB OTG driver in the following locations: CDM v2.08.28 Certified\ftdibus.inf CDM v2.08.28 Certified\ftdiport.inf
Page 29
27
EAC Mini EACFA20 IoT Gateway User Manual
4.2.1 Disabling Driver Signature on Windows 8
1. Hold down the Windows key on your keyboard and press the letter C to open the Charm menu, and then click the gear icon (Settings).
2. Click Change PC Settings.
Page 30
28
Chapter 4: Android System Settings
3. Click General.
4. Under Advanced Startup, click Restart Now.
NOTE: In Windows 8.1, the ‘Restart Now’ button has moved to ‘PC Setting -> Update & Recovery -> Recovery.’
5. After restarting, click Troubleshoot.
Page 31
29
EAC Mini EACFA20 IoT Gateway User Manual
6. Click Advanced Options.
7. Click Windows Startup Settings.
Page 32
30
Chapter 4: Android System Settings
8. Click Restart.
9. After restarting your computer a second time, choose Disable driver signature enforcement from the list by typing the number 7 on your keyboard.
Your computer will restart automatically.
Page 33
31
EAC Mini EACFA20 IoT Gateway User Manual
Note:
The next time you restart your computer, driver signature enforcement will be in effect again. You will have to repeat this process for any new boards. If you have multiple boards to use with the same computer, we recommend installing the drivers for each one before you shut down or restart your computer.
10. After restarting, you will be able to install the ADB drivers normally; however, Windows will display a warning message. When the warning appears, click Install this driver software anyway. If you are unfamiliar with installing drivers, check out our Installing ADB driver tutorial for a step by step guide.
4.2.2 ADB Driver Installation
1. Confirm if the USB device was found by the system. Go to Device Manager > 120A > Other devices > FA30XX > Update Driver Software
2. In the Update Driver Software window choose Browse my computer for driver software.
Page 34
32
Chapter 4: Android System Settings
3. Select Let me pick from a list of device drivers on my computer. Click Next.
4. Select from your computer.
5. In the Update driver software window, click Show All Devices and then click Next.
Page 35
33
EAC Mini EACFA20 IoT Gateway User Manual
6. The system is looking for the driver folder. Click Browse.
7. Select the driver for your OS system. Click Open.
Page 36
34
Chapter 4: Android System Settings
8. Windows Security window will pop up. This message is used to confirm whether the user wants to install the driver. Select Install this driver software anyway to continue.
9. When the installation is successfully completed you will see Android ADB Interface driver in the Update Driver Software window. Now adb debug can be carried out.
Page 37
35
EAC Mini EACFA20 IoT Gateway User Manual
4.3 Installing Android Debug Bridge (ADB)
For detailed Android Debug Bridge (ADB) information refer to Android Developers Platform:
http://developer.android.com/tools/help/adb.html .
1. Decompress adb.zip. Open ADB terminal and move into the adb archive.
ADB Terminal window
2. Connect your device to the computer via USB OTG. System will ask you to confirm USB debugging. Tap OK.
After ADB connection established, install APP or check system log via adb.
Page 38
36
Chapter 4: Android System Settings
4.4 OTA Update Guide
OTA is a tool which can help you to update OS image. To receive Android OS image file contact our sales representatives. Once you get the image file follow the guideline below.
1. Copy image files ota_XXX.zip and XXXX_X. md5 and to micro SD card.
2. Insert micro SD card to the slot in the device. In the APPs menu tap OTA Image Upd.
3. The system is checking OTA File. It may take some time.
Page 39
37
EAC Mini EACFA20 IoT Gateway User Manual
4. Tap Update Image
5. Make sure the file founded by the system is image update file. Tap OK.
Page 40
38
Chapter 4: Android System Settings
Important:
Do not disconnect the power source! Do not remove the battery!
6. Tap OK. Make sure the battery level is at least 50%.
7. Tap OK.
Page 41
39
EAC Mini EACFA20 IoT Gateway User Manual
8. After update the system will automatically restart.
4.5 OS Image Update Guide
To receive OS image update guide please contact Winmate at https://www.winmate.com/
4.6 Android Programming Guide
All the programming guides can be found in the driver CD that comes in the package with the EACFA20 IoT Gateway.
4.6.1 ADB Installation
Installation link: CD\Android Documents and Files\PC_tool\adb\driver\adb.rar
ADB Installation:
1. Unzip “adb.rar” to the desktop.
2. Execute “command line” , then go into the “adb” folder For example : cd D:\WE1050\Desktop\adb
Page 42
40
Chapter 4: Android System Settings
U2xx_ttyUSB
3G/ 4G Card
U2DIDO
U2COM
Sierra module
ttyUSB3
ttyUSB3/ ttUSB4
Quecter module
ttyUSB4
ttyUSB4/ ttUSB5
N/A
ttyUSB0
ttyUSB0/ttyUSB1
4.6.2 U2DIDO
You can find all information about Androids U2DIDO installation inside the Driver CD.
Programming Guide link: CD\Android Documents and Files\ U2DIDO \ProgrammingGuide
Remark: U2DIDO & U2COM
4.6.3 U2CAN
You can find all information about Androids U2CAN installation inside the Driver CD. Programming Guide link: CD\Android Documents and Files\ U2CAN
4.6.4 U2COM Sample Code
You can fund U2COM sample code for Android’s U2COM installation guide inside the Driver’s CD.
U2COM Sample Code: CD\Android Documents and Files\U2COM
4.6.5 OTA Update Guide
OTA is a tool which can help you to update OS image. To update Android OS image you need to receive image file. Once you get the image file follow the guideline below.
OTA Update:
Page 43
41
EAC Mini EACFA20 IoT Gateway User Manual
1. Copy image files to micro SD card.
2. Insert micro SD card to the slot in the computer.
3. In the APPs menu tap OTA Image Upd.
System shows OTA firmware related information.
4. Click Auto-check Update. The system is checking OTA File. It may take some time.
Page 44
42
Chapter 4: Android System Settings
5. Tap Update Image
6. Make sure the file founded by the system is image update file. Tap OK.
Page 45
43
EAC Mini EACFA20 IoT Gateway User Manual
7. Make sure the battery level is at least 50%. Tap OK.
8. Tap OK.
Page 46
44
Chapter 4: Android System Settings
Important:
Do not disconnect the power source! Do not remove the battery!
9. After update the system will automatically restart.
Page 47
45
EAC Mini EACFA20 IoT Gateway User Manual
Chapter 5: Linux System Settings
This chapter describes how to install Linux software on EACFA20 IoT Gateway and provides general system settings information.
Page 48
46
Chapter 5: Linux System Settings
Important:
The device is shipped with the OS System according to your order. Contact us if you have any questions regarding OS settings.
5.1 Linux Operating System
Your IoT gateway supports Linux Ubuntu 18.04 operating system. This section describes how to get started with Ubuntu 18.04 and basic settings.
For more advanced Ubuntu settings, please click here to download SDK from Winmate Download Center.
5.2 Linux System Settings
5.2.1 Start Menu
To open the start menu:
1. Click the lower left Start button on the desktop to expand Start Menu.
2. Click Preferences and select required program.
Page 49
47
EAC Mini EACFA20 IoT Gateway User Manual
5.2.2 Linux Terminal
To open Linux terminal:
1. Click on the Start button at the bottom left side of the desktop, in drop-down menu choose System Tools > LXTerminal.
Page 50
48
Chapter 5: Linux System Settings
Icon
Description
Ethernet is not connected to the IoT gateway device.
Ethernet is connected to the IoT gateway device.
5.2.3 System Information
To check system information:
1. Open Linux Terminal, enter command code to check OS and CPU information.
To find System Information command code, please refer to Appendix C of this manual.
5.2.4 Ethernet Settings
To configure Ethernet Settings, follow the instruction below:
1. Connect Ethernet Cable to the IoT gateway device.
2. Click on the Ethernet connection icon located at the bottom right side of the desktop.
Page 51
49
EAC Mini EACFA20 IoT Gateway User Manual
In the drop-down menu select “Enable Networking”.
3. In the drop-down Ethernet menu double-tap “eth0” to enter the menu.
Page 52
50
Chapter 5: Linux System Settings
4. In General menu select Automatically connect to this network when it is available” and All users may connect to this network”.
5. Go to Ethernet menu, confirm that MTU is set as automatic and Wake on LAN is chalk marked as Default.
Page 53
51
EAC Mini EACFA20 IoT Gateway User Manual
6. Go to IPv4 Settings menu, tap on Method. If you want to use DHCP, in the Method drop­down menu select Automatic (DHCP).
7. If you want to use Static IP, in the Method drop-down menu select Manual. Then configure your Static IP settings.
8. Tap Save button to save settings and exit the menu.
Page 54
52
Chapter 5: Linux System Settings
5.2.5 Exit the System
1. Click the Power button on the bottom right of the desktop.
2. Click the lower right Logout button on the desktop to logout Linux session.
Please download more detailed Ubuntu 18.04 user guide from Ubuntu official website:
https://help.ubuntu.com/lts/serverguide/ .
5.3 Linux Programming Guide
All the programming guides for Linux operating system can be found in the driver CD that comes in the package with the EACFA20 IoT Gateway.
Page 55
53
EAC Mini EACFA20 IoT Gateway User Manual
Chapter 6: Technical Support
This chapter includes pathway for technical support and Software Development Kit (SDK). Free technical support is available from our engineers every business day. We are always ready to give advice on application requirements or specific information on the installation and operation of any of our products. If any problem occurs fill in problem report form enclosed and immediately contact us.
Page 56
54
Chapter 6: Technical Support
Customer name:
Company:
Tel.:
Fax:
E-mail:
Date:
6.1 Software Developer Support
You can download SDK, derivers and other document from Winmate Download Center.
Winmate Download Center
https://www.winmate.com/ > Support > Download Center > Embedded Computing > EAC Mini
EACFA20
6.2 Problem Report Form
IoT Gateway EACFA20XX
Product Serial Number: _________________________________________
Problem Description: Please describe the problem as clearly as possible. Detailed description of the occurred problem will allow us to find the best solution to solve the problem as soon as possible. ______________________________________________________________________________
______________________________________________________________________________ ______________________________________________________________________________ ______________________________________________________________________________ ______________________________________________________________________________ ______________________________________________________________________________ ______________________________________________________________________________ ______________________________________________________________________________ ______________________________________________________________________________ ______________________________________________________________________________ ______________________________________________________________________________ ______________________________________________________________________________ ______________________________________________________________________________
______________________________________________________________________________ ______________________________________________________________________________ ______________________________________________________________________________ ______________________________________________________________________________ ______________________________________________________________________________ ______________________________________________________________________________ ______________________________________________________________________________ ______________________________________________________________________________ _____________________________________________________________________________
Page 57
55
EAC Mini EACFA20 IoT Gateway User Manual
Appendix
This chapter provides additional information about EAC Mini EACFA20 IoT Gateway.
Page 58
56
Appendix
Model Name
Configuration
EACFA20-100-F116
Freescale Cortex i.MX6, 1G RAM, 16GB eMMC, 2 x USB 2.0, 2 x GbE LAN, 1 x HDMI
EACFA20-101-F116
Freescale Cortex i.MX6, 1G RAM, 16GB eMMC, 2 x USB 2.0, 2 x GbE LAN, 1 x HDMI, Wi-Fi
EACFA20-102-F116
Freescale Cortex i.MX6, 1G RAM, 16GB eMMC, 2 x USB 2.0, 2 x GbE LAN, 1 x HDMI, 4G
Item
Specifications
AC Adapter
AC Adapter 12V/40W (Part No. 922D036W12V6)
Mounting
VESA Mounting Kit (Part No. 98K000A0009A) DIN-Rail Mounting Kit (Part No. 98K000A00099 )
External Antenna
WLAN External Antenna (Part No. 397SM000000D) WWAN External Antenna (Part No. 39700000000C )
Expansion Module
EACWSLT-222 WWAN Expansion Board (Single SIM Slot)
EACWSLT-231 3-port RS232/422/485 w/ isolation EACWSLT-232 16-Channel Digital I/O w/ isolation EACWSLT-233 2-port CANBUS w/ isolation EACWLST-234 3-port USB 2.0 EACWLST-235 2-port RS232/422/485 w/ isolation
Appendix A: Order Information
EAC Mini EACFA20 IoT Gateway available in the following configurations:
Additional order options:
Page 59
57
EAC Mini EACFA20 IoT Gateway User Manual
Pin No
Signal Name
Pin No.
Signal Name
1
EXDIN0
14
EXDIN1
2
EXDIN2
15
EXDIN3
3
EXDIN4
16
EXDIN5
4
EXDIN6
17
EXDIN7
5
ISO_ECOM
18
ISO_PCOM
6
ISO_GND
19
EXDOUT0
7
EXDOUT1
20
EXDOUT2
8
EXDOUT3
21
EXDOUT5
9
EXDOUT5
22
EXDOUT6
10
EXDOUT7
23 X 11
X
24 X 12
DI_INOUT3
25
X
13 X
U2xx_ttyUSB
3G/ 4G Card
U2DIDO
U2COM
Sierra module
ttyUSB3
ttyUSB3/ ttUSB4
Quecter module
ttyUSB4
ttyUSB4/ ttUSB5
Appendix B: Expansion Module
B-1: 16-Channel Digital I/O with isolation EACWLST-232
To install EACWLST-232 module:
1. Follow the procedure described in Chapter 2, “Expansion Module Installation” to install
EACWLST-232 module.
2. Connect two USB cables. One end to EACWLST-232 board and another end to EAC
Mini motherboard.
3. Finish module installation.
USB Cable Connection Diagram
Pin assignment and signal names of DIDO connector
Remark: U2DIDO & U2COM
Page 60
58
Appendix
N/A
ttyUSB0
ttyUSB0/ttyUSB1
B-2: 2- Port CANBus with isolation EACWLST-233
To install EACWLST-233 module:
4. Follow the procedure described in Chapter 2, “Expansion Module Installation” to install
EACWLST-233 module.
5. Connect two USB cables. One end to EACWLST-233 board and another end to EAC
Mini motherboard.
6. Finish module installation.
USB Cable Connection Diagram:
B-3: CANBus EACWLST-234
To install EACWSLT-234 module:
1. Follow the procedure described in Chapter 2, “Expansion Module Installation” to install
EACWSLT-234 module.
2. Connect two USB cables. One end to EACWSLT-234 board and another end to EAC
Mini motherboard.
3. Finish module installation.
USB Cable Connection Diagram:
Page 61
59
EAC Mini EACFA20 IoT Gateway User Manual
RS232
RS422
RS485
JP8
1-2
3-4
5-6
JP9
1-2 4-5 7-8
10-11
2-3 5-6 8-9
11-12
2-3 5-6 8-9
11-12
B-4: 2-Port RS232/422/485 with isolation EACWLST-235 & EACWLST-231
To install EACWLST-235 module:
1. Follow the procedure described in Chapter 2, “Expansion Module Installation” to install
EACWLST-235 module.
2. Connect one end of the USB cable to the EACWLST-235 board and another end to the
EAC Mini motherboard.
3. Adjust jumper settings if needed.
4. Finish module installation.
USB Cable Connection Diagram:
Notice: Full loading only for three USB ports. Jumper Settings:
Refer to J8/J9 settings below.
For example: At the picture below you can see RS-232, RS-422, RS-485 (J8/J9) jumper setting. To select RS-232 set Jumper 8 pin 1-2 to the SHORT position, and Jumper 9 pin1-2, 4-5, 7-8, 10­11 to the SHORT position.
Page 62
60
Appendix
Appendix C: Ubutu Command Code
This section includes Ubuntu command code.
Brightness The source code is located in /sys/class/backlight/backlight.25/brightness
We use “sudo sh -c "echo 3 > /sys/class/backlight/backlight.25/brightness”to set the brightness.
The range is between 0 to 7. Use the command “cat /sys/class/backlight/backlight.25/brightness” to get the brightness information.
System information
Execute uname -a
Linux arm 3.14.52-1.1.1_ga+gb93b878 #15 SMP PREEMPT Mon Aug 8 19:13:40 CST 2016 armv7l armv7l armv7l GNU/Linux
Execute lsb_release -a
No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04 LTS Release:16.04 Codename: xenial
Serial Port
a. Open COM Port
// *************************************************************************** // Parameter:
// static char *portname = "/dev/ttyUSB0";
// static int COMPort_fd; // Baud rate: 115200 // bits per second: 8 // parity: none // stop bits: 1 // // ***************************************************************************
static void cmd_open(void)
{ COMPort_fd = open (portname, O_RDWR | O_NOCTTY | O_SYNC);
if (COMPort_fd < 0) { printf("error %d opening %s: %s\n", errno, portname, strerror (errno)); return; } else { printf("Open sccuess\n"); }
set_interface_attribs (COMPort_fd, B115200, 0); // set baudrate 8n1 (no parity) set_blocking (COMPort_fd, 0); // set no blocking printf("COM initial ok\n");
Page 63
61
EAC Mini EACFA20 IoT Gateway User Manual
}
b. Close COM Port
//**************************************************************************** // Close COM port node //****************************************************************************
static void cmd_close(void)
{
if(close(COMPort_fd) == 0) printf("COM close\n"); }
c. Read/ Write Command
// *************************************************************************** // Parameter: // write_data static char write_data[] = "Hello World!!"; // // ***************************************************************************
static void cmd_write(void)
{
write(COMPort_fd, &write_data[0], sizeof(write_data)); // send character greeting
usleep((sizeof(write_data) + 25) * 100);
char buf[200]; int n = read(COMPort_fd, buf, sizeof(buf)); // read up to 100 characters if ready to read
printf("Read Data = %s\n", buf);
}
Page 64
Winmate Inc. 9F, No.111-6, Shing-De Rd., San-Chung District, New Taipei City 24158, Taiwan, R.O.C www.winmate.com
Copyright © Winmate Inc. All rights reserved.
Loading...