Avnet SmartEdge User manual

SmartEdge Industrial IoT Gateway
User Guide
Version 1.1, 12/2019

SmartEdge Industrial IoT Gateway
User Guide
http://www.element14.com/gateway Page 2
i. REVISION HISTORY
V1.0
Initial Release
20190820
V1.1
Update formatting, links, content
20191217

SmartEdge Industrial IoT Gateway
User Guide
http://www.element14.com/gateway Page 3
ii. TABLE OF CONTENTS
I. REVISION HISTORY 2
1. INTRODUCTION / OVERVIEW 7
1.1. IMPORTANT SAFETY INFORMATION 7
1.2. INTERNAL SYSTEM VIEW 7
1.3. PACKING LIST 8
2. HARDWARE DESCRIPTION 9
2.1. BLOCK DIAGRAM 9
2.2. SPECIFICATIONS 9
RASPBERRY PI 3 CORE 9
STORAGE MEDIUM 9
INPUT POWER 9
ENVIRONMENTAL 10
DIMENSIONING & MOUNTING 10
FRONT PANEL LEDS 10
HARDWARE WATCHDOG TIMER (WDT) 10
TRUSTED PLATFORM MODULE (TPM) & SECURE BOOT 10
REAL-TIME CLOCK (RTC) WITH BATTERY BACKUP 10
2.3. EXTERNAL CONNECTIONS 11
DC-INPUT 11
DUAL ETHERNET PORTS 11
DUAL USB PORTS 11
DISPLAY CONNECTOR 11
ISOLATED RS-485 / RS-422 / RS232 11
ISOLATED CANBUS 12
ISOLATED DIGITAL I/O 12
2.4. INTERNAL EXPANSION 13
USB HEADER 13
MINI-PCIE SLOT (J34) 13
HAT EXPANSION SLOT 14
3. USAGE 16

SmartEdge Industrial IoT Gateway
User Guide
http://www.element14.com/gateway Page 4
3.1. POWER INPUT 16
3.2. INTERFACES 16
USB 2.0 16
ETHERNET 16
RESET BUTTON 16
HDMI 16
ONBOARD DIGITAL I/O 16
ONBOARD RS232/485 17
CANBUS 17
INTERNAL MPCIE SLOT 17
INTERNAL RASPBERRY PI HAT EXPANSION SLOT 17
3.3. FUNCTION SELECTION JUMPERS 18
RS232/485 JUMPER 19
CANBUS JUMPER 19
WATCHDOG JUMPER 19
3.4. IOTCONNECT CLOUD ENROLLMENT 20
ENROLLMENT STEPS 20
3.5. IMAGE UPDATE 23
REQUIREMENTS 23
EMMC MOUNTING STEPS 23
WRITING A NEW IMAGE OR SAVING EXISTING 24
3.6. SYSTEM CUSTOMIZATION 24
HARDWARE CUSTOMIZATION 24
SOFTWARE CUSTOMIZATION 24
4. SOFTWARE CONFIGURATION 26
4.1. AVNET IMAGE 26
LOCAL ACCESS & CONFIGURATION 26
INCLUDED SOFTWARE 26
4.2. SECURE BOOT 27
4.3. MISCELLANEOUS 27
TRUSTED PLATFORM MODULE 27
DESKTOP GUI 27
OTHER SOFTWARE 28
REAL-TIME CLOCK (RTC) 28
RESET BUTTON 28

SmartEdge Industrial IoT Gateway
User Guide
http://www.element14.com/gateway Page 5
4.4. DIFFERENCES FROM STANDARD RASPBERRY PI 28
CUSTOM BOARD TYPE 28
eMMC UPDATE PROCEDURE 28
ON BOARD PERIPHERALS 29
5. IOTCONNECT DETAILS 30
5.1. USAGE 30
VIEW SENSORS 30
OTA UPDATES 30
5.2. CONFIGURING THE IOTCONNECT SDK 30
DEFAULT WIFI ACCESS POINT CREDENTIALS 30
MODIFY LOCAL CONFIGURATION 30
EXAMPLE 31
5.3. SYSTEM OPERATIONS 31
CONFIGURATION MODE 31
NORMAL MODE 31
TOP LED STATUS INDICATORS 31
5.4. WHAT’S NEXT 31
5.5. PROVISIONING MULTIPLE DEVICES 31
STEPS REQUIRED 32
6. REFERENCES 33
6.1. COMPLIANCE 33
REGULATORY COMPLIANCE AND MARKINGS 33
SIMPLIFIED EU DECLARATION OF CONFORMITY 33
SUPPLIER'S DECLARATION OF CONFORMITY 33
FCC COMPLIANCE STATEMENT 33
APPLICABLE EUROPEAN UNION DIRECTIVES 33
6.2. SCHEMATIC REFERENCES 35
CANBUS 35
RS232/RS485 35
PCIe & SIM SOCKET 36
DIGITAL I/O 36
6.3. REST API DOCUMENTATION 37
GET DEVICE ID 37
GET NETWORK STATUS 37

