MOKO MKL62ST-DT User manual

MOKO TECHNOLOGY LTD. MKL62ST-DT User Manual
MKL62ST-DT User Manual
Version V1.1

MOKO TECHNOLOGY LTD. MKL62ST-DT User Manual
CONTENTS
MKL62ST-DT User Manual.................................................................................................................... 1
1 About This Manual................................................................................................................................3
2 Packing List...........................................................................................................................................3
3 Overview and Specification.................................................................................................................. 3
3.1 Brief Introduction....................................................................................................................... 3
3.2 Key Features...............................................................................................................................4
3.3 Specification...............................................................................................................................4
4 Development environment.................................................................................................................... 4
5 System Block and Interface Instruction................................................................................................ 5
5.1 Function Block Diagram............................................................................................................ 5
5.2 Development Board Overview...................................................................................................5
5.3 Interface Instruction....................................................................................................................7
5.3.1 Power Supply...................................................................................................................7
5.3.2 UART Serial Interface.....................................................................................................8
5.3.3 Arduino nano 3.0 Interface............................................................................................10
5.3.4 STM32 Peripheral Interface.......................................................................................... 11
5.3.5 STM32 Firmware Download Debugging Interface......................................................11
5.3.6 MKL62BA LoRaWAN Module Firmware Download Debugging Interface................11
5.3.7 External LoRa Antenna Interface..................................................................................12
5.3.8 On Board Temperature and Humidity Sensor............................................................... 12
5.3.9 Button............................................................................................................................ 13
5.3.10 LED............................................................................................................................. 13
6 Quick Start...........................................................................................................................................14
6.1 AT Command Mode.................................................................................................................14
6.1.1 Quick Start AT Command Debugging..........................................................................14
6.2 Host Mode................................................................................................................................ 18
6.2.1 Operation Instruction.....................................................................................................19
6.2.2 LED Indicator................................................................................................................20
6.2.3 Uplink packet format.....................................................................................................20
7 Reference Document........................................................................................................................... 21
7.1 Demo Firmware........................................................................................................................21
7.2 AT Command Specification..................................................................................................... 21
8 Ordering Information...........................................................................................................................21
9 Revision...............................................................................................................................................21

MOKO TECHNOLOGY LTD. MKL62ST-DT User Manual
1 About This Manual
This manual is used to introduce the hardware interface of development board to help users get
familiar with AT commands of MKL62BA and quickly start with DEMO application
fi
rmware.
2 Packing List
3 Overview and Specification
3.1 Brief Introduction
MKL62ST-DT is a small, open-source IoT development board specially designed for MOKO
LORAWAN
®
-Based module MKL62BA.
The low-power SMT32 chip is used as the external MCU, and it is integrated with the Sensirion
SHT30 temperature and humidity sensor. By running the demo application
fi
rmware provided
by MOKO, users can quickly familiar with the LORA
®
-Based network and see the temperature
and humidity sensor data on the LORAWAN
®
-Based network server.
Users also can connect different external sensors through a rich peripheral interface to quickly
design and validate a LORA
®
-Based node device. Moreover, since the Arduino NANO
connection is compatible, it will be easy to begin the LORA
®
-Based application design process.
Items Description
Development Board The development board has been welded with the required
MKL62BA module, and has all available hardware interfaces.
Type-C USB cable Used for USB power supply and data communication
2pin jumpers x 4 The jumpers are for 2.54 mm pitch headers used on
JP1,JP2,JP3,JP4
External LoRa dipole antenna External multiband LoRa dipole antenna, 1.6dBi, 860-930MHz
IPEX to IPEX cable By connecting two IPEX sockets,enable LoRa SMA connector
7pin header Used to connect SMT32 peripheral P1
2.54mm pitch 2*3 pin header Used for peripheral power supply J1
2.54mm pitch 1*15 female header Used for connecting Arduino board P2
2.54mm pitch 1*4 female header Used for connecting Arduino board P3
2.54mm pitch 1*2 female header x 2 Used for connecting Arduino board P6,P7
2.0mm pitch PH-2AWD 2pin
connector
Used for connecting battery

MOKO TECHNOLOGY LTD. MKL62ST-DT User Manual
3.2 Key Features
Support standard LoRaWAN protocol
Power supply interface with a complete anti - surge, ESD, anti - reverse connection and
other protective design
Provide Li-battery connection interface, integrated lithium battery charge and discharge
management circuit
CP2102 USB-UART chip provides serial port function to facilitate program download and
debugging information printing
Provide SMT32 and LoRaWAN module serial port program interface
Compatible with Arduino NANO interface
Offers a variety of on-board peripheral SHT30 sensor, button, and LED
3.3 Specification
4 Development Environment
To use the on-board MCU SMT32 to develop different application firmware, it is
recommended to use the following tools, and only supports Windows system computers.
Items Parameters
MCU STM32L151C8T6A
Flash 64KB
RAM 32KB
Power Supply 3.7V rechargeable Li-battery or Type-C USB
Output Voltage 5V or 3.3V
Output Current Max. 500mA
LORAWAN Module MKL62BA
Protocol LORAWAN V1.0.2 and BLE V4.2
LORA Frequency Band 868MHZ/915MHZ(configurable by AT Command)
LORA TX Power Max.22dB
LORA Antenna IPEX or SMA interface antenna
On-board Peripheral SHT30 Sensor,2xLED,2xswitch
Dimension 80x36X12mm

MOKO TECHNOLOGY LTD. MKL62ST-DT User Manual
Development software: Keil MDK5(http://www2.keil.com/mdk5)
Debugger and programmer tool: SEGGER J-LINK
To quickly get started with the MKL62BA LoRaWAN module AT commands, it only needs a
SerialNet data debugger software, such as SSCOM.
5 System Block and Interface Instruction
5.1 Function Block Diagram
Figure 1: MKL62ST-DT block diagram
5.2 Development Board Overview
Figure 2: MKL62ST-DT top view

MOKO TECHNOLOGY LTD. MKL62ST-DT User Manual
Figure 3: MKL62ST-DT bottom view
Figure 4: MKL62ST-DT interface overview

MOKO TECHNOLOGY LTD. MKL62ST-DT User Manual
5.3 Interface Instruction
5.3.1 Power Supply
There are three di
ff
erent parts for the power supply:
Input power supply: optional 5V type-C USB power supply or 3.7V rechargeable Li-battery
Power supply VCC 3.3V for on-board MCU SMT32, MKL62BA module and Arduino
Power supply 3.3V or 5V for peripheral
Figure 5: MKL62ST-DT power supply block
Figure 6: Power supply on board interface

MOKO TECHNOLOGY LTD. MKL62ST-DT User Manual
5.3.2 UART Serial Interface
Through the different connections of jumper caps to JP1, JP2, JP3 and JP4, different serial
communication between USB, STM32 and MKL62BA can be realized.
Figure 7: UART serial interface pinouts diagram
UART mapping for MKL62ST-DT USB connect to MKL62BA module directly
USB MKL62BA Remark
UART_RX1 UART_TX Use a jumper connect JP1 PIN 2 and PIN 3
UART_TX1 UART_RX Use a jumper connect JP1 PIN 2 and PIN 3
Figure 8: Connecting USB UART to ML62BA modul

MOKO TECHNOLOGY LTD. MKL62ST-DT User Manual
UART mapping from MKL62ST-DT USB connect to SMT32 then MKL62BA module
USB SMT32 Remark
UART_RX1 PA9_TX1 Use a jumper connect JP1 PIN 1 and PIN 2
UART_TX1 PA10_RX1 Use a jumper connect JP2 PIN 1 and PIN 2
SMT32 MKL62BA Remark
PA3_RX2 UART_TX Use a jumper connect JP3 PIN 1 and PIN 2
PA2_TX2 UART_RX Use a jumper connect JP4 PIN 1 and PIN 2
Figure 9: Connecting USB UART to SMT32

MOKO TECHNOLOGY LTD. MKL62ST-DT User Manual
5.3.3 Arduino nano 3.0 Interface
Through the Arduino nano 3.0 interface, user can drive the module by an external MCU board
compatible with Arduino nano 3.0.
Figure 10: Arduino nano 3.0 pinout diagram
Figure 11: Arduino nano 3.0 interface on board
Notes:
When use an external MCU to driven the module, all jumper caps should be removed
from JP1,JP2,JP3,JP4 .
Table of contents
Popular Microcontroller manuals by other brands

AMS
AMS AS7261 Demo Kit user guide

Novatek
Novatek NT6861 manual

Espressif Systems
Espressif Systems ESP8266 SDK AT Instruction Set

Nuvoton
Nuvoton ISD61S00 ChipCorder Design guide

STMicrolectronics
STMicrolectronics ST7 Assembler Linker user manual

Texas Instruments
Texas Instruments Chipcon CC2420DK user manual

Texas Instruments
Texas Instruments TMS320F2837 D Series Workshop Guide and Lab Manual

CYPRES
CYPRES CY14NVSRAMKIT-001 user guide

Texas Instruments
Texas Instruments INA-DUAL-2AMP-EVM user guide

Espressif Systems
Espressif Systems ESP8266EX Programming guide

Abov
Abov AC33M8128L user manual

Laird
Laird BL654PA user guide





