Sierra Wireless mangOH Green DV4 User Manual

mangOH™ Green (DV4)
User Guide
4118902
Rev 3
Contents subject to change
mangOH Green (DV4) User Guide
Important Notice
Safety and Hazards
Due to the nature of wireless communications, transmission and reception of data can never be guaranteed. Data may be delayed, corrupted (i.e., have errors) or be totally lost. Although significant delays or losses of data are rare when wireless devices such as the Sierra Wireless modem are used in a normal manner with a well-constructed network, the Sierra Wireless modem should not be used in situations where failure to transmit or receive data could result in damage of any kind to the user or any other party, including but not limited to personal injury, death, or loss of property. Sierra Wireless accepts no responsibility for damages of any kind resulting from delays or errors in data transmitted or received using the Sierra Wireless modem, or for failure of the Sierra Wireless modem to transmit or receive such data.
Do not operate the Sierra Wireless modem in areas where blasting is in progress, where explosive atmospheres may be present, near medical equipment, near life support equipment, or any equipment which may be susceptible to any form of radio interference. In such areas, the Sierra Wireless modem MUST BE POWERED OFF. The Sierra Wireless modem can transmit signals that could interfere with this equipment.
Do not operate the Sierra Wireless modem in any aircraft, whether the aircraft is on the ground or in flight. In aircraft, the Sierra Wireless modem MUST BE POWERED OFF. When operating, the Sierra Wireless modem can transmit signals that could interfere with various onboard systems.
Note: Some airlines may permit the use of cellular phones while the aircraft is on the ground and the door is open. Sierra Wireless modems may be used at this time.
Limitation of Liability
The driver or operator of any vehicle should not operate the Sierra Wireless modem while in control of a vehicle. Doing so will detract from the driver or operator's control and operation of that vehicle. In some states and provinces, operating such communications devices while in control of a vehicle is an offence.
The information in this manual is subject to change without notice and does not represent a commitment on the part of Sierra Wireless. SIERRA WIRELESS AND ITS AFFILIATES SPECIFICALLY DISCLAIM LIABILITY FOR ANY AND ALL DIRECT, INDIRECT, SPECIAL, GENERAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF PROFITS OR REVENUE OR ANTICIPATED PROFITS OR REVENUE ARISING OUT OF THE USE OR INABILITY TO USE ANY SIERRA WIRELESS PRODUCT, EVEN IF SIERRA WIRELESS AND/OR ITS AFFILIATES HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES OR THEY ARE FORESEEABLE OR FOR CLAIMS BY ANY THIRD PARTY.
Notwithstanding the foregoing, in no event shall Sierra Wireless and/or its affiliates aggregate liability arising under or in connection with the Sierra Wireless product, regardless of the number of events, occurrences, or claims giving rise to liability, be in excess of the price paid by the purchaser for the Sierra Wireless product.
Rev 3 Nov.16 2 4118902
Preface
Patents This document contains information which is proprietary to Sierra Wireless Inc. and is
licensed pursuant to Creative Commons Attribution 4.0 International License.
Document details
Title: mangOH Green User Guide
Author: Sierra Wireless
Source: http://mangoh.io/
Copyright © 2016 Sierra Wireless. Licensed under the Creative Commons Attribution 4.0
license, http://creativecommons.org/licenses/by/4.0/
Disclaimer Indicate any modifications made to the original document.
Trademarks mangOH™ and the mangOH logo are trademarks of Sierra Wireless.
Other trademarks are the property of their respective owners.
Revision History
Revision number
Release date Changes
1 March 2016 Document created based on DV3 version. 2 June 2016 Replaced ‘IOT Connector’ references with ‘IOT Expansion Card’ 3 November 2016 General formatting cleanup
Rev 3 Nov.16 3 4118902
Contents
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
mangOH Green Components and Accessories. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Setup and Installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Safe Handling Recommendations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Initial Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Hardware Setup and Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Insert/Remove Embedded Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Power Supply. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Select Primary Power Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16
Connect Battery Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
RTC Capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18
Insert SIM Card(s) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Insert microSD Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Connect Antenna(s). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Insert/R emove IoT Expansion Cards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Arduino-compatible Circuit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Connect Arduino-compatible Shield . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27
Audio Connection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Ethernet Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
USB Host Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
RS-232 Console Output Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
LED Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Reset Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
mangOH Green Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Default Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33
Switch and Jumper Configuration Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34
Rev 3 Nov.16 4 4118902
Contents
Software Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Install / Update Windows Driver. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Install a Terminal Emulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Install the Arduino IDE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Install the Legato Developer Studio. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Download Firmware Updates. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Write Your First Program. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Rev 3 Nov.16 5 4118902

