background image

Manual OC32/NG 

VPEB  

Control your Miniature World 

 

Page 38 of 48 

Version 1.0 – December 15

th

, 2017 

2017 Leon van Perlo  

together they can be connected in parallel as long as the current does not exceed 500mA. 
 

6.4.4

 

LED’s antiparallel 

 

OC32 I/O Pin: Resistor-array (preferred) or 500mA Sink Driver 

 
With some signals, the LEDs are connected anti parallel. An 
example would be the Märklin "Hobby" signals 74391 and 
743xx. It is preferred to drive these signals with the 5V 
outputs of the OC32 but the 500mA driver will do the trick 
as well. 

 

Using the 5V output configuration (figure 28) the signals 
can be connected to 2 consecutive outputs of the OC32. 
The required resistor is part of the OC32. For the resistor 
array take a value of 100

.  

 
Should you have some spare 500mA outputs left, 
this will work also (figure 29). In that case you need 
to add 2 resistors between the 2 outputs and Vp. 
Be aware that the signal has to be connected the 
other way around because of the inverting operation 
of the 500mA driver. The value of the resistors 
depends on the required voltage Vp. At 12V a 
reasonable value would be 1k5, but one could 
experiment.

 

 

6.4.5

 

LED’s on barrier bars 

 

OC32 I/O Pin: Resistor array or 500mA Sink Driver 

 
On Dutch railroad crossings 3 lights are fixed onto the barriers of the railroad crossing 
(AHOB). The light at the end (the top light) is lit continuously where the two other lights are 
blinking alternately. If you want to construct this in your miniature world it might be a 
challenge to attach the wires along the moving barrier. In any case the fewer wires, the 
better. Presented is a diagram to drive these 3 LEDs with only 2 wires and 2 outputs of the 
OC32. In the case of two barriers the circuit can be connected twice in parallel as long as 
the LEDs you use are of the same type and from the same manufacturer (if possible from 
the same production series). The (double) diode is put somewhere on the barrier. Take care: 
it is a SOT23 diode (SMD), also very tiny. To attach the LEDs to the barrier you will have to 
select SMD types also. 
 

 
 
 
 
 
 
 
 
 
 
 

Fig 28: Connecting LEDs antiparallel 

in 5V mode 

Q(x+1)

Q(x)

Q(x+1)

Q(x)

Fig 29: Connecting LEDs antiparallel 

in 500mA mode 

Vp

Rv

Q(x+1)

Q(x)

Rv

Vp

Rv

Q(x+1)

Q(x)

Rv

Fig 30: LEDs on the 
barriers  
(5V mode) 

Q(x+1)

Q(x)

BAT54C

Top

Q(x+1)

Q(x)

BAT54C

Top

Fig 31: LEDs on the 
barriers  
(500mA mode) 

Q(x)

Q(x+1)

BAT54C / BAV70

Top

Vp

Rv

Rv

Q(x)

Q(x+1)

BAT54C / BAV70

Top

Vp

Rv

Rv

Control your Miniature World   

VPEB  

Manual OC32/NG 

2017 Leon van Perlo 

Version 1.0 – December 15

th

, 2017 

Page 11 of 48 

K1, K2, K3 and K4 are 2,5mm spring loaded connectors. 
Accepted wire size = 0,08mm

2

 – 0,5mm

2

 

 
K5A and K5B are 3,81mm spring loaded connectors. 
Accepted wire size = 0,08mm

2

 – 1,5mm

2

 

 
When inserting thin wire into the K5 connectors (0,20mm

2

 or less), pay attention that 

the wire is centered and inserted straight in the connector. Otherwise the wire may not 
always be grabbed entirely by the spring. 

 
To insert wires in either type of connector: 

 

Strip insulation off the end of the wire for about 10mm. 

 

In case of stranded wire: twist the strands together. 

 

Put the connector on a solid surface with the orange clips facing upwards. 

 

Push-in the orange clip of the pole you want to insert the wire in. You can do this with 
the tip of your finger or nail, but a small screwdriver or other similar tool may be handy. 

 

Gently insert the wire until you feel it touches the end. Use no force. 

 

Release the orange clip. 

 

Gently pull the wire to check it’s grabbed correctly 

 
If you find it difficult to push in the orange clips without the connector flipping over, you may 
want to do that while the connector is inserted in the OC32/NG module. Be sure that the 
module is powered off when you do and don’t push too hard, otherwise you may bend the 
PCB part of the connector. This risk is specifically there on the upper half of the 10 pole 
connectors that go in K5A and K5B. 
 
When inserting the top connector in PCB part K5A or K5B when you have a module without 
enclosure, do not push very hard, because in extreme cases you may bend the connector on 
the OC32/NG. While inserting, support the back of the connector to relief excessive strain. 
If you have the module with enclosure the risk is minimal, since the enclosure provides 
mechanical support for these connectors. 

 
 
 
 
 

Содержание OC32/NG

