User Tools

Site Tools


arduino:wio-setup-en

French VersionDeutsche VersionEnglish Version

WIO - Setup

ContentArduino


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

With a query all active WIO devices will respond with there ID, Type and configuration.

Set

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

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.

Monitor

Default serial Monitor at 57600bps.

RailCom

RailCom reader, GCA214, at 250.000bps.

RFID

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.

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 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.

RailCom

Enable RailCom cutout in the preamble and idle packet.
Disable this option in case none RailCom decoders are used.

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 connected 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.

arduino/wio-setup-en.txt · Last modified: 2020/05/22 15:02 by smitt48