By Sunil Malekar (Elektor Labs India) : March & April 2015
By Sunil Malekar (Elektor Labs India) : March & April 2015
By Sunil Malekar (Elektor Labs India) : March & April 2015
A proportional radio control is ideal for controlling the speed and direction of model cars, planes or boats.
Unfortunately, there are often very few facilities for switches on such controllers. With the help of this
circuit you can control five switches using just a single channel. The switching is effected by relays at the
receiver side.
Model planes, boats and cars are usually of available channels), which are used central position of a servo. The position
controlled with a proportional remote con- to drive servos, etc. These signals are of each joystick in the transmitter (in
trol. The control signals from the trans- encoded using pulse-width modulation. the X or Y direction) produces a specific
mitter are processed by the receiver in Each signal is repeated every 20 ms, pulse width.
the model. This then outputs a number where the width of the pulse is between This type of proportional servo control-
of signals (depending on the number 1 and 2 ms; 1.5 ms corresponds to the ler is of course perfect for a continuously
in collaboration with
Radio Controlled
Multi-Switch
Control 5 switches
via 1 channel
adjustable speed or direction of a model, The circuit consists of a single-gate oscil- the pulse coming from the receiver lasts
but it is less easy to implement switching lator, a decade counter and two buffers. between 1 and 2 ms, and is repeated
functions. This requires extra channels, The principle is very straightforward. As at intervals of about 20 ms. This pulse
which may not always be available. soon as a pulse is received, a counter enters the circuit via connector K7 and is
Model boats and trucks in particular often with ten outputs is started. When the then inverted/buffered by gate IC1.A. It
have other functions that you’d like to pulse is finished, one of the outputs will then continues along two different paths.
be able to turn on and off remotely. A be active, depending on the length of the The positive edge of the pulse (which is
siren, water cannon and lights come to pulse. The relays have been connected to right at the start) creates a short pulse
mind. The circuit described here has been the counter outputs in such a way that (by differentiator C2/R2). This is buffered
designed with that purpose in mind: it there always is some dead space between by IC1.B and resets the counter (IC2). At
can control up to five functions using just each pair of switch points. the same time, the clock oscillator built
a single channel. The position of a joy- around IC1.D is started via IC1.C. This
stick or slider determines which function Circuit diagram oscillator generates a square wave of
is turned on. You can only have one of The circuit diagram for the multi-switch 5 kHz (set by P1). This causes the decade
the five functions on at any time. is shown in Figure 1. As we said earlier, counter (IC2) to be incremented every
VCC VCC
IC4
MC7805 +5V
K5
D5 RE5 1 2 1
K6 C10
1 R2 14
C11 C8 C9 C12 2
IC1 100n
2 1N4148
10k
4 3
1000u 100n 100n 470u 7 R7
50V 50V 10k
C7 K4
D4 RE4 1 2 1
& 14 7 2 15 2
& 3 R5 I2 O2
+ 10 3 14 1N4148 4 3
K7 10 IC1.D 4 10k I3 IC3 O3
3 13 1 C5 4 13
11 5 I4 O4
2 12 & 5 5 ULN2003AN 12 K2
6 I5 O5 D2 RE2 1 2 1
1 13 6 47u 50V 6 11
7 I6 O6
P1 9 R4 7 10 2
8 I7 O7
R1
10k CD4017BE 11 10k 1N4148 4 3
9 C4 GND
33k 12
CT 5 8
C1 K1
VSS 47u 50V D1 RE1 1 2 1
8 R3
4n7 2
10k
C3 1N4148 4 3
IC1 = HEF4093BP
RE1...RE5 = OMRON G5NB1A5DC
47u 50V
140088 - 11
Figure 1. The multi-switch uses a decade counter to ‘measure’ the length of the control pulse.
0.2 ms, as long as the oscilla- high in turn. In stops and the counter output that was
tor is on. theory, we could use this method to cre- active at that time will stay in that state
IC2 now counts through the out- ate ten switched outputs. In this instance, until the next input pulse arrives some
puts at 0.2 ms intervals, start- we have only used five of the outputs. 20 ms later. If this pulse has the same
ing with output zero. After 0 ms The intermediate (unconnected) outputs width, as well as those following it, then
the first output (output ‘0’) will serve to create a dead space where no that particular output will (almost) remain
be high, after 0.4 ms it will be relay is activated. active continually. There will just be a
output ‘2’, etc. In this way IC1.D will only generate pulses as long short glitch every 20 ms while the count-
the clock pulses generated as the input signal at K7 is high. In other ing takes place.
by IC1.D will make all words, it will do so for the duration The output signal is averaged with the
outputs go of the pulse. help of integrator networks connected to
When the input the counter outputs (R3/C3 to R7/C7),
signal returns which removes these glitches.
to zero the The outputs of the integrator networks
oscillator are connected to the
Advertentie
Made in UK
28,50
RASPBERRY PI B+
More than 45 years of experience | 24-hour shipping | More than 50,000 products +49 (0)4422 955-360