Страница 1: ...r 15 th 2017 2017 Leon van Perlo This page is intentionally left blank Author Leon J A van Perlo Version 1 0 Date December 15 th 2017 OC32 NG Manual VPEBVan Perlo Elektronica Besturingstechniek VPEBVa...

Страница 2: ...y information contained herein may not be copied or distributed in whole or in parts in whatever form without the explicit written approval of the original author The making of copies and prints by us...

Страница 3: ...nctions since all functions are made in software and the OC32 and the OC32 NG run 100 identical software The OC32 NG however integrates the options previously offered by the OC32 DS32 combination and...

Страница 4: ...rivers 500mA TBD62083 31 6 1 2 Source Drivers 500mA TBD62783 31 6 1 3 Sink and Source Drivers TBD62083 TBD62783 32 6 1 4 Resistor Array 5V outputs 32 6 1 5 OC32 ADM SI 4 8A power sink driver 33 6 1 6...

Страница 5: ...array A resistor array is the preferred choice if the input port s are to be activated by a push button or the contacts of a relay A resistor array can also be used if the event input is to be activa...

Страница 6: ...protocol is extremely simple just a few characters for a control command and control is unidirectional The OC32 can send command to the external Device but the external Device cannot send anything ba...

Страница 7: ...ptocoupler between both systems Output Voltage V Rs k 6 1 0 7 5 2 4 9 3 9 12 6 8 15 10 18 12 24 18 Q x GND Extern systeem 4k7 Rs Fig 40 External system with Voltage conversion Table 2 Series resistor...

Страница 8: ...the user So configuration needs to be done through one of the serial interfaces 1 The DCC Interface can also be added afterwards by the user All components needed are through hole so not SMD You need...

Страница 9: ...y goes back into the idle position Take care some relays are polarity sensitive It is important to connect the right pole to Vp and to the OC32 output The power supplied by Vp needs to match the volta...

Страница 10: ...anual OC32 NG 2017 Leon van Perlo Version 1 0 December 15 th 2017 Page 39 of 48 6 4 6 Decouplers OC32 I O Pin OC32 ADM SI 4 8A Sink Driver Solenoids may draw up to 1 5A or more That is too much for th...

Страница 11: ...t SMD types also Fig 28 Connecting LEDs antiparallel in 5V mode Q x 1 Q x Q x 1 Q x Fig 29 Connecting LEDs antiparallel in 500mA mode Vp Rv Q x 1 Q x Rv Vp Rv Q x 1 Q x Rv Fig 30 LEDs on the barriers...

Страница 12: ...n like decouplers turnout coils and motors Below you find a number of examples of devices to be found in the miniature world are presented 6 4 1 LED s with common anode OC32 I O Pin 500mA Sink Driver...

Страница 13: ...Manual OC32 NG 2017 Leon van Perlo Version 1 0 December 15 th 2017 Page 13 of 48 Reset jumper Only used to start the bootloader RS485 Termination jumpers Power jumpers DCC Low pass jumper only with DC...

Страница 14: ...wo power groups on the OC32 NG when using Sink Drivers the number of different power supplies is virtually unlimited The load is connected between the plus pole of the power supply and the output of t...

Страница 15: ...is the GND of the communications port that your PC uses to control the layout The 0V GND as stated above of your miniature world has to be connected to the GND connection of the OC32 All points in fig...

Страница 16: ...nterface is hardly ever needed it has been removed to protect the OC32 from unintended errors Control your Miniature World VPEB Manual OC32 NG 2017 Leon van Perlo Version 1 0 December 15 th 2017 Page...

Страница 17: ...ex situations like 3 LEDs on the barrier of an automatic railroad crossing AHOB which are driven with two outputs and two wires Control your Miniature World VPEB Manual OC32 NG 2017 Leon van Perlo Ver...

Страница 18: ...he examples of section 6 4 There is explained which driver you need for specific types of devices 6 1 1 Sink Drivers 500mA TBD62083 This is the default driver delivered with the OC32 NG module A load...

Страница 19: ...nel Full H bridge When changing drivers please observe the following Remove and install drivers only when power is OFF Remove IC s carefully without excessively bending pins Install either regular dri...

Страница 20: ...PC Table 1 below shows which settings of the dip switch correspond to which address For the record this is the standard numbering starting from 0 If your software starts numbering from 1 onwards you...

Страница 21: ...extended addressing shall also be supported by your software When extended addressing used the address is no longer selected by the DIPswitches but instead by a configuration setting in the OC32 flash...

Страница 22: ...connectors both the one on the OC32 and on the U485 have the same pin layout so pin 1 connects to 1 pin 2 to 2 and if applicable pin 3 to 3 The whole will look like the one below figure 12 Fig 11 Term...

Страница 23: ...al converter is limited and therefore there may be a limitation to the number of modules you can connect this way Up to 10 units should normally work fine If you want to connect more modules than your...

Страница 24: ...ultiple OC32 NG s Other options Of course you can combine options 1 and 2 as described above Since the two RJ45 s and the 3 pole connector are electrically connected effectively every OC32 NG can be u...

Отзывы: