User Tools

Site Tools


rocnet:rocnetnode-en

Differences

This shows you the differences between two versions of the page.


Previous revision
rocnet:rocnetnode-en [2023/04/29 16:43] (current) – [Boards] rjversluis
Line 1: Line 1:
 +====== RocNetNode ======
 +[[:english#command_stations|{{  :interface.png}}]][[:english|{{  :rocrail-logo-35.png}}]][[:rocnet:rocnetnode-en|{{ :rocnet:rocnet-hw.png}}]]
 +[[:rocnet:rocnetnode-en|{{ icons:uk.png}}]][[:rocnet:rocnetnode-de|{{ icons:de.png}}]][[:rocnet:rocnetnode-fr|{{ icons:fr.png}}]]
 +[[:english|Content]] -> [[:english#command_stations|Command Stations]] ->  **[[rocnet:rocnet-prot-en|RocNet]]** 
 +  * [[rocnet:rocnet-prot-en|RocNet Protocol]] | **[[:rocnet:rocnetnode-en|RocNetNode]]**
 +    * [[:rocnet:rocnetnode-hwsetup-en|RocNetNode Setup]] | [[:rocnet:rocnetnode-setup-en|RocNetNode Configuration]] | [[:rocnet:rocnetnode-img-en|Installer package]]
 +  * [[:gca:gca-index-en#raspbery_pi_rocnet_boards|Raspberry Pi Boards]]
 +    * [[:gca1-pi01-en|GCA-Pi01]] | [[:rocnet:pi01can-en|Pi01Can]] | [[:gca_pi02-en|GCA-Pi02]] | [[:gca-pi03-en|GCA-PI03]] | [[:gca-pi04-en|GCA-PI04]] | [[:gca-pi05-en|GCA-Pi05]] | [[:gca-pi06-en|GCA-Pi06]] | [[:GCA-PI07-en|GCA-PI07]] | [[:gca107-en|GCA107 Relay board]] | [[:rocnet:rocdisplay-en|RocDisplay]] | [[:rocnet:fastclock-en|Fast Clock]] | [[:rocnet:rocnetnode-led-en|LED driver Pi08]]
 +  * [[:rocnet:rocnetnode-build-en|Build from source]] | [[:raspi:raspi-dev-en|RasPi as Rocrail server]]
 +  * [[:rocnet:faq-en|FAQ's]]
 +  * [[:wiki:user:minou65:rocnetnode-epseak-de|Setup ESpeak (DE)]] | [[:wiki:user:minou65:soundrocnode|Setup Sound (DE)]]
  
 +
 + \\
 +^  //RocNetNode is superseded by [[:wio:wiopi-en|WIOpi]], but is still maintained.//  ^\\
 +
 + \\
 +===== RocNet system with Raspberry Pi microcomputers =====
 +[[:gca:gca-index-en#raspbery_pi_rocnet_boards|{{:rocnet:gcapi-demo.jpg?360}}]][[:rocnet:rocnetnode-hwsetup-en|{{:gca:gca_raspi_overview_1.png?300}}]]\\
 +{{:gca:gca_raspi_overview_1.pdf|The overview in better resolution}}
 + \\
 +
 +===== Overview =====
 +The RocNetNode with its boards is a complete DIY  Control System based on commonly used hardware standards.\\
 +It can be used for controlling:
 +  * Mobile decoders; Trains.
 +  * Switches, Multi aspect signals, FiddleYards, Turntables, Servos, Daylight...
 +  * Feedback, Occupancy, Inputs...
 + 
 +
 +==== Standards ====
 +  * The well known **[[http://en.wikipedia.org/wiki/I2c|I2C]]** standard is used as bus between all GCA-Pi boards.\\
 +  * A standard **[[http://en.wikipedia.org/wiki/LAN|Ethernet LAN]]** is used as connection between Rocrail and the RocNetNodes.\\
 +  * The Open Source **[[rocnet:rocnet-prot-en|RocNet Protocol]]** is used to communicate with Rocrail.\\
 +
 +==== Boards ====
 +^  Node  ^  Interface  ^  32-I/ ^  16-Servo  ^  Throttle  ^  G-Decoder  ^  Power Supply  ^ Transformer Sensor  ^  Relay Board  ^
 +|[[http://en.wikipedia.org/wiki/Raspberry_pi|{{http://upload.wikimedia.org/wikipedia/commons/thumb/3/3d/RaspberryPi.jpg/300px-RaspberryPi.jpg?0x90}}]] | [[:gca1-pi01-en|{{:gca:gca-pi01_pict03.jpg?0x90}}]] | [[:gca_pi02-en|{{:gca:gca_pi02_pict03.jpg?0x90}}]] | [[:gca-pi03-en|{{:gca:gca_pi03_pict01.jpg?0x90}}]] | [[:gca-pi04-en|{{:gca:pict5613.jpg?0x90}}]] | {{:gca:gca_pi05_pict2.jpg?0x90}} | {{:gca:gca_pi06_pict_02.jpg?0x90}} | {{ :gca:gca_pi07_pict03.jpg?0x90 }} | {{:gca:gca107_jumpers.jpg?0x90}} | 
 +|  RasPi  |  [[:gca1-pi01-en|GCA-Pi01]]  |  [[:gca_pi02-en|GCA-Pi02]]  |  [[:gca-pi03-en|GCA-Pi03]]  |  [[:gca-pi04-en|GCA-Pi04]]  |  [[:gca-pi05-en|GCA-Pi05]]  |  [[:gca-pi06-en|GCA-Pi06]]  |  [[:gca-pi07-en|GCA-Pi07]]  |  [[:gca107-en|GCA107]]  |
 +=== Raspberry Pi ===
 +The popular 'credit-card-sized' computer is used as base of the RocNetNode.\\
 +
 +==Supported Boards==
 +  * Raspberry Zero
 +  * Raspberry Pi 1, 2 and 3
 +
 +//The Raspberry Pi 4 is currently not supported.//\\ 
 + \\
 +It can be used as software command station too, using **[[:dcc232-en|DCC232]]** or **[[:sprog-en|SPROG]]**.\\ 
 +//[[http://raspberrypi.org|“Raspberry Pi" is a trademark of the Raspberry Pi Foundation.]]//\\
 +
 +=== GCA-Pi06 5V Power Supply ===
 +5V 3A Power supply and patch panel. (Preferred over power adapters.)\\
 +=== GCA-Pi01 Interface ===
 +The interface between the Raspberry Pi and the I2C bus.\\
 +=== GCA-Pi02 32 I/O ===
 +32 programmable I/O ports with MACRO support for signal aspects.\\
 +It is compatible with all **[[:english#interfaces|GCA interface boards]]**.\\
 +The **[[:gca107-en|GCA-107 Multi purpose Relay board]]** can be used for **[[:rocnet:sw-servo-setup-en|frog polarization]]**.\\
 +=== GCA-Pi03 16 Servo ===
 +16 PWM ports for controlling servos, LEDs...\\ 
 +The **[[:gca77-en|GCA77]]** can be connected for max 24V 500 mA dc per port.\\
 +Even higher values in dc are possible with **[[:mgv76-en|GCA76]]**\\
 +Both buffer boards are each able of dimming 8 independent outputs.\\ 
 +=== GCA-Pi04 Throttle===
 +A hand held throttle with 28 functions at hand.\\
 +===GCA-PI07 Transformer Sensor===
 +Zero loss current detection.\\
 +** Due to some no longer available parts, this unit is no longer available, see GCA94 instead. **\\
 +
 +
 +====Ordering information====
 +__**[[:gca:gca-index-en#raspbery_pi_rocnet_boards|Giling Computer Applications]]**__\\
 +
 +====Cables====
 +All boards are accepting RJ45 and/or RJ12 connectors.\\
 +The RJ45 connector can be used with CAT-5 patch cables.\\
 +The RJ12 compatible cables are commonly used by Digitrax LocoNet(r) and Lenz Xpressnet systems.\\
 +===Max cable length===
 +{{:rocnet:i2c-topologie.jpeg}}\\
 +__The data cable should not be connected to the 5V+.__\\
 + \\
 +
 +
 +====Configuration====
 +A very comfortable **[[:rocnet:rocnetnode-setup-en|Configuration]]** utility is provided in Rocrail.\\
 +Updating a RocNetNode is done with just a single mouse click.\\
 +
 +
 +
 + \\
 +===== Features =====
 +  * No firmware needed, just plain Linux-C and Rocrail libraries.
 +  * __**[[rocnet:rocnet-prot-en|RocNet]]**__ UDP Multicast
 +  * 128 I/O ports.
 +  * Delayed off inputs for occupancy detectors.
 +  * Pulse timed outputs with off event.
 +  * Blink function for outputs.
 +  * Loco and Function commands.
 +  * POM
 +  * Command Station support: 
 +    * **[[:dcc232-en|DCC232]]** & **[[:ord3-cs-en|ORD3]]**
 +    * **[[:sprog-en|SPROG]]**
 +  * Shutdown event on kill; Rocrail will power off and stop all trains.
 +  * Send every second an identification message until it is acknowledged. This procedure is restarted after the host reported a shutdown.
 +  * Start of Day support. After an identify acknowledge the current input status will be broadcasted.
 +  * Sensor acknowledge; Ten times retry every 500ms.
 +  * Save the output state on "global power off" for restoring them at restart of the RocNetNode. 
 +  * Nodes which identify itself with ID 65535 receive automatically an ID in the normal range: 2...65534.
 +  * __**[[:rocnet:rocnetnode-setup-en#macro|128 macros]]**__ with max. 8 commands each. 
 +  * One click __**[[:rocnet:rocnetnode-setup-en#new_revision|software update]]**__.
 +  * 128 PWM channels for servos, signals and lighting.
 +    * Max. 11 minutes for 4096 steps. (steps=1, delay=15)
 +    * Servo support incl. __**[[:rocnet:rocnetnode-setup-en#tune|Fine Tuning]]**__ and __**[[:switch-frog-en|Frog Polarization]]**__ with the __**[[:gca107-en|GCA107 Relay board]]**__.
 +  * RocMouse support.
 +  * A RasPi/RocNetNode can be mounted in a large scale locomotive when using a USB-WiFi stick for reporting the RFID tags, controlling the decoder with a S-Nano and offers 128 I/O.
 + \\
 +
 +===== Addressing =====
 +The addressing is linear: __**[[:addressing-en#flat_accessory_decoder_address_fada|FADA]]**__\\
 +Only the Bus(ID) and the Address(RasPi Port) fields are used.\\
 +
 +====Loco====
 +  - **DCC232 / SPROG**
 +    * Bus -> RocNetID (Or default __**[[:rocnet:rocnetnode-hwsetup-en#rocrail|Loco Bus]]**__.)
 +    * Address -> addrH + addrL
 +  - **Node** ([[:gca-pi05-en|RasPi in G-Loco]])
 +    * Bus -> 0
 +    * Address -> RocNetID
 +
 +====Accessories====
 +===Default===
 +  * Bus -> RocNetID
 +  * Address -> Port (1…128)
 +===DCC===
 +  * Bus -> RocNetID
 +  * Address -> Address (FADA)
 +  * Type -> DCC, MM, ...
 +
 +====Servos====
 +  * Bus -> RocNetID
 +  * Address -> Port (1…128)
 +  * Single gate
 +  * Port type:
 +    * Digital port: Switch or Accessory
 +    * PWM channel: Servo
 +
 +====Sensors====
 +  * Bus -> RocNetID
 +  * Address -> Port (Pi02: 1...128, Pi07: 129-160)
 +
 +====Signal Aspects====
 +__**[[:signal-int-en#aspect_numbers|Signal aspect numbers]]**__ are mapped to __**[[:rocnet:rocnetnode-setup-en#macro|Macros]]**__:
 +  * Bus -> RocNetID
 +  * Address-1 -> Macro port offset
 +  * Aspect -> Macro number (1...32)
 +
 +
 +====Output Macro Type====
 +  * Bus -> RocNetID
 +  * Address -> Macro number (1...32)
 +  * Parameter -> Macro number (1...32) for the Off command in case set > 0
 +
 +====Output Light Type====
 +  * Bus -> RocNetID
 +  * Address -> PWM Channel (1...128)
 +  * Value -> Brightness (0...255), this value will be multiplied by 16 in RocNetNode.
 +====Output Color Light Type====
 +  * Bus -> RocNetID
 +  * Address -> Not used
 +  * Color channel RGBWW -> PWM Channel (1...128); Both white channels are optional and can be set to zero to disable them.
 +  * Value -> Brightness (0...255), this value will be multiplied by 16 in RocNetNode.
 + \\
 +
 +=====Example(s)=====
 +====Switch====
 +  * [[:rocnet:sw-servo-setup-en|Servo switch with Frog polarisation]]
 +====Signal====
 +  * [[:rocnet:sg-macro-setup-en|Signal aspects with macros]]
 +====Turntable====
 +  * [[:rocnet:tt-setup-en|Turntable multiport]]