USER MANUAL: Raspberry Pi 2

Similar documents
USER MANUAL: 4G. The PiIoT is a WAN communications board which provides a 2G / 3G / 4G

Linkwave LTE Modem Board MC7304 Data Sheet

Cradlepoint ARC CBA850

3G Watcher MP 880W/881W. Online Help Rev 2.0

Special Provision No. 683S27 June 2017

Product Description. HiLink E3531 HSPA+ USB Stick V100R001 HUAWEI TECHNOLOGIES CO., LTD. Issue 02. Date

Product Description. HiLink E3131 HSPA+ USB Stick V100R001 HUAWEI TECHNOLOGIES CO., LTD. Issue 01. Date

Product Description. HUAWEI E5251 Mobile WiFi V100R001 HUAWEI TECHNOLOGIES CO., LTD. Issue 01. Date

ZETA Series 2G/3G/4G Modems with GPS Option

Virtual Access GW6600 Series Router Quick Start Guide

Product Description. HUAWEI B593s-931 LTE CPE V200R001 HUAWEI TECHNOLOGIES CO., LTD. Issue 01. Date

Product Description. HiLink E3251 DC-HSPA+ USB Stick V100R001 HUAWEI TECHNOLOGIES CO., LTD. Issue 01. Date

ZETA Series 2G/3G/4G Modems with GPS Option

Configuring a GSM (3G) modem on a GW2040 Series Router

GEM-10 GPRS/Modbus Gateway User Manual. Rev /2012

NWK200: Extrovert 4G LTE Modem

INVICTUS 3G/GPRS MODEM TECHNICAL INFORMATION

BitPipe Cellular Dev- Kit

I. Introduction The RailBox/24 features a Cellular Radio Network interface and a Position Acquisition System.

Product Description. HUAWEI E5186s-22a LTE CPE V200R001 HUAWEI TECHNOLOGIES CO., LTD. Issue. Date

Product Description. HUAWEI E5180s-610 LTE cube V200R001 HUAWEI TECHNOLOGIES CO., LTD. Issue. Date

Installation Guide. Network Encoder Model TVI C300

Product Description. HUAWEI E3531 HSPA+ USB Stick V100R001 HUAWEI TECHNOLOGIES CO., LTD. Issue 02. Date

User Guide Vodafone Mobile Wi-Fi R205. Designed by Vodafone

Product Description. HUAWEI E353 HSPA+ USB Stick V100R001 HUAWEI TECHNOLOGIES CO., LTD. Issue 01. Date

Product Description. MS2372h-153 LTE USB Stick V100R001 HUAWEI TECHNOLOGIES CO., LTD. Issue 01. Date

Product Description. HUAWEI E5573Cs-931 Mobile WiFi V200R001 HUAWEI TECHNOLOGIES CO., LTD. Issue 01. Date

M300 Series Cellular Modem Datasheet

Product Description. HUAWEI E369 HSPA+ USB Stick V400R001 HUAWEI TECHNOLOGIES CO., LTD.

BitPipe Cellular Dev-Kit

IG601 Intelligent Gateway Quick Guide

MPCIE-3G Quick Installation Guide

Install the Minicom Terminal Emulator for Use with Callisto-Lx

CoverTitle. Raven XT. Quick Start Guide for AT&T Rev 3.0E

Manual of ET-LCD SW HAT

Quick Installation Guide

Product Description. HUAWEI E156G HSDPA USB Stick V100R001 Issue:- 01 Date: Enjoy.

Product Description. HUAWEI E160E HSDPA USB Stick V100R001 HUAWEI TECHNOLOGIES CO., LTD. Issue 01. Date

Product Description. HUAWEI E173 HSPA USB Stick V100R001 HUAWEI TECHNOLOGIES CO., LTD. Issue 01. Date

