Table of Contents WS1102 Programmable Wireless RS232/422/485 Controller Power Arrangement ........................7 Serial Port ..........................7 Definition of RS422 and RS485 Modes ..................10 Flash and EEPROM Memory ....................10 Buzzer ............................11 Built-in Wi-Fi and BLE ......................12 LED Bar ............................. 12 DIN Rail and Wall Mounting Plates ..................
WS1102 Programmable Wireless RS232/422/485 Controller Introduction The WS1102 is a compact Tibbo BASIC/C-programmable wireless controller equipped with an RS232/422/485 serial port. The product targets serial-over-IP (SoI) and serial control applications. This cloud-native device incorporates Wi-Fi (802.11a/b/g/n over 2.4GHz/5GHz) and Bluetooth Low Energy (BLE) interfaces that introduce several new features, such as Wi-Fi auto-connects, wireless debugging, over-the-air (OTA) updates, and Transport Layer Security (TLS) support.
Page 4
Each WS1102 is supplied with a DIN rail and wall mounting plates. The WS1102 comes preloaded with a full-featured Serial-over-IP (SoI) application that turns the WS1102 into a powerful serial-over-IP (SoI) device (a.k.a. a "device server"). A versatile Modbus Gateway application is also available.
Page 5
1. Although two independent Tibbo BASIC/C compiled binaries (apps) can be stored in the WS1102's flash memory, only one can run at a time. 2. Several of the WS1102's configuration parameters are stored in the DCB, which is accessible via a new integrated console. Our...
Page 6
The debug mode can be selected via the integrated BLE console or in code. 6. The WS1102 is compliant with the IEC/EN 62368-1 safety standard in the –40°C to +85°C range. To maintain this compliance in the field, use an external DC power source outputting 0.5A @ 9VDC ~ 18VDC (less than 15W) that is also IEC/EN 62368-1 certified and can operate in the –40°C...
WS1102. Port pin assignment In the RS232 mode, the serial port of the WS1102 has three output and three input lines. In the RS422 mode, you get two output and two input line pairs. The RS485 mode offers one output line pair and one input line pair.
Page 8
Selecting the serial port mode On the WS1102, the serial port mode is controlled via Microchip's MCP23008 I/O expander IC. The I²C interface of this IC is connected to GPIO5 and GPIO6 of the WS1102's CPU, as shown in the diagram below.
Page 9
WS1102 Programmable Wireless RS232/422/485 Controller Use the ssi. object (see the TIDE, TiOS, Tibbo BASIC, and Tibbo C Manual) to communicate with the MCP23008. To select the desired serial port mode, set the state of the I/O expander's lines GP5 and GP6 as shown in the table below (these lines are not to be confused with GPIO5 and GPIO6, which are the CPU lines driving the I²C interface of the I/O expander).
All flash space not occupied by TiOS is available to the compiled Tibbo BASIC/C app. All flash space left over from TiOS and the app can be formatted as a fault-tolerant flash disk. The flash disk is accessible through the fd. object (see the...
EEPROM use will allow the EEPROM to work reliably through the entire projected life of your product. Like all other flash memory devices on the market, flash ICs used in Tibbo products only allow for a limited number of write cycles. As the...
On this wireless controller, the LEDs are controlled via Microchip's MCP23008 I/O expander IC. The I²C interface of this IC is connected to GPIO lines 5 and 6 of the WS1102's CPU, as shown in the diagram below. Programmable Hardware Manual - WS1102...
WS1102 projects, including the code to control the LED bar. DIN Rail and Wall Mounting Plates The WS1102 ships with two mounting plates — one for installation on a DIN rail and one for mounting on a wall.
· By Tibbo OS (TiOS): o When a Tibbo BASIC/C app is not running, these LEDs show the current state of the device o When a Tibbo BASIC/C app is running, the status LEDs are under the app's control through the pat.
& your body. This transmitter must not be co-located or operating in conjunction with any other antenna or transmitter. Online Documentation For the most up-to-date documentation of the WS1102, please refer to Tibbo's online documentation. Programmable Hardware Manual - WS1102...
Need help?
Do you have a question about the WS1102 and is the answer not in the manual?
Questions and answers