Transparent Serial Port Application; Wireless Data Acquisition Card Application - Waveshare WIFI232 User Manual

Table of Contents

Advertisement

WAVESHARE ELECTRONICS
WIFI232 User Manual
For this remote management application, WIFI232 works as STA mode and connects to Internet
through wireless AP. Module configured as TCP Client and communicates with remote TCP server at
Internet. Module‟s serial port connects to user device.
So, user device‟s data or sampling information can send to remote TCP server for storage or
processing. Also remote TCP server can send command to control and manage the user device
through the wireless network.

6.2.3 Transparent Serial Port Application

For this transparent serial port application, two WIFI232 modules connect as below figures to build up
a transparent serial port connection.
Figure 49 Transparent Serial Port Application
For left side WIFI232 module, configured as AP mode and use default SSID and IP address, network
protocol configured as TCP/Server mode, and protocol port ID: 8899.
For right side WIFI232 module, configured as STA mode and setting the same SSID ("WIFI232" for
this example)with left side WIFI232 module, enable DHCP network and network protocol configured
as TCP/Client mode, protocol port ID: 8899. Target IP address part setting the same IP address with
left side WIFI232 module ("10.10.100.254" for this example).
When right side WIFI232 boot up, it will find wireless AP (SSID:WIFI232 for this example) and open
TCP/Client network protocol to connect with left side module‟s TCP/Server. All these operation will be
automatic and after finished, the two user devices connected to WIFI232 module through serial port
can communicate each other and think the connection between them is fully transparent.
Note: LAN IP address and WAN port should in different segment, as picture shown, we change
to 10.10.99.254 (the address get from left module WAN port DHCP is 10.10.100.xxx)

6.2.4 Wireless Data Acquisition Card Application

For this wireless data acquisition card application, one PC works as data server and ever y data
acquisition card connects with a WIFI232 module to support wireless connection function.
Page 72 of 81

Advertisement

Table of Contents
loading

Table of Contents