SmartEdge Industrial IoT Gateway
User Guide
http://www.element14.com/gateway Page 6
GET WIFI ACCESS POINT LISTING 37
SET WIFI CLIENT SSID & PSK 37
GET WIFI CLIENT CONNECTION STATUS 38
SET NEW IOTCONNECT CREDENTIALS 38
START IOTCONNECT SDK AND DISABLE REST API & WIFI AP 38
READ IOTCONNECT SDK CONFIGURATION 38
WRITE IOTCONNECT SDK CONFIGURATION 38
WRITE CELLULAR APN CONFIGURATION 38
6.4. ERRATA 39
6.5. TRADEMARKS & NOTICES 39
TRADEMARKS 39
NOTICES 39

SmartEdge Industrial IoT Gateway
User Guide
http://www.element14.com/gateway Page 7
1. INTRODUCTION / OVERVIEW
The Avnet SmartEdge Industrial IoT Gateway connects your sensors and other devices to the cloud. This allows you to
view status and control connected devices on a customizable web portal from any internet connected location.
1.1. IMPORTANT SAFETY INFORMATION
WARNING! DO NOT INSTALL DCIN PLUG INTO CANBUS PORT! THIS WILL DESTROY THE CANBUS DRIVER AND
TERMINATION RESISTOR!
A safety leaflet is included in the package and available at our product landing page. Please read it prior to powering on
your Gateway.
1.2. INTERNAL SYSTEM VIEW

SmartEdge Industrial IoT Gateway
User Guide
http://www.element14.com/gateway Page 8
1.3. PACKING LIST
Avnet SmartEdge IIoT Gateway System
Parts Kit:
Extension ring: install to increase height of enclosure for Raspberry Pi HATs
DIN rail mount with screws: install with flat head screws
Flat head screws (2): use to attach DIN rail mount
Wall mount screws (2): install into wood or metal, placed 97mm apart vertically
Standoffs (4): install on top of existing standoffs when using extension ring
3 Position terminal block, black (1): use for DC-IN connection
3 Position terminal block, green (1): use for CANbus connection
5 Position terminal block, green (3): use for Digital I/O and RS485 connection
Pan head screws (2): use to secure a HAT onto the Gateway
Quick Start Guide
Safety Leaflet

SmartEdge Industrial IoT Gateway
User Guide
http://www.element14.com/gateway Page 9
2. HARDWARE DESCRIPTION
2.1. BLOCK DIAGRAM
Broadcom
BCM2837
WiFi 802.11 b/g/n
Bluetooth 4.2
2.4GHz band
USB Hub/
Ethernet
J11
DUAL
USB
J10
10/100
ENET
J8 GPIO 40pin
Power
Regulation
eMMC 1GB
LPDDR2
USB
Switch
J15
microUSB
chip
XTAL
37.4M XTAL
19.2M
12VDC to
24VDC
Input
DVI/HDMI
USB Hub/
Ethernet J18
10/100
ENET
J17
DUAL
USB
J12
USB 2x4
RTC
MCU
TPM
CAN
Controller
Serial
Controller
GPIO
GPIO
AGPIO
BRS232/
485 CAN
Bus
XTAL
14.7456M XTAL
16.00M
mPCIe Expansion
(USB only)
uSIM
FCTRY
RESET
2.2. SPECIFICATIONS
RASPBERRY PI 3 CORE
64-Bit, Quad-core ARM A53 (Broadcom BCM2837) SoC
Direct connection to enclosure heat sink for heat dissipation
Maximum clock speed limited to 900MHz for enhanced thermal range
1GB LPDDR2 SDRAM
WiFi/BT, 2.4GHZ, 802.11bgn, BT 4.2
STORAGE MEDIUM
8GB (minimum) eMMC onboard
INPUT POWER
Voltage: 12-24VDC Input
Power: 12W minimum, 18W recommended. Additional power may be needed for installed USB devices or expansion
cards (mPCIe or HATs). Be sure to verify the power supply high temperature derating for your operating
temperature range.

