Advertisement

Quick Links

Users Guide
E20 Gateway (14.04)
Copyright 2008-2024 Synapse Wireless, All Rights Reserved. All Synapse products are patent pending.
Synapse, the Synapse logo and SNAP are all registered trademarks of Synapse Wireless, Inc.
351 Electronics Blvd. SW // Huntsville, AL 35824 // (877) 982-7888 // synapsewireless.com

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Synapse SNAPconnect E20

  • Page 1 Copyright 2008-2024 Synapse Wireless, All Rights Reserved. All Synapse products are patent pending. Synapse, the Synapse logo and SNAP are all registered trademarks of Synapse Wireless, Inc. 351 Electronics Blvd. SW // Huntsville, AL 35824 // (877) 982-7888 // synapsewireless.com...
  • Page 2: Table Of Contents

    CONTENTS 1 Hardware Setup 2 Getting Started 3 E20 Software Specifics 4 LEDs and Buttons 5 Working with the SNAP Module 6 Wi-Fi Setup 7 Using USB Accessories 8 Accessing the microSD Slot 9 Factory Restore 10 Mounting Instructions 11 Technical Specifications 12 Troubleshooting 13 Regulatory Information and Certifications...
  • Page 4 E20 Users Guide The SNAPconnect E20 combines a Synapse SM220 Series RF module and an embedded Linux-based com- puter to provide connectivity (Ethernet, Wi-Fi, or serial) and site aggregation capabilities for SNAP-powered IoT networks across industrial temperature ranges. TCP/IP connections can bridge remote devices running SNAP into one common network, an effective method for centralizing data storage, performing web-based analytics, and monitoring remote applications.
  • Page 5 E20 Users Guide CONTENTS...
  • Page 6: Hardware Setup

    CHAPTER HARDWARE SETUP...
  • Page 7: Connecting The Antennas

    The SNAPconnect E20 will have a few antennas, as shown above. You can determine which antenna should go on which RP-SMA connector on the SNAPconnect E20 based on the number of dots under the label on the gateway (one for SNAP, two for Wi-Fi) matching the number of dots marked on the included antennas.
  • Page 8 E20 Users Guide All DC wiring should be done in accordance with all relevant local and national wiring regulations and should be protected by a suitably rated fuse or circuit breaker sized according to the relevant wiring codes. The maximum interrupting rating of the overcurrent protective device is not to exceed 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.
  • Page 9 E20 Users Guide Chapter 1. Hardware Setup...
  • Page 10: Getting Started

    Term, PuTTY, cu, screen, etc. 2.2 Connect USB to Host PC You will need to connect the USB cable to the SNAPconnect E20 and determine which serial port was as- signed. This process is different based on the OS. Note If you find that your host PC cannot connect to the SNAPconnect E20 over the USB connection, you may...
  • Page 11: Terminal Access

    $ ls /dev/tty.* /dev/tty.Bluetooth /dev/tty.SLAB_USBtoUART # <- new device 2.3 Terminal Access Use a terminal emulator to communicate to the SNAPconnect E20’s serial port using the following serial port settings: • 115200 baud • 8 bits • No parity • 1 stop bit •...
  • Page 12: Connect To The Internet

    2.6 Update Python Development Libraries Before starting work with the SNAPconnect E20, you’ll want to make sure you have the latest versions of the software installed on the unit. The gateway makes use of Python Development Libraries that are sometimes updated to add new functionality and correct bugs.
  • Page 13 E20 Users Guide 2.8 Update SNAPconnect The SNAPconnect software enables the connection from your SNAPconnect E20 device to the rest of your SNAP-powered network. To update SNAPconnect, type the command: sudo –H pip install --extra-index-url https://update.synapse-wireless.com/pypi/ -- upgrade snapconnect 2.9 Update PyCrypto The PyCrypto project is required for using AES128 encryption on your radio network.
  • Page 14: Passwords And Root Access

    THREE E20 SOFTWARE SPECIFICS The SNAPconnect E20 uses Canonical’s Ubuntu 18.04 as of v2.0.0, running a custom Linux kernel based on the i.MX6 kernel by Freescale. Older versions of the E20 OS are based on Ubuntu 14.04. There are many resources out there for learning about Ubuntu online, and the topic possibilities far exceed the scope of this manual;...
  • Page 15 E20 Users Guide 3.2 E20 Software Packages The SNAPconnect E20 comes with several support packages installed, and additional ones are available via apt and pip. You can pull the latest aptupdates for your gateway by calling: sudo apt-get update sudo apt-get upgrade...
  • Page 16: Leds And Buttons

    CHAPTER FOUR LEDS AND BUTTONS The SNAPconnect E20 includes three tri-color LEDs that you can control from your programs, plus three buttons you can monitor. 4.1 LEDs Each of the three LEDs can be red, green, or amber. Each has a script you can use to set the LED state:...
  • Page 17 4.2 Buttons The three buttons on the left side of the SNAPconnect E20 are fully user-accessible. There are button com- mands that print the button status to STDIO and return the button status (as 1 for up or 0 for pressed):...
  • Page 18: Waking The Snap Module

    FIVE WORKING WITH THE SNAP MODULE The SNAPconnect E20 contains a Synapse Wireless SM220 surface-mount SNAP module, which it can ac- cess via serial ports /dev/snap0 and /dev/snap1 connected to UART0 and UART1 on the module, respectively. By default, SNAP-powered modules communicate serially over UART1, so when making your SNAPstack or SNAPtoolbelt connection to the module, you should use /dev/snap1 unless you have modified your mod-...
  • Page 19: Resetting The Snap Module

    SNAP module to your preferred network settings. Or, you could change those settings serially from your SNAPconnect E20 — if your gateway is set to communicate serially the way that your SNAP module is (considering encryption keys and types, serial rates, etc.). The point is: defaulting a device doesn’t mean you have it where you want it, only that you now know where...
  • Page 20 It is intended only to recover an unresponsive E20. The following sample SNAPpy script demonstrates rebooting the i.MX6 processor from the SM220: from synapse.platforms import @setHook(HOOK_STARTUP) on_startup():...
  • Page 21 E20 Users Guide Chapter 5. Working with the SNAP Module...
  • Page 22: Connecting To An Access Point

    CHAPTER WI-FI SETUP By default, the Wi-Fi interface on the SNAPconnect E20 is not active on startup. In This Section • Enabling Wi-Fi • Connecting to an Access Point • Setting Up Access-Point Mode 6.1 Enabling Wi-Fi Edit the interfaces file at /etc/network/interfaces file using the editor of your choice.
  • Page 23 E20 Users Guide 6.3 Setting Up Access-Point Mode You can configure your gateway to work as an access point for other Wi-Fi devices. This can be useful if you want to be able to connect directly to your gateway with a laptop or phone to administer your application. 6.3.1 Install udhcpd Begin by making sure the udhcpd package is installed: sudo apt-get install udhcpd...
  • Page 24 E20 Users Guide 6.3.5 Assign a Static IP Address Edit the /etc/network/interfaces file to assign a static IP address so the gateway can act as an access point. By default, the file contains this configuration text: iface wlan0 inet dhcp wpa-conf /etc/wpa_supplicant.conf wpa-driver wext You can either replace that text with the new configuration text, or comment those lines by inserting a #...
  • Page 25 E20 Users Guide Chapter 6. Wi-Fi Setup...
  • Page 26: Usb Power

    SEVEN USING USB ACCESSORIES The SNAPconnect E20 has drivers to support many USB devices, such as a second SNAP-powered bridge (using an SN220 or SN132 carrier board), Wi-Fi devices, cell modems, or external storage. While the complete details of configuration options available on these devices fall outside the scope of this document, there are some common considerations that may prove useful.
  • Page 27 E20 Users Guide 7.3 Using usb_modeswitch Many USB Wi-Fi and cell modems now come with a small amount of onboard storage, typically used to automatically install drivers when connected to a Windows host. When the device first connects, it appears as a small flash drive or virtual CD-ROM.
  • Page 28: Accessing The Microsd Slot

    ACCESSING THE MICROSD SLOT The SNAPconnect E20 includes a microSD slot for reflashing your device to its factory state. You can also use a card in this slot as additional flash storage on your gateway if you need it. The following instructions will work for ext4-, FAT32-, or exFAT-formatted cards.
  • Page 29 E20 Users Guide ls /dev/mmcblk0p* Chapter 8. Accessing the microSD Slot...
  • Page 30: Download Image

    CHAPTER NINE FACTORY RESTORE Restoring an SNAPconnect E20 to the factory default is accomplished using a microSD card image. Follow the steps below to restore your gateway. 9.1 Download image Download the newest microSD card E20 installer image. 9.2 Write new image to a microSD card 9.2.1 Using Etcher (Windows, macOS, Linux):...
  • Page 31: Insert Microsd

    E20 Users Guide 9.3 Insert microSD First, remove power to the SNAPconnect E20. Remove the access cover on the rear of the SNAPconnect E20, and insert the microSD card into the microSD card slot. Slide the microSD card carrier toward the bottom of the unit (away from the antenna end) about a sixteenth of an inch (1.5 mm).
  • Page 32: Mounting Instructions

    E20 to a solid surface. Synapse also provides an optional DIN Rail Mounting kit (part AC021-001) if you wish to mount the E20 on a DIN rail. There are two options for DIN rail attachment depending on your available space.
  • Page 33 E20 Users Guide Chapter 10. Mounting Instructions...
  • Page 34: Hardware Specifications

    ELEVEN TECHNICAL SPECIFICATIONS The Synapse Wireless E20 gateway is an ARM Cortex-A9 based Linux computer running Ubuntu. It incor- porates a 2.4 GHz Synapse RF module that connects the device to SNAP-powered mesh networks. The gateway has Wi-Fi and Ethernet network connectivity, and serial connectivity is available through a Micro- USB connection.
  • Page 35 E20 Users Guide Note When running an application that demands unusually intensive CPU/Memory resources at 70C, the tem- perature on the processor core might reach up to 90C resulting in performance degradation. For more information, see http://cache.freescale.com/files/32bit/doc/app_note/AN4579.pdf. Note This equipment is certified by Underwriters Laboratories for operation in a maximum ambient tempera- ture of 65°C.
  • Page 36 E20 Users Guide the radiator and your body. This transmitter must not be co-located or operating in conjunction with any other antenna or transmitter. Note Antenna and transmitters may be co-located or operated in conjunction with this device only if the trans- mitters do not simultaneously transmit.
  • Page 37 E20 Users Guide 11.3 E20 Dimensions Chapter 11. Technical Specifications...
  • Page 38: The Ethernet Port Does Not Work Or Eth0 Does Not Appear In Ifconfig

    CHAPTER TWELVE TROUBLESHOOTING 12.1 The Ethernet port does not work or eth0 does not appear in ifconfig Most likely, your MAC address has not been set. If you run ifconfig -a and see output similar to: eth_badmac Link encap:Ethernet HWaddr 00:1c:2c:ff:ff:ff Your MAC address has reverted to the default and needs to be set.
  • Page 39 E20 Users Guide 12.3 Cannot SSH into my E20 You cannot SSH into the E20 as root, or any user account which does not have the password set. Be sure to have set a password for the account you want to use to connect. 12.4 The E20 is slow to boot because it’s waiting for the network Ubuntu will wait up to two minutes during boot up to ensure that every network device configured to come up automatically in DHCP mode acquires an IP address before continuing.
  • Page 40 E20 Users Guide Additionally, you can reduce the DHCP client retry and timeout times: sudo E20-dhclient-setargs --timeout --retry After changing this setting, the DHCP client will try for 30 seconds before going to sleep for three minutes and trying again. If you have an exceptionally slow DHCP server and can tolerate booting before the device receives its IP address, you can set your boot time arguments low and then set a long timeout value with whatever retry parameter suits your needs.
  • Page 41 E20 Users Guide Chapter 12. Troubleshooting...
  • Page 42: Regulatory Information And Certifications

    CHAPTER THIRTEEN REGULATORY INFORMATION AND CERTIFICATIONS 13.1 RF Exposure Statement This equipment complies with FCC radiation exposure limits set forth for an uncontrolled environment. This equipment should be installed and operated with minimum distance of 20cm between the radiator and your body.
  • Page 43: Modifications (Fcc 15.21)

    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 13.3 Industry Canada (IC) Statement This Class B digital apparatus complies with Canadian ICES-003.
  • Page 44 E20 Users Guide 13.4 CE Transmit Power By default, the SNAPconnect E20 ships with transmit levels that are not within the power levels allowed by CE. It is up to the customer to ensure that their system is CE compliant.

Table of Contents