1: Introduction

This user guide explains how to set up and begin using the mangOH™ Green with CF3 (Common Flexible Form Factor) modules.
Once you have the mangOH Green set up, visit mangoh.io for developer documentation, code samples, and other materials.
Important: This User Guide applies to mangOH Green DV4. The guide for mangOH Green
DV3 is available at mangoh.io.

mangOH Green Components and Accessories

Table 1-1 details the required and optional components needed to begin using the
mangOH Green in your development environment. Some of these components are available in mangOH Green development kits (kit contents are supplier-dependent).
Table 1-1: mangOH Green Components
Item Details
1
mangOH Green Pre-configured development board.
The mangOH Green supports CF3 modules.
CF3 module(s) (See Table 1-2 on page 9
for a list of compatible Sierra Wireless modules.)
CF3 module cover and cover removal tool
Primary (required)—Used in the primary CF3 socket, the module
includes a cellular modem and an application processor running Legato, an open source embedded platform built on Linux for hosting IoT appli­cations (see legato.io for details).
Secondary (optional)—[Future Use] Used in the secondary CF3 socket,
the module includes a cellular modem that must be associated to an application processor in the primary CF3 socket. (In this socket, only the inner ring of pins of the CF3 footprint are used.)
Industrial-quality snap-in module cover, plus cover removal tool to disconnect the cover from the mangOH Green (Note: The cover and tool shown are for WP-series modules. A similar cover and tool (not displayed) are used for HL-series modules.)
Rev 3 Nov.16 6 4118902
Table 1-1: mangOH Green Components (Continued)
Item Details
Introduction
Micro-USB cable Connects computer to the mangOH Green for communication
Power supply Output voltage: 4.5V to 17V
and to provide power for non-transmitting tests.
10 W or higher
The mangOH Green will operate with USB power, but DC
power may be required to make and establish a full-speed mobile network connection.
Antenna Main RF antenna
GNSS Antenna GNSS (GPS/GLONASS) active antenna
Eurocard case and mangOH Green faceplates
The mangOH Green fits in a Eurocard standard size casing (100x120mm).
3D-printable files for faceplates are available at mangoh.io.
Mini-USB cable Connects computer directly to the Arduino-compatible circuit integrated into
Mini-SIM card Mini-SIM card with an active account, or a test card for use with a call box.
Micro-SIM card Micro-SIM card with an active account, or a test card for use with a call box.
Audio cable (3.5 mm) Audio cable or headset
the mangOH Green
Note: Throughout this document, ‘SIM’ refers to ‘SIM’, ‘USIM’, and ‘UIM’.
The micro-SIM is used only if the CF3 module supports dual-SIMs (selecting either the mini-SIM or the micro-SIM for use at a given time). It uses the dual SIM/SD connector.
Rev 3 Nov.16 7 4118902
mangOH Green (DV4) User Guide
Table 1-1: mangOH Green Components (Continued)
Item Details
Ethernet cable Ethernet cable (Cat5 or better) for use with the mangOH Green’s 100 Mbps
RS-232 DB9 cable Serial cable used for console output (male connector required on mangOH
Battery Rechargeable Li-Ion or Li-Polymer battery (3V7 nominal) for use
Arduino-compatible shields
Ethernet connector
end)
when USB/DC power supply is unavailable
Plug-in boards for the mangOH Green’s integrated Arduino­compatible circuit
Rev 3 Nov.16 8 4118902
Table 1-2: mangOH-compatible CF3 Modules
Series Notes
The mangOH schematic (available at mangoh.io), describes all interfaces that are supported by the mangOH Green.
The following table identifies signals that (as of publication date of this document) are currently not supported on WP85xx/WP75xx-series modules. Refer to http://source.sierrawireless.com for current Product Technical Specification Documents.
Signal Variations Between mangOH and Module
Pin # mangOH Name Primary CF3 Name
43 IOT2_GPIO4 EXT_GPS_LNA_EN EXT_GPS_LNA_EN
WP8548 WP7502 WP7504
92 SPI2CLK SPI2CLK GPIO38 93 SPI2_MOSI SPI2_MOSI GPIO39 94 SPI2_MISO SPI2_MISO GPIO40 95 SPI2_MRDY SPI2_CS0 GPIO41
Introduction
a
WP85/75
Name
100 GPIO_Lowpower2 GPIO34 GPIO34 101 GPIO_Lowpower1 GPIO35 GPIO35 102 GPIO20/SWD_CLK GPIO36 GPIO36 103 GPIO31/SWD_DIO GPIO37 GPIO37 152 PWR_IND SAFE_PWR_REMOVE SAFE_PWR_REMOVE
a. Refer to Product Technical Specification documents for detailed module information.
Rev 3 Nov.16 9 4118902

2: Setup and Installation

1 — J200 (Primary) 2 — J601 (Secondary)

Safe Handling Recommendations

To help prevent accidental damage to the mangOH Green:
Use safe ESD-handling practices (such as wearing proper ESD straps) to avoid possible ESD damage.
Avoid touching the CF3 module sockets (J200, J601). These pins can be damaged if they catch on clothing or other materials.
2
Figure 2-1: Safe Handling Recommendations—CF3 Socket Locations (Do Not Touch)
Mount the mangOH Green in a case, or attach standoffs (not included) to the mounting holes at each corner of the board to avoid damage to components on the bottom side of the board.
Figure 2-2: Case-mounted mangOH Green
Rev 3 Nov.16 10 4118902
Setup and Installation

Initial Setup

To begin using the mangOH Green, set up your hardware and software:
1. Insert a suitable CF3 module in the primary socket. See Insert/ Remove
Embedded Modules on page 12.
2. Select Primary Power Supply. See page 16.
3. If you will be establishing a mobile network connection, insert a mini-SIM. See
Insert SIM Card(s) on page 18.
4. Connect Antenna(s). See page 22.
5. Install / Update Windows Driver. See page 38.
6. Connect the mangOH Green to your computer using the USB cable provided.
If you selected USB power in Step 2, the power LED lights up.
7. If you selected the DC power supply in Step 2, plug a DC wall adapter into the DC barrel jack. (The wall adapter must meet the requirements in Table 1-1 on page 6.) The power LED lights up when power is supplied.
8. Install a Terminal Emulator. See page 39.
The mangOH Green is now ready to be used.
For information on additional hardware features, see Hardware Setup and
Operation on page 12.
For instructions on writing a program, see Write Your First Program on page 39.
Rev 3 Nov.16 11 4118902

3: Hardware Setup and Operation

1—J200 (Primary) 2— J601 (Secondary)
This chapter describes how to install various components on the mangOH Green, and how to configure and control features using connectors and switches.

Insert/Remove Embedded Modules

The mangOH Green has two CF3 module sockets
Primary (J200)— The primary module includes a wireless modem and application processor. All pins are used.
Secondary (J601)—The secondary module, if used, includes a wireless modem that is associated with the primary module. Only the inner ring pins (of the CF3 footprint) are used.
To insert a CF3 module:
1. Place the mangOH Green face-up.
3
Rev 3 Nov.16 12 4118902
Figure 3-1: mangOH Green—Top View
Hardware Setup and Operation
2. Hold the module above the socket and line up the polarity marks on the module and socket. (Primary module installation shown.)
Figure 3-2: CF3 Module Positioning
3. Place the module onto the socket. The module should drop into place when you have it aligned properly. Do not insert at an angle as this may damage the socket pins.
Figure 3-3: CF3 Module Inserted
Rev 3 Nov.16 13 4118902
mangOH Green (DV4) User Guide
4. Attach the module cover:
a. Hold the module cover above the CF3 module and line up the polarity marks
b. Place the cover on the module, then press down carefully until you hear the
on the module and cover.
Figure 3-4: Installing Module Cover
cover click into place. Make sure all sides of the cover have clicked into place.
Figure 3-5: Installing Module Cover
To remove a CF3 module (primary module displayed below):
1. Remove the module cover using the module cover removal tool—Starting at one corner, insert the tool in the pair of holes and carefully pry the cover away from the module.
2. Repeat at the other locations (there are pairs of pry holes on each side).
Rev 3 Nov.16 14 4118902
Hardware Setup and Operation
Figure 3-6: Removing the Module Cover
3. Lift the cover off the module.
4. Carefully pinch the module and pull it straight up out of the socket.

Power Supply

The mangOH Green has the following supplies:
Table 3-1: mangOH Green Power Supplies
Supply Details
DC power
Primary
USB
Backup Battery
Primary (Required if you want to maintain a full­speed mobile network data connection)
Primary
Note: USB current (500 mA) is sufficient for non­transmitting tests, but may not be enough to satisfy full power requirements of the mangOH Green.
An optional Li-Ion or Li-polymer (3V7 nominal) rechargeable battery can be installed to power the board if the primary power supply fails.
Rev 3 Nov.16 15 4118902
mangOH Green (DV4) User Guide
1—Power supply select (CN1204) 2—DC jack 3—micro-USB connector (bottom side of board)
1—USB select (left + center pins) 2—DC select (center + right pins)

Select Primary Power Supply

To select the primary power supply:
1. Place the mangOH Green face-up and locate the power supply jumper pins (CN1204).
Figure 3-7: Power Supply Select (CN1204)
2. Select the power source:
· USB power—Place a jumper across the two pins farthest from the DC power
jack.
· DC power—Place a jumper across the pins closest to the DC power jack.
Figure 3-8: Power Source Select (DC power shown)
Rev 3 Nov.16 16 4118902
Hardware Setup and Operation
1—Recharge select (CN1203) 2—Rechargeable battery connector (CN1202)
1—Jumper on Recharge select (CN1203) Battery recharges when mangOH Green is powered by DC or USB. (DC power shown)
-/+ —Negative and positive terminals of rechargeable battery connector (CN1202)

Connect Battery Backup

Optionally, you can connect a rechargeable Li-Ion/Li-Polymer battery to the mangOH Green to provide uninterrupted power in the event that the primary power supply (DC or USB) fails.
If a jumper is placed on CN1201, the mangOH Green recharges the battery and then provides a trickle charge to maintain the battery’s full charge.
To connect a rechargeable Li-Ion/Li-Polymer battery to the mangOH Green:
1. Connect the battery to CN1202.
Figure 3-9: Battery Backup (CN1202/CN1203)
Figure 3-10: mangOH Green With Rechargeable Battery Connected
2. If you want the battery to recharge while connected to the board, place a jumper across the pins on CN1203 (Recharge select).
Caution: If a rechargeable battery is not connected to the board, make sure to remove the
jumper from CN1203.
Rev 3 Nov.16 17 4118902
mangOH Green (DV4) User Guide
1—RTC capacitor (C346) 2—Discharge switch location (CN320)
Caution: The board is designed to use a rechargeable Li-Ion or Li-polymer battery. Regular
(non-rechargeable) batteries are NOT recommended. However, if a regular battery is used, DO NOT place a jumper on CN1203 as this will damage the battery and possibly the board.

RTC Capacitor

The mangOH Green provides a capacitor that maintains the RTC.
To enable the ability to manually discharge the capacitor, install a switch on CN320. (For details, see the mangOH Green schematics available at mangoh.io.) The capacitor can then be discharged by pressing this switch.
Figure 3-11: RTC Capacitor

Insert SIM Card(s)

The mangOH Green supports dual SIM functionality (if supported by the CF3 module).
Table 3-2: SIM connectors
CF3
Interface Type Connector Details
Hot-swappable
UIM1 Mini-SIM CN801
UIM2 Micro-SIM CN802 Not hot-swappable
Rev 3 Nov.16 18 4118902
By default, a SIM detect switch is activated when a mini-SIM is inserted or removed. For details, see
Table 3-6 on page 33.
Hardware Setup and Operation
1—mini-SIM (CN801) 2—micro-SIM (CN802—bottom) 3—micro-SD (CN802—top)
To establish a mobile network connection with a UMTS/LTE CF3 module, you must install at least one SIM card:
Live card(s) with active accounts, or
Test card(s) for use with a call box (for example, an Agilent 8960 or
Rohde & Schwarz CMU200)
Note: A SIM card is not required if you want to connect to a LAN using the Ethernet port.
To install the SIM card(s):
1. Place the Dev Kit face-down (as shown).
Figure 3-12: SIM Connector and micro-SD Locations
2. Insert the SIM card(s) with contacts face-down into the desired slot(s)—note the locations of the notched corners of the cards in Figure 3-13. (The mini-SIM is inserted with the flat end first, and the micro-SIM is inserted with the notched end first.)
Important: CN802 is a dual-connector—a micro-SIM can be placed in the lower slot,
and a micro-SD can be placed in the upper slot.
Rev 3 Nov.16 19 4118902
mangOH Green (DV4) User Guide
Figure 3-13: SIMs—Inserting
Figure 3-14: SIMs—Inserted
Rev 3 Nov.16 20 4118902
Hardware Setup and Operation
1—mini-SIM (CN801) 2—micro-SIM (CN802—bottom) 3—micro-SD (CN802—top)