SmartEdge Industrial IoT Gateway
User Guide
http://www.element14.com/gateway Page 10
ENVIRONMENTAL
Ambient Operating Temperature Range: -20°C to 70°C*, non-condensing humidity
Storage Temperature Range: -40°C to 85°C, non-condensing humidity
*Note: depending on processor workload, CPU throttling may occur above 50C ambient
DIMENSIONING & MOUNTING
Dimensions: 125mm W x 127mm D x 43mm H (55mm H with included expansion ring)
Weight: 0.4kg
Mounting: Desktop, Wall (sheet metal screws included), or DIN Rail (w/ included DIN rail bracket for 35mm "top hat")
FRONT PANEL LEDS
Power / Activity LED
Green indicates valid power
Red flashing indicates disk activity by default, but configurable
User LED
Controlled from user code
HARDWARE WATCHDOG TIMER (WDT)
Selectable timeout (1-255 seconds)
TRUSTED PLATFORM MODULE (TPM) & SECURE BOOT
SLB9670 TCG 2.0 Trusted Platform Module
Secure Boot Option when used with Avnet's Image
REAL-TIME CLOCK (RTC) WITH BATTERY BACKUP
PCF8563 real-time clock
BR1225 backup battery

SmartEdge Industrial IoT Gateway
User Guide
http://www.element14.com/gateway Page 11
2.3. EXTERNAL CONNECTIONS
DC-INPUT
12VDC - 24VDC +/- 10%
Recommended Wire: 18-24AWG Solid or 18-22AWG Stranded
Install Protective Earth Wire
DC-IN Terminal Block Connections
Symbol
Signal Name
Protective Earth GND
-
0V (GND)
+
12-24VDC
DUAL ETHERNET PORTS
10/100 Base-T
Link / Activity LEDs
DUAL USB PORTS
USB 2.0 High-Speed
5V @ 1.2A Output, shared among all USB ports
DISPLAY CONNECTOR
HDMI / DVI Compatible
ISOLATED RS-485 / RS-422 / RS232
SC16IS740 UART (16C550 compatible)
Jumper selection (see section 3.3)
Term: Enable RS485 termination [installed by default, 120ohm termination]
Shdn: Port Shutdown [not installed by default, port enabled]
Slew: Slow Slew Rate [not installed by default, fast slew rate]
Full: Full duplex (4-wire) [not installed by default, RS485 half duplex]
RS232: Use RS232 signaling [not installed by default, RS485 mode]
RS-485/RS-422/RS-232 Terminal Block Connections
Signal
2-Wire RS485
(half)
4-Wire RS485
(full) RS-422
RS-232
-
(n/c)
RD (A) -
CTS
+
(n/c)
RD (B) +
RXD
G
GND
GND
GND
A
DATA (A) -
TD (A) -
TXD
B
DATA (B) +
TD (B) +
RTS

SmartEdge Industrial IoT Gateway
User Guide
http://www.element14.com/gateway Page 12
ISOLATED CANBUS
WARNING! DO NOT INSTALL DCIN PLUG INTO CANBUS PORT! THIS WILL DESTROY THE CANBUS DRIVER AND
TERMINATION RESISTOR!
MCP2515 CAN Controller
Recommended Cable: Shielded Twisted Pair, 120ohm impedance (Belden 3105A)
Route multiple device connections as daisy chain, with termination only at endpoints
Jumper selection for: CAN termination (see section 3.3)
CAN Terminal Block Connections
Signal
CANbus signal
G
GND
L
CANL
H
CANH
ISOLATED DIGITAL I/O
Dual individually isolated blocks A & B, with each block having two (2) inputs and two (2) outputs
Digital Outputs:
Outputs are open drain
High Level: up to 60V can be applied to Digital Output
Low Level: 1.5V max @ 500mA
Digital Inputs:
Inputs have internal pull-down of 6.8kOhm.
High Level: minimum of 5V @ 1mA at the input terminal, 60V @ 10mA max
Low Level: maximum of 1V at the input terminal
Digital I/O Terminal Block Connections
Label
Digital I/O Signal
Ox
Output x
Ix
Input x
G
Ground
Oy
Output y
Iy
Input y

SmartEdge Industrial IoT Gateway
User Guide
http://www.element14.com/gateway Page 13
2.4. INTERNAL EXPANSION
USB HEADER
2x4 header with two USB ports for optional internal USB devices
Specially designed HATs can use USB
USB Header (J12)
Pin
Signal Name
Signal Name
Pin
1
Vbus
Vbus
2
3
USB1-
USB2-
4
5
USB1+
USB2+
6
7
GND
GND
8
MINI-PCIE SLOT (J34)
Full size mPCIe slot for USB devices only (PCIe bus is not connected)
Supports USB, SIM, and WWAN LED for optional cellular modem
MicroSIM socket for modem is located on the bottom side of the PCBA (remove the four corner standoffs and the
middle screw to lift out the PCBA)
The included enclosure extension ring has two knockouts for SMA bulkhead antenna cables. The knockouts may
need to be removed using a drill/router bit.
Mini-PCIe Slot

