0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
DVK-RM186-SM

DVK-RM186-SM

  • 厂商:

    LAIRD(莱尔德)

  • 封装:

  • 描述:

    INTELLIGENT LORA/BLE EU VERSION,

  • 数据手册
  • 价格&库存
DVK-RM186-SM 数据手册
A User Guide RM1xx Series Development Kit Version 1.1 DVK-RM1xx-SM rev. 1 RM1xx Series Development Kit User Guide REVISION HISTORY Version 1.0 Date 24 May 2016 Notes Initial Release Approver Jonathan Kaye 1.1 08 July 2016 Added section numbers Sue White Embedded Wireless Solutions Support Center: http://ews-support.lairdtech.com www.lairdtech.com/ramp 2 © Copyright 2016 Laird. All Rights Reserved Americas: +1-800-492-2320 Europe: +44-1628-858-940 Hong Kong: +852 2923 0610 RM1xx Series Development Kit User Guide CONTENTS 1 Laird RM1xx Development Kit Part Numbers .....................................................................................................4 2 Overview.............................................................................................................................................................4 3 Introduction ........................................................................................................................................................4 4 Package Contents ...............................................................................................................................................4 5 RM1xx Development Kit – Main Development Board .......................................................................................5 5.1. 6 Key Features ...................................................................................................................................................5 Understanding the Development Board ............................................................................................................7 6.1. 7 RM1xx Default Configuration and Jumper Settings .......................................................................................9 Functional Blocks ............................................................................................................................................. 10 7.1. Power Supply ............................................................................................................................................... 12 7.2. Reset Button ................................................................................................................................................ 13 7.3. SWD Interface.............................................................................................................................................. 13 7.4. 4-wire UART Serial Interface ....................................................................................................................... 13 7.5. UART Mapping ............................................................................................................................................. 13 7.6. nAutoRUN Pin and Operating Modes.......................................................................................................... 15 7.7. Mounting Hole for LoRa Dipole Antenna .................................................................................................... 16 8 Software .......................................................................................................................................................... 17 9 Breakout Connector Pinouts ........................................................................................................................... 18 9.1. J28(J13, J14), J29, J1 (J3, J4, J5, J9), J12(J10), J6 SIO (Special Input / Output Sockets) Breakout Connectors 18 9.2. Additional Peripherals / Sensors ................................................................................................................. 21 9.3. Arduino Connector for plugging in an Arduino Shields ............................................................................... 21 10 Other Features............................................................................................................................................. 29 10.1. 11 Current Consumption Measurement ...................................................................................................... 29 Additional Documentation .......................................................................................................................... 32 Embedded Wireless Solutions Support Center: http://ews-support.lairdtech.com www.lairdtech.com/ramp 3 © Copyright 2016 Laird. All Rights Reserved Americas: +1-800-492-2320 Europe: +44-1628-858-940 Hong Kong: +852 2923 0610 RM1xx Series Development Kit User Guide 1 LAIRD RM1XX DEVELOPMENT KIT PART NUMBERS Part number: DVK-RM1xx-SM / DVK-RM1xx-SM Applicable to the following rev. 01 RM1xx module part numbers:   2 RM186-SM-01 RM191-SM-01 RM186 LoRa & BLE Module featuring smartBASIC (CE) RM191 LoRa & BLE Module featuring smartBASIC (FCC) OVERVIEW The Laird DVK-RM1xx development kit provides a platform for rapid wireless connectivity prototyping, providing multiple options for the development of LoRa and Bluetooth Low Energy (BLE) applications. This manual is for Rev. 01 and later of the development PCB and relates to RM1xx-SM-01 and later on the PCB itself. 3 INTRODUCTION The Laird LoRa and BLE development kit is designed to support the rapid development of applications and software for the RM1xx series of LoRa and BLE modules featuring Laird’s innovative event driven programming language – smartBASIC. More information regarding this product series including a detailed module User’s Manual and smartBASIC user guide is available on the Laird’s RM1xx product pages. 4 PACKAGE CONTENTS All kits contain the following items: Development Board Power Options The development board has the required RM1xx module soldered onto it and exposes all the various hardware interfaces available.    USB cable – Type A to micro type B. (The cable also provides serial communications via the FTDI USB – RS232 converter chip on the development board.) DC barrel plug with clips for connection to external power supply (7-12V) 3x AAA battery holder fitted on underside of development board 2pin-Jumpers for Pin Headers x 5 Supplied 2 pin jumpers spares. The jumpers are for 2.54 mm pitch headers used on DVK-RM1xxV1 development board. Fly lead x 6 Supplied to allow simple connection of any RM1xxmodule pin (available on Plated Though Holes on J28, J29, J1(J3, J4, J5, J9), J7, J8, J10, J13, J14) to any Arduino pin (available on Plated Though Holes on J15, J23, J16, J17, J20, J24, J21) Externa LoRa dipole antenna Web link Card Externa multiband LoRa dipole antenna, 0.9dBi, 863-928MHz, (Laird part # 0600-00060) Provides links to additional information including the RM1xx user manual, firmware, terminal utilities, schematics, quick start guides, and firmware release notes and much more. Note: Sample smartBASIC applications are available to download from the Laird RM1xx applications GitHub webpage or via the Laird global FAE network. Embedded Wireless Solutions Support Center: http://ews-support.lairdtech.com www.lairdtech.com/ramp 4 © Copyright 2016 Laird. All Rights Reserved Americas: +1-800-492-2320 Europe: +44-1628-858-940 Hong Kong: +852 2923 0610 RM1xx Series Development Kit User Guide 5 RM1XX DEVELOPMENT KIT – MAIN DEVELOPMENT BOARD This section describes the RM1xx development board hardware. The RM1xx development board is delivered with the RM1xx series module loaded with integrated smartBASIC runtime engine FW but no onboard smartBASIC application; because of this, it starts up in AT command mode by default. Applications in smartBASIC are simple and easy to develop for any LoRa and BLE application. Sample smartBASIC applications are available to download from the Laird RM1xx applications GitHub webpage The RM1xx development board is a universal development tool to highlight the capabilities of the RM1xx module. The development kit is supplied in a default configuration which should be suitable for multiple experimentation options. It also offers number of header connectors that help isolate on-board sensors and UART from the RM1xx module to create different configurations. This allows you to test different operating scenarios. The development board also has support for plugging in 3rd party Arduino Shield boards. The development board allows the RM1xx series module to physically connect to a PC via the supplied USB cable for development purposes. The development board provides USB-to-Virtual COM port conversion through a FTDI chip – part number FT232R. Any Windows PC (XP or later) should auto-install the necessary drivers; if your PC cannot locate the drivers, you can download them from http://www.ftdichip.com/Drivers/VCP.htm 5.1. Key Features The RM1xx development board has the following features:            RM1xx series module soldered on-development board. Power supply options for powering development board from: – USB (micro-USB, type B) – external DC supply (7-12V) – AAA batteries (3xAAA battery holder fitted on underside of development board) Regulated 3.3 V for powering the RM1xx module. Optional regulated 1.8 V for powering the RM1xx module via selection switch. USB to UART bridge (FTDI chip). RM1xx UART can be interfaced to: – USB (PC) using the USB-UART bridge – External UART source (using IO break-out connectors J1 when development board powered from DC jack) Current measuring (for RM1xx module only) options: – Pin header (Ammeter) – Current shunt monitor IC (volt meter or oscilloscope) – Series resistor for differential measurement (oscilloscope) – Coulomb Counter IO break-out 2.54mm pitch pin header connectors (Plated through Holes) that bring out all interfaces of the RM1xx module [UART, SPI, I2C, SIO (DIO or AIN (ADCs)] and allow for plugging-in external modules/sensors. Pin headers jumpers that allow the on-board sensors, LED’s (and USB UART FTDI bridge) to be disconnected from RM1xx module (by removing jumpers). Three on-board sensors: – Analog output Temperature sensor, – I2C Coulomb Counter, – SPI IO Expander (connects to four LED’s and one Button), Two Buttons and five LEDs (of which 4 LED’s behind SPI IO expander) for user interaction. One Analog Buffer (provides a 3.3:1 attenuation) used when Analog source is at 5V into devboard. Embedded Wireless Solutions Support Center: http://ews-support.lairdtech.com www.lairdtech.com/ramp 5 © Copyright 2016 Laird. All Rights Reserved Americas: +1-800-492-2320 Europe: +44-1628-858-940 Hong Kong: +852 2923 0610 RM1xx Series Development Kit User Guide       Arduino connectors – allow for plugging of Arduino Shield boards. DVK-RM1xx-V1 development board is NOT an Arduino Shield, but is an Arduino base board (similar to the Arduino UNO). Arduino connector Test Points – all Arduino connector signals brought out to Plated-through Holes (2.54mm pitch). Allow any Arduino connector signal (D0-D13 or A0-A5) to be connected to any RM1xx module using fly leads for maximum flexibility. Arduino connectors orientation at 90 degrees to the dev board long dimension, allowing larger Arduino Shields to hang off side of dev board so not interfering with mounted external antenna or the RM1xx module (the BLE chip antenna). External Antenna Mounting Hole – for mounting the RM1xx LoRa external antenna. smartBASIC runtime engine FW upgrade capability: – Via UART (using the FTDI USB-UART) smartBASIC application upgrade capability: – Via UART (using the FTDI USB-UART) Embedded Wireless Solutions Support Center: http://ews-support.lairdtech.com www.lairdtech.com/ramp 6 © Copyright 2016 Laird. All Rights Reserved Americas: +1-800-492-2320 Europe: +44-1628-858-940 Hong Kong: +852 2923 0610 RM1xx Series Development Kit User Guide 6 UNDERSTANDING THE DEVELOPMENT BOARD Figure 1 illustrates the contents of the DVK-RM1xx development board. Headers for accessing UART J1 header Plated through Holes (PTH) for UART Header J12 for nAutRUN TP14 GND J7 Temperature Sensor J8 FTDI-FT232R I2C device U4 J11 Current Measurement USB J28 PTH USB1 DC/USB Power Source Switch SW4 RM1xx module J14, J13 TP6 Current Measurement output of Current Shunt Monitor U7 J29 PTH LoRa Antenna Mount LED1, LED2, LED3, LED4 DC Jack 712V Input CON1 on SPI IO expander U2 Arduino connecters PTH Test Points J23 J16 Arduino connecters J33 J31 Button2 1 Arduino connecters J32 J30 Arduino connectors PTH Test Points J22 J14 Button1 1 SW3 nReset Button Figure 1: DVK-RM1xx schematic Embedded Wireless Solutions Support Center: http://ews-support.lairdtech.com www.lairdtech.com/ramp 7 © Copyright 2016 Laird. All Rights Reserved Americas: +1-800-492-2320 Europe: +44-1628-858-940 Hong Kong: +852 2923 0610 RM1xx Series Development Kit User Guide Figure 2: Development board DVK-RM1xx-V1 (fitted with RM186-SM module for example) Embedded Wireless Solutions Support Center: http://ews-support.lairdtech.com www.lairdtech.com/ramp 8 © Copyright 2016 Laird. All Rights Reserved Americas: +1-800-492-2320 Europe: +44-1628-858-940 Hong Kong: +852 2923 0610 RM1xx Series Development Kit User Guide 6.1. RM1xx Default Configuration and Jumper Settings Important! To ensure correct ‘out of the box’ configuration, the RM1xx development board must be set according to Figure 3. Figure 3: Correct development board jumper settings Embedded Wireless Solutions Support Center: http://ews-support.lairdtech.com www.lairdtech.com/ramp 9 © Copyright 2016 Laird. All Rights Reserved Americas: +1-800-492-2320 Europe: +44-1628-858-940 Hong Kong: +852 2923 0610 RM1xx Series Development Kit User Guide 7 FUNCTIONAL BLOCKS The RM1xx development board is formed by the major functional blocks shown in Figure 4. Figure 4: DVK-RM1xx-V1 Block Diagram Table 1: DVK-RM1xx-V1 Header connectors default jumper positions and – signal mapping on devboard Default On Block Diagram? NO YES J# #pins J1 J2 6 3 J3 2 Fitted YES J4 3 Pin 2-3 YES J5 2 Fitted YES J6 2 NOT Fitted YES J7 3 Pin 2-3 YES J8 3 Pin 1-2 YES J9 3 Pin 2-3 YES Embedded Wireless Solutions Support Center: http://ews-support.lairdtech.com www.lairdtech.com/ramp Function Default Serial Port header I/O expander port pins Routes SIO_23 (RTS) to FTDI CTS or disconnects Routes SIO_21 (TX) to FTDI RX or Arduino TX Routes SIO_24 (CTS) to FTDI RTS or disconnects Pins not populated Pins not populated Can be used to ground SIO_28 No Jumper- SIO_28 is floating Connects BUTTON2 or Temp Sensor to SIO_5 Connects SIO_6 to LED5 or Analog Input Buffer Connects SIO_22 (RX) to FTDI TX or Arduino RX 10 © Copyright 2016 Laird. All Rights Reserved Module SIO_23 (RTS) to FTDI CTS Module SIO_21 (TX) to FTDI RX Module SIO_24 (CTS) to FTDI RTS Module SIO_5 to BUTTON2 Module SIO_6 to LED5 Module SIO_22 (RX) to FTDI TX Americas: +1-800-492-2320 Europe: +44-1628-858-940 Hong Kong: +852 2923 0610 RM1xx Series Development Kit User Guide J# #pins Default On Block Diagram? J10 2 Fitted YES J11 3 Pin 1-2 YES J12 3 NOT Fitted YES J13 3 Pin 2-3 YES J14 3 Pin 2-3 YES J15 8 NO J16 6 NO J17 2 Fitted YES J18 3 Pin 2-3 YES J19 2 J20 2 Fitted YES J21 2 Fitted YES J22 10 NO J23 8 NO J24 2 Fitted YES J27 2 NOT Fitted NO J28 J29 J30 J31 J32 J33 4 6 8 6 10 8 J34 2 NO J26 NO NO NOT Fitted YES J35 Embedded Wireless Solutions Support Center: http://ews-support.lairdtech.com www.lairdtech.com/ramp Function Default Connects SIO_25 (nAUTORUN) to FTDI DTR Inserts/bypass the Coulomb Counter Module SIO_25 (nAUTORUN) to FTDI DTR Pulls SIO_25 (nAUTORUN) high or low Routes SIO_29 (I2C SCL) to Coulomb Counter or Arduino SCL pin Routes SIO_30 (I2C DAT) to Coulomb Counter or Arduino SDA pin Arduino plated holes for access to D0 thru D7 Arduino plated holes for access to A0 thru A5 Connects Arduino A0 pin to Analog Input Buffer Connects SIO_4 (SPI SS) to I/O Expander or to Arduino D10 (for use as SPI Slave Select) Not populated- just plated through holes Connects SIO_3 (SPI MOSI) to Arduino D11 Connects SIO_0 (SPI SCK) to Arduino D13 Arduino plated holes for access to signals Arduino plated holes for access to signals Connects SIO_17 (SPI MISO) to Arduino D12 Plated test points for I/O expander pins When installed, it will hold the FTDI chip in reset RM1xx pin plated holes for access RM1xx pin plated holes for access Arduino female header Arduino female header Arduino female header Arduino female header Can be used for to make module plus other devboard circuitry current measurement after solder bridge SB3 has been cut Plated test points for I/O expander pins 11 © Copyright 2016 Laird. All Rights Reserved Coulomb Counter bypassed NOT Fitted- to use, first remove J10, then pull nAUTORUN high or low via J12 SIO_29 routed to Coulomb Counter SIO_30 routed to Coulomb Counter Pins not populated Pins not populated Connects Arduino A0 pin to Analog Input Buffer Module SIO_4 (SPI SS) connected to I/O Expander Slave Select Module SIO_3 (SPI MOSI) connected to Arduino D11 Module SIO_3 (SPI MOSI) connected to Arduino D11 Module SIO_3 (SPI MOSI) connected to Arduino D11 FTDI not in reset By default, the solder bridge SB3 shorts across this jumper, and the short jumper is not installed Americas: +1-800-492-2320 Europe: +44-1628-858-940 Hong Kong: +852 2923 0610 RM1xx Series Development Kit User Guide J# J36 7.1. #pins 2 Default On Block Diagram? Pin 2-3 YES Function Default When fitted, shorts across USB power switch to allow for a “dumb” USB charger as a power source By default, the devboard will work properly when connected to a standard USB port on a computer. To use a dumb USB power source, install J36 shorting Pin 1-2 Power Supply Figure X shows the DVK-RM1xx development board Power Supply block. Figure 5: DVK-RM1xx power supply There are three options for powering the development board:    USB (type micro-B connector) (USB1) external DC supply (7-12V), into DC jack connector (CON1), AAA batteries (3xAAA battery holder (J25) fitted on underside of development board) The power source fed into DC jack (CON1) (which is then regulated by a DCDC to 5V) or 3xAAA batteries (J25) is combined together through diodes (diode-OR) and fed to the SW4 switch. SW4 selects the power source between either USB or the DC jack (5Vregulated)/AAA. The 5V from the USB or the 5V from DCDC output/AAA batteries is regulated down to 3.3 V with an on-board regulator (U6) on the development board. The development board also has a 1.8V regulator, allowing for the possibility to power the RM1xx module from a 1.8V rail. Switch SW5 selects between the regulated 3.3 V and regulated 1.8 V. Default position of SW5 is to select regulated 3.3 V. Development Board Power Source USB (USB1) SW4 Position “USB” SW5 Position “3V3” or “1V8” DC jack (CON1) or AAA battery (J25). Position “DC” Position “3V3” or “1V8” Embedded Wireless Solutions Support Center: http://ews-support.lairdtech.com www.lairdtech.com/ramp 12 © Copyright 2016 Laird. All Rights Reserved Americas: +1-800-492-2320 Europe: +44-1628-858-940 Hong Kong: +852 2923 0610 RM1xx Series Development Kit User Guide The Arduino connector (J33) receives the following:    12V from the DC jack (CON1) directly into the Arduino connector J33 pin8 (Vin_12V_ARD) via protection diode (D9) and 1A fuse (F1). 5V is generated from the on-board DCDC regulator (U8) on the development board into the Arduino connector J33 pin5 (VCC_5V_ARD). The U8 12V input is taken from DC jack(CON1). 3.3V generated from a separate regulator (U9) is used to supply the Arduino connector J33 pin4, 3.3V domain only (VCC_3V3_ARD). On the development board, the power circuity is as follows:       VCC_3V3 - supplies the FTDI chip power as well as temperature sensor (U1). VCC_IO_UART - supplies the FTDI chip IO and all other sensors and circuitry. VCC_Radio - supplies the RM1xx series module only plus the Coulomb Counter IC (U4). Current measuring block (the current shunt monitor IC (U7)) on development board only measures the current into power domain VCC_Radio. VCC_Radio also supplies the VCC_BLE and VCC_LORA domains which power the RM1xx series module only. VCC_12V_ARD - supplies Arduino connector only. VCC_5V_ARD - supplies Arduino connector only and the Analog buffer IC (U3) attenuator circuit. VCC_3V3_ARD - supplies Arduino connector only. Note: 7.2. Although the development board allows the RM1xx module to be powered from 3.3V or 1.8V (by selection switch SW5); the Coulomb Counter IC (U4) cannot operate below 2.7V (2.7V-3.6V). When operating RM1xx module on the development board from 1.8V (power selection switch SW5 in position “1V8”), the coulomb counter IC circuit should be bypassed (by fitting jumper back on J11 pins 1 and 2, which is the default). Reset Button The development board has a reset button (SW3). The Reset is active low (SW3 pushed down). To view its location, refer to Figure 2. 7.3. SWD Interface The development board provides access to the RM1xx module 2-wire interface (called SWD in this document) on JP1. This is NOT required for customer use, since the RM1xx module supports both smartBASIC runtime engine firmware and smartBASIC application loading over the UART. 7.4. 4-wire UART Serial Interface The development board provides access to the RM1xx module 4-wire UART interface (TX, RX, CTS, RTS) either through USB (via U10 FTDI USB-UART convertor chip) or through a breakout header connector JP5. Refer to Figure 6. Note: 7.5. RM1xx module provides 4-wire UART interface on the HW and the other 4 signals (DTR, DSR, DCD, RI) which are low bandwidth signals can be implemented in a smartBASIC application, using any spare digital SIO pins. UART Mapping UART connection on the RM1xx series module and FTDI IC are shown in table below. Figure 6 explains how the RM1xx series module UART is mapped to the breakout header connectors (J3, J4, J5, J9). These connections are listed in Table 2. Embedded Wireless Solutions Support Center: http://ews-support.lairdtech.com www.lairdtech.com/ramp 13 © Copyright 2016 Laird. All Rights Reserved Americas: +1-800-492-2320 Europe: +44-1628-858-940 Hong Kong: +852 2923 0610 RM1xx Series Development Kit User Guide Table 2: SIO / UART connections RM1xx SIO SIO.21 RM1xx Default function UART_TX (output) FTDI IC UART USB_RX SIO.22 UART_RX (input) USB_TX SIO.23 UART_RTS (output) USB_CTS SIO.24 UART_CTS (input) USB_RTS Additionally SIO.25 which is the nAutoRUN input pin on the module can be driven by the USB_DTR output pin of the FTDI chip. This allows testing the $autorun$ application on boot without setting the autorun jumper on the development board. Autorun can be controlled directly from Laird’s UWTerminal using the DTR tick box. 7.5.1. UART Interface Driven by USB    USB Connector. The development kit provides a USB Type micro-B connector (USB1) which allows connection to any USB host device. The connector optionally supplies power to the development kit and the USB signals are connected to a USB to serial convertor device (FT232R), when SW4 is set to ‘USB’ position. USB – UART. The development kit is fitted with a (U10) FTDI FT232R USB to UART converter which provides USB-to-Virtual COM port on any Windows PC (XP or later). Upon connection, Windows auto-installs the required drivers. For more details and driver downloads, visit http://www.ftdichip.com/Products/FT232R.htm. UART interface driven by USB FTDI chip. In normal operation, the RM1xx UART interface is driven by the FTDI FT232R USB to UART converter. 7.5.2. UART Interface Driven by External Source  UART interface driven by external UART source. The RM1xx module UART interface (TX, RX, CTS, RTS) is presented at a 2.54 mm (0.1”) pitch header (J1). To allow the RM1xx UART interface to be driven from the breakout header connector (J1), the following must be configured: – Development board must be powered from DC jack (CON1) or AAA batteries (J25) and switch SW4 is in DC position. – The FTDI device must be held in reset. This is achieved automatically by removal of USB cable, placing SW4 in the DC position, or fitting a jumper on J27. – Also jumpers on header connectors J3, J4, J5, J9 allows the four RM1xx UART pins to be physically isolated as well from USB-UART FTDI device. By default, the jumpers on J3, J4, J5, J9 are fitted to route UART pins to U10 FTDI FT232R USB –UART convertor. Embedded Wireless Solutions Support Center: http://ews-support.lairdtech.com www.lairdtech.com/ramp 14 © Copyright 2016 Laird. All Rights Reserved Americas: +1-800-492-2320 Europe: +44-1628-858-940 Hong Kong: +852 2923 0610 RM1xx Series Development Kit User Guide VCC_IO_UART VCC_IO_UART R2 10K R3 10K Default: J3 Jumper fitted. 1 USB_CTS J3 1 2 2 R6 560R SIO_23 Module_RTS PIN HEADER,2.54mm 1X2P USB-UART bridge chip Default: J4 Jumper fitted pin2-3. 3 2 USB_RX J4 PIN HEADER,2.54mm 1X3P 1 D1_TX 3 1 R10 10K R11 10K 2 FTDI VCC_IO_UART VCC_IO_UART FT232RQ R9 560R SIO_21 Module_TX RM1xx module UART Default: J5 Jumper fitted. 1 USB_RTS J5 1 2 2 R12 560R SIO_24 Module_CTS PIN HEADER,2.54mm 1X2P Default: J9 Jumper fitted pin2-3. 3 VCC_IO_UART 2 USB_TX J9 PIN HEADER,2.54mm 1X3P 1 D0_RX 3 1 2 R19 10K R21 560R Module_RX SIO_22 Module_RX Figure 6: USB to UART Interface and Header to UART interface J1 pinout is designed to be used with FTDI USB-UART TTL (3.3V) convertor cables (found at http://www.ftdichip.com/Products/Cables/USBTTLSerial.htm). One example is FTDI part TTL-232R-3V3. VCC_IO_UART GND USB_CTS VCC USB_TX USB_RX USB_RTS GND RTS VCC GND RX TX CTS SIO_23 SIO_22 SIO_21 SIO_24 R1 NOPOP (0R) J1 1 2 1 3 2 4 3 5 4 6 5 6 NOPOP (PIN HEADER,2.54mm 1X6P) FTDI (USB to TTL 232 Cable) Figure 7: J1 wiring to match FTDI USB-UART cable (TTL-232R-3V3 cable) Remove jumpers on J3, J4, J5, J9 when connecting an external FTDI USB-UART TTL (3.3V) convertor cable using J1. 7.6. nAutoRUN Pin and Operating Modes On the development board USB_DTR output (FTDI chip U10) from PC is wired to RM1xx module pin SIO25 (pin6) which is the nAutoRUN pin. Note: smartBASIC runtime engine FW checks for the status of nAutoRUN during power-up or reset. The nAutoRUN pin detects if the RM1xx module should power up into “Interactive / Development Mode (3.3 V)” or “Self-contained Run Mode (0v)”. The module enters Self-contained Run Mode if the nAutoRUN pin is at 0V and an application called “$autorun$” exists in the modules file system, then the smartBASIC runtime engine FW will execute the smartBASIC application script automatically; hence the name Self-contained Run mode. Embedded Wireless Solutions Support Center: http://ews-support.lairdtech.com www.lairdtech.com/ramp 15 © Copyright 2016 Laird. All Rights Reserved Americas: +1-800-492-2320 Europe: +44-1628-858-940 Hong Kong: +852 2923 0610 RM1xx Series Development Kit User Guide The nAutoRUN pin inhibits the automatic launch $autorun$ application on power-up. Tying nAutoRUN to 3.3V inhibits the $autorun$ application from running. The J12 3-pin header allows a jumper to be fitted to select between the two operating modes. Note: Header J10 jumper MUST be REMOVED when using J12 3-pin header to select nAutoRUN function. Table 3: RM1xx nAutorun header nAutoRUN pin RM1xx Operating Mode Interactive / Self-contained Development Mode Run Mode (autorun mode) Circuit J12 jumper position VCC_IO_UART n_Autorun / module_DSR R25 10K USB_DTR Module_DSR 1 1 2 2 SIO_25 J10 PIN HEADER,2.54mm 1X2P VCC_IO_UART 3 3 R29 10K 2 1 2 1 J12 PIN HEADER,2.54mm 1X3P R31 10K Develop: Jumper J12 pin2-3 nAUTORUN: Jumper J12 pin2-1 GND Line driven by USB_DTR: No jumper in J12 (Default) Line driven by USB_DTR: J10 jumper fitted (Default) J10 header connector allows USB_DTR signal from the FTDI chip to be disconnected from reaching the RM1xx. Since RM1xx nAutoRUN pin6 (SIO.25) is connected to PC FTDI USB_DTR line, via the J10 header connector: By default a Jumper is fitted into J10 header connector to allow PC (using uWTerminal) to control nAutoRUN pin (SIO.25); with no jumper fitted to J12 (which is the default) (see Error! Reference source not found.). To disconnect RM1xx nAutoRUN pin6 (SIO.25) from the PC FTDI USB_DTR line: 7.7. Remove Jumper from J10 header connector. Then nAutoRUN can be controlled by J12 jumper on appropriate pins as per above table. Mounting Hole for LoRa Dipole Antenna The mounting hole for the LoRa Dipole Antenna is illustrated in Figure 1 and Figure 2. Embedded Wireless Solutions Support Center: http://ews-support.lairdtech.com www.lairdtech.com/ramp 16 © Copyright 2016 Laird. All Rights Reserved Americas: +1-800-492-2320 Europe: +44-1628-858-940 Hong Kong: +852 2923 0610 RM1xx Series Development Kit User Guide 8 SOFTWARE The development board connects the RM1xx module to a virtual COM port of a PC or other device. From a PC, you can communicate with the module using Laird’s UW Terminal application. (version 6.51 or newer). UW TerminalX is a terminal emulation application capable of running on Windows, Mac, and Linux. It was developed specifically to aid development and testing of Laird modules. It allows connection to serial devices using any combination of the communications parameters listed in Table 4. Table 4: UwTerminalX Communication Parameters for RM1xx COM Port: 1 to 255 Baud rate: 300 to 921,600 Note: Baud rate default is 115200 for RM1xx. Parity: None, Odd, Even Data Bits: 8 Stop Bits: 1 or 2 Handshaking: None or CTS/RTS Note: Baud rates higher than 115200 depend on the COM port capabilities of the host PC and may require an external USB – RS232 adapter or PCMCIA card. The benefits of using UWTerminalX include:       Continually displayed status of DSR, CTS, DCD, and RI Direct control of DTR on the host PC via a check box Direct control of RTS, if CTS / RTS Handshaking is disabled when UWTerminalX is launched Sending of BREAK signals BASIC tab provides standalone testing and development of smartBASIC applications and allows UWTerminalX operation to be automated. Additional built-in features (right click in Terminal tab screen) to accelerate development including Automation and various XCompile / Load / Run options for downloading smartBASIC applications into the RM1xx. Note: Full details on smartBASIC are available in the smartBASIC User Manual available for download at the Laird website. This document also includes a basic introduction to UwTerminalX. Tip: If the module returns a four hex digit error code: In UwTerminal, select those four digits, right-click, and select Lookup Selected ErrorCode. A description of the error is printed on screen. Embedded Wireless Solutions Support Center: http://ews-support.lairdtech.com www.lairdtech.com/ramp 17 © Copyright 2016 Laird. All Rights Reserved Americas: +1-800-492-2320 Europe: +44-1628-858-940 Hong Kong: +852 2923 0610 RM1xx Series Development Kit User Guide 9 BREAKOUT CONNECTOR PINOUTS 9.1. J28(J13, J14), J29, J1 (J3, J4, J5, J9), J12(J10), J6 SIO (Special Input / Output Sockets) Breakout Connectors Access to all 14 RM1xx series module signal pins (SIO’s = signal Input /Output) is available on header connectors J28(J13, J14), J29, J1 (J3, J4, J5, J9), J12(J10), J6 (2.54 mm pitch headers). Note:        The RM1xx module signal pins designation SIO (Signal Input /Output). DEFAULT type is DIO (Digital Input or Output) or UART (on fixed pins) ALTERNATE type is either AIN (Analog Input ADC), I2C, SPI, DIO (on fixed pins) Alternate function is selectable in smartBASIC application DIO or AIN functionality is selected using the GpioSetFunc() function in smartBASIC AIN configuration selected using GpioSetFunc() function I2C, UART, SPI controlled by xxxOPEN() functions in smartBASIC SIO_21 to SIO_24 are DIO by default when $autorun$ app runs on power up These breakout connectors can interface to a wide array of sensors with the RM1xx function user configurable by smartBASIC application script from the default function (DIO, UART) to alternate functions (AIN (ADC), I2C, SPI, DIO). The RM1xx development kit incorporates additional fly-lead cables inside the box, to enable simple, hassle-free testing of the multiple interfaces. Table 5 shows the RM1xx module pins that are brought out to plated through Holes (suitable for 2.54 mm pitch headers). Table 5: Module pins exposed by plated through holes J28 Plated Through Holes or Header Connector RM1xx pin plated holes for access RM1xx module signals exposed RM1xx pin plated holes for access SI0_ 25, SI0_ 28, SI0_ 29, SI0_ 30, NOPOP (PIN HEADER,2.54mm 1X4P) 1 2 3 4 1 2 3 4 SIO_25 SIO_28 SIO_29 SIO_30 J28 J29 SIO_6 SIO_5 SIO_4 IO_Expander_MOSI_SIO_3 IO_Expander_MISO_SIO_17 IO_Expander_SCK_SIO_0 1 2 3 4 5 6 RM1xx pin plated holes for access SI0_ 6, SI0_ 5, SI0_ 4, SI0_ 3, SI0_ 17, SI0_ 0, J29 1 2 3 4 5 6 NOPOP (PIN HEADER,2.54mm 1X6P) Embedded Wireless Solutions Support Center: http://ews-support.lairdtech.com www.lairdtech.com/ramp 18 © Copyright 2016 Laird. All Rights Reserved Americas: +1-800-492-2320 Europe: +44-1628-858-940 Hong Kong: +852 2923 0610 RM1xx Series Development Kit User Guide Plated Through Holes or Header Connector RM1xx module signals exposed Serial Port plated holes for access J1 VCC_IO_UART GND USB_CTS VCC USB_TX USB_RX USB_RTS GND RTS VCC GND RX TX CTS R1 NOPOP (0R) J1 1 1 2 3 2 4 3 5 4 6 5 6 SIO_23 SIO_22 SIO_21 SIO_24 NOPOP (PIN HEADER,2.54mm 1X6P) FTDI (USB to TTL 232 Cable) J6 J6 2 2 1 SI0_ 28 Can be used to ground SIO_28 No Jumper on SIO_28 R14 560R 1 SIO_28 PIN HEADER,2.54mm 1X2P GND J3 R2 10K J4 J3 Routes SIO_23 (RTS) to FTDI CTS or disconnects. VCC_IO_UART VCC_IO_UART R3 10K Default: J3 Jumper fitted. 1 USB_CTS J3 1 2 2 J4 Routes SIO_21 (TX) to FTDI RX or Arduino TX R6 560R SIO_23 Module_RTS PIN HEADER,2.54mm 1X2P Default: J4 Jumper fitted pin2-3. 2 J4 PIN HEADER,2.54mm 1X3P 1 D1_TX 3 1 2 J5 3 USB_RX VCC_IO_UART VCC_IO_UART R9 560R J5 Routes SIO_24 (CTS) to FTDI RTS or disconnects SIO_21 Module_TX J9 R10 10K R11 10K Default: J5 Jumper fitted. 1 USB_RTS J5 1 2 2 R12 560R J9 Connects SIO_22 (RX) to FTDI TX or Arduino RX SIO_24 Module_CTS PIN HEADER,2.54mm 1X2P Default: J9 Jumper fitted pin2-3. R19 10K R21 560R Module_RX Embedded Wireless Solutions Support Center: http://ews-support.lairdtech.com www.lairdtech.com/ramp VCC_IO_UART 2 J9 PIN HEADER,2.54mm 1X3P 1 D0_RX 3 1 2 USB_TX 3 SIO_22 Module_RX 19 © Copyright 2016 Laird. All Rights Reserved Americas: +1-800-492-2320 Europe: +44-1628-858-940 Hong Kong: +852 2923 0610 RM1xx Series Development Kit User Guide Plated Through Holes or Header Connector RM1xx module signals exposed Connects SIO_25 (nAUTORUN) to FTDI DTR J10 VCC_IO_UART n_Autorun / module_DSR R25 10K Module_DSR 1 USB_DTR 1 2 2 SIO_25 J10 PIN HEADER,2.54mm 1X2P VCC_IO_UART 3 3 R29 10K 2 1 2 1 J12 PIN HEADER,2.54mm 1X3P R31 10K Develop: Jumper J12 pin2-3 nAUTORUN: Jumper J12 pin2-1 GND Line driven by USB_DTR: No jumper in J12 (Default) Line driven by USB_DTR: J10 jumper fitted (Default) J13 , J14 2 2 J13 Routes SIO_29 (I2C SCL) to J13 PIN HEADER,2.54mm 1X3P Coulomb Counter or Arduino SCL 3 1 pin. 3 1 SCL_ARD Coulomb_I2C_SCL Coulomb_I2C_SDA SIO_29 SIO_30 SDA_ARD 3 J7 2 2 I2C_SCL: J13 jumper fitted pin2-3 (Default) I2C_SDA: J14 jumper fitted pin2-3 (Default) 1 J14 Routes SIO_30 (I2C_SDA) to Coulomb Counter or Arduino SDA J14 PIN HEADER,2.54mm 1X3P pin. 3 1 Button2: J7 jumper fitted pin2-3 (Default) 3 3 BUTTON2 2 2 J7 PIN HEADER,2.54mm 1X3P Temp_Sens 1 1 SIO_5 J7 routes SIO_5 out . Connects BUTTON2 or Temp Sensor to SIO_5 C5 0.1uF,16V GND Embedded Wireless Solutions Support Center: http://ews-support.lairdtech.com www.lairdtech.com/ramp 20 © Copyright 2016 Laird. All Rights Reserved Americas: +1-800-492-2320 Europe: +44-1628-858-940 Hong Kong: +852 2923 0610 RM1xx Series Development Kit User Guide Plated Through Holes or Header Connector RM1xx module signals exposed J8 Connects SIO_6 to LED5 or Analog Input Buffer J8 3 3 A0_div ided 2 2 J8 PIN HEADER,2.54mm 1X3P LED5 1 1 SIO_6 LED5: J8 jumper fitted pin2-1 (Default) 9.2. Additional Peripherals / Sensors The RM1xx development board provides for simple and hassle free connectivity to a wide range of sensors, but also includes several on-board sensors and options to enable a developer to test functionality straight out of the box. In the smartBASIC application code written to use sensors on the development board (including the Temperature sensor (U1) – analog output, LED5(D5), Button1(SW1), SPI IO expander (U2), I2C Coulomb Counter (U4), the SIO pins direction and type must be set in the smartBASIC application to override the defaults in the RM1xx firmware. For more information on these sample applications, see the Sample Applications for the RM1xx application note, available on the documentation tab of the RM1xx product page. 9.3. Arduino Connector for plugging in an Arduino Shields The DVK-RM1xx-V1 development board is NOT an Arduino Shield, but is an Arduino base board (like the Arduino UNO). The four Arduino connectors (J30, J31, J32 and J33) on the development board allow Arduino Shields to be plugged in.   All Arduino connector signals are brought out to Plated-through Holes (2.54mm pitch) J15, J16, J22, J23. This allows any Arduino connector signal (D0-D13 or A0-A5) to be connected to any RM1xx module using fly leads for maximum flexibility. Arduino connectors orientation are at 90 degrees perpendicular to the long dimension, allowing larger Arduino Shields to hang off side of the board without interfering with a mounted external antenna or the RM1xx module (the BLE chip antenna). There are Arduino pins that are not used on the development board:  Arduino pin IOREF on development board (on J33pin2), is connected to 3.3V domain (VCC_ARD_ARD via 0R resistor (R44). Arduino IOREF allows Arduino shields to adapt to the voltage provided from the board, Since we are sending 3.3V up (from the development board) to the IOREF , the Arduino documentation states that a properly configured Shield should respect our logic levels as a function of this pin. Therefore we do not need level translators, just series resistors in all Shield IO lines to help protect against an inappropriate logic level (something greater than 3.3V). This series of resistors (R37, R38, R39, R40, R42, R41, R14, R6, R9, R12, R21), provide the voltage drop as current flows through, activating the ESD protection diode in the RM1xx module. RM1xx module PINS DO NOT SUPPORT 5V IO. Do not connect greater than 3.3V IO from Arduino Shields others. Arduino RESET pin on development board (on J33pin3), is connected to RM1xx nRESET pin (U5pin22 via 0R resistor (R43). Embedded Wireless Solutions Support Center: http://ews-support.lairdtech.com www.lairdtech.com/ramp 21 © Copyright 2016 Laird. All Rights Reserved Americas: +1-800-492-2320 Europe: +44-1628-858-940 Hong Kong: +852 2923 0610 RM1xx Series Development Kit User Guide    Arduino pins A1 through to A5 are simply left open but are wired out from Arduino connector J31 to Plated-through Holes on J16. These Arduino pins (A2-A5) can be fly-leaded to any RM1xx analog input pin. Arduino D2-D9 are simply left open but are wired out from Arduino connector J30 and J32 to plated through holes on J15 and J22 respectively next to the Arduino shield connectors. These Arduino pins (D2D9) can accessed by soldering a jumper wire to plated through holes on J15, to any RM1xx digital pin. Arduino AREF is simply left open but is wired out from Arduino connector J32 to plated through holes on J22 which is next to the Arduino shield connector (J32). AREF is supplied by a Shield board and is an input to the Arduino base board to indicate the maximum expected value of the analog signal. The RM1xx module does not support this function. Table 6: Arduino connectors and signals J# J30 Arduino Connectors and Plated Through Holes (Test points) RM1xx pin plated holes for access D0_RX D1_TX D2 D3 D4 D5 D6 D7 1 2 3 4 5 6 7 8 D0(RX) D1(TX) D2 D3 D4 D5 D6 D7 J30 1 2 3 4 5 6 7 8 D0_RX D1_TX D2 D3 D4 D5 D6 D7 HEADER,FEMALE,2.54mm,1X8P J29 A0_5V_IN 2 J17 2 1 1 1 2 3 4 5 6 7 8 Arduino signals Arduino female header J30. J15 is plated through holes for access signals on J30 J15 1 2 3 4 5 6 7 8 NOPOP (PIN HEADER,2.54mm 1X8P) HEADER,FEMALE,2.54mm,1X6P 6 6 A5 A5 5 6 5 6 A4 A4 5 4 4 5 A3 A3 3 4 3 4 A2 A2 2 3 2 3 A1 1 2 A1 1 2 A0 1 1 A0 J31 J16 NOPOP (PIN HEADER,2.54mm 1X6P) A5 A4 A3 A2 A1 A0 PIN HEADER,2.54mm 1X2P Arduino female header J31. J16 is plated through holes for access signals on J30. J17 Connects Arduino A0 pin to Analog Input Buffer (U3). J17 jumper fitted (Default) 560R 2 2 J18 PIN HEADER,2.54mm 1X3P 1 SIO_4 3 3 Enable IO expander: J18 Jumper in pin2-3 (default) J20 jumper fitted (Default) IO_Expander_CS_SIO_4 J21 jumper fitted (Default) J24 jumper fitted (Default) R37 R38 560R IO_Expander_MOSI_SIO_3 1 J32 J22 J20 J24 J21 J20 2 2 1 1 PIN HEADER,2.54mm 1X2P R39 560R 2 IO_Expander_MISO_SIO_17 J24 2 1 1 PIN HEADER,2.54mm 1X2P R40 560R IO_Expander_SCK_SIO_0 J21 2 2 1 1 PIN HEADER,2.54mm 1X2P R42 560R D8 D9 D10(SS) D11(MOSI) D12(MISO) D13(SCLK) GND AREF SDA SCL HEADER,FEMALE,2.54mm,1X10P 1 D8 2 D9 D10_SS 3 D11_MOSI 4 5 D12_MISO 6 D13_SCLK 7 GND AREF 8 9 SDA 10 SCL J32 D8 D9 D10_SS D11_MOSI D12_MISO D13_SCLK 1 2 3 4 5 6 7 8 9 10 AREF SDA SCL 1 2 3 4 5 6 7 8 9 10 J22 1 2 3 4 5 6 7 8 9 10 NOPOP (PIN HEADER,2.54mm 1X10P) GND SDA_ARD R41 560R SCL_ARD J33 VIN_12V_ARD HEADER,FEMALE,2.54mm,1X8P 8 VIN_12V_ARD 8 VIN_12V_ARD VIN 7 8 7 8 VCC_3V3_ARD VCC_5V_ARD GND 6 7 6 7 GND 5 6 5 6 VCC_5V_ARD VCC_5V_ARD 5 5.0V 4 VCC_3V3_ARD VCC_3V3_ARD 4 5 3 4 3.3V 3 4 nRESET/SWDIO 0R R43 nRESET nRESET 2 3 2 3 IOREF IOREF nRESET 1 2 1 2 IOREF 1 1 R44 SPARE J33 0R J23 GND NOPOP (PIN HEADER,2.54mm 1X8P) VCC_3V3_ARD GND Embedded Wireless Solutions Support Center: http://ews-support.lairdtech.com www.lairdtech.com/ramp 22 © Copyright 2016 Laird. All Rights Reserved Arduino female header J32. J22 is plated through holes for access signals on J30. Connects SIO_4 (SPI SS) to I/O Expander (U2) or to Arduino D10 (for use as SPI Slave Select). J20 Connects SIO_3 (SPI MOSI) to Arduino D11. J20 Jumper fitted. J24 Connects SIO_17 (SPI MISO) to Arduino D12. J24 Jumper fitted. J21 Connects SIO_0 (SPI SCK) to Arduino D13. J21 Jumper fitted. Arduino female header J33. J23 is plated through holes for access signals on J33. Americas: +1-800-492-2320 Europe: +44-1628-858-940 Hong Kong: +852 2923 0610 RM1xx Series Development Kit User Guide 9.3.1. Analog input Buffer and attenuator circuit (U3) Figure 8 shows the Analog Buffer circuit that accepts a 0V to 5V analog input signal from Arduino shield pin and scale it down to an acceptable range of 0V to 1.2V set by potential divider R26 (3.3kOhms) and R28 (1KOhms) with a gain of 0.23(=1/ (1+3.3)). Max Input (Volts) (A0_5V_IN) 5 R26 (kOhms) 3.3 R28 (kOhms) 1 Output (Volts) (A0_divided) 1.16 VCC_5V_ARD R18 NOPOP (1K) GND R78 1R,1% C4 0.1uF,16V R20 1K GND U3 1 2 3 4 R22 A0_5V_IN 470R,1% R24 100K OUT A V+ IN A- OUT B IN A+ IN BVIN B+ 8 7 6 5 A0_div ided R23 1K Dual OP,5V GND GND R28 R26 3.3K,1% 1K GND Analog 5V to 1.2V level translator Figure 8: Analog Buffer 9.3.2. Temperature Sensor The temperature sensor (U1) by default is not connected to the RM1xx module, as jumper is fitted to J7 pins 2-3. The temperature sensor (U1) can be connected by moving jumper from J7 pins 2-3 to J7 pins 1-2, bridging TEMP_SENS and SIO_5. 3 3 BUTTON2 2 2 J7 PIN HEADER,2.54mm 1X3P VCC_3V3 4 1 Temp_Sens R4 U1 1 SIO_5 C2 0.1uF,16V C5 0.1uF,16V V+ Vo GND 5 GND NC 3 Temp_Sens 470R,1% 2 R5 NOPOP (4.7K) 1 C3 0.1uF,16V 2.4V,10uA,-55dC~+130dC GND Embedded Wireless Solutions Support Center: http://ews-support.lairdtech.com www.lairdtech.com/ramp GND GND 23 © Copyright 2016 Laird. All Rights Reserved GND GND Americas: +1-800-492-2320 Europe: +44-1628-858-940 Hong Kong: +852 2923 0610 RM1xx Series Development Kit User Guide Figure 9: Temperature Sensor The on-board temperature sensor (TI LM20BIM7 - www.ti.com/lit/ds/symlink/lm20.pdf) has an Analogue output that can be connected to RM1xx module pin SIO_5; but since the LM20BIM7 has an analogue output, the RM1xx module SIO_5 digital pin (DIO) must be configured as AIN analogue input (ADC). To configure the SIO_5 pin from DIO pin to Alternate function AIN, see the example file “tempsens.rm1xx.sb” in the RM1xx sample applications library: https://github.com/LairdCP/RM1xx-Applications. Key specifications of the LM20BIM7 are as follows in Table 7. Table 7: LM20BIM7 Specifications Output type Analogue output Accuracy at 30ºC ±1.5ºC ±4ºC (max) Accuracy at 40ºC to +85ºC approx. ±2.5ºC ±5ºC (max) Power supply voltage range +2.4 V to 5.5 V Current Drain 10 uA (max) Output impedance 160 Ohms (max) The LM20BIM7 datasheet states the relationship of Temperature (T) to Voltage output (Vo) can be approximated as a linear equation (for temperature range of -40ºC to +85ºC): Vo(mV) = -11.79mV/ºC x T + 1858.3 gives below calculated Vo versus temperature: Table 8: LM20BIM7 Temperature to Voltage Output relationship Temperature (T) +80ºC Typical Vo +924.7mV +70ºC +1041.4mV +60ºC +1158.1mV +50ºC +1274.8mV +40ºC +1391.5mV +30ºC +1508.2mV +20ºC +1624.9mV +10ºC +1741.6mV Embedded Wireless Solutions Support Center: http://ews-support.lairdtech.com www.lairdtech.com/ramp 24 © Copyright 2016 Laird. All Rights Reserved Americas: +1-800-492-2320 Europe: +44-1628-858-940 Hong Kong: +852 2923 0610 RM1xx Series Development Kit User Guide Temperature (T) +0ºC Typical Vo +1858.2mV -10ºC +1975.0mV -20ºC +2091.7mV -30ºC +2208.4mV 9.3.3. I2C sensor (Coulomb Counter) The I2C Coulomb Counter (U4) senses the current drawn by RM1xx VCC pins via sense resistor R30. By default, it is bypassed with jumper fitted in J11 pins 1-2. To connect the coulomb counter to RM1xx VCC pins (namely VCC_BLE pin 12 and VCC_LORA pin 13) you must fit a jumper to J11 pins 2-3. The output of the coulomb counter is on the I2C bus and is by default connected to the RM1xx module via jumpers on J13 pins 2-3 and J14 pins 2-3. Bypass Coulomb Counter: Jumper J11 pin2-1 (default) VCC_BLE 2 2 J11 PIN HEADER,2.54mm 1X3P 1 3 SB1 1 3 2 2 1 R30 NOPOP (Solderbridge) VCC_LORA SB2 2 1 2 1 7 6 AL/CC SDA SCL GND GND 5 4 3 2 VCC_IO_UART TP2 NOPOP (TH_TEST_POINT) 1 GND Coulomb Counter V+ 2.7V-3.6V R32 10K R33 10K J13 PIN HEADER,2.54mm 1X3P 3 1 3 1 2 GND GND NOPOP (Solderbridge) 2 SENSE+ C7 0.1uF,16V U4 BAT-Gauge,I2C SENSE- 1 1R,1% SCL_ARD Coulomb_I2C_SCL Coulomb_I2C_SDA SIO_29 SIO_30 SDA_ARD 2 I2C_SCL: J13 jumper fitted pin2-3 (Default) I2C_SDA: J14 jumper fitted pin2-3 (Default) 3 3 2 VCC_Radio 1 1 1 J14 PIN HEADER,2.54mm 1X3P Figure 10: Coulomb counter schematic Embedded Wireless Solutions Support Center: http://ews-support.lairdtech.com www.lairdtech.com/ramp 25 © Copyright 2016 Laird. All Rights Reserved Americas: +1-800-492-2320 Europe: +44-1628-858-940 Hong Kong: +852 2923 0610 RM1xx Series Development Kit User Guide Figure 11: I2C sensor - Coulomb Counter The Coulomb Counter measures current taken over time and outputs this as I2C data. For a working example, see the file ltc2941.sb in the smartBASIC sample application library: https://github.com/LairdCP/RM1xx-Applications. 9.3.4. SPI IO Expander and connected Push Button and LEDs on IO expander The SPI IO Expander (U2) is connected to the RM1xx SPI pins directly. The 3-pin header J18 connects SIO_4 (SPI SS) to I/O Expander or to Arduino D10 (for use as SPI Slave Select). By default, the RM1xx Module SIO_4 (used as the SPI SS) is connected to I/O Expander (U2) slave select line via J8 with a jumper fitted on J18 pins 2-3. Table 9 lists signal mappings for all four LEDs and the push button of IO Expander. Table 9: IO Expander signal mappings Part LED1 (D1) SIO SPI IO expander (U2)pin9 GP0 LED2 (D2) SPI IO expander (U2)pin10 GP1 LED3 (D31) SPI IO expander (U2)pin11 GP2 LED4 (D4) SPI IO expander (U2)pin12 GP3 Button 1 (SW1) SPI IO expander (U2)pin13 GP4 Embedded Wireless Solutions Support Center: http://ews-support.lairdtech.com www.lairdtech.com/ramp 26 © Copyright 2016 Laird. All Rights Reserved Americas: +1-800-492-2320 Europe: +44-1628-858-940 Hong Kong: +852 2923 0610 RM1xx Series Development Kit User Guide J35 3 NOPOP (PIN HEADER,2.54mm 1X3P) 3 BUTTON1 VCC_IO LED4 C1 2 2 1 VCC_IO LED2 R8 10K R7 10K GND GND SPI Expander,8Bit 2 3 2 1 BUTTON1 LED4 LED3 J2 NOPOP (PIN HEADER,2.54mm 1X3P) BUTTON1 LED4 LED4 LED3 LED3 LED2 LED2 LED1 IO_Expander_CS_SIO_4 LED1 LED1 BUTTON1 GND 2 LED1 LED2 U2 GP6 GP5 GP4 GP3 GP2 15 14 13 12 11 1 A2/MISO A1 A0 RESET CS GND 3 20 19 18 17 16 IO_Expander_MISO_SIO_171 2 3 4 5 VCC_IO VCC_IO 21 R70 0R R71 0R NOPOP (PIN HEADER,2.54mm 1X2P) J26 NC6 SDA/MOSI SCL/SCK INT VDD NC8 VSS GP0 GP7 GP1 R72 NOPOP (0R) 6 7 8 9 10 R73 NOPOP (0R) IO_Expander_SCK_SIO_0 IO_Expander_MOSI_SIO_3 2 1 0.1uF,16V 1 LED3 1 GND R35 1K C10 0.1uF,16V R15 1K R16 1K R13 1K R17 1K D3 Blue,0603 D4 Blue,0603 SW1 TACT SW,SMD/180d 3 4 1 D2 Blue,0603 1 2 1 D1 Blue,0603 2 2 2 2 1 2 1 1 3 4 GND GND GND GND GND GND Figure 12: IO Expander schematic Figure 13: SPI IO Expander and connected Push button and LEDs For a working example of the IO Expander in use, see the file ioexpander.rm1xx.sb in the smartBASIC sample applications library: https://github.com/LairdCP/RM1xx-Applications Embedded Wireless Solutions Support Center: http://ews-support.lairdtech.com www.lairdtech.com/ramp 27 © Copyright 2016 Laird. All Rights Reserved Americas: +1-800-492-2320 Europe: +44-1628-858-940 Hong Kong: +852 2923 0610 RM1xx Series Development Kit User Guide 9.3.5. Push Button and LED connected to RM1xx BUTTON2 BUTTON2 The selection jumper on J7 connects either BUTTON2 or the analog Temp Sensor to SIO_5. Fit the jumper on J7 to short pins 2-3 to connect BUTTON2 to SIO_5. R27 1K C6 0.1uF,16V 3 BUTTON2 3 2 2 J7 PIN HEADER,2.54mm 1X3P 1 2 1 1 2 SIO_5 Temp_Sens 1 SW2 TACT SW,SMD/180d Button2: J7 jumper fitted pin2-3 (Default) 3 4 3 4 GND C5 0.1uF,16V GND GND Figure 14: J7 Jumper The button (BUTTON2) has no external pull-up resistor, so to use the button, the SIO_5 pin must be configured as an input with internal pull-up resistor, such as a smartBASIC line that configures the pull-up: rc = GPIOSETFUNC(5,1,4): strong pull up '//sets sio5 (Button2) as a digital in, 9.3.6. LED and Analog Buffer Connected to RM1xx The selection jumper on J8 connects either LED5 or the output of the Arduino analog input buffer to SIO_6. By default, LED5 is selected. To select the Arduino analog input buffer to SIO_6, fit the jumper on J7 to short pins 2-3. Embedded Wireless Solutions Support Center: http://ews-support.lairdtech.com www.lairdtech.com/ramp 28 © Copyright 2016 Laird. All Rights Reserved Americas: +1-800-492-2320 Europe: +44-1628-858-940 Hong Kong: +852 2923 0610 LED5 LED5 RM1xx Series Development Kit User Guide R36 1K 3 1 A0_div ided 3 D5 Blue,0603 2 2 J8 PIN HEADER,2.54mm 1X3P LED5 GND 1 2 1 SIO_6 LED5: J8 jumper fitted pin2-1 (Default) Figure 15: J8 Jumper 10 OTHER FEATURES 10.1. Current Consumption Measurement A removable jumper (on J11) is provided to break the power supply line directly to the module, allowing you to measure current consumption. For normal operation, jumper on J11 between pin1 and pin2 must be fitted (and is fitted by default). IMPORTANT: Note: To achieve the optimal power consumption of the RM1xx series module on the development board, see the “LowPower.SB” file in the smartBASIC sample application library on RM1xx product pages at https://github.com/LairdCP/RM1xx-Applications. This measures the current consumption of the RM1xx series module ONLY. The current drawn by the RM1xx series module can be monitored on the development board by bypassing the coulomb counter circuitry. Figure 16 and Figure 17 show the schematic (and location of measuring points on PCB) related to current measurements. Embedded Wireless Solutions Support Center: http://ews-support.lairdtech.com www.lairdtech.com/ramp 29 © Copyright 2016 Laird. All Rights Reserved Americas: +1-800-492-2320 Europe: +44-1628-858-940 Hong Kong: +852 2923 0610 RM1xx Series Development Kit User Guide VCC_IO_UART VCC_IO R45 0R R46 0R VCC_Radio R47 NOPOP (0R) TP5 NOPOP (TH_TEST_POINT) SB3 NOPOP (Solderbridge) 1 1 1 2 J34 2 2 2 1 1 PIN HEADER,2.54mm 1X2P R52 0R R53 0R GND R54 0.51R,1% OUT IN- U7 CurrentShuntMonitor,100V/V TP6 TP7 NOPOP (TH_TEST_POINT) NOPOP (TH_TEST_POINT) GND 1 1 B2 GND GND IN+ 0.1uF,16V B1 C17 A2 A1 R56 0.51R,1% I(mA)=(Vmeas(mV)/25.5 GND Bypass Coulomb Counter: Jumper J11 pin2-1 (default) VCC_BLE 2 2 J11 PIN HEADER,2.54mm 1X3P 1 3 SB1 1 3 2 2 1 VCC_Radio R30 1R,1% 1 NOPOP (Solderbridge) VCC_LORA SB2 2 1 2 1 NOPOP (Solderbridge) Figure 16: Current measurement schematic Figure 17: Current measurement design and component location Embedded Wireless Solutions Support Center: http://ews-support.lairdtech.com www.lairdtech.com/ramp 30 © Copyright 2016 Laird. All Rights Reserved Americas: +1-800-492-2320 Europe: +44-1628-858-940 Hong Kong: +852 2923 0610 RM1xx Series Development Kit User Guide There are two primary ways to measure the current consumption:   Using Ammeter – Connect an ampere meter between the two pins of J11 pins 1-2. This monitors the current directly. Using Oscilloscope – Mount a resistor across J11 pins 1-2. The resistor should not be larger than 10 Ohm. Connect an oscilloscope or similar with two probes on the pins on the J11 connector and measure the voltage drop. The voltage drop is proportional with current consumption. If a 1 Ohm resistor is chosen, 1 mV equals 1mA. There is also a third way to measure current:  Using Current Shunt Monitor – The current drawn by the RM1xx module can be monitored using the Current Shunt Monitor (CSM), INA216 (U7). The gain of INA216 is 100 V/V for lowest possible drop voltage. Note: Using the current shunt monitor method allows the dynamic current consumption waveforms on oscilloscope as the RM1xx radio operates. This can provide insight into power optimization. Current consumed by the RM1xx series module is measured as a voltage (that is proportional to the current) using the current shunt monitor (U7). This is performed by connecting a voltmeter or oscilloscope to TP6 and also the ground to TP7. Current in milliamps can be determined from the following equation: I(mA) = Vmeas_TP6(mV) /25.5 CAUTION: Take care not to short TP7 (the Current Shunt Monitor IC (U7)) output to GND, as that will permanently damage the IC U7. Embedded Wireless Solutions Support Center: http://ews-support.lairdtech.com www.lairdtech.com/ramp 31 © Copyright 2016 Laird. All Rights Reserved Americas: +1-800-492-2320 Europe: +44-1628-858-940 Hong Kong: +852 2923 0610 RM1xx Series Development Kit User Guide 11 ADDITIONAL DOCUMENTATION Laird offers a variety of documentation and ancillary information to support our customers through the initial evaluation process and ultimately into mass production. Additional documentation can be accessed from the Documentation tab of the Laird RM1xx Product Page.               User Guide – smartBASIC Core Functionality User Guide – smartBASIC RM1xx Extensions RM1xx – smartBASIC sample applications library Application Note – Firmware Upgrade Application note Application Note – Sample Applications for the RM1xx Application Note – Using BLE and LoRa on the RM1xx Application Note – Interfacing with the RM186 Application Note – Interfacing with the RM191 Application Note – Connecting to a Kerlink Gateway Application Note – Connecting to a Multitech Conduit Gateway Application Note – Using an I2C GPS Sensor with the RM1xx Application Note – Using a LCD Keypad Shield with the RM1xx Application Note – Using UwTerminal with the RM1xx Application Note – Connecting to the Semtech Website For any additional questions or queries, or to receive technical support for this Development Kit or for the RM1xx module series, please contact the Embedded Wireless Solutions Support Center: http://ewssupport.lairdtech.com. © Copyright 2016 Laird. All Rights Reserved. Patent pending. Any information furnished by Laird and its agents is believed to be accurate and reliable. All specifications are subject to change without notice. Responsibility for the use and application of Laird materials or products rests with the end user since Laird and its agents cannot be aware of all potential uses. Laird makes no warranties as to non-infringement nor as to the fitness, merchantability, or sustainability of any Laird materials or products for any specific or general uses. Laird, Laird Technologies, Inc., or any of its affiliates or agents shall not be liable for incidental or consequential damages of any kind. All Laird products are sold pursuant to the Laird Terms and Conditions of Sale in effect from time to time, a copy of which will be furnished upon request. When used as a tradename herein, Laird means Laird PLC or one or more subsidiaries of Laird PLC. Laird™, Laird Technologies™, corresponding logos, and other marks are trademarks or registered trademarks of Laird. Other marks may be the property of third parties. Nothing herein provides a license under any Laird or any third party intellectual property right. Embedded Wireless Solutions Support Center: http://ews-support.lairdtech.com www.lairdtech.com/ramp 32 © Copyright 2016 Laird. All Rights Reserved Americas: +1-800-492-2320 Europe: +44-1628-858-940 Hong Kong: +852 2923 0610
DVK-RM186-SM 价格&库存

很抱歉,暂时无法提供与“DVK-RM186-SM”相匹配的价格&库存,您可以联系我们找货

免费人工找货