Category:Function-Modul

From wiki-en
Revision as of 21:19, 13 October 2011 by Siegmund (Talk | contribs) (Created page with '==Function Modules== ===General=== A function module transmits commands to a DC-Car Decoder.<br> There are always 8 outputs available.<br> By using a link, a jumper or a switch …')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Function Modules

General

A function module transmits commands to a DC-Car Decoder.
There are always 8 outputs available.
By using a link, a jumper or a switch 10 different module types are available Supply voltage can be 9 - 12V AC or 10 - 14V DC<br The outputs offer a current of 1A

For more details see: here
construction guide
By using a diode-circuit with 1N400x diodes it is possible to transmit multiple commands nearly simultaneous
This enables controlling by a dcc digital central and, for instance switching the 8 outputs to ON/OFF by using the adresses 1 - 8

Stop module

No links/jumpers or switch OFF Stop module means all 8 outputs sending a stop signal

Function Module A

Basic Commands Connector = command
1 = speed to drive position 0 (stop)
2 = running lights 1 ON
3 = running lights 1 OFF
4 = blinker left ON
5 = blinker right ON
6 = blinker OFF
7 = speed to drive position 14
8 = speed to drive position 28

Function Module B

Flashing Blue light vehicles connector = command
1 = speed to drive position 0 (stop)
2 = anti-collision lights on
3 = blinker OFF
4 = flashing blue-light ON
5 = flashing blue-light OFF
6 = front-flasher ON
7 = front-flasher OFF
8 = speed to drive position 28

Function Module C

Additional lights and speed

1 = light 2 ON
2 = light 2 OFF
3 = light 3 ON
4 = light 3 OFF
5 = speed + 2 drive positions (accelerate)
6 = speed - 2 drive positions (slowdown)
7 = speed to drive position 10
8 = speed to drive position 21

Function Module D

special functions

Function Module E

automatic module

Function Module F

special functions

Function Module G

Flashing blue-light vehicles

Function Module H

standard collection


Mobile transmitter mode

All links (jumpers) or switches ON Now at the outputs the commands of a mobile transmitter are available

Collection as mobile transmitter: the chip has been collected with the functions of the different modules. The letter marks the module, the number its output connector.
D1 time-controlled stop (programmed via CV108) blinker OFF
D5 run-up after stop (time is out) with drive position from CV110 (z.B. 1) blinker OFF
C5 speed +2 (accelerate CV 98)
H2 all lights OFF
A4 blinker left (with CV27=64 blinker right + left (same time) = anti-collision-lights possible)
A5 blinker right (with CV27=64 blinker right + left (same time) = anti-collision-lights possible)
A2 running light 1 (with CV60 light 1, 2, 3 and 4 at the same time possible)
H6 flashing blue-lights and front-flashers with siren (alternative: switch to continuous light for another two lights)

Beispiel

Function Module SW

This module combines the functions of all modules in one.
All links (jumpers) or switches 1 - 8 OFF: all outputs transmit drive position 0 (8 times stop module)
All links (jumpers) or switches 1 - 8 ON: 8 mobile transmitter commands

Link(jumper) or switch "ON":
0 = stop no link
1 = FB-A link 19-9
2 = FB-B link 19-8
3 = FB-C link 19-7
4 = FB-D link 19-6
5 = FB-E link 19-5
6 = FB-F link 19-4
7 = FB-G link 19-3
8 = FB-H link 19-2
all = mobile transmitter mode


Parts List

Parts list fpr function module SW
IC1 Microprocessor SW + socket 28-pin
IC2 socket 20 pin for jumpers or switches
IC3, IC4 78S05 voltage regulator with heat sink and screws
C1, C2 tantalum capacitors 1uF (yellow or blue; plus is either long pin or marked)
C3 tantalum capacitor 4.7uF (yellow; plus is marked)
C4 polarised electrolytic capacitor 1000uF 40 volts
B1 bridge rectifier circuit B80R1500
F1 electronic fuse 1 A (yellow disc or rectangle)
R9 resistor 680 ohms blue, grey brown (1 kOhm also possible )
R1-R8 8 pcs resistor 1,0 KOhm to 2,2 KOhm vertical
T1-T8 8 pcs transistor BD680
X6 1 pcs 2-pin connector
board S8DCC
IR-LED 8 LED selected, 3 mm, 5 mm, flat or SMD0603
resistors 8 pcs 1 KOhm as series resistors for the LED

Description

start with the IC-sockets IC1 and IC2:
plug the 28-pin socket for IC1 in its corresponding drill-holes, turn the board backside and solder it.
Do the same with the socket fpr IC2.
All socket have the mark on their left side.(see pic 1) Now solder resistor R9 (680 ohms) and after this the link from IC2 pin 12 to IC2 pin 19
Now set capacitors C1 and C2 (yellow, 1uF). You have to bend their connencors carefully(!) to make them fit into the board. After this set capacitor C3 (yellow 4.7uF) into the board the same way.

Note: when soldering the capacitors make sure, they are fittet into the board with the correct polarity!

Solder the resistors R5 - R12 (1kOhm - 2kOhm). These resistors are fittet vertical or use SMD!
Now mount the transistors T1 - T8. On pic 6 left side you see how the first transistor is set into the correct position
After this mount and solder the power-connector X6.
solder the link from J25 to J26 (pic 7)
Solder fuse F1 and, after this, solder the bridge rectifier circuit to position B1. Doing this, take care for correct polarity!
Screw the voltage regulators IC3 and IC4(both 78S05) to the heat sink and then mount them to the board (see pic 7), followed by capacitor C4.
Take care for correct position and polarity.
when all is soldered carefully and no unsoldered joint can be found, you now can connect the board to
either 9 - 18V AC or 10 - 18V DC for the first time.
Take a volt meter and check voltage betwen C2 minus and plus of Link J26. If it is 5V DC, this part is ok. Switch power OFF

Now plug IC1=ATmega8L-8PI marked as "SW" into its socket. Switch power ON and check temperature of IC1.
If it runs hot switch power OFF immediately and check position and polarity of the ICs. Also check for short circuits

You choose one out of ten function modules by simply setting a jumper. You dont have to think about which module you need at buying time
Simply set the jumper in another position and the module transmits the choosen 8 commands.
All 8 commands are transmitted semi-simultaneous. This way models with DC-Car decoders can receive different commands at the same time

IR-LED on/in the street

Mounting of the IR-LED on the site:

The IR-LED is placed in or nearby the street in such a way that the cars can "see" the IR-ligt, emitted by the LED and execute the transmitted function at the intended place.
The IR-LED must be adjusted in a way, that the approaching vehicles cann "see" it. On a straight line the vehicles detect the desired function in a distance of approx. 5 - 15cm from the LED
Sometimes a IR-LED influences the traffic on a parallel line too. In this case you can either increase the series resistor to decrease the range of the IR-signal or mount the LED into the street in a way that its IR beam lights vertical only. If yo do the second, please use LED with a wider angle of reflection. Distance of the LEDs shoul be 5 - 10cm, but it is highly recommended to test it in every single case!

When the car passes the first LED it will start slowing down - an when it reaches the second LED in most cases it is that slow,
that it can come to a stop right there.
Using cars with a significiant lag it can be neccessary to use more LEDs

The LEDs are connectet to the same connecort, each using its own series resistor.

Mobile Transmitter SW

Using a more complex circuit, more commands of the SW function module are usable.

Sample

For complexity and error rate are to high for self-construction, our mobile transmitters are produced in series

Actually tthe first upgrades are available:

  • charge connector is designed for 11 - 13V

on the other hand the charge connector delivers low voltage/current so it can be used for testing LED

  • this connector can be extended for use as a continuity tester

LED test function is still available using this feature but another LED shows continuity

  • solder a phototransistor to a plug and plug this into the jack

when the phototransistor is lighted, the LED of the continuity tester will glow
So you can check the IR-signals of the DC-Car System anytime

  • possible extensions

with a built-in DC06 decoder, all signals could be shown by indicator lamps/LED
this wouuld enable you to check if in fact, a mixed signal is transmitted or a single signal only
this would make the mobile transmitter to a unversal tool for the DC-Car System

Function Decoder

Using the function module in DCC mode with a digital central A function module can be extended with a digital input
After extension with a digital input the finction module becomes a function decoder
This enables switching the 8 outputs from a digital central using the addresses 1-8 (9-15)

Gerade in der Kombination mit anderen Funktionen macht das Schalten des Lichtausgang Sinn.

The decoder can be usd the same way as the module but offers switching by using 8 sequenced adresses


- central switching of "stop" for emergency OFF
- central switching of light for day-/night mode

Blinkers are controlled by feedback sensors of junctions, lights are controlled by a digrital address

day/night control with a function decoder
Tag / Nachtsteuerung mit einem Funktionsdecoder.
other functions still can be controlled by switches