copybit killer
enables limitless digital copying
The Serial Copy
Management
System (SCMS)
prevents digital
copying of audio
material from the
second generation
onwards.
Unfortunately, this
protection also
works on home
recordings and so
prevents home
recordists from
digitally copying
their own
musical work more than
GENERAL is easily set up;
once without degradation DESCRIPTION has good clock regeneration
by the SCMS. This prob- The circuit described in this article is
intended for the digital recording or
through the use of PLLs (jit-
terkiller);
lem has been highlighted copying and playback of non-com- gives clear indication (LEDs) of the
mercial musical work. Such recording sampling frequency (32 kHz,
before in this magazine, or copying is possible only when the 44.1 kHz, or 48 kHz);
but it has not gone away copy-prohibit has been eliminated automatically recognizes, and
without any other effect on the audio switches over to, the correct sam-
reason enough to signal. pling frequency;
describe a simple and The design of the circuit is such draws a small current owing to the
that there are no modifications use of CMOS ICs.
inexpensive circuit for required in the existing audio installa-
tion. The circuit is simply inserted in CIRCUIT DESCRIPTION
permanently removing the series with the digital (optical or coax- The block diagram of the copybit killer
copy-prohibit-bit from the ial) link between the relevant record- is shown in Figure 1. It shows that the
ing and playback equipment. copybit killer consists of:
S/PDIF* audio signal. Briefly, the circuit: optical-to-electrical convertor for
requires no modification to the dig- the S/PDIF signals;
ital audio equipment; differentiating network;
is suitable for use with signals on phase-locked loop (PLL) to regen-
optical as well as coaxial lines; erate the clock frequency;
uses readily available components; network for recognizing and pro-
operates without programmable cessing the clock frequency;
Design by H. Hanft ICs such as PALs and EPLDs; network for recognizing and dis-
* Sony/Philips Digital Interface Format the consumer version of the WARNING. The information contained in this article is intended solely for the record-
AES/EBU standard. This standard was devised by the American Audio ing, processing, and copying, of private musical work. The Editor and Publishers dis-
Engineering Society and the European Broadcasting Union to define claim all responsibility for its use that infringes any copyright vested in commercial
the signal format, electrical characteristics, and connectors, to be compact disks and (digital) tape cassettes. Such infringement is entirely the respon-
used for digital interfaces between professional audio products. sibility of the perpetrator.
4k7
10k
1k2
15k
IC2c
facility for inputting signals from a TORX173
R1
47H
C2
R5
4
IC2b
R6
9
8
1 680 6 10 =1 11
standard coaxial cable. This is possible 100
P1
5 =1 680
13
D2
100n IC5d
via audio connector K1 in parallel with 3
IC2a C3 C4
C10 10
R15 D3
the output of IC1 via resistor R2. 1 10n
150
2 4 5 6 10k 3 33p 33p 2x
2 =1
R4 BAT85
C1 D4
10k
6
D5
The differentiating circuit, consisting K1 R2 IC5b
1
100n
of XOR gates IC2aIC2c and RC net- 100
7
10k
4k7
detect the rising or falling edges of the 5V 5V 10n
D6
10k
R20
chronizing the following PLL. 3
SIN
CIN
PLL
DEM
3
SIN
CIN
PLL
DEM
R17
4 1 4 1 5
VCOUT PCP VCOUT PCP 1k2 D9 R24
6 2 6 2 2
CX PC1 CX PC1 IC5a
The regeneration of the clock fre- C5
IC3
PC2
13
R8 C7
IC4
PC2
13
R11 R18
4
1k2
2k2
2k2
1k0
1k2
220
INH INH 8
1k 1k
for frequencies 6.144 MHz (sampling 8 5 8 5
R19 R21
rate 48 kHz) and 5.6448 MHz (sam- R7 C6 R10 C8 C13 C12 C14
4k7
8k2
10k
1k8
pling frequency 44.1 kHz), and the sec- 10n 10n 10n 10n 100n
R27
(IC3 and IC4). These circuits contain C23 28
IC7
1
19 2 11 5 11
4 1D D0 A5
of the resistor that sets the central fre- 2
R29
8k2
A8
A9
18
17
3
4
12
13
D1
EPROM
A6
4
3
12
13
R37 5V
3 D2 A7 10k
quency of the VCO is concerned (R7 A14 16 5 15
D3 A8
25 A8
12 11
A13 15 6 16 24 A9 9
and R10). 1 C16
A12 14 7 17
D4 27C512 A9
21 A10
SRG8 R
8 1
D5 A10 C1/ IC6d
100n A11 13 8 18 23 A11
D6 A11 13
A10 12 9 19 2 A12 74HC164
The network for recognizing the clock D7 A12
A13
26 A13 6 5 9 8
IC6b
4 10
IC6c
20 14 22 3 2
IC6 = 74HC02
1
IC2d
13 IC6a 1
11
=1
R30 A11
R31 A12
R32 A13
R33 A14
R34 A10
12
R35 A9
R36 A8
970069 - 11
H1
H2
D6
D7
D8
D3
R22
R37
R14
R15
R16
R7 R17
C18 R10
R4
D10 D9 D5 D2
C17
K1
C19
C10
D4 C20
C2
C14
P2 P3
C4
R2
IC3
IC4
R12
R11
R21
R20
R18
R19
R13
R9
R8
R6
R5
IC2
IC5
IC1
D1
C6
C8
Parts list C9
R1
C5 C7
C3
L1
C11
C1
Resistors:
C13
C16
R34
IC10
R1, R2, R27 = 100 R30
IC7
IC6
R3 = 15 k R29 R31
C22
R32
OUT1
IC9
R4, R13, R19, R29, R23, R33
R28 C21
R30R37 = 10 k R35 C25
C15
R5, R6 = 680
OUT2
IC8
R36 K3
K2
R7, R14, R16 = 4.7 k R26 IC11
R8, R11 = 2.2 k R27 C27
D11
970069-1
R9, R12 = 220 1-960079 C24 C23 C26
R10, R29 = 8.2 k
H3
H4
tnemgeS )C(
R15 = 150
R17, R22, R24, R25 = 1.2 k
R18 = 1.0 k
R21 = 1.8 k
R26 = 270 (C) Segment
R28 = 4.7
970069-1
P1 = 10 k preset poten-
tiometer
P2, P3 = 1 k preset poten-
tiometer
Capacitors:
C1, C2, C9, C14C24, C26 =
0.1 F, ceramic
C3, C4 = 33 pF
C5, C7 = 100 pF
C6, C8, C10C13 = 0.01 F
C25 = 1 F, 63 V, radial
C27 = 220 F, 25 V, radial
Inductors:
L1 = 47 H
Semiconductors:
D1, D3, D4, D6D8 = BAT85
D2, D5, D9, D10 = LED, high
efficiency
D11 = 1N4002
Integrated circuits:
IC1 = TORX173
IC2 = 74HC86
IC3, IC4 = 74HCT4046
IC5 = LM339
IC6 = 74HC02
IC7 = 74HC164
IC8 = 27C512 (available
ready programmed: Order
no 976516* see Readers
Services towards the end of
this issue)
IC9 = 74HC574
IC10 = TOTX173
IC11 = 78L05
Miscellaneous:
K1, K2 = audio socket for
PCB
K3 = mains adaptor socket
for PCB
PCB Order no. 970069* see
Readers Services towards
the end of this issue
Sub-frame Sub-frame
Sub-frame Format
Sub-frame
Bit 0 1 2 3 4 5 6 7 8 9 26 27 28 29 30 31
Preamble Aux Data LSB Audio Data MSB V U C P
Validity
User Data
Channel Status Data
Parity Bit
Bit management As far as the copy-prohibit-bit is concerned, these are the sub-
frames of frame number 2.
The digital part of the circuit, in conjunction with the associated In short, it is necessary that the status of bit number 30
programming code in the EPROM, provides a sequence con- in the two sub-frames of frame 2 be recognized and, if this bit
trol that recognizes and, if necessary, alters the status of the has been erased, that it is set. If one of these bits is altered, the
copy-prohibit-bit. The process attenuation of the S/PDIF signal next parity bit (bit position 31) of the sub-frame must be inverted.
is equal to one clock cycle. Shift register IC7 continuously sep- This may give rise to eight different situations, which have to be
arates the last eight biphase-bit halves from the serial data taken into account in the programming code in the EPROM
stream and arranges that the halves are available at A0A7. see Table.
The feedback of the data lines to
the address lines via latch IC9 divides the User Data Channel Status Data Parity Bit
memory of the EPROM into 128 blocks of Bit 29 30 31
256 bytes each. In this way it becomes pos- Bi-Bit 58 59 60 61 62 63
sible within a block, depending on the sta- * * 0 0 1 0
tus of address lines A0A7, to select the Case 1
same or another block which is then C=0, P=1 * * 0 1 0 0
enabled at the rising edge of the next clock * * 0 0 1 1
pulse. This arrangement provides process- Case 2
ing control in up to 128 steps. C=0, P=0 * * 0 1 0 1
From the format of the S/PDIF sig- * * 0 1 0 0
nal in the diagram above, it is seen that a Case 3
transfer block consists of 192 frames, each C=1, P=0 * * 0 1 0 0
of which is composed of two sub-frames. * * 0 1 0 1
These sub-frames start with a preamble (X, Case 4
Y, Z) and contain 32 bits. The preambles C=1, P=1 * * 0 1 0 1
serve to mark the onset of a sub-frame; pre- * * 1 0 1 0
amble Z also indicates the start of a new Case 5
C=1, P=1 * * 1 0 1 0
transfer block.
* * 1 0 1 1
Bit 2 of the Consumer Channel
Case 6
Status Block is of special importance for the
C=1, P=0 * * 1 0 1 1
present copybit killer, because unlimited dig- * * 1 1 0 0
ital copying can be carried out only when Case 7
this bit is set. The Channel Status Bit is C=0, P=0 * * 1 0 1 0
located at bit position 30 (biphase-bit-half * * 1 1 0 1
positions 60 and 61) of a sub-frame and Case 8
therefore occurs twice during each frame. C=0, P=1 * * 1 0 1 0
voltage at the relevant PLL (IC3) is the (modified) S/PDIF signal is effected Figure 4. Illustration
measured by comparators IC5b and by IC10, an integrated transmitter from of the completed pro-
IC5d. At the same time, the appropri- the same stable as the integrated input totype board.
ate sampling frequency is indicated by receiver.
D2 or D5. The TTL output signal from latch
IC9 is converted by IC10 into an equiv- is set to 6 V, it is advisable to actually
The core of the copybit killer is the cir- alent optical signal that can be passed measure the output.
cuit for decoding and disabling the on via a standard fibre-glass cable. Just The circuit draws a current of about
copy-prohibit-bit. This digital circuit as at the input, IC10 is shunted by a 80 mA.
consists of edge-triggered 8-bit shift coaxial audio connector, K2.
register IC7, 32 kbyte EPROM IC8, and SETTING UP
edge-triggered 8-bit latch IC9. Th trigger level at the input of the
Address lines A0A7 of the EPROM CONSTRUCTION copybit killer is set with P1. This is best
are controlled via the shift register, The copybit killer is best built on the done with the aid of an oscilloscope by
while latch IC9 provides the feedback printed-circuit board in Figure 3. Pop- making the pulses at the output (pin 8)
of databits D1D7 to addresses A8A14. ulating the board is straightforward by of differentiating network IC8 coincide
This arrangement, in conjunction with consulting the circuit diagram and with one another. This setting, which
the software in the EPROM, ensures parts list as well as the board itself. gives the least jitter., may be checked
that the copy-prohibit-bit is recognized All components are standard items. with other signal sources and sam-
and disabled. The modified S/PDIF sig- As mentioned earlier, IC8 is available pling frequencies so as to obtain a
nal is available at pin 19 of the latch. ready-programmed through our Read- good average.
It would have been possible to use ers Services. Setting the VCO (IC3) with P2 is a
a programmed controller for this part precise operation. It has to be ensured
ofthe copybit killer, but the cicuit as is The functions of the four LEDs are: that the voltage variation of about
forms a less expensive, readily avail- D2 sampling frequency is 48 kHz; 220 mV at the output (pin 10) of IC3 is
able alternative to an EPLD. Moreover, D5 sampling frequency is 44.1 kHz; symmetrical with respect to the input
programming an EPROM with con- D9 sampling frequency is 32 kHz; voltage to IC5b and IC5d (a window of
ventional means is straightforward, D10 input signal is absent or poor. about 80 mV) when the sampling fre-
which is an advantage that must not quency is switched from 44.1 kHz to
be underestimated. When the board has been completed, 48 kHz and vice versa. This measure-
The data for the EPROM is pro- compare it with the photograph of the ment is best carried out with a digital
vided by a small Pascal program that prototype in Figure 4. voltmeter.
produces a binary file of 32768 bytes. The copybit killer may be powered The setting of the second VCO
Constructors need not concern them- by a mains adaptor via K3. The adap- with P3 is not so critical. Make sure,
selves with this since the programmed tor output must not exceed 910 V to however, that the lighting of the rele-
EPROM is readily available through avoid the dissipation limit of IC11 vant LED accords with the sampling
our Readers Services. being exceeded. Since the output of frequency in use.
The electrical-to-optical conversion of some adaptors is already 9 V when it [970069]
LITHIUM-ION
BATTERIES
The most popular innovation in bat-
tery technology over the past few years
has been the introduction of Li+ bat-
teries. These batteries have a higher
capacity than other rechargeable types
now in mass production, such as NiCd
and NiMH. The advantage of Li+ over Figure 2. This four-cell
NiMH is only 1030% when measur- cuit the battery in the NiCd or NiMH battery voltage power source
ing capacity as energy per unit volume, presence of undervolt- charger can be incor- and the battery) across
but volumetric capacity is not the only age or overvoltage. porated into a larger a pass transistor oper-
property to consider: weight is also These protections MOS- system. ating in its linear
important in portable devices. When FETs also enable an alter- region (hen ce the
the capacity is measured as energy per native charging method name linear regulator).
unit mass, Li+ batteries are clearly (applying a constant current with no However, the dissipated power (the
superior (NiMH batteries are relatively voltage limit) in which the MOSFETs are charging current times the drop across
heavy). Because they are lighter, Li+ turned on and off as necessary to this transistor) can cause overheating if
batteries have nearly twice as much maintain appropriate battery voltage. the charger is confined to a small space
capacity per unit mass. The batterys capacitance helps to slow without airflow.
Li+ batteries also have many limi- the rise of battery voltage, but use cau- For example, consider a four-cell
tations. They are highly sensitive to tion: battery capacitance varies widely NiCd battery being charged at 1 A.
overcharging and undercharging. You over frequency, as well as from battery NiCd batteries usually terminate
must charge to the maximum voltage to battery. charging at approximately 1.6 1.7 V
to store maximum energy, but exces- In some applications, intermittent per cell, but the voltage can be as high
sive voltage can cause permanent loads can exceed the main batterys as 2 V per cell, depending on the bat-
damage to a Li+ battery, as can an power capability. A solution to this terys condition and its charging rate.
excessive charging or discharge cur- problem is to provide an additional, The d.c. source voltage must therefore
rent. Discharging the battery also car- rechargeable battery to supply the be greater than 4 2 V = 8 V. The volt-
ries a caveat: repeated discharges to a excess current during a high-load tran- age level of cells in a fully discharged
sufficiently low voltage can cause a loss sient. The main battery then recharges battery can measure as low as 0.9 V
of capacity. Therefore, to protect the the auxiliary battery in preparation for each; in this case, the battery voltage is
battery, you must limit its current and the next transient. Two-way pagers are 4 0.9 V = 3.6 V. If the d.c. source volt-
voltage when it is being discharged as a good example of this arrangement. age is 8 V, the pass transistor sees
well as when it is being charged. Most Pagers generally run from a single AA 83.6 = 4.4 V.
Li+ battery packs include some form alkaline battery, but the load during When a fully discharged battery is
of undervoltage- and overvoltage-dis- transmission is to high for an AA bat- being charged, the dissipated power is
connect circuitry. Other typical features tery to handle. An additional NiCd bat- 4.4 W in the charger and 3.6 W in the
include a fuse to prevent exposure to tery powers the transmitter, and it can batteryan efficiency of only 45%!
excessive current and a switch that be recharged when the transmitter is The actual efficiency is even lower,
opens-circuits the battery if high pres- off, which is most of the time. because the source voltage must be
sure causes it to vent. higher than 8 V to account for dropout
Unlike NiCd and NiMH batteries, CRADLE CHARGERS voltage in the pass transistor and toler-
which require a current source for For cell phones and many other small ance in the source.
charging, Li+ batteries must be devices, the preferred battery-charging A linear, single-cell Li+ battery
charged with a combination current- method involves the use of a separate charger is suitable for use in a cradle
and-voltage source. To achieve the cradle charger into which you place charger (Figure 1). It drives an external
maximum charge without damage, the device or the battery pack. Because power transistor, Q1, that drops the
most Li+ battery chargers maintain a the charger unit is separate, its gener- source voltage down to the battery
1% tolerance on the output voltage. ated heat of less concern than it would voltage. The external transistor
(The slight additional capacity gained be if the charger were integrated into accounts for most of the circuits power
with a tighter tolerance is generally not the device. dissipation; the controller temperature
worth the extra difficulty and expense The simplest circuit for use in a cra- therefore remains relatively constant.
required to achieve it.) dle charger is usually a linear-regulator The result is a more stable internal ref-
For protection, a Li+ battery pack charger. Linear regulators drop the dif- erence, yielding a more stable battery-
usually includes MOSFETs that open- cir- ference voltage (between the direct voltage limit.
S M A R T- B A T T E R Y
CHARGERS
Smart batteries represent a new tech-
nology that is helping designers and
consumers alike. Smart-battery packs
include a controller that can talk
through its serial port to tell an exter-
nal charger what kind of charging rou-
tine the battery requires. This arrange-
ment helps designers, because they can
design a single charger that handles all
batteries compliant with the smart-bat-
tery standard.
Smart batteries also benefit con-
sumers, who can replace a given bat-
tery without regard to its type, as long
as the replacement is smart-battery
compliant. The smart-battery specifi-
cation allows any manufacturer to par-
ticipate in the market, and the result-
ing competition leads to standard
products and lower prices. rent source when pro- Figure 4. This charger source does not exceed
The smart-battery specification was grammed for output is compliant with the 5 V; therefore, the
defined by a consortium of companies currents of 32 mA or smart-battery specifi- power dissipation in
that manufacture batteries, computers, higher. However, the cation, and communi- the current source
and related products. It defines the linear source remains cates with the host remains below 160 mW.
way the battery pack connects to the on to ensure monoto- computer and a smart A diode, D3, is
host system and the way it communi- nicity in the output cur- battery via the placed in series with
cates with the host. It communicates rent regardless of the SMBus interface. the inductor to prevent
via a two-wire serial interface known current-sense resistors a flow of reverse cur-
as the System Management Bus value or offset in the rent out of the battery.
(SMBus), which is derived from the current-sense amplifier. Transistor Q1 The high switching frequency
I2C protocol. A large base of I2C-com- off-loads an otherwise heavy power (250 kHz) of IC2 permits the use of a
pliant Cs capable of controlling dissipation in the internal linear regu- small inductor. The circuit accepts
peripherals on the SMBus is available. lator, which occurs when the the input inputs as high as 28 V, and provides
Smart batteries also provide an ele- voltage is much greater than the bat- pin-selectable maximum output cur-
gant solution to the problem of fuel tery voltage. The base of Q1 is held rents of 1 A, 2 A, and 4 A.
gauging. In a system run by ordinary about 5 V below the input voltage. The [984128]
non-communication batteries, the host voltage across the internal current SMBus is a trademark of Intel Corp.
knows the state of the battery only
when it has been fully charged or dis-
charged. Smart batteries, on the other Table 1. Charging states for the MAX1640
hand, remember their charge state.
When such batteries are switched in
and out of the host, the fuel gauge is D0 D1 Mode Output current
able to maintain the same level of accu- 0 0 off
racy as it would under continuous 0 1 top-off charge VSET/13.3 RSENSE
operation. 1 0 pulse-trickle VSET/13.3RSENSE
In the smart-battery compliant
charger shown in Figure 4, the con- charge (12.5% duty cycle)
troller IC includes an SMBus interface 1 1 fast charge VREF/13.3RSENSE
that allows it to communicate with the
host computer and the smart battery
being charged. Because the switching Table 2. Cell-count setting for the MAX745
regulator and its small, power-efficient
current-sense resistor cannot achieve a
Cell 0 Cell 1 Number of cells
1 mA (min) resolution in charging cur-
rent, the first 31 mA (five LSBs) of out- GND GND 1
put current are supplied by an internal VL GND 2
linear current source. GND VL 3
To preserve high efficiency (89%), VL VL 4
the system actuates a switch-mode cur-
1
Electrostatic dis-
charge (ESD) can
threaten an electronic
system when some-
one replaces a cable
or even touches an
I/O port. Discharges Figure 1. ICs with inadequate ESD
ESD GENERATION
that accompany these Electrostatic discharge appears
protection are subject to cata-
strophic failureinluding ruptured
routine events can when two dissimilar materials passivation, electrothermal migra-
come together, transfer charge, tion, splattered aluminium, contact
disable the port by and move apart, producing a spiking, and dielectric failure.
destroying one or voltage between them. Walk-
ing on a rug with leather soles,
more of its interface for example, can generate voltages as that produced when an IC makes con-
high as 25 kV. The level of electrostatic tact with its handling machinery. By
ICs (see Figure 1). voltage induced depends on the rela- mimicking the ESD events caused by
Such failures can also tive charge affinity between rug and charges that accumulate on moving
shoe leather, the humidity, and other parts, the waveform simulates static
be costlythey raise factors. discharges seen during machine
the cost of warranty ESD TEST
assembly.
The two methods are complemen-
repairs while diminish- METHODS tary, so you shouldnt choose one over
Two methods are commonly used for the other. Because ESD can affect ICs
ing the products per- testing the ESD susceptibility of inte- during manufacturing, during PC
ceived quality. These grated circuits. The oldest, MIL-STD- board assembly, and after the end
833 Method 3015.7, was developed as product is put into service, a test based
and other factors, an aid to understanding the precau- on the human body model and the
coupled with the tions necessary for packaging and
handling ICs. This method tests each
machine model together provides ade-
quate assurance regarding the ICs tol-
increasing amount of package pin against other groups of erance to the rigours of manufacturing
manufacturers
not
received from manufacturers
does not
ing to the lowest voltage for which Some ICs, whose pins are exposed
tion between comput- failure occurs. to the outside world through connec-
their representatives and
its consultants.
The applied signal in this test is a tors, can encounter ESD even when
ers and computer- current waveform derived from a cir- mounted on a PC board within an
cuit called the human body model (see enclosure. ESD exposure is less likely
related equipment,
on information received
Figure 2), which simulates the capaci- for the other pins, which are connected
or its
lend emphasis to the tance and source impedance typical of to circuitry on the board. For this class
Electronics or
a human body. Circuit layout is critical, of IC, a test method such as 3015.7
or their
by Elektor Electronics
need for engineers to because the actual waveform delivered (which tests pin combinations) does
industries or
understand ESD. at the IC depends also on parasitic not provide an adequate representa-
electronics industries
The resulting current waveform repre- Both offer ratings according to the
is based
and electronics
sents the ESD that occurs when a per- lowest-voltage failure on any pinan
experience by
practical experience
son touches an object, such as an IC. approach that may not do justice to the
note is
of this note
The other method, which differs higher levels of internal ESD protection
from the above only in the values for required by the I/O pins (and provided
electrical and
tronic Industries Association of Japan might have I/O pins that withstand
The content
(EIAJ). Called IC-121 and based on a 15 kV, for example, and non-I/O pins
circuit called the machine model, it that fail at 2 kV. With the methods
in the
imply
The
A Maxim Application applies a current waveform similar to stated, the devices ESD rating would
10k
2k7
RE1 = V23127-A0002-A101
D5 R12
R4
82
15k
D1
A R7
22
3
1
7
C CHARGE
R8 *
R9 R11
C1 5
100k
100k
10k
6
D3 IC2
K1 2 BT1
470 R5
1N 2x 1% 1%
25V 4
4001
10k
8
1N4148 D4
TLC271
B
R3
680
T1
D2 C3 C4 C5
R6 R10 D6
10 220 470
5k6
10k
63V P1 16V BC337 25V
500 1% A
POWER BATTERY OK
970092 - 11
H6
2 R8 Resistors:
H4
H3
C4
+A
R9 IC2 R1, R11 = 10 k (12 V) or 3.9 k
R10 (6 V)
R11
-A
D6
R4 R2 = 2.7 k
R3 = 680
R7
R4 = 15 k
D3 C3 C6
C5
R2
R5 = 10 k
D4 R6 = 5.6 k
RE1 REF
D1 D7
D2 R3 R7 = 22
R1 R12
R5 R8 = 100 k (12 V) or,20 k (6 V),
K1 D5
R6 1%
P1 R9 = 100 k (12 V), 1%; not used
C2
C1 IC1 (6 V)
T1
H5
H2
H1
1-290079 R10 = 10 k , 1%
970092-1
R12 = 82
tnemgeS )C(
Semiconductors:
D1, D7 = 1N4001
D2 = LED, yellow, high efficiency
D3, D4 = 1N4148
D5 = LED, red, high efficiency
D6 = LED, green, high efficiency
T1 = BC337
Integrated circuits:
IC1 = 7805 (12 V) or 4805 (6 V)
IC2 = TLC271CP
Figure 2. The
1:6 divider R8R10 printed-circuit board output of the mains Miscellaneous:
ensures that this volt- for the maintenance adaptor to prevent any K1 = socket to suit mains adaptor
age is applied to the charger is available damage to the charger. Re1 = 12 V or 6 V relay (see text)
with single change-over contact
ve (inverting) input of ready-madesee The short-circuit may Non-regulated mains adaptor, 12 V
IC2. Readers Service sec- well irreparably dam- or 6 V output
The reference volt- tion towards the end age the adaptor, PCB Order no. 970092 (see Read-
age of 2.12.3 V is of this issue. though. ers Services towards end of this
applied to the +ve It must also be said issue)
(non-inverting) input that when during
of the IC. The reference voltage is charging the mains adaptor is
derived from the 5 V line, which is reg- switched off, D2 continues to light
ulated by IC1, via potential divider since it is then supplied by the battery course, it will not be charged. In the
R2-R3-P1-D3-D4. Diodes D3 and D4 via the closed relay contact. unlikely case that the relay contact
provide the requisite temperature A red diode, D5, is in series with the closes just at the moment the battery
compensation. relay to indicate that the battery is is being connected with wrong polar-
The hysteresis of the comparator is being charged. ity, the battery may be discharged via
held at a fixed value of 0.2 V by R4. A green LED, D6, in parallel with D1. This will, however, be of short
the battery, indicates whether or not duration since the relay contact opens
DISPLAY AND this is connected correctly (polarity!). only briefly when there is no battery
PROTECTION If the battery is connected with wrong connected to the charger..
polarity, not much can go awry, but, of
The various modes of operation of the
charger are indicated by three light-
emitting diodes (LEDs).
A yellow one, D2, is linked in par- 3
allel with K1 via resistor R1. It lights
when the mains adaptor is connected
and switched on. If the mains adaptor
is not, or wrongly (almost impossible),
connected, the diode does not light. In
this case, diode D1 short-circuits the
Figure 3. Photo-
graph of the com-
pleted prototype
board.
Figure 4. Photograph
of a typical setup for 4
setting the reference
voltage. Note that
although the battery
is shown connected,
it should not be
when setting takes
place.
These days, with technology all around us every day, its hard to think of a world without
computers, and in particular, PCs. In the electronics area, too, many professional work-
ers as well as hobbyists regularly use the number-crunching abilities of a PC. In view of
the huge interest among our readers in computers, processors and controllers, we once
again launch a Contest based on the PC.
The aim of the Contest is to encourage you to design a project covering one of three
themes, measurement, development or communications. Your project may consist of
just software, or a combination of hardware and software. So, start programming and
compete for one of the magnificent prizes our advertisers have donated for the Compe-
tition. The first 100 contestants supplying a working program that meets the Competition
Rules will receive, in January 1999, a free CD-ROM containing all winning projects.
Almost anyone with a keen n interest in to the active electronics designer: into one of the above categories: the
technology has a PC available these PC as a data logger, temperature
days. No matter if you are a construc- Measurement measurement using the PC (optionally
tion engineer or a worker in the elec- Development with a heating control system), an
tronics field, there are lots of occasions Communications insertion card with software enabling
where a computer proves to be very the PC to act as an oscilloscope,
helpful indeed. To help you get oriented in case you process control simulation using the
This year three subject areas were cho- have no subject in mind, here are a PC, designing printed circuit boards,
sen which we feel are sure to appeal few examples of programs that fall drawing schematics, simulating digital
and/or analogue circuits, a lathe con- BASIC and Q-BASIC, runtime modules, known file formats (e.g., GIF or TIF).
trol system, infrared control of the PC, Pascal units, and DLL files for programs
wireless communication between like Visual BASIC. Any runtime modules Program Documentation
PC(s) and peripherals, or software for needed by the program should be Many readers will be interested in the
reception and processing of weather included. operation and general design of your
satellite images. The computer used should be an IBM program. Thats why you should
As you will appreciate from the above compatible PC running MS-DOS (5.0 include a source code file containing
list, each of the three themes is open or later) or Windows (3.1, 3.11 or 95). concise comment on the workings of
to a fairly wide interpretation! The minimum system requirements the program. If you object to the
Send your programs and pertinent are: 486 processor, 4 MB RAM and a source code being published, then
documentation (and, if applicable, 256-colour VGA screen. If a sound omit it, and instead supply a text
any schematics and PCB artwork) to card is used, it should be SoundBlaster description only.
compatible. Files intended for the Jurys eyes only
Elektor Electronics (Publishing) may be stored in a separate folder
1998 Software Competition Supplying the program (A:\JURY).
P.O. Box 1414 The program should be supplied on
Dorchester DT2 8YH one or more 3.5-inch floppy disks, Language
England 1.44-MB DOS format, or on a CD-ROM All software, source files and docu-
(CD-R, ISO-9660 format). Compressed mentation should be in English.
Your project should reach the above (zipped) files are not allowed. More-
address before 20 September 1998. over, each disk you send in has to be Publication
Do not enclose built-up prototypes or checked for viruses using an up-to- The list of winners will be printed in the
any other hardware. If necessary, the date virus checker. December 1998 issue of Elektor Elec-
Jury will ask you to do so. The program should be supplied with tronics. Next, a selection of prize-win-
a short description on paper. This file ning programs will be published in the
GENERAL POINTS should also be present on the disk(s) spring issues of this magazine. Finally,
you supply. It should contain the fol- the complete collection of all prize-
k Only submissions received by post on lowing information: winning projects will be published on
or before 20 September 1998 qualify k program title CD-ROM by early February 1999.
for participation. k authors name, email address and
k Programs are judged mainly on their postal address (if you do not want Checklist
originality, look, technical quality, and your address published on the Com- Before sending us your project, we rec-
ease of use. petition CD-ROM in case your pro- ommend using the checklist below.
k The Jury consists of members of the ject wins a prize, then omit the
Elektor Electronics design team and address from the file(s) on disk); , My program complies with the
international editorial staff. The Jurys k short functional description of the Competition Rules.
decisions are final and not open to program;
discussion, argument or correspon- k description of hardware used (if , All files are contained on one or
dence. applicable); more 3.5-inch floppy disks or a CD-
k By participating in the Contest, the k the software used to produce or ROM. File compression has not been
contestant confirms that he/she is compile the program; applied.
the rightful author of the software k a list of all files on the disk(s).
and associated hardware (if applic- , All files are virus-free.
able), and that he/she assigns all The author(s) should include a copy-
publication rights, without restrictions, right statement in the program ( , A short description of the program is
to Segment b.v., Beek (L), the Nether- 1998 John Doe), while the authors included this text is supplied on
lands, but only in case the project is name should also appear (briefly) paper as well as on disk (ASCII, Word-
awarded a prize. when the program is started. Perfect or Word format).
k The Competition is open to anyone
except employees of Segment b.v. Types of program , All files are in English
and their relatives. The only condition as regards the func-
tion of the program is that it is clearly , Documentation and disks have
related to one of the three themes been properly packaged and sent
COMPETITION Measurement Development Com- by post, in time to reach our Dorch-
RULES munications. ester office before 20 September
Projects may consist of just software, or 1998.
The Program software and hardware. The hardware
The program(s) you supply must be should, however, be either standard for , (Only if hardware of your own design
able to operate on its own, without the PCs (and commercially available), or is included with the project) A circuit
help of commercially available soft- of your own design. In the latter case, diagram, PCB layout and compo-
ware. So, a macro designed for Excel the circuit diagram and PCB artwork nent mounting plan are supplied on
only will not be acceptable. Excep- should also be supplied on floppy disk paper and on disk.
tions to this rule are programs for GW- or CD-ROM using one of the generally
our readers, and (2) the author This problem is simple to One of the rules of thumb that Submitting Articles for
has transferred the relevant solve. Locate the file also applies to NiMH batteries Publication
file(s) and copyrights to us. MSAJT110.DLL on your sys- is that the charging current is Dear Editor I have devel-
tem, and rename it to 1.4 to 1.5 times the specified oped a small project which I
MSAJT200.DLL. The EIT capacity. So, your 1100 mAh would like to offer you for pub-
installer should then work batteries will require a total lication. However, looking at the
Monacor/Monarch Parts properly. charge of 1500 to 1650 mAh. high quality of your ar ticles I
Dear Editor a fair number of A few other readers have In other words, you should fear that what I have wrought
recently published articles are reported that the EIT will not charge them for 12 hours at on my kitchen table is just not
based on components supplied launch after an otherwise suc- 130 mA, or for 32 hours at good enough because of my
by a company called Mona- cessful installation. An error 50 mA. limited skills at technical writ-
cor/Monarch (or even Merca- report File not found then For safe charging a charging ing and my inability to design
tor). To date I have been unable appears. Because this is a rare period of 14 to 15 hours is a high-quality printed circuit.
to locate their representative in problem, we have been unable commonly applied, using a Since I do not find a Call for
the UK and, indeed, any of the so far to discover the exact current equal to 1/10th of the Designs or similar section in
Monacor par ts you specify. cause. A makeshift solution is battery capacity. So, your 130- your magazine, how does one
Where can I obtain these parts to rename the file mAh charger is almost the per- actually go about submitting an
(mostly connectors, trans- MSAJT110.DLL into fect companion for these ar ticle for publication in Elek-
formers and moving-coil MSAJT112.DLL before running batteries. The one advantage tor Electronics?
meters)? the EIT installer. of the 50-mAh charger is that
F. Anderson, Ipswich it allows the batteries to given Well its much simpler than
a much longer charge without you would expect, and theres
any danger. Even continuous no need to have reservations
By most standards, Monacor Charging charging should be without risk about low design standards
is a large supplier of electron- NiMH Batteries at this low current. because we will do the touch-
ic parts with distributors in Dear Editor I have a query ing up if your article is accept-
nearly all European countries. on charging the new NiMH pen- ed for publication.
Until recently, the parent com- light batteries from Philips. On Content is far more important
pany, the German Inter-Mer- the label it says that these bat- Electronic Code Lock than looks. Basically, your cir-
cador GmbH, did not have an teries can be used in any Dear Editor I wish to bring cuit has to be original and
outlet in the UK. Fortunately, charger. With a suspicious to your attention that the out- innovative, and other readers
Monacor UK (Ltd) are now in mind I called the Philips Con- put NAND gate of the Electron- should be able to reproduce it
business and can be reached sumer Information Desk, only ic Code Lock (September as well as grasp its theory of
on the following numbers: tel. to be told that there was no 1997) suffers to a small extent operation. Once your design
(01908) 217100, fax (01908) danger of the batteries being from contact bounce. I was has been accepted for publi-
217900. We should also men- damaged by over-charging. able to prove this by adding a cation, you will receive a remu-
tion that most Monacor com- My actual questions to you are: JK flip-flop set to toggle state neration proposal from the
ponents we refer to can be I have a charger supplying a to the output. Ideally, this flip- Publisher, via our editorial sec-
supplied as one-offs by two of current of 50 mA. The NiMH flop should toggle at every retariat.
our advertisers, Stippler Elec- batteries have a capacity of pulse from IC2d. Unfortunate- Contrary to what you seem to
tronics and C-I Electronics, 1100 mAh. How long should I ly, the application of a NAND think, we do not mind the odd
mainly because they also carry leave them in the charger? I gate with Schmitt trigger inputs spelling mistake or slip of the
kits for many of the projects also have another charger with is no guarantee for complete pen in your writs because most
featured in Elektor Electronics. 130 mA output capacity. How elimination of pulses resulting articles are virtually rewritten
long should I leave it on to from contact bounce. I was by our editorial staff in close
recharge my NiMH batteries? able to cure this problem by co-operation with one of our
My questions may appear very connecting a 1-F electrolytic internal design engineers
Elektor Item Tracer simple, but I am fully aware of capacitor between pin 12 of appointed to oversee your pro-
Dear Editor I recently the fact that the total amount of IC2d and ground. In this way, ject technically. So, theres
ordered and received the Elek- energy needed to charge the the input remains logic low suf- absolutely no need to submit
tor Item Tracer (EIT). However batteries is greater than the ficiently long (approx. 1 s), and any mil-spec documents!
I have not been able to run the energy I can drain from them. bounce pulses generated when What we do need, however, is
program despite the fact that I would also like to fully charge S4 is released do not reach the a clear circuit diagram, short
all files are present according the batteries without any risk of output any more. descriptions of the circuit oper-
to your checking program. over-charging. C. Tribolet ation and software (if used),
I get the message Cannot find S. van Rhijn, Netherlands and sources for all compo-
MSAJT200.DLL when I try to nents used.
run the program, and then the Contact bounce pulses are Although not strictly required,
installation program terminates. One of the major differences notorious troublemakers in dig- article proposals should be
I remember seeing something between NiCd and NiMH bat- ital circuits. For the problems supplied on disk, using any of
about this in a past issue but teries is that the latter are you report with the Electronic the popular file formats for
can not now locate the relevant slightly less robust and less Code Lock, the addition of a 1- word processing and PCB
issue. Please tell me how to get tolerant of high charging and F cap is a possible solution. design. Why not give it a try?
the missing file, preferably discharging currents. The lat-
through the Internet. ter fact is important for fast
Michail Kalognomos, by email charging only.
Sure, there must be properly working a battery. So, during the measurement a totally electronic alternative: an array
testers around, but the ones we a certain current must be drawn from of LEDs with different colours. How-
picked up and examined were not up the battery. Not a lot, mind you, but ever, to make an LED light, you need
to much. Okay, the designs may be not so little either that no response is a voltage between 1.6 V and 2.4 V. A bit
simple (so is ours presented here), but seen to the load. of a problem, obviously, if you use a
most off-the-shelf testers are so poorly The second important aspect to 1.5-V battery as the power source!
dimensioned that their battery condi- observe is to set up realistic values for The problem was solved by calling
tion indications are of little or no use. the reference levels used during the in the help of an astable multivibrator
Some testers already indicate that the voltage measurements. The present (AMV). Here, the AMV is built around
battery is okay if the thing produces design is based on three test levels: T1 and T2, and converts the 1.5-V bat-
any voltage at all, while others do not 1.3 V, 1 V and 0.7 V. A measured volt- tery voltage connected to K1 into an
produce a good verdict until a volt- age of 1.3 V or higher indicates a alternating voltage with a level of more
age of 2 V is measured; a cell voltage good cell condition; between 1.3 and than 5 Vpp which is developed across
no dry battery will ever be able to 1 V indicates acceptable; below 1 V choke L1. The output frequency of the
produce! indicates poor, and below 0.7 V indi- AMV is about 11 kHz.
So what are the must have features cates flat. The voltage across L1 is ample for
of a good battery tester? Well, things our application because a usable
are simpler than you might expect. TWO TRANSISTORS tester may, in principle, be built by
Firstly, the voltage measurement AND THREE LEDS shunting the choke with an LED and
should take place when a certain load A look at Figure 1 will convince you a properly dimensioned series resis-
is connected to the battery. Thats that the circuit diagram of the battery tor. As you can see from the circuit
because the no-load cell voltage does tester is pleasantly simple. Well, it diagram, two LEDs are connected in
not tell us everything about the state of could have been even simpler had we parallel with L1. Series resistor R4
used the traditional moving-coil meter belongs with the red LED, D1. Its
for the read-out. Because of the vul- value is such that the LED lights
nerability and cost of such a mechani- when the input voltage is just over
Design by W. Zeiller cal meter, we decided to replace it by 1 V. The green LED, D2, has a zener
470
1V5
100
10k
10k
47n
polarity of the LEDs and the zener
1V4 470H diodes, in particular, D3. In general,
D1 D2 K1
zener diodes for low voltages are actu-
C1 C4 ally stabistors, or series-connected
rood groen
zener diodes. As compared with real
A 22n 22n
rouge vert C3 zener diodes, stabistors are fitted the
red
rot
green
grn
T2 47n T1 R6 wrong way around on the printed cir-
cuit board. Dont worry, you cant
10
B damage the circuit if you fit D3 the
BC550C BC550C wrong way around: only D2 will then
9V D5
refuse to light.
K2 5V6 Our final remark also concerns D3.
* zie tekst
Because of the rather loose tolerance
R5
* see text
* siehe Text
100
therefore, not made low by one The transistor conducts, so that the transistor, since the potential the gate-source potential is less
of the ICs. The gate and source the 5 V section is pulled low by at the source is a few volts below than 2 V. Also, its channel resis-
are both at 3.3 V so that the the transistor and the relevant that at the gate. Since FETs can tance must be lower than
transistor is cut off. The I2C bus IC. This means that the low conduct in two directions, the 100 , and it must be able to
at the right section is not level at the left section is trans- left section is made low via the carry a current of at least
affected and this line is also ferred to the right section. transistor and the relevant IC in 10 mA. Its input capacitance
high, but here the high level is the right section. So, again the should not exceed 100 pF and it
5 V (in the left section, it is 3. An IC in the right section low level is transferred. should be capable of switching
3.3 V). makes the bus low. The left sec- within 5 ms. Suitable Philips
tion is pulled low via the diode It is obvious that the FETs types are the BSN10, BSN20,
2. An IC in the left section in the transistor, not necessarily used must have some specific BSS83, and BSS88.
makes the bus low. The level at to zero but to a level a diode volt- properties. One of the most [984019]
the source of the transistor is age above zero. This level is, important of these is that the
0 V and that at the gate, 3.3 V. however, low enough to switch on transistor must conduct when
003
therefore, not made low by one The transistor conducts, so that the transistor, since the potential the gate-source potential is less
of the ICs. The gate and source the 5 V section is pulled low by at the source is a few volts below than 2 V. Also, its channel resis-
are both at 3.3 V so that the the transistor and the relevant that at the gate. Since FETs can tance must be lower than
transistor is cut off. The I2C bus IC. This means that the low conduct in two directions, the 100 , and it must be able to
at the right section is not level at the left section is trans- left section is made low via the carry a current of at least
affected and this line is also ferred to the right section. transistor and the relevant IC in 10 mA. Its input capacitance
high, but here the high level is the right section. So, again the should not exceed 100 pF and it
5 V (in the left section, it is 3. An IC in the right section low level is transferred. should be capable of switching
3.3 V). makes the bus low. The left sec- within 5 ms. Suitable Philips
tion is pulled low via the diode It is obvious that the FETs types are the BSN10, BSN20,
2. An IC in the left section in the transistor, not necessarily used must have some specific BSS83, and BSS88.
makes the bus low. The level at to zero but to a level a diode volt- properties. One of the most [984019]
the source of the transistor is age above zero. This level is, important of these is that the
0 V and that at the gate, 3.3 V. however, low enough to switch on transistor must conduct when
003
R2
R4 C4
R1
22k
+ R5
47p
0
R4
R3
R7
1
L1
* C8 C10
C4
C1
C3
R1 5 0H7
10
R6
1k
C2 R7
- C5 C1
C6
R8
22 IC1 3
10 R9 T
LM3886
220p
9 - +
7 954083-1
1-380459 LS1 MUTE
R2 R3 R6 LS+
MUTE 4
LS1
*
22k
1k
8
954083-1
8
LS
C3 C5 C6
22 100
*
40V 40V
R8 C8 C10
22k
MUTE 100n 2200
40V
R9
22k
(C) ELEKTOR
984062 - 11 35V
004
9V
The regulator described here
100
* see text
is rather thriftier: it draws a cur- 25V
rent of only 300 A and the dif- * voir texte
ference between its input and
output is only 100200 mV * siehe Text P1
In the circuit diagram, T1 is * zie tekst 10k
arranged as a series regulator,
which means that the difference T1 = BC558B/ T2,T3 = BC548B/
between input voltage and out- BC557B BC547B 984015-11
put voltage is limited to the tran-
sistors saturation potential.
Therefore, a 9 V battery can be ulator. variable reference voltage drops below a desired level, the
discharged to about 5 V, which Diodes D1-D2-D3, or a suit- source, which is used as the base potential of T3 also drops.
is quite an improvement on the able zener diode (D4), in con- (output-dependent) base poten- The transistor then conducts
situation with an integrated reg- junction with R5 and P1, form a tial of T3. If the output voltage less hard and its collector volt-
R2
R4 C4
R1
22k
+ R5
47p
0
R4
R3
R7
1
L1
* C8 C10
C4
C1
C3
R1 5 0H7
10
R6
1k
C2 R7
- C5 C1
C6
R8
22 IC1 3
10 R9 T
LM3886
220p
9 - +
7 954083-1
1-380459 LS1 MUTE
R2 R3 R6 LS+
MUTE 4
LS1
*
22k
1k
8
954083-1
8
LS
C3 C5 C6
22 100
*
40V 40V
R8 C8 C10
22k
MUTE 100n 2200
40V
R9
22k
(C) ELEKTOR
984062 - 11 35V
004
9V
The regulator described here
100
* see text
is rather thriftier: it draws a cur- 25V
rent of only 300 A and the dif- * voir texte
ference between its input and
output is only 100200 mV * siehe Text P1
In the circuit diagram, T1 is * zie tekst 10k
arranged as a series regulator,
which means that the difference T1 = BC558B/ T2,T3 = BC548B/
between input voltage and out- BC557B BC547B 984015-11
put voltage is limited to the tran-
sistors saturation potential.
Therefore, a 9 V battery can be ulator. variable reference voltage drops below a desired level, the
discharged to about 5 V, which Diodes D1-D2-D3, or a suit- source, which is used as the base potential of T3 also drops.
is quite an improvement on the able zener diode (D4), in con- (output-dependent) base poten- The transistor then conducts
situation with an integrated reg- junction with R5 and P1, form a tial of T3. If the output voltage less hard and its collector volt-
22k
22k
output voltage. tor potential of T2 may be used IC1 1
T4 T4 4049
The design of the reference to drive a BATT-LOW indicator. 3 2
voltage source is clearly of para- This may be done in three ways 1
mount importance. The current as shown in Figure 2. R7a D5 R7a R7b 8
through the LEDs or the zener When network a is con-
82k
82k
2M2
diode is of the order of only nected between terminals A and R8a R8b
100 A. This means that the B, transistor T4 will normally be
270
10k
drop across a 5.1 V zener diode held cut off by divider R6-R7a. B B B
is only 4.3 V and across each If then the voltage at B drops 984015-12
LED, only about 1.43 V. For a suddenly, T4 conducts, where-
wanted output voltage of 4.8 V, upon D5 indicates that the bat-
the three LEDs proved very tery is nearly flat.
effective, whereas the zener did The network in b is similar damaged. The regulator can provide a
not. It may well be necessary, if to that in a, but is intended for a When the regulator has been current of up to about 25 mA.
a zener diode is used, to try one liquid-crystal display of BATT built, connect it to a variable With a fresh 9 V battery, the dis-
rated at 4.7 V. If, however, an LOW. The collector of T4 is power supply via a multimeter sipation of T1 does not exceed
output voltage of 5 V is wanted, linked to the IC that drives the set to the mA range and set P1 100 mW. If the input voltage is
it will be necessary to carefully decimal point and the BAT- roughly at its mid-position. Turn higher, it may be necessary to
select a zener diode. LOW segment of the display. P1 slowly until the desired out- mount the transistor on a suit-
When the battery voltage has Network c may be used if put voltage is obtained. able heat sink or replace it by a
dropped to a level where it is there is an unused inverter or If with an output voltage of power transistor, for instance, a
only marginally higher than the gate in the circuit to be pow- 4.8 V the regulator draws a cur- Type BD138.
wanted output voltage, T1 and ered. The high value of resistor rent of more than 250300 A, [985015]
T2 conduct hard. A further drop R7b prevents the internal pro- the three LEDs or zener diode
in the battery voltage will cause tection diodes of the IC being must be replaced.
005
10n
tion. 2x 1N914 C1 alternating supply voltage from
If an output signal that is D1 10n
combining with the sensor out-
D2
directly proportional to the cel- L1 L2 put. Capacitor C5 prevents a
sius temperature scale is IC1 1 100mH 100mH direct current through R3, since
desired, the present circuit, +VS liaison bifilaire
two-wire line R3
this would attenuate the temper-
C3 R2
which uses a Type LM45 sensor, VO 2 ature-dependent voltage.
1k
1k tweedraads-verbinding
offers a good solution. The 100n LM45C The output load should have
GND
LM45 sensor is powered by an 3
C2 C4 C5 a high resistance, some 100 k
alternating voltage, while its out- 100n 100n 1
or even higher.
put is a direct voltage. The circuit draws a current
The supply to the sensor is 984025 - 11 of a few mA.
provided by a sine-wave gener- [984025]
ator, based on A1 and A2 (see
diagram). The alternating volt-
22k
22k
output voltage. tor potential of T2 may be used IC1 1
T4 T4 4049
The design of the reference to drive a BATT-LOW indicator. 3 2
voltage source is clearly of para- This may be done in three ways 1
mount importance. The current as shown in Figure 2. R7a D5 R7a R7b 8
through the LEDs or the zener When network a is con-
82k
82k
2M2
diode is of the order of only nected between terminals A and R8a R8b
100 A. This means that the B, transistor T4 will normally be
270
10k
drop across a 5.1 V zener diode held cut off by divider R6-R7a. B B B
is only 4.3 V and across each If then the voltage at B drops 984015-12
LED, only about 1.43 V. For a suddenly, T4 conducts, where-
wanted output voltage of 4.8 V, upon D5 indicates that the bat-
the three LEDs proved very tery is nearly flat.
effective, whereas the zener did The network in b is similar damaged. The regulator can provide a
not. It may well be necessary, if to that in a, but is intended for a When the regulator has been current of up to about 25 mA.
a zener diode is used, to try one liquid-crystal display of BATT built, connect it to a variable With a fresh 9 V battery, the dis-
rated at 4.7 V. If, however, an LOW. The collector of T4 is power supply via a multimeter sipation of T1 does not exceed
output voltage of 5 V is wanted, linked to the IC that drives the set to the mA range and set P1 100 mW. If the input voltage is
it will be necessary to carefully decimal point and the BAT- roughly at its mid-position. Turn higher, it may be necessary to
select a zener diode. LOW segment of the display. P1 slowly until the desired out- mount the transistor on a suit-
When the battery voltage has Network c may be used if put voltage is obtained. able heat sink or replace it by a
dropped to a level where it is there is an unused inverter or If with an output voltage of power transistor, for instance, a
only marginally higher than the gate in the circuit to be pow- 4.8 V the regulator draws a cur- Type BD138.
wanted output voltage, T1 and ered. The high value of resistor rent of more than 250300 A, [985015]
T2 conduct hard. A further drop R7b prevents the internal pro- the three LEDs or zener diode
in the battery voltage will cause tection diodes of the IC being must be replaced.
005
10n
tion. 2x 1N914 C1 alternating supply voltage from
If an output signal that is D1 10n
combining with the sensor out-
D2
directly proportional to the cel- L1 L2 put. Capacitor C5 prevents a
sius temperature scale is IC1 1 100mH 100mH direct current through R3, since
desired, the present circuit, +VS liaison bifilaire
two-wire line R3
this would attenuate the temper-
C3 R2
which uses a Type LM45 sensor, VO 2 ature-dependent voltage.
1k
1k tweedraads-verbinding
offers a good solution. The 100n LM45C The output load should have
GND
LM45 sensor is powered by an 3
C2 C4 C5 a high resistance, some 100 k
alternating voltage, while its out- 100n 100n 1
or even higher.
put is a direct voltage. The circuit draws a current
The supply to the sensor is 984025 - 11 of a few mA.
provided by a sine-wave gener- [984025]
ator, based on A1 and A2 (see
diagram). The alternating volt-
3.0 mm
of logic circuits. Last year, for (DBV) real advantages. Designers no logic 74AHC00, that is, a single
instance, attention was drawn to longer need to worry about gates NAND gate.
SOP-5
(DBV)
the AHC (advanced high-speed not being used. Also, it becomes The AHC series is further
CMOS) series. Logic circuits in 3.1 mm possible to locate the gate at a extended by much larger
this series are three times as fast 984016 - 11
more suitable space on a board devices to meet the require-
as similar circuits in the HC than quad gates. All this makes ments of 16-bit or 32-bit wide
(high-speed CMOS) series. An the devices more functional and buses. These chips have more
important benefit of the series only one gate and not four or six more compact, which improves gates than before, and are mar-
is that devices can work from as had become usual. Single- their EMC properties. The plac- keted as Widebus circuits. For
3.3 V and 5 V supplies. gate logic circuits are housed in ing of quad-gate or six-gate instance, a Type 74AHC16244
Later last year, Texas Instru- SOP-5 5-pin cases, which mea- devices on a board is almost is a dual 244, that is, a 16-bit
ments and Philips Semiconduc- sure only 33.1 mm (quad-gate invariably a compromise which data buffer.
tors brought out a number of circuits housed in makes signal lines unnecessar- More information on these
new, single-gate logic, devices TSSOP 14-pin cases occupy ily long. new circuits may be found on
in the AHC series. As the name 33.66 mm2). Microgate Logic devices are Internet page www.ti.com/-
indicates, these devices provide The new devices are mar- distinguished from normal AGC sc/docs/as1/lit.htm. [984016]
007
universal
lead-acid battery protector
1 TOP VIEW 2 F1 B
2x 1N4148
REFERENCE
OUTPUT 1 8 REFERENCE
FEEDBACK
P1 R4 R5
D1 D2
1N4148
*
100k
100k
OP AMP 220k
INPUT () 2 LM10(C) 7 V+ C4 D3 RE1
C1
OP AMP R1
INPUT (+) 3
6 OP AMP
100
OUTPUT
* 12V
470k
50V
10n
(>100)
V 4 5 BALANCE 7
8
R3
1 2 T1
IC1a RL1
BALANCE OUTPUT
REFERENCE
FEEDBACK V+
100k
IC1b
6
R8
*
2k2
5 6 8 7
3
intern. BD139
ref. R7
REFERENCE
2 R2 4 R6 100k R9
*
OUTPUT
INPUTS
S1 C2 C3
OP AMP REF AMP 1
10k
100k
2k2
3
47 22 B
REFERENCE 200mV 50V 50V
3.0 mm
of logic circuits. Last year, for (DBV) real advantages. Designers no logic 74AHC00, that is, a single
instance, attention was drawn to longer need to worry about gates NAND gate.
SOP-5
(DBV)
the AHC (advanced high-speed not being used. Also, it becomes The AHC series is further
CMOS) series. Logic circuits in 3.1 mm possible to locate the gate at a extended by much larger
this series are three times as fast 984016 - 11
more suitable space on a board devices to meet the require-
as similar circuits in the HC than quad gates. All this makes ments of 16-bit or 32-bit wide
(high-speed CMOS) series. An the devices more functional and buses. These chips have more
important benefit of the series only one gate and not four or six more compact, which improves gates than before, and are mar-
is that devices can work from as had become usual. Single- their EMC properties. The plac- keted as Widebus circuits. For
3.3 V and 5 V supplies. gate logic circuits are housed in ing of quad-gate or six-gate instance, a Type 74AHC16244
Later last year, Texas Instru- SOP-5 5-pin cases, which mea- devices on a board is almost is a dual 244, that is, a 16-bit
ments and Philips Semiconduc- sure only 33.1 mm (quad-gate invariably a compromise which data buffer.
tors brought out a number of circuits housed in makes signal lines unnecessar- More information on these
new, single-gate logic, devices TSSOP 14-pin cases occupy ily long. new circuits may be found on
in the AHC series. As the name 33.66 mm2). Microgate Logic devices are Internet page www.ti.com/-
indicates, these devices provide The new devices are mar- distinguished from normal AGC sc/docs/as1/lit.htm. [984016]
007
universal
lead-acid battery protector
1 TOP VIEW 2 F1 B
2x 1N4148
REFERENCE
OUTPUT 1 8 REFERENCE
FEEDBACK
P1 R4 R5
D1 D2
1N4148
*
100k
100k
OP AMP 220k
INPUT () 2 LM10(C) 7 V+ C4 D3 RE1
C1
OP AMP R1
INPUT (+) 3
6 OP AMP
100
OUTPUT
* 12V
470k
50V
10n
(>100)
V 4 5 BALANCE 7
8
R3
1 2 T1
IC1a RL1
BALANCE OUTPUT
REFERENCE
FEEDBACK V+
100k
IC1b
6
R8
*
2k2
5 6 8 7
3
intern. BD139
ref. R7
REFERENCE
2 R2 4 R6 100k R9
*
OUTPUT
INPUTS
S1 C2 C3
OP AMP REF AMP 1
10k
100k
2k2
3
47 22 B
REFERENCE 200mV 50V 50V
battery voltage remains above switched off. This enables the arrangement ensures that when straightforward. Connect a vari-
the cell level of 1.831.85 V, the circuit to be reactuated again the battery voltage recovers after able power supply in place of
output of A1 (pin 1) is low. This quickly when necessary. the load has been decoupled, the battery with a multimeter set
is of no consequence, since the The high level at the output the protector is not reset auto- to the 20 V direct voltage range
inverting (ve) input of op amp of A2 causes T1 to conduct, so matically. Such a reset would parallel across its terminals.
A2 is held at half the supply that the relay is energized. The almost always be undesired, Adjust P1 until the relay opens
voltage by R4. impedance of the relay coil since as soon as the load would at a voltage of 5.5 V (6 V bat-
Op amp A2 is arranged as a should not exceed 100 . be reconnected, it would be tery); 11 V (12 V battery) or
Schmitt trigger with switching When the battery voltage uncoupled again. The result 22 V (24 V battery).
levels at 1/3 and 2/3 of the sup- drops below the critical level, would be an oscillatory process. The component values in the
ply voltage level via R5, R6 and the output of A1 changes from It is clear that a manual reset circuit diagram are for a 12 V
R7. The output of the op amp, low to high, whereupon the level is better and this is effected by battery version. In case of a 6 V
pin 6, should go high immedi- at the inverting input of A2 short-circuiting C2 briefly by battery, the value of R1 must be
ately the supply is switched on (pin 2) rises above the level of operating push-button switch S1. lowered to 220 k, that of R8 to
and remain so as long as the 2/3 the supply voltage. The out- Note that a reset also occurs 1.2 k, and that of P1 to
battery is not discharged. This is put of A2 goes low, T1 is cut off, when the supply is switched off 100 k. For a 24 V battery, the
arranged by C2, C3, D1 and D2. and the relay is deenergized, and then on again. If, neverthe- value of R1 must be increased to
Since the value of C3 is only whereupon the load is decou- less, an automatic reset is 1 M and that of R8 to 4.7 k.
half that of C2, the potential at pled from the battery. desired, this is easily arranged Finally, the voltage rating of
pin 2 rises more slowly than that Resistor R4 limits any volt- by the removal of R4. Be the relay coil must, of course, be
at pin 3. The output of A2 thus age variations at pin 2 of A2 to warned, however, that this the same as the nominal battery
goes high and remains so. the upper half of the supply volt- makes sense only if the charging voltage. [R. Lalic 984020]
Diodes D1 and D2 ensure age. This means that when the of the battery is started when the
that C2 and C3 are discharged output of the op amp goes low, it auto reset occurs.
rapidly after the supply is stays so until a reset. This Calibrating the circuit is
008
dc-dc converter
9V
C6 C7
10
R1
470 16V 100n
R2
1k
8 4
7 R
DIS
R3 IC1 C3 9V
33k
D2
3
OUT
6 TLC
THR 555 100
2 TR 10V
CV
5 1
C1 C2 D1 C4 C5
2x BAT85 984027 - 11
This design is based on the cel- circuit requiring a symmetrical COMPONENTS LIST C2 = 10nF
ebrated 555 timer IC, and supply rails. C3 = 100F 10V radial
changes a positive voltage of 9 V The TLC555 is a CMOS ver- Resistors: C4 = 1000F 16V radial
into a negative one. A low-power sion of the older bipolar NE555. R1 = 10 C5,C7 = 100nF
R2 = 1k C6 = 470F 16V radial
dc-dc converter like the one If you can not get hold of a
R3 = 33k
shown here may be required TLC555, you may use the 7555 Semiconductors:
sometimes when working with instead. Here, the TLC555 is Capacitors: D1,D2 = BAT85
battery-powered equipment or connected up as an astable mul- C1 = 1nF IC1 = TLC555 or 7555
older ICs that somehow call for tivibrator with R2, R3 and C1
a low-current negative bias. The acting as the frequency deter-
circuit is also fine if you want to mining components. The oscil- 20 kHz. The squarewave pro- factor of about 0.5 and is fed to a
use a single battery to power a lation frequency is about duced by the oscillator has duty cascade rectifier, C3-D1-D2-C4.
battery voltage remains above switched off. This enables the arrangement ensures that when straightforward. Connect a vari-
the cell level of 1.831.85 V, the circuit to be reactuated again the battery voltage recovers after able power supply in place of
output of A1 (pin 1) is low. This quickly when necessary. the load has been decoupled, the battery with a multimeter set
is of no consequence, since the The high level at the output the protector is not reset auto- to the 20 V direct voltage range
inverting (ve) input of op amp of A2 causes T1 to conduct, so matically. Such a reset would parallel across its terminals.
A2 is held at half the supply that the relay is energized. The almost always be undesired, Adjust P1 until the relay opens
voltage by R4. impedance of the relay coil since as soon as the load would at a voltage of 5.5 V (6 V bat-
Op amp A2 is arranged as a should not exceed 100 . be reconnected, it would be tery); 11 V (12 V battery) or
Schmitt trigger with switching When the battery voltage uncoupled again. The result 22 V (24 V battery).
levels at 1/3 and 2/3 of the sup- drops below the critical level, would be an oscillatory process. The component values in the
ply voltage level via R5, R6 and the output of A1 changes from It is clear that a manual reset circuit diagram are for a 12 V
R7. The output of the op amp, low to high, whereupon the level is better and this is effected by battery version. In case of a 6 V
pin 6, should go high immedi- at the inverting input of A2 short-circuiting C2 briefly by battery, the value of R1 must be
ately the supply is switched on (pin 2) rises above the level of operating push-button switch S1. lowered to 220 k, that of R8 to
and remain so as long as the 2/3 the supply voltage. The out- Note that a reset also occurs 1.2 k, and that of P1 to
battery is not discharged. This is put of A2 goes low, T1 is cut off, when the supply is switched off 100 k. For a 24 V battery, the
arranged by C2, C3, D1 and D2. and the relay is deenergized, and then on again. If, neverthe- value of R1 must be increased to
Since the value of C3 is only whereupon the load is decou- less, an automatic reset is 1 M and that of R8 to 4.7 k.
half that of C2, the potential at pled from the battery. desired, this is easily arranged Finally, the voltage rating of
pin 2 rises more slowly than that Resistor R4 limits any volt- by the removal of R4. Be the relay coil must, of course, be
at pin 3. The output of A2 thus age variations at pin 2 of A2 to warned, however, that this the same as the nominal battery
goes high and remains so. the upper half of the supply volt- makes sense only if the charging voltage. [R. Lalic 984020]
Diodes D1 and D2 ensure age. This means that when the of the battery is started when the
that C2 and C3 are discharged output of the op amp goes low, it auto reset occurs.
rapidly after the supply is stays so until a reset. This Calibrating the circuit is
008
dc-dc converter
9V
C6 C7
10
R1
470 16V 100n
R2
1k
8 4
7 R
DIS
R3 IC1 C3 9V
33k
D2
3
OUT
6 TLC
THR 555 100
2 TR 10V
CV
5 1
C1 C2 D1 C4 C5
2x BAT85 984027 - 11
This design is based on the cel- circuit requiring a symmetrical COMPONENTS LIST C2 = 10nF
ebrated 555 timer IC, and supply rails. C3 = 100F 10V radial
changes a positive voltage of 9 V The TLC555 is a CMOS ver- Resistors: C4 = 1000F 16V radial
into a negative one. A low-power sion of the older bipolar NE555. R1 = 10 C5,C7 = 100nF
R2 = 1k C6 = 470F 16V radial
dc-dc converter like the one If you can not get hold of a
R3 = 33k
shown here may be required TLC555, you may use the 7555 Semiconductors:
sometimes when working with instead. Here, the TLC555 is Capacitors: D1,D2 = BAT85
battery-powered equipment or connected up as an astable mul- C1 = 1nF IC1 = TLC555 or 7555
older ICs that somehow call for tivibrator with R2, R3 and C1
a low-current negative bias. The acting as the frequency deter-
circuit is also fine if you want to mining components. The oscil- 20 kHz. The squarewave pro- factor of about 0.5 and is fed to a
use a single battery to power a lation frequency is about duced by the oscillator has duty cascade rectifier, C3-D1-D2-C4.
+
lower forward voltage drop of quency noise.
about 0.4 V as against 0.7 V for The input supply voltage to
0
IC1
silicon diodes like the ubiqui- the TLC555 is decoupled by
C7
C6
C3
C1
tous 1N4148. The rectified volt- R1, C6 and C7. Current con-
-
D1
C2
C4 C5 D2
Battery voltage: 9.1 V
overload protection
Design: T. Giesberts K1 K2 uring T1 as a diode reduces the
R1
Although the protection circuit 150 number of components needed
is fairly simple, it forms an D3 D1 to a minimum: not even a volt-
effective guard against overload age divider or potentiometer is
4x
of the input of amplifiers and 1N4148 required.
loudspeakers. Why these inputs Measurements on the pro-
may need protection now that D4 D2 T1 totype show that the input signal
line levels have been standard- remains virtually undistorted at
ized is because there are signal levels up to 700 mV r.m.s. At the
sources on the market that gen- BC617
threshold of 1 V r.m.s., the dis-
erate outputs of several volts tortion is about 0.02%. Above
instead of the standardized 1 V this level, limiting is well-
984042 - 11
r.m.s. Also, in some applica- defined. The peak output volt-
tions, the loudspeaker signal is age of the circuit is about 3 V
applied to the line output of a series resistor and zener diode. values, which gives rise to with an input voltage of about
separate amplifier via a voltage Here, however, the zener is con- unwanted distortion. 13 V r.m.s. If the limiting level
divider, in which case the levels structed from a small rectifier The constructed zener makes is required to be slightly higher,
may be well above 1 V r.m.s. and a transistor, since commer- a well-defined limitation possi- consideration should be given to
The diagram shows a circuit cial zeners appear to start con- ble and does not affect signals replacing T1 by three or four
that resembles the familiar ducting way below their rated below the critical level. Config- cascaded diodes. [984042]
010
+
lower forward voltage drop of quency noise.
about 0.4 V as against 0.7 V for The input supply voltage to
0
IC1
silicon diodes like the ubiqui- the TLC555 is decoupled by
C7
C6
C3
C1
tous 1N4148. The rectified volt- R1, C6 and C7. Current con-
-
D1
C2
C4 C5 D2
Battery voltage: 9.1 V
overload protection
Design: T. Giesberts K1 K2 uring T1 as a diode reduces the
R1
Although the protection circuit 150 number of components needed
is fairly simple, it forms an D3 D1 to a minimum: not even a volt-
effective guard against overload age divider or potentiometer is
4x
of the input of amplifiers and 1N4148 required.
loudspeakers. Why these inputs Measurements on the pro-
may need protection now that D4 D2 T1 totype show that the input signal
line levels have been standard- remains virtually undistorted at
ized is because there are signal levels up to 700 mV r.m.s. At the
sources on the market that gen- BC617
threshold of 1 V r.m.s., the dis-
erate outputs of several volts tortion is about 0.02%. Above
instead of the standardized 1 V this level, limiting is well-
984042 - 11
r.m.s. Also, in some applica- defined. The peak output volt-
tions, the loudspeaker signal is age of the circuit is about 3 V
applied to the line output of a series resistor and zener diode. values, which gives rise to with an input voltage of about
separate amplifier via a voltage Here, however, the zener is con- unwanted distortion. 13 V r.m.s. If the limiting level
divider, in which case the levels structed from a small rectifier The constructed zener makes is required to be slightly higher,
may be well above 1 V r.m.s. and a transistor, since commer- a well-defined limitation possi- consideration should be given to
The diagram shows a circuit cial zeners appear to start con- ble and does not affect signals replacing T1 by three or four
that resembles the familiar ducting way below their rated below the critical level. Config- cascaded diodes. [984042]
010
+
lower forward voltage drop of quency noise.
about 0.4 V as against 0.7 V for The input supply voltage to
0
IC1
silicon diodes like the ubiqui- the TLC555 is decoupled by
C7
C6
C3
C1
tous 1N4148. The rectified volt- R1, C6 and C7. Current con-
-
D1
C2
C4 C5 D2
Battery voltage: 9.1 V
overload protection
Design: T. Giesberts K1 K2 uring T1 as a diode reduces the
R1
Although the protection circuit 150 number of components needed
is fairly simple, it forms an D3 D1 to a minimum: not even a volt-
effective guard against overload age divider or potentiometer is
4x
of the input of amplifiers and 1N4148 required.
loudspeakers. Why these inputs Measurements on the pro-
may need protection now that D4 D2 T1 totype show that the input signal
line levels have been standard- remains virtually undistorted at
ized is because there are signal levels up to 700 mV r.m.s. At the
sources on the market that gen- BC617
threshold of 1 V r.m.s., the dis-
erate outputs of several volts tortion is about 0.02%. Above
instead of the standardized 1 V this level, limiting is well-
984042 - 11
r.m.s. Also, in some applica- defined. The peak output volt-
tions, the loudspeaker signal is age of the circuit is about 3 V
applied to the line output of a series resistor and zener diode. values, which gives rise to with an input voltage of about
separate amplifier via a voltage Here, however, the zener is con- unwanted distortion. 13 V r.m.s. If the limiting level
divider, in which case the levels structed from a small rectifier The constructed zener makes is required to be slightly higher,
may be well above 1 V r.m.s. and a transistor, since commer- a well-defined limitation possi- consideration should be given to
The diagram shows a circuit cial zeners appear to start con- ble and does not affect signals replacing T1 by three or four
that resembles the familiar ducting way below their rated below the critical level. Config- cascaded diodes. [984042]
010
tors cannot be used here, since IC1 tifier D1 and buffer capacitor
they do not work at low voltages. LP2950CZ5.0 D2, D3 = C2. Diode D1 is a Schottky type
Moreover, such a device would super-luminosity-LED to keep any losses low impor-
D1 R1
discharge the capacitor when tant for this application, because
270
the cycle is at standstill. Fortu- the ground connection via the
D2
nately, there is a low-drop type BYV40-10 bicycle frame usually causes
that meets the present require- some losses as well.
C2 C1
ments nicely: the Type D3
The value of buffer capacitor
LP2950CZ5.0. 1000 1F
has been chosen well above
Of course, the dynamo out- 25V 5V5 requirements to ensure that C1 is
put voltage needs to be rectified charged during the negative half
before it can be applied to the cycles of the dynamo voltage.
regulator. In the present circuit, 984045 - 11 [984045]
this is effected by half-wave rec-
011
counter IC4. 2
P<Q P<Q
7 6
6
!G
RCX
11
R2
The comparator likens the 3
P=Q P=Q
6 14
7 + RX
10
47k D2
CT
logic circuit in the lock with that 4
P>Q P>Q
5 13
8 CX
9
10 15 C1 1N4148
in the key. To that end, both cir- 0 9
12 1 12
cuits are fed with a 4-bit signal 13 P 2
11 CT=0
10n
by the binary counter. If the two 15
4063
3
12
4060
3 13
match, the output of IC3 goes T1
high and switches on transistor R4
4k7
T1, whereupon the relay is ener-
C2
gized and diode D2 lights. Any BC547B
short, l9w-level pulses caused 1 16V
IC2a
by the difference in transit times 1
3
are suppressed by capacitor C2. 2 1 IC2c IC2d
8 12
It is, of course, essential that 9 1
10
13 1
11
the hard-wiring in the key and 5
4
1
lock are identical. It is advisable 6
tors cannot be used here, since IC1 tifier D1 and buffer capacitor
they do not work at low voltages. LP2950CZ5.0 D2, D3 = C2. Diode D1 is a Schottky type
Moreover, such a device would super-luminosity-LED to keep any losses low impor-
D1 R1
discharge the capacitor when tant for this application, because
270
the cycle is at standstill. Fortu- the ground connection via the
D2
nately, there is a low-drop type BYV40-10 bicycle frame usually causes
that meets the present require- some losses as well.
C2 C1
ments nicely: the Type D3
The value of buffer capacitor
LP2950CZ5.0. 1000 1F
has been chosen well above
Of course, the dynamo out- 25V 5V5 requirements to ensure that C1 is
put voltage needs to be rectified charged during the negative half
before it can be applied to the cycles of the dynamo voltage.
regulator. In the present circuit, 984045 - 11 [984045]
this is effected by half-wave rec-
011
counter IC4. 2
P<Q P<Q
7 6
6
!G
RCX
11
R2
The comparator likens the 3
P=Q P=Q
6 14
7 + RX
10
47k D2
CT
logic circuit in the lock with that 4
P>Q P>Q
5 13
8 CX
9
10 15 C1 1N4148
in the key. To that end, both cir- 0 9
12 1 12
cuits are fed with a 4-bit signal 13 P 2
11 CT=0
10n
by the binary counter. If the two 15
4063
3
12
4060
3 13
match, the output of IC3 goes T1
high and switches on transistor R4
4k7
T1, whereupon the relay is ener-
C2
gized and diode D2 lights. Any BC547B
short, l9w-level pulses caused 1 16V
IC2a
by the difference in transit times 1
3
are suppressed by capacitor C2. 2 1 IC2c IC2d
8 12
It is, of course, essential that 9 1
10
13 1
11
the hard-wiring in the key and 5
4
1
lock are identical. It is advisable 6
984038 - 11
Design: H. Bonekamp
This is an electronic equivalent
of the traditional builders spirit- D10
<<<
level using a small glass tube 8V4 5V
D9
nearly filled with alcohol but D1
IC1 <<
3
containing an air-bubble whose 1N4001 78L05 C5
D8
9 10
position allows you to test a sur- MODE L10 <
11
face for horizontality. 1 100n
R1
5
SIG
L9
12
D7
The heart of the circuit is an C4 2 9 IC3 L8 =
DC1 VOUT 1M8 6 13
S1 L7
ADXL05 gravity force (g) sen- 7
RHI
14 D6
==
REFOUT L6
sor from Analog Devices (1,2). 3
DC2 VIN
10
R4
L5
15
22n IC2
This sensor will detect a relative D5
3k9
C1 C2 R2 16
7 8 L4 =
ST VPR 47k LM3914 17
BT1 R3 L3
100 100n ADXL05 8 18
D4
16V REFADJ L2 >
270k
4 6
ODC VREF
COMPONENTS LIST 4
RLO L1
1
D3
9V >>
5
Resistors: 2
C3 D2
P1
R1 = 1M8 >>>
20k
R2 = 47k 22n MT
R3 = 270k 984038 - 12
R4 = 3k9
Hsensor = 200mV/g
P1 = 20k multiturn preset, Hamp = R1/R2 = 1.8/0.047 = 38.3
horizontal HLM3914 = 8 LED/V
H = Hsensor Hamp HLM3914 = 0.2 38.3 8 = 61.3 LED/g
1/H = 16.3mg/LED
Capacitors: /LED = arcsin(1/H) ~ 1 degree/LED
C1 = 100F 16V radial
C2 = 100nF Sibatit (Siemens)
C3,C4 = 22nF MKT (Siemens) gravitational force of 0 g when buffer is set to supply a gain The output of the ADXL05,
C5 = 100nF MKT (Siemens) positioned horizontally. The sen- equal to (R1/R2) or about 38.3 pin 9, drives the signal input of
sor has a sensitivity of about times, so that the standard sen- an LM3914 ADC annex LED-
Semiconductors: 200 mV/g. Its internal output sitivity is increased to 7.66 V/g. bar driver, IC3. The one resistor
D1 = 1N4001
D2,D10 = LED, red, high effi-
ciency
D3,D4,D8,D9 = LED, yellow, 984038-1 P1 <<< << < = == = > >> >>>
high efficiency R1 R3
C1 C2
D5,D6,D7 = LED, green, high S1 D2 D3 D4 D5 D6 D7 D8 D9 D10
D1
efficiency R2
H2
H1
+ IC3
IC1 = 78L05 IC2 R4
IC2 = ADXL05JH (Analog BATT1 C5
Devices)
- IC1 C3 C4 tnemgeS )C( 1-830489
IC3 = LM3914N
connected to the LM3914, R4, per degree Celsius at unity gain, sensor is held exactly horizontal again the error with respect
determines that the full-scale the rate of change (temperature (0-g potential). The preset, P1, to D6 should be equal but in the
LED, D10, lights at an input drift gradient) at the output is then adjusted until D6 lights. opposite direction. The all-solid
voltage of 1.25 V. Consequently, equals 15 mV/C for a gain of Assuming that the sensor is on a state spirit-level draws a current
the LED bar has a step size of 38.3 times. This, in turn, equals fairly horizontal surface, you of about 20 mA from a 9-volt
0.125 V, while the sensitivity of a gradient of 8 C per LED, so then turn the instrument 180 PP3 battery. (984038-1)
the spirit-level works out at the circuit has to be calibrated degrees. The number of active
16.32 mg per LED, or one LED before use. LEDs which is then shifted to References:
for each degree of slant angle. Preset P1 and resistor R3 the left or to the right is divided 1. Accelerometer Type ADXL05
It should be noted that the double as a network for offset by two, and P1 is carefully (Application Note), Elektor Elec-
operation of the circuit is compensation (approx. 0.3 V) adjusted until this number is tronics April 1997.
affected by temperature varia- as well as for ensuring that the shifted around D6. Check by 2. Electronic Accelerometer, Elek-
tions. The drift being 0.4 mV centre LED, D6, lights when the turning the circuit 180 degrees tor Electronics June 1998.
013
low-drop 5 V regulator
Linear Technology Application 6V C2 D1 5V the input voltage, Vin, and acts
L1
A 4-cell pack is a convenient, 27H
as a level shift between the two
popular battery size. Alkaline 100 1N5817 220mA sections. The switch toggles
manganese batteries are sold in between ground and Vin+Vout,
retail stores in packs of four, 6 5 while the junction of L2, C2 and
L2
which usually provide sufficient BT1 V IN I LIM D1 toggles between Vin and
energy to keep battery replace- 2
SELECT SW
7 Vout+Vd1.
ment frequency at a reasonable C1
IC1
Efficiency is directly related
4x 1V5 27H
level. 100 3
LT1300 to the quality of the capacitors
4
Generating 5 V from four SHDN SENSE and inductors used. Better qual-
batteries is, however, a bit tricky. GND PGND
C3 ity capacitors are more expen-
A fresh set of four batteries has 1 8
sive. Better quality inductors
100
a terminal voltage of 6.4 V, but need not cost more, but nor-
at the end of their life, this volt- mally take up more space. The
age is down to 3.2 V. Therefore, 984017 - 11 Sanyo capacitors used in the
the voltage needs to be stepped prototype (C1C3) specify a
GND 1 8 PGND
up or down, depending on the LT1300 maximum ESR (effective series
state of the batteries. SEL 2 7 SW resistance) of 0.045 and a
A flyback topology with a SHDN 3 6 V IN maximum ripple current rating
costly, custom designed trans- of 2.1 A. The inductors used
SENSE 4 5 I LIM
former could be used, but the specify a maximum DCR (direct
circuit in the diagram gets current resistance) of 0.058 .
around the problem by using a Worst-case r.m.s. current
flying capacitor together with a shutdown. step-up section, and inductor through capacitor C2 occurs at
second inductor. The circuit can be divided L2, diode D1 and capacitor C3 minimum input voltage, that is,
The circuit also isolates the conceptually into boost and form the buck or step-down sec- 400 mA at full load with an
input from the output, allowing buck sections. Inductor L1 and tion. input voltage of 3 V.
the output to go to 0 V during switch IC1 comprise the boost or Capacitor C2 is charged to [984017]
014
connected to the LM3914, R4, per degree Celsius at unity gain, sensor is held exactly horizontal again the error with respect
determines that the full-scale the rate of change (temperature (0-g potential). The preset, P1, to D6 should be equal but in the
LED, D10, lights at an input drift gradient) at the output is then adjusted until D6 lights. opposite direction. The all-solid
voltage of 1.25 V. Consequently, equals 15 mV/C for a gain of Assuming that the sensor is on a state spirit-level draws a current
the LED bar has a step size of 38.3 times. This, in turn, equals fairly horizontal surface, you of about 20 mA from a 9-volt
0.125 V, while the sensitivity of a gradient of 8 C per LED, so then turn the instrument 180 PP3 battery. (984038-1)
the spirit-level works out at the circuit has to be calibrated degrees. The number of active
16.32 mg per LED, or one LED before use. LEDs which is then shifted to References:
for each degree of slant angle. Preset P1 and resistor R3 the left or to the right is divided 1. Accelerometer Type ADXL05
It should be noted that the double as a network for offset by two, and P1 is carefully (Application Note), Elektor Elec-
operation of the circuit is compensation (approx. 0.3 V) adjusted until this number is tronics April 1997.
affected by temperature varia- as well as for ensuring that the shifted around D6. Check by 2. Electronic Accelerometer, Elek-
tions. The drift being 0.4 mV centre LED, D6, lights when the turning the circuit 180 degrees tor Electronics June 1998.
013
low-drop 5 V regulator
Linear Technology Application 6V C2 D1 5V the input voltage, Vin, and acts
L1
A 4-cell pack is a convenient, 27H
as a level shift between the two
popular battery size. Alkaline 100 1N5817 220mA sections. The switch toggles
manganese batteries are sold in between ground and Vin+Vout,
retail stores in packs of four, 6 5 while the junction of L2, C2 and
L2
which usually provide sufficient BT1 V IN I LIM D1 toggles between Vin and
energy to keep battery replace- 2
SELECT SW
7 Vout+Vd1.
ment frequency at a reasonable C1
IC1
Efficiency is directly related
4x 1V5 27H
level. 100 3
LT1300 to the quality of the capacitors
4
Generating 5 V from four SHDN SENSE and inductors used. Better qual-
batteries is, however, a bit tricky. GND PGND
C3 ity capacitors are more expen-
A fresh set of four batteries has 1 8
sive. Better quality inductors
100
a terminal voltage of 6.4 V, but need not cost more, but nor-
at the end of their life, this volt- mally take up more space. The
age is down to 3.2 V. Therefore, 984017 - 11 Sanyo capacitors used in the
the voltage needs to be stepped prototype (C1C3) specify a
GND 1 8 PGND
up or down, depending on the LT1300 maximum ESR (effective series
state of the batteries. SEL 2 7 SW resistance) of 0.045 and a
A flyback topology with a SHDN 3 6 V IN maximum ripple current rating
costly, custom designed trans- of 2.1 A. The inductors used
SENSE 4 5 I LIM
former could be used, but the specify a maximum DCR (direct
circuit in the diagram gets current resistance) of 0.058 .
around the problem by using a Worst-case r.m.s. current
flying capacitor together with a shutdown. step-up section, and inductor through capacitor C2 occurs at
second inductor. The circuit can be divided L2, diode D1 and capacitor C3 minimum input voltage, that is,
The circuit also isolates the conceptually into boost and form the buck or step-down sec- 400 mA at full load with an
input from the output, allowing buck sections. Inductor L1 and tion. input voltage of 3 V.
the output to go to 0 V during switch IC1 comprise the boost or Capacitor C2 is charged to [984017]
014
connected to the LM3914, R4, per degree Celsius at unity gain, sensor is held exactly horizontal again the error with respect
determines that the full-scale the rate of change (temperature (0-g potential). The preset, P1, to D6 should be equal but in the
LED, D10, lights at an input drift gradient) at the output is then adjusted until D6 lights. opposite direction. The all-solid
voltage of 1.25 V. Consequently, equals 15 mV/C for a gain of Assuming that the sensor is on a state spirit-level draws a current
the LED bar has a step size of 38.3 times. This, in turn, equals fairly horizontal surface, you of about 20 mA from a 9-volt
0.125 V, while the sensitivity of a gradient of 8 C per LED, so then turn the instrument 180 PP3 battery. (984038-1)
the spirit-level works out at the circuit has to be calibrated degrees. The number of active
16.32 mg per LED, or one LED before use. LEDs which is then shifted to References:
for each degree of slant angle. Preset P1 and resistor R3 the left or to the right is divided 1. Accelerometer Type ADXL05
It should be noted that the double as a network for offset by two, and P1 is carefully (Application Note), Elektor Elec-
operation of the circuit is compensation (approx. 0.3 V) adjusted until this number is tronics April 1997.
affected by temperature varia- as well as for ensuring that the shifted around D6. Check by 2. Electronic Accelerometer, Elek-
tions. The drift being 0.4 mV centre LED, D6, lights when the turning the circuit 180 degrees tor Electronics June 1998.
013
low-drop 5 V regulator
Linear Technology Application 6V C2 D1 5V the input voltage, Vin, and acts
L1
A 4-cell pack is a convenient, 27H
as a level shift between the two
popular battery size. Alkaline 100 1N5817 220mA sections. The switch toggles
manganese batteries are sold in between ground and Vin+Vout,
retail stores in packs of four, 6 5 while the junction of L2, C2 and
L2
which usually provide sufficient BT1 V IN I LIM D1 toggles between Vin and
energy to keep battery replace- 2
SELECT SW
7 Vout+Vd1.
ment frequency at a reasonable C1
IC1
Efficiency is directly related
4x 1V5 27H
level. 100 3
LT1300 to the quality of the capacitors
4
Generating 5 V from four SHDN SENSE and inductors used. Better qual-
batteries is, however, a bit tricky. GND PGND
C3 ity capacitors are more expen-
A fresh set of four batteries has 1 8
sive. Better quality inductors
100
a terminal voltage of 6.4 V, but need not cost more, but nor-
at the end of their life, this volt- mally take up more space. The
age is down to 3.2 V. Therefore, 984017 - 11 Sanyo capacitors used in the
the voltage needs to be stepped prototype (C1C3) specify a
GND 1 8 PGND
up or down, depending on the LT1300 maximum ESR (effective series
state of the batteries. SEL 2 7 SW resistance) of 0.045 and a
A flyback topology with a SHDN 3 6 V IN maximum ripple current rating
costly, custom designed trans- of 2.1 A. The inductors used
SENSE 4 5 I LIM
former could be used, but the specify a maximum DCR (direct
circuit in the diagram gets current resistance) of 0.058 .
around the problem by using a Worst-case r.m.s. current
flying capacitor together with a shutdown. step-up section, and inductor through capacitor C2 occurs at
second inductor. The circuit can be divided L2, diode D1 and capacitor C3 minimum input voltage, that is,
The circuit also isolates the conceptually into boost and form the buck or step-down sec- 400 mA at full load with an
input from the output, allowing buck sections. Inductor L1 and tion. input voltage of 3 V.
the output to go to 0 V during switch IC1 comprise the boost or Capacitor C2 is charged to [984017]
014
OSC
V+
5
AST
alternating voltage should con- 6
T R2
not exceeding 1 mA.
tain not even a tiny direct volt- C1
2n2
1
CX 10k The test voltage must at all
IC1
age component. An alternating R1 Q
10
times be connected between the
2 4047
current also removes part of the 100k RX
11
common terminal, that is, the
tracks when the current flows in 3
Q R3 back plane, and one of the seg-
10k
one direction, but restores it 4
RCC
ments. If it is not known which
AST
when the current flows in the 8 of the terminals is the back
GND
RST
RET
+T
opposite direction. plane, connect one probe of the
The tester described here 9 7 12 tester to a segment and the other
consists of a square-wave gener- 984023-11
successively to all the other ter-
ator that produces an absolutely minals until the segment
symmetrical alternating voltage becomes visible. Note, however,
without any d.c. component. The 4047 used in the tester has this will be a battery, but a vari- that there are LCDs with more
Most logic oscillators are inca- a binary scaler at its output that able power supply has advan- than one back plane. Therefore,
pable of producing a square- guarantees symmetry. tages. It shows at which voltage if a segment does not become
wave signal: they generate rec- The oscillator frequency is the display works satisfactorily visible, investigate whether the
tangular waveforms whose duty about 1 kHz. It may be powered and also that there is a clear display has a second back plane
cycle hovers around the 50%. from a 39 V source. Normally, relationship between the level of terminal. [984023]
015
exposure timer
for UV light box
IC4a
5V 5V 5V
1 DIV2 3 CTRDIV10/ 0 3
+ IC7b
5 DEC 2 9 IC3e 11
0 1 S4
R7 DIV5 C8 = 22: t = 3s
4 6 IC6 4 10
1M + CT 2 C8 = 10: t = 10s 13
7 14 7 11 & 1
C14 2 & + 3
10 START 12 10
4
1n 2 13 1
CT=0 5 R3
CTR 5
4017 6 IC3a C8 IC3b
100k
6
6 22
7 5 S 1 1 2 3 4
15 9 D 1 1
L TR1 CT=0 8
11 IC5a 63V
U+ 5V 9 3 2
12 C
CT5 R R5
IC1 D7
1M
4
7805
B1 1N4148
CTRDIV10/ 0 3 IC3f
N DEC
C1 C2 C3 2 D2
1 12 13
IC8 4 2 1 1
9V / 3VA3 B80C1500 100n 100n
2
3
VTR 3109 470 14 7 1N4148
25V & + 3 4
10 5 S1
4 IC3c IC3d
13 1 6
5 13 5 6 9 8
5 1 1
4017 6
7
R1 6
7 8
150k
re1 15 9
CT=0 8 9 X1
1W 11 10 R6
9 11 12
C9 12 10k
CT5
sec x 1 C7
100n
450V 10n
U+
L-Sw CTRDIV10/ 0 3
DEC 2
1
IC9 4 2 1
2 R2
3
14 7 4
& 3
1k
2x + 10 5 S2 IC7a D1 Re1
UV-TL 4 2
1N4148 13 1 6
D6 5 13 3 D3
5 1 D8
4017 6
7 4 &
N 6
D5 7 8 5 1N4148 1N4148
15 9
5V 5V CT=0 8 9
R10 11 10
9 11 12 5V
100k
12 T1
IC4b CT5 R4
14 CTR sec x 10 C10 47k
CT=0 8
9 S 13 D4 2N2219
D 1 63V
15 DIV2 13
+ IC5b R11 R8
11 11
C
12 1N4148
100k
100k
DIV5 0
12 10 R CTRDIV10/ 3
+ CT 0
9 10 DEC 2
2 1
IC2 4 2 1
2
3
14 7 4
5V & 3
+ 10 5 S3 5V
4
13 1 6
5 13
5 C12 16 16 16 16
14 C6 16 14 C13 14 C11 4017 6
7
6 IC2 IC6 IC8 IC9
IC3 IC4 IC5 IC7 7 8 100n
15 9 8 8 8 8
7 100n 8 7 100n 7 100n CT=0 8 9 IC3 = 40106
11 10
9 11 12 IC4 = 74HC390
12 IC5 = 4013
CT5
min x 1 IC7 = 4082 984069 - 11
OSC
V+
5
AST
alternating voltage should con- 6
T R2
not exceeding 1 mA.
tain not even a tiny direct volt- C1
2n2
1
CX 10k The test voltage must at all
IC1
age component. An alternating R1 Q
10
times be connected between the
2 4047
current also removes part of the 100k RX
11
common terminal, that is, the
tracks when the current flows in 3
Q R3 back plane, and one of the seg-
10k
one direction, but restores it 4
RCC
ments. If it is not known which
AST
when the current flows in the 8 of the terminals is the back
GND
RST
RET
+T
opposite direction. plane, connect one probe of the
The tester described here 9 7 12 tester to a segment and the other
consists of a square-wave gener- 984023-11
successively to all the other ter-
ator that produces an absolutely minals until the segment
symmetrical alternating voltage becomes visible. Note, however,
without any d.c. component. The 4047 used in the tester has this will be a battery, but a vari- that there are LCDs with more
Most logic oscillators are inca- a binary scaler at its output that able power supply has advan- than one back plane. Therefore,
pable of producing a square- guarantees symmetry. tages. It shows at which voltage if a segment does not become
wave signal: they generate rec- The oscillator frequency is the display works satisfactorily visible, investigate whether the
tangular waveforms whose duty about 1 kHz. It may be powered and also that there is a clear display has a second back plane
cycle hovers around the 50%. from a 39 V source. Normally, relationship between the level of terminal. [984023]
015
exposure timer
for UV light box
IC4a
5V 5V 5V
1 DIV2 3 CTRDIV10/ 0 3
+ IC7b
5 DEC 2 9 IC3e 11
0 1 S4
R7 DIV5 C8 = 22: t = 3s
4 6 IC6 4 10
1M + CT 2 C8 = 10: t = 10s 13
7 14 7 11 & 1
C14 2 & + 3
10 START 12 10
4
1n 2 13 1
CT=0 5 R3
CTR 5
4017 6 IC3a C8 IC3b
100k
6
6 22
7 5 S 1 1 2 3 4
15 9 D 1 1
L TR1 CT=0 8
11 IC5a 63V
U+ 5V 9 3 2
12 C
CT5 R R5
IC1 D7
1M
4
7805
B1 1N4148
CTRDIV10/ 0 3 IC3f
N DEC
C1 C2 C3 2 D2
1 12 13
IC8 4 2 1 1
9V / 3VA3 B80C1500 100n 100n
2
3
VTR 3109 470 14 7 1N4148
25V & + 3 4
10 5 S1
4 IC3c IC3d
13 1 6
5 13 5 6 9 8
5 1 1
4017 6
7
R1 6
7 8
150k
re1 15 9
CT=0 8 9 X1
1W 11 10 R6
9 11 12
C9 12 10k
CT5
sec x 1 C7
100n
450V 10n
U+
L-Sw CTRDIV10/ 0 3
DEC 2
1
IC9 4 2 1
2 R2
3
14 7 4
& 3
1k
2x + 10 5 S2 IC7a D1 Re1
UV-TL 4 2
1N4148 13 1 6
D6 5 13 3 D3
5 1 D8
4017 6
7 4 &
N 6
D5 7 8 5 1N4148 1N4148
15 9
5V 5V CT=0 8 9
R10 11 10
9 11 12 5V
100k
12 T1
IC4b CT5 R4
14 CTR sec x 10 C10 47k
CT=0 8
9 S 13 D4 2N2219
D 1 63V
15 DIV2 13
+ IC5b R11 R8
11 11
C
12 1N4148
100k
100k
DIV5 0
12 10 R CTRDIV10/ 3
+ CT 0
9 10 DEC 2
2 1
IC2 4 2 1
2
3
14 7 4
5V & 3
+ 10 5 S3 5V
4
13 1 6
5 13
5 C12 16 16 16 16
14 C6 16 14 C13 14 C11 4017 6
7
6 IC2 IC6 IC8 IC9
IC3 IC4 IC5 IC7 7 8 100n
15 9 8 8 8 8
7 100n 8 7 100n 7 100n CT=0 8 9 IC3 = 40106
11 10
9 11 12 IC4 = 74HC390
12 IC5 = 4013
CT5
min x 1 IC7 = 4082 984069 - 11
Design: R. Veltkamp 10 Hz by IC4 (which means that relay contacts switch on the light seconds. If this time is found too
Although the timer was the circuit can be used only with box. short, it may be lengthened by
designed specifically for use 50 Hz mains supplies). At the same time, the level at increasing the value of capaci-
with an ultra-violet-light box, it When the supply voltage is the Q-output of IC5 makes the tor C8.
may, if course, be used for other switched on, a reset pulse is reset inputs of all counter ICs Optionally, a light-emitting
purposes as well. Note, however, applied to bistable (flip-flop) low and counting commences. diode may be connected in par-
that the maximum time that can IC5 via C10 and D4. This makes When the counter position set allel with the relay to give an
be set is 10 minutes with a reso- the Q-output of IC5 high, so that with S1S3 is reached, the out- optical indication that the light
lution of 1 second. counters IC2, IC4, IC6, IC8, and put of IC7 goes high and box is switched on.
The time is set with three IC9 are reset in the quiescent bistable IC5 is reset again. Its The circuit draws a modest
selectors: S3 for the minutes, S2 state. Q-output goes low, whereupon current, so that a 2.3 VA mains
for tens of seconds, and S1 for When start button switch S4 the relay is de-energized. transformer is specified is m ore
seconds. is pressed, IC5 is set and its Q- Simultaneously, an oscillator than adequate.
The frequency of the mains output then energizes the relay based on IC3 is actuated and [984069]
supply voltage is scaled down to via transistor T1, whereupon the drives buzzer Bz1 for about three
016
12V
Brief parameters
Provides triangle-wave, sawtooth
or rectangular signal
Waveform variable independently
P4
of frequency (triangle wave and 4 C1
sawtooth) IC1
D1 R1 470k
11 10
Duty cycle of rectangular signal 16V 1k
R3
10
C3 47k A2
can be set independently of fre- 1N4148 8
IC1c
9
quency P2 P3
2n2
MKT
6
1k 100k 7
Applications D2 R2 IC1b
5
Test and measurement 1k
Design: R. Veltkamp 10 Hz by IC4 (which means that relay contacts switch on the light seconds. If this time is found too
Although the timer was the circuit can be used only with box. short, it may be lengthened by
designed specifically for use 50 Hz mains supplies). At the same time, the level at increasing the value of capaci-
with an ultra-violet-light box, it When the supply voltage is the Q-output of IC5 makes the tor C8.
may, if course, be used for other switched on, a reset pulse is reset inputs of all counter ICs Optionally, a light-emitting
purposes as well. Note, however, applied to bistable (flip-flop) low and counting commences. diode may be connected in par-
that the maximum time that can IC5 via C10 and D4. This makes When the counter position set allel with the relay to give an
be set is 10 minutes with a reso- the Q-output of IC5 high, so that with S1S3 is reached, the out- optical indication that the light
lution of 1 second. counters IC2, IC4, IC6, IC8, and put of IC7 goes high and box is switched on.
The time is set with three IC9 are reset in the quiescent bistable IC5 is reset again. Its The circuit draws a modest
selectors: S3 for the minutes, S2 state. Q-output goes low, whereupon current, so that a 2.3 VA mains
for tens of seconds, and S1 for When start button switch S4 the relay is de-energized. transformer is specified is m ore
seconds. is pressed, IC5 is set and its Q- Simultaneously, an oscillator than adequate.
The frequency of the mains output then energizes the relay based on IC3 is actuated and [984069]
supply voltage is scaled down to via transistor T1, whereupon the drives buzzer Bz1 for about three
016
12V
Brief parameters
Provides triangle-wave, sawtooth
or rectangular signal
Waveform variable independently
P4
of frequency (triangle wave and 4 C1
sawtooth) IC1
D1 R1 470k
11 10
Duty cycle of rectangular signal 16V 1k
R3
10
C3 47k A2
can be set independently of fre- 1N4148 8
IC1c
9
quency P2 P3
2n2
MKT
6
1k 100k 7
Applications D2 R2 IC1b
5
Test and measurement 1k
47
470k
receiver is intended to form an ensure good smoothing, so that
T1
infra-red remote control system C2 darlington T1 is open for as long
with the simple infra-red trans- C1
as the received signal lasts.
10n
mitter described elsewhere in A drawback of this simple
470k
BC516
this issue. 220 25V system is that it may pick up
The system does not use any R3 signals transmitted by another
kind of coding or decoding, but IC1 2 infra-red (RC5) controller. In
the carrier of the transmitter is 3
D1 R2 this case, only the envelopes of
modified in a simple manner to 2k2
the pulse trains would appear at
provide a constant switching sig- BAT85 the output of T1. This effect may,
1
nal. Since the receive module, SFH506-36
of course, be used intentionally.
IC1, switches from low to high For instance, the receiver may
(in the quiescent state, the out- be used to drive an SLB0587
put is high) when the carrier is 984050 - 11
dimmer. Practice has shown that
received for more than 200 mil- the setting of the SLB0587 is
liseconds, the carrier is trans- the output of the receiver that frequency used in the system is not affected by the RC5 pulses.
mitted in the form of short pulse has a duty cycle which is just 36 kHz, so that the output fre- The receiver draws a current
trains. This results in a pulse at larger than 12.5%. The carrier quency of IC1 is 281.25 Hz. This of about 0.5 mA. [984050]
018
Celsius thermometer
National Semiconductor the adj pin, the zero point can
1mA
Application be shifted as desired.
LM385 R3
The circuit of the Celsius ther- Calibration is best done by
1k
47
470k
receiver is intended to form an ensure good smoothing, so that
T1
infra-red remote control system C2 darlington T1 is open for as long
with the simple infra-red trans- C1
as the received signal lasts.
10n
mitter described elsewhere in A drawback of this simple
470k
BC516
this issue. 220 25V system is that it may pick up
The system does not use any R3 signals transmitted by another
kind of coding or decoding, but IC1 2 infra-red (RC5) controller. In
the carrier of the transmitter is 3
D1 R2 this case, only the envelopes of
modified in a simple manner to 2k2
the pulse trains would appear at
provide a constant switching sig- BAT85 the output of T1. This effect may,
1
nal. Since the receive module, SFH506-36
of course, be used intentionally.
IC1, switches from low to high For instance, the receiver may
(in the quiescent state, the out- be used to drive an SLB0587
put is high) when the carrier is 984050 - 11
dimmer. Practice has shown that
received for more than 200 mil- the setting of the SLB0587 is
liseconds, the carrier is trans- the output of the receiver that frequency used in the system is not affected by the RC5 pulses.
mitted in the form of short pulse has a duty cycle which is just 36 kHz, so that the output fre- The receiver draws a current
trains. This results in a pulse at larger than 12.5%. The carrier quency of IC1 is 281.25 Hz. This of about 0.5 mA. [984050]
018
Celsius thermometer
National Semiconductor the adj pin, the zero point can
1mA
Application be shifted as desired.
LM385 R3
The circuit of the Celsius ther- Calibration is best done by
1k
R10
TR1
47
1W
C4 A
IC3
100n 4805 5V
R9 B1
VDR D6
220V C5
POWER 16
100n
ON
C6 C7 IC2
2k2
9V R11
1VA5 8
B80C1500
100 10
VTR1109 Monacor 63V
25V
A 15V / 10V 5V
B 0V / 4V K2
P1 P2
2M5 2M5 RELAY
C 0V / 4V3 R4 ON D4 L
C8 D2 D3 RE1
10k
D5
100k
100k
R5 R6
100n R8
4k7
C2 C3
IC2 = 4538 47 220 12V
1N4001 1
R R
TLC271 T1
3 13
R2 R3
C1
100k
10k
BC547B
10 5V
63V
984029 - 11
COMPONENTS LIST
wires, and properly secure the (C) ELEKTOR
R9
H4
IC3 = 4805 K2
B1
C6 ~
Miscellaneous: IC3
K1 = 2-way PCB terminal TR1 ~
block, pitch 5mm C4
C7 R11
RE1 = Card relay E, 12V, 1
C1
make contact, type V23057- L
D6
B0002-A401 (Siemens) R1 C8
K2 = 3-way PCB terminal D1 984029-1
R2
R3
R4
K1 IC2
Case: Micro type N12
R7
D5
R5
R6
R8
ics. D4
020
lying around for some time. If its tapped from one of them.
P2 K1
frequency response extends R3 The network is a 1st order
820 Line
down far enough, all is well and 2k2
low-pass filter with variable
good, but a filter is then needed R2
input (P1) and presettable cut-
to cut off any frequencies above, C1 off frequency (P2).
180
COMPONENTS LIST
wires, and properly secure the (C) ELEKTOR
R9
H4
IC3 = 4805 K2
B1
C6 ~
Miscellaneous: IC3
K1 = 2-way PCB terminal TR1 ~
block, pitch 5mm C4
C7 R11
RE1 = Card relay E, 12V, 1
C1
make contact, type V23057- L
D6
B0002-A401 (Siemens) R1 C8
K2 = 3-way PCB terminal D1 984029-1
R2
R3
R4
K1 IC2
Case: Micro type N12
R7
D5
R5
R6
R8
ics. D4
020
lying around for some time. If its tapped from one of them.
P2 K1
frequency response extends R3 The network is a 1st order
820 Line
down far enough, all is well and 2k2
low-pass filter with variable
good, but a filter is then needed R2
input (P1) and presettable cut-
to cut off any frequencies above, C1 off frequency (P2).
180
3k9
3k9
3k3
lines on both the left and right circuit is slightly larger than
lines are 1, the circuit is quies- IC1
usual since the pull-up resistors
cent and optoisolators IC1 and D1
2 8 6
* see text are shunted by the LEDs in the
IC2 are not actuated. When the * siehe Text optoisolators and their series
SDA line at the left becomes 0, BAT85 resistors. Nevertheless, it
current flows through the LED 3 7 5
* voir texte remains within the norms laid
in IC1 via R2. The SDA line at 5V * zie tekst down in the I2C specification.
the right is then pulled low via [ 984024]
D2 and IC1. Optoisolator IC2 IC2 6 8 2
D2
does not transfer this 0 to the
SDA SDA'
left, because the polarity of the BAT85
LED in IC2 is the wrong way K1 5 5 7 3 5 K2
around for this level. This 5V 4 6 6 4 5V'
arrangement prevents the circuit 3 1 1 3
holding itself in the 0 state for 2 5 7 3 2
ever. D4
3k9
3k9
3k3
mini
audio signal generator
Design: T. Giesberts It is, however, important that the only 20 A. In theory, the low held at half the supply voltage
A small audio test generator is unit does not draw too high a current drain would give a 9 V by dividers R3-R4 and R5-R6
very useful for quickly tracing a current. battery a life of 25,000 hours. respectively. Resistors R5 and
signal through an audio unit. Its The generator described The circuit is a traditional R6 also form part of the feed-
main purpose is speed rather meets these modest require- Wien bridge oscillator based on back loop. The amplification is
than refinement. A single sine- ments. It uses standard compo- a Type TLC271 op amp. The fre- set to about 3 with P1.
wave signal of about 1 kHz is nents, produces a signal of quency determining bridge is Diodes D1 and D2 are peak
normally all that is needed: dis- 899 Hz at an output level of formed by C1, C2 and R1R4. limiters. Since the limiting is
tortion is not terribly important. 1 V r.m.s. and draws a current of The two inputs of the op amp are based on the non-linearity of the
3k9
3k9
3k3
lines on both the left and right circuit is slightly larger than
lines are 1, the circuit is quies- IC1
usual since the pull-up resistors
cent and optoisolators IC1 and D1
2 8 6
* see text are shunted by the LEDs in the
IC2 are not actuated. When the * siehe Text optoisolators and their series
SDA line at the left becomes 0, BAT85 resistors. Nevertheless, it
current flows through the LED 3 7 5
* voir texte remains within the norms laid
in IC1 via R2. The SDA line at 5V * zie tekst down in the I2C specification.
the right is then pulled low via [ 984024]
D2 and IC1. Optoisolator IC2 IC2 6 8 2
D2
does not transfer this 0 to the
SDA SDA'
left, because the polarity of the BAT85
LED in IC2 is the wrong way K1 5 5 7 3 5 K2
around for this level. This 5V 4 6 6 4 5V'
arrangement prevents the circuit 3 1 1 3
holding itself in the 0 state for 2 5 7 3 2
ever. D4
3k9
3k9
3k3
mini
audio signal generator
Design: T. Giesberts It is, however, important that the only 20 A. In theory, the low held at half the supply voltage
A small audio test generator is unit does not draw too high a current drain would give a 9 V by dividers R3-R4 and R5-R6
very useful for quickly tracing a current. battery a life of 25,000 hours. respectively. Resistors R5 and
signal through an audio unit. Its The generator described The circuit is a traditional R6 also form part of the feed-
main purpose is speed rather meets these modest require- Wien bridge oscillator based on back loop. The amplification is
than refinement. A single sine- ments. It uses standard compo- a Type TLC271 op amp. The fre- set to about 3 with P1.
wave signal of about 1 kHz is nents, produces a signal of quency determining bridge is Diodes D1 and D2 are peak
normally all that is needed: dis- 899 Hz at an output level of formed by C1, C2 and R1R4. limiters. Since the limiting is
tortion is not terribly important. 1 V r.m.s. and draws a current of The two inputs of the op amp are based on the non-linearity of the
3k9
3k9
3k3
lines on both the left and right circuit is slightly larger than
lines are 1, the circuit is quies- IC1
usual since the pull-up resistors
cent and optoisolators IC1 and D1
2 8 6
* see text are shunted by the LEDs in the
IC2 are not actuated. When the * siehe Text optoisolators and their series
SDA line at the left becomes 0, BAT85 resistors. Nevertheless, it
current flows through the LED 3 7 5
* voir texte remains within the norms laid
in IC1 via R2. The SDA line at 5V * zie tekst down in the I2C specification.
the right is then pulled low via [ 984024]
D2 and IC1. Optoisolator IC2 IC2 6 8 2
D2
does not transfer this 0 to the
SDA SDA'
left, because the polarity of the BAT85
LED in IC2 is the wrong way K1 5 5 7 3 5 K2
around for this level. This 5V 4 6 6 4 5V'
arrangement prevents the circuit 3 1 1 3
holding itself in the 0 state for 2 5 7 3 2
ever. D4
3k9
3k9
3k3
mini
audio signal generator
Design: T. Giesberts It is, however, important that the only 20 A. In theory, the low held at half the supply voltage
A small audio test generator is unit does not draw too high a current drain would give a 9 V by dividers R3-R4 and R5-R6
very useful for quickly tracing a current. battery a life of 25,000 hours. respectively. Resistors R5 and
signal through an audio unit. Its The generator described The circuit is a traditional R6 also form part of the feed-
main purpose is speed rather meets these modest require- Wien bridge oscillator based on back loop. The amplification is
than refinement. A single sine- ments. It uses standard compo- a Type TLC271 op amp. The fre- set to about 3 with P1.
wave signal of about 1 kHz is nents, produces a signal of quency determining bridge is Diodes D1 and D2 are peak
normally all that is needed: dis- 899 Hz at an output level of formed by C1, C2 and R1R4. limiters. Since the limiting is
tortion is not terribly important. 1 V r.m.s. and draws a current of The two inputs of the op amp are based on the non-linearity of the
1M
1M
fast tests. Nevertheless, if 10% R1 R2
1M
1M
is considered too high, it may be P1 R8
improved appreciably by linking 220k 2x
1N4148
pin 8 of IC1 to ground. This R7
500k
D2
increases the current drain of C1
560k
BT1
the circuit to 640 A, but the 330p 8
distortion is down to 0.7%, pro- 2 7
C3
C4 R9
vided the circuit is adjusted 9V IC1
6
100
properly. If a distortion meter or 47
3
5 100n
similar is not available, simply 25V
1
4
1M
1M
1M
unit is not measured in hun- 330p
dredths of a per cent, C1 and C2
may be ceramic types without
984033 - 11
much detriment. [984033]
023
ultra-low-power
5 V regulator
Design: T. Giesberts
The current drain of the regula- 6V5 ... 30V
tor is minute compared with that
of, say, a 78L05: at an input
voltage of 9 V and open-circuit
output, it is just under 50 A. R1 R3 R5
C2
R7
301k
100k
1M
332k
3 6
OP22
The reference voltage is 4 D 2
8 F
about 1.22 V, which is raised by A C E R8 8
4 BC
IC2 to 5 V. The output voltage 547B G 5V
100k
4M7
T1a and T1b need to be identi- * voir texte B 0V45 D 1V22 F 5V65
1M
1M
fast tests. Nevertheless, if 10% R1 R2
1M
1M
is considered too high, it may be P1 R8
improved appreciably by linking 220k 2x
1N4148
pin 8 of IC1 to ground. This R7
500k
D2
increases the current drain of C1
560k
BT1
the circuit to 640 A, but the 330p 8
distortion is down to 0.7%, pro- 2 7
C3
C4 R9
vided the circuit is adjusted 9V IC1
6
100
properly. If a distortion meter or 47
3
5 100n
similar is not available, simply 25V
1
4
1M
1M
1M
unit is not measured in hun- 330p
dredths of a per cent, C1 and C2
may be ceramic types without
984033 - 11
much detriment. [984033]
023
ultra-low-power
5 V regulator
Design: T. Giesberts
The current drain of the regula- 6V5 ... 30V
tor is minute compared with that
of, say, a 78L05: at an input
voltage of 9 V and open-circuit
output, it is just under 50 A. R1 R3 R5
C2
R7
301k
100k
1M
332k
3 6
OP22
The reference voltage is 4 D 2
8 F
about 1.22 V, which is raised by A C E R8 8
4 BC
IC2 to 5 V. The output voltage 547B G 5V
100k
4M7
T1a and T1b need to be identi- * voir texte B 0V45 D 1V22 F 5V65
5V 5V
K1
K2 G6
R5 R4 R6
D2 K3
R3
R4
T1
10k
470
470
IC1c
1k
R1
DATA 5 6 K3
1
CENTRONICS
D1
R1 D2
K1 DATA K2
IC1a
19 1
1 2 CLK
20 2 1 C1
21 3 CLK
K4 K4
22 4 IC1f C2
23 5 PROGR 13 12 MCLR
1
R2
24 6 D1 IC1
R2
25 7
12V 1k
26 8 T1
27 9 IC1b + Vin
1-630489
28 10 4 3 ROTKELE )C(
1 C1
R6
R5
BC547
100k
29 11
984036-1
G5
30 12 R3
31 13 100n 5V
32 14 IC1d IC1e
33 15 8 10
C2 14
34 16
1 1 IC1
35 17
IC1 = 74LS06 100n 7
36 18 9 11 (C) ELEKTOR
984036-1
984036 - 11
and then applied to the PIC to be K4 MCLR to MCLR (pin 4) supply voltages: 12 V (PIC pro- grams, all you have to do is write
programmed. D0 supplies data, K2 +5V to VDD(pin 14) gramming voltage) and 5 V the following batch file:
D1 clock pulses, and D3 pro- K2 GROUND to VSS (pin 5) (74LS06 and the LED supply
gramming pulses. Information voltage). DTAIT.EXE 7406
returned by the PIC to the PC is The +Vin terminal of K4 is con- The two programs you will need PIP02.EXE
first inverted by gate IC1b and nected to an external 12-volt to use the programmer may be DTAIT.EXE REMOVE
then applied to the BUSY line on supply for the programming obtained free of charge from the
the Centronics connector. voltage. LED D2 lights when Internet from this url: and launch it from the DOS
The PIC to be programmed is programming pulses are http://www.sistudio.com/ prompt. Finally, the printed cir-
connected as follows: applied. Zener diode D1 pro- sistudio/download/html. cuit board shown here is avail-
tects the base of T1 against the DTAIT.EXE is unzipped from able ready-made from the Pub-
K3 DATA to RB7 (pin 13) programming voltage. The pro- the PINAPI Drivers DOS Pack 1. lishers.
K3 CLOCK to RB6 (pin 12) grammer needs two external Having downloaded these pro- (984036-1: LL)
025
and then applied to the PIC to be K4 MCLR to MCLR (pin 4) supply voltages: 12 V (PIC pro- grams, all you have to do is write
programmed. D0 supplies data, K2 +5V to VDD(pin 14) gramming voltage) and 5 V the following batch file:
D1 clock pulses, and D3 pro- K2 GROUND to VSS (pin 5) (74LS06 and the LED supply
gramming pulses. Information voltage). DTAIT.EXE 7406
returned by the PIC to the PC is The +Vin terminal of K4 is con- The two programs you will need PIP02.EXE
first inverted by gate IC1b and nected to an external 12-volt to use the programmer may be DTAIT.EXE REMOVE
then applied to the BUSY line on supply for the programming obtained free of charge from the
the Centronics connector. voltage. LED D2 lights when Internet from this url: and launch it from the DOS
The PIC to be programmed is programming pulses are http://www.sistudio.com/ prompt. Finally, the printed cir-
connected as follows: applied. Zener diode D1 pro- sistudio/download/html. cuit board shown here is avail-
tects the base of T1 against the DTAIT.EXE is unzipped from able ready-made from the Pub-
K3 DATA to RB7 (pin 13) programming voltage. The pro- the PINAPI Drivers DOS Pack 1. lishers.
K3 CLOCK to RB6 (pin 12) grammer needs two external Having downloaded these pro- (984036-1: LL)
025
and then applied to the PIC to be K4 MCLR to MCLR (pin 4) supply voltages: 12 V (PIC pro- grams, all you have to do is write
programmed. D0 supplies data, K2 +5V to VDD(pin 14) gramming voltage) and 5 V the following batch file:
D1 clock pulses, and D3 pro- K2 GROUND to VSS (pin 5) (74LS06 and the LED supply
gramming pulses. Information voltage). DTAIT.EXE 7406
returned by the PIC to the PC is The +Vin terminal of K4 is con- The two programs you will need PIP02.EXE
first inverted by gate IC1b and nected to an external 12-volt to use the programmer may be DTAIT.EXE REMOVE
then applied to the BUSY line on supply for the programming obtained free of charge from the
the Centronics connector. voltage. LED D2 lights when Internet from this url: and launch it from the DOS
The PIC to be programmed is programming pulses are http://www.sistudio.com/ prompt. Finally, the printed cir-
connected as follows: applied. Zener diode D1 pro- sistudio/download/html. cuit board shown here is avail-
tects the base of T1 against the DTAIT.EXE is unzipped from able ready-made from the Pub-
K3 DATA to RB7 (pin 13) programming voltage. The pro- the PINAPI Drivers DOS Pack 1. lishers.
K3 CLOCK to RB6 (pin 12) grammer needs two external Having downloaded these pro- (984036-1: LL)
025
balanced
microphone preamplifier
Design: T. Giesberts reasonable length, R3 is not
15V
The preamplifier is intended for necessary, since the parasitic
use with dynamic (moving coil R1 R4 capacitance of the cable ensures
MC) microphones with an 1k00 316k stability of the amplifier. It
impedance up to 200 and should be noted, however, that
balanced terminals. It is a fairly R3 improves the CMR from
simple design, which may also IC1 >70 dB to >80 dB.
be considered as a single stage K1 5 Performance of the pream-
2 R3 2 7
instrument amplifier based on a 8 C1 R7 plifier is very good. The
27k
1 6
Type NE5534 op amp. 100 THD+N (total harmonic distor-
To achieve maximum com- 3 tion plus noise) is smaller than
47
3
mon-mode rejection (CMR) with 1
4 100V
R6
0.1% with an input signal of
a balanced signal, the division 10k 1 mV and a source impedance
ratios of the dividers (R1-R4 and NE5534 of 50 .
R2-R5 respectively) at the R2 R5 P1 Under the same conditions,
inputs of the op amp must be 1k00 301k the signal-to-noise ratio is
identical. Since this may be dif- 25k 62.5 dBA.
ficult to achieve in practice, a With component values as
preset potentiometer, P1, is con- 15V specified, the gain of the ampli-
nected in series with R5. The fier is 50 dB (316).
preset enables the common- 15V L1
After careful adjustment of
mode rejection to be set opti- 15V P1 at 1 kHz, the CMR, without
47H C2 C3
mally. R3, is 120 dB.
Capacitor C1 prevents any 100n 220
The supply voltage is 15 V.
direct voltage at the input, while 25V The amplifier draws a current at
resistor R7 ensures stability of C5
that voltage of about 5.5 mA.
C4
the amplifier with capacitive Note the decoupling of the sup-
loads. Resistor R3 prevents the 100n 220
ply lines with L1, L2, C2C5.
amplifier going into oscillation L2 25V [984031]
when the input is open circuit. 15V
If the microphone cable is of 15V 47H 984031 - 11
028
oscillation monitor
Design: F. Hueber Schmitt trigger input. gate via capacitor C1. Resistor negative half cycle of the signal,
The circuit in the diagram was When a 5 V supply is used, R2, in conjunction with the pro- so that the output of the gate
originally designed to monitor the Type 74HC132 is recom- tection diode in the IC, guards goes high in rhythm with the
an oscillator, but can also be mended; for higher voltage, a the input to high voltages. input signal. However, the
used as a general-purpose level Type 4093. Note, however, that In the absence of a signal, Schmitt trigger converts sinu-
indicator for a.c. signals. It is these two ICs have different resistor R1 holds the input high soidal signals into rectangular
based on a quadruple IC con- pinouts. In the diagram, the dif- so that the output of the gate is ones, which charge capacitor C3
taining four NAND gates. Only fering pins of a 4093 are shown low. via diode D1. When the poten-
three of the gates are used, mak- in brackets. When a signal of sufficient tial across C3 exceeds the
ing the fourth free for other pur- The signal to be monitored is strength is received, the input of threshold at the input of the sec-
poses. All the gates have a applied to the input of the first the gate goes low during the ond gate, this gate also toggles.
balanced
microphone preamplifier
Design: T. Giesberts reasonable length, R3 is not
15V
The preamplifier is intended for necessary, since the parasitic
use with dynamic (moving coil R1 R4 capacitance of the cable ensures
MC) microphones with an 1k00 316k stability of the amplifier. It
impedance up to 200 and should be noted, however, that
balanced terminals. It is a fairly R3 improves the CMR from
simple design, which may also IC1 >70 dB to >80 dB.
be considered as a single stage K1 5 Performance of the pream-
2 R3 2 7
instrument amplifier based on a 8 C1 R7 plifier is very good. The
27k
1 6
Type NE5534 op amp. 100 THD+N (total harmonic distor-
To achieve maximum com- 3 tion plus noise) is smaller than
47
3
mon-mode rejection (CMR) with 1
4 100V
R6
0.1% with an input signal of
a balanced signal, the division 10k 1 mV and a source impedance
ratios of the dividers (R1-R4 and NE5534 of 50 .
R2-R5 respectively) at the R2 R5 P1 Under the same conditions,
inputs of the op amp must be 1k00 301k the signal-to-noise ratio is
identical. Since this may be dif- 25k 62.5 dBA.
ficult to achieve in practice, a With component values as
preset potentiometer, P1, is con- 15V specified, the gain of the ampli-
nected in series with R5. The fier is 50 dB (316).
preset enables the common- 15V L1
After careful adjustment of
mode rejection to be set opti- 15V P1 at 1 kHz, the CMR, without
47H C2 C3
mally. R3, is 120 dB.
Capacitor C1 prevents any 100n 220
The supply voltage is 15 V.
direct voltage at the input, while 25V The amplifier draws a current at
resistor R7 ensures stability of C5
that voltage of about 5.5 mA.
C4
the amplifier with capacitive Note the decoupling of the sup-
loads. Resistor R3 prevents the 100n 220
ply lines with L1, L2, C2C5.
amplifier going into oscillation L2 25V [984031]
when the input is open circuit. 15V
If the microphone cable is of 15V 47H 984031 - 11
028
oscillation monitor
Design: F. Hueber Schmitt trigger input. gate via capacitor C1. Resistor negative half cycle of the signal,
The circuit in the diagram was When a 5 V supply is used, R2, in conjunction with the pro- so that the output of the gate
originally designed to monitor the Type 74HC132 is recom- tection diode in the IC, guards goes high in rhythm with the
an oscillator, but can also be mended; for higher voltage, a the input to high voltages. input signal. However, the
used as a general-purpose level Type 4093. Note, however, that In the absence of a signal, Schmitt trigger converts sinu-
indicator for a.c. signals. It is these two ICs have different resistor R1 holds the input high soidal signals into rectangular
based on a quadruple IC con- pinouts. In the diagram, the dif- so that the output of the gate is ones, which charge capacitor C3
taining four NAND gates. Only fering pins of a 4093 are shown low. via diode D1. When the poten-
three of the gates are used, mak- in brackets. When a signal of sufficient tial across C3 exceeds the
ing the fourth free for other pur- The signal to be monitored is strength is received, the input of threshold at the input of the sec-
poses. All the gates have a applied to the input of the first the gate goes low during the ond gate, this gate also toggles.
balanced
microphone preamplifier
Design: T. Giesberts reasonable length, R3 is not
15V
The preamplifier is intended for necessary, since the parasitic
use with dynamic (moving coil R1 R4 capacitance of the cable ensures
MC) microphones with an 1k00 316k stability of the amplifier. It
impedance up to 200 and should be noted, however, that
balanced terminals. It is a fairly R3 improves the CMR from
simple design, which may also IC1 >70 dB to >80 dB.
be considered as a single stage K1 5 Performance of the pream-
2 R3 2 7
instrument amplifier based on a 8 C1 R7 plifier is very good. The
27k
1 6
Type NE5534 op amp. 100 THD+N (total harmonic distor-
To achieve maximum com- 3 tion plus noise) is smaller than
47
3
mon-mode rejection (CMR) with 1
4 100V
R6
0.1% with an input signal of
a balanced signal, the division 10k 1 mV and a source impedance
ratios of the dividers (R1-R4 and NE5534 of 50 .
R2-R5 respectively) at the R2 R5 P1 Under the same conditions,
inputs of the op amp must be 1k00 301k the signal-to-noise ratio is
identical. Since this may be dif- 25k 62.5 dBA.
ficult to achieve in practice, a With component values as
preset potentiometer, P1, is con- 15V specified, the gain of the ampli-
nected in series with R5. The fier is 50 dB (316).
preset enables the common- 15V L1
After careful adjustment of
mode rejection to be set opti- 15V P1 at 1 kHz, the CMR, without
47H C2 C3
mally. R3, is 120 dB.
Capacitor C1 prevents any 100n 220
The supply voltage is 15 V.
direct voltage at the input, while 25V The amplifier draws a current at
resistor R7 ensures stability of C5
that voltage of about 5.5 mA.
C4
the amplifier with capacitive Note the decoupling of the sup-
loads. Resistor R3 prevents the 100n 220
ply lines with L1, L2, C2C5.
amplifier going into oscillation L2 25V [984031]
when the input is open circuit. 15V
If the microphone cable is of 15V 47H 984031 - 11
028
oscillation monitor
Design: F. Hueber Schmitt trigger input. gate via capacitor C1. Resistor negative half cycle of the signal,
The circuit in the diagram was When a 5 V supply is used, R2, in conjunction with the pro- so that the output of the gate
originally designed to monitor the Type 74HC132 is recom- tection diode in the IC, guards goes high in rhythm with the
an oscillator, but can also be mended; for higher voltage, a the input to high voltages. input signal. However, the
used as a general-purpose level Type 4093. Note, however, that In the absence of a signal, Schmitt trigger converts sinu-
indicator for a.c. signals. It is these two ICs have different resistor R1 holds the input high soidal signals into rectangular
based on a quadruple IC con- pinouts. In the diagram, the dif- so that the output of the gate is ones, which charge capacitor C3
taining four NAND gates. Only fering pins of a 4093 are shown low. via diode D1. When the poten-
three of the gates are used, mak- in brackets. When a signal of sufficient tial across C3 exceeds the
ing the fourth free for other pur- The signal to be monitored is strength is received, the input of threshold at the input of the sec-
poses. All the gates have a applied to the input of the first the gate goes low during the ond gate, this gate also toggles.
1k
11
oscillator. IC1 13 &
100n
When the level of the input 7
R4 D2
signal drops, C3 is discharged 4M7
via R3. The potential across the IC1c
(8)
capacitor then no longer exceeds IC1a
(6)
4
IC1b 10
8
the threshold at the input of C1 R2
1
3
D1
5 &
6 9 &
(10)
IC1b, whereupon IC1c is enabled 2 & (4)
1k R5'
and the LED flashes 1N4148
100n
*
1M
R1
The LED may be connected
as shown or as indicated by the R3 D2'
dashed line. As shown, the P1
C3 C4 *
100k
diode remains off when there is 10k
1 100n
an input signal of sufficient 35V
strength and begins to flash
when the signal fails or its level * zie tekst
see text
IC1 = 74HC132 (4093) * voir texte
siehe Text
984057 - 11
4k7
BC307B R1
SFH900 optoisolator from 0 BC557B NE567N
1M
R4
(LM567CN)
Siemens or similar. A phase- P1
330
R7 6
10k OSC
locked loop (PLL) in decoder IC2 C6
IN 1
4V
IC1 compares the frequency of SFH900 3
IN
1 3
the input signal from IC2 with 22n
LP
2 7
that of an internally generated 1 3
signal. When the two signals fall 2V 4V
C2 C3 2
C1
within the same band, the out-
984058 - 12
put, pin 8, of IC1 changes state 2 22n 22 47
6V 6V
(from high to low).
The internal oscillator gen- 984058 - 11
1k
11
oscillator. IC1 13 &
100n
When the level of the input 7
R4 D2
signal drops, C3 is discharged 4M7
via R3. The potential across the IC1c
(8)
capacitor then no longer exceeds IC1a
(6)
4
IC1b 10
8
the threshold at the input of C1 R2
1
3
D1
5 &
6 9 &
(10)
IC1b, whereupon IC1c is enabled 2 & (4)
1k R5'
and the LED flashes 1N4148
100n
*
1M
R1
The LED may be connected
as shown or as indicated by the R3 D2'
dashed line. As shown, the P1
C3 C4 *
100k
diode remains off when there is 10k
1 100n
an input signal of sufficient 35V
strength and begins to flash
when the signal fails or its level * zie tekst
see text
IC1 = 74HC132 (4093) * voir texte
siehe Text
984057 - 11
4k7
BC307B R1
SFH900 optoisolator from 0 BC557B NE567N
1M
R4
(LM567CN)
Siemens or similar. A phase- P1
330
R7 6
10k OSC
locked loop (PLL) in decoder IC2 C6
IN 1
4V
IC1 compares the frequency of SFH900 3
IN
1 3
the input signal from IC2 with 22n
LP
2 7
that of an internally generated 1 3
signal. When the two signals fall 2V 4V
C2 C3 2
C1
within the same band, the out-
984058 - 12
put, pin 8, of IC1 changes state 2 22n 22 47
6V 6V
(from high to low).
The internal oscillator gen- 984058 - 11
5A T
C2,C3 = 10F 63V radial
C4,C5 = 330nF
D4 D2 C6 = 22F 63V radial
4x
1N4007 Semiconductors:
D1-D6 = 1N4007
C6 D8 Re1
D7 = zener diode 20V 1.3W
D3 D1
R1 R2 C1 D8 = 1N4002
22
180 180 63V T1 = BUZ41A (Siemens)
470n
R3
250V ~ R4 1N4002 RP310024
Miscellaneous:
470k 470k K1,K2,K3 = 2-way PCB termi-
T1 nal block, pitch 7.5mm
C4 D6
F1,F2 = fuse, 5A slow, with
TR1 PCB mount holder
Re1 = RP310024, 24V,
11,12, 13 6 C2
330n 1N4007 R5
BUZ41 * zie tekst
250VAC/16A
* see text
1k
D7 (Schrack/Siemens)
10
D5 C5
* voir texte
siehe Text Tr1 = ETD29 core (Philips).
K2 63V
C3 330n
* Primary: 12 turns 1.5mm dia.
1N4007 P1 20V
1W3 Cul wire. Secondary: 700
master
1, 2, 3 7 10M
F2 10 turns 0.2mm dia. CuL wire.
63V
Printed circuit board, order
ETD29
5A T 984052 - 11 code 984052-1.
12 : 700
*
D7 D5
H3
H4
T1 R5 D6
984052-1 C5 C3 C2 C4
P1
R3 R4
C1
R2
1-250489 984052-1
D1 D3 ROTKELE )C( (C) ELEKTOR
D2 D4
C6
D8
RE1
R1
TR1
F1 F2
5AT 5AT
SLAVE MASTER
OUT2 OUT1
H1
H2
~ K3 ~ ~ K1 ~ ~ K2 ~
wastes about 6 watts of mains some extent) the time the slave should be greater than about WARNING. Great care
power, it is smaller and cheaper remains on after the master has 4 V. The mains master/slave should be taken when work-
than a 1.5-VA mains trans- been switched off. Normally this control draws less than 27 mA ing with this circuit since it
former! delay will be about 3 seconds. with the relay switched on. is connected directly to the
Apart from adjusting the sensi- For reliable operation of the mains.
tivity, P1 also determines (to relay, the UGS potential of T1 (984052-1)
031
L9
5 IC1 12
vents one drawing the erroneous SIG L8
13
L7 D6
conclusion that, since all the 14
T1
LM3914 L6
LEDs are out, the circuit is 6
L5
15 D5
RHI
switched off. The circuit then 7
REFOUT L4
16 T2
2x
continues to draw current, L3
17 D4 BC557B
which, especially if it is battery 8
REFADJ L2
18
47k
270
D7 D5
H3
H4
T1 R5 D6
984052-1 C5 C3 C2 C4
P1
R3 R4
C1
R2
1-250489 984052-1
D1 D3 ROTKELE )C( (C) ELEKTOR
D2 D4
C6
D8
RE1
R1
TR1
F1 F2
5AT 5AT
SLAVE MASTER
OUT2 OUT1
H1
H2
~ K3 ~ ~ K1 ~ ~ K2 ~
wastes about 6 watts of mains some extent) the time the slave should be greater than about WARNING. Great care
power, it is smaller and cheaper remains on after the master has 4 V. The mains master/slave should be taken when work-
than a 1.5-VA mains trans- been switched off. Normally this control draws less than 27 mA ing with this circuit since it
former! delay will be about 3 seconds. with the relay switched on. is connected directly to the
Apart from adjusting the sensi- For reliable operation of the mains.
tivity, P1 also determines (to relay, the UGS potential of T1 (984052-1)
031
L9
5 IC1 12
vents one drawing the erroneous SIG L8
13
L7 D6
conclusion that, since all the 14
T1
LM3914 L6
LEDs are out, the circuit is 6
L5
15 D5
RHI
switched off. The circuit then 7
REFOUT L4
16 T2
2x
continues to draw current, L3
17 D4 BC557B
which, especially if it is battery 8
REFADJ L2
18
47k
270
K1
Design: R. Weber
There can be no doubt that
D2
Microchips PIC microcon- IC1 5V
trollers have achieved general 7805
1N4001
acceptance in the electronics
R4
industry and immense popular- 5V
1k5
1k5
P1
The development system has an X1
on-board 5-volt supply based on 100k
the fully domesticated 7805 reg- C6 C3 C4 D4
T
+
T
IC1
+
K1 C8
G1
G2
K4
R4
C7
D1
D2 C2
C1
K5 P1
R5
D4
R3
K3 B3 B4
C6 B2 B5
B1 B6
R1
S1
C5
B0 B7
COMPONENTS LIST
C4
IC2
D3
C3
R2 Resistors:
A4 R1 = 10
A3 A0
X1 A2 A1 R2 = 10k
984060-1 R3,R4 = 1k5
1-060489
R5 = 4k7
G3
G4
K2 ROTKELE )C( T
+ P1 = 100k preset H
Capacitors:
(C) ELEKTOR C1 = 100F 25V radial
C2 = 47F 16V radial
984060-1
Semiconductors:
D1,D4 = low-current LED
D2 = 1N4001
D3 = 1N4148
IC1 = 7805
IC2 = PIC16C84
Miscellaneous:
S1 = 4-way DIP switch
K1-K5 = 2-way PCB terminal
block, pitch 5mm
X1 = 4MHz quartz crystal
Printed circuit board, order
code 984060-1
033
10k
BUZ74
switches the interior lights of a capacitor is discharged fairly
car on and off gradually. This * see text
T2
slowly via R5, so that T2 is not
D1 D
makes it a lot easier, for * siehe Text
1N4148 R4
turned off immediately. This
instance, to find the ignition voir texte
* zie tekst 100k
G ensures that the interior light
keyhole when the lights have * T1 S remains on for a little while and
gone off after the car door has BUZ74 then goes out slowly.
been closed. S1 R2 R5
The time delays may be var-
Since the circuit must be BC337 C1 G S ied quite substantially by altering
4M7
100k
D
operated by the door switch, a * 47
the values of R3, R5, and C1.
slight intervention in the wiring 16V Circuit IC2 may be one of
of this switch is unavoidable. many types of n-channel power
984065 - 11
When the car door is MOSFET, but it should be able
opened, the door switch closes to handle drain-source voltages
the lights circuit to earth. When greater than 50 V. In the proto-
the door is closed (and the interior light remains off. the transistor is off. Capacitor C1 type, a BUZ74 is used which
switch is open), transistor T1, When the switch closes is charged fairly rapidly via R3 can handle D-S voltages of up to
whose base is linked to the (when the door is opened), the and D1, whereupon T2 comes on 500 V.
switch, cuts off T2, so that the base of T1 is at earth level and so that the interior light is [984065]
T
+
T
IC1
+
K1 C8
G1
G2
K4
R4
C7
D1
D2 C2
C1
K5 P1
R5
D4
R3
K3 B3 B4
C6 B2 B5
B1 B6
R1
S1
C5
B0 B7
COMPONENTS LIST
C4
IC2
D3
C3
R2 Resistors:
A4 R1 = 10
A3 A0
X1 A2 A1 R2 = 10k
984060-1 R3,R4 = 1k5
1-060489
R5 = 4k7
G3
G4
K2 ROTKELE )C( T
+ P1 = 100k preset H
Capacitors:
(C) ELEKTOR C1 = 100F 25V radial
C2 = 47F 16V radial
984060-1
Semiconductors:
D1,D4 = low-current LED
D2 = 1N4001
D3 = 1N4148
IC1 = 7805
IC2 = PIC16C84
Miscellaneous:
S1 = 4-way DIP switch
K1-K5 = 2-way PCB terminal
block, pitch 5mm
X1 = 4MHz quartz crystal
Printed circuit board, order
code 984060-1
033
10k
BUZ74
switches the interior lights of a capacitor is discharged fairly
car on and off gradually. This * see text
T2
slowly via R5, so that T2 is not
D1 D
makes it a lot easier, for * siehe Text
1N4148 R4
turned off immediately. This
instance, to find the ignition voir texte
* zie tekst 100k
G ensures that the interior light
keyhole when the lights have * T1 S remains on for a little while and
gone off after the car door has BUZ74 then goes out slowly.
been closed. S1 R2 R5
The time delays may be var-
Since the circuit must be BC337 C1 G S ied quite substantially by altering
4M7
100k
D
operated by the door switch, a * 47
the values of R3, R5, and C1.
slight intervention in the wiring 16V Circuit IC2 may be one of
of this switch is unavoidable. many types of n-channel power
984065 - 11
When the car door is MOSFET, but it should be able
opened, the door switch closes to handle drain-source voltages
the lights circuit to earth. When greater than 50 V. In the proto-
the door is closed (and the interior light remains off. the transistor is off. Capacitor C1 type, a BUZ74 is used which
switch is open), transistor T1, When the switch closes is charged fairly rapidly via R3 can handle D-S voltages of up to
whose base is linked to the (when the door is opened), the and D1, whereupon T2 comes on 500 V.
switch, cuts off T2, so that the base of T1 is at earth level and so that the interior light is [984065]
270k
Manufacturers and designers BC of the darlington enables it to be
516
lean over backwards to make C1 kept on fairly long with the aid
sure that their equipment draws BT1
100
R2 of a relatively small-value
a small current and can thus be 10V capacitor, C1 (= 100 F).
270k
operated by a battery. C2
Resistor R3 limits the charging
This has its flip side, too. 9V current of C1 to ensure a long
because even if the equipment R3
100 life of S1. Resistors R1 and R2,
10V
100
in question draws only a small in conjunction with C1, deter-
current, when it is not switched mine the switch-on time. When
S1
off, the battery is flat after a few this time has elapsed, R1
days or weeks. The circuit pre- ensures that T1 is switched off.
sented here can prevent this Since the darlington can
happening. 984055 - 11 handle a UBE of 10 V, a polar-
It may be added to all kinds ity protection diode is not
of equipment operating from a needed.
9 V battery and switches this off preset time has elapsed. The 20 mA, which is more than [984055]
automatically one minute after a peak switching current is enough for most applications.
035
pan pot
Design: T. Giesberts
C14
A pan pot enables a mono- 18V
phonic input signal to be posi- 100n
C4
tioned where desired between
the stereo loudspeakers. When C10 6p8
P1 (see diagram) is in the centre 18V R5
75k
position, there is no attenuation 100n
or amplification between the C1
R3 R4
2
1
7
input and output. When the con- 15k 15k
6
C6 R7
10k 5
channel will be amplified 3 dB
C5
more than the other. R1 1 NE5534
Circuit IC1 at the input is a 10k
2 7
C3 22p
buffer stage. It is arranged as an IC1
6
P1
C15
3 18V
inverter to ensure that the phase 8 10
100n
4 NE5534
of the input signal is identical to 5
C12
that of the output signal. The C2
10k 18V
input impedance is set by R1 lin. 100n
22p C7
(10 k).
The output of the buffer is C11
6p8
applied to stereo amplifiers IC2 18V R10
100n
and IC3. A special arrangement 75k
18V
here is the positioning of P1, in 18V
R8 R9 1
7
2 R
conjunction with R3, R4, R8, 15k 15k C9 R12
C16 6
and R9, in the feedback circuits 3
IC2 100
8
of both amplifiers. This means 100
4
10 R11
25V
10k
5
that any adjustment of the
C8
potentiometer will have opposite C17
NE5534
effects in the amplifiers. 22p
100
Series resistors R7 and R12 25V
C13
18V 18V
serve to ensure that the outputs 984032 - 11
18V 100n
can handle capacitive loads.
270k
Manufacturers and designers BC of the darlington enables it to be
516
lean over backwards to make C1 kept on fairly long with the aid
sure that their equipment draws BT1
100
R2 of a relatively small-value
a small current and can thus be 10V capacitor, C1 (= 100 F).
270k
operated by a battery. C2
Resistor R3 limits the charging
This has its flip side, too. 9V current of C1 to ensure a long
because even if the equipment R3
100 life of S1. Resistors R1 and R2,
10V
100
in question draws only a small in conjunction with C1, deter-
current, when it is not switched mine the switch-on time. When
S1
off, the battery is flat after a few this time has elapsed, R1
days or weeks. The circuit pre- ensures that T1 is switched off.
sented here can prevent this Since the darlington can
happening. 984055 - 11 handle a UBE of 10 V, a polar-
It may be added to all kinds ity protection diode is not
of equipment operating from a needed.
9 V battery and switches this off preset time has elapsed. The 20 mA, which is more than [984055]
automatically one minute after a peak switching current is enough for most applications.
035
pan pot
Design: T. Giesberts
C14
A pan pot enables a mono- 18V
phonic input signal to be posi- 100n
C4
tioned where desired between
the stereo loudspeakers. When C10 6p8
P1 (see diagram) is in the centre 18V R5
75k
position, there is no attenuation 100n
or amplification between the C1
R3 R4
2
1
7
input and output. When the con- 15k 15k
6
C6 R7
10k 5
channel will be amplified 3 dB
C5
more than the other. R1 1 NE5534
Circuit IC1 at the input is a 10k
2 7
C3 22p
buffer stage. It is arranged as an IC1
6
P1
C15
3 18V
inverter to ensure that the phase 8 10
100n
4 NE5534
of the input signal is identical to 5
C12
that of the output signal. The C2
10k 18V
input impedance is set by R1 lin. 100n
22p C7
(10 k).
The output of the buffer is C11
6p8
applied to stereo amplifiers IC2 18V R10
100n
and IC3. A special arrangement 75k
18V
here is the positioning of P1, in 18V
R8 R9 1
7
2 R
conjunction with R3, R4, R8, 15k 15k C9 R12
C16 6
and R9, in the feedback circuits 3
IC2 100
8
of both amplifiers. This means 100
4
10 R11
25V
10k
5
that any adjustment of the
C8
potentiometer will have opposite C17
NE5534
effects in the amplifiers. 22p
100
Series resistors R7 and R12 25V
C13
18V 18V
serve to ensure that the outputs 984032 - 11
18V 100n
can handle capacitive loads.
Coupling capacitors C3, C6, stable even at unity gain. allow the pot being incorporated and a bandwidth of 80 dB, this
and C9, may be omitted if an off- Capacitors C1, C4, and C7, in good-quality control panels. figure is still only 0.0023%.
set voltage of 2030 mV is of no minimize any r.f. interference, Total harmonic distortion The circuit needs a power
consequence in the relevant resulting in a usable bandwidth plus noise (THD+N) at a fre- supply of 18 V, from which it
application. of 2.5 Hz to 200 kHz. quency of 1 kHz and a band- draws a current of about 16 mA.
Capacitors C2, C5, and C8, The performance of the circuit width of 22 kHz is 0.0014%. [984032]
ensure that the op amps remain is of sufficiently high quality to Over the band 20 Hz to 20 kHz
036
680
680
680
flows from the +9 V line to 2 IC2a
earth via R1 and R2. The conse- P1 R5 1 3 2
quent potential difference, p.d., IC1a 1
10k
3
across R2 is used to determine 500k
IC2b
the transfer resistance. 9
5 4
Operational amplifier IC1c 8 1 IC3a IC2e
IC1c 1
amplifies the p.d. across R2 to a 10
5 2 & 3 11
1
12
50k
22k
9
1
emitting diodes (LEDs) are dri- & &
ven via the gates and inverters
8 9 13 12
contained in IC3 and IC2
respectively in such a way that 984051 - 11
they indicate the transfer resis-
tance in three categories. When
the resistance is high, green p.d. across R2. circuit in its quiescent state of the supply line (which is not
diode D3 lights; when it is of It is possible to reduce the draws a current of about 17 mA, permissible).
medium value, yellow diode D2 value of the p.d. to enable lower but in operation each LED adds The supply voltage may be
lights, and when it is low, red transfer resistances to be about 10 mA to this. 518 V. The LEDs are driven
diode D1 lights. The levels at detected, but this would mean The LM324 (IC1) may be directly by the inverters in the
which the diodes light is set with an increase in the test current operated from a single supply 4049 (IC2), which can switch
P1, but note that in any case the through R2. line: R1 prevents the voltage at currents of up to 20 mA to earth.
minimum value depends on the With values as specified, the the input from reaching the level [984051]
037
Coupling capacitors C3, C6, stable even at unity gain. allow the pot being incorporated and a bandwidth of 80 dB, this
and C9, may be omitted if an off- Capacitors C1, C4, and C7, in good-quality control panels. figure is still only 0.0023%.
set voltage of 2030 mV is of no minimize any r.f. interference, Total harmonic distortion The circuit needs a power
consequence in the relevant resulting in a usable bandwidth plus noise (THD+N) at a fre- supply of 18 V, from which it
application. of 2.5 Hz to 200 kHz. quency of 1 kHz and a band- draws a current of about 16 mA.
Capacitors C2, C5, and C8, The performance of the circuit width of 22 kHz is 0.0014%. [984032]
ensure that the op amps remain is of sufficiently high quality to Over the band 20 Hz to 20 kHz
036
680
680
680
flows from the +9 V line to 2 IC2a
earth via R1 and R2. The conse- P1 R5 1 3 2
quent potential difference, p.d., IC1a 1
10k
3
across R2 is used to determine 500k
IC2b
the transfer resistance. 9
5 4
Operational amplifier IC1c 8 1 IC3a IC2e
IC1c 1
amplifies the p.d. across R2 to a 10
5 2 & 3 11
1
12
50k
22k
9
1
emitting diodes (LEDs) are dri- & &
ven via the gates and inverters
8 9 13 12
contained in IC3 and IC2
respectively in such a way that 984051 - 11
they indicate the transfer resis-
tance in three categories. When
the resistance is high, green p.d. across R2. circuit in its quiescent state of the supply line (which is not
diode D3 lights; when it is of It is possible to reduce the draws a current of about 17 mA, permissible).
medium value, yellow diode D2 value of the p.d. to enable lower but in operation each LED adds The supply voltage may be
lights, and when it is low, red transfer resistances to be about 10 mA to this. 518 V. The LEDs are driven
diode D1 lights. The levels at detected, but this would mean The LM324 (IC1) may be directly by the inverters in the
which the diodes light is set with an increase in the test current operated from a single supply 4049 (IC2), which can switch
P1, but note that in any case the through R2. line: R1 prevents the voltage at currents of up to 20 mA to earth.
minimum value depends on the With values as specified, the the input from reaching the level [984051]
037
Coupling capacitors C3, C6, stable even at unity gain. allow the pot being incorporated and a bandwidth of 80 dB, this
and C9, may be omitted if an off- Capacitors C1, C4, and C7, in good-quality control panels. figure is still only 0.0023%.
set voltage of 2030 mV is of no minimize any r.f. interference, Total harmonic distortion The circuit needs a power
consequence in the relevant resulting in a usable bandwidth plus noise (THD+N) at a fre- supply of 18 V, from which it
application. of 2.5 Hz to 200 kHz. quency of 1 kHz and a band- draws a current of about 16 mA.
Capacitors C2, C5, and C8, The performance of the circuit width of 22 kHz is 0.0014%. [984032]
ensure that the op amps remain is of sufficiently high quality to Over the band 20 Hz to 20 kHz
036
680
680
680
flows from the +9 V line to 2 IC2a
earth via R1 and R2. The conse- P1 R5 1 3 2
quent potential difference, p.d., IC1a 1
10k
3
across R2 is used to determine 500k
IC2b
the transfer resistance. 9
5 4
Operational amplifier IC1c 8 1 IC3a IC2e
IC1c 1
amplifies the p.d. across R2 to a 10
5 2 & 3 11
1
12
50k
22k
9
1
emitting diodes (LEDs) are dri- & &
ven via the gates and inverters
8 9 13 12
contained in IC3 and IC2
respectively in such a way that 984051 - 11
they indicate the transfer resis-
tance in three categories. When
the resistance is high, green p.d. across R2. circuit in its quiescent state of the supply line (which is not
diode D3 lights; when it is of It is possible to reduce the draws a current of about 17 mA, permissible).
medium value, yellow diode D2 value of the p.d. to enable lower but in operation each LED adds The supply voltage may be
lights, and when it is low, red transfer resistances to be about 10 mA to this. 518 V. The LEDs are driven
diode D1 lights. The levels at detected, but this would mean The LM324 (IC1) may be directly by the inverters in the
which the diodes light is set with an increase in the test current operated from a single supply 4049 (IC2), which can switch
P1, but note that in any case the through R2. line: R1 prevents the voltage at currents of up to 20 mA to earth.
minimum value depends on the With values as specified, the the input from reaching the level [984051]
037
470
250V K2
that the p.d. across R3 also
drops. The increasing resistance 1W
of R3 effects phase angle control
D1 D2
of the triac so that the light is
P1
dimmed gradually. The dimming R4
time may be altered with P1 10k
2k2
R2
within the time range deter-
2k2
D4 D3
mined by network R2-C2.
The circuit operates cor- R3
4x 1N4007 D5 D6
rectly only, of course, when the C2
C4
LDR is not exposed to light LDR Tri1
2200
other than that from the LED. 15V 16V
Di1 100n
220
C3
is not too long: in the prototype,
a model with a length of 5 mm 100n 1W
was used. [984059]
BTA04/600T 984059 - 11
038
microphone
valve preamplifier
Design: G. Corinth 250V
10k
47k
3 47k
The microphone output sig- 100n C12
Tr1 = P2473M 470n
nal is applied to the control grid (Pikatron)
3
1 : 20
of V1A via transformer Tr1, 6
+83V
0mA9
6
220
B1a
which has a transformation ratio R1 Tr1 B2a
+84V
R15
C1 R12 R14
of 1:20. The input double triode, 7
6k8
10k
7
470k
470
+3V7
amplification of a pentode and R3
+2V3
R7 R8
+80V
R13
the low noise of a triode. 5n C4 C8 C11
1k8
470k
2k
10k
0%1 1%
The grid bias for V1B is the 47 22 120p
potential drop across R4, so that C3
470
250V K2
that the p.d. across R3 also
drops. The increasing resistance 1W
of R3 effects phase angle control
D1 D2
of the triac so that the light is
P1
dimmed gradually. The dimming R4
time may be altered with P1 10k
2k2
R2
within the time range deter-
2k2
D4 D3
mined by network R2-C2.
The circuit operates cor- R3
4x 1N4007 D5 D6
rectly only, of course, when the C2
C4
LDR is not exposed to light LDR Tri1
2200
other than that from the LED. 15V 16V
Di1 100n
220
C3
is not too long: in the prototype,
a model with a length of 5 mm 100n 1W
was used. [984059]
BTA04/600T 984059 - 11
038
microphone
valve preamplifier
Design: G. Corinth 250V
10k
47k
3 47k
The microphone output sig- 100n C12
Tr1 = P2473M 470n
nal is applied to the control grid (Pikatron)
3
1 : 20
of V1A via transformer Tr1, 6
+83V
0mA9
6
220
B1a
which has a transformation ratio R1 Tr1 B2a
+84V
R15
C1 R12 R14
of 1:20. The input double triode, 7
6k8
10k
7
470k
470
+3V7
amplification of a pentode and R3
+2V3
R7 R8
+80V
R13
the low noise of a triode. 5n C4 C8 C11
1k8
470k
2k
10k
0%1 1%
The grid bias for V1B is the 47 22 120p
potential drop across R4, so that C3
10k
5V
sounds from S1
D1
C1
D2
330
S2
13
1 12 8
Holtek Application In the quiescent state, the S3 2 IC1 18
This circuit shows how far inte- circuit draws a current not 4 10 R1
gration can be taken: IC1, a Type exceeding 1 A.
120k
5 7
HT82207 from Holtek does vir- S4 8 14
10k
5V
sounds from S1
D1
C1
D2
330
S2
13
1 12 8
Holtek Application In the quiescent state, the S3 2 IC1 18
This circuit shows how far inte- circuit draws a current not 4 10 R1
gration can be taken: IC1, a Type exceeding 1 A.
120k
5 7
HT82207 from Holtek does vir- S4 8 14
10k
5V
sounds from S1
D1
C1
D2
330
S2
13
1 12 8
Holtek Application In the quiescent state, the S3 2 IC1 18
This circuit shows how far inte- circuit draws a current not 4 10 R1
gration can be taken: IC1, a Type exceeding 1 A.
120k
5 7
HT82207 from Holtek does vir- S4 8 14
1k
R9
between pin 2 and the case, and
so on, increasing the value of the 8
resistor by 1 k for each suc-
1k
R8
cessive pin.
7
When this is completed,
1k
R7
connect the analyser to the
cable to be tested and measure 6
the resistance between pin 1
1k
R6
and the case. The value so
obtained in kilohms is the num- 5
ber of the pin at the other end of
1k
R5
the cable.
4
The arrangement is shown in
1k
R4
the diagram. If at all possible,
use resistors in the E96 series, 3
since these give best accuracy.
1k
R3
[B. Vock 974108]
2
Orignal design: B. Vock for checking cables with D9 and Since this design was com-
1k
R2
Modified by: S. Wolf D25 connectors will suffice. pleted, a reader has suggested a
Many constructors have various The shape of the analyser simple improvement to it, 1
1k
R1
cables lying around and after a will depend to a large extent on whereby the nine resistors are
time do not know any longer the type of cable to be checked. linked in series instead of in 0
what they are for or what their It may be made as a connector, parallel. The great advantage of 984007 - 11
pin connections are. It is not as a bus, or as a feed-through this simplification is that all
always possible to check this cable. Since only standard com- nine resistors have the same
with a multimeter. The analyser ponents are needed, the cost is value: 1 or 1 k. The test the multimeter is the nuber of
may be of help in such a situa- low. method remains the same: the the pin at the other end of the
tion. In most cases, an analyser Solder a resistor of 1 k value in or k measured on cable. [ 984007]
042
R4 IC1
instance, while you are exercis- 1M 11 T1
C7
ing. R3 S1
2
The transducer used for 1k 100
16V
1 10 BC547B
detecting the pulse is an electret 3
IC1a
8
microphone, X1 in the diagram. R2 9
IC1c 100
R8
The model used has two (polar- C1
220k
P1 T2
ized) terminals. As usual with 22k 220n C5
this type of microphone, it func- 100p
BT1
tions via a series resistor, R1. C2
R7 BC557B
The potential drop across this 10k 9V
resistor is applied to op amp 470
16V
6 C6
7
IC1a via C1. The amplification of R1
IC1b IC1 = TLC274
1000
5
the op amp is set to between 16V
R9
47
13
Network R4-C3 in the feed- 14
IC1d
back loop of IC1a is a low-pass X1
R6 12
TEL1
C4
filter with a cut-off frequency of
220k
1k
R9
between pin 2 and the case, and
so on, increasing the value of the 8
resistor by 1 k for each suc-
1k
R8
cessive pin.
7
When this is completed,
1k
R7
connect the analyser to the
cable to be tested and measure 6
the resistance between pin 1
1k
R6
and the case. The value so
obtained in kilohms is the num- 5
ber of the pin at the other end of
1k
R5
the cable.
4
The arrangement is shown in
1k
R4
the diagram. If at all possible,
use resistors in the E96 series, 3
since these give best accuracy.
1k
R3
[B. Vock 974108]
2
Orignal design: B. Vock for checking cables with D9 and Since this design was com-
1k
R2
Modified by: S. Wolf D25 connectors will suffice. pleted, a reader has suggested a
Many constructors have various The shape of the analyser simple improvement to it, 1
1k
R1
cables lying around and after a will depend to a large extent on whereby the nine resistors are
time do not know any longer the type of cable to be checked. linked in series instead of in 0
what they are for or what their It may be made as a connector, parallel. The great advantage of 984007 - 11
pin connections are. It is not as a bus, or as a feed-through this simplification is that all
always possible to check this cable. Since only standard com- nine resistors have the same
with a multimeter. The analyser ponents are needed, the cost is value: 1 or 1 k. The test the multimeter is the nuber of
may be of help in such a situa- low. method remains the same: the the pin at the other end of the
tion. In most cases, an analyser Solder a resistor of 1 k value in or k measured on cable. [ 984007]
042
R4 IC1
instance, while you are exercis- 1M 11 T1
C7
ing. R3 S1
2
The transducer used for 1k 100
16V
1 10 BC547B
detecting the pulse is an electret 3
IC1a
8
microphone, X1 in the diagram. R2 9
IC1c 100
R8
The model used has two (polar- C1
220k
P1 T2
ized) terminals. As usual with 22k 220n C5
this type of microphone, it func- 100p
BT1
tions via a series resistor, R1. C2
R7 BC557B
The potential drop across this 10k 9V
resistor is applied to op amp 470
16V
6 C6
7
IC1a via C1. The amplification of R1
IC1b IC1 = TLC274
1000
5
the op amp is set to between 16V
R9
47
13
Network R4-C3 in the feed- 14
IC1d
back loop of IC1a is a low-pass X1
R6 12
TEL1
C4
filter with a cut-off frequency of
220k
equivalent to a frequency of such as that used with Sony ence signals from it. * Unless you are a young
3 Hz. So as to cater for a wide Walkman sets, it is best to The supply voltage for the superfit top-class athlete, you
range of pulse rates, the cut-off connect the two earphones in pulse rate monitor is decoupled should see your GP immediately
frequency is made just over 11 series. by capacitor C7, immediately when you find you have a pulse
times as high as that representing Operational amplifier IC1b is after polarity protection diode rate of 180. As a general guide,
the highest pulse rate. used as an active potential D1. the absolute maximum pulse rate
Operational amplifier IC1c, divider. The voltage across the Owing to the use of CMOS for a young, very fit person is
in conjunction with push-pull actual divider, R5-R6, is half the op amps, the current drain does 180, for a middle-aged person,
am-plifier T1-T2, creates a head- supply voltage. This voltage is not exceed 10 mA, so that oper- 160, and for an elderly person,
phone amplifier, whose output buffered by IC1b, taken from the ation from a 9 V battery is per- 140. When exercising, the pulse
resistance is equivalent to the low-resistance output, pin 7, of fectly feasible. A dry alkaline- rate of a not very fit person
value of R9, that is, 47 . This this op amp and used as refer- manganese battery will have a should not exceed 60% of these
makes the circuit usable for vir- ence for IC1a, and as operating life of about 50 hours. maxima.
tually any kind of headset. The voltage for the electret micro- [984013] Editor
output is short-circuit-proof. In phone. The voltage is decoupled
case of certain headphones, by C4 to remove any interfer-
043
3
IC1a
1
3
2 =1
C1
R1 1n
68k
R2
6k8
IC1b
4
6
5 =1
5V
Design: H. Bonekamp spurious switching pulses are
IC1 = 74HC86
The oscillator shown in Figure generated near the zero cross-
1 is frequently used in digital ings. This problem can be cured 5V +5V
circuits and may, therefore, look only by ensuring that the rise
IC1c IC1d
very familiar. Many readers may time of the input signal is 8 11
C3 14 C2
not know that this type of oscil- shorter than the reaction time of =1 =1 IC1
lator suffers from a nasty draw- the relevant gate. 9 10 12 13
100n 7 10
10V
back caused by noise. When When the oscillator is built
the amplitude of the noise is with fast logic gates, such as
984044 - 13
higher than the hysteresis of the those in the HC-series, the like-
gates used for the oscillator, lihood of the problem occurring
equivalent to a frequency of such as that used with Sony ence signals from it. * Unless you are a young
3 Hz. So as to cater for a wide Walkman sets, it is best to The supply voltage for the superfit top-class athlete, you
range of pulse rates, the cut-off connect the two earphones in pulse rate monitor is decoupled should see your GP immediately
frequency is made just over 11 series. by capacitor C7, immediately when you find you have a pulse
times as high as that representing Operational amplifier IC1b is after polarity protection diode rate of 180. As a general guide,
the highest pulse rate. used as an active potential D1. the absolute maximum pulse rate
Operational amplifier IC1c, divider. The voltage across the Owing to the use of CMOS for a young, very fit person is
in conjunction with push-pull actual divider, R5-R6, is half the op amps, the current drain does 180, for a middle-aged person,
am-plifier T1-T2, creates a head- supply voltage. This voltage is not exceed 10 mA, so that oper- 160, and for an elderly person,
phone amplifier, whose output buffered by IC1b, taken from the ation from a 9 V battery is per- 140. When exercising, the pulse
resistance is equivalent to the low-resistance output, pin 7, of fectly feasible. A dry alkaline- rate of a not very fit person
value of R9, that is, 47 . This this op amp and used as refer- manganese battery will have a should not exceed 60% of these
makes the circuit usable for vir- ence for IC1a, and as operating life of about 50 hours. maxima.
tually any kind of headset. The voltage for the electret micro- [984013] Editor
output is short-circuit-proof. In phone. The voltage is decoupled
case of certain headphones, by C4 to remove any interfer-
043
3
IC1a
1
3
2 =1
C1
R1 1n
68k
R2
6k8
IC1b
4
6
5 =1
5V
Design: H. Bonekamp spurious switching pulses are
IC1 = 74HC86
The oscillator shown in Figure generated near the zero cross-
1 is frequently used in digital ings. This problem can be cured 5V +5V
circuits and may, therefore, look only by ensuring that the rise
IC1c IC1d
very familiar. Many readers may time of the input signal is 8 11
C3 14 C2
not know that this type of oscil- shorter than the reaction time of =1 =1 IC1
lator suffers from a nasty draw- the relevant gate. 9 10 12 13
100n 7 10
10V
back caused by noise. When When the oscillator is built
the amplitude of the noise is with fast logic gates, such as
984044 - 13
higher than the hysteresis of the those in the HC-series, the like-
gates used for the oscillator, lihood of the problem occurring
10k
10k
10k
itive temperature coefficient)
resistor, or an LDR (light-depen- 984039 - 11
dent resistor).
The software for reading the
game port is relatively simple. A
byte should be read at address The software must determine Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
201H (see Figure 2). The four the time during which a bit is
MSBs (most significant bits, i.e., high via a fast loop. The analogue Digital Inputs Resistive Inputs
bits 74) at this address give the value is derived from the pulse 2
status of the four buttons. The width. The faster the loop, the 984039 - 12
program gametest;
uses crt;
begin
if ((nr > 100) or (input>4) or (input<1)) then
begin
gotoxy(5,20);
writeln('Error!! Wrong parameter in measurement function');
measure:=false;
end
else
begin
value:=0;
dummy:=0;
if input=4 then input:=8;
if input=3 then input:=4;
for i:=0 to (Nr-1) do
begin
counter:=0;
bitgame:=true;
port[g_port]:=0;
while bitgame do
begin
game:=port[g_port];
bitgame:=(((game and input)=input) and
(counter<((max*2)+offset)));
counter:=counter+1;
end;
counter:=counter-offset;
dummy:=(dummy + counter);
delay(1);
end;
value:=trunc (dummy/Nr);
if ((value> (max * 2)) or (value<0)) then
begin
if value<0 then value:=-9999
else value:=9999;
measure:=false;
end
else measure:=true;
end;
end; {function}
begin
game := port[g_port];
key1:=((game and 128)<>128);
key2:=((game and 64)<>64);
key3:=((game and 32)<>32);
key4:=((game and 16)<>16);
end; {procedure}
begin
ClrScr;
gotoxy(5,3);
writeln('Analog game port input');
gotoxy(5,23);
writeln('Press "e" to interrupt this program');
gotoxy(1,8);
writeln (' INPUT 1:');
writeln (' INPUT 2:');
writeln (' INPUT 3:');
writeln (' INPUT 4:');
gotoxy(5,15);
write('digital inputs:');
gotoxy(12,17);
write('1:');
gotoxy(22,17);
write('2:');
gotoxy(32,17);
write('3:');
Centronics
in system programmer
Design H. Bonekamp via only four lines available via Centronics port, the programmer via its own menu (start up with
The programmer is based on an the Centronics port. This is pos- should be connected to the PC CISP.EXE).
AT89S8252, which is an 8052- sible because the interface only when both systems are on. The software can program
derived IC with a flash ROM of already uses the requisite TTL DOS software, called CISP, and read the internal memory of
8 Kbyte and a data EEPROM of levels. The lines should be not has been specially developed for the processor. It can also be
2 Kbyte. The ROM is to be pro- longer than 1.5 m (5 ft) to programming the IC. The pro- used to enable two protection
grammed >1000, and the ensure reliable operation. gram is enabled via a batch file bits. Both the input and output
EEPROM >100,000. To prevent a phantom supply with parameters (see help CISP files are in Intel hex format.
Programming is carried out arising between the IC and the /? for the available options) or The software is written in C
Centronics
in system programmer
Design H. Bonekamp via only four lines available via Centronics port, the programmer via its own menu (start up with
The programmer is based on an the Centronics port. This is pos- should be connected to the PC CISP.EXE).
AT89S8252, which is an 8052- sible because the interface only when both systems are on. The software can program
derived IC with a flash ROM of already uses the requisite TTL DOS software, called CISP, and read the internal memory of
8 Kbyte and a data EEPROM of levels. The lines should be not has been specially developed for the processor. It can also be
2 Kbyte. The ROM is to be pro- longer than 1.5 m (5 ft) to programming the IC. The pro- used to enable two protection
grammed >1000, and the ensure reliable operation. gram is enabled via a batch file bits. Both the input and output
EEPROM >100,000. To prevent a phantom supply with parameters (see help CISP files are in Intel hex format.
Programming is carried out arising between the IC and the /? for the available options) or The software is written in C
5V
and the source file is available
together with the EXE code on 44
a 3.5 in floppy disk (Order no.
986023-1 see Readers ser- 35
PSEN
32
EA/VP
vices towards the end of this C3
issue). 11
RXD P0.0
43
ily. 27 9 5
P1.3 P2.3
27
26 8 6 28
Make sure when purchasing K2 K3 P1.4 P2.4
25 7 7 29
the IC to get a version with the 24 6 8
P1.5 P2.5
30
suffix H (or higher letter), since 23 5 9
P1.6 P2.6
31
P1.7 P2.7
older versions suffer from small 22 4
R1
errors in the programming pro- 21 3
1k
10
RESET ALE/P
33
tocol. 20 2
X1 X2
The IC shown in the diagram 19 1
22 21 20
is a 44-pin PLCC version. It is X1
R2
also available in a 40-pin DIL
10k
C2 C1
case, but bear in mind that the
pinouts of the two are different. 22p 12MHz 22p
[984053]
984053 - 11
047
Berlin clock
in IC1. When synchronized with
the DCF77 signal, it can be fine
tuned by a trimmer capacitor in
place of capacitor C1 shown.
The DCF77 receiver may be
any proprietary receiver module
that runs from a 5 V supply and
has a TTL output (low below
1 V, high above 2 V) that is high
in the quiescent state. The open-
collector output of the module
used in te prototype may be
inverted or non-inverted. In the
present circuit, the inverted out-
put (pin 4) is used, which is
linked to the DCF pin on the
PCB shown in Figure 3, and
thus connected to the +5 V line
via pull-up resistor R16. Power
for the module is taken from
pins earth and +5 V on the
board.
When populating the board,
Design M. Raschke ure 1. A total of 24 lamps are The actual clock circuit con- pay particular attention to the
What is special about the Berlin used, which in the present cir- sists of PIC microcontroller IC1 polarity of the LEDs: these are
clock, which, as its name cuit (Figure 2) are replaced by and eight-fold buffer/inverter not all soldered in the same way.
implies, is situated in Berlin, light-emitting diodes D1D24. IC2, which functions as the LED When the finished clock is
and was erected in the early Diode D24 is the seconds indi- driver. powered up, the display flashes
1970, is that it shows the time cator, D20D23 the minutes indi- The clock may run on its at a rate of 1 Hz to indicate that
by a row of lights that show the cator; D9D19 the five-seconds own or in synchrony with a the time shown is not correct. If
following (from top to bottom): indicator; D5D8 the hours indi- DCF77 receiver. When it runs the clock is run on its own, the
seconds, five hour, hours, five cator, and D1D4 the five-hours on its own, its time base is time is set as follows:
minutes, and minutessee Fig- indicator. formed by the crystal oscillator
5V
and the source file is available
together with the EXE code on 44
a 3.5 in floppy disk (Order no.
986023-1 see Readers ser- 35
PSEN
32
EA/VP
vices towards the end of this C3
issue). 11
RXD P0.0
43
ily. 27 9 5
P1.3 P2.3
27
26 8 6 28
Make sure when purchasing K2 K3 P1.4 P2.4
25 7 7 29
the IC to get a version with the 24 6 8
P1.5 P2.5
30
suffix H (or higher letter), since 23 5 9
P1.6 P2.6
31
P1.7 P2.7
older versions suffer from small 22 4
R1
errors in the programming pro- 21 3
1k
10
RESET ALE/P
33
tocol. 20 2
X1 X2
The IC shown in the diagram 19 1
22 21 20
is a 44-pin PLCC version. It is X1
R2
also available in a 40-pin DIL
10k
C2 C1
case, but bear in mind that the
pinouts of the two are different. 22p 12MHz 22p
[984053]
984053 - 11
047
Berlin clock
in IC1. When synchronized with
the DCF77 signal, it can be fine
tuned by a trimmer capacitor in
place of capacitor C1 shown.
The DCF77 receiver may be
any proprietary receiver module
that runs from a 5 V supply and
has a TTL output (low below
1 V, high above 2 V) that is high
in the quiescent state. The open-
collector output of the module
used in te prototype may be
inverted or non-inverted. In the
present circuit, the inverted out-
put (pin 4) is used, which is
linked to the DCF pin on the
PCB shown in Figure 3, and
thus connected to the +5 V line
via pull-up resistor R16. Power
for the module is taken from
pins earth and +5 V on the
board.
When populating the board,
Design M. Raschke ure 1. A total of 24 lamps are The actual clock circuit con- pay particular attention to the
What is special about the Berlin used, which in the present cir- sists of PIC microcontroller IC1 polarity of the LEDs: these are
clock, which, as its name cuit (Figure 2) are replaced by and eight-fold buffer/inverter not all soldered in the same way.
implies, is situated in Berlin, light-emitting diodes D1D24. IC2, which functions as the LED When the finished clock is
and was erected in the early Diode D24 is the seconds indi- driver. powered up, the display flashes
1970, is that it shows the time cator, D20D23 the minutes indi- The clock may run on its at a rate of 1 Hz to indicate that
by a row of lights that show the cator; D9D19 the five-seconds own or in synchrony with a the time shown is not correct. If
following (from top to bottom): indicator; D5D8 the hours indi- DCF77 receiver. When it runs the clock is run on its own, the
seconds, five hour, hours, five cator, and D1D4 the five-hours on its own, its time base is time is set as follows:
minutes, and minutessee Fig- indicator. formed by the crystal oscillator
+5V
+5V
T
0
H2
H3
S1
T3
C4
D20
D5
C2
T2
R1
D19 - - - - - - - - D9
D1
T1
15 h
D21
R15
R14
R16
R11
C3
D2
D6
R12
1h
D22
IC1
R13
X1
R7
R2
D24
D3
D7
R8
30 min
D23
R9
IC2
R4
D4
D8
R5
C1
3 min
ROTKELE )C(
984012-1
1-210489
R3
R10
= 16 h 33 min R6
H4
H1
984012 - 12
984012-1
(C) ELEKTOR
indicator flashes briefly the minute indicator flashes and
(1s<t <2s). S1 is pressed longer than 1s
Press S1 briefly a number of (1s<t<2s). The display should
times until the correct num- then light and show the correct
ber of five-hour LEDs time of day.
flashes (t<1s). When the clock is driven by
Keep S1 pressed until the a DCF77 receiver, S1 is not
hour indicator flashes briefly required.
(1s<t<2s). The clock is best powered by
Press S1 briefly a number of an appropriate, regulated mains
times until the correct hour adaptor that provides an output
LED flashes. voltage of 5 V and an output
And so on current of up to 500 mA.
[984012]
2k7
470
kinds of new component and 100n
primary consists of 2 turns, and
technology, it is still possible to the secondary of 12 turns
design useful, and interesting, 0.3 mm dia. enamelled copper
G D C B T2
circuits. BF494 K1
wire. The number of turns may
S E C4
The circuit is based on two be experimented with for other
well-established transistors, a T1 1n
frequency ranges.
K1
Type BF256C and a BF494. In Amidon T-37-6
L1
The input circuit is tuned to
conjunction with the requisite the wanted station with capaci-
resistors and capacitors, these BF256C tor C1. The response of the
form a well-working antenna C1 R1 R3
tuned circuit is fairly broad, so
amplifier. Note that they are C2 C3 that correct tuning is easy.
560
2k7
R1
active means of warning car dri- LDR
BC547
vers or motorcyclists that youre
crossing the road. It consists of C1
a flat enclosure that houses two
PP3 (6AM6; MN1604; 6LR61) 1
2k7
470
kinds of new component and 100n
primary consists of 2 turns, and
technology, it is still possible to the secondary of 12 turns
design useful, and interesting, 0.3 mm dia. enamelled copper
G D C B T2
circuits. BF494 K1
wire. The number of turns may
S E C4
The circuit is based on two be experimented with for other
well-established transistors, a T1 1n
frequency ranges.
K1
Type BF256C and a BF494. In Amidon T-37-6
L1
The input circuit is tuned to
conjunction with the requisite the wanted station with capaci-
resistors and capacitors, these BF256C tor C1. The response of the
form a well-working antenna C1 R1 R3
tuned circuit is fairly broad, so
amplifier. Note that they are C2 C3 that correct tuning is easy.
560
2k7
R1
active means of warning car dri- LDR
BC547
vers or motorcyclists that youre
crossing the road. It consists of C1
a flat enclosure that houses two
PP3 (6AM6; MN1604; 6LR61) 1
2k7
470
kinds of new component and 100n
primary consists of 2 turns, and
technology, it is still possible to the secondary of 12 turns
design useful, and interesting, 0.3 mm dia. enamelled copper
G D C B T2
circuits. BF494 K1
wire. The number of turns may
S E C4
The circuit is based on two be experimented with for other
well-established transistors, a T1 1n
frequency ranges.
K1
Type BF256C and a BF494. In Amidon T-37-6
L1
The input circuit is tuned to
conjunction with the requisite the wanted station with capaci-
resistors and capacitors, these BF256C tor C1. The response of the
form a well-working antenna C1 R1 R3
tuned circuit is fairly broad, so
amplifier. Note that they are C2 C3 that correct tuning is easy.
560
2k7
R1
active means of warning car dri- LDR
BC547
vers or motorcyclists that youre
crossing the road. It consists of C1
a flat enclosure that houses two
PP3 (6AM6; MN1604; 6LR61) 1
multi-colour LED
Design: V. Mitrovic
How many different conditions IC1c 10 R1
do you reckon may be signalled 1
1k
10k
4k7
I5 4503 Q5
usually red and green, encapsu- 14
I6 Q6
13 1k
lated in the same case. It has R6
three pins: two for the anodes, DA DB 1k
10k
4k7
100n
three-state buffers type 4503, 7 8
multi-colour LED
Design: V. Mitrovic
How many different conditions IC1c 10 R1
do you reckon may be signalled 1
1k
10k
4k7
I5 4503 Q5
usually red and green, encapsu- 14
I6 Q6
13 1k
lated in the same case. It has R6
three pins: two for the anodes, DA DB 1k
10k
4k7
100n
three-state buffers type 4503, 7 8
CTRDIV10/ 1 2 D5
sequentially. The rate at which DEC 4
2
this happens is determined by 4 8
3
7
D6
IC2
the clock at pin 14. 7
DIS
R
4
10
The clock is generated by IC1
4017
5
1
D1
IC1, which is arranged as an 2 TR
555 OUT
3 14
& + 6
5
13 6
astable multivibrator. Its fre- (TLC555) 7 D2
6 9
quency is determined by THR
CV 15
8
11
R1-C1. 5 1
CT=0 9
12
The touch switch, consisting C1 CT5
CTRDIV10/ 1 2 D5
sequentially. The rate at which DEC 4
2
this happens is determined by 4 8
3
7
D6
IC2
the clock at pin 14. 7
DIS
R
4
10
The clock is generated by IC1
4017
5
1
D1
IC1, which is arranged as an 2 TR
555 OUT
3 14
& + 6
5
13 6
astable multivibrator. Its fre- (TLC555) 7 D2
6 9
quency is determined by THR
CV 15
8
11
R1-C1. 5 1
CT=0 9
12
The touch switch, consisting C1 CT5
5V 5V
5V
R1
5V 5V 5V
10k
K1 D1
D2 D3 D4 D5
P1 BAT85 5V
C2 JP12 JP13 JP14
10k
C4 C5 R2 R3 R4 R5
5V 100n
2k2
2k2
2k2
2k2
5V 100n
16 16
GOLDCAP
C1
1 4 8 1 4
A0 P0 A0 P0
100n 2 5 32,768kHz 2 5
A1 P1 3 A1 P1
3 IC1 A0 32.768kHz 3 IC6
6 2 6
A2 P2 JP2 OSCO A2 P2
IC2
K2 * JP1
13
P3
7
9
7
INT
X1
JP15
13
P3
7
9
7 INT P4 PCF INT P4
INT PCF 10 6 8583 PCF 10
6 8574 P5 SCL 1 8574 P5
SCL 14 11 5 OSCI C3 14 11
5 SCL P6 SDA SCL P6
SDA 15 12 15 12
4 SDA P7 SDA P7
3 4 30p
8 8 S1 S2 S3 S4
INT INT
SCL SCL
* zie tekst SDA SDA
* see text 5V 5V 5V
* siehe Text
* voir texte 8 8 8
5 5 5
SDA SDA SDA
6 IC3 6 IC4 6 IC5
SCL SCL SCL
7 7 7
5V PCF PTC 5V PCF PTC 5V PCF PTC
1 1 1
A0 8582 A0 8582 A0 8582
2 2 2
A1 A1 A1
3 3 3
A2 A2 A2
4 4 4
T T T
COMPONENTS LIST A + A + A + +
0 0 0
S1
H6
H7
IC4
IC3
IC5
Resistors: 1 1 1 T
R1 = 10k
984028-1
2 2 2 A2 1 0
R2-R5 = 2k2 D5
C1 C3 D4
P1 = 10k preset H 2 1-820489 S2
IC2 IC6
ROTKELE )C(
Capacitors K2 X1 C5
C4 D3
D1
C1,C2,C4 = 100nF
S3
C3 = 30pF trimmer 15
R5
R4
R3
R2
C2
C5 = GoldCap 0.47F or 1F; 1 D2
IC1
5.5V
R1 S4
H8
H9
Semiconductors: P1
K1
D1 = BAT85
D2-D5 = LED, high efficiency
IC1 = PCF8574P
IC2 = PCF8583P
IC3,IC4,IC5 = PCF8582P,
PCF8594C-2 or PCF8598C-2
IC6 = PCF8574P or
PCF8574AP
thyristor tester
Design: T. Giesberts 5V Three short lengths of circuit
D1 D2
The circuit in the diagram is a wire terminated into insulated
R1
very handy tool for rapidly C1
S3 crocodile clips on connector K1
150
T T T
COMPONENTS LIST A + A + A + +
0 0 0
S1
H6
H7
IC4
IC3
IC5
Resistors: 1 1 1 T
R1 = 10k
984028-1
2 2 2 A2 1 0
R2-R5 = 2k2 D5
C1 C3 D4
P1 = 10k preset H 2 1-820489 S2
IC2 IC6
ROTKELE )C(
Capacitors K2 X1 C5
C4 D3
D1
C1,C2,C4 = 100nF
S3
C3 = 30pF trimmer 15
R5
R4
R3
R2
C2
C5 = GoldCap 0.47F or 1F; 1 D2
IC1
5.5V
R1 S4
H8
H9
Semiconductors: P1
K1
D1 = BAT85
D2-D5 = LED, high efficiency
IC1 = PCF8574P
IC2 = PCF8583P
IC3,IC4,IC5 = PCF8582P,
PCF8594C-2 or PCF8598C-2
IC6 = PCF8574P or
PCF8574AP
thyristor tester
Design: T. Giesberts 5V Three short lengths of circuit
D1 D2
The circuit in the diagram is a wire terminated into insulated
R1
very handy tool for rapidly C1
S3 crocodile clips on connector K1
150
R9
2M2
D2
1N4001 R4 K2
C2 C5
1k
P'
230V
470 16V 100n
D4
100W
F1 C1 R1 C3 R2 N'
470 10k R5
630mA T 470n 1W 330n 2V4
P1
56k
X2 500mW
1k
K1 IC1 3 1
3 7 T1
P Rh R6
R3 6
230V C4 IC2 6k8
10k
2 2
5
TRI1
N Rt 4 BC557B R10
330n 8 A2
39
R8
1 NH-3 TLC271 G A1
1W
470
D1 D3 TLC336T
R7
C6 C7
4k7
984087 - 11
H3
C3
This voltage is used to charge
1-7N804230V
89
984087-1
R9
C1
R8 capacitor C6. The charged
C6
R10 capacitor thereupon provides a
steady current to the triac.
984087-1
D1
T1
C7
H2
C5
IC1 R5
mains connector (K1).
The humidifier is best built
Parts list C1 = 0.47 F, 250 V a.c. T1 = BC557B on the PCB shown in Figure 2,
C2 = 470 F, 16 V, radial which is available ready made
Resistors: C3, C4 = 0.33 F, metallized Integrated circuits: (see Readers services pages
R1 = 470 , 1 W polyester, 5% IC1 = NH-3 (Figaro) towards the end of this issue).
R2, R3 = 10 k C5 = 0.1 F, high stability IC2 = TLC271CP
Bear in mind that parts of the
R4 = 1 k C6 = 47 F, 16 V, radial Tri1 = TLC336T (SGS)
R5 = 56 k C7 = 0.047 F, 250 V a.c.
board will carry mains voltage,
R6 = 6.8 k Miscellaneous: which makes careful working
R7 = 4.7 k Semiconductors: K1, K2 = 2-way terminal block and the enclosing of the board
R8 = 470 D1 = zener diode, 8.2 V, 1.3 W for board mounting, pitch in a plastic case imperative.
R9 = 2.2 M D2 = 1N4001 7.5 mm The humidifier may be con-
R10 = 39 , 1 W D3 = zener diode, 3.9 V, F1 = fuseholder with 630 mA verted into a dehumidifier by
P1 = 1 k preset 500 mW slow fuse interchanging connections 1 and
D4 = zener diode, 2.4 V, PCB Order no. 984087 3 to sensor IC1.
Capacitors: 500 mW [984087]
056
pulse/frequency modulator
C2 15V
resistor R1. The hysteresis of the maximum period is 25 ms, LF357 10k
3
IC is determined by resistors R3 which may be adapted by alter- 4
and R4. The control voltage also ing the value of C1. This will, of R4
causes the frequency of the pre- course, also alter the maximum 100k
sent circuit to be altered. When frequency.
R3
the input voltage is 0 V, the fre- The duty cycle is inversely C1 2x
D1
100
point has been shifted with the rent not exceeding 5 mA. 100n 15V
control voltage, the longer it will [984088]
984088 - 11
057
Parts list C1 = 0.47 F, 250 V a.c. T1 = BC557B on the PCB shown in Figure 2,
C2 = 470 F, 16 V, radial which is available ready made
Resistors: C3, C4 = 0.33 F, metallized Integrated circuits: (see Readers services pages
R1 = 470 , 1 W polyester, 5% IC1 = NH-3 (Figaro) towards the end of this issue).
R2, R3 = 10 k C5 = 0.1 F, high stability IC2 = TLC271CP
Bear in mind that parts of the
R4 = 1 k C6 = 47 F, 16 V, radial Tri1 = TLC336T (SGS)
R5 = 56 k C7 = 0.047 F, 250 V a.c.
board will carry mains voltage,
R6 = 6.8 k Miscellaneous: which makes careful working
R7 = 4.7 k Semiconductors: K1, K2 = 2-way terminal block and the enclosing of the board
R8 = 470 D1 = zener diode, 8.2 V, 1.3 W for board mounting, pitch in a plastic case imperative.
R9 = 2.2 M D2 = 1N4001 7.5 mm The humidifier may be con-
R10 = 39 , 1 W D3 = zener diode, 3.9 V, F1 = fuseholder with 630 mA verted into a dehumidifier by
P1 = 1 k preset 500 mW slow fuse interchanging connections 1 and
D4 = zener diode, 2.4 V, PCB Order no. 984087 3 to sensor IC1.
Capacitors: 500 mW [984087]
056
pulse/frequency modulator
C2 15V
resistor R1. The hysteresis of the maximum period is 25 ms, LF357 10k
3
IC is determined by resistors R3 which may be adapted by alter- 4
and R4. The control voltage also ing the value of C1. This will, of R4
causes the frequency of the pre- course, also alter the maximum 100k
sent circuit to be altered. When frequency.
R3
the input voltage is 0 V, the fre- The duty cycle is inversely C1 2x
D1
100
point has been shifted with the rent not exceeding 5 mA. 100n 15V
control voltage, the longer it will [984088]
984088 - 11
057
Parts list C1 = 0.47 F, 250 V a.c. T1 = BC557B on the PCB shown in Figure 2,
C2 = 470 F, 16 V, radial which is available ready made
Resistors: C3, C4 = 0.33 F, metallized Integrated circuits: (see Readers services pages
R1 = 470 , 1 W polyester, 5% IC1 = NH-3 (Figaro) towards the end of this issue).
R2, R3 = 10 k C5 = 0.1 F, high stability IC2 = TLC271CP
Bear in mind that parts of the
R4 = 1 k C6 = 47 F, 16 V, radial Tri1 = TLC336T (SGS)
R5 = 56 k C7 = 0.047 F, 250 V a.c.
board will carry mains voltage,
R6 = 6.8 k Miscellaneous: which makes careful working
R7 = 4.7 k Semiconductors: K1, K2 = 2-way terminal block and the enclosing of the board
R8 = 470 D1 = zener diode, 8.2 V, 1.3 W for board mounting, pitch in a plastic case imperative.
R9 = 2.2 M D2 = 1N4001 7.5 mm The humidifier may be con-
R10 = 39 , 1 W D3 = zener diode, 3.9 V, F1 = fuseholder with 630 mA verted into a dehumidifier by
P1 = 1 k preset 500 mW slow fuse interchanging connections 1 and
D4 = zener diode, 2.4 V, PCB Order no. 984087 3 to sensor IC1.
Capacitors: 500 mW [984087]
056
pulse/frequency modulator
C2 15V
resistor R1. The hysteresis of the maximum period is 25 ms, LF357 10k
3
IC is determined by resistors R3 which may be adapted by alter- 4
and R4. The control voltage also ing the value of C1. This will, of R4
causes the frequency of the pre- course, also alter the maximum 100k
sent circuit to be altered. When frequency.
R3
the input voltage is 0 V, the fre- The duty cycle is inversely C1 2x
D1
100
point has been shifted with the rent not exceeding 5 mA. 100n 15V
control voltage, the longer it will [984088]
984088 - 11
057
1-370489
984073-1
C2 OUT+
L1 C3
number of additional facilities IC1 T the IC and design software are
such as soft start and the option C1 available from
to work with an external clock. D1 http://www.national. com/sw/Sim-
984073-1 IN+
The latter enables several sup- pleSwitcher/.
plies to be synchronized so as to [984073]
give better control of any EMC The application shown in the of up to 500 mA. Diode D1 is a
(ElectroMagnetic Compatibil- diagram provides an output volt- Schottky type (Uco 45 V and
ity). age of 5 V and an output current Imax 3 A).
058
R2
point for IC1a. The terminal of 0.99. This means that the value
the resistor linked to pin 7 of of R3 cannot be less than
IC1 would normally be at earth 100 k if the value of R2 is
potential, so that the input C5 C6 10 M. If these conditions are
impedance would be 10 M. 10 100n not met, the circuit will become
Connecting the other termi- 10V
5V
unstable.
nal of the resistor to earth via 984089 - 11 [984089]
IC1a and network C2-R3-R2 as
059
soft start
for switching power supply
A National Semiconductor fails or the fuse blows. It is,
Application therefore, advisable to disable
+V IN
switching power supply whose 5 +VIN the regulator at switch-on (via
output voltage is appreciably R1 R3
C IN LM2574 the on/off input). until the rele-
lower than its input voltage has vant capacitor has been
20k
20k
ON/OFF
an interesting property: the cur- charged. When the regulator
3
rent drawn by it is smaller than D1 then starts to draw current, the
its output current. However, the charging current has already
input power (UI) is, of course, 15V T1 dropped to a level which does
greater than the output power. not overload the voltage source.
There is another aspect that R2 The circuit in the diagram
needs to be watched: when the BC547B provides an output voltage of
10k
1-370489
984073-1
C2 OUT+
L1 C3
number of additional facilities IC1 T the IC and design software are
such as soft start and the option C1 available from
to work with an external clock. D1 http://www.national. com/sw/Sim-
984073-1 IN+
The latter enables several sup- pleSwitcher/.
plies to be synchronized so as to [984073]
give better control of any EMC The application shown in the of up to 500 mA. Diode D1 is a
(ElectroMagnetic Compatibil- diagram provides an output volt- Schottky type (Uco 45 V and
ity). age of 5 V and an output current Imax 3 A).
058
R2
point for IC1a. The terminal of 0.99. This means that the value
the resistor linked to pin 7 of of R3 cannot be less than
IC1 would normally be at earth 100 k if the value of R2 is
potential, so that the input C5 C6 10 M. If these conditions are
impedance would be 10 M. 10 100n not met, the circuit will become
Connecting the other termi- 10V
5V
unstable.
nal of the resistor to earth via 984089 - 11 [984089]
IC1a and network C2-R3-R2 as
059
soft start
for switching power supply
A National Semiconductor fails or the fuse blows. It is,
Application therefore, advisable to disable
+V IN
switching power supply whose 5 +VIN the regulator at switch-on (via
output voltage is appreciably R1 R3
C IN LM2574 the on/off input). until the rele-
lower than its input voltage has vant capacitor has been
20k
20k
ON/OFF
an interesting property: the cur- charged. When the regulator
3
rent drawn by it is smaller than D1 then starts to draw current, the
its output current. However, the charging current has already
input power (UI) is, of course, 15V T1 dropped to a level which does
greater than the output power. not overload the voltage source.
There is another aspect that R2 The circuit in the diagram
needs to be watched: when the BC547B provides an output voltage of
10k
1-370489
984073-1
C2 OUT+
L1 C3
number of additional facilities IC1 T the IC and design software are
such as soft start and the option C1 available from
to work with an external clock. D1 http://www.national. com/sw/Sim-
984073-1 IN+
The latter enables several sup- pleSwitcher/.
plies to be synchronized so as to [984073]
give better control of any EMC The application shown in the of up to 500 mA. Diode D1 is a
(ElectroMagnetic Compatibil- diagram provides an output volt- Schottky type (Uco 45 V and
ity). age of 5 V and an output current Imax 3 A).
058
R2
point for IC1a. The terminal of 0.99. This means that the value
the resistor linked to pin 7 of of R3 cannot be less than
IC1 would normally be at earth 100 k if the value of R2 is
potential, so that the input C5 C6 10 M. If these conditions are
impedance would be 10 M. 10 100n not met, the circuit will become
Connecting the other termi- 10V
5V
unstable.
nal of the resistor to earth via 984089 - 11 [984089]
IC1a and network C2-R3-R2 as
059
soft start
for switching power supply
A National Semiconductor fails or the fuse blows. It is,
Application therefore, advisable to disable
+V IN
switching power supply whose 5 +VIN the regulator at switch-on (via
output voltage is appreciably R1 R3
C IN LM2574 the on/off input). until the rele-
lower than its input voltage has vant capacitor has been
20k
20k
ON/OFF
an interesting property: the cur- charged. When the regulator
3
rent drawn by it is smaller than D1 then starts to draw current, the
its output current. However, the charging current has already
input power (UI) is, of course, 15V T1 dropped to a level which does
greater than the output power. not overload the voltage source.
There is another aspect that R2 The circuit in the diagram
needs to be watched: when the BC547B provides an output voltage of
10k
potential across the capacitor National Semiconductor have an ble externally. This means that a level of about 17 V, transistor T1
has reached a level of half or integral on/off switch, and this is higher switching voltage may be comes on, whereupon the regu-
more of the input voltage, all is used in the present circuit. The applied via a series resistor: the lator is enabled.
well. This is why the zener diode input is intended for TTL sig- value of this in the present cir- [984074]
in the diagram is rated at 15 V. nals, and usually consists of a cuit is 22 k. When the voltage
Many regulators produced by transistor whose base is accessi- across the capacitor reaches a
060
984002-1
tivity of the tester is such that IR
light from remote control is
R2
detected at a distance of up to
50 cm. - D2
984002-1
The circuit is designed for
very low power consumption,
drawing less than 1 mA from the
battery when IR light is Hence no on/off switch is may be cased using a small whose artwork is shown here is
detected, and practically no cur- required. The construction ABS case from Conrad. Unfortu- not available ready-made.
rent when no light is detected. drawing shows how the tester nately, the printed circuit board (984002-1)
IC1a 2
IC1b 4
IC1c 6
6.5
1 1 1
14
R1 1 3 5 1-mm Cu wire
IC1 solder to PCB fill case
10M
with wadding
7
BT1 IC1 = 74HC14
50
46
3V / 500mAh
R2 D2
D1
10M
LD274
33
984002 - 11
36
dimensions in mm 984002 - 12
potential across the capacitor National Semiconductor have an ble externally. This means that a level of about 17 V, transistor T1
has reached a level of half or integral on/off switch, and this is higher switching voltage may be comes on, whereupon the regu-
more of the input voltage, all is used in the present circuit. The applied via a series resistor: the lator is enabled.
well. This is why the zener diode input is intended for TTL sig- value of this in the present cir- [984074]
in the diagram is rated at 15 V. nals, and usually consists of a cuit is 22 k. When the voltage
Many regulators produced by transistor whose base is accessi- across the capacitor reaches a
060
984002-1
tivity of the tester is such that IR
light from remote control is
R2
detected at a distance of up to
50 cm. - D2
984002-1
The circuit is designed for
very low power consumption,
drawing less than 1 mA from the
battery when IR light is Hence no on/off switch is may be cased using a small whose artwork is shown here is
detected, and practically no cur- required. The construction ABS case from Conrad. Unfortu- not available ready-made.
rent when no light is detected. drawing shows how the tester nately, the printed circuit board (984002-1)
IC1a 2
IC1b 4
IC1c 6
6.5
1 1 1
14
R1 1 3 5 1-mm Cu wire
IC1 solder to PCB fill case
10M
with wadding
7
BT1 IC1 = 74HC14
50
46
3V / 500mAh
R2 D2
D1
10M
LD274
33
984002 - 11
36
dimensions in mm 984002 - 12
10k
tion, non-linearity. However, the 2 12 X0 14
X
flaw so introduced is compen- IC1a
1 13 X1
IC3
sated adequately if the open-loop 3 2 Y0
15 R7
amplification of the op amps is 5V
1 Y1 Y
10k
R1
sufficiently high. This is well and 5 Z0
10k
4
3 Z1 Z
good at low frequencies, but the C5
12
R5
open-loop gain of op amps drops 100n
74HCT4053
IC1d
14
2k7
6
appreciably at high frequencies. INH 13
video amplifier 5V
R1
C3
1k
10k
tion, non-linearity. However, the 2 12 X0 14
X
flaw so introduced is compen- IC1a
1 13 X1
IC3
sated adequately if the open-loop 3 2 Y0
15 R7
amplification of the op amps is 5V
1 Y1 Y
10k
R1
sufficiently high. This is well and 5 Z0
10k
4
3 Z1 Z
good at low frequencies, but the C5
12
R5
open-loop gain of op amps drops 100n
74HCT4053
IC1d
14
2k7
6
appreciably at high frequencies. INH 13
video amplifier 5V
R1
C3
1k
S1 3V
R4
C3 C2 D4
R3 T1 C1
100 100n
3k3 P1
10V
R3
R2
IC1 16
R1
D1 D3
C1 3
7 D1
IC1
BT1+ CTR14 5 T1 D2
4 D2
4
C2
KAST
BT1 1n2 5
9 !G 6
P1 R1 CX 6 D3
3V 10 14 BC
5k6 RX + 7
327 S1
11 CT 13 C3
2k5 RCX 8
15 3x R4
R2 9 1-940489
BAT85 984049-1
22
1 ROTKELE )C(
BT1 270k 11 984049-1 (C) ELEKTOR
12 2
CT=0 12
3
-
13 D4
LD271
8 LD274
74HC4060
BAT
984049 - 11
+
the bursts can be made using sistor. If one of the counter out-
three counter outputs connected puts is logic high, however, T1 is
to a diode triplet, D1, D2-D3, turned off. In this way, a signal
acting as a wired-OR for logic is obtained which, apart from
ones. Schottky diodes are used encoding information, resembles
here because of their inherent that produced by a real remote factor of the 60-mA peak-pulse required.
low forward voltage drop of just control unit. level sent through the LD271 (or The whole circuit including
0.4 V. The 14-stage ripple carry A fast p-n-p switching tran- LD274) sender diode, the aver- the battery is conveniently built
counter type 74HC4060 also sistor, T1, is used in common- age current drawn from the 3- on the compact PCB whose art-
contains an oscillator which is emitter mode to make sure the volt Lithium button cell is mod- work is shown here. This board
set up to oscillate at about circuit keeps transmitting even erate at about 6 mA when the is available ready-made through
36 kHz by means of components if the battery is almost flat. In battery is full, and 2.5 mA when the Publishers, and designed to
R2, P1, R1 and C1. Via resistor fact, the test transmitter will the battery is drained to 2.5 V. fit in a special key-fob case from
R3, the buffered oscillator out- keep working reliably at 36 kHz The circuit has a small push- Nedis Electronics.
put at pin 9 supplies carrier at battery voltages down to button, S1, which is pressed (984049-1)
(clock) pulses to the driver tran- 1.7 V. Because of the small duty whenever a test signal is
COMPONENTS LIST
Resistors:
R1,R2 = 10k
R3 = 4k7
P1 = 100k preset H
P2 = 10k preset H
Capacitors:
C1 = 100nF MKT (Siemens)
C2,C4,C5 = 10F 16V radial
C3 = 470nF MKT (Siemens)
Used with care, this circuit can astable multivibrator (AMV) of the pulses, the output resis- Semiconductors:
provide a small degree of stim- mode. Its output signal fre- tance of the TLC555 in combi- D1,D2 = 1N4001
ulation for muscles. Two elec- quency is adjustable with preset nation with the value of C3 D3 = LED, high efficiency, red
trodes are fixed on the skin cov- P1. Transistor T1 and preset P2 cause transistor T2 to conducts T1 = BC547B
ering the muscle area. The dis- form an adjustable voltage just 0.5 ms. During that time, T1 T2 = BC337
IC1 = TLC555CP (must be
tance between the electrodes source which charges capacitor connects the low-voltage wind- CMOS type)
has to be between 1 cm and C4 (via resistor R3) to the volt- ing of Tr1 in parallel with C4,
about 5 cm. The circuit gener- age level set with P2. Using the enabling the energy stored in the Miscellaneous:
ates voltage pulses at an capacitor energy expression capacitor to be transferred to the Bt1 = 9V PP3 block, with clip-
adjustable rate of between [0.5*C*U2], it is found that C4 electrodes, and from there, to the on leads
0.6 Hz and 4 Hz. The output contains a fairly accurately muscle tissue. LED D3, finally, S1 = on/off switch
voltage level is also adjustable defined amount of energy which indicates the pulse activity. The Tr1 = mains transformer, 6V,
between 0 V and 250 V. The is smaller than or equal to printed circuit board shown here 1.5VA, Monacor/Monarch*
highest pulse energy supplied 0.4 mJ. By charging C3 via R3, is unfortunately not available type VTR1106
by the circuit is limited to a a simple and safe means is avail- ready-made from the Publishers.
value of about 0.4 mJ, which is able of limiting the maximum * No UK distributor, item avail-
generally believed to be safe. power to be transferred to the WARNING. Not medically able from C-I Electronics or
Stippler Electronics.
The TLC555, IC1, is wired in muscle. As regards the on-time approved to any standard, this
984037-1
P1 P2 T1
H1
H2
T1
R1
D2
1N4001 BC547B R3
+ S1
4k7
TR1 - C1
R3
T2 1-730489
OUT
R1 ROTKELE )C(
D2
C2 C4 TR1
10k
(0,4 mJ)
R2
P2 D3
IC1
S1 C2
10 10
C3
10k 6V 230V
16V 16V
(0.4 mJ)
C5 D1 C4
H3
H4
8 4
P1 1VA5
7 R
DIS
BT1 T2
100k
IC1 C3
3
9V OUT
6 TLC
THR 555 470n D3
10k
R2
2 BC337
TR
CV
5 1
(C) ELEKTOR
C5 C1 D1
984037-1
10 100n
16V 1N4001
984037 - 11
9.5mm (3/8")
30cm (12")
a superglue
adhesive
adhesive 6 ferrite rods as above
1
6 2
5 3
4
b 1 - 6 = ferrite rods
3cm insert core into 3cm (11/4") o/d
(11/4") card/plastic tube
= wood dowel / rod
o/d
L1 + L2 wound on here
wood rod extension handle
(optional)
d L1 L1
L2 984108 - 13
Figure 3. Build the Ultima in this order. Forming a single 30 x 1 cm (a); and a single 30 x 3.2 cm ferrite core (b). Drawing (c) shows the 30 x 3.2 cm ferrite
winding assembly, and drawing (d) the format of the final ferrite core.
in use. cardboard tube (Clingfilm tub- the F14 and 61 materials is rod formation is maintained. The
An alternative is a ferrite-rod ing!). L1 has a width of 28 cm, small. Each 30-cm rod is made assembly should be left in a
loop (loopstick), which in its and consists of an estimated from two 15-cm rods, secured warm place for at least 24 hours
original form is less sensitive 466 close-wound turns of end-to-end with SuperGlue. The to make sure that the adhesive
than a frame loop. However a 24 SWG (0.6 mm) enamelled rod ends should first be lightly is thoroughly cured. The elastic
highly sensitive ferrite loop can copper wire (Figure 2a). The rubbed down with a fine glass bands are then cut away.
be designed with careful selec- winding is terminated with lead- paper in order to remove any The core is then inserted into
tion of ferrite core materials and outs of PVC covered hook-up grease, etc. (see Figure 3a). L1, with any slight looseness
dimensions. To put it simply, the wire. In practice the winding This technique effectively pro- being eliminated with masking
ferrite loop then has to be large ends were held in place with a duces one long rod from two tape. On the prototype, the wood
at, say, 30 x 2.5 cm (12 x 1 spot of SuperGlue, with other shorter ones. Other combina- dowel was made a few centime-
inch). Unfortunately, such ferrite spots every 2.5 cm or so along tions of length could be used tres longer than the rods, so that
rods are not only few and far the winding. This is necessary such as 20 + 10 cm, the 10-cm the core can be extracted from
between but also astronomically as winding the coil is a lengthy section being cut from a 20-cm the coil if and when necessary,
expensive. The size of affordable process. The coupling coil, L2, rod using a hacksaw. In this way, for example, for experiments.
manganese-zinc or nickel-zinc is wound on a 7.6-cm (3-inch) three 20-cm rods would make The simple final assembly is
ferrite rods stocked by radio length of cardboard tube of a two 30-cm rods. clearly shown in Figures 4a,
parts retailers is usually either diameter which just slips over The solid 30-cm long, 3.2 cm 4b and 4c. Three identical
20 x 1 cm (8 x 38 inch) or 20 x L1. L2 is a 3.6-cm (1 716 inch) diameter ferrite rod consists of strips of wood are fastened
1.25 cm (8 x 12 inch). It was wide close-wound winding of six 30-cm rods wrapped around together with wood screws to
decided to home-brew a 30 cm 24 SWG enamelled copper wire, a wood dowel, and temporarily form an inverted U shape chas-
long, 3.2 cm diameter (12 x 114 terminated with hook-up wire held in position with a couple of sis. Coil L1/L2 is mounted on
inch) rod by bundling a number leads lightly twisted together. elastic bands, see Figures 3b, the top with two narrow type
of smaller zinc-nickel rods. The The whole coil assembly is 3c and 3d. Next, the rods and plastic coated Terry clips fas-
target inductance was 26+ mH. shown in Figure 2b. dowel are adhered together to tened at the chassis ends. The
In the basic loopstick circuit The next step is to build the form one solid core, by cemen- twisted ends of L2 are dropped
shown in Figure 1, coil L1 is bundled ferrite core this is tation with a 15-minute setting through a hole drilled in the
brought to resonance by variable illustrated in Figure 3. It con- adhesive such as Uhu. The chassis top, and taken to the co-
capacitor C1. The core of L1 is sists of six 30 cm long, 1 cm adhesive is run along between axial socket mounted on a piece
the above mentioned bundled diameter ferrite rods glued all mating rod and dowel sur- of thin board, screwed to the
giant loopstick. Over the centre together to form one solid 30 cm faces, by easing them gently chassis end.
of L1 is wound coupling coil L2, x 3.2 cm (approx.) core. MMG apart with a thin blade. It is The 800-pF tuning capacitor,
which provides the coaxial con- F14 grade nickel-zinc material important to ensure that the sur- C1, is mounted on the chassis
nection to the receiver or VLF was used. An alternative would faces have the adhesive between side as shown in Figure 4. On
up-converter. The coil assembly be the US type 61 material. At them. Several strong elastic the prototype, a rigid air-spaced
(Figure 2) is wound on a 30 cm these low frequencies, the dif- bands are put around the rods, 800-P tuning capacitor
long x 3.2 cm diameter thin wall ference in performance between making sure that the circular (392+11+392+11 pF AM/FM
L2
L1 L1
K1
knob
COAX socket on plate C1
in plastic box
30cm (12")
b
Terry clip L2 Terry clip
L1 L1
knob
K1
C1
COAX socket on plate coupler insulated shaft alu bracket + panel bush
984108 - 14a
We can only answer questions or remarks of general interest to our readers, con-
B o x cerning projects not older than two years and published in Elektor Electronics.
In view of the amount of post received, it is not possible to answer all letters,
. O . and we are unable to respond to individual wishes and requests for mod-
P
ifications to, or additional information about, Elektor Electronics projects.
4 1 4
1 bits set in the right order, I was
ready to go from BASIC direct-
magazine to automatically
receive the software with pub-
ly to Windows. I did not believe lished designs. I refer to soft-
my eyes, the board worked. ware for stand-alone programs
I have now solved the problem as well as for controllers. This
using this very small BASIC occurred to me because
program: although you publish designs
for programmers, it is not pos-
Set LPT1 sible to use the very same
in bidirectional mode designs for subsequent pro-
OUT &H378 + &H402, 32 + 21 jects based on microcon-
OUT &H378, 32 trollers, which, alas, I can only
obtain ready-programmed
through your valued Readers
When I run this program before Services, or a kit supplier.
PROMMER.EXE, the EPROM I was thinking along the lines
programmer works as expect- of a extra-value subscription,
ed. For your records, the moth- slightly dearer than the normal
Video Copy Processor lete technology. Briefly, the erboard in my computer is a subscription but with the pub-
Dear Editor having read your phenomenon you have wit- Pentium P51430VX-250 lishers automatically supplying
excellent magazine for a num- nessed is caused by the sync- Explorer. What is the actual the requisite software. Of
ber of years, Ive occasionally flywheel circuit available in source of the problem I have course, this could be imple-
attempted the odd project. My your sons old top-loader VCR. stumbled on? Is it poor stan- mented using the Internet.
latest venture was the Video The flywheel circuit was origi- dards for the parallel ports, or Extra-value subscribers would
Copy Processor of November nally intended to overcome pic- a deficiency in your software? then receive a key (digital code)
1997. Having assembled the ture instability as a result of Sved Martinsson (by email) allowing them to once down-
components and soldered them tape speed variation and other load the software from an Inter-
in position with the diligence of tracking irregularities. Modern net site.
a brain surgeon, lo and behold VCRs have much better tape On this (extremely popular) I hope you will at least consid-
it worked per fectly first time speed control, use better project we received a number er my suggestion.
around (rare for me). While tapes, and hence do not need of enquiries similar to yours. G. Bouland
demonstrating it (not without a the old flywheel system. How- As far as we have been able to
certain amount of panache) to ever, as you have seen, it is discover, the problem may be
my son, he informed me (not still very useful! caused by non-standard ini- Thanks for your constructive
without a cer tain amount of tialisation of the EPP port criticisms. To us, software
schadenfreude) that he had mode at the BIOS level. None development is a very time-
been copying (legally I hope) of our prototypes gave evi- consuming activity and there-
for years using his modern EPROM Programmer dence of this, however, and fore often left to free-lance
VCR and my old (discarded) Dear Editor I have just built obviously its just not possible contributing authors, who
top-loader to record with, with the EPROM Programmer fea- to test the project using each negotiate and receive remu-
very watchable results. Maybe tured in your March 1997 and every PC motherboard neration for each copy sold.
some of your buffs could issue, and want to inform you available on the market! We are Unfortunately this remunera-
enlighten me as to this phe- about a problem I encountered. grateful for being able to print tion system is hard to imple-
nomenon. Meanwhile anyone I made my own PCB for this your BASIC program because ment in your extra-value
want to buy a little used Video project and used locally it may helpful to other readers subscription scheme, although
Copy Processor? Kids, whod obtained parts. experiencing communication offering or selling software via
have them! During the first test I got the problems with the EPROM pro- the Internet is, we feel, a viable
M. Fitzgerald, Limerick message wrong hardware. grammer. option. Unfortunately, existing
Selecting ECP, EPP or indeed (See also Unidirectional Ver- payment systems are not (yet)
any other printer por t mode sion of EPROM Programmer, attractive when it comes to
Many thanks for your letter, and made no difference. I examined Elektor Electronics September selling relatively low-priced
congratulations on success- the operation of the board step- 1997, p. 72) products in this way.
fully building this project. by-step using BASIC but could For some time now we have
As we already explained in the not find any error in the hard- been busy resolving the prob-
earlier (1988) article on ware. Using BASIC I was able lem of unobtainable source
Macrovision, many older VCRs to manually control the parallel Software code files. These will be made
are not bothered at all by copy port register. I have been wondering for available in those cases where
protection signals, so again it These tests took a lot of time. some time now why it is not (1) it makes sense to make
seems wise not to bin obso- Finally, when I had the register possible for subscribers to your source code files available to
our readers, and (2) the author This problem is simple to One of the rules of thumb that Submitting Articles for
has transferred the relevant solve. Locate the file also applies to NiMH batteries Publication
file(s) and copyrights to us. MSAJT110.DLL on your sys- is that the charging current is Dear Editor I have devel-
tem, and rename it to 1.4 to 1.5 times the specified oped a small project which I
MSAJT200.DLL. The EIT capacity. So, your 1100 mAh would like to offer you for pub-
installer should then work batteries will require a total lication. However, looking at the
Monacor/Monarch Parts properly. charge of 1500 to 1650 mAh. high quality of your ar ticles I
Dear Editor a fair number of A few other readers have In other words, you should fear that what I have wrought
recently published articles are reported that the EIT will not charge them for 12 hours at on my kitchen table is just not
based on components supplied launch after an otherwise suc- 130 mA, or for 32 hours at good enough because of my
by a company called Mona- cessful installation. An error 50 mA. limited skills at technical writ-
cor/Monarch (or even Merca- report File not found then For safe charging a charging ing and my inability to design
tor). To date I have been unable appears. Because this is a rare period of 14 to 15 hours is a high-quality printed circuit.
to locate their representative in problem, we have been unable commonly applied, using a Since I do not find a Call for
the UK and, indeed, any of the so far to discover the exact current equal to 1/10th of the Designs or similar section in
Monacor par ts you specify. cause. A makeshift solution is battery capacity. So, your 130- your magazine, how does one
Where can I obtain these parts to rename the file mAh charger is almost the per- actually go about submitting an
(mostly connectors, trans- MSAJT110.DLL into fect companion for these ar ticle for publication in Elek-
formers and moving-coil MSAJT112.DLL before running batteries. The one advantage tor Electronics?
meters)? the EIT installer. of the 50-mAh charger is that
F. Anderson, Ipswich it allows the batteries to given Well its much simpler than
a much longer charge without you would expect, and theres
any danger. Even continuous no need to have reservations
By most standards, Monacor Charging charging should be without risk about low design standards
is a large supplier of electron- NiMH Batteries at this low current. because we will do the touch-
ic parts with distributors in Dear Editor I have a query ing up if your article is accept-
nearly all European countries. on charging the new NiMH pen- ed for publication.
Until recently, the parent com- light batteries from Philips. On Content is far more important
pany, the German Inter-Mer- the label it says that these bat- Electronic Code Lock than looks. Basically, your cir-
cador GmbH, did not have an teries can be used in any Dear Editor I wish to bring cuit has to be original and
outlet in the UK. Fortunately, charger. With a suspicious to your attention that the out- innovative, and other readers
Monacor UK (Ltd) are now in mind I called the Philips Con- put NAND gate of the Electron- should be able to reproduce it
business and can be reached sumer Information Desk, only ic Code Lock (September as well as grasp its theory of
on the following numbers: tel. to be told that there was no 1997) suffers to a small extent operation. Once your design
(01908) 217100, fax (01908) danger of the batteries being from contact bounce. I was has been accepted for publi-
217900. We should also men- damaged by over-charging. able to prove this by adding a cation, you will receive a remu-
tion that most Monacor com- My actual questions to you are: JK flip-flop set to toggle state neration proposal from the
ponents we refer to can be I have a charger supplying a to the output. Ideally, this flip- Publisher, via our editorial sec-
supplied as one-offs by two of current of 50 mA. The NiMH flop should toggle at every retariat.
our advertisers, Stippler Elec- batteries have a capacity of pulse from IC2d. Unfortunate- Contrary to what you seem to
tronics and C-I Electronics, 1100 mAh. How long should I ly, the application of a NAND think, we do not mind the odd
mainly because they also carry leave them in the charger? I gate with Schmitt trigger inputs spelling mistake or slip of the
kits for many of the projects also have another charger with is no guarantee for complete pen in your writs because most
featured in Elektor Electronics. 130 mA output capacity. How elimination of pulses resulting articles are virtually rewritten
long should I leave it on to from contact bounce. I was by our editorial staff in close
recharge my NiMH batteries? able to cure this problem by co-operation with one of our
My questions may appear very connecting a 1-F electrolytic internal design engineers
Elektor Item Tracer simple, but I am fully aware of capacitor between pin 12 of appointed to oversee your pro-
Dear Editor I recently the fact that the total amount of IC2d and ground. In this way, ject technically. So, theres
ordered and received the Elek- energy needed to charge the the input remains logic low suf- absolutely no need to submit
tor Item Tracer (EIT). However batteries is greater than the ficiently long (approx. 1 s), and any mil-spec documents!
I have not been able to run the energy I can drain from them. bounce pulses generated when What we do need, however, is
program despite the fact that I would also like to fully charge S4 is released do not reach the a clear circuit diagram, short
all files are present according the batteries without any risk of output any more. descriptions of the circuit oper-
to your checking program. over-charging. C. Tribolet ation and software (if used),
I get the message Cannot find S. van Rhijn, Netherlands and sources for all compo-
MSAJT200.DLL when I try to nents used.
run the program, and then the Contact bounce pulses are Although not strictly required,
installation program terminates. One of the major differences notorious troublemakers in dig- article proposals should be
I remember seeing something between NiCd and NiMH bat- ital circuits. For the problems supplied on disk, using any of
about this in a past issue but teries is that the latter are you report with the Electronic the popular file formats for
can not now locate the relevant slightly less robust and less Code Lock, the addition of a 1- word processing and PCB
issue. Please tell me how to get tolerant of high charging and F cap is a possible solution. design. Why not give it a try?
the missing file, preferably discharging currents. The lat-
through the Internet. ter fact is important for fast
Michail Kalognomos, by email charging only.