background image

                                        USR-K1 User Manual                                                            www.usriot.com

 

 

Jinan USR IOT Technology Limited                                                    10 / 29                                                                            tec@usr.cn 

3. Module Work Mode 

3.1 Structure Chart 

 

Diagram 3-1

 structure chart

 

3.2 UDP Mode 

 

Diagram 3-2 UDP Mode 

Summary of Contents for USR-K1

Page 1: ...nal transparent transmission between UART TTL and Ethernet The amazing part of K1 lies in its Ethernet port integration design You can apply K1 to your products to realize networking communication User can directly process data interaction through network and device to realize remote data acquisition remote control and management K1 is based on the design concept of Simple Reliable Affordable And ...

Page 2: ... Set via COM 8 2 4 3 Set DIY 9 3 Module Work Mode 10 3 1 Structure Chart 10 3 2 UDP Mode 10 3 3 TCP Client 11 3 4 UDP Server Mode 12 3 5 TCP Server Mode 13 3 6 Virtual COM Mode 13 4 Hardware Description 15 4 1 Technical Specifications 15 4 2 Hardware Description 16 4 3 Hardware to RJ45 Light 17 4 4 Size 18 5 Expand Functions 19 5 1 RS485 19 5 2 Link 20 5 3 Reset 20 5 4 ID 20 5 5 Index 22 5 6 RFC22...

Page 3: ...le or parallel cable connection Serial com port bound rate can set up from 300 to 961200 and None Odd Even Mark Space five check bits Work mode TCP Server TCP Client UDP UDP Server Working model related parameters can be set via a serial port or network 3 3 V TTL level compatible Small Size Virtual serial port supported Unique heartbeat package mechanism to ensure that the connection is reliable p...

Page 4: ...sr cn Storage environment 40 85 C 5 95 RH Compact type 1 4 Order Symbol name symbol Description Remarks Super Port USR K1 Diagram 0 1 order symbol 1 5 Electrical Characteristics Model number Power supply DC current USR K1 3 3V 185mA 165 195 Diagram 0 2 Electrical Characteristics ...

Page 5: ...he product with your computer or router to test its performance FAQ http www usriot com Search getList keyword t24 2 1 Hardware Connection 1 You can using USR TCP232 EVB It s easier to test USR TCP232 EVB is power for DC 5V 200mA Diagram 2 1 USR K1 Connection diagram 3 If you don t have USR TCP232 EVB please refer to 5 4 ...

Page 6: ...with link http www usriot com Download 237 html as can help to view default setting then set the parameter 1 Search in LAN Firstly ensure the computer IP is static The module IP is 192 168 0 201by default Disable firewall antivirus soft and WIFI Diagram 2 2 the default parameters 2 Keep default parameter set up your pc ...

Page 7: ...l can help you test Serial to net debugging tester application 1 Ensure the COM port baud rate check bits data bits stop bit correspond to module parameters 2 Ensure network protocol IP address port number correspond to module parameters 3 Open COM and the web then connect They begin transparent transmission after choose the module IP Diagram 2 4 USR TCP232 Test Parameter ...

Page 8: ... to 2 1 Hardware Connection 2 Search module 3 Click Search in LAN 4 Setting your Parameter 5 Click Set selected item via Net 6 Waiting for ten seconds and Click Search in LAN check it Diagram 2 5 Set via net 2 4 2 Set via COM 1 Hardware Connection refer to 2 1 Hardware Connection 2 Connect CFG to GND pin 3 Click Read via COM 4 Setting your Parameter ...

Page 9: ... www usriot com Jinan USR IOT Technology Limited 9 29 tec usr cn 5 Click Read via COM and check it 6 Switch off CFG Diagram 2 6 Set via COM 2 4 3 Set DIY By setting protocol load in http www usriot com Download 206 html ...

Page 10: ...USR K1 User Manual www usriot com Jinan USR IOT Technology Limited 10 29 tec usr cn 3 Module Work Mode 3 1 Structure Chart Diagram 3 1 structure chart 3 2 UDP Mode Diagram 3 2 UDP Mode ...

Page 11: ...ork to the IP and port module Settings 3 3 TCP Client Diagram 3 3 TCP Client In TCP client mode after power on module according to their own Settings active TCP server to connect to the server and then establish a long connection data transparent transmission after this mode the TCP server IP module would need to be visible and the visible means directly by module s IP can PING the server IP serve...

Page 12: ...efault record a destination IP when a serial port data to record the IP to send data at the same time the module at the server status to accept the network packets sent to module and adjust the target IP IP for the data source suitable for multiple IP working mode for the module Use computer end program and UDP mode is exactly the same no need to change Note UDP mode UDP server mode with a single ...

Page 13: ...e same time up to 4 links a serial port after receipt of the data will be sent to all at the same time of establishing links with network module device USR TCP232 SETUP software set the Index function can be achieved when to establish a multi channel connection the module can identify communications equipment and with the specified device to communicate 3 6 Virtual COM Mode Virtual COM means to co...

Page 14: ...an USR IOT Technology Limited 14 29 tec usr cn Loading http www usriot com Download 31 html 1 Disable firewall and antivirus program 2 Install Virtual COM 3 Setting TCP Server Diagram 3 6 Virtual COM 4 Connect a com Diagram 3 7 Virtual COM ...

