Shenzhen HaiLingKe Electronic co.
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.
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.
Shenzhen hailingke Electronico.,Ltd Tel:0755-23152658 Fax:0755-83575196 ► 1.1.3 CE/FCC support,ROHS standard support Module Parameters: Fig:1 HLK-M35 Module parameters Basic Wireless IEEE 802.11n、IEEE 802.11g、IEEE 802.11b 11n:up to 150Mbps Wireless Rate 11g: up to 54Mbps 11b: up to 11Mbps Channle 1-14 Frequency range 2.4-2.
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.
Shenzhen hailingke Electronico.,Ltd Tel:0755-23152658 Fax:0755-83575196 HLK-M35 PIN HLK-M35 Pin Interface Signal Type Description 1 3.3V Supply Voltage, 3.
Shenzhen hailingke Electronico.,Ltd Tel:0755-23152658 Fax:0755-83575196 16 MISO Analogue Pin(Reserved) 17 MOSI Analogue Pin(Reserved) 18 CLK Analogue Pin(Reserved) 19 3.3V Supply Voltage, 3.3V+/-10%,Connected with Pin1 Note: 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 HLK-M35 detail(TOP View) Note:Module:18×25×2.
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.
Shenzhen hailingke Electronico.,Ltd Tel:0755-23152658 Fax:0755-83575196 StartKit Interface Fuction Interface Name Item Description DB9 J1 RS232 interface,can 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.
Shenzhen hailingke Electronico.,Ltd Tel:0755-23152658 Fax:0755-83575196 1.2 Typical Application 1.2.1 HLK-M35 typical circuit Figure 7. HLK-M35 typical circuit : MCU RX/TX custom’s mircrochip or serial enddevice or serial chip,the interface voltage is 3.3V TTL. The module’s receive/send pin RESET(key2) WIFI_LED(LED2) Reset button.Press it the module will restart. Indicate LED Exit/Default (key1) Short Press:exit transparent transmission.
Shenzhen hailingke Electronico.,Ltd Tel:0755-23152658 Fax:0755-83575196 2 Function 2.1Wireless HLK-M35 can be configured STA or AP mode. So,there are two serial to wifi mode:serial to WIFI(STA mode) and serial to WiFi(SoftAp mode) Note: AP: The center of a wireless network node. Commonly was a wireless router. STA:Wireless node,a enddevice,like notebook,PDA are both STA device. 2.1.
Shenzhen hailingke Electronico.,Ltd Tel:0755-23152658 Fax:0755-83575196 HLK-M35 SoftAP topology 2.2 Work Mode: Transparent transmission The HLK-M35 supports serial transparent transmission. This has the advantage of plug a nd play serial, to reduce the user's complexity. Module in transparent transmission mode, the user only need to configure the necessary parameters.After power on, module automatically c onnect to the default wireless network and server.
Shenzhen hailingke Electronico.,Ltd Tel:0755-23152658 Fax:0755-83575196 Port Serial Parameters Bandrate Data length Checksum bit Stop bit 2.3 Config Parameters HLK-M35 can config by at command,Learn more you can find << HLK-M35 AT Command V1.3>> HLK-M35 also can be configed by UDP/988 port,When you establish udp,you can send at commad by network,learn more you can see the “ at+DP” command. 2.4 Firmware Update HLK-M35 supprt serial port to update firmware.Use tool:HLK_M35_update.exe.
Shenzhen hailingke Electronico.,Ltd Tel:0755-23152658 Fax:0755-83575196 GPI001 Output/Input High/Low Voltage Write/Read by at command I/O GPI002 Output/Input High/Low Voltage Write/Read by at command I/O For example: At+GW=0,1 GPIO0 Output High Voltage At+GR=2 Query GPIO2 Input Voltage Udp Control below: when the module have connect to the ap.Then establish udp client, prot is 988,in defa ult setting,you can send:hlkATat+GW=0,1\r,the GPIO0 will output high voltage 2.
Shenzhen hailingke Electronico.,Ltd Tel:0755-23152658 Fax:0755-83575196 HLK-M35 TCP Server TCP Client Fig11.TCP Client In this mode, the HLK-M35 will connect the remote domain or ip. All TCP data is sent directly to the serial port.Serial data is transmitting to the tcp server Abnormal network disconnect can cause module active reconnection.
Shenzhen hailingke Electronico.,Ltd Tel:0755-23152658 Fax:0755-83575196 UDP Client HLK-M35 UDP Server UDP Client Fig13.UDP Client In this mode, serial data will be sent to the configed IP, port.The data recevied from the server will be sent the serial port terminal. 2.6.2 AT command We provides the at command to achieve the function of sending and receiving network d ata. This functionality is implemented through socket related instructions.
Shenzhen hailingke Electronico.,Ltd Tel:0755-23152658 Fax:0755-83575196 3.Setting and using guide 3.1 Config by serial 3.1.1 Preparation work Hardware: HLK-M35 module HLK-M35 motherborad 5V power Serial cable Wireless router Cumputer Software HLK-M35_CONFIG tool Serail&TCP_UDP test tool 3.1.2 How to Connect Below is the general development kit for communication test. Need a serial computer, no serial port machine can use a USB to serial cable.
Shenzhen hailingke Electronico.,Ltd Tel:0755-23152658 Fax:0755-83575196 3.1.3 Test Steps: 1.PowerOn the wireless router.We set the wireless parameter as below: Wireless name:(ssid):HAILINGKE_Guest Encryption:WPA2_AES Key:12345678 DHCPD:191.168.16.100 Gateway:192.168.16.254 DNS:192.168.16.254 2,Connect the DB9 of startkit with your computer’s DB9, then power on,the wifi led will flash. 3.
Shenzhen hailingke Electronico.,Ltd Tel:0755-23152658 Fax:0755-83575196 4,Chose the right COM port ,Press the “Exit/Default” button on the starkit board,and then press the button “Search” ,it will back:Find Device at COM1(115200) 5,Press QueryConfig button,the software will list the current parameters 6,Change the parameters.
Shenzhen hailingke Electronico.,Ltd Tel:0755-23152658 Fax:0755-83575196 KEY:12345678、 Network:TCP SERVER. Port:8080 Disable DHCP,Choose Staic IP. 7,Press Commit ,the command will send to the module. Command and respongse area will display the status of command will send and execution. 3.1.4 Communication test 8,Till now the module have connect to HAILINGKE_Guest.So we open serial and TCP/UDP test tool to test the communication.
Shenzhen hailingke Electronico.,Ltd Tel:0755-23152658 Fax:0755-83575196 9.
Shenzhen hailingke Electronico.,Ltd Tel:0755-23152658 Fax:0755-83575196 10,The serial port send:HLK-M35 SERIAL SEND to wifi,and the wifi received the data.The TCP send:HLK-M35 TCP SEND to serial port and the RS232 port have received the data. 3.2 SmartConfig 1 Preparation work:Install“IoTManager_v0.96” on your android phone .Then, power on the HLK-M35,Press the”Exit/Default” button at least 6 second,this will make the module return to factory setting.
Shenzhen hailingke Electronico.,Ltd Tel:0755-23152658 Fax:0755-83575196 press start button: ,this will config the module connect to the wireless router,when the WIFI-LED is quickly flashing,that mean the module have connected to the router.
Shenzhen hailingke Electronico.,Ltd Tel:0755-23152658 Fax:0755-83575196 Note: HLK-M35 factory setting is Smart Config.When power on,you can use this tool to config the module 3.3 Applications 3.3.1 Wireless remote control In this application,the HLK-M35 in STA mode,connect to AP, the HLK-M35 serial connected to user’s equipment. Mobile phone, PAD or computer is connected to the AP, and then through the wireless network to control the user’s equipment.
Shenzhen hailingke Electronico.,Ltd Tel:0755-23152658 Fax:0755-83575196 3.3.2 Remote connection The HLK-M35 module as STA, connect to the Internet through the gateway(AP). Module is set to TCP Client, points to the server, the server is set to TCP Sever.The user device is connected to HLK-M35 through the serial port, and its data can be sent to the server to process and storage.The service can send commands to control the user’s equipment 4. At command Instruction 4.
Shenzhen hailingke Electronico.,Ltd Tel:0755-23152658 Fax:0755-83575196 Serail Port Work Mode When power on,the module will check the config of the network,if it can connect to the internet it will enter transparent transmission,if not,it will enter at command mode. The method of change the transparent transmission mode to at command mode:pull down the voltage of the ES/RST pin more than 0.5s less than 5s,it will enter at command mode.
Shenzhen hailingke Electronico.
Shenzhen hailingke Electronico.,Ltd Tel:0755-23152658 Fax:0755-83575196 HLK-M35_CONFIG tool Details: Interface description: 1. Choose Com port 2. Search module button 3. Choose module’s work mode 4. Wireless Parameters 5. Choose network Protocol 6. Serial port parameters 7. Remote/Local port 8. Network IP 9.
Shenzhen hailingke Electronico.,Ltd Tel:0755-23152658 Fax:0755-83575196 10. Query the configure button 11. Enter the transparent transmission button 12. Back to factory setting button 13. Waiting to send AT command zone 14. At command execue returns area 15. Save user parameter button. Appendix Document history version Records Date V1.1 Draft version 2014-8-10 V1.2 Add UDP at command decription 2014-9-20 Add softap at command 2014-10-15 V1.
Shenzhen hailingke Electronico.,Ltd Tel:0755-23152658 Fax:0755-83575196 FCC Radiation Exposure Statement: This equipment complies with FCC radiation exposure limits set forth for an uncontrolled environment. End users must follow the specific operating instructions for satisfying RF exposure compliance. Note 1: This module certified that complies with RF exposure requirement under portable or mobile or fixed condition, this module is to be installed only in portable or mobile or fixed applications.
Shenzhen hailingke Electronico.,Ltd Tel:0755-23152658 Fax:0755-83575196 unintentional radiator requirements. Since this may depend on the details of how the module is integrated with the host, Shenzhen HaiLingKe Electronic co., Ltd shall provide guidance to the host manufacturer for compliance with the Part 15B requirements. Note 5: FCC ID label on the final system must be labeled with “Contains FCC ID: 2AD56HLK-M35” or “Contains transmitter module FCC ID: 2AD56HLK-M35”.