SmartEdge Industrial IoT Gateway
User Guide
http://www.element14.com/gateway Page 14
HAT EXPANSION SLOT
Support for standard Raspberry Pi HAT boards
Both HAT and mPCIe card can be installed (check for any interference)
Standard device-tree overlays can be used
Enclosure expansion ring can increase the enclosure height
Orient the expansion ring with the tab facing the PCB near the coin battery
Install the four standoffs in the parts kit to the four locations shown in below picture
HATs have access to full 40pin HAT I/O and alternate functions*
*NOTE: I2C1 Bus (GPIO2/GPIO3) is shared with onboard devices. I2C addresses: 0x33, 0x43, 0x44, 0x51 are reserved.
HAT Expansion card location
Install
additional
standoffs to
use expansion
ring (4 places)

SmartEdge Industrial IoT Gateway
User Guide
http://www.element14.com/gateway Page 15
Raspberry Pi HAT Expansion Connector (J8)
Pin
Signal Name
Signal Name
Pin
1
3.3Vout
5Vout
2
3
I2C1_SDA (GPIO2)
5Vout
4
5
I2C1_SCL (GPIO3)
GND
6
7
GPIO4
GPIO14
8
9
GND
GPIO15
10
11
GPIO17
GPIO18
12
13
GPIO27
GND
14
15
GPIO22
GPIO23
16
17
3.3Vout
GPIO24
18
19
GPIO10
GND
20
21
GPIO9
GPIO25
22
23
GPIO11
GPIO8
24
25
GND
GPIO7
26
27
ID_SD (GPIO0)
ID_SC (GPIO1)
28
29
GPIO5
GND
30
31
GPIO6
GPIO12
32
33
GPIO13
GND
34
35
GPIO19
GPIO16
36
37
GPIO26
GPIO20
38
39
GND
GPIO21
40

SmartEdge Industrial IoT Gateway
User Guide
http://www.element14.com/gateway Page 16
3. USAGE
For basic operation, the Avnet SmartEdge IIoT Gateway requires a power connection along with internet access. A
mobile App can be used to connect the Gateway to the IoTConnect cloud solution, and create a new user account to
access it.
3.1. POWER INPUT
An external power supply is required (not provided)
Output rating: 12VDC to 24VDC (+/- 10%), 18W minimum, 24W recommended, LPS (Limited Power Source)
Use 16-22AWG power supply wiring, stripped back 4-5mm, twisted & optionally tinned
Find the black, 3 position terminal plug in the included parts kit
Insert the prepared wires into the terminal plug, observing proper location
An Earth GND wire is recommended
Signal
DC Input
Earth GND
-
0V (GND)
+
12-24VDC
CAUTION: Verify terminal block wiring is correct, tight, and with no bare wiring exposed
3.2. INTERFACES
USB 2.0
Two USB 2.0 High-Speed ports are available to accept devices and can provide 0.5A per port.
ETHERNET
Two 10/100 Ethernet peripherals are available. By default, both are configured the same and can accept connection to
the customers network. Some advanced topologies could be configured by the customer (bridged, router, etc).
RESET BUTTON
A pin hole reset button (labeled RST) is located next to the HDMI port. A paperclip can be used to activate it.
Short press (less than 5 seconds) initiates a reboot
Long press (between 5 and 30 seconds) re-enters Configuration state for IoTConnect Cloud Enrollment (section 3.4)
Very long press (greater than 30 seconds) performs a Factory Reset
HDMI
An HDMI monitor can be used for console display. It should be connected at boot to enable the proper output.
ONBOARD DIGITAL I/O
The digital inputs and outputs are available as /sys/class/gpio/gpio200 thru gpio207. GPIO200/202/204/206 are
inputs and GPIO201/203/205/207 are outputs. See the schematic in the appendix for detailed connections. GPIOs
must be exported in your application to use them. If they are used in the SDK (IoTConnectSDK.conf) then they are
exported automatically.

