This is an old revision of the document!
Table of Contents
WIO Overview
Introduction
WIO is the abbreviation for Wireless I/O.
The WIO implementation is based on the LOLIN D1 Mini and de LOLIN D32, which both have WiFi on board and can be programmed in the Arduino IDE environment.
WIO is designed for two main tasks:
- General I/O
- Throttle
General I/O
The general purpose I/O is comparable with the Pi02/GCA50/CANGC2, using WiFi as wireless communication 'bus' instead of wired I2C/LocoNet/CAN, and
is compatible with all known GCA Extension Units.
The main part of the needed I/O settings are defined in Rocrail, which makes a hardware swap al lot easier.
Throttle
The throttle supports the following configuration:
- Rotary for speed, direction and selection of loco and function.
- Up to 6 push buttons for functions and selection.
- Display.
Only the ESP32, Lolin D32, is supported. |
The in Rocrail defined locomotives can be transferred to the throttle(s) by sending the Short IDs. (Up to 256)
Options
Standard
The General I/O is controlled by the I2C bus. This I2C bus can simultaneous be used for:
- Two displays, compatible with RocDisplay.
- One Sensor for temperature, humidity and pressure.
- One Sensor for light.
- Two 7-Segment display for time, date, temperature and simple dynamic text.
- Play wave files in case of the LOLIN D32 with on board DAC output. (Digital Analog Converter)
Extra
Extra options, which needs accurate timing, are mutual exclusive:
- 128 LED chips control like the WS2812. (default)
- Four Servos.
- Two RC522 RFID readers.
- Mobile PWM motor control.
- CAM.
- CAN interface for 125/250kB standard/extended frames on TCP port 5550. (Binary)
- CAN Node in a RCAN compatible system, not using WiFi.
Serial RS232
The serial options are also mutual exclusive:
- Monitor. (default)
- RailCom reader.
- Mobile RFID reader.
I2C RocNetNode
The following RocNetNode boards are compatible with WIO:
Unit | Description | I2C Address(es) | Remark |
---|---|---|---|
Pi02 | 32 I/O | 0x20, 0x21 | Only on WIOs without MCP23017 on board. |
Pi03 | 16 Servos | 0x40 | This will deactivate the Servo option, and can be used in combination with other options. |
Pi06 | Power supply and I2C HUB | - | For use in combination with the WIO-I2C. |
Pi08 | 16 Dimming LEDs | 0x60…0x67 | Max. 8 units; 128 LEDs. This will deactivate the FastLED option. |
Unit | Description | Replacement |
---|---|---|
Pi04 | I2C Throttle | WIO-Control |
Pi05 | Loco Controller | WIO-Drive |
Pi07 | Transformer Sensor | GCA94 |
Converter Cable
Kits & PCBs
WIO I/O
For all basic functionality except throttle.
Features all needed connectors for all options.
WIO Boost
Specially for Option DCC with integrated 3A booster. (H-Bridge)
WIO Prog
Same as the WIO Boost but with an extra H-Bridge for Service Mode, Programming Track.
WIO Drive
Specially for Option DCC and Mobile with integrated 3A booster. (H-Bridge)
WIO VC1
Command Station with booster from 1.6 to 20A.
WIO Control
A throttle based on LOLIN D1/D32 with display and rotary.
See WIO Control for functional information.
WIO CAN
WiFi MBUS/RCAN interface.
WIO I2C
Simple module with I2C buffer which connects to the Pi06.
WIO Clock
(Fast) Clock for 4" 7-segment displays controlled by PCA9622. (IO_CLOCK option in the USERCNF.h)
The time will be synchronised in case the NTP_CLOCK option is activated in the USERCNF.h.
RailCom Reader
A separate amplifier kit, GCA214, is available for reading RailCom data.
WIO | WIO Drive | WIO Control | GCA214 |
---|---|---|---|
. | . | ||
General purpose I/O and several options | DCC CS, Booster and motor PWM | Throttle | RailCom reader |
WIO VC1 | WIO Boost | WIO CAN | WIO PROG |
Command Station up to 20A | 3A Command Station | Interface WiFi-CAN | Command Station |