Insert microSD Card

The mangOH Green includes a microSD card slot in the top part of CN802.
To install a microSD card:
1. Place the Dev Kit face-down (as shown).
Figure 3-15: SIM Connector and micro-SD Locations
2. Insert the microSD card with contacts face-down into the top slot of CN802.
Important: CN802 is a dual-connector—a micro-SIM can be placed in the lower slot,
and a micro-SD can be placed in the upper slot.
Figure 3-16: microSD—Inserting
Rev 3 Nov.16 21 4118902
mangOH Green (DV4) User Guide
Figure 3-17: microSD—Inserted

Connect Antenna(s)

The mangOH Green includes three antenna ports for the primary CF3 module.
Table 3-3: Antenna Ports
Type Connector
Main CN307 Required to establish a mobile network data connection
Diversity CN304 Used only if primary CF3 supports diversity.
a
Details
Required to enable GNSS functionality
GNSS CN306
Active
3.3 V bias voltage
a. U.FL connectors
Note: If needed, the board can be configured to use SMA connectors. For details, see
Table 3-6 on page 33.
To connect an antenna to the Main, Diversity, or GNSS antenna connector:
1. Place the mangOH Green face-up.
Rev 3 Nov.16 22 4118902
Hardware Setup and Operation
1—Main (CN307) 2—GNSS (CN306) 3—Diversity (CN304)
1—Main (CN307) 2—GNSS (CN306)
Figure 3-18: Antenna Connector Locations
2. Attach the antenna cable’s female connector to the board’s male connector and press firmly to get a secure connection. (Note that female connectors are rated for a limited number of reconnects before the connector wears out, so should be left connected if possible. Use a U.FL extraction tool to put less strain on the connector during removal.)
Figure 3-19: Main and GNSS Antennas Connected
Rev 3 Nov.16 23 4118902
mangOH Green (DV4) User Guide

Insert/Remove IoT Expansion Cards

The mangOH Green includes three single-width IoT Expansion Card slots.
If the board uses IoT Expansion Card mounting rails and you want to use a double­width (2-slot) or triple-width (3-slot) expansion card, remove the rails between the slots you will be using.
Caution: Handle IoT Expansion Cards carefully to make sure components are not accidentally
damaged, and hold them by their edges to avoid possible ESD damage.
To install an IoT Expansion Card in any IoT slot:
1. Remove power from the mangOH Green. (This step is recommended in case the expansion card is not hot-swappable or needs a reset.)
2. Check the expansion card to make sure you know which side is the top. (Expansion cards must not be inserted upside-down.)
3. Slide the expansion card into the rails until it meets the IoT Connector, then press firmly to seat the expansion card into the connector.
Figure 3-20: IoT Expansion Card Insertion
Rev 3 Nov.16 24 4118902
Hardware Setup and Operation
Figure 3-21: IoT Expansion Card Inserted
To remove an IoT Expansion Card:
1. Pull the expansion card straight out, using safe ESD-handling practices (such as wearing proper ESD straps).
For detailed interface information for each IoT Expansion Card slot, refer to the mangOH Green Developer’s Guide. For detailed information about expansion cards, refer to the IoT Expansion Card Specification.
Rev 3 Nov.16 25 4118902
mangOH Green (DV4) User Guide
1—Arduino-compatible headers 2—mini-USB connector

Arduino-compatible Circuit

The mangOH Green includes an integrated Arduino-compatible circuit (with connector for use with Arduino-compatible shields, and an Atmega32U4 microcontroller).
Figure 3-22: Integrated Arduino-compatible Circuit
The Arduino-compatible circuit is controlled directly via a mini-USB cable connection from your computer. This connection is used to download sketches from your computer using the Arduino IDE.
By default, the Arduino-compatible circuit’s UART is configured to connect to the primary CF3 module‘s USB using an FTDI conversion chip (UART to USB). For details, see Table 3-6 on page 33.
The Arduino-compatible circuit can also be accessed from the primary CF3 module, as shown in Figure 3-23. The ‘Bridge application’ is a Legato application (downloadable from legato.io) that allows communication between the primary CF3 module and the Arduino-compatible circuit. See the mangOH to Cloud Developer’s Guide for details.
Rev 3 Nov.16 26 4118902
Figure 3-23: Arduino-compatible Circuit Control by Primary CF3 Module
Hardware Setup and Operation
1—18-pin header 2—14-pin header
1—18-pin header 2—14-pin header

