Rocrail Pro
Wiki Documentation
Support Forum
Mobile
- andRoc Android
- Rocweb Browser
- WIO-Control ESP32
- Rocview Tablet
DIY
User
Wiki writer
Special
Legal
Rocrail Pro
Wiki Documentation
Support Forum
Mobile
DIY
User
Wiki writer
Special
Legal
Rocview → Menu → Programming → WIO |
With the Set button the ID, name and Type can be changed.
Type | Functions |
---|---|
Control | Throttle using short IDs |
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 CS or Booster |
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 |
Ext | ESP32: CANIO + LED + SERVO + RFID |
S88 | Märklin sensor bus |
IO16 | All-rounder |
Reboots the selected WIO module.
Shutdown the selected WIO module.
All WIO modules will shutdown in case the All option is selected.
A usage report is generated for all WIO modules in the query.
The default program wil be started to view the CSV file.
This will open the default WEB Browser with the IP of the selected WIO to be able to maintain SPIFFS files.
In case of type CAM the streaming link can be used:
http://<IP>:8081/stream
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.
Count of 100ms for setting the output pulse length.
Also used for dual coil switch motors.
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, GCA214, at 250.000bps.
RFID ID-12LA reader at 9600bps.
For RailCom and RFID: If the serial monitor is still needed for tracing, the baudrate must be adjusted in the Arduino IDE.
![]() |
Monitor the power consumption and shutoff at 1A. (Must be set for WIO-Drive and WIO-Boost.)
Shutoff at 3A instead of 1A. (Only in combination with the "Power monitor" option active.)
Use an external DCC 3V3 signal. (1.63+)
See the IBB connector on the WIO-Boost and WIO-Drive.
It will power off automatically in case no DCC signal is detected.
Enable RailCom cutout in the preamble and idle packet.
Disable this option in case none RailCom decoders are used.
Only one packet stream instead of 4 x reset plus 6 x program are send to the PT.
Note: Not all decoders will accept this none NMRA conform sequence.
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)
Rotate the display content 180°.
Select the connected displays geometry.
Number of rotary ticks for 100% speed.
Put WIO Control into deep sleep after a time out of x minutes.
Synchronize speed and function field events. Disable in case of a slow network to avoid slider jumping.
This option will only work well in case the used Command Station reports speed changed at once. In all other cases the WIO-Control cannot set the loco speed.
The board layout is automatically selected in case the selections does not fit to the architecture.
Only architecture ESP32 can be of different layouts.
Development boards with embedded OLED display on I2C GPIO4 and GPIO5.
Special ESP32-CAM with Servo support.
Select the desired camera stream framing size.
The WIO CAM must be rebooted to make this selection active.
3 Wire Fast uses a timer interrupt for a higher stepper frequency.
Check the USERCNF.h for settings.
Setup the basic connections can be done on this tab:
The WIO is ready for use.
Note 1: Automatic Server needs an active R2RNet.
Note 2: The Identify Number must be set unique among all WIO's.
Query serial USB devices, and try to preselect one.
Click on Connect after selecting the right device to be able to communicate with the ESP/Pico.
Note: Under Windows serial devices are scanned up to COM20. Higher COM ports can be typed in manually in this field.
Try to make a 115200 baud connection with the selected serial device.
Notes:
Activates the "Data Terminal Ready" to signal the connected microcontroller that it can send data.
This option is temporare and should be left checked.
Disconnect from the serial device. This will be done automatically on closing the WIO Setup dialog.
SSID name, without blanks, to use for the WiFi connection.
Max. length is 32 characters incl. the zero termination.
Only 7 bit ASCII is supported.
Let the connected WIO module search for available networks. This will fill up the Name combobox.
The password for the selected SSID name without blanks. Activating the checkbox will makes the password readable.
Max. length is 32 characters incl. the zero termination.
Only 7 bit ASCII is supported.
Sends the SSID name and password to the connected WIO module.
The DNS name or IP address of the Rocrail server.
Use UDP Multicast, R2RNet, to find a Rocrail server.
Multicast must be enabled in the network router to be able to find the Rocrail server automatically.
User besides TCP also UDP Multicast for RASCII communication. (WIP)
Sends the server name to the connected ESP.
Unique node ID.
Optional node name.
WIO main function.
Sends the ID and type to the connected ESP.
Export settings in a CSV file.
Import settings from a CSV file.
Refresh the terminal with the ?<enter> command.
Port usage.
Sends the port usage to the connected ESP.
Switch between Info and Debug trace level.
Sends a start of day command to the connected ESP.
Reset the part of the Flash memory on which the WIO configuration is located.
Tip: Use this if the ESP/Pico was loaded before with another sketch to get the default WIO configuration.
WIO binaries for ESP8266 and ESP32 can be uploaded by OTA.
if the file name is left empty the selected WIO module will be set in OTA mode for updating the firmware over the air by other tools like the Arduino IDE.
The number, at the right of the "Start OTA" button, is the pause in seconds between activating OTA and uploading the binary. Some microcontrollers need some more time to prepare. (ESP8266)
To avoid bothering with the needed libraries for the WIO Sketch this WPS-OTA-Sketch can be used for binary OTA:
( The Sketch can also be downloaded from https://gitlab.com/rocrail/wio/-/tree/master/RROTA )
Alternatively a mDNS browser can be used for point 4 and 6.