This is an old revision of the document!
Table of Contents
WIO - Setup
Rocview → Menu → Programming → WIO |
Remarks
- No setup is possible if there are multiple devices with the same ID; Power on just one with that ID and change it.
- This documentation is based on WIO 1.x firmware.
Query
Set
With the Set button the ID, name and Type can be changed.
Type | Functions |
---|---|
RIC | Throttle |
LED | 32 I2C I/O and FastLED |
SERVO | 32 I2C I/O and Servos |
RFID | 32 I2C I/O and RFID |
DCC | 32 I2C I/O and DCC |
Mobile | 32 I2C I/O and PWM to control a H-Bridge or RC ESC |
CAM | ESP32-CAM board support, no I/O possible. |
CAN | WiFi-TCP interface between 250kb CAN and Rocrail on port 5550 |
Reboot
Reboots the selected WIO module.
WEB Browser
This will open the default WEB Browser with the IP of the selected WIO to be able to maintain SPIFFS files.
CAM Stream
In case of type CAM the streaming link can be used:
http://<IP>:8081/stream
CAN
The extra service on port 5550 can be used to communicate with a CAN bus like MBUS.
A power off command is send to CAN if the WiFi or Rocrail connection is lost.
OTA
Put the selected WIO module in OTA mode for updating the firmware over the air.
Setup
Serial
The RX/TX pins on the ESP8266 are the same as used by the serial monitor.
The serial monitor will get read only, and swapped to another baudrate, when using the RX for other devices.
- Default serial Monitor at 57600bps
- RailCom reader at 250.000bps
- RFID ID-12LA reader at 9600bps
If the serial monitor is still needed for tracing, the baudrate must be adjusted in the Arduino IDE.
DCC
In combination with a H-Bridge, WIO-Drive and WIO-Boost, the power monitor must be enabled to be able to power on. A WIO reboot is required! |
- Power monitor: Monitor the power consumption and shutoff at 1A. (Must be set for WIO-Drive and WIO-Boost.)
- Max.3A: Shutoff at 3A instead of 1A. (Only in combination with the "Power monitor" option active.)
- Booster: Use an external DCC signal. (Not implemented: WIP.)
- RailCom cutout: Enable the cutout to enable RailCom. The WIO cutout seems not compatible with all decoders.
Mobile servo PWM
- ESC PWM: In case of WIO Mobile, this option will set servo compatible PWM on the D5 pin, which can be used to connect a RC ESC. (Electronic Speed Control)
Display
- Rotate 180°: Rotate the display content 180°.
- Geometry: Select the displays geometry.
Control
Steps
Number of rotary ticks for 100% speed.
Deep sleep
Put WIO Control into deep sleep after a time out of x minutes.
Synchronize
Synchronize locomotive and function field events.
Board
The board layout is automatically selected in case the selections does not fit to the architecture.
Only architecture ESP32 can be of different layouts.
CAM
Select the desired camera stream framing size.
The WIO CAM must be rebooted to make this selection active.
Set
With the Set button the pulse length, options and the selected I2C field can be changed.