Synapse SNAP Connect E20 User Manual

Hide thumbs Also See for SNAP Connect E20:

Advertisement

Quick Links

USER GUIDE

SNAP Connect E20
SNAP Enabled Gateway
Version 1.1 for
Firmware Versions 1.X and Higher
©2015 Synapse, All Rights Reserved. All Synapse products are patent pending. Synapse, the
Synapse logo, SNAP, and Portal are all registered trademarks of Synapse Wireless, Inc.
Doc# 116-031520-002-D000
6723 Odyssey Drive
//
Huntsville, AL 35806
//
(877) 982-7888
//
Synapse-Wireless.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SNAP Connect E20 and is the answer not in the manual?

Questions and answers

Summary of Contents for Synapse SNAP Connect E20

  • Page 1: User Guide

    SNAP Enabled Gateway Version 1.1 for Firmware Versions 1.X and Higher ©2015 Synapse, All Rights Reserved. All Synapse products are patent pending. Synapse, the Synapse logo, SNAP, and Portal are all registered trademarks of Synapse Wireless, Inc. Doc# 116-031520-002-D000 6723 Odyssey Drive...
  • Page 2 Information contained in this document is provided in connection with Synapse products and services and is intended solely to assist its customers. Synapse reserves the right to make changes at any time and without notice. Synapse assumes no liability whatsoever for the contents of this Manual or the redistribution as permitted by the foregoing Limited License.
  • Page 3 1. Overview The SNAP Connect E20 combines a Synapse SM220 RF module and an embedded Linux-based computer to provide connectivity (Ethernet, cellular, Wi-Fi, serial,) and site aggregation capabilities to a diverse array of SNAP IoT networks across industrial temperature ranges.
  • Page 4: Quick Start Guide

    No flow control 5. Initial login: a. Username: snap b. Password: synapse NOTE: You must change your password on first boot 6. Obtaining SNAP Connect (optional) a. sudo -H pip install snapconnect -i https://update.synapse-wireless.com/pypi/ SNAP Connect E20 Users Guide...
  • Page 5 The E20 has a number of mounting holes along the outside flanges of the unit, any of which can be used for mounting the E20 to a solid surface. Synapse also provides an optional DIN Rail Mounting kit if you wish to mount the E20 on a DIN rail. (See synapse-wireless.com for part number.) There are two options for DIN rail attachment depending on your...
  • Page 6 8A. Use only AC/DC power adapters that are properly certified by the relevant authorities in your location, having ratings suitable for the environmental conditions of the installation. SNAP Connect E20 Users Guide...
  • Page 7 E20 Dimensions SNAP Connect E20 Users Guide...
  • Page 8: Power Supply Requirements

    Note: If the E20 is installed into an end product, wiring should be done in accordance with the relevant product safety standard of the end product. Depending on configuration, the E20 will have one to three antennas, and connectors as shown below: SNAP Connect E20 Users Guide...
  • Page 9: Initial Setup

    Determine which COM port your OS has allocated to the E20 serial port. o In Windows, look under “Ports” in Device Manager. o Look for “Silicon Labs CP210x USB to UART Bridge.” • Using a terminal emulator, open a serial connection to the indicated COM port SNAP Connect E20 Users Guide...
  • Page 10 Using your terminal emulator, open a serial connection to the indicated tty port. 5. SNAP Connect (802.15.4 Connection) The E20 contains a Synapse SM220 module, accessible via the serial ports /dev/snap0 and /dev/snap1. SNAP Connect supplies the software infrastructure on the E20 to connect the gateway to the SNAP network via these serial ports.
  • Page 11 SM220 (if it was sleeping) maintenance and support scripts reset_snap_node resets the SM220 for SM220 This package depends on SNAP flash-bridge performs maintenance on the SM220 Connect (See Section 5 – SNAP Connect for installation instructions) SNAP Connect E20 Users Guide...
  • Page 12: User Buttons And Leds

    By default, on power-up all three LEDs will turn on in amber mode, then turn off after Linux has booted. Reading the buttons (Provided by package e20-buttons): • /usr/local/bin/button-1 • /usr/local/bin/button-2 • /usr/local/bin/button-3 Prints the button status (1 = up, 0 = pressed,) and returns this number as the exit code SNAP Connect E20 Users Guide...
  • Page 13 This script is included in the e20-snap-utils package (see above for installation instructions) and is located at /usr/local/bin/flash-bridge Usage: • (to erase the running SNAPpy image) flash-bridge -e • (to upload firmware image “imageName” to the SM220) flash-bridge -i imageName • (to restore the default NV params) flash-bridge -nv SNAP Connect E20 Users Guide...
  • Page 14: Led Control

    E20. Note that any saved data may be lost when performing a hard reset, and this is intended only to recover control when the E20 has become unresponsive. @setHook(HOOK_STARTUP) setPinPullup(GPIO_C4, True) writePin(GPIO_C4, True) setPinDir(GPIO_C4, True) def resetE20(): pulsePin(GPIO_C4, 1, False) SNAP Connect E20 Users Guide...
  • Page 15: Factory Restore / Re-Flashing Your E20

    USB flash drive image and slightly more user interaction to flash a new image. However the process is finished, they are very similar. • From the Synapse Wireless forums, download the newest USB flash drive E20 installer image: https://forums.synapse-wireless.com/showthread.php?t=9 •...
  • Page 16: Common Linux Operations

    • /etc/rc.local • /etc/rc2.d/newprogramname For applications you want to have started as a service which can be started, stopped, and restarted; you can create an Upstart service at: • /etc/init/newprogramname.conf SNAP Connect E20 Users Guide...
  • Page 17 #!/bin/bash while [[ true ]] ; do OUTPUT=`ifconfig eth0 | grep 'inet addr:' | wc -w 2>/dev/null` if [[ $OUTPUT == "0" ]] ; then ifdown eth0 && ifup eth0 & sleep 600 done SNAP Connect E20 Users Guide...
  • Page 18 You can now either run sudo ifup wlan0 to bring up the interface and connect to the network, or  reboot. Once auto wlan0 is present in your network interfaces file, wlan0 will be brought up and attempt to connect to the network automatically on boot. SNAP Connect E20 Users Guide...
  • Page 19 Set up udhcpd to run by default by editing /etc/default/udhcpd: # Comment the following line to enable DHCPD_ENABLED="yes" # Options to pass to busybox' udhcpd. # -S Log to syslog # -f run in foreground DHCPD_OPTS="-S" SNAP Connect E20 Users Guide...
  • Page 20 AP_SET_CFG ASCII_CMD=AP_CFG,SSID="myssid",SEC="wpa2- psk",KEY=2f0568b3492812bd56b946dbaf3fd7dd669b9a4602a09aa6462ff057949b025c,CHANNE L=1,PREAMBLE=1,MAX_SCB=8,END Change parameters as needed (e.g. what CHANNEL you want to be on.) Start AP mode: snap@localhost:~$ sudo iwpriv wlan0 AP_BSS_START Stop AP mode: snap@localhost:~$ sudo iwpriv wlan0 AP_BSS_STOP SNAP Connect E20 Users Guide...
  • Page 21: Cell Modem

    A background shell script, monit utility, or cron job which monitors if PPPD is running, and re-launches it if it detects it is not • Use of the reset-cell-modem script, which pulls the reset line on the cell modem, hardware resetting it if needed. SNAP Connect E20 Users Guide...
  • Page 22 If this is a concern for you, consider setting up the following script to run in the background on boot: #!/bin/bash while [[ true ]] ; do OUTPUT=`ifconfig eth0 | grep 'inet addr:' | wc -w 2>/dev/null` if [[ $OUTPUT == "0" ]] ; then ifdown eth0 && ifup eth0 & sleep 600 done SNAP Connect E20 Users Guide...
  • Page 23: Rf Exposure Statement

    If the FCC ID for the module inside this product enclosure is not visible when installed inside another device, then the outside of the device into which this product is installed must also display a label referring to the enclosed module FCC ID. SNAP Connect E20 Users Guide...
  • Page 24: Modifications (Fcc 15.21)

    FCC 96-208 as it applies to Class B personal computers and peripherals The products listed above have been tested at an External Test Laboratory certified per FCC rules and has been found to meet the FCC, Part 15, Emission Limits. Documentation is on file and available from Synapse Wireless, Inc.

Table of Contents