SmartEdge Industrial IoT Gateway
User Guide
http://www.element14.com/gateway Page 17
ONBOARD RS232/485
You can use the onboard RS232/485 interface as a serial console, Modbus RTU interface, or other serial usages.
The RS-232/RS-485 port is configured by default for 2-wire RS-485 operation with termination enabled. On board
jumpers can reconfigure the port for full duplex or RS-232 signaling. See section 3.3 for jumper configuration and
connections.
The port is /dev/ttySC0. Refer to the schematics in the appendix for detailed connections.
CANBUS
The internal CANbus is available but not fully enabled by default in the image. It can be enabled by removing the
comments dealing with the can0 section in /etc/network/interfaces. Be sure to set the proper bitrate for your bus.
Utilities cansend and candump are included and the can0 device can be used by the network stacks.
A CAN termination jumper is enabled by default. Refer to section 3.3 for more information and refer to the schematics
in the Appendix.
INTERNAL MPCIE SLOT
This full size mPCIe slot is plug-n-play with USB based cards. PCIe cards are not supported. As with any USB device,
additional drivers may need to be installed.
INTERNAL RASPBERRY PI HAT EXPANSION SLOT
A standard Raspberry Pi HAT expansion slot of available, and can support most off-the-shelf HAT cards. The I2C1 bus is
enabled for onboard devices, so the HAT card(s) must not conflict with that usage.

SmartEdge Industrial IoT Gateway
User Guide
http://www.element14.com/gateway Page 18
3.3. FUNCTION SELECTION JUMPERS
The RS232/485, CANBUS, and WATCHDOG have internal jumpers to set bus signaling, termination, function, etc. The
lid must be removed to access these jumpers.
Jumper locations
Detail of J22 jumpers
CANbus
termination
Watchdog
enable
RS232/485
settings

SmartEdge Industrial IoT Gateway
User Guide
http://www.element14.com/gateway Page 19
RS232/485 JUMPER
Term [default installed]: Install to enable RS422/485 bus termination (bus should be terminated on both ends only)
Shdn: Install to shutdown the transceiver (disable)
Slew: Install to use slow slew rate. This reduces EMI emissions but limits maximum bandwidth
Full: Install to enable RS422/485 full duplex (4-wire)
RS232: Install to use RS232 signaling instead of RS422/485 (Full & Term jumpers should be removed)
CANBUS JUMPER
Term [default installed]: Install to enable CANbus termination (bus should be terminated on both ends only)
WATCHDOG JUMPER
WDT: If this jumper is installed, the hardware watchdog timer is enabled at power-on. It must be disabled or toggled
before power-on timeout (approximately 4 minutes) else the system will reset.

SmartEdge Industrial IoT Gateway
User Guide
http://www.element14.com/gateway Page 20
3.4. IOTCONNECT CLOUD ENROLLMENT
A 30-day trial of IoTConnect cloud service is provided. Perform the following steps to enroll your Gateway.
After mobile app sign-up is complete, you can login to the IoTConnect Web Portal: https://avnet.iotconnect.io using
the same credentials as the mobile app.
For more information, see the IOTCONNECT DETAILS section of this document (Section 5).
ENROLLMENT STEPS
Follow this installation process to connect your Avnet SmartEdge IIoT Gateway to the cloud.
1. Connect your SmartEdge Gateway to your Ethernet network, if available, by using one of the two Ethernet Ports. If
using wireless, this will be set up in a later step using the mobile App.
2. Insert the correctly wired power supply plug to start the unit. IMPORTANT! Make sure to install into the 12-24VDC
power input shown above and not the CAN port!
3. Other hardware connections can optionally be made at this time. See section 0 for more information
4. Download the Avnet IoTConnect mobile application to register your SmartEdge Gateway with the IoT Connect
cloud. Refer to the web portal below for App Store links.
Web Portal: https://element14.com/gateway
5. Launch the App and enter your Login email
and password, or press Sign Up
6. Sign Up for a new account by entering your
details
Other manuals for SmartEdge
1
Table of contents
Other Avnet Gateway manuals
Popular Gateway manuals by other brands

Bang & Olufsen
Bang & Olufsen BeoLink 1703 installation guide

ZyXEL Communications
ZyXEL Communications P-660HN-T1A Support notes

Avaya
Avaya G450 Manager Installing

Samsara
Samsara CBL-AG-BPWR install guide

CheckVideo
CheckVideo G1002-16-XT quick start guide

Silicon Laboratories
Silicon Laboratories TS-TG1 user manual

Milesight
Milesight UG65 quick start guide

SMC Networks
SMC Networks EliteConnect SMCWHSG44-G Specifications

ZyXEL Communications
ZyXEL Communications NBG-510S quick start guide

Actiontec Electronics
Actiontec Electronics FV2200 quick start guide

HMS Networks
HMS Networks Ewon Flexy 205 Application note

Funkwerk
Funkwerk bintec R230a Quick install guide