Hardware manual. 1. Overview 2. Technical characteristics 3. Connections. ( Portal (../portal/portal.html)

Operation Manual for OutboxSMS-Lite

EnGenius Quick Start Guide

cybox lte 2-w Industrial and Mobile LTE and IEEE ac UMTS / LTE Router

YOUR INDUSTRIAL IOT PARTNER Expertises and solutions

Skywire Development Kit User Manual

Industrial Tri-band 3G Modem GTM-201-3GWA Series. User Manual

ETM350C & ETM450C User Manual

Gemalto EHS6T-USB Terminal Starter Kit. Getting Started Guide

Installing and Managing WIMEA-ICT Automatic Weather Station (AWS) Technical and User Manual. Version 1.0. Prepared by Mary Nsabagwa

Mobius Huawei E5330 Training Guide

NetComm NTC-5000 CallDirect Series HSPA Cellular Routers Quick Start Guide

Product Description. HUAWEI E5577Cs-603 Mobile WiFi V200R001 HUAWEI TECHNOLOGIES CO., LTD. Issue 01. Date

Banner Connected Data Solutions Web Service

NetComm Commercial. NetComm NTC-6000 CallDirect Series HSPA Cellular Routers Quick Start Guide

Adafruit PiUART - USB Console and Power Add-on for Raspberry Pi

3G Cell Modem Installation and User Guide

ModemUSB/E12 User Manual v0.1

HUAWEI B310s-22 LTE CPE V200R001. Product Description. Issue. Date HUAWEI TECHNOLOGIES CO., LTD.

Virtual Access GW1000 Series Router Quick Start Guide

Product Description. HUAWEI E5377Bs-605 Mobile WiFi V200R001 HUAWEI TECHNOLOGIES CO., LTD. Issue 01. Date

Big Picture. ~10 years between generations

Cradlepoint AER1600/AER1650

Raspberry Pi 3 Model B and JMRI with WiFi Access Point for Pi-SPROG One and Pi-SPROG Nano raspian-jessie build

FAST Installation (PMRS) Box Contents

Deploy the ExtraHop Discover 3100, 6100, 8100, or 9100 Appliances

HUAWEI B310s-927 LTE CPE V200R001. Product Description. Issue 03. Date HUAWEI TECHNOLOGIES CO., LTD.

Setup a VSN Survey Style Using Trimble Access (MiFi Card)

4G LTE CAT 4 Skywire User Manual

Cinterion BGS2T (RS232) Terminal Starter Kit. Getting Started Guide

INSTANTLY SHARE YOUR PHOTOS WITH POTENTIAL CUSTOMERS

RN2483_Silica Documentation

Skywire Development Kit User Manual

Product Description. HUAWEI E587 Mobile WiFi V100R001 HUAWEI TECHNOLOGIES CO., LTD. Issue 03. Date

Rab Nawaz Jadoon. Cellular Systems - II DCS. Assistant Professor. Department of Computer Science. COMSATS Institute of Information Technology

Unified Office Gateway UMG-1000 / UMG-1000W. Quick Installation Guide

Appliance Guide. Version 1.0

Gemalto (Cinterion) EHS6 Concept Board

Gooligum Electronics 2015

HOW-TO-GUIDE: demonstrating Fabric Attach using OpenVSwitch

Product Description. HUAWEI E3372 LTE USB Stick HUAWEI TECHNOLOGIES CO., LTD. Issue 02. Date

Congratulations for purchasing this LabKit! Please follow the steps below to get started

Environmental Conditions

User Manual For TX204B/TX204G/TX306 Receivers

Deploy the ExtraHop Discover 3100, 6100, 8100, or 9100 Appliances

Wonderful Communication, Mobile Life. Welcome to HUAWEI E220 HSDPA USB Modem. HUAWEI E220 HSDPA USB Modem User Manual

Deploy the ExtraHop Trace 6150 Appliance

Cellular Routers. Wireless WAN router / switch. Installation Guide

CoverTitle. PinPoint X. Quick Start Guide for AT&T Rev 3.0C

WW-41X, 4G WWAN Mini PCIe. Card w/ RS232/GNSS Options. Overview. Applications. Features

Configuring Linux CDC_NCM for Skywire LTE CAT4 Modem

GSM communicator G16 USER MANUAL

SiteMetrix Configuring RTK Corrections

Quick Installation Guide DSL-2650U/NRU. 3G/ADSL/Ethernet Router with Wi-Fi and Built-in Switch

COPYRIGHTED MATERIAL. Introduction. Harri Holma and Antti Toskala. 1.1 WCDMA technology and deployment status

User Guide NTC-6200 Series 3G M2M Router / Plus

Mobile WiMAX in the Evolving Wireless Broadband Landscape

FREQUENTLY ASKED QUESTIONS

NANO-SPOT Personal Digital Hotspot

Symphony Link Gateway Quick Start Guide - Indoor Models... 3 Step 1: Turn on the gateway... 4 Step 2: Access the gateway's local webpage...

BROADBAND 3G/4G MODEM Instruction Manual

Transcription:

USER MANUAL: Raspberry Pi 2 The PiIoT is a WAN communications board which provides an HSPA wireless interface for the Raspberry Pi 2 and 3. Conforming to the HAT specification, the PiIoT also provides location information using an on-board GNSS* solution. *HL8548-G variant only Contents Specification....2 Box contents....2 Required equipment...3 Assembly.. 4 Using the PiloT....9 Related documents....13 Acronyms....13 Further resources...... 14 1

Specification EMBEDDED WIRELESS MODULE Sierra Wireless HL8548-G / HL8518 / HL8548 FREQUENCY BANDS 3G PROTOCOLS GNSS SUPPORT (HL8548-G variant only) INTERFACES SIM POWER AT COMMAND INTERFACE IP STACK HSPA B1 (2100MHz) / B2 (1900MHz) / B5 (850MHz) / B6 (850MHz) / B8 (900MHz) / B19 (800MHz) EDGE/GPRS 850/900/1800/1900MHz WCDMA (UMTS), HSDPA, HSUPA, HSPA+ SiRF V GPS + GLONASS Serial, USB (CDC-ACM, CDC-ECM) 3V Micro-SIM From Raspberry Pi or direct (can also power Raspberry Pi) 3GPP 27.007 standard, plus proprietary extended commands On-board or Raspberry Pi Box contents USB to Micro USB cable Right-angled stub antenna PiloT HAT for Raspberry Pi 2

Required equipment All variants: Right-angled stub antenna Raspberry Pi 2 or 3 SIM card PiloT HAT for Raspberry Pi USB to Micro USB cable #1 Pozidriv screwdriver HL8548-G variant only: GPS/GNSS antenna Recommended: 2J GNSS patch antenna: http://linkwave.co.uk/magneticadhesive-patch-antenna 3

Step-by-Step Assembly Step one Gently push the 40 way pins all the way through the holes in the socket. Step two Remove the four screws from the mounting pillars. 4

Step three Screw the right-angled stub antenna on to the SMA WAN antenna connector located next to the 40 pin header. Please note: when using the GNSS (HL8548-G) variant, you will also need to use a GNSS antenna when using the GNSS function. Please screw this onto the other SMA WAN antenna connector alongside the right-angled stub antenna. Step four Align the 40 way socket with the 40 way header on the Raspberry Pi. Gently press together. 5

Step five Ensure the PiloT is securely mounted on the Raspberry Pi by inserting the four screws (see step two) into the holes at the bottom of the Raspberry Pi. Gently tighten using a #1 Pozidriv screwdriver. 6

Step six Insert the SIM card into the SIM card holder, ensuring the chamfer is located as shown on the photo, and the contact side is face down. Step seven Insert the USB end of the USB to Micro USB cable into the top centre USB socket. 7

Step eight Insert the Micro USB side of the USB to Micro USB cable into the Micro USB socket located above the USB socket. 8

Using the PiloT Please note: this document provides instructions for using the PiloT over the physical and USB serial ports on the Raspberry Pi 2. If you are using the Raspberry Pi 3, please refer to the relevant user manual. The following instructions are based on use of Raspbian Jessie OS. Firstly, install Minicom using the following code: sudo apt-get install minicom To redirect the system console and stop login prompts being sent over the serial port, enter: sudo raspi-config Then go to Advanced Options > Serial > answer No > click OK Tap to finish. Click Yes to reboot Tap the right arrow twice and press enter to finish. PiloT power supply control The PiloT power supply is controlled by a Raspberry Pi IO pin. A logic 1 output enables a power supply regulator which supplies the PiloT with power. Note that the regulator may switch on by default when power is applied to the Raspberry Pi. PiloT HL module ON/OFF control The PiloT module ON pin is used to turn on the HL module s internal power supply. The PiloT module ON pin is GPIO21 on the Raspberry Pi. The HL module will automatically power on when the PiloT power supply powers on. Once the module is powered off, the ON pin will need to be pulsed to turn the module back on again. To power on, insert the following commands: gpio g mode 6 out gpio g write 6 1 gpio g mode 21 out gpio g write 21 1 gpio g write 21 0 Connecting to the PiloT via a UART port To enable handshaking on the serial port, enter the following commands: gpio g mode 16 ALT3 gpio g mode 17 ALT3 9

You are now able to use AT commands to communicate with the HL module on the PiloT. For a full list of AT commands for the Sierra Wireless HL modules, visit the Source. To use AT commands, open a Minicom session by entering the following: minicom D /dev/ttyama0 Check the AT commands are working by typing AT and pressing enter. This should return OK. Exit Minicom (Ctrl A then X > enter). Connecting via USB The USB interface provides several USB endpoints to the Raspberry Pi. These can be set using the AT+USBCOMP command. Serial endpoints can be seen by typing the following: ls /dev/ttyacm* This should respond as below: A serial session can be instigated using the command below: minicom D /dev/ttyacm0 Using IP Using Minicom, enter the following command, which changes the USB end points to provide a CDC ECM interface: AT+KUSBCOMP=2 Close Minicom (Ctrl A then X > enter), then power cycle the Raspberry Pi by removing and reinserting the power cable. 10

Within a Raspberry Pi shell session, enter the following command: ls /dev/ttya* Type: ifconfig A new Ethernet device should appear in the reported list. On a Raspberry Pi 2, this should be eth1. Edit the interface configuration file: sudo nano /etc/network/interfaces Change or add the entry for eth1 as follows: #auto eth1 #allow-hotplug eth1 iface eth1 inet dhcp pre-up ifconfig $IFACE down dns-nameservers 8.8.8.8 8.8.4.4 Save the file by holding Ctrl A + X Press Y Then enter. Configure the HL8 bearer APN by opening a Minicom session to /dev/ttyama0 or /dev/ttyacm0, then entering the following command using the appropriate APN according to your selected network: AT+CGDCONT=1, IP, Access Point Name Configure the APN username and password: AT+WPPP=1,1, username, password Configure dynamic DNS request: AT+XDNS=1,1 11

Open a new terminal and enter: sudo dhcpcd eth1 Then, in the original terminal running the Minicom session, start an IP session by entering: AT+XCEDATA=1,0 To stop an IP session: AT+CGACT=0,1 Power off To power off the PiloT, open a Minicom session with /dev/ttyama0 or /dev/ttyacm0. Enter: at+cpof Exit Minicom, allow a five second delay, then, in a Raspberry Pi shell session, enter the following: gpio g write 6 0 Using GPS Please note: the optional GPS function is only available for the HL8548-G variant of the PiloT. Please see specification and/or related documents for more information. (See HL8548 AT Command Guide for more details of GPS commands) The following instructions set up an NMEA feed over the Raspberry Pi serial port. Ensure the PiloT is powered on by following the instructions on page 9. Connect to the PiloT using Minicom: minicom -D /dev/ttyama0 Change the speed of the serial port to 9600bps: AT+IPR=9600 Change Minicom serial speed to 9600bps and reconnect by holding Ctrl + A Then Z > O > Arrow down to Serial port setup > enter > E > C Press enter, then press Esc, then arrow down to exit and press enter. To direct the NMEA output to the physical serial port, enter: AT+GPSNMEA=1,1,FFFF,FF Start GPS output on the serial port AT+GPSSTART=2 12

NMEA sentences should now stream from /dev/ttyama0. To stop running GPS, open a Minicom session on /dev/ttyacm0 and enter: AT+GPSSTOP Close Minicom (Ctrl + A, then X > enter). Changing back the serial speeds When using Minicom after changing the serial speeds, you may find that you are unable to type commands in Minicom. This is because the different serial ports are not running at the same speed. To rectify this, hold Ctrl + A (in Minicom), and check the bps at the bottom of the terminal. If it reads 9600bps, change the Minicom serial speed back to 115200bps and reconnect by holding: Ctrl + A Then Z > O > Serial Port Setup > E > E Then arrow down to exit and enter, then press Esc, then arrow down to exit and enter. Type AT&W and enter to save settings. Exit Minicom. OR If it reads 115200bps and you are unable to type commands in Minicom, change the Minicom serial speed to 9600bps and reconnect by holding: Ctrl + A Then Z > O > Serial Port Setup > E > C Then arrow down to exit and enter, then press Esc, then arrow down to exit and press enter. Then, in the Minicom session, change the speed of the serial port to 115200bps by typing in the following command and pressing enter: AT+IPR=115200 Then change the Minicom serial speed back to 115200ps and reconnect by holding: Ctrl + A Then Z > O > Serial Port Setup > E > E Then arrow down to exit and enter, then press Esc, then arrow down to exit and press enter. You should now be able to effectively type AT commands. Type AT&W and enter to save settings. Exit Minicom. 13

Related documents Access further data about the HL modules at the Sierra Wireless technical information site (the Source) using the following links: http://source.sierrawireless.com/devices/hl-series/hl8548/ http://source.sierrawireless.com/devices/hl-series/hl8518/ Acronyms Acronym or term Definition APN AT Command CDC ECM DNS EDGE GLONASS GNSS GPRS GPS HAT An Access Point Name (APN) is the name of a gateway between a GSM, GPRS, 3G or 4G mobile network and another computer network. A set of device commands used to control modems, preceded by AT (meaning ATtention). Communications Device Class (CDC) and Ethernet Control Model (ECM) are protocols for Ethernet-style networking over USB. The Domain Name System (DNS) is a hierarchical decentralized naming system for computers, services, or any resource connected to the Internet or a private network. Enhanced Data rates for GSM Evolution (EDGE) is a digital mobile phone technology that allows improved data transmission rates as a backward-compatible extension of GSM. EDGE is considered a pre-3g radio technology and is part of ITU's 3G definition. GLONASS or GLObal NAvigation Satellite System is a space-based satellite navigation system operating in the radio navigation-satellite service. It provides an alternative to GPS and is the second alternative navigational system in operation with global coverage and of comparable precision. A satellite navigation system with global coverage may be termed a global navigation satellite system (GNSS). General Packet Radio Service is a packetoriented mobile data service on 2G and 3G cellular communication systems. Global Positioning System is a system that uses a series of 24+ satellites to provide navigational data. A HAT (Hardware Attached on Top) is an addon board for the Raspberry Pi that conforms to a specific set of rules which enhance usability. 14

HSPA IO IP Minicom SIM SMA USB WAN High Speed Packet Access (HSPA) is an amalgamation of two mobile telephony protocols: High Speed Downlink Packet Access (HSDPA) and High Speed Uplink Packet Access (HSUPA). Input/output is the communication between an information processing system. Inputs are the signals or data received by the system and outputs are the signals or data sent from it. The Internet Protocol (IP) is the protocol by which one computer communicates with another on the Internet. Each device is identified on the internet by a uniquely assigned IP address. Minicom is a text-based modem control and terminal emulation program for Unix-like operating systems. It is a menu-driven communications program. A subscriber identity module or subscriber identification module (SIM) is an integrated circuit that securely stores the international mobile subscriber identity (IMSI) and the related key used to identify and authenticate subscribers on mobile telephony devices. SMA (SubMiniature version A) connectors are semi-precision coaxial RF connectors developed as a minimal connector interface for coaxial cable with a screw type coupling mechanism. A Universal Serial Bus is an industry standard developed that defines the cables, connectors and communications protocols used in a bus for connection, communication, and power supply between computers and electronic devices. A wide area network (WAN) is a telecommunications network or computer network that extends over a large geographical distance. Further resources: Tutorial: connect your hardware to the cloud: https://doc.airvantage.net/av/howto/hardware/3rdparty_getting_started/ Tutorial: build a simple end-to-end IoT application: https://doc.airvantage.net/av/howto/hardware/samples/raspberry-hl-mqtt/ 15