ShenZhen HLK M35 User Manual

Shenzhen HaiLingKe Electronic co., Ltd
HLK-M35 User Manual
Serial to WiFi Module
Shenzhen hailingke Electronico.,Ltd
Tel:0755-23152658 Fax:0755-83575196
Catalog
1.1.1 Brief Introduction.................................................................................................................... 3
1.1.2 Module Features ................................................................................................................ 3
1.1.3 Module Parameters ........................................................................................................... 4
1.1.4 Application .............................................................................................................................. 5
1.1.5 Hardware ................................................................................................................................ 5
1.1.6 Mechanical Dimension .......................................................................................................... 7
1.1.7 Antenna(optional) .................................................................................................................. 8
1.1.8 General development test suit ............................................................................................. 8
1.2 Typical Application ................................................................................................................... 10
1.2.1 HLK-M35 typical circuit ....................................................................................................... 10
2 Function ..................................................................................................................................................... 11
2.1Wireless ................................................................................................................................................... 11
2.1.1 Work At STA Mode ............................................................................................................ 11
2.1.2 Work At SoftAP Mode ....................................................................................................... 11
2.2 Work Mode: Transparent transmission .............................................................................................. 12
2.3 Config Parameters ................................................................................................................................ 13
2.4 Firmware Update .................................................................................................................................. 13
2.5 GPIO ....................................................................................................................................................... 13
2.6 Network Protocol ................................................................................................................................... 14
2.6.1 Transparent transmission .............................................................................................. 14
2.6.2 AT command....................................................................................................................... 16
3.Setting and using guide ........................................................................................................................... 17
3.1 Config by serial ..................................................................................................................................... 17
3.1.1 Preparation work ................................................................................................................ 17
3.1.2 How to Connect ................................................................................................................. 17
3.1.3 Test Steps: .................................................................................................................................. 18
3.1.4 Communication test .......................................................................................................... 20
4.1Mode conversion ................................................................................................................. 25
4.2 At command instruction ................................................................................................... 26
Appendix ................................................................................................................................................ 29
Document history ................................................................................................................................... 29
Shenzhen hailingke Electronico.,Ltd
Tel:0755-23152658 Fax:0755-83575196
1.1.1 Brief Introduction
HLK-M35 is a new low-cost embedded uart wifi module developed by Shenzhen HaiLin
gKe Electronic co., Ltd
This product is an embedded module based on the universal serial interface network standard,
built-in TCP / IP protocol stack, enabling the user serial port, wireless network (wifi) interface
between the conversions
Through the HLK-M35 module, the traditional serial devices do not need to change any
configuration data can be transmitted through the Internet network. Provide a quick solution for the
user’s serial devices to transfer data via Ethernet.
This document as familiar with the HLK-M35 module and the test suite for guidance doc
ument.Please refer to<< HLK-M35 AT Command.pdf>>and<< HLK-M35 DataSheet>>
1.1.2 Module Features
Small size:18mm×25mm×2.5mm
Low power consumption; Quick start;;network connect quickly
Pefect support 802.11b/g/n
Support all wifi encryption:WEP/WPA-TKIP/WPA-AES/WPA2-TKIP/WPA2-AES
No driver need,User only need to use it as a serial port
Support STA/AP mode
Support TCP Server/TCP Client/UDP Server/UDP Client
Support DHCP DNS HTTP
Support serial at command also network at command
Support search module in LAN
Support SmartLink function,use app to config the module connect the wireless router
Shenzhen hailingke Electronico.,Ltd
Tel:0755-23152658 Fax:0755-83575196
CE/FCC supportROHS standard support
1.1.3 Module Parameters
Fig:1 HLK-M35 Module parameters
Basic
Wireless IEEE 802.11nIEEE 802.11gIEEE 802.11b
11n:up to 150Mbps
Wireless Rate
Channle 1-14
Frequency range 2.4-2.4835G
Send Power 15-18 DBM
Interface UART、GPIO
Antenna
Antenna Type PCB antenna
Distance 100-300m(different situation, different transmission distance)
Function
WiFi mode Sta/soft ap
Encryption
Serial to Internet
Max Serial rate 115200bps
11g: up to 54Mbps
11b: up to 11Mbps
Wireless encrypiton
64/128/WEP encryption
WPA-PSK/WPA2-PSKWPA/WPA2
TCP Max connect:4
UDP Max connect:4
Others
LED WIFI led
operate temp:-20-70
Environmental
Operate humidity:10%-90%RH
Store temp:-40-80
Store humidity:5%-90%RH
Shenzhen hailingke Electronico.,Ltd
Tel:0755-23152658 Fax:0755-83575196
1.1.4 Application
The handheld device
Remote control
The consumer electronics
IOT systems
Industry systems
Portable wireless communication product
Medical equipment
Led control
Sensor network application
Wireless printer
1.1.5 Hardware
HLK-M35 top
Shenzhen hailingke Electronico.,Ltd
Tel:0755-23152658 Fax:0755-83575196
HLK-M35 Pin Interface
Pin No
1
2
3
4
5
6
7
8
9
10
Signal Type Description
3.3V
GND
RST
RX
TX
WiFi_led
ES/RST
GPIO2
GPIO1
TX
HLK-M35 PIN
Supply Voltage, 3.3V+/-10%
Analogue Ground
Module reset pin, Active low
Uart rx pin,Input
Uart tx pin,Output
WiFiLed
Exit/Default/Update
General GPIO
General GPIO
Uart tx pin,Output Connected with Pin5
11
12
13
14
15
RX
GPIO1
GND
GND
CS
Uart rx pin,Input Connected with Pin4
General GPIO
Analogue Ground
Analogue Ground
Analogue Pin(Reserved)
Shenzhen hailingke Electronico.,Ltd
Tel:0755-23152658 Fax:0755-83575196
16
MISO
Analogue Pin(Reserved)
Note
17
18
19
MOSI
CLK
3.3V
Supply Voltage, 3.3V+/-10%,Connected with Pin1
1. The voltage of GPIO is 3.3V
2. The two RX pin is same,The two TX pin is same.
1.1.6 Mechanical Dimension
Analogue Pin(Reserved)
Analogue Pin(Reserved)
HLK-M35 detailTOP View
Note:Module:18×25×2.5mm
Shenzhen hailingke Electronico.,Ltd
Tel:0755-23152658 Fax:0755-83575196
1.1.7 Antenna(optional)
According to the IEEE 802.11b/g/n standard requirements, and HLK-M35 need 2.4G antenn
a, you can use our onboard antenna.
1.1.8 General development test suit
We provides the HLK-M35 Startkit, for the customer to quickly familiar with the product a
nd in-depth application development. The figure below shows the general assessment of deve
lopment and test suite appearance, users can debug module through the RS-232 serial port b
y computer,and also configuration parameters……
HLK-M35 StartKit
Shenzhen hailingke Electronico.,Ltd
Tel:0755-23152658 Fax:0755-83575196
StartKit Interface
Fuction Name Item Description
DB9 J1 RS232 interface,can
Interface
DC5V P1 5V input, min:3.8, max:5.5V
10pin P2 HLK-M35 module’s pin
Connect to the HLK-M35 GPIO0;
GPIO00 GPIO00
When GPIO0 at low voltage the LED will light up;
This can test thee GPIO0 output
3.3V power led
POWER POWER
If this led do not light up,please check the power
supply
Connect to the HLK-M35 GPIO1;
GPIO01 GPIO01
When GPIO1 at low voltage the LED will light up;
This can test thee GPIO1 output
Connect to the HLK-M35 GPIO2;
GPIO02 GPIO02
When GPIO2 at low voltage the LED will light up;
LED
Button
This can test thee GPIO2 output
WIFI LED, indicate below
Flash 2 times (cycle):The moduel staus:STA
SmartConfig Staus
Flash 3 times (cycle): The moduel staus:STA
Manual Staus;
Extinguishing:Module have connect to the
wireless router(No communication data );
WIFI_LED Indicate LED
Random flash:when receiving
or sending data, broadcast data, LED will flash
once corresponding
Fast blink:When use IoTManager config the
module,when successful it will fast blink;Or there
are huge Data communication
Flash 4 times:The module are now get DHCP.
Reset RESET Reset button,Press the module will reset.
Short press(0.5-5s):Enter at command mode
Exit/Default Exit/Default
Long press(More than 6s):Back to factory
Shenzhen hailingke Electronico.,Ltd
Tel:0755-23152658 Fax:0755-83575196
1.2 T y pical Application
1.2.1 HLK-M35 typical circuit
Figure 7. HLK-M35 typical circuit
<Descripiton>: MCU custom’s mircrochip or serial enddevice or serial chip,the interface voltage is 3.3V TTL. RX/TX The module’s receive/send pin RESET(key2 Reset button.Press it the module will restart. WIFI_LED(LED2) Indicate LED Exit/Default (key1) Short Press:exit transparent transmission.
Long press(more than 6s):back to default seeting
Page 10 / 31 Pages
Loading...
+ 21 hidden pages