

If you want to use debug.print statements SerialDebug 1 ( arduino mega only) line 56
#ROCRAIL XPRESSNET SETTINGS SERIAL#
set IP adress outside DHCP rangeĨ) If you connect WebPin to GND on startup you can modify settings with webbrowser outside the sketch (use IP adress of ethernetshield)ĩ) Run Serial terminal window and check IP adress at start of z21 emulator.ġ0)Put this address to settings of your z21 app.ġ1)If you connect ResetPIn to GND on startup all settings will revert to default
#ROCRAIL XPRESSNET SETTINGS MAC#
Check IP adress space for 192.168.0.* in mobile deviceĦ) Edit your MAC adress of ethernet shield below in sketch (you have to know it)ħ) Edit IP adress below in sketch (192.168.0.11 is default). Your multiMouse you should plug as Master.Ģ) LAN cable plug to W5100 socket and to WLAN router (use separated with factory settings)ģ) Make WLAN on router with IP address space 192.168.0.*ĥ) Connect to router WIFI. GENERAL Connections and adjustments (how to run):ġ) Plug XpressNet cable from z21 emulator to Slave socket of your ROCO command station (10764). LED on pin 13 is indicator of XpressNet connection: flashes - no connection, solid - OK: in notifyXNetStatus(uint8_t LedState) MAX485 RX/TX are connected to Serial1 pins of MEGA (18/19) => you can use Serial0 for debug log in Serial Terminal window of Arduino IDE app.

WebPin => Pin A4 Maank A4 bij het opstarten laag als je de webinterface wilt opstarten ResetPin => Pin A5 (originele schets A1) maak A5 bij het opstarten laag als je terug wilt naar het default IP adres van de sketch) RSE => Pin 9 (Digital) originele schets pin 3 RO => TX1 (18) pin (or viseversa, sheck if problem) UNO TX0ĭI => RX1 (19) pin (or viseversa, sheck if problem) UNO RX0

Initital development: by Philipp Gahtow.įurther development which this sketch based on: by Markus Hellerģ) RS485 interface board WaveShare to realize RS485 interface to connect to S-Bus slave of Roco command station: Works with XpressNet library version 1.8 () from Philipp Gahtow Version: 04 modified dick koning dec 2016 Z21 emulator for Roco command station 10764 and Roco multiMOUSE.