Connect Arduino-compatible Shield

To connect an Arduino-compatible shield to the mangOH Green:
1. Position the shield above the headers. (Note that the two rows of headers have different numbers of pins— make sure to position the shield correctly.)
Figure 3-24: Arduino-compatible Shield Example
2. Hold the shield by its edges and press straight down into the headers.
Figure 3-25: Installing an Arduino-compatible Shield
Rev 3 Nov.16 27 4118902
mangOH Green (DV4) User Guide
1—ICSP pins fully seated 2—Shield pins fully seated 3—mini-USB connection for direct control from computer
1—Audio jack (3.5mm)
Figure 3-26: Arduino-compatible Shield Installed on mangOH Green

Audio Connection

The mangOH Green includes a 3.5 mm audio jack for use with audio-enabled CF3 modules. If supported by the CF3 module, the jack can be used for making a voice call.
By default, the audio jack is connected to the onboard mangOH codec, and is configured for use with a CTIA/ AHJ-compatible headset. For details, see Table 3-6 on page 33.
Figure 3-27: Audio Output Jack
Rev 3 Nov.16 28 4118902
Hardware Setup and Operation
1—Ethernet port (100 Mbps)
1—Connection state LED 2—Connection speed LED

Ethernet Connection

The mangOH Green includes a 100 Mbps Ethernet port that may be used to connect the board to a LAN.
Figure 3-28: Ethernet Port
The Ethernet port has two LEDs that exhibit the behavior described in Table 3-4.
Table 3-4: Ethernet LED indicators
Pattern Purpose Description
Solid—Connected
Green (Left side) Connection state
Blinking—Connected and transmitting/
receiving
Off—No conn ection
Amber (Right side) Connection speed
Figure 3-29: Ethernet Port LEDs
On—100 Mbps
Off—10 Mbps
Rev 3 Nov.16 29 4118902
mangOH Green (DV4) User Guide
1—USB Host port
1—RS-232 DB9 connector

USB Host Connection

The mangOH Green includes a USB Host port (USB 2.0) for attaching a peripheral device, memory stick, etc.
Figure 3-30: USB Host Port

RS-232 Console Output Connection

The mangOH Green includes an RS-232 DB9 connector for console output.
By default, this port is enabled and configured to connect to the primary module’s UART2 (two-wire interface).
Figure 3-31: RS-232 Console Output Connection
Rev 3 Nov.16 30 4118902
Hardware Setup and Operation

LED Indicators

The mangOH Green includes several LED indicators.
Table 3-5: mangOH Green LEDs
LED Description
1—Power (VCC_3V7)
2—Rx (Arduino­compatible circuit)
3—AirVantage connected On when device is connected to AirVantage 4— Tx (Arduino-
compatible circuit) 5—IoT Expansion Card 0 On when an IoT Expansion Card is installed in slot IOT0. 6—IoT Expansion Card 1 On when an IoT Expansion Card is installed in slot IOT1. 7—IoT Expansion Card 2 On when an IoT Expansion Card is installed in slot IOT2. 8—Battery charging On when the battery is recharging
9—SecCF3 RF Rx/Tx
10—PriCF3 RF Rx/Tx
11—WLAN connected On when the device is connected to a WLAN 12—W_DISABLE_N On when RF power for primary CF3 module is enabled
On when power is supplied by any power source (USB, DC, battery)
On when the Arduino-compatible circuit is receiving data
On when the Arduino-compatible circuit is sending data
On when the secondary CF3 module is sending (Tx) or receiving (Rx) data
On when the primary CF3 module is sending (Tx) or receiving (Rx) data
Rev 3 Nov.16 31 4118902
mangOH Green (DV4) User Guide
1 - Power 2 - Rx (Arduino-compatible circuit) 3 - AirVantage connected 4 - Tx (Arduino-compatible circuit)
5 - IOT Expansion Card #0 installed 6 - IOT Expansion Card #1 installed 7 - IOT Expansion Card #2 installed
1
2 34
567
8
910 1112
8 - Battery charging
9 - Sec CF3 Rx/Tx 10 - Pri CF3 Rx/Tx 11 - WLAN connected 12 - RF disabled (W_DISABLE_N)
Figure 3-32: LED Indicators (mangOH Green DV4 Configuration)

Reset Switches