Page 15: ... 1 Technical Specifications Major characteristic Parameter Name USR K1 CPU 32bit 48MHz Cortex M0 Flash 32KBit RJ45 Socket 1 Speed 10 100M MDI MDIX Net protocol IP TCP UDP ARP ICMP Buffer send 2K bytes receive 1K bytes Network interface 8 pin RJ45 Serial Port Number 1 Interface Standard TTL pin type 3 3V Data Bits 5 6 7 8 Stop Bit 1 1 5 2 Check Bit None Even Odd Space Mark ...

Page 16: ...5 Pull up and Pull Down Resistor null reserved 485 send receive control pin Parameter specification Physical Size PCB size 21 6 13 5 32 6MM L H W Temperature and humidity range Operating temperature 25 to 75 C Storage temperature 40 to 80 C Storage humidity 5 to 95 RH Diagram 4 2 Technical Specifications 4 2 Hardware Description Diagram 4 3 Technical Specifications ...

Page 17: ...ins Low you can use the serial port module configuration Normal working hours left floating or tied HIGH Note give the power module and then pulled down the CFG pin to enter the serial configuration state 7 LED2 Network data instructions Connect to 13 8 RXD Module data is received Data receiving end of the module TTL 3 3V microcontroller 9 TXD Module data transmission Data transmission end of the ...

Page 18: ...USR K1 User Manual www usriot com Jinan USR IOT Technology Limited 18 29 tec usr cn Diagram 4 4 Hardware to RJ45 light 4 4 Size Diagram 4 5 size ...

Page 19: ...sriot com Jinan USR IOT Technology Limited 19 29 tec usr cn 5 Expand Functions Diagram5 1 Expand functions 5 1 RS485 485_en for RS485 external enable control pin Set the software interface Diagram5 2 RS485 Select it by default ...

Page 20: ...dule tries to connect to TCP Server side 30 times still unable to establish a connection the module will automatically restart Set the software interface Diagram5 3 Link Don t select it by default 5 4 ID Module as TCP Client side ID function for TCP Server side distinguish between data sources to achieve the establishment of the connection or data communication process device ID will also be sent ...

Page 21: ...CP CLINENT establish a communication connection ID feature is enabled the setup interface module ID number 12 Diagram5 4 ID Don t select it by default The figure below shows establish a communication connection ID function the device through the serial communication interface to the TCP Server side Diagram5 5 USR TCP232 Test ID ...

Page 22: ...r CLIENT and SERVER the receiving Client side data can not distinguish between sources of data the Index function can send and receive data source selection Index function is enabled communication data is displayed corresponding Client side device number specific parameters are described below 1 When receive data from Ethernet module will send data to serial port with head 49 N followed by data 49...

Page 23: ...et Our product support an agreement like that but not standard RFC2217 it is more sample and easy than RFC2217 1 When module receive setup command if is a valid command right packet head and right checksum the module will change self setting and answer nothing else the data bits would be sent out at com port 2 TCP Client TCP Server UDP Client UDP Server UDP broadcast support this function 3 All ch...

Page 24: ...mple 115200 N 8 1 55 AA 55 01 C2 00 83 83 For example 9600 N 8 1 55 AA 55 00 25 80 83 83 Diagram5 9 RFC2217 introduce Appendix UART bits setting detail Bit Description Value Description 1 0 Data bits 00 5 bits 01 6 bits 10 7 bits 11 8 bits 2 Stop bits 0 1 bits 1 2 bits 3 Parity enable 0 Not enable Parity 1 Enable Parity 5 4 Parity type 00 ODD 01 EVEN 10 Mark 11 Clear 8 6 Not used 000 Please fill 0...

Page 25: ...om Jinan USR IOT Technology Limited 25 29 tec usr cn Diagram5 11 RFC2217 for test Open this function then open RFC2217 via USR VCOM so serial port baud rate of PC application software serial server device can be matched automatically ...

Page 26: ...d remote PC s IP is 192 168 1 7 we need to config Subnet mask of USR K1 device PC and router to 255 255 0 0 if not USR K1 module will not communicate normally 6 2 More Network Cards 6 3 Every Period of Time Module Dropped 1 Firewall is no disable and antivirus software isn t off 2 The IP address conflict 3 More network cards is open 4 A power shortage or oversize ripple voltage ...

Page 27: ...USR K1 User Manual www usriot com Jinan USR IOT Technology Limited 27 29 tec usr cn 6 4 Search Device Failure Port Occupied Open more one setup software close it ...

Page 28: ...USR K1 User Manual www usriot com Jinan USR IOT Technology Limited 28 29 tec usr cn 7 Revison history V1 0 1 New V1 0 2 Adding details about RJ45 light V1 0 3 Correct some errors ...

Page 29: ...ology Limited 29 29 tec usr cn 8 Contact Us Company Jinan USR IOT Technology Co Ltd Address 1 724 728 Huizhan Guoji Cheng Gaoxin Qu Jinan Shandong China Tel 86 531 55507297 86 531 88826739 803 Web http en usr cn Skype lisausr Email sales usr cn tec usr cn ...

Reviews: