The Layout Control Node (LCN) is the the basic hardware assembly containing the LCOS firmware. LCOS firmware comes in multiple variants, based on two primary types: the MASTER Node and CLIENT Nodes. Both the MASTER and most CLIENT variants use the same hardware platform.
The Standard Layout Control Node #
The Standard Layout Control Node is the hardware platform for the MASTER and most CLIENT variants. The standard platform includes connectors for PWM drivers, the Block Occupancy Detection system, both input and output duinoNodes, and power connections. The board takes 12 volt DC power either through the 2.1 mm Jack, or the VIN/GND terminals. If power is supplied through the DC jack, then 12 volt power (up to 2 amps) can be shared with other devices by attaching them to VIN + GDN.
DNDCC Layout Control Node #
The DNDCC Layout Control Node is special hardware platform supporting a DCC Gateway.
On the DNDCC, the block occupancy system is replaced with a RAIL interface for DCC. The DNDCC Client firmware maps LCOS Layout objects to DCC Accessory addresses, see Configuring DNDCC. For more information about CLIENT variants generally, and the specific capabilities and limitations of each, please see Client Variants.
LED5, to the right of the RAIL terminals, will light if rail power is present.
See the Layout Planning Guide for tips on distributing Nodes around your layout. The DNDCC node should be placed for easy access to your Rail Bus.
The mounting holes are 3mm diameter. The best way to mount an LCN is to use M3 Nylon Standoffs with a screw post. We fasten the standoffs to the board with matching nuts, then glue the other end of the standoffs to the underside of the layout. Use CA to attach standoffs to wood or metal; foam safe adhesive for attaching to foam. When the glue is set, you can easily remove and replace the board if necessary.
In general, once installed you rarely need physical access to a client node. Nevertheless, you should locate an LCN so that you have reasonable access to it when necessary. After layout construction, the primary reason to physically access a Client Node is to apply a firmware update.
The MASTER node should be attached to your main control panel. Its USB port must be easily accessible so that you can run the LCOS Desktop applications. If necessary, leave a USB cable attached to the MASTER so that you can connect at will.
Powering Your LCN #
General power requirements are discussed in the LCOS Layout Planning Guide.
An LCN with no peripherals attached can be powered by USB. This is useful for initially setting the radio channel and node ID on your LCNs. Thereafter, power your boards as discussed in the guide.
If possible, connect 12 volt DC to the LCN via the barrel jack; we recommend 18 ga pigtails for connecting your LCNs to the Layout Control Bus. Your can also use barrel jack adapters. Alternatively, attach wires from your Layout Control Bus to the VIN and GND terminals on on the Node assembly.
Production LCNs are able to handle and share with peripherals up to 2 amps @12 volts. By using the barrel jack for power feed, you leave the VIN and GND terminals available for power sharing with other devices.
However, the +5v terminal has only limited power handling capabilities. Accordingly DNIN8 and DNOU8 duinoNodes must be powered by the LCB and should not draw on +5v LCN power. PCA9685 drivers can take logic power (but NOT servo power) from the +5v terminal safely.
On-Board Status LEDS #
LCOS Nodes have the following 4 status LEDS:
- LED1 — VIN power LED; indicates board is receiving external power through either the barrel jack or the VIN terminal.
- LED2 — Red Status LED. On during boot and off when running normally. Works with LED3 to indicate specific error conditions. See below.
- LED3 — Green Status LED. Off during boot, then on when running normally. Works with LED2 to indicate specific error conditions. See below.
- LED4 — Radio Transmit LED. Comes on during radio transmit.
- DNDCC ONLY: LED5 — Rail power indicator.
Adding Optional External Status LEDS #
You can extend the LED2/LED3 combination to your fascia by attaching a pair of LEDS as shown below.
These LEDS convey basic information about the state of a Node, including its boot state, radio availability, and its current operation mode. Use two LEDS – one green and one red. We use a special wiring arrangement to allow one port to control both LEDS.
The two LEDS use the +5 volt pin and a ground pin on the Node, with the middle wire connected to port A3:
Place the LEDS at a convenient place on your fascia. If something isn’t functioning, the first step is to check the LEDS to quickly determine the state of the Node in question.
The LED states are as follows:
- Both LEDS lit: LCOS is not running. During brief pre-boot, both LEDS will light but should shift to the boot state within a second or two. If both stay lit, then either the processor does not have the LCOS firmware loaded, OR the processor has failed.
- Red LED on steady: LCOS is booting.
- Red and Green LEDS flash alternately at a rapid rate (20 x per second): radio failure. Make sure the radio is plugged in correctly, then reboot. If the error recurs, replace the radio. Usually a radio that was plugged in incorrectly will be damaged and must be replaced.
- Red and Green LEDS flashing alternately slowly (1 x per second): LCOS is running in CONFIGURATION mode. Most normal normal layout functions are suspended.
- Green LED on steady: LCOS is running in NORMAL mode.
Connecting Peripherals #
A Client Node can host multiple DNIN8 boards for inputs, multiple DNOU8 boards for outputs, a PWM driver and the block occupancy detection system. Nodes should be given the peripherals they need, and the mix will vary from Node to Node.
Here is an overview of a Client Node and how it connects to peripherals:
There a four sets of terminals for connecting peripherals:
- On the lower left corner of the LCN, an RJ45 jack for connecting the Client Node to a DNCTA Block Sensor Interface via Cat 5e Ethernet cable. Cat 5e cable is also used to connect the DNCTA with up to 4 DNCT2B Feeder/Sensor modules. For more information see Block Occupancy Hardware Installation.
- DNDCC ONLY: The RJ45 jack is replaced by Rail Power terminals.
- Above the RJ45 jack is a 3 wire terminal for DNIN8 Digital Input duinoNodes. We recommend using 3-wire servo cable for connecting duinoNodes.
- Above that, at the top left of the board, is a 3 wire screw terminal for DNOU8 Digital Output duinoNodes. In the connection diagram there are two DNOU8 Boards, serially connected. Note that V++ is different on the boards: the board on the left is getting +12volts for V++, while the one on the right is getting +5volts for V++. Relays would be attached to the +5 volt board; lighting and other devices to the +12 volt board. Each DNOU8 board can have any voltage on V++ from 3.3 to 30 volts. The only requirement is all grounds must be tied together.
- On the bottom row of screw terminals, SDA and SCL are used by the I2C interface. I2C is currently used only by the PCA9685. You can use the +5 volt and ground terminals here to power PCA9685 logic. WARNING: The servo terminals on the PCA9685 must draw power separately from the Layout Control Bus as shown.