Autoreverser REV2 for DC & DCC

BLOCKsignalling REV2 DC and DCC Autoreverser

When you want to add a loop to the end of a track, you are left with a problem - as the train leaves the loop to return to the main line the polarity of the main line is incorrect.

If you are operating the layout manually, you can set the points and flip the polarity of the main line and the loco will happily continue.  If you forget either action derailments and shorts can result.

The REV2 autoreverser automates this task, so the points are always aligned with the approaching train, and the polarity on the main line is automatically set to suit (whether using DC or DCC).

The result is the there is nothing to switch (or forget) and the layout just looks after itself.

 

Single Loop Operation

Infra-red sensors are used to detect when the train approaches the points and automatically set the points and track polarity to suit the approaching locomotive.

In the diagram below, the train enters the loop and travels over sensor 1.   The module senses the train passing over the sensor and sets the points to the mainline (as they are already aligned with the main line, they don't move).

The loco continues around the loop (or it can stop and return to the main line if you wish, passing back over sensor 1).  If it contrinues around the loop, when it reaches sensor 2, the module operates the points motor to set the points to diverging and also swaps the polarity of the main line so the loco can continue the journey exiting the loop back to the main line.

Each time the train enters the loop, it will alternate the direction of travel.

Insulated rail joiners are used as there will be occasions when the track polarities do not match.

 

REV2 Autoreverser Single Loop

With a single loop, the train does not have to complete travelling around the loop, it can be reversed and leave from the same way it entered.

On DCC layouts, several trains can enter the loop, and depart in either direction as long as care is taken only driving one train out of or in to the loop at a time.

 

Double Loop Operation

The module can also automate layouts with loops at both ends.

In this case, one sensor is installed on each loop and the locomotives always travel around the loops in the same direction.  You can alter this direction by swapping the wiring of the points motors and repositioning the sensors.

REV2 Autoreverser Double Loops

 

 

Power Supply

The module operates from a 12V DC supply (recommended capacity 0.5A or greater).

Please check all wiring carefully before turning on the power to prevent damage to the module.

 

Terminal Diagram

BLOCKsignalling REV2 Terminal Connections

 

Connecting the Infra-Red Sensors

An Infra-Red source and Infra-Red detector are moulded into a single 5mm x 6.5mm package that can be located below the track bed to reflect light off rolling stock.

Identify the Sensor 1 leads from the diagram and connect to the terminals marked A1 and C1 on the module.  Leads E and K both connect to terminal G1.

Repeat for Sensor 2, connecting to C2, G2 and A2.

BLOCKsignalling Sensor Pinout

The wires can be extended using small chocolate block and extra lengths of cable if required (not supplied).

 

Sensor Installation

The Infra-Red sensor is normally installed below the track-bed.  It can also be installed at the side of the track.

BLOCKsignalling Infra-red Detector Side View

 

The detection range of the unit is up to approximately 25mm from the face of the package.

BLOCKsignalling Infra-red Detector Track View

The detector can be mounted in an 8mm hole drilled through the track baseboard. If required, the detector can be held in place using a small amount of blutack, expanded polystyrene or similar. The led diameter is 2.2mm, so on smaller scales the leds can still have a clear view between the sleepers.

 

Operation

When the power is turned on the points are operated to the normal (straight ahead) direction and the track power is passed straight through.

The points are then switched if necessary to match the state they were in when the module was switched off (and the mainline polarity is also switched if required).

Both sensors now operate, looking for a passing train.

If a train is detected at sensor 1, the points are operated to the normal (straight ahead) direction and power passes straight through the module.

If a train is detected at sensor 2, the points are operated to the reversed (switched) direction and power passing though the module is switched to reverse polarity.

Each time a sensor detects a train, another train cannot be detected until the first sensor is cleared for 5 seconds (to avoid repeated points switching unitl the whole train completely clears the sensor).

 

Additions

Leds can be wired to the Led1 and Led2 terminals (anode to the terminal and cathode to the GND).

Led1 will light when the NORM points output is operated.

Led2 will light when the REV points output is operated.

The leds remain lit between points operation.

 

Push buttons can be connected to the PB1 and PB2 terminals (common to GND).

Pressing PB1 will actuate the NORM points output.

Pressing PB2 will actuate the REV points output.

 

 

Troubleshooting

If the red led on the module does not flash during operation then check the power supply to the module and the sensor wiring.

If the train leaves the mainline and enters the loop, then stops at the track breaks, it may be that the NORM and REV wiring to points motor needs to be swapped.

 

 

 


 

 

PSU4 Universal Power Supply

 

The PSU4 is a universal power supply, able to provide twelve outputs of 12V DC.

The input voltage can range from 5V to 32V DC or 9V to 24V AC.  The module will either boost or reduce the voltage input to provide the stable 12V DC outputs.

The power input can be wired to the screw terminals or the module can be powered from its standard 2.1mm input jack (compatible with the majority of plug-top power supplies).  the centre pin on the plug can be either positive or negative.

Ideal to drive model railway accessories (signals, building lighting, accessories, etc) and layout lighting.

 

 

BOD4-RLY Infra-Red Train Detector with 1.5A Relay

BLOCKsignalling BOD4-RLY Block Occupancy Detector

Detects trains and operates a built-in relay.

  • Quick and easy way to detect trains anywhere on your layout, even in tunnels

  • Detects passing trains using its in-built infra-red sensor

  • Very easy to connect up to simple indications on a control panel, operate motors, electromagnets, or to add as inputs to computer systems

  • Operates from 12V DC

  • Low current output (+5V DC) to feed leds, signals or small relays

  • No programming necessary (but you can adjust all settings if you wish)

 

 

This module came about after a customer asked for a module to operate a stop solenoid on his Faller model car layout.  It is based on out BOD2-RLY train detector, but with a larger relay to handle the current for the electromagnet.

It is just at home on a model railway, to detect trains and operate led or filament signals, motorised features, or any other action you can envisage.

The relay van handle up to 1.5A current at 24V DC.

 

Operation

The following describes the basic operation.  Many settings can be changed if required to tailor the operation to a particular requirement if desired.

 

When a train crosses the infra-red sensor, the relay coil is energised and the relay common contact (labelled COM) moves from the normally-closed (NC) position to the normally-open position (NO).

After the train clears the sensor, the module de-energises the relay and the relay contact moves back to the normally-open position.

A delay can be set before this occurs to allow a train indication to remain present for a period, or the indication can immediately reset. The module can also be set to ignore the gaps between carriages. With a delay, the module can operate a two aspect signal, switching to red when a train crosses the sensor, and back to green a preset time after the sensor is cleared.

There are several programming options available (see later), including some new randomising options to make actions more realistic, and also some settings so that the module does not respond to every trigger which could be useful to stop only a proportion of passing trains for instance.

The module requires a 12V DC supply and has a low current +5V DC output, which is ideal to drive leds or signal lamps.

 

Power Supply

The module requires a power supply 12V DC and draws a maximum current of 80mA.

When connecting a DC supply, connect the negative to the GND terminal and the positive to the Vin terminal. If the connections are accidentally reversed, the module will not function, but no damage will result.

 

Connecting up

The relay outputs are available on the normally-open (NO), common (COM) and normally-closed (NC) contacts. When the power is turned off, the relay de-energises and the connection is made between the NC and COM connections.

Shown below is an example wiring diagram to connect a 2-aspect signal or control panel leds to the BOD4-RLY.

A 1k resistor is necessary to limit the current through the leds.

wiring diagram BLOCKsignalling BOD2-RLY

The relay output can be used to connect to leds, filament bulbs, relays, electromagnets or computer systems. There are no volts on the contacts (they are "volt free").

 

Terminals

The module has six terminals.

Vin Positive feed of the DC supply

GND Negative feed of the DC supply

Vout This is a regulated +5V DC output which can be used to feed leds, small relays, or bulbs (maximum 100mA).

NO The terminal is the normally-open contact of the relay.

COM The terminal common terminal of the relay.

NC The terminal is normally-closed contact of the relay.

 

Sensor Installation

Simply drill an 8mm hole through the baseboard between the sleepers and insert the sensor from below.

Train Detector

If required, the sensor can be held in place using a small amount of blutack, expanded polystyrene or similar.

The led diameter is 2.2mm, so on smaller scales the leds can still have a clear view between the sleepers.

Train Detector

LED Connection

When using leds it is important to connect them the right way around.

The negative lead (cathode) is identified by a flat on the side of the led body, and by having a shorter lead.
led anode and cathode connections

Programming

The default program is to operate in the instantaneous mode, so if you want one of the other modes, or to change timings for instance, you will need to reprogram the module.

Programming is performed holding down the Push Button when switching on the power.

Red Green 2 Aspect Signal Controller

The red led on the PCB flashes at 1 second intervals. When the required number of flashes is seen (see later for the list of possible choices) the button is released to store the first value. At this point the led comes on for five seconds to confirm the value is stored.

The led then starts flashing again, and this time the button needs to be pressed to store the second value.

Once the two values to be stored are entered, the led flashes 10 times rapidly, and the module starts operating.

To select the program function of the module, first you should see 2 flashes, then the number of flashes to select the program you want. 

To change individual settings for the programs, the number of flashes that should be see first varies from 3 to 14, and the second number of led flashes represents the new setting you want.  This is described below, and also shown int he programming diagram at the end of this text.

Most values entered can range between 1 and 255 (see below for limits). If more flashes are seen, or the programming is aborted by switching off, then the programming must be repeated.

Factory Reset

To reset the module back to factory settings, switch off the power to the module and hold down the Push Button. Apply the power and continue holding the push button until 1 flash of the led is seen. At this point, release the button. You will see a long flash of five seconds.

The led will begin flashing again. When you have seen 1 flash press the button. You will see a long flash of five seconds and then 10 rapid flashes. The reset procedure is then complete and the module will restart with factory settings, and run in instantaneous mode. If you make a mistake programming, simply repeat the process.

Sensitivity Setting

The module is supplied with the sensitivity preset to suit most installations and should not need adjustment.

The sensitivity is factory set to 5, and can be adjusted from 1 to 10 (with 1 being the most sensitive and 10 being the least sensitive).

To change the sensitivity, switch off the power to the module and hold down the Push Button. Apply the power and continue holding the Push Button until 9 flashes of the led are seen. At this point, release the button. You will see a long flash of five seconds.

The led will begin flashing again. When you have reached the desired number of flashes to set the new sensitivity, press the button. You will see a long flash of five seconds and then 10 rapid flashes. The programming is then complete and the module will restart. If you make a mistake programming, simply repeat the process.

Performing a factory reset will reset the sensitivity setting back to 5.

Built-in Programs

In order to set-up the module with minimum effort, there are several programs built-in.

Selecting one of these programs will perform a factory reset on the module (losing any previously made changes), and then make a number of setting adjustments automatically.

If you want to further refine the settings of these programs, follow the instructions in the section after selecting the required program.

 

Program 1 - Test Mode

In this mode, the relay is energised for 1 second, and then denergised for 2 seconds.

This is repeated until another mode is selected.

Program 2 - Instantaneous Mode (DEFAULT)

When the infra-red sensor is triggered by a train, the module immediately activates the relay.

The module checks to see if the train has cleared the sensor.

If the train has cleared the sensor for at least 1 second, the relay is denergised.

The module then restarts and awaits the next train.

The 1 second delay is fixed.

Program 3 - Signal Mode (Delayed Mode)

When the infra-red sensor is triggered by a train, the module immediately activates the relay.

The module checks to see if the train has cleared the sensor.

If the train has cleared the sensor for at least 4 seconds (the holdover delay), the module waits 10 seconds, and then the relay is denergised.

The module then restarts and awaits the next train.

This program could be used to control a 2-aspect led signal.

The holdover setting means that gaps between carriages are ignored, and the final delay allows the signal to remain at red for a realistic period.

It is possible to change the holdover delay by programing memory 3.

Program 4 - Short Pulse Mode

This program energises the relay briefly when the sensor is covered by a train.

The relay pulse duration is in steps of 100ms, with a default value of 2 (=200ms).

The duration is set in multiples of 100ms steps using setting 5 (the PULSE ON TIME).

The train must clear the sensor, before the train can be detected again, and so generate another pulse.

Typically this program would be used to connect to a computer control system, to notify it that a train has arrived at a certain point on the layout.

Program 5 - Long Pulse Mode

This program energises the relay for a number of seconds when the sensor is covered by a train.

The relay pulse duration is in steps of 1 second, with a default value of 2 (=2 seconds).

The duration is set in 1 second steps using setting 5 (the PULSE ON TIME).

The train must clear the sensor, before the train can be detected again, and so generate another pulse.

The pulse time can be randomised to between 25% and 100% of the set time.  To choose this function, set the relay pulse duration to 4 seconds or greater, and enable the randomise function (see later).  For example, if a time period of 40 seconds is set, each time the relay will operate for between 10 and 40 seconds.

Typically this program could be used to halt a train at a certain point on the layout for a number of seconds. When the train crosses the sensor, the relay will energise for a period, cutting the power to the track section. When the power is re-applied after the pulse delay, the train will clear the sensor without the module being retriggered.

Program 6 - Recurring Short Pulse Mode

This program energises the relay briefly when the sensor is covered by a train.

If the sensor remains covered, the relay will continue to energise and de-energise.

The pulse duration is in steps of 100ms, with a default value of 2 (=200ms).

The duration is set in 100ms steps using setting 5 (the PULSE ON TIME).

The relay is denergised for the time it takes for the module to detect the trains presence again (default is 1 second).

Typically this program could be used flash an led at a fast rate when the train is over the sensor (perhaps to convey an urgent indication).

Program 7 - Recurring Long Pulse Mode

This program energises the relay for a number of seconds when the sensor is covered by a train.

The pulse duration is in steps of 1 second, with a default value of 2 (=2 seconds).

The puse on duration is set in 1 second steps using setting 5 (the PULSE ON TIME).

The pulse off duration is set in 1 second steps using setting 6 (the PULSE OFF TIME).

Typically this program could be used flash an led at a slow rate when the train is over the sensor.

 

Adjustable Settings

There are a number of settings which can be adjusted to change the operation of the module.  The diagram at the bottom of this document summarises the settings.

 

Memory 3 - Holdover time

This is the time after the object clears the sensor, before the module decides it is absent.  As a train passes the sensor, there will be gaps between each carriage which need to be ignored.  The default value is 4, which allows 4 seconds for the gap between carriages.  Any gap of less than 4 seconds is ignored.  If single locos or vehicles are being detected, this value can be set to a minimum (1 second).

Memory 4 - Final Delay

This is the time after the sensor has been cleared of any object in front of it, and the holdover time has elapsed, before the module de-energises the relay.  This is used when signals are connected, where after the whole train has cleared the sensor, it is desired that a period elapses before the relay is de-energised to change the state of the signal.

Memory 5 - Relay On Time

This is the setting for the time which the relay is energised.  It may be in second, or 0.1 second steps (depending on the program).   The default value is 2, which represents 2 seconds, or 0.2 seconds depending on the program in use.

Memory 6 - Relay Off Time

This is the setting for the time which the relay is denergised in programs where the relay is pulsed on and off.  It may be in second, or 0.1 second steps (depending on the program).   The default value is 2, which represents 2 seconds, or 0.2 seconds depending on the program in use.

Memory 7 - Trigger Delay Type

This setting has three possible values.

When set to value 1, the Trigger Delay is not used, and so as soon as an object is detected, the relay is energised (default value).

When set to 2, the Trigger Delay is used.  When an object is detected, after a delay set (Memory 8 - Trigger Delay) the relay is energised.

When set to 3, the Trigger Delay is randomised to between 25% and 100% of the set time (Memory 8 - Trigger Delay).  To choose this function, set the Trigger Delay to 4 seconds or greater.  For example, if an Trigger Delay of 40 seconds is set, each time the module is triggered, the operation of the relay will be delayed by between 10 and 40 seconds.

Memory 8 - Trigger Delay Time

This is the duration (in seconds) from when the detector first sees an object to the relay being energised.  The time can be set to between 1 and 254 seconds.  To use this delay, it must be turned on using Memory 7 (Trigger Delay Enable).

Memory 9 - Infra-Red Sensor Sensitivity

The infra-red sensor sensitivity can be adjusted from 1 to 10 (with 1 being the most sensitive and 10 being the least sensitive).  The default is 5.

Memory 10 - Relay On Time Randomised

This setting has three possible values.

When set to value 1, the relay is energised for a fixed time set by the Pulse On Time (default).

When set to 2, the Pulse On Time is randomised to between 25% and 100% of the set time.  To choose this function, set the on Pulse On Time duration to 4 seconds or greater.  For example, if a Pulse On Time of 40 seconds is set, each time the module is triggered, the relay will operate for between 10 and 40 seconds.

Memory 11 - Triggering Proportion

This memory has three possible settings.

If this memory is set to 1, then proportional settings are not used (default).

If this memory is set to 2, then the relay will only operate then the module will keep count of the number of times it has been triggered, and will only operate the relay each time the appropriate number of triggers has taken place.  So for instance, if the proportion is set to 4, the only every fourth trigger will result in the relay operating (1 in 4 successful).

If this memory is set to 3, then each time the module is triggered, it will decide whether the relay should operate.  So for instance, if the proportion is set to 4, the only 25% of triggers will result in the relay operating.

Memory 12 - Proportion Setting

If the module is programmed for fixed proportion, then this setting determines how many triggers need to occur before the relay operates.

Set value=1, relay operates every trigger (default).
Set value=2, relay operates every other trigger.
Set value=3, relay operates every third trigger.
Set value=3, relay operates every fourth trigger.

etc (maximum value 16)

If the module is programmed for random proportion, then this setting determines the proportion of triggers that cause the relay to operate.

Set value=1, relay operates every trigger (default).
Set value=2, relay operates on 50% of triggers.
Set value=3, relay operates every 33% of triggers.
Set value=3, relay operates every 25% of triggers.

etc (maximum value 16)

Memory 13 - Invert Proportion

This setting can be used to reverse the set proportion.

A setting of 1, leaves the operation as described.

A setting of 2 inverts the function, so every time the relay would have operated, it no longer does, and every time it would not have operated, it now does.  For example, this can be used where the relay was set to operate 1 in every 4 triggers to instead operate for 3 in every 4 (ie ignore 1 in 4 triggers).

Memory 14 - Invert Relay Action

This setting can be used to reverse the operation of the relay when the module operating.

A setting of 1, leaves the operation as described.

A setting of 2 inverts the relay function, so that when a train is not detected, the relay is energised.  When a train is detected, it is de-energised.

 

Program Flow Diagram

The diagram below shows all the programming options.

Programming is performed by holding down the Push Button when switching on the power.

The red led on the PCB flashes at 1 second intervals. When the required number of flashes is seen (see later for the list of possible choices) the button is released to store the first value. At this point the led comes on for five seconds to confirm the value is stored.

The led then starts flashing again, and this time the button needs to be pressed to store the second value.

Once the two values to be stored are entered, the led flashes 10 times rapidly, and the module starts operating.

The led will now flicker whilst the module searches for trains.

Most values entered can range between 1 and 255 (see below for limits). If more flashes are seen, or the programming is aborted by switching off, then the programming must be repeated.

Following the diagram is a detailed explanation of all the settings.

Any additional components shown in diagrams and photos are only to illustrate connections and are not included with the module.  Supplied with one sensor.

Loop Controller L1-DC

BLOCKsignalling Loop Controller

  • Manages trains entering a track loop
  • Operates points to route arriving locos to vacant track
  • Holds locos until another arrives, stops them for a set delay, or the user can release them
  • Flexible design can easily be programmed to suit user requirements

Basic Operation

The module is connected to the points motors at both ends of a section of track with a loop.

Each of the two lines has a section isolated either by insulated track joiners or breaks in the track.  This section is normally not energised and so any train reaching this section will come to a stop.

Two infra-red sensors are connected to the module that detect trains entering either the loop (L), or the main section of track (M) depending on the setting of the points.  Only one sensor is active at a time.

When the module is powered, it switches the points to their last know position (from when the module was last switched off).

 

When a train arrives, it crosses the points and passes over one of the infra-red sensors and comes to rest at the isolated track section.

BLOCKsignalling Loop Controller Operation 1

The module operates the points at both ends of the section ready to depart any waiting train on the other line and after a delay, energises the isolated section allowing any waiting train on the other line to depart.

BLOCKsignalling Loop Controller Operation 2

The train which has just arrived, remains at its isolated section, until another train arrives on the opposite line, when the process is repeated.

There are many options to customise the operation which are covered in detail later.

 

Connecting Up

To power the isolated section of track, a feed is taken from the rail on the same side (red wire).  This is connected to the two relay common terminals, IN1 and IN2.

The relay output OUT1 connects to the isolated section of the loop track. The relay output OUT2 connects to the isolated section of the main track.  These relay contacts are normally closed when the power is removed from the module, so with the power off, the layout can be operated manually.

The points motors are connected to the NORM (normal), COM (common) and REV (reversed) contacts.

The recommended power input is 12V DC connected to the IN/+ and IN/- terminals.  Use a power supply with a minimum current rating of 0.5A (500mA).  Using a power supply with a rating below this may result in erratic operation.

BLOCKsignalling Loop Controller Connecting

 

Terminal Diagram

BLOCKsignalling Loop Controller Terminal Connections

Power Supply

The module operates from a 12V DC supply. Please check the wiring carefully before turning on the power to prevent damage to the module.

 

Led Connection

When using leds it is important to connect them the right way around.

The negative lead (cathode) is identified by a flat on the side of the led body, and by having a shorter lead. led anode and cathode connections

 

Connecting the Infra-Red Sensors

An Infra-Red source and Infra-Red detector are moulded into a single 5mm x 6.5mm package that can be located below the track bed to reflect light off rolling stock.

Identify the Sensor 1 leads from the diagram and connect to the terminals marked A1 and C1 on the module.  Leads E and K both connect to terminal G1.

Repeat for Sensor 2, connecting to C2, G2 and A2.

The wires can be extended using small chocolate block and extra lengths of cable if required (not supplied).

 

Sensor Installation

The Infra-Red sensor is normally installed below the track-bed.

The detection range of the unit is up to approximately 25mm from the face of the package when the default sensitivity is set (for dark surfaces with low levels of reflectivity).

Infra Red Train Detection The detector can be mounted in an 8mm hole drilled through the track baseboard. If required, the detector can be held in place using a small amount of blutack, expanded polystyrene or similar. The led diameter is 2.2mm, so on smaller scales the leds can still have a clear view between the sleepers. Infra Red Sensor Under Track

 

Sequence of Operation

When first powered on, the following sequence occurs:

1. The led on the module lights for 1 second, then the points are switched to NORM.

2. Both sensors alternately search for the presence of a train (incase a train is already present on either line from the last time the layout was used).

3. If a train is found, one of the leds is lit to signify the train is present.  A delay occurs (normally 10 seconds), then the points change to the opposite line to that train is on (if necessary).

4. Power is applied to the isolated section in front of the waiting train on the other line for a minimum of 5 seconds.

5. The power remains applied, until the end of the train has been detected (the sensor is clear for more than 5 seconds).

6. If there was an led lit, signifying there was a train present on that section of line, it is now extinguished.

7. The sensors then alternately search for the arrival of a train again.  If ther eis already one over the sensor, thei will be dispatched after the delay time.

 

Program Settings

A number of the settings which control the operation of the module can be adjusted by the user to tailor the operation of the module to suit their own requirements.

The settings are changed by powering the module with the push button on the module held down.  A sequence of led flashes and push button presses are used to select the options.  See later for the detailed procedure.

The folowing section details the settings which can be changed.

Program Mode

There are two modes that the module operate in, normal running mode and test mode.  Test mode is used to check the operation of the module and is detailed later.

Sensor Type

At present, only infra-red sensors are supported.

Sensitivity

Sensitivity Setting The module is supplied with the sensitivity pre-set to suit most installations and should not need adjustment.

In locations such as tunnels, or when the sensoris not being used under the track bed, then it may be desirable to adjust the detection threshold.

The sensitivity is factory set to 5, and can be adjusted from 1 to 10 (with 1 being the most sensitive and 10 being the least sensitive).

sensitivity of infra-red sensor

Overrun

This is the time the sensor must be clear for, to confirm the train has passed.  It is normally set to 5 seconds, which allows for the gaps between the carriages.

Departure Trigger

Normally, the departure of the second train is a fixed time after the arrival of the first train.  By setting this memory to Random, the departure delay will be between 25% and 75% of the set delay.  If it is set to Push Button, a button connected to the PB1 terminal must be pressed to dispatch the train. 

Departure Delay

This is the delay before the second train is dispatched, after the first train arrives.  The default value is 10 seconds.

Rail Energise Time

This set the minimum duration the isolated rail is energised to dispatch the train.  It should be set to allow sufficient time for the whole loco to cross the isolated section, although the power will continue to be supplied until the train has cleared the sensor for at least the Overrun time.  The default value is 5 seconds.

Points Position at Power On

When power is applied to the module, the points are switched according to this setting.  You can select Normal, Reverse, or the same position as when the power was last switched off.

Led Function

As a default, the leds connected to LED1 and LED2 terminals will light when a train is detected by Sensor 1 and Sensor 2 respectively.  The leds are extinguised after the train have moved off and the isolated rail section is de-energised.  As an alternative, the leds can be set to light only when a train is departing.  A resistor is built into the module, so any attached leds will not need their own resistor.

 

Factory Reset

To reset the module back to factory settings, switch off the power to the module and hold down the Push Button. Apply the power and continue holding the push button until 1 flash of the led is seen. At this point, release the button. You will see a long flash of five seconds.

The led will begin flashing again. When you have seen 1 flash press the button. You will see a long flash of five seconds and then 10 rapid flashes.

The reset procedure is then complete and the module will restart with factory settings.

If you make a mistake programming, simply repeat the process.

 

Test Mode

There is a built-in test mode which can be used to check the operation of each of the inputs and outputs of the module.  This can also be used to check the function of the module, and if the sensors are operating correctly.

Connect up the module with push buttons and leds as per the image below.  It is recommended to use 1k resistors in the feed to each led.  Take care with the polarity of the leds.

To select the test mode, program memory 2 to the value of 1.

 

After programming the module to run the test program, it will follow the sequence below (each step at 1 second intervals):

1. Illuminates the led on the module for 1 second.

2. Energises Relay 1 and LED1 at the same time for 1 second.  The OUT1 led will extinguish at the same time.

3. Energises Relay 2 and LED2 at the same time for 1 second.  The OUT2 led will extinguish at the same time.

4. Illuminates the LED1 for 1 second.

5. Illuminates the LED2 for 1 second.

6. The points are switched to the Normal direction.  At the same time LED1 illuminates for a second.

7. The points are switched to the Reverse direction.  At the same time LED2 illuminates for a second.

8. The points are switched to the Normal direction.  At the same time LED1 illuminates for a second.

9. The points are switched to the Reverse direction.  At the same time LED2 illuminates for a second.

10. Sensors 1 and 2 are switched on.  If an object is brought close to Sensor 1, LED1 will flash slowly.  If an object is brought close to Sensor 2, LED2 will flash slowly.

 

The test can be repeated by removing and reapplying power to the module.

To leave the test mode, reprogram the module to the mode you wish to use.

 

Program Flow Diagram

Programming is performed by holding down the Push Button when switching on the power. The red led on the PCB flashes at 1 second intervals.

When the required number of flashes is seen (see later for the list of possible choices) the button is released to store the first value. At this point the led comes on for five seconds to confirm the value is stored.

The led then starts flashing again, and this time the button needs to be pressed to store the second value.

Once the two values to be stored are entered, the led flashes 10 times rapidly, and the module starts operating. Most values entered can range between 1 and 255 (see below for limits).

If more are seen, or the programming is aborted by switching off, then the programming must be repeated.

L1 Programming Diagram