Are you using AnalogDC locomotives? See Prepare for AnalogDC page.
You need below hardwares to run Desktop Station.
You need below softwares to run Desktop Station. You can get these softwares free of charge.
Assemble Arduino board and CAN-BUS Shield physically.
Open a box.
Assembled Arduino UNO and CAN-BUS Shield.
Please check the wiring of Railuino and marklin hardwares. Power of Arduino board and CAN-BUS Shield is provided via USB cable, it's a bus. power. Not use DC jack on the arduino board.
Please note that CAN cable's D-Sub or RJ45 connector is used instead of CAN connector in this case. Typically, D-Sub 9 Pin uses as serial port. Also RJ45 uses as Ethernet. Do not misunderstand.
CAN cable is not in sale. You need to take parts of CAN cable and assemble it like below example. This example describes how to assemble CAN cable forSparkfun's. If you had watterott's shield, please check watterott's description. The difference of watterott's is the connector beside of CAN-BUS Shield. This page describes the connector as D-Sub 9pin.
Table: Parts list example for a cable between 60113 and CAN-BUS Shield.
|miniDIN 10-pin (MP371/10)||JPY330||Hirose-technical B1F in Akihabara|
|D-Sub 9-pin female socket||JPY50||Akiduki-denshi in Akihabara|
|D-Sub 9-pin shell||JPY50||Akiduki-denshi in Akihabara|
|4-core conductor cable||1m / JPY105||Kyu-syu denki in Akihabara|
Table: Assignment table of miniDIN pin and D-Sub pin.
|miniDIN 10pin||D-Sub 9Pin||RJ45|
Assemble metal shell and pins. Metal shell which you bought in Japan has to be cut like the above picture.
*Note: Japanese MP371-10 (mini DIN male connector) has opposite direction of pin assignment. If you live in out of Japan, you can get normal connector. Then you don't need to cut metal shell like this. Please check a mini DIN connector that you have.
Desktop Station requires a S88 interface board to play with S88 function. If not use S88, not reuquired a S88 interface board.
S88 interface board is not on sale. You have to make S88 interface board. Connector of S88 decoder uses 1.27mm pitch 6 pins header which you can get easily in worldwide. Wiring specification of S88 interface is as below.
Hardware structure of using S88 function
Wiring S88 cable and Arduino for S88
|Pin name||S88 cable pin||Arduino pin||Notes|
|DATA||1||A0||As using digital input.|
|VCC(+5V)||6||5V||not using 3.3VDC.|
Assignment S88 cable and Arduino.
Copy "src" folder in Railuino folder file to Arudino IDE's library folder.
Rename copied "src" folder to "Railuino".
Arduino IDE. Open Serial_RSx.ino and compile it.