The mangOH Green includes two reset switches:
Board reset (SW400)— Press and hold for 5 seconds to reset the board (including the integrated Arduino-compatible circuit) Note that when the board is resetting, the reset signal is held LOW until the primary module is fully booted.
Arduino-compatible circuit reset (SW1500)—Press and hold for 5 seconds to reset the integrated Arduino-compatible circuit.
For details on resetting the mangOH Green or specific application blocks, see the mangOH Green Developer’s Guide.
Rev 3 Nov.16 32 4118902
Hardware Setup and Operation
1—Board reset (SW400) 2—Arduino-compatible circuit reset (SW1500)
Figure 3-33: Reset Switches

mangOH Green Configuration

Default Configuration

The mangOH Green‘s default configuration is described in Table 3-6.
Table 3-6: mangOH Green Default Configuration
Component/
Switch Default Configuration/ Behavior Notes
Antenna connectors (Main, Diversity, GPS)
Audio connector (CN500)
RS-232 connector (CN700)
LEDs
System reset signal (RESET_IN_N)
SIM1/SIM2 Detect
U.FL connectors
3.3 V bias voltage for active antennas
Connected to onboard mangOH codec
CTIA/AHJ-compatible headset
Enabled
Connected to primary module’s UART2
All LEDs are enabled and will exhibit their default behaviors
Held LOW until primary module is fully booted
SIM1 Detect uses physical sensor to detect
SIM card insertion/removal
SIM2—Switch SW401 (position 4) can be
used to indicate that a SIM is in SIM holder 2:
OFF—SIM2 detected
ON—No SIM
SMA connectors can be added, if required, by a user who is proficient at soldering. For details, refer to the mangOH Green schematic available at
mangoh.io.
Reconfiguration to use an OMTP-compatible headset requires soldering.
Peripherals on the mangOH Green are not activated until the module is fully booted.
Rev 3 Nov.16 33 4118902
mangOH Green (DV4) User Guide
Table 3-6: mangOH Green Default Configuration (Continued)
Component/
Switch Default Configuration/ Behavior Notes
SD connector (CN802)
Peripheral interfaces (UART, SPI, I2C, etc.)
Arduino-compatible circuit UART
Module Signals Control (SW401)
Connected to primary module
See the mangOH Green Developer‘s Guide for details.
Connected to primary module’s USB using FTDI conversion chip (UART to USB)
POWER_ON (Dip 1)=ON (Unit is enabled)
All others = OFF

Switch and Jumper Configuration Options

The mangOH Green uses several switches and jumpers to configure the board and CF3 module‘s operation, as detailed below in Table 3-7 through Table 3-9.
To locate these switches and jumpers, see Figure 3-34 on page 36 and Figure 3-35 on page 37.
Table 3-7: CN1204—Board Power Select
Power supply selection
Board can be configured using a software command to connect primary module’s SDIO signals to IOT1 instead of SD connector.
Board can be configured using a software command to connect Arduino-compatible circuit’s UART to WP UART1
a
Jump
1–2
Jump
2–3
USB power, through micro-USB port (CN311–USB port) Yes DC power, through DC barrel jack (CN1200–barrel jack power) Yes
a. Required: Select one option only (Jump 1–2 or Jump 2–3). For details, see Select Primary
Power Supply on page 16.
Table 3-8: CN1203—Battery Recharge Select
Battery recharge behavior Jump 1–2
Battery will recharge while power is supplied by USB or DC Yes
a
Battery will not recharge No
a. IMPORTANT: Jumper must not be used if there is no battery connected. For details, see
Connect Battery Backup on page 17.
Rev 3 Nov.16 34 4118902
Table 3-9: SW401—Module Signals Control
Signal Dip On/ Off State
Hardware Setup and Operation
POWER_ON 1
MDM_Power 2
W_DISABLE_N 3
SIM2_Detect 4
SW_PWR_ON 5
UART_CTRL 6
TP1_BOOT 7
On (Default)
Enable POWER_ON signal for primary
module (J200) Off Disable POWER_ON signal On
Reserved for future use
Off (Default)
On Disable RF power for primary CF3 module
Off (Default) Enable RF power for primary CF3 module
On Indicate that SIM Holder #2 is empty
Off (Default) Indicate that a SIM is in SIM Holder #2
On
Enable POWER_ON signal for secondary
module (J601)
Off (Default) Disable POWER_ON signal
Connect primary CF3 module’s UART1 signal On
to IOT slot (#0 or #1, depending on current
configuration)
Off (Default)
Connect primary CF3 module’s UART1 signal
to the ATmega32U4
Enable primary CF3 module’s TP1 (boot) On
signal functionality. Pull the signal low to enter
download mode for firmware updates.
Off (Default) Primary module functions normally.
Disable secondary power supplies (1V8, 3V3,
DCDC_shutdo
wn
8
On
and 5V0) so only the primary CF3 module is
powered
Off (Default) Enable power to entire board
Rev 3 Nov.16 35 4118902
mangOH Green (DV4) User Guide
1 - IoT Expansion Card slot #2 2 - IoT Expansion Card slot #1 3 - IoT Expansion Card slot #0 4 - DC power (CN1200) 5 - Power supply select (CN1204) 6 - Battery connector (CN1202) 7 - Recharge select (CN1203) 8 - Signals control (SW401) 9 - Main antenna 10 - GNSS antenna 11 - Diversity antenna 12 - Ethernet 13 - USB Host 14 - Audio 15 - Module reset 16 - Capacitor discharge (DNI) 17 - RS-232 DB9 console output 18 - Arduino-compatible circuit
19 - RTC backup capacitor 20 - Secondary Main 21 - Secondary GNSS 22 - Secondary Diversity 23 - Arduino-compatible circuit
24 - Arduino-compatible circuit 25 - Secondary CF3 socket
26 - Primary CF3 socket
1 2 3
4
5
6
7
8 9
10
11
121314151617
18
19
20
21
22
24
25
26
23
header
header reset
Figure 3-34: mangOH Green Assembly—Top Side Switches/Connectors
Note: For reference only. For latest schematic, visit mangoh.io.
Rev 3 Nov.16 36 4118902
Hardware Setup and Operation
1 - USB power 2 - micro-SIM (bottom slot) 3 - microSD (top slot) 4 - mini-SIM 5 - Arduino-compatible
6 - ATmega32U4
1 2 3 4
5
6
circuit mini-USB
Figure 3-35: mangOH Green Assembly - Bottom Side Switches/Connectors
Note: For reference only. For latest schematic, visit mangoh.io.
Rev 3 Nov.16 37 4118902

4: Software Setup

This chapter describes software resources that you will need on your computer to access the mangOH Green and develop applications for its CF3 module and integrated Arduino-compatible circuit.
Sample applications and instructional materials are available from the sites mentioned in this chapter. For detailed information on developing for the mangOH Green, see the mangOH Green Developer’s Guide and related documents (available from mangoh.io).

Install / Update Windows Driver

If you are using a Windows computer, you will need to install the Legato driver for the CF3 module that you install in your mangOH Green.
1. Visit mangoh.io to download the Windows driver and driver installation instruc- tions for your CF3 module.
2. Install the Windows driver.
3. When the mangOH Green is connected via USB to the computer, display the
Device Manager (Control Panel > System > Device Manager).
4
Figure 4-1: Windows Device Manager
If the driver installed correctly, you will see the following items listed:
Modems > Sierra Wireless WWAN Modem (This is the module in socket J200.)
Ports [COM & LPT] > Sierra Wireless DM Port
Rev 3 Nov.16 38 4118902
Software Setup
Ports [COM & LPT] > Sierra Wireless NMEA Port (This is the port that you will use to communicate with the module from your terminal emulator.)

Install a Terminal Emulator

To communicate with the mangOH Green, you need to use a terminal emulator program such as Tera Term or HyperTerminal
When you have an emulator installed, use it to establish a console connection to the mangOH Green:
Port—Serial modem COM port (for Sierra Wireless devices, this is the Sierra Wireless NMEA Port)
Baud rate— 115200
®
.

Install the Arduino IDE

To work with the mangOH Green‘s integrated Arduino-compatible circuit, you must download and install the Arduino IDE (Integrated Development Environment). The IDE is used to write code (‘sketches’) and upload them to the mangOH Green’s integrated Arduino-compatible circuit. Installation and usage information is available at mangoh.io.

Install the Legato Developer Studio

To create Legato applications for the CF3 module, download and install the Open AT Developer Studio (a Legato IDE) available at mangoh.io.

Download Firmware Updates

Firmware updates will be made available for download from mangoh.io.

Write Your First Program

For instructions on building applications (including writing a ‘Hello World’ program to test your mangOH Green), and to download sample Arduino sketches and Legato applications, visit mangoh.io.
Rev 3 Nov.16 39 4118902
Loading...