- V ■ A 1 CONTENTS SPECIAL FEATURES 907 EDITORIAL: Hacking( Fun or Evil? 9.18 Al Transplant 9.27 The changing role of public telecom operators 9.30 Medical electronics from L & T 9.41 Finding faults, No problem 9.45 News 9.120 New products AUDIO & HI-FI 9.50 Balance indicator (001 ) 9.55 Recording control (009) 9.57 4-channel mixer (01 4) 9.59 Bucket brigade delay line (01 9) 9.62 T uneable band-pass filter (022) 9.66 Sound level attenuator (030) 9.80 A simple VOX (053) 9.80 Low-noise microphone preamplifier (054) 9.1 12 Voice-band filter (096) CAR ELECTRONICS 9.51 Car lights monitor (003) 9.62 Car headlight control (023) 9.71 Energy control for battery charges (039) 9.72 Car alarm (041) 9.74 Psychological car lock (043) 9.79 Improved low-fuel indicator (052) 9.89 Rear window wiper coupler (067) 9.96 Rear wash-wipe control (077) COMPONENTS 9.63 BiCMOS integrated circuits (025) 9.67 Fast unity gain opamp (031 ) 9.1 17 Decoupling power rails (103) 9.1 15 R-2R resistance network in SMT (100) COMPUTERS 9.50 Reset for the PCI 640 (002) 9.55 Child-proof reset switch (01 0) 9.58 MSX EPROM (015) 9.63 Reset protection (024) 9.68 Printer reset (032) 9.71 l/O-friendly keyboard (038) 9.77 Monitoring temperature with the C64 (049) 9.89 Pulse skipper (068) 9.91 Daylight-resistant optocoupler (070) 9.95 RS 232 Interface for C64 (076) 9.98 One or two MBIT Eprom programmer (081 ) 9.104 Small I/O card (087) 9.1 10 Automatic printer sharing (095) ELECTROPHONICS 9.51 Vocal eliminator (004) 9.68 Variable low-pass filter (033) 9.87 Guitar compressor (064) 9.99 MIDI interface for Amiga (082) 9.116 Break-jack adaptor (101) 9.1 1 8 Modular guitar amplifier (1 05) 9.54 Sound level meter (008) 9.52 Power booster for 7406/7407 (005) 9.56 "On” indicator (01 1 ) 9.59 Simple temperature indicator (01 8) 9.64 Programmable switch (026) / 9.69 Automatic switch (034) ( / ANNUAL NUMBER SEPTEMBER 1989 VOLUME-7 NUMBER-9 9.70 Head/tail lights for model railway (037) 9.73 Twilight switch (042) 9.75 X-Y plotter interface (044) 9.75 Timer with audible warning (045) 9.79 Heating timer (051) 9.81 High-volume alarm (055) 9.82 Mains-powered timer (056) 9.83 Single-chip melody generator (057) 9.83 Infra-red microphone (058) 9.84 Four-quadrat dimmer (059) 9.84 Sensor switch and clock (060) 9.85 Mini-drill control (061) 9.86 Mains failure indicator (063) 9.90 Flashing-light control (069) 9.92 Improved economical porch light (071) 9.92 Ringing pruner (072) 9.94 EEPOT (074) 9.95 LED Voltmeter in SMT (075) 9.97 Differential amplifier (078) 9.100 Automatic charger add-on unit (083) 9.101 Smoke detector (084) 9.105 Liquid-level monitor (089) 9.106 ‘On’ indicator for gas-operated fridges (090) 9. 107 Automatic fog horn (091) 9.1 12 Slide fader update (097) 9.1 14 Time-delayed flash (099) 9.1 18 Light (S) out? (104) 9.1 19 Donald duck generator (106) POWER SUPPLIES 9.52 78xx monitor (006) 9.56 9-volt supply (01 2) 9.65 Switch-mode voltage regulator (027) 9.69 Low dissipation regulator (035) 9.76 High-power zener diode (047) 9.78 Simple variable power supply (050) 9.93 Small step-up converter (073) 9.98 Power supply with EEPOT (080) 9.109 Symmetrical power supply (094) 9.113 Reference-voltage source with indicator (098) 9.116 Maximum/minimum voltage indicator (102) RADIO & TV 9.53 Radio beacon converter (007) 9.58 Universal squelch (016) 9.60 Fast envelope sampler (020) 9.65 2-metre transmitter (028) 9.86 Call tone generator (062) 9.102 VFO stabilizer for up to 100 MHZ (085) 9.107 Headphone amplifier with scart plug (092) TELECOMMUNICATIONS 9.70 Duplex audio link (036) TEST & MEASUREMENT 9.56 ABS/RMS/LOG converter (013) 9.59 48 MHz CMOS oscillator (017) 9.61 Noise generator (021 ) 9.66 Meter-scale magnifier (029) 9.72 TTL supply monitor (040) 9.76 HCMOS square wave generator (046) 9.77 Voltage-controlled oscillator (048) 9.88 LC sine wave generator (065) 9.88 Shunt for multimeter (066) 9.97 HF probe for oscilloscope (079) 9. 103 Crystal tester (086) 9.104 Voltage tracer in SMT (088) 9.109 Digital trigger for oscilloscopes (093) elektor india September 1989 9.05 Publisher : C.R. Chandarana Editor : Surendra Iyer Circulation : Advertising : J. Dhas Production : C.N. Mithagari Address : ELEKTOR ELECTRONICS PVT. LTD. 52, C Proctor Road, Bombay-400 007 INDIA Telex: (011) 76661 ELEK IN OVERSEAS EDITIONS Elektor Electronics (Publishing) Down House, Broomhill Road, LONDON SW18 4JQ Editor: Len Seymour Elektor sari Route Nationale; Le Seau; B.P. 53 59270 Bailleul - France Editors: D R S Meyer; G C P Raedersdorf Elektor Verlag GmbH Susterfeld-StralSe 25 5100 Aachen - West Germany Editor: E J A Krempelsauer Elektor EPE Karaiskaki 14 16673 Voula - Athens - Greece Editor: E Xanthoulis Elektuur B.V. Peter Treckpoelstraat 2-4 6191 VK Beek - the Netherlands Editor: PEL Kersemakers Electro-shop 35 Naseem Plaza Lasbella Chawk Karachi 5- Pakistan Manager: Zain Ahmed Ferreira & Bento Lda. R.D. Estefania, 31-1" 1000 Lisboa-Portugal Editor: Jeremias Sequeira Ingelek S.A. Plaza Republics Ecuador 2-28016 Madrid - Spain Editor: A M Ferrer Electronic Press AB Box 5505 14105 Huddinge - Sweden Editor: Bill Cedrum The Circuits are domestic use only. The submission of designs or articles implies permission to the publisher to alter and translate the text and design and to use the contents in other Elektor Publications and activities. The publishers cannot guarantee to return any material submitted to them. Material must be sent to the Holland address (given above!. All drawings, photographs, printed circuit boards and articles published in elektor publications are copyright and may not be reproduced or imitated in whole or part without prior written permission of the publishers. Patent protection may exist in respect of circuit devices, components etc. described in this magazine. The publishers do not accept responsibility for failing to identify such patent or other protection. Printed at : Trupti Offset Bombay - 400 01? Copyright ® 1989 Elektuur B.V. ANNUAL NUMBER SEPTEMBER 1989 VOLUME-7 NUMBER-9 HACKING: FUN OR EVIL? There are indications that hacking, the nefarious accessing of computers, is becoming more widespread. There are many who in their naivity consider that this anti-social behaviour is nothing but a bit of fun whose perpetrators do a useful job in testing the security of computer systems. Nothing could be further from the truth. A hacker is someone who, without permission, enters your home as it were and goes through your personal belongings. While doing so, he may, innocently or intentionally, take copies of your computer files. He may destroy or corrupt them. He may unwittingly plant an electronic time bomb that does not go off til much later. There is no way of knowing exactly the harm and damage caused to private computer systems, but it is estimated, and in a number of countries a documented fact, that industrial and commercial losses world-wide amount to thousands of millions of pounds. More seriously, deaths have already occurred owing to the (hopefully inadvertent) changing of medical records by hackers infiltrating a French hospital computer system. And nobody knows how many cases of blackmail have been, or are being, conducted as the direct result of a hacker’s activities. It is, of course, true that many computer owners to a large extent have only themselves to blame. After all, you don't leave your car unlocked parked anywhere in a big (or even small) town nowadays. Nor do you leave the front door of your home open so that people can just walk in. That is, of course, no reason for anybody to take your car or enter your home, but it does hand them the opportunity of so doing on a plate. Considering the cost of a computer system, and the possible losses caused by hacking, the cost and trouble of making the system secure are relatively small. Many may argue that the laws should be changed to deal with hackers, but that will not be the whole answer any more than it is in the case of other kinds of crime. Nevertheless, a change in the law is overdue, if only because it will at least reflect the attitude of the nation to hacking, an activity that is at best irresponsible, invariably harmful, and often destructive. elektor india September 1989 9.07 BALANCE INDICATOR If your amplifier is fitted with two balance controls (as, for instance, the Elektor Electronics Preamplifier for Purists - Ref. 1 ), it actually offers you a balance control and a level control. A drawback of this is that it is quite difficult to set the balance prop- erly. This may be obviated, how- ever, by replacing the two mono potentiometers by stereo ver- sions, PI and P2 in the diagram. One half of the pair, Pla and P2a, assumes the tasks of the removed components. The other half is connected in a bridge cir- cuit. The voltage between the wipers of the potentiometers is then a measure of the balance between the two channels. The lower the potential, the better the balance. If you are interested in knowing the degree of unbalance, connect a centre-zero moving coil meter with a bias resistor between A and B. With this arrangement, zener diodes D1 and D2 may be omitted: they are necessary only with the led indi- cator shown in the diagram to prevent the input voltage of the opamp getting too close to the level of the supply voltage. The circuit around IC1 is a classical differential amplifier. Resistors R5 and R6 provide a virtual earth for the LEDs, which is necessary to ensure that in spite of the asymmetrical supply voltage a positive and a negative output is obtained. Since the leds have been included in the feedback loop of the indicator, the circuit is pretty sensitive. At only 40 mV, that is, just one fourhundredth of the supply voltage, one of the leds begins to light already. The maxi- mum current drawn by the leds is determined by the values of R5 and R6. Ref. 1. “Elektor India November 1988 | 002 COMPUTERS 1 RESET FOR THE PC 1640 The PC1640 is one of Amstrad's popular and successful series of compact pcs. It has, unfortunately, a serious deficiency: there is no reset control. Luckily, it is not too difficult to fit this control ret- rospectively, since every pc, and the 1640 is no exception, has a reset circuit. In the 1649, the circuit shown below monitors the level of the supply voltage. This voltage is sampled by potential divider R151-R152-R176-R188. If the supply is too low, the Q105, and consequently the Q104, switches off. Transistor Q106 is also pro- vided with too little bias voltage to conduct. The enable input of the CMOS memory, IC134, is linked to the collector of Q105, so that when Q105 is turned off, the memory is disabled. At the same time, the supply to the memory is switched off since Q104 is off. CE IC134 Only when the supply voltage is at the correct level does Q105 conduct. At the same time, Q104 and Q106 are provided with suf- ficient base current to switch on. This causes the supply to 1034 to be switched on, which results in the removal of the inhibit on the enable input. The processor receives a signal, pwrok, indicat- ing that the supply level is all right, so that the reset cycle can start. The entire computer is initialized, while all i/o lines are set as required. To fit a reset control, use is made of the pwrok signal in the fol- lowing manner. If R152 is short-circuited, pwrok goes low and the processor is reset. Only when pwrok has gone high again will the processor start the reset routine. This is exactly the same cycle that occurs when the computer is restarted. In other words, all the reset control needs to do is to short-circuit R152. The reset facilicity is incorporated fairly easily by fitting at some covenient place on the computer a simple push-button switch with a make contact. Connect the two terminals of the switch to the two ends of R152 (clearly marked on the pcb) via two short lengths of flexible wire and that’s all. CAR LIGHTS MONITOR A defect car light is at best a nuisance and at worst a danger. Fortunately, most new cars are equipped with suitable monitors thast indicate on the dashboard whether a light is not working. There are, of course, millions of older cars that have no such sophistication and it is for these that the present monitor is intended. Two special ics are available from Telefunken that are de- signed for measuring the current through a light bulb. In practice, detecting whether a current flows through a bulb or no is a most suitable way of determin- ing whether the bulb still works. If a small resistance is con- nected in series with the bulb, a small voltage drop will develop across it when the bulb lights (R1 and R2 in the diagram). Each ic can cope with only two bulbs, so that per car three or four ics are needed. The junction of the bulb and resistor is connected to one of the inputs (pin 4 or pin 6) of the ic. The potential across the resistor is compared in the ic with an internal reference voltage. Depending on which of the two ics is used, the voltage drop must be about 16 mV (U477B) or 100 mV (U478B). This voltage drop is so small that it will not affect the brightness of the relevant bulb. The value of the series resis- tor is determined quite easily. If, for instance, it is in series with the brake light (normally 21 W), the current through the bulb, assum- ing that the vehicle has a 12 V battery, is 21/12=1.75 A. The resistance must then be 16/1.75= 9 m£2 (U477B) or 100/1.75= 57 mO (U478B). These resistors may be made from a length of resistance wire ((available from most electrical retailers). Failing that, standard circuit wire of 0.7 mm dia. may be used. This has a specific resis- tance of about 100 ml) per metre. However, in most cars the exist- ing wiring willl have sufficient resistance to serve as series resis- tor. LEDs may be connected to the outputs of the ic (pins 3 and 5). These will only light if the relevant car light fails to work properly. ELECTROPHONICS VOCAL ELIMINATOR Otherwise properly mixed sounds often suffer from a predom- inant solo voice (which may, of course, be the intention). If such a voice needs to be suppressed, the present circuit will do the job admirably. The circuit is based on the fact that solo voices are invariably struated "at the centre" of the stereo recordings that are to be mixed. This means that the voice levels in the left- and right-hand channels are about equal. Arithmetically, therefore, left minus right is zero, that is, a mono signal without voice. There is, however, a. problem: the sound levels of bass instru- ments, more particularly the double basses, are also just about the same in the two channels. This is becausae on the one hand low- frequency sounds are virtually non-directional and on the other hand, the recording engineers purposely use these frequencies to give a balance between the two channels. However, the bass instruments may be recovered by adding those appearing in the left+right signal to the left-right signal. The whole procedure is easily followed in the circuit diagram. The incoming stereo signal is buffered by A1 and A2. The buffered signal is then fed to differential ampolifier A3 and subse- quently to summing amplifier A5. The latter is followed by a low- pass filter formed by A6. You may choose between a first-order and a second-order filter by respectively omitting or fitting C2. Listen to what sounds better. The low-frequency signal and the difference signal are applied to summing amplifier A4. The balance between the two is set by PI and P2 to individual taste. You may have noticed that the circuit does not contain input elektor india September 1989 9.51 or output capacitors. If you wish, output capacitors may be added without detriment. However, the fitting of input capacitors is not advisable, because the conse- quent phase shift would adverse- ly affect the operation of the cir- cuit. (A. Roelen) L POWER BOOSTER FOR 7406/7407 It often happens that a digital signal is required for controlling a relay, a stepper motor, or other kind of relatively heavy load. This makes it necessary for both the output cur- rent and the output voltage of the relevant device to be increased. Some logic devices are provided with constant-voltage open-collec- tor outputs, but these are invariably restricted to 15 V or 30 V. With a little dexterity, it is possi- ble to provide a 7406 or 7407 with a dedicated open-collector output - see Fig. 1. If you aim for the con- struction in Fig. 2, the result will take not much more space than a standard 7406. Since the output stage inverts, it is necessary to use the non-inverting 7407 to obtain an inverted output. The transistor must be chosen in accordance with the wanted output. For most general purposes, the BC546 is perfectly satisfactory (200 mA at 65 V). - . „ , „ (A. Schaffert) 78XX MONITOR When a voltage regulator is supplied from a mains adapter, it sometimes happens that its output is too low (because the output from the adapter is too low, or because the voltage has dropped to a low value owing to an overload). It is useful if a warning of that situation is indicated. The proper operation of the 78xx series of regulators depends on the difference between input and voltage voltage, which must be not less than 3 V (worst case; many regulators are much better). 9.52 elektor india September 1989 The voltage drop across the regulator is monitored by IC1. The input and out- put voltage of the regulator are supplied to IC1 via potential dividers. If the input voltage to the regulator is too low, IC1 goes high, which causes Cl to charge and this turns on Tl, so that D2 lights. You may, of course, use a buzzer instead of D2 and R7. The charge on Cl ensures that the LED lights for at least 10 ms. This means that the circuit will react to even very short voltage drops at the input of the regulator. A large ripple that results in a too low input voltage is therefore clearly indicated. The circuit is based on the 7805; the value of R1 must be redi- mensioned for other members of the 78xx series by the following: Rl=[(2dU/Ur) + l|/R2 where dU is the voltage drop across the regulator and Ur is the characteristic output voltage of the regulator. It is nec- essary that dU is chosen somewhat larg- er than the actual minimum voltage drop across the regulator to prevent non-operation of the circuit. This is so because the minimum voltage drop across the regulator is constant when the device ceases to function properly until the input voltage returns to normal. In other words, the monitor must be able to react to a voltage drop that is slightly higher than the minimum voltage drop. RADIO BEACON CONVERTER .1 = 10 MH* ory [Hz], With values as shown in the diagram, /=I in /(3.9xlO-'») [Hz], Finally, note that the supply voltage to the OP80 must under no circumstances exceed ±8 V. The circuit draws a current of typi- cally 4 mA. MONITORING TEMPERATURE WITH THE C64 Maplin's module Type FE33L provides an inexpensive and convenient means of monitoring temperature. The module has a built-in a-d converter and an lc display and works from a single 1.5 V battery. Since it is often impractical to take frequent readings manually, the module provides a serial data output that can be used with most microprocessor systems. The combination of hardware and software given in this article enables a C64 comput- er to use the serial data, within basic, via the usr function. The hardware consists of nothing more than a simple ttl level driver and may be mounted on a small piece of prototyping board. This may be connected to the module by three short wires, while the outputs go to a two-by-twelve 0.156" pitch edge connec- tor for the C64's user port. Pins 5 and 16 of the module should be short-circuited to obtain the maximum sampling rate of one per second. Check all connections before switching the computer on. The listing provided loads a machine-code program into the small section of ram above the basic rom at location 49152 ($C000). Note that some lines are very Similar to others thus assisting entry. Once this has been run (without errors), and sys 49152 has been entered, the temperature is obtained as follows: TEMP = USR(0) : PRINT TEMP This line can be incorporated into any basic program. elektor india September 1989 9.77 REM ********************************* REM *** Maplin Temperature Module *** REM *** Interface Software *** REM ********************************* REM *** SYS 49152 to initialise *** REM *** Temperature = USR(O) *** 0 1 2 3 4 5 9 10 FOR L = 0 TO ' 178 : READ A : T=T+A 11 POKE 49152+L, A:NEXT L 12 IF TO232 90 THEN ? "Error in DATA " 13 : 14 DATA 162,0,142,3,221,169,16,141 15 DATA 17,3,169,192,141,18,3,96 16 DATA 120,169,2,162,0,44,1,221 17 DATA 208, 251, i72, 1,221, 232, 44,1 18 DATA 221,240,250,224,90,48,236,162 19 DATA 13,152,41,1,157,179,192,202 20 DATA 169,2,44,1,221,208,251,173 21 DATA 1,221,41,1,157,179,192,202 22 DATA 169,2,44,1,221,240,251,224 23 DATA 0,208,229,162,13,189,179,192 24 DATA 73,255,41,1,157,179,192,202 25 DATA 208,243,160,0,32,162,179,32 26 DATA 12,188,162,12,160,4,10,24 27 DATA 125,179,192,202,136,208,247,32 28 DATA 155,192,10,24,125,179,192,202 29 DATA 136,208,247,32,155,192,10,24 30 DATA 125,179,192,202,136,208,247,168 31 DATA 32,162,179,32,106,184,32,254 32 DATA 186,173,192,192,240,3,32,180 33 DATA 191,88,96,142,191,192,168,32 34 DATA 162,179,32,106,184,32,226,186 35 DATA 32,12,188,169,0,160,4,174 36 DATA 191,192,96 The first part of the machine-code program sets the usr vector and all the port B lines to input, while the remaining code is called by the usr function itself. When called, the program waits for the primary clock pulse, which is longer than the others, and then reads in each subsequent bit from the data line. These bits are converted from bcd format into a single floating-point 1 2 3 ABC 4 12 D N J 1 'MINIM 894060 - 12 ^ « ' V !n UUUUUUUUUUUUUUUL 1 2 5 9 10 >6 0 894060-13 that is returned by the usr function. The software will behave cor- rectly only when the module is in the default °C mode, but this is not a restriction as readings can be converted readily to another scale. If the device is to be used for serious control applications, it must be borne in mind that the software will wait patiently for the primary clock signal to arrive from the module. If the clock signal fails for any reason (for instance, a break in the cable), the control program will be left hanging in an endless loop. It is, therefore, recommended to use a non-maskable interrupt (nmi) generated by the timers on CIA #2 to interrupt the program after a specific duration (for example, greater than the expected sam- pling time) and return some sort of error condition. For simple applications, this is not necessary and no further programming is required. (J. Pelan) 050 POWER SUPPLIES SIMPLE VARIABLE POWER SUPPLY This low-cost power supply has an output voltage range of 1.5-15 V at a maximum current of 500 mA. Regulation is better than 2% for output currents not exceeding 350 mA. Voltage adjustment is effected by a potentiometer and an acoustic over- load indication is provided. Transistor T4 compares the voltage at the wiper of PI with the output voltage. When this is 0.65 V higher than the set voltage, T2 is switched on, which removes the base current from darlington power stage T3-T5. In this manner, the output volt- age of the supply is 0.65 V higher than the refer- ence potential at the base of T4, which is derived from a 15 V zener diode, D5. The voltage at the 18 V, 1 A winding of the external mains transformer is rectified by bridge B1 and smoothed by Cl. A simple acoustic over- load alarm (Bzl) is actuated when the output cur- rent exceeds around 500 mA. Note that the exact level of actuation depends on the electrical specifi- cation of the buzzer, which should be a 24 V, self- oscillating type. The power supply is, in principle, not short-circuit proof, although the use of a generous heat sink for T5 will enable that transistor to withstand the maximum dissipation of about 20 W for the few seconds that lapse before the supply is switched off. ©- 9.78 elektor india September 1989 Capacitors C2 and C3 should be tantalum types. To obviate radiation, the supply must be fitted in a metal enclosure. Interconnections should be kept as short as possible. (P. Sicherman) HEATING TIMER This timer has temperature and time settings. The temperature range is about 150 °C and the time delay is around 25 minutes. The temperature controller, IC2, is driven by sensor IC1, the familiar Type LM35, which produces an output voltage of 10 mV/°C. This voltage is compared with a reference potential provided by a high-stability, temperature-compensated zener diode, Dl. Presets PI and P2 form the fine and coarse controls respectively for setting the tmperature. The comparator switches on T2 whenever the temperature measured by IC1 is below the set value. This causes the relay, Rel, to be energized so that the heater element is powered via the relay contacts. The timer function is based on oscillator/divider IC3, whose clock frequency is determined by the variable rc network between the Pt and PO pins (9 and 11). The clock signal, divided by 2” and 2 14 , appears at pins 15 and 3 respectively. Toggle switch SI selects either of these outputs to give time delays of 6 s to 1 .5 min. and 1.5-25 min. These settings are marked A and B respectively. When the delay set by P3-P4 has lapsed, the oscillator in IC3 is disabled by the high level at the pole of the time selector switch. At the same time, T1 is switched on, T2 is switched off, and the (active) buzzer sounds to indicate that the set time has lapsed. The relay is de-energized via T2 and the heater is disconnected from its supply The timer may be reset while the heater is on by pressing S2 Some accurate calibration is required in the temperature con- troller. Connect a digital voltmeter between earth and junction R3-P1 and adjust P2 to obtain a voltmeter reading of 100 mV (= 10 °C). Set PI as appropriate by actually measuring the tempera- tures at which the relay is energized. Next, set P3 to minimum resistance and SI to position A and adjust P4 to obtain a time delay of 5-6 seconds after S2 has been pressed. The time delays are set by P3 with the aid of an accurate watch. This procedure is not required for position B, since in this delays 16 times as long as in position A are provided automatically. If a simple thermostat only is required, the timer circuit, Tl, T3 and T4 may be omitted. The circuit is powered by a regulated 5 V supply and draws a current of about 30 mA with the relay inoperative. The coil resistance of the relay must be not less than 400 Q. The temperature sensor must be fitted, of course, at some dis- tance from the heating element. (C. Sanjay) IMPROVED LOW FUEL INDICATOR The indicator described here obviates the flickering of the 'low fuel' warning light on the dashboard caused by vehicle move- ment. The indicator ensures that the light remains extinguished until the duty factor of the signal supplied by the fuel sensor is smaller than 0.5. When that happens, the light comes on and remains on until the fuel tank has been filled to a sufficient level. The present circuit tests the light by causing it to flash for about 5 seconds everyt time the ignition key is turned to start the engine. The signal processor is switched on together with the ignition.- Initially, Cl is discharged, enabling oscillator N2 via inverter Nl. One input of N3, pin 12, is connected to R3-C3, the time constant of which is equal to that of Rl-Cl. If the output of the fuel sensor is high, pin 12 of N3 is held high via R2-C3. The 1.5 Hz signal from oscillator N2 is inverted by N3 and passed to darlington elektor India September 1989 9.79 lamp driver T1-T2. After the delay introduced by Rl-Cl has lapsed, gate N1 disables oscillator N2 so that the warning light goes out. When the fuel sensor inside the fuel tank supplies pulses owing to vehicle movement, C3 is charged via R3 and discharged via R2-R3. When the duty factor (on /off ratio) of the level sensor signal drops below 0.5, the potential across C3 becomes high enough to enable the lamp driver, so that the 'fuel low' warning light is on permanently without any flicker. (R. Lalic) A SIMPLE VOX A vox is a voice-operated switch that is often used as a substi- tute for the press-to-talk switch on a microphone. The one des- cribed here can be connected to almost any audio equipment that has a socket for an external loudspeaker. The actuation threshold is set by the volume control on the af amplifier that drives the vox. The (loudspeaker) signal across R2 is capacitively fed to the base of Tl. Resistor R3 limits the base current of this transistor when the input voltage exceeds 600 mV. Diode D1 blocks the pos- itive excursions of the input signal, so that can not become more negative than about 0.6 V. The output relay is driven by darlington T2. Resistor R4 keeps the relay disabled when Tl is off. The value of bipolar capacitor C2 allows it to serve as a ripple filter in conjunction with T2. Resistor R5 limits the base current of T2 to a safe level. The switching threshold of the vox is about 600 mV across R2. The maximum input voltage is determined by the maximum per- missible dissipation of R2 and R3. As a general rule, the input voltage should not exceed 40 V (p-p). The current drawn by the vox is mainly the sum of the cur- rents through the relay coil and through R5. The resistor may carry up to 100 mA when the vox is overdriven. (S.G. Dimitriou and F.P. Maggana) LOW-NOISE MICROPHONE PREAMPLIFIER The microphone preamplifier described is based on the SSM2015 from Precision Monolithics Inc. (i’Mt), which offers a very high gain and very low noise (1.3 n V /'If ). It is intended for use with balanced input signals and is capable of providing an amplification of 10-2,000, depending on the value of R4. With R5 = R6 = 10 kil, the amplification. A, is calculated from A = (20,000 / R4) + 3.5 With values as shown in the’cliagram, the amplification is, therefore, about 1,000. Resistor R3 sets the operating point of the differential input amplifier and thus determines the bandwidth and the slew rate. A value of 33 kQ gives near-optimum values of these characteristics, but results in a relatively high input bias current of 4.5 p A (with R3 = 150 ktl , the current is only 1 pA). Moreover, the input noise 9.80 elektor indis September 1989 © +o oji’ gpi o qj|<> qpe p qb 3 to gpii p ape p £ 20.(1000000 C3CE [] ooooooo^ i-O o cHIo ST Rl; R2 = 10 k R3 = 33 k; 1 % R4 = 20R;1% R5; R6 = 10 k; 1% Pi = 250 k preset list Capacitors: Cl =180 p styroflex C2; C3 = 15 p C4 = 47 p styroflex or ceramic C5; C6 = 100 n IC1 = SSM2015 894063 - 12 Table 1 R3 C3 C2 27-47 kn 15 pF 15 pF 47-68 kn 15 pF 10 pF 68-150 kn 30 pF 5 pF Table 2 R3 27—47 kn 47-68 kn 68-150 kn A = 10 PI = 500 kn 250 kn 250 k£2 A = 100 PI = 500 kn ioo kn ioo kn A = 1000 PI = 250 kn ioo kn 50 kn level, particularly the current-noise contribution, has increased a little. Nevertheless, the preamplifier has a signal-to-noise ratio of 95 dB, measured with short-circuited + and - inputs and an out- put level of 0 dBV. Resistor R3 enables the source impedance to be matched to the input of the differential amplifier: if Z = 600 n, R3 has an optimum value of 33 k n. With a 600 n resistor across the input terminals, the signal-to-noise ratio is of the order of 86 dB. The tables and the curve in Fig. 1 give a number of values for the bias resistor and compensation capacitors C2 and C3. The differential inputs of the SSM2015 are of the floating type, so that external resistors, Rl and R2, are required to give a suit- able DC setting. In single-ended (unbalanced) applications, care must be taken to prevent off-sets arising from biasing differences between the inputs, owing to different impedances (ground for one input, and the source for the other). Resistors Rl and R2 cause common-mode noise and must not be given a higher value than shown in the diagram. Off-set compensation with the aid of preset FI is required for the given value of R3, which results in the available amplification of 1,000. The value of R3 depends on the gain setting - see Table 2. Capacitor C4 compensates the on-chip input current regulator, and Cl suppresses HF signals. Distortion of the preamplifier at 1 kHz and 0 dBV was mea- sured at less than 0.006% and less than 0.01% at a test frequency of 10 kHz. The half-power bandwidth is 180 kHz at 3 V across 1 kn. Common-mode rejection at 50 Hz is greater than 100 dB. PM! states that the output of the SSM2015 is not intended to drive long lines: capacitive loads greater than 150 pF should be decoupled by a 100 Q resistor in series with the output (but note that R5 must remain connected to pin 3). (Precision Monolithics Inc.) HIGH-VOLUME ALARM When this alarm is actuated by a low-level signal at input ~ the (hf) loudspeaker produces a number of 4-tone sequences sep- arated by quiet intervals. Each sequence sounds louder than the previous one to give the alarm a very distinctive character. The peak output is reached after about 28 seconds. As long as the en input is logic high, counters ICla and IClb remain reset and interval oscillator N2 and tone generator N3 are- disabled. The alarm is then off. When en is actuated, the oscillator and the two counters are enabled. Counter ICla is clocked with pulses (prf = 8 Hz) from N2. Gates N1 and N4 at counter outputs QO and Q3 cause T1 to be turned off during eight consecutive clock cycles from ICla. elector india September 1989 9.81 During the next eight cycles, the transistor is alternately switched on and off as illustrated in the timing diagram. The loudspeaker sounds only when T1 conducts. Since out put Q 3 of counter ICla is con- nected to the ci.k input of counter IClb, the latter is incremented by the 16th negative pulse transition. In practice, this means that counter IClb is clocked after each tone sequence. The most significant outputs of counter IClb drive the 3-bit selection inputs of analogue multiplexer IC3. Since QO is not used, IClb requires two clock pulses to enable the multiplexer to connect the next input, Xn, to the output, X. The seven resist- ors at the multiplexer inputs cause the base voltage of T3 to increase after each alternate tone sequence. As a result, the voltage across the loudspeaker increases, so that the alarm sounds louder. Transistor T1 switches the successive bleeps on and off. Resistor R16, capacitor C5 and transistor T2 prevent abrupt switching of the voltage across the loudspeaker when T1 is turned off, and ensure that the sound level reverts slowly to the level set by the resistor at the relevant multiplexer input. After the alarm is actuated, the output volume rises sevenfold. Diodes Dl, D2 and D3 cause counter IClb to stop at state 1110, so that the multiplexer passes the full posi- tive supply voltage at input X7 to volume control T3. The alarm then sounds continu- ously at maximum volume, requiring the power supply to provide a peak current of up to 1.25 A through the loudspeaker. The resultant sound is ear-piercing. Prtesets PI and P2 serve to set the inter- val repetition rate and the sound frequency respectively. (C. Sanjay) MAINS POWERED TIMER This timer may be inserted in a power line to provide a controllable delay before a load is energized. It was developed to work in conjunction with a passive infra- red movement detector as part of an intruder alarm. The mains voltage is reduced by C3 and rectified to give about 30 V across Cl. This potential charges C2 slowly via R4-P1. When Uc2 reaches about 14 V, electronic switch T1-T2 actuates a solid- state relay (a Type S202DS from Sharp). When the mains voltage is removed,C2 discharges rapidly via D6 and RIO. The delay extends from 15 s (PI set to mini- mum resistance) to 5 min (PI set to maxi- mum resistance). The solid-state relay needs cooling in accordance with the current drawn by the load: at up to 1 A no heat sink is re- 9.82 elektor india September 1989 quired; at 1-3 A (max), a 5x5 cm heat sink is advisable. During the building of the circuit, due consideration must be given to safety since many parts will be at mains potential. For instance, fitting the unit in an abs or other man-made-fibre enclo- sure is a must. If a potentiometer is used for PI, its spindle should be an insulated type. If a preset is used, it must not be accessible through a hole in the enclosure. Switch SI is a dpst type that disconnects the circuit from the mains. Nevertheless, the only way of working on the circuit in safety is by taking the plug out of the mains socket and allowing C3 sufficient time to discharge. (D. Dwyer) SINGLE-CHIP MELODY GENERATOR This melody generator, based on a Type 4093 CMOS Schmitt trigger, may be used in alarms, doorbells and cars (audible reverse gear or lights on indicator). Three of the four nand gates in the 4093 are con- nected in series by rc networks. Oscillation is effected by feedback of the output signal of N4 to the input of N2. The logic high levels produced by the cascaded gates in the oscillator circuit are used for biasing one of associated diodes Dl, D2 and D3. The relevant diode connects one of frequency-determining capaci- tors C1-C3 to tone oscillator Nl. The audio signal available when SI is pressed is applied to comple- mentary transistor pair T1-T2 that drives the loud- speaker. The frequency of the emitted tone may be adjusted to individual taste by preset PI. INFRA-RED MICROPHONE The circuit of this microphone was originally designed to mon- itor a 7-segment display used on the flight deck of a Boeing 737. That display used filaments, so that an ir detector was an obvious choice. In the Boeing, it was connected to a small portable recorder: the sensor therefore acted as a microphone that reacted to ir light instead of to sound. This idea of an ir microphone is made more tangible by housing the device in the shell of din plug as shown in the photograph. The ir microphone consists of a Type BP104 photodiode con- nected to the inputs of a Dc-coupled operational amplifier, whose gain is determined by Rl. The device may be used to 'listen' to the visual world around us. It is particularly effective where sources of noise, such as incandescent light bulbs, are switched off. A gas flame, such as that of a cigarette lighter, is manifested as a soft breeze. A cosy fire burning in the grate comes out as a real hurricane. This means that the microphone may be used as an acoustic fire alarm, but that is about the only application we can think of. However, the circuit is intended more to give us an opportunity to see our envi- ronment from a different angle. If the BP104 is replaced by a BPW34, the sensitivity of the device is shifted from the infra-red to the visible spectrum. The current drawn by the circuit depends to some extent on the supply voltage and should be 2-5 mA. elektor india September 1989 9.83 FOUR-QUADRANT DIMMER This very special mains-operated dim- mer for domestic or industrial lights is not available in proprietary form: it enables brightness control of two groups of lights in one operation. The possible combinations of brightness are shown in the table. It will be clear that it is not pos- sible to obtain continuous control of brightness in the two groups. Instead, the circuit affords the setting of four states of brightness in either group: full on, fully dim-med, 1 /3 on and 2/3 on. Both sections of the circuit operate on the well-known principle of a triac being switched from the blocking state to the conducting state with the aid of an rc network and a diode. The RC network provides the necessary phase shift and determines when the triac is switched. The rotary switch selects the resistor in a given network and thus the brightness of the relevant group of lights. No resistor means that the group is off; a short-cir- cuit gives maximum brightness, and resistors of 10 kQ and 18 kli mean inter- mediate brightness. The diodes prevent the groups affecting one another. The 64 pH choke, LI, and the 150 nF capacitor across the bridge rectifier pre- vent the dimmer causing interference in other equipment connected to the mains. If the triacs are fitted on a heat sink rated at 12 K/W, up to 500 VV per group may be controlled. It is, of course, essential that the enclosure in which the dimmer is fitted provides ample cool- ing: a fair number of slots or holes in it are, therefore, essential: these should not permit the circuit elements to be touched. The switch should have a non-metallic spindle: this is not only safer than a metallic one, but it also enables the easy removal of the end-notch so that the switch may be rotated continuously in- stead of having to be returned to the first stop every time it is operated. It is recommended that mains on-off switch S2 is fitted with a built-in 'on' indicator bulb: this shows at a glance whether the cir- cuit is on even though SI may be in the off position . Finally, do bear in mind that this circuit carries mains voltage in many places: good workmanship and insulation are, therefore, of the utmost importance. (C.G. Mangold) Switch position Brightness Group A Group B 1 0 0 2 1/3 0 3 2/3 0 4 1 0 5 1 1/3 6 1 2/3 7 1 1 8 2/3 1 9 1/3 1 10 0 1 11 0 2/3 12 0 1/3 SENSOR SWITCH AND CLOCK One Type TL084 ic and an old quartz watch enable the con- struction of a de luxe on-off switch. Two of the four opamps con- tained in the TL084 (At and A2) are used to amplify the input sig- nals from the sensors hundredfold (with the component values as shown in the diagram). Just touching the sensors with a finger causes a good 50 Hz input signal (hum). Note that the amplifica- 9.84 elektor india September 1989 tion drops rapidly with rising frequency. Diodes D5 and D6 rectify (single-phase) the 50 Hz signal. Since the diodes are connected in anti-phase, touching the 'off' sensor results in a positive potential across CIO, whereas touching the 'on' sensor gives a negative potential across CIO. Opamp A4 is connected as an inverting bistable, so that a nega GENERAL INTEREST MJ2500 IC1 LM317 4700D 35V 894103-11 five potential across CIO causes relay Rel to be energized. Be- cause of feedback resistor R16, this state is maintained until the other sensor is touched. The relay may also be energized at a predetermined time with the aid of a quartz watch. The 1.2 V supply for the watch is de- rived from the voltage drop across diodes D9 and DIO: it may be increased to 1.8 V by adding a third diode. The piezo buzzer in the watch is connected to the input of A3 via C5. As soon as the alarm goes off (the hour signal must be off), the voltage across CIO becomes negative, the relay is energized and the load is switched on. The circuit, excluding the relay, draws a current of about 20 mA. (R. Ochs) MINI-DRILL CONTROL u ,N1 °°T \z The circuit described here is intended as a revolution control for small DC motors as fitted, for instance, in small electric drills (such as used in precision engineering and for drilling print- ed-circuit boards, among others). The behaviour of these motors, which are normally permanent magnet types, is comparable to that of indepen- dently powered motors. In theory, the rpm of these motors depends solely on the applied voltage. The motor adjusts its rpm until the counter emf generated in its coils is equal to the applied voltage. There is, unfortunately, a drop across the internal resistance of the motor and this causes the rpm to drop in relation to the load. In other words, the larger the load, the larger the drop across the internal resistance and the lower the rpm. The present circuit provides a kind of com- elektor india September 1989 9.85 pensation for the infernal resistance of the motor: when the cur- rent drawn by the motor rises, the supply voltage is increased automatically to counter the fall in ri>m. The circuit is based on an enhanced voltage regulator consist- ing of 1C1 and Tl, which provides a reasonably large output cur- rent (even small drills draw 2-5 A). The 'onset' supply voltage, and thus the rrm, is set by 1*2. Because of emitter resistor Rl, the currents through IC1 and Tl will be related to one another in the ratio determined by Rl and R2. Owing to this arrangement, the internal short-circuit protection of IC1 will also, indirectly, pro- vide some protection to Tl . As soon as the current drawn exceeds a certain value, T2 will be switched on. This results in a base current for T3 so that R5 is in parallel (well, more or less) with R6. This arrangement auto- matically raises the output voltage to counter a threatened drop in rpm. The moment at which this action occurs is set by PI, so that the present circuit can be adapted pretty precisely to the motor used. If only very small motors are likely to be used, the power sup- ply (transformer and bridge rectifier) may be rated rather more conservatively. As a guide, the current in the transformer sec- ondary should be about one and a half times the maximum DC output current. (G.J. Lammertink) CALL TONE GENERATOR Amateur vhf relay stations are normally actuated by a 1750 Hz call tone. This may give problems when the relevant sending equipment has no internal call tone generator, or it has one whose frequency is not sufficiently accurate, or whose tone duration is not long enough to securely energize the relevant relay. These problems can be overcome by the stand-alone generator described here. Simply placed in front of the microphone, it makes absolutely certain that the relay station is actuated. The generator consists of a quartz oscillator, a frequency counter and a buffer-amplifier, all contained in just two CMOS ICS. It is powered by a 9 V pp3 battery, from which it draws a current of around 5 mA. Gates N1 and N2 form an oscillator that is controlled by a 3.27680 MHz crystal and provides clock pulses to IC2 which is connected as a programmable scaler. Diodes D1-D5 determine the divide factor of 1872. Counter output Q1 thus provides the wanted 1750 Hz signal, which is buffered by N3-N6 before being applied to a piezo electric buzzer. Capacitor C3 suppresses any harmonics, while R4 determines the volume of the output signal. (N. Korber) Parts list Resistors: Rl = 1 M R2 = lk2 R3 = 10 k R4 = 2k2 Capacitors: Cl = 60 pF trimmer C2 = 68 p C3 = 220 n ^Semiconductors: :D1-D5 = 1N4148 1C1 = 4049 |IC2 = 4040 parallel Miscellaneous: Bzl = piezo electric buzzer XI =3.2768 MHz; 30 p MAINS FAILURE INDICATOR When the mains voltage is present at the input terminals, the transistor in the optocoupler is on, Tl is off and silicon-controlled rectifier Thl is in the conducting state. Since both terminals of the piezo electric buzzer are then at the same potential, the buzzer is inactive. If the mains voltage drops out, transistor Tl conducts and causes one of the terminals of the buzzer to be connected to earth; the thyristor remains in the conducting state. In this situa- tion there is a large enough potential difference across both the buzzer and D5 to cause these elements indicating the mains fail- ure both audibly and visibly. When the mains is restored, the circuit returns to its original state. A touch on the reset button then interrupts the current through the SCR so that the thyristor goes into the blocking state, and the other terminal of the buzzer is connected to ground. 9.86 elcktor india September 1989 BRX16 ■ 220n 630V IC1 OPU264B BC547B The unit is powered by a 9 V pp 3 battery and draws a quiescent current of 1. 7-2.5 mA. It is important that the enclosure is a well-insulat- ed type. Finally two points to note. If by accident the circuit to the optocoupler and R2 is broken, electrolytic capacitor C2 may be damaged since it will be charged well above its 25 V rating. Secondly, where a plug is used for the mains connection, it is advisable to solder a 1 MSI resistor across Cl so that this capacitor does not retain its charge after the plug is removed from the mains socket. Resistors: Semiconductors: R1 = 15 k; 2 W D1-D4 = 1N4004 R2; R8 = 1 k D5 = LED R3 = 4k7 Tl = BC547B R4; R7 = 10 k Thl = BRX46 R5 = 5k6 IC1 = OPI 1264B R6 = 100 k Miscellaneous: Capacitors: SI = switch with 1 make Cl =220 n; 630 V contact C2 = 4p7; 25 V Bzl = piezo buzzer 9 V 1 SfH 1 "It- | 9-VPP3 battery Parts list J. ' . - . ~ . - ■ I ELECTROPHONICS 1 GUITAR COMPRESSOR The control of this compressor is based on the dependence of flowing in Tl. the dynamic resistance of a diode on the current flowing through The input signal is applied to preamplifier stage A1 via low- it. The heart of the present circuit is the diode bridge D1-D4, pass filter Rl-Cl that removes any hf noise from the input. Switch which behaves as a variable resistance controlled by the current SI in the feedback loop of A1 sets the amplification to 1 (position |33°V| -?3. 6, BJ, »V S ' nr? £6 ra C7 6 II CHD ♦ II L 680n 100n D1...D4 -= AA119 elektor india September 1989 9.87 BRX4b J ' G_/ K. I 100k I ' D1...D4 = 1N4004 A), 6 (C) or 11 (B). The amplified signal is applied to the diode bridge direct via R12 and C5, and inverted via inverter A2, capac- itor C6 and resistor R13. The two signals are summed by the bridge, amplified (in A3) and then split again into two, one of which is inverted by A4. The positive half cycles of the two sig- nals are used to switch on T2 and T3 respectively. Capacitor Cll is then charged via R12. When the potential across this capacitor reaches a certain level, T1 is also switched on, after which a con- trol Current flows through the bridge via R21 . This current lowers the resistance of the bridge so that the signal is attenuated (com- pressed). At the same time, the led lights to indicate that the sig- nal is being compressed. Capacitor C12 prevents any DC voltage from reaching the output. The output signal is taken from the wiper of PI. Low-pass sec- tion R20-C13 limits its bandwidth to 12 kHz. Switch S2 enables the selection of various decay times of Cll. The values shown in the diagram have in practice proved to be the most useful. Nevertheless, these values are subjective and may be altered to personal taste and requirements. (W. Teder) LC SINE WAVE GENERATOR This compact LC oscillator offers a frequency range of about 1 kHz to almost 9 MHz and a low-distortion sine wave output. The heart of the circuit is series-resonant circuit L1-C2-C3 in the feedback loop of amplifiers T1-T2. Transistor T2, which is connected as an emitter follower, serves as impedance converter, whereas Tl, connected in a common base circuit, is a volt- age amplifier whose amplification is determined by the impedance of LI in its col- lector circuit and the emitter current. The feedback loop runs from the collector of Tl via the junction of capacitive divider C1-C2, source follower BS170 and the input impedance formed by R1 and C4. The whole is strongly reminiscent of a Colpitts circuit. The signal is also taken to the output terminal via C5. Of particular interest is the amplitude control by the current source. The signal is rectified by two Schottky diodes, smoothed by C9 and then used to control the current through T3. The gain of amplifier Tl is therefore higher at low input levels than at higher ones. This arrangement ensures very low distortion, since the ampli- fier can not be overdriven. The resonant frequency may be calculated from /= 1 / 2 it V[L1 Cl C2 / (Cl + C2)] With values as shown, it extends from 863 Hz (LI = 10 nH) to 8,630 MHz (LI = 100 nH). The unit may be used to measure the Q of inductors. To that end, a potentiome- ter is connected in parallel with LI and adjusted so that the current through the amplifier is doubled. The Q is then calculated from Q = Rp / 2nfL 066 TEST & MEASUREMENT SHUNT FOR MULTIMETER The current range in multimeters, par- ticularly the more inexpensive ones, is restricted by the load limits of the internal shunts to 1-2 A.The photo shows how eas- ily a precision heavy-duty resistor from Dale or RCL (0.1 i2; 20 W; 1%) may be used as an external shunt. These resistors were not designed for this purpose, but they are much cheaper than custom made shunt re- sistors. The 20 W rating applies only, by the used: without that its rating is only 8 W. The maximum current through the device on a heat sink is about 14 A; the larger versions draw up tol7.5 A. When mounting the shunt, make sure that the test terminals as well as the device terminals are soldered properly, otherwise the resistance of the terminals is added to the shunt. 0 894043-11 way, if a heat sink is 9.88 elektor India September 1989 REAR WINDOW WIPER COUPLER From any point of view, it is convenient to couple the rear window wiper on our cars to the windscreen wiper. Since the rear window of a moving car does not get near- ly as wet as the windscreen, it suffices if the rear wiper operates only once for ev ery 8, 16 or 32 wipes of the windscreen. At terminal 53e (green/black wire), which is the return of the windscreen wiper motor, the clock signal for that motor is present. This signal, which is a square wave, is applied to the clock input of counter IC1 via R2-R3. The Q3 output of the counter goes high every eighth clock pulse, and the Q4 output once every six- teenth clock pulse. The output pulse is applied to monostable IC2 via switch SI. The monostable may be a Type 4528 (as drawn) or a Type 4548. At each trailing edge at pin 5, the monostable output (pin 6) goes high at a frequency of 1.5-16 Hz. When that happens, T3 is switched on, the relay is energized and the rear wiper oper- ates. The supply for the circuit is taken from terminal 53e also: dur- ing the intervals between the clock pulses, this terminal is at a potential of 12 V. In that state, T1 is switched on an Cl charges. When the clock signal is present at the terminal, T1 is off so that Cl can not discharge. Diode D1 limits the supply to 5 V. A regular reset during the windscreen wiper interval is ensured by R4-R5-C3-T2-D2. (G. Kleine) PULSE SKIPPER Noise and other interfering puls- es on RS232 lines are the bane of a data processor's life. It is diffi- cult to get rid of these pulses, because how does any relevant circuit differentiate between the real and the spurious? That is where the present circuit comes in: it skips those pulses at the input that are not constant for a given period or are shorter than normal. The wanted pulses are de- layed by about 55 ns plus the du- ration of the pulse. If parallel data lines are to be 'sterilized', it is imperative that the various pulse durations (delays) are equalized. In Fig. 1, the input pulses are passed to an edge detector via buffer amplifier Nl. The signal is passed both direct and delayed Fig. 1. Circuit diagram of the pulse skipper. to, pulse shaper N10 via xor gates N7, N8 and N9. For every pulse change at the output of Nl, xor gate N10 outputs a logic 0 for about 30 ns. Moreover, each pulse variation at the input trig- gers monostable 1C3. After a time t=R 1C1, the monostable toggles elektor india September 1989 9.89 and returns to its original state. At the same time, the toggling of the monostable generates an enable pulse for latch IC4. Each low-level pulse at the clock input of IC4 results in the storage of the momentary level at input D. The end of the clock pulse clears output Q, which afterwards only carries the stored level. It is, of course, possible that during this process the input level has changed, which could lead to storage of the spurious pulse. To prevent this, the wanted signal is delayed by gates N2-N8 by about 65 ns before it is applied to input D of 1C4 and stored. At the same time, it is ascertained that the level change at the input triggers the monostable before it is passed to the latch. Fifl- 2. Normal pulses are longer than the mono Fig. 3. Signals recorded from an oscillo- The action of the circuit is shown in the time (a), while spurious ones are shorter (b) scope. From the top: (1) data signal; (2) noise pulse diagram of Fig. 2. A normal pulse, that pulses; (3) distorted signal; (4) “sterilized” is, one that lasts longer than the time constant signal at the output, of the monostable, is present, aftrer a short delay, at the Q4 output of latch IC4 in its original state (Fig. 2a). A lk5 potentiometer or by a number of fixed resistors brought into spurious pulse, which is shorter than the time constant of the circuit by a rotary switch. monostable, is absorbed in the circuit and does not lead to a level The time of the monostable is computed from change at the Q4 output of the latch (Fig. 2b). The circuit consists of four ICs, one resistor and one capacitor. T = 0.7 R1 Cl It is easily fitted in a small enclosure or, better still, in the equip- ment that needs "sterilizing". In that case, the necessary suppl;y Practical values for R1 range from lk4 to 40 kf2, while Cl may voltage (5 V) will also be readily available. have values from 10 pF up to 1000 pF. If different time constants are needed, R1 may be replaced by a (fq Korber) FLASHING-LIGHT CONTROL Life without flashing lights has become unthinkable. The circuit described here is intended primarily for model constructors, but may also be used in warning or alarm systems in the 'real' world. The circuit is conspicuous by its simplicity; yet, it can deliver a current of ujp to 3 A. It is thus possible for it to power two 21-W car bulbs and these emit quite a lot of light! Model constructors may connect several bulbs in parallel: Lai lights when La2 does not and vice versa. It is also possible to use only Lai and omit La2. The LI 65 from STM (formerly sgs) is a common or garden oper- ational amplifier with a powerful output stage. If it is intended that the output current goes ujp to the full 3 A, the device must be mounted on a heat sink of 2.5 K/W. Note that the enclosure of the £l Resistors: Semiconductors: R1-R4 = 10 k IC1 = LI 65 (L465) PI = 100 k preset Capacitors: Miscellaneous: . C1-C3 = lOgF, 25 V Lai; La2 = 12 V, 21 W (max) Heat sink 2.5 K/W (see text) 9.90 elektor india September 1989 opamp is connected to pin 3. If the output current is not likely to exceed 0.5 A, a heat sink is not needed. The LI 65 is internally protected against short-circuits and high temperatures. If the brightness of the two bulbs is not the same, this may be corrected by adding a Type 1N5401 diode in one of the supply rails of the opamp. The relevant rail (pin 3 or pin 5) must then be decoupled by a 100 pF, 16 V, electrolytic capacitor to earth. The LI 65 may be replaced by a Type L465. Excluding the bulbs, the circuit draws a current of about 15 mA. The power supply must therefore be rated at the maximum current through the bulbs. DAYLIGHT-RESISTANT OPTOCOUPLER Many X-Y plotters, particularly the DIY types, have, for all sorts of reason, no protection against incident light, so that the phototran- sistor in the optocoupler can not differentiate between the light from the associated LEDand daylight. The circuit proposed here offers a solution to this problem. A Type 555 timer pulses the LED in the optocoupler at a rate of 10 kHz. If, at the receiver end, only the signal at that frequency is amplified, neither daylight nor bright artificial light can disturb the operation of the light barrier. At a pulse rate -of 10 kHz, the pulse spacing (or pulse repetition period) is 100 jis. If the duty factor is 6:4, the pulse width is 60 (.is. At that rate, the led can be pulsed at a fairly high current: about 45 mA. The pulsating current is fully compensated in relation to the voltage by C3. The on-time of the pulse signal at the Q output of IC1 is deter- mined by R1-R2-C1 and the off- time by R2-C1: pulse width tl = 0.693C1(R1+R2) = 60 us; pulse spacing t2 = 0.6930 R2 = 40 |is. The receiver in the optocoupler, that is, the phototransistor, is actuated by the reflected light from the light barrier and applies the consequent 10 kHz signal to a classical ampli- fier (x80) via C5. This capacitor and the input resistance of the amplifier form a high-pass fil- ter. The collector of Tl has a d.c. potential of 3 V. Capacitor C8 and diode D1 cause a d.c. shift, so that at the anode of D2 positive pulses with a width of 60 gs are present. These pulses charge capacitor C9 via D2 and R9. If sufficient pulsating light is reflected, that is, for instance, when the paper is less than 15 mm from the light barrier, the potential across C9 is suffi- cient to switch on T2. The output signal is then taken direct from the collector or via the relay (do not forget D3D. The circuit draws a quiescent current of about 30 mA and an operational one of around 80 mA - in both cases, the relay current is not included. (A. Schaffert) elektor India September 1989 9.91 IMPROVED ECONOMICAL PORCH LIGHT The practical application of the original circuit (Ref. 1) required a number of enhancements, resulting in the modified versions presented here. The aim of the original design was to provide timed operation of a dusk- switched porch light. Presets PI and P2 control the timing period and dusk threshold respectively. The circuit pro- vides zero-voltage switching of the triac. The original design has been modified to make it suitable for installation in an enclosed porch immediately above a wall-mounted light. Transistor T3 has been added as a shunt across C4 to allow the photocell to be disab led when the light is on. The sensor can thus be mounted close to, or even as part of, the light fitting without any problems. The sensor con tinues to be disabled by D6 after the light is switched off. This prevents spurious retriggering by late- night visitors, when light from the hall may fall into the porch. Diode D4 causes the light to be switched off when Q12 goes high, but the counter continues until Q13 goes high also: D2 then inhibits further counting. Diode D5 keeps the light off during the time the circuit is on standby for its day- light reset. Capacitor C5 and resistor R14 prevent the circuit from locking with Q12 and Q13 high. The prototype of the circuit is reliably controlling a 60-W light. Component changes around the 4060 slow the clock to restore the light's timing to the original range. For reliable opera- tion, C3 must be a low-leakage polycar- bonate or polyester capacitor: multilayer mkm or mkt types are preferred. Reference "Energy-saving porch light” Elecktor India Aug/Sept 1984 p. 8-67 (S.C. Dellow) RINGING PRUNER If, like most of us, you get annoyed at times by the incessant ring- ing of the telephone, this circuit will keep your blood pressure down since it allows the telephone to ring only a few, predeter- mined, times. Every time the telephone rings, the counter in the 4516 is increased by 1. The counter position at which the bell circuit is broken with the aid of a triac (Tril) may be set at 1, 2, 4, 6, or 8. The bell signal on the A or B lines of the telephone is used as the 9.92 elektor irrdia September 1989 input for the circuit. It is split into two: a clock signal that raises the counter by one every time the bell rings, and a reset signal that puts the counter back to zero after the caller has hung up. The bell sign al is buffered by T1 and T2, each of which drives an rc network. When the bell rings, T1 is on and capacitor C2 is discharged via R6. At the onset of the interval between consecu- tive rings, the potential across C2 rises again and this causes IC1 to be clocked. The reset signal is produced in a similar manner, Fig. 1 . Circuit diagram of the ringing pruner. Fig. 2. See text. but C3 takes much longer to recharge than C2. The recharge peri- od is longer than the intervals between consecutive rings, so that the counter is reset only when the rings cease. When the counter reaches the predetermined number, the CE (count erable) input goes high, so that further counting is not pos- sible: T4 then switches off. This in turn switches off the triac, resulting in the bell circuit being broken. Transistor T3 has been added to keep the current in the bat- tery-powered circuit low: it removes the gate current from Tril as soon as the reset signal is high. In this state, the circuit draws a mere 10 pA. It is, of course, necessary to power the circuit from a battery in view of the connexion to the telephone network. A PP3 (9 V) bat- tery is ideal. In older types of telephone with a separate beel terminal, the circuit is connected as shown in Fig. 2. Note that the connexion F.B-B in the telephone, plug or wall- mounted box must be removed to ensure that the triac is in series with the bell. Electronic telephones with two-wire connexions may not allow the addition of the present circuit without some alterations inside them. With these telephones, it is better not to use a triac to prevent short-circuits. A miniature relay and freewheeling diode between the collector of T4 and earth are then used in place of Rll, C6 and Tril. A make contact of the relay is then con nected in series with the bell. It should be noted that in somne countries the use of this type of circuit is not allowed. If in doubt, consult your local telephone or nr manager. SMALL STEP-UP CONVERTER A draw-back of battery-based power supplies is their relatively low output voltage. The present circuit is intended to convert this 5-12 V output into a variable, higher one of 15-30 V. The converter is based on an L497A from Texas Instruments, which is ideal for the construction of a fly-back circuit. Each switching period of a fly-back type of converter consists of two phases. In the first phase, the magnetic energy is stored in an inductor by connecting this to the input voltage via a conducting transistor. The current through the inductor rises linearly until a predetermined maximum (here set by R1 at 500 mA) is reached. In the second phase, the input voltage is disconnected from the indictor by the toggling of the transistor. The inductor then trans- fers its magnetic energy to an electrolytic capacitor by charging this via a diode. The L497A contains an oscillator, a current limiting circuit to prevent the inductor from saturating, an error detector that com pares the output voltage with an internal reference of 1.2 V, and a power transistor with freewheeling diode. The oscillator has an on-time that is determined by C4. With elektor india September 1989 9.93 varying loads, the oscillator frequency shifts to adjust the duty factor. The inductor may be a standard 40 pH, 2 A, choke (the value is not critical), which is readily available. Electrolytic capacitor C2 is shunted by a good-quality decoupling capacitor. Cl, to ensure removal of unwanted voltage peaks from the output. If the output is used to power an analogue circuit, it may be necessary to con- nect a small choke in series with it. Capacitor C3 is necessary if the circuit is powered by a battery, since that invariably has a high internal resistance. The layout of this type of circuit, in which relatively high peak currents may occur, is fairly critical. Start the construction with a star junction of Cl, C2 and the output voltage divider. From this junction, take an earth line straight to pins 4 and 5 of the IC. The emitter of the internal switching transistor must be connected direct to the negative terminal of C3. It is particularly important that the emitter current does not flow through the earth return used by the internal voltage reference (pin 4). The peak output current depends, among others, on the dif- ference between input and output voltages: it will normally be of the order of a few hundred milliamperes. The ripple on the out- put voltage is about 100 mV (this is always worse in switch-mode converters than in linear types). The stability, even with varying input voltages, is excellent, however. The circuit draws a quiescent current of about 8 mA; its effi- ciency is around 70%. GENERAL INTEREST EEPOT An EEPOT is an electronic potentiometer with built-in eeprom that at the circuit shows that CE is always low. The eeprom is thus not memorizes the last-set potentiometer position without needing a programmed, so that the potentiometer is always at zero at supply voltage. It is a linear device available in three standard power-on. values: 10 k (X9103); 50 k (X9503); and 100 k (X9104). To render its If it is required that the last set potentiometer position be avail- linear characteristic into a logarithmic one, a resistor with a value able at power-on, the input signals of Nl, N2 and the output of of one tenth the nominal value of the potentiometer must be con- N9 must be connected to the trigger inputs of a retriggerable nected between pins 5 and 6. monostable with a mono tim e of about 2 s. The Q output of the The eepot has three control terminals: an up/down input monostable then serves as the CE signal. The monostable prevents (U/D) where the direction of travel is determined; a clock input the unnecessary programming of the eeprom when the poten- (INC) that enables the wiper to be moved one step at a time; and a tiometer is being adjusted; only after nothing has changed for two chip ena ble ( CE) input that enables the potentiometer to be selec- seconds is the position memorized. ted. The CE line serves a second function in the programming of Since the selection of the hundred positions of the potentiome- the eeprom: the contents of the counter are not written into the ter by switches alone would be a lengthy procedure, the circuit memory until the leading cdgAof the CE signal arrives. A glance provides an automatic repeat facility. Tire cascaded network N3- 9.94 etektor india September 1989 -N8 ensures that the circuit reacts instantly to a key being pressed, To that end, the switching pulse is delayed slightly by R3-C3 to enable the U/D input to stabilize. The delayed pulse is then compressed to 20 ps by N5-R4-C4-N8 to enable repeat pulses also reaching the INC input. In the network shunting N3-N5-N6-N8, capacitor C5 is charged sufficiently after one second to cause pin 9 of N9 to go high, which results in this gate generating square waves, whose frequency may be set between 5 Hz and 30 Hz by Pi . The voltage at the potentiometer terminals should not exceed ±8 V and should preferable be kept to ±5 V. The current through the wiper terminal should not exceed 1 mA. LED VOLTMETER IN SMT The voltmeter described has been designed primarily tor monitor- ing the charging and discharging of a car battery. Because if its very small dimensions, it may be fitted anywhere on the dash- board. The unit is based on quad opamp Type LM324, which is inex- pensive and can work direct from the car battery. The voltage indication is obtained from a comparison of the battery voltage and a reference voltage at each of the four opamp inputs. The ref- erence voltage is obtained from a zener diode that is operated via bias resistor Rl, which allows a current of about 6 mA. rhe zener voltage of 5V6 was chosen deliberately, since zener diodes operating between 5 V and 6 V have the best temperature stability. Moreover, even if the battery voltage is low, the drop across Rl is sufficient for correct operation. The reference voltage is applied direct to the negative input of A1 and to the other opamps via potential divider R2-R4-P1. The potentiometer provides fine setting of the reference voltage (zener tolerance!). The ratio R5:R6 has been chosen to ensure that the levels of the battery voltage stated alongside the leds are directly proportional to the reference voltage steps. (M. Thurn) Parts list Resistors: Rl = lk2 R2-R4 = 680R R5 = 15 k R6 = 10 R7-R10 = 1 k PI = 10 k preset Semiconductors: D1 = zener diode 5V6, 400 mW D2-D5 = LED 1C1 = LM324D RS232 INTERFACE FOR C64 Although the Commodore C64 at the time of its introduction cre- ated a sensation, it has a number of drawbacks. One of these is the non-standardization of the connexions. Plugs, sockets and signals are not always compatible with a host of other equipment, such as printers, modems and other computers. The interface presented here transforms the serial output to a standard RS232 connexion. The quasi-RS232 connexion is found at the rear of the C64. Some lines of the user I/O connector are used for the present pur- poses. Unfortunately, just a few lines to a standard 25-way D-type connector as used for RS232 connexions are not enough. What is also needed is the conversion of the m. signal levels to RS232 lev- els, that is, to between +5 V and +25 V for a logic zero, and to between -5 V and -25 V for a logic one. To this end, the 9 V a.c. available on the user I/O conmnector is converted to a symmetri- cal d.c. supply. The positive supply is obtained by simple, single- phase rectification by D1 and Cl, Obtaining the negative rail is slightly more complicated, since the a.c. line is internally connected to the logic earth. Therefore, elektor indis September 1989 9.95 during each half cycle at pin 11 of the I/O connector, C2 is charged via D2. During the negative half cycles, C2 will trickle- charge C3 via D3. Note that the 'negative' is hardly negative with respect to logic earth, although it is relative to pin 10. Although the symmetrical supply so obtained is not very sta- ble, it is more than adequate for powering RS232 line driver 1C1. The four most frequently used RS232 signal lines, that is: TxD - transmitted data; RxD - received data; RTS - request to send; and CTS - clear to send, are provided at the standard RS232 connector via gates N1-N4. REAR WASH-WIPE CONTROL Although many cars, where necessary, are now fitted with a rear wash-wipe facility, few provide intermittent opera- tion of it. The control descri- bed here provides switch-on delay for the rear wash and a switch-off delay for the rear wipe operation. To that end, the existing connexion between the on-off switch and the motor, and that between the wash and wipe motors, must be broken. Normally, this can be done in the relevant compartment in the boot (or rear of an estate car). The circuit is connected between these three wiring breaks. The positive motor terminals are connected to the relay contacts (rated at not less than 16 A), while the other terminals are connected to the +12 V line. Some extra cable may be needed here. The motor earth is normally connected direct to the car body. Some cars have a positive-earth system: that makes no difference as far as the relay contacts are concerned. The polarity does not matter to the remainder of the circuit either (but be careful not to cause a short- circuit), although SI must be arranged to switch in the positive line onlv- Most of the noise and other interference pulses are removed from the 12 V vehicle supply by D1-R1-C1: the resulting voltage is perfectly suitable for cmos devices. Standard relays (12 V, 16 A) with one make contact may be used: special car relays draw rather more current. Input filter R2-C2 debounces push-button switch SI and at the same time provides appropriate time constants for Schmitt trigger 1C1. When SI is closed, C3 charges rapidly via D2, but discharges only slowly via R4 when the switch is released. Only when the signal drops below a certain level does the Schmitt trigger switch off relay Rel via T1 (switch-off delay). With values as shown, the delay is about 2 seconds. The delay for the wash motor is obtained in an identical, but reversed, manner. For this, electrolytic capacitor C4 is charged slowly via R5 until the required threshold level is reached, which takes about 0.5 s with values as shown in the diagram. It is then discharged rapidly via D4. When SI is pressed briefly, the rear wiper operates once or twice. When it is pressed for more than around 0.5 s, the wash motor causes a little water to be squirted on to the rear window while the wiper operates. It is common experience that the rear wash-wipe facility is not needed nearly as often as that of the windscreen. Nevertheless, the delay times in the present circuit may be altered by changing the resistor values as appropriate. Combining the control with the windscreen intermittent switch is only feasible if relatively short clock pulses are available at that switch. To prevent condensation on the circuit, it is not advisable to fit it in a closed box. (A. Schaffert) 9.96 elektor india September 1989 r GENERAL INTEREST DIFFERENTIAL AMPLIFIER Differential amplifiers are normally designed with the aid of one or three operational amplifiers. A good-quality type (instrumen- tation amplifier) may also be constructed from two opamps as described here. The quality of the amplifier is largely dependent on the stability of the components used. To ensure adequate suppression of common-mode signals, the following relation must be true: R2R4 / (R1 +P1)R3 = 1. Preset PI makes it possible for this condition to be met, what- ever the tolerance of the other components. The circuit may be simplified by choosing the same value for R2, R3, and R4. In that case, the amplification of the circuit is: 2|1 + Rx / (R5 + P2)I in which Rx = R1 + PI = R2 = R3 = R4. A Type OP227 was chosen because of the very' good and virtu- ally identical specifications of the two opamps it contains. The circuit draws a current of about 7 mA. " . * *• ” m Xliea&i ■■•x-ii isSssSaSsfai TEST & MEASUREMENT HF PROBE FOR OSCILLOSCOPE This active probe will allow the measurement of signals up to at least 100 MHz. It has the benefits of loading the metering point to only a negligible degree and not being loaded by the cable that connects it to the oscilloscope. The circuit is basically nothing more than a voltage follower. The negligible loading of the metering point is achieved by the use of a dual-gate mosfet. Since that device makes the input impedance of the circuit too high, the impedance is brought down to the standard value of 1 Mil by R1 . The probe is constructed on the small printed-circuit board in Fig. 2. Regrettably, that board is not available ready made, but drawings of it on paper or film may be obtained at low cost - see the Readers' services section towards the end of this magazine. Cl =100 p C2-C4 = 1 n (ceramic) C5 = 10 n (oeramic) Semiconductors: T1 = BF981 ■ ferrite bead T2 = BFR91 elektor India September 1989 9.97 POWER SUPPLY WITH EEPOT The eepot control described elsewhere in this supplement (Circuit No. 074) is eminently suitable for use in a variable power supply. The advantage of this is that the eepot is then fitted where it should: in the circuit and not on the front panel or some other remote place. That arrangement reduces the likelihood of hum, noise and other interference on the power lines. The power supply proper is fairly simple to build. A stable ref- erence voltage of 6.9 V is provided by an LM329. This potential is used for setting the output voltage via preset potential divider P2- P4-R2, where P4 is the EEPOT. The power section of the circuit is based on 1C1 and T1 which together behave as an operational amplifier as far as positive volt- ages are concerned (negative ones do not occur here, of course). This combination opamp, together with PI, R5 and R6, is config- ured as a non-inverting amplifier. This means that the potential across the output terminals is proportional to the voltage at the wiper of P4. Potentiometer PI serves to set the maximum output voltage, and P2, the minimum output voltage. Moreover, at power-on the output voltage will be a minimum because no use is made of the integral memory of the eepot. To protect the power supply, current limiting is provided. To that end, the output current is converted to a voltage by Rll. As soon as that voltage (presettable by P3) is high enough to switch on T2, the voltage regulation of the circuit is replaced by current regulation via the strobe input of IC1. Depending on the setting of the controls, the maximum current lies between 0.8 A and 3 A. To ensure that T1 is not damaged at maximum dissipation, the cur- rent must not exceed 1.5 A when the output terminals are short- circuited. Alignment of the circuit is not difficult. First, set P4 at maxi- mum resistance and wait a minute or so to let Z1 and IC1 reach their normal operating temperature. Next, adjust PI to give an output voltage of 25 V. Finally, set P4 to minimum resistance and adjust P2 to give an output voltage of 250 mV. The minimum output voltage is chosen deliberately at 250 mV, because that ensures that the various components operate on a linear section of their characteristics at all times. It also ensures that each of the 100 steps of the eepot is equivalent to 0.25 V. A separate small power supply for the EEPOT is provided by R12, Z2 and C4. Two points need to be borne in mind here: the earth lines must be run as shown in the diagram, and T1 must be mounted on a heat sink of about 1.5 K/W. ONE OR TWO MBIT EPROM PROGRAMMER More and more computers are fitted with a 1 Mbit or 2 Mbit eprom. The programming of these devices is rather more complicated than that of the well-known 27128 types. Moreover, there are only a few programmers on the mar- ket that can process these large eproms, and those are fairly expensive. The holder described here enables the large eproms to be programmed by a standard 27128 program- mer. The only proviso is that the large eprom has an 8-bit wide data bus and a non-segment- ed address range, that is, continuous - not split into banks: in other words, a 8x128 Kbyte or 8x256 Kbyte type. It is seen from the circuit diagram that part of the address decoding is effected with the 9.98 etektpr india September 1989 aid of four dip switches. This is possible because externally the only difference between a 27128 and the larger types lies in address lines A14, A15, A16, and possibly A17. These dip switches arrange the splitting of a 1 Mbit eprom into eight 128 Kbyte blocks (note that A17 is absent from the 1 Mbit type), while a 2 Mbit type is split into sixteen 128 Kbyte blocks. The proposed holder therefore enables the larger EPROMS to be programmed in eight or sixteen blocks, which makes it much simpler. At the onset, when all dip switches are in position on, insert the master (donor) eprom into the zif (zero insertion force) socket and start the programmer's reading of the contents. Replace the donor eprom by the 1 Mbit or 2 Mbit eprom, as the case may be, and commence its programming. This procedure must be repeat- ed eight (1 Mbit) or sixteen (2 Mbit) times, each with a different setting of the dip switches. Construction is fairly simple. Use a zif socket for the holder: this enables the insertion and removal of eproms many times without damage to the pins. Unfortunately, these sockets are available only with 40 pins. That is why the lower eight pins in the diagram are not connected. The connections between the circuit and the programmer may be made, for instance, with the aid of a wire-wrap socket as shown in the photograph. MIDI INTERFACE FOR AMIGA Although the Amiga is not available with a midi interface, it is for- tunately not too difficult to convert its RS232 output to a MIDI out- put. The circuit to do that is inexpensive and fully compatible with ready-made interfaces, so that existing software can be readi- ly used with it. A midi interface is a serial interface that makes use of a current loop. The speed on this serial channel is pretty high: 31,250 baud. The design of the Amiga allows operation of the computer at that speed, which makes the construction of the interface fairly simple. In fact, all that is required is a convberter to translate the serial data on the RS232 interface (voltage) into a midi signal (current). As is evident from the circuit diagram, only few components are needed for this: three ICs, an optocoupler and some resistors and capacitors. The midi input, Kl, converts the input current into a voltage via optocoupler IC2. Part of the serial data is taken to midi throughput K2 via buffers N1 and N2. The remainder of the data is taken to the RS232 interface via RS232 driver IC1. Resistors: R1-R9 = 220R RIO = lk Capacitors: Cl = 10 p; 16 V C2-C5 = 1 p; 16 V (radial) C6 = 100 n Parts list Semiconductors: D1 = 1N4148 IC1 = LT1081 IC2 = 6N136 IC3 = 74LS14 1C4 = 7805 Miscellaneous: Kl-K5= 5-pin DIN - elektor india September 1989 9.99 At the same time, serial data from the computer is taken to three midi outputs via driver gates. Because of IC1, the circuit is pro- tected against voltages that occur on an RS232 interface and it can, there- fore, be used in combination with other computers. The wiring from the pcb to the various din buses must be made manually. Populating the board itself should not present undue dif- ficulties. Unfortunately, the I’CB is not available ready made, but draw- ings on paper or film may be ordered at low cost - see the Rea- ders' Services section towards the end of this magazine. Where a regulated 5-V supply is available, IC4 may be omitted. In that case, a wire link must be placed between connexions 1 and 2 for IC4. There is not much that needs to be said about the use of the inter- face. Connect it to the RS232 output, after which any of the special MIDI programs, like Aegis Sonix, Studio Magic, Musi Mouse, and many more, may be used for many hours of pleasure. (E. Ponsen) AUTOMATIC CHARGER ADD-ON UNIT Lead-acid-battery chargers are fairly inexpensive these days, but unfortunately most of them are also made on the cheap. For example, although it is important for charging to cease once the battery is fully charged, there are few, if any, chargers in the low to medium price bracket that offer this facility. The proposed add-on unit switches the charger off when the battery voltage rises above 13.8 V (this may be set somewhat higher when the unit is used with a booster charger) and switches it off again when the battery voltage drops below 12.6 V. The circuit has its own power supply, a 12-V mains adaptor, since otherwise flat batteries could not be charged. Opamp A4 and zener diode D7 provide a stable reference volt- age. When the charger terminals are open-circuited, the input cur- rent of the opamp produces a small drop across R4. This voltage causes the output of opamp A2 to go low. The relay is not ener- gized and the charger may be short-circuited with impunity. Only when a potential of not less than some tens of millivolts exists across the charger terminals is the relay energized and does the charging of the battery begin. If the battery has been connected with incorrect polarity, nothing can happen because the relay does Parts list Resistors: Semiconductors: R1 = 470 R D1-D5 = 1N4148 R2, R3 = 100 k; 1% D6 = LED (green) :R4 = 1 M D7 = 5V6; 400 mW zener R5 = 100 k D8 = 1N4001 R6 = 8k2 T1 = BD679 R7 = 10 M IC1 = LM324 R8 = 10 k :R9 = 270 R Miscellanmeous: R10 = 3k3 PI, P2 = 5 k preset Rll = 22 k Mains adaptor 12 V, 250 mA R12 = 270 k Rel = relay, 12 V, 250 mA Enclosure (e.g. OKW2492) Capacitors: Cl = ln5 C2 = 100 |i; 16 V 9.100 elektor India September 1989 not become energized. When a battery is connected to the charging terminals, the output of A2 goes high. As long as the battery voltage is lower than 13.8 V, the output of A1 remains high. The relay is then energized and charging begins. The relay should be of a type that can switch currents of at least 5 A: a vehicle type is ideal. As soon as the battery voltage gets too high, the output of A1 goes low and the relay is deactuated. Since the charging current into a fully charged battery is small, the switching of the relay creates no prob- lems. The add-on unit may be built on the PCB shown, which is, however, not avail- able ready made. Drawings on paper or film may be obtained at low cost - see the Readers' Services section towards the end of this magazine. Alignment of the circuit is fairly sim- ple. The value of the reference voltage is set by PI and is correct when the output of A4 is exactly 6.9 V. Since resistors R2 and R3 have the same value, the add-on unit switches off when the battery volt- age is exactly 13.8 V. Resistor R5 and diode D3 provide some hysteresis whose magnitude may be set by P2. After the reference voltage has been set, the battery may be charged until the relay is de-energized. Then, adjust P2 until the voltage at pin 3 of A1 is exactly 6.3 V. This ensures that charging begins when the battery voltage drops below 12.6 V. (H. Huynen) — GENERAL INTEREST SMOKE DETECTOR One of the better ways of detecting smoke is the use of an ioniza- tion chamber. Unfortunately, these devices are not without danger because they contain a small amount of radioactive material. They should, therefore, never be opened for whatever reason. If they are defect, DO NOT put them in the dustbin, but take them to one of v DO Fig. 1. Circuit diagram of the MCI 4467 the special council depots for dangerous waste materials.When you buy one of these chambers, make sure that is of an approved standard. Apart from the small amount of radioactive material, the chamber contains two electrodes, one of which is normally formed by the enclo- sure - see photograph. When the air is not contaminated by smoke the resistance between the electrodes is high; when smoke particles enter the chamber, the resistance drops. The same parti- cles cause a charge between the elec- trodes, so that a cur- rent begins to flow between the elec- trodes. This current is minute so that the electrical connection between the chamber elektor india September 1989 9.101 and the circuit is critical. Normally, the ionization chamber is quite separate from the printed-circuit board or the board is pro- vided with a track around its perimeter that is at the same poten- tial as the chamber. That arrangement prevents leakage currents to other tracks on the board. The potential may be measured at low-ohmic pins 14 or 16, but not at high-ohmic pin 15, The necessary electronics is usually housed on one chip, for instance. Motorola's Type MCI 4467. The internal oscillator of this IC provides the timing, which may be altered by changing the values of R2 and C3. Resistor R1 is the normal bias resistor for D1 through which a current of about 10 mA flows at every 24th clock pulse. This current is also used for monitoring the state of charge of the battery. This is the reason that the current must not be low- ered, because then the battery test becomes unreliable. Testing the 1C is rather tricky, because, in order to economize on current, it switches itself on for only 10 ms every 1.67 s: during that period it draws about 50 pA plus the led current. However, the IC may be made to work continuously by connecting pin 12 temporarily to the 0 V rail. When the alarm sounds (smoke!), the voltage at pin 13 drops to about 0.1 V. The alarm may be tested by pressing switch SI. (Source: Motorola) VFO STABILIZER FOR UP TO 100 MHZ Tire stabilizer presented here enables the precise tuning of h.f. os- cillators if these have a control input. That input is normally used for varying the capacitance of a varactor. The signal at the input is amplified by a fast operational ampli- fier, IC1. Tire output of this opamp is a rectangular signal that is applied to the D input of bistable FF1. The clock input of the bistable is provided by generatolr IC3. The two outputs of the bistable are the product of the dock and the input signal. The fre- quency of this composite signal lies between 0 Hz and half the dock frequency. To ensure thg best possible control characteristic, the output signal of the bistable is compared with a reference sig- nal that has a frequency one quarter that of the clock. To that end, a second bistable, FF2, is connected as a binary scaler; its input is provided with a signal whose frequency is half that of the clock applied to FF1. The differentiating network at the output of FF1 uses only the 9.102 elektor india September 1989 Parts list Resistors: Cll = 68 p RlyRll, R13 = 1 k 02, 03 = 1 p (MKT) R2 = 10 k 04, 05 = 47 p; 16 V R3 = 2k2 07 = 100 n (MKT) R4-R7, R10, R12 = 1 M R8 = 10 M Semiconductors: R9 = 220 k D1-D5 = 1N4148 R14, R15 = 680 R D6 = led (two colours) Capacitors: Cl = 22 n (ceramic) 1C1 = pA 733 IC2 = 74F74 or 74S74 or 74AS74 IC3 = 4060 C2 = 4p7; 16 V IC4 = LF411 C3 = 100 n (ceramic) IC5 = 78L05 C4 = 10 n (ceramic) C5-C8 = 470 p (polyester) Miscellaneous: C9 = 60 p trimmer SI = single-pole switch negative pulses of the output signal, whereas that at the output of FF2 uses only the positive pulses. All these pulses are com- bined in an integrator, resulting in a stable voltage. Since both the Q and the Q output are used, the ripple is halved. If the frequency of the input signal is not stable, the ampli- tude of the integrated signal varies. The variations are used 'to control the oscillator in a manner where the deviations are negated. The clock is constructed around a 4060 and an inexpensive watch crystal. That crystal may, of course, be replaced by a dif- ferent type, as long as this has the required stability. The clock frequency, and thus the required grid, is set with the aid of jump leads. The frequency on row B must always be half that on row A. The construction and alignment should not present any undue problems if the circuit is built on the ready-made i*cb. The oscillator is set to exactly its centre frequency by C9: this can be verified at test point Tp, which carries the buffered clock frequency. The circuit is powered by a 12-V supply that is brought down to 5 V and stabilized by regulator IC5. Indicator D6 remains out as long as the oscillator frequency is stable. If the frequency drifts, the led lights: its colour and intensity indicate in what direction the drift occurs and how serious the drift is. The integrating action may be disabled by SI, which enables the circuit to settle down more rapidly than with it on. — TEST & MEASUREMENT CRYSTAL TESTER In this easy-to-build tester, an led indicates whether a crystal oscillates or not. The unit is best constructed on the printed-circuit board, which is, however, not available ready made. Drawings can be supplied on paper or film at low cost, however - see the Readers Services section towards the end of this magazine. As always in h.f. circuits, all wiring, terminals and pins should be kept as short as feasible. Although die tester was designed primarily for use with fun- damental-frequency crystals between 1 MHz and 30 MHz, the prototypes worked satisfactorily with overtone crystals also. Many crystals in the range 1-4 MHz oscillate more readily when switch SI is closed. The current drawn by the tester is typically not greater than 30 mA at 9 V. Parts list Resistors: R1 = 10 k R2 = 390 R CapacitorsCl, C2 = 100 p C3, C4 = 1 n C5 = 470 n Semiconductors: D1 = led (red) 3 mm Tl = BF199 Miscellaneous: Ll = lmH SI = 2-pole switch Crystal socket elektor india September 1989 9.103 N1...N6 = IC1 = 74HCT04 N7 = IC2 = 74HCT30 VOLTAGE TRACER IN SMT A voltage tracer is a handy tool at any time and when it is made since it is then easily carried around in one's pocket. Basically, a in surface-mount technology - smt - it becomes even more useful, voltage tracer is a small voltmeter whose indicator is an led. Both 9.104 elektor india September 1989 087 ' SMALL I/O CARD COMPUTERS Although the I/O card presented here is small, it offers no fewer than 24 i/o lines for a number of applications. If the computer has enough slots, up to eight of the cards may be installed. The circuit is fairly simple: an address decoder and an i/o chip. The addresses are set out in the table. The circuit is fitted on a double-sided printed-circuit board that is just a little wider than connector Kl. The amount of unused space on the board is filled with soldering pads for use by those who are keen on experimenting. Make sure when fitting the board that connector Kl faces outwards through the opening in the PC enclosure. To keep costs down, the I’CB, although double-sided, is not through-plated and it is, therefore, advisable to solder IC1-IC3 direct on to the board. A holder may be used for IC4, but even then the pins have to be soldered at both sides of the board. Owing to lack of space, it is not possible to give the programming information for the Type 8255 l/o chip here, but that is, of course, given on the data sheets for the device. It is also contained in, among others, our Data Sheet Book 2 (S. Mitra) EUS Table Address range (hexadecimal) Jump leads i 300-303 B, D, F 304-307 A, D, F 308-30B B, C, F 30C-30F A.C.F \k 310-313 B,D,E, \% 314-317 A, D, E 318-31B B, G, E h 31C-31F A,|E X L— ii -:L'. iwuij Parts list ;C1. C2 = 100 n flCI = 74HCT04 i IC2 = 74HCT30 IC3 = 74HCT32 104 = 8255 Kl * 34-pin right-angled male header PCB 894005 TEST & MEASUREMENT Vi'::' >'» the value and the polarity of the voltage under test are indicated. If the main prong, that is, the one connected to the sharp end of the pcb, is negative with respect to the auxiliary prong, only the -led lights. If, however, a positive voltage is measured, one of the five +i.EDs lights. Which one depends on the magnitude of the voltage. If an alternating voltage is measured, the -led and +leds will light simultaneously. The actual measurement is carried out by an hcmos ic. As soon as the input voltage of one of the gates exceeds half the supply voltage - which is regulated by Tl, T2 and D1 - its output goes low. Note that this does not happen with hct or ls types: these are, therefore, not suitable for this circuit. The LEDs are connected to the output in a manner that ensures that only one of them lights at any one time. The low supply volt- age for the ic and the current-source characteristic of the outputs render current-limiting resistors for the LEDs superfluous. The switching thresholds have been chosen to coincide with frequent- ly encountered supply voltages. The printed-circuit board, which is not available ready made, is designed for surface-mount components, although it will accommodate a number of traditional components. Drawings of the board are available on paper or film at low cost - see the Readers Services section towards the end of this magazine. If the Type BFR101 B SMT FET is not obtainable, a (conventional) BF256A may be used. The smt type is placed alongside Dl l with its gate (the slightly broader terminal) opposite the cathode of the diode. The BFA256 is placed on its flat side alongside Dll: its pins should be soldered to the pads between Tl and D3. The board itself forms the main prong and may, for instance, be potted in exposy resin to give a sturdy, well-insulated unit. The auxiliary prong is connected to the round pad at the square end of the board. The circuit is designed for measuring only voltages that do not exceed 30 V. Resistors R1-R6 = 100 k R7 = 220 k R8 = 390 k R10 = 680 k Rll = 47 k R12 = 100 R Parts list Semiconductors; D1-D4 = BAV100 D5-D10 = LED (red) Dll = 3V9, 500 mW zener Tl = BC847B T2 = BFR101B (see text) IC1 = 74HC04 (not HCT) LIQUID-LEVEL MONITOR The monitor is based on an L4620 from sgs. The internal oscillator of that device, in conjunction with C osc and R osc , generates a rec- tangular signal at 1.6 kHz. This is divided by 32 and the resulting 50 Hz signal is applied to pin 2 of the ic via the sensor driver. The sensor proper is a humidity-dependent resistor. This may, for instance, consist of two wires suspended in a vessel in a man- ner that when liquid being poured into the vessel exceeds a cer- tain level, or liquid being taken from the vessel drops below a cer- ' tain level, pin 3 is short-circuited to earth. The rc network between pins 2 and 3 is a simple band-pass filter with a centre fre- quency of 50 Hz. This filter is needed only where exact level indi- cations are wanted: in most other cases, Ca and Cb may be elektor india September 1989 9. 1 05 replaced by a wire link. The sensor interface receives a 200 Hz signal from the oscilla- tor and compares the level at pin 3 with a reference voltage whose value depends on the logic state at pin 2. When that pin is low, the reference voltage is O. 2 U 2 ; when it is high, the reference voltage is O. 4 U 2 . When these levels are exceeded, the interface passes a signal to the sensor polarity stage. The alarm is actuated by this signal in two ways: (a) when pin 8 is high and the level at pin 3 is higher than the reference voltage; (b) when pin 8 is low and the level at pin 3 drops below the refer- ence level. All this happens only when the alarm state signal from the sensor interface is constant for not less than ten seconds with pin 7 low, or than 20 seconds with pin 7 high. In the alarm state, the output at pin 6 can provide a current of up to 300 mA. The current drawn by the circuit depends on the supply volt- age, which may be 5-28 V: at 5 V, it is typically 6.4 mA. ‘ON’ INDICATOR FOR GAS-OPERATED FRIDGES This indicator is intended primarily for refrigerators used by campers or caravan owners. Whether the glas flame is on may be indicated with the aid of a thermocouple, a device that reacts to variations in temperature. It normally consists of two dissimilar metals - here iron and constantan - soldered or welded together at one end. The e.m.f. produced across terminals A and B when the tem- perature at the weld varies is applied to the non-inverting input of comparator IC1. Here, the e.m.f. is compared with a reference voltage of 0.7 V applied to the inverting input of the opamp. When the temperature at the weld of the thermocouple is about 150 °C, the e.m.f. across terminals A and B is also 0.7 V. The comparator then toggles and causes the led to light, indicating that the gas flame is on. The iron terminal must be soldered to A and the constantan terminal to B. (U. Miinch) 9.106 elektor india September 1989 AUTOMATIC FOG HORN An interesting aspect of the fog horn described here is that it may be constructed for real-size as well as for model boats. The circuit can emit automatic warning signals in the form — , > — • *, and • • • • • at 2-minute intervals. Other signals may be given manually. The circuit is based on a combined CMOS oscillator-binary counter Type 4060. Apart from the clock for the warning signals, this ic also provides the intervals between successive warning sig- nals.The rc oscillator is configured to generate low frequencies. Counter output Q8 is reset to zero every 256 cycles. The signal generator, 1C1, is driven by both the clock and the reset signal from IC2. Basically, it is a l-in-10 counter running syn- chronous with the clock, so that one of its outputs as always 1. A reset signal makes Q0 logic high. The clock enable input, when high, that is, when Q9 is high, stops the counter instantaneously. When the power is switched on by SI, a reset signal is given simultaneously to both lcs to ensure synchronicity. The 4017 then begins to pass its signal sequence to the diode matrix. Each single pulse lasts for one second (= dot). The dash in the signals consists of three fused dots. If, for instance, the switch is set to — • •, Q0, Q1 and Q2 each output a single pulse: the three pulses are com- bined to a dash. The pulse output by Q1 to the diode matrix also becomes available via Q4 and Q6 as two dots. Outputs Q3, Q5, Q7 and Q8 are not used with this switch position. Output Q9 holds the circuit in this state until 120 seconds later a reset from IC2 starts the foregoing sequence afresh. Transistor T1 amplifies the signal from Sla to a level suitable to operate a buzzer or the horn relay via switch S2. The relay con- tacts must be able to switch currents of a few amperes. The power supply should be between 12 V and 30 V, which is reduced to 10 V and stabilized by 1C3. The quiescent current drawn by the circuit is very small. In fog, however, it is essential that the battery is charged continuously (P. W. Rutters) HEADPHONE AMPLIFIER WITH SCART PLUG The headphone socket of most television receivers is coupled direct to the loudspeaker, so that the headphone volume can not be adjusted separately. This is a serious drawback for the many viewers who are hard of hearing or who want to listen to a pro- gramme in high ambient noise (family gatherings!). The amplifier described here, although designed primarily for use with a television receiver, is also very well suited to use with a hi-fi installation. It provides independent controls for volume, bal- ance, and bass and treble for each (stereo) channel. The amplifier is de gned around two tone-control lcs Type elektor india September 1989 9. 1 07 TDA4290-2 and a stereo amplifier 1C Type TDA2004. The TDA4290-2 ICs have d.c.-operat- ed volume and frequency controls. They need few external components and offer low-distortion and low-noise operation. Capacitors C2 and Cll determine the tre- ble cut-off frequency, and C5 and Cl 4, the bass cut-off frequency. The volume control voltage is applied to pin 5. Furthermore, at output pin 2 a reference voltage is available for modifying the potential at control inputs pins 5, 8 and 14. The output signal is available at pin 6, from where it is applied to the output stage via an rc network. Like the TDA4290-2 lcs, the TDA2004 needs only a few external components to determine the stage gain (R13-R14 and R20-R21: about 40 dB); the bandwidth (R12 and R19: about 22 kHz); and protec- tion against short-circuits and inductive loads. Because of the asymmetrical power supply, electrolytic capacitors C25 and C27 are essential. Resistors R23 and R24 serve to match the input sensitivity and headphone impedance to the amplifier: some experi- mentation with their values may be nec- essary. Resistors R17 and R18 enable the elec- trolytic capacitors to charge, even with- out load, which prevents clicks in the headphones when these are plugged in. Some technical data (measured with an output voltage of 1 V at 1 kHz): distor- tion <0.03%; -3 dB bandwidth 10 Hz to 22 kHz; signal-to-noise ratio 70 dB. The bass and treble controls have a range of 17 dB and 20 dB respectively. The tone control ics are provided with a physiological volume control: to bring this into operation, simply interconnect pins 2 and 4. A power supply of 11-18 V is re- quired. The current drawn by the ampli- fier with a supply of 15 V is 150-200 mA. Semiconductors: IC1, IC2 = TDA4290-2 IC3 = TDA2004 (with heat sink) (H. Burchardt) Parts list Resistors: Rl, R6 = 100 k R2, R7 = 2k7 R3, R8, R17, R18 = 1 k R4, R9 = 22 k R5, R10 = 820 a Rll = 47fi R12, R19 = 390 Q R13, R20 = 2k2 R14, R21 = 22 Q R16 = 120 k R23,R24 = 33Q P1-P6 = 10 k linear potentiometer P7, P8 = 22 k linear potentiometer Capacitors: Cl, CIO, C32, C33 = 1 pF, 16 V C2, Cll = 6n8 C3, C12 = 330 pF C4, C9, Cl 3, Cl 8, C28 = 10 pF, 16 V 9.108 elektor india September 1969 C5, C6, C7, Cl4, C15, C16, C23, C31 = 100 nF C8, C17, C21, C30 = 3n3 C19, C22, C24, C26, C29 = 100 pF 16 V C20 = 1000 pF, 16 V radial DIGITAL TRIGGER FOR OSCILLOSCOPES The circuit described here enables an oscillo- scope to be triggered when a pre-determined binary code word is applied to one of the cir- cuit's inputs. Integrated circuits IC1 and IC2 compare the sixteen inputs with the code set by switches SI and S2. If one of the inputs has a data word that is equal for not less than 100 ns to that set by SI and S2, pin 19 of IC1 goes high. Note that, because of the pull-up resistors, open inputs are treated as high. When pin 19 of IC1 is high, monostable MMV2 is triggered and outputs a negative pulse from its pin 4 that, depending on the set- ting of PI, is 0.1-1.5 |is long. If during that time the pre-determined trigger value disappears, no triggering takes place. Potentiometer PI is a logarithmic type to enable very short times to be set accurately. The output pulse from MMV2 triggers a sec- ond monostable, MMV1, whose mono time has been set to 1 (is by R23-C3. Either the positive signal from the Q output or the negative signal from the Q output. n rpi X s f 6 5 4 3 2 10k 0 14 6 Ifi 4 IB ^ '0» 1 J -1 P7 G 07 P6 06 P3 05 P4 IC1 04 74HCT P3 688 03 P2 Q2 PI Q1 P0 P»Q OO I ’ 9 S cJ_ P iC3 IC2 IC1 = ( “)©(«) MMV1.MMV2 - IC3 = 74HCT123 depending on the setting of switch S3, may be applied to the oscillo- scope. Parts list Resistors: R1-R16 = 10 k R17-R20 =100 k R21, R23 = 2k2 R22 = 470fl PI = 100 k log potentiometer Capacitors: Cl = 10 pF C2 = 47 pF C3 = 1 nF C4 = 100 nF Semiconductors: IC1, IC2 = 74HCT688 IC3 = 74HCT123 Miscellaneous: SI, S2 = octal dip switch S3 = SPDT switch K1 = bnc socket 18 crocodile (test) clips Enclosure, e.g. OKW A9010 065 SYMMETRICAL POWER SUPPLY Integrated circuit L16o makes it possible for a 6-40 V asymmetri- of ±3 V to ±20 V. Only a few external components, like some elec- cal voltage to be converted into a stabilized, symmetrical supply trolytic capacitors for smoothing purposes, are needed. Capacitors elektor India September 1989 9.109 6...40V 3...20V Cl and C2 should preferably be fitted as dose to the tc as possi- ble, while C4 and C5 should be soldered to the output terminals. Since the circuit can deliver currents of up to 3 A, heavy-duty wiring and a heat sink for the ic are essential. The LI 65 may be replaced by a TCA1365, but that does not fit on the printed-circuit board. If that chip is used, its pins 3 and 4 must be strapped together, and a 220 pF capacitor must be fitted between its pins 5 and 6. (Source: Siemens) Parts list Resistors: Rl, R2 = 22 k R3 = 1 £2 R4 = 22 k R5 = 1 k Semiconductors: IC1 = L165 or TCA1365 Capacitors: Cl =100 pF, 40 V C2 = 100 nF C3 = 220 nF C4, C5 =10 pF, 25 V Miscellaneous: Heat sink for L165 or TCA1365 AUTOMATIC PRINTER SHARING The title of this article is a slight misnomer, because the circuit described here does not only allow two computers to share one printer, but it also enables two printers to be connected to one computer. Basic operation of the circuit is illustrated in Fig. 1 . If it is used Fig. 1. Block schematic of the printer sharing unit 9.110 elektor india September 1989 Parts list Resistors: Rl, R17-R21, R37-R40, R56-R59 = 1 k R2-R16, R22-R36, , R41-R55, R60, R65 = 10 k R61, R66 = 100 £2 R62, R63, R67 = 1 M Capacitors: Cl, C4 = 22pF, 16 V C2, C3, C5-C9=100nF Semiconductors: !C1— 1C4 s 74HC645 IC5 = TLC556 T1,T3= BC557B T2, T4 = BS170 D1,D2 = UED Miscellaneous: 51 = press-button switch (1 make contact) 52 = change-over switch K1-K3 = 36-pole male header PCB8S4082 Fig. 3. Circuit diagram of the printer sharing unit to have two computers share one printer, switch S2 may be omit- ted since that serves to choose between two printers. As soon as one of the computers starts printing, the associated retriggerable multivibrator is triggered. At the same instant, the electronic switch via which the data must proceed is closed and the busy input of the second computer is made high. Because the mmvs are retriggerable, this state will persist for as long as the selected com- puter continues printing plus 30 seconds (that is, the mono time). Which printer is selected is indicated by an led. Unfortunately, the automatic selection may give rise to prob- lems if you use a program that, during printing, needs more than 30 seconds to compute new printer data. The simplest solution to this is to come to an understanding with the user of the second computer. It is also possible to lengthen the mono time by increas- ing the values of Cl and C4, but that has the disadvantage of making the switch-over very slow. If two printers are to work with one computer, the mmvs are replaced by change-over switch S2. The circuit diagram in Fig. 3 looks more complex than it is, mainly because of the large number of pull-up and pull-down resistors. Wire links A or B are present at various places: they determine into which direction data are passed. When links A are used, the direction is from two computers to one printer, whereas if links B are fitted, the direction is from one computer to two printers. The circuit is powered by a printer: depending on the setting, this is the printer connected to K2 or K3. Note that if only one printer is used, this can not be connected to Kl. Also dependent on the setting are wire links C to H, which are placed only if links A are fitted. Otherwise, S2 is fitted and the cir- cuit to the left of links C to H is omitted. Reset switch SI is provided to stop the printer in an emergen- cy. Because of the use of hcmos ics, the circuit draws only 50 mA. elektor india September 1989 9. 1 1 1 VOICE-BAND FILTER Using only four opamps, this filter provides a sharp cut-off profile: -3 dB at 300 Hz and 2,800 Hz and -40 dB at 100 Hz and 4,000 Hz. Since the attenu- ation outside the pass band is at least 50 dB, the filter is emi- nently suitable for use in, say, direct-conversion receivers or as an anti-aliasing network. Fundamentally, the circuit is an LC filter of which the induc- tances are simulated by opera- tional amplifiers (for a more detailed discussion of this type of filter, see Ref. 1 and Ref. 2). Note that the opamps affect the filter characteristics: the res- ponses mentioned earlier were achieved with a TL084. Amplifier IC1 serves merely to compensate losses in the fil- ter. Ref. 1. “Filters Theory & Prac- tice- 3“ Elecktor India. Novemebr 1987 p. 11-30 Ref. 2. “The positive Impe- dance converter” Elektor India November 1987 p. 11-50 SLIDE FADER UPDATE The "Computer-controlled slide fader" we published last year (Ref. 1 ) was based on dimmer chip Type TCA280. In spite of this device being a Philips Components preferred type at the time, we learned from a number of readers that this device was virtually unobtainable. When approached. Philips Components admitted that they had taken the TCA280 out of production without prior warning, and that no pin-compatible replacement was available. It has taken us some time to find a suitable replacement and have found that the TCA785 from Siemens is a good, but not pin- compatible, substitute. The vsync input is provided with a 50 Hz square wave, which is used internally for mains synchronization. The ic is powered via R2, D3, Cl and zener diode D4. An internal current source, set by PI and R5, causes a linearly rising voltage across C3. At each mains zero crossing, C3 is dis- 9.112 elektor india September 1989 charged rapidly, so that the potential across it has a sawtooth waveform. The amplitude depends on the setting of PI. The sawtooth voltage is compared with a control voltage that is applied to pin 11 of IC1 via filter R3-C2. If the sawtooth voltage rises above the control voltage, a pulse is generated at pin 14 or 15, depending on at which part of the cycle the mains voltage is. The two outputs are connected to a triac via diodes D5 and D6, and resistor R6, which enable the triac to be triggered. The instant that the triac begins to conduct is, therefore, dependent on the control voltage at the input, resulting in a voltage-controlled fader. The control voltage may be provided by the slide projector or a potentiometer. In the latter case only, it is also possible to fade 12- V halogen lamps. Zener diode D4 then needs to be replaced by an 8.2 V type. The fader is aligned by adjusting PI in the off condition, when Parts Hat Resistors: R1 = 27k R2 = 330£2 R3 = 2k2 R4 = 10 k R5, R7 = 4k7 R6 = 150ii PI » 100 k preset P2 = 10 k Capacitors: Cl = 470 pF, 25 V C2,C3 = 100nF C4= 150pF Semiconductors: IC1 * TCA785 Tril = TIC236 or TIC 246 D1, D2, D5, D6 = 1N4148 03 = 1N4001 D4 = zener 15 V, 1 W Miscellaneous: SI =spst switch PCS 894078 the control voltage is at a maximum, till the lamp just glows. The slide projector is aligned by setting the relevant poten- tiometer on the projector pcb to the centre of its travel, when the lamp(s) should be out. When that is done, the lamp(s) should be switched on and off a couple of times to make sure that the two potentiometers (PI and that on the projector board) are adjusted correctly. Since the control characteristic of the TCA785 is different from that of the TCA280, it is not advisable to mix the two devices. When SI in the present fader is closed, the projector lamps are off: in other words, for normal operation, SI must remain open and it may, therefore, in some cases be omitted. Ref. 1 . Elcktor India May & dune 1988 REFERENCE-VOLTAGE SOURCE WITH INDICATOR A novel use for a Type LM3914 display driver is described in this article. Since the ic is normally used as an indicator driver for analogue circuits (vu meter, current indicator, and so on), it has an internal, very stable 1.25-V reference source. The reference voltage is available at pin 7 and may be set anywhere between 1.25 V and 16 V by multi-turn potentiometer PI. It is assumed here that the supply voltage is at least 18 V. The reference voltage is calculated from: U ref = 1.25(1 + Pi; R5] + 75P1x10' 6 (V) Tire circuit is calibrated by setting PI to give a reference voltage of exactly 15.0 V, and then P2 to make LED UrelOO 1 1. 5-3.0 2 3.0-4.5 3 4.5-6.0 4 6.0-7.5 5 7.5-9.0 6 9.0-10.5 7 10.5-12.0 8 12.0-13.5 9 13.5-15.0 j 10 15.0...... 1 elektor india September 1989 9,1 1 3 GENERAL INTEREST LED10 just light. The other leds light in accordance with the set reference voltages shown in the table. ' The circuit can deliver a current of up to 3 mA: if higher cur- rents are wanted, it should be followed by a buffer opamp. The circuit can then be used as a simple variable current source with voltage indication. As shown, the circuit draws a current of about 30 mA with a supply voltage of 20 V. TIME-DELAYED FLASH The photographing of falling water drops, bullets that tear through balloons or playing cards, and other happenings for which our human reaction powers are too slow, remain a fascinat- ing aspect for many photographers. That the means therefor need not be expensive is explained in this article. To start with, a light barrier is needed where the fast-moving object can be registered. It will also tell us when the object arrives at the place where it is to be photographed. The time needed therefor is bridged by a time delay circuit. The circuit of the light barrier is shown in Fig. 1, where D1 and T1 form the light barrier proper. Transistor T2, resistors R3-R5 and capacitor Cl serve to minimize the effects of ambient light and mains hum. Opamp A1 buffers the signal from the light bar- rier before it is applied to pulse shaper A2. The circuit is very sen- sitive, although this may largely be overcome by earthing the common supply rail. The pulse from the light barrier is delayed by the circuit shown in Fig. 2. First, the pulse is used to drive an l ED , which facilitates calibrating the circuit. The pulse also clocks a data bistable, FF1, which is configured as a monostable and determines the time delay. To enable i7) j . the delay to be set very precisely, svV, two potentiometers are used: PI T (fine) and I’2 (coarse). The setting i f can be made even more precise by D FF using a multi-turn potentiometer for r\pv_a_ 3 clk I’l. I _ After the time delay has lapsed, the Q output of FF1 clocks bistable PH HM FF2, which is also configured as a ^ , monostable. Immediately on being Gf/ clocked, FF2 generates the ignition 0- g I** 05478 pulse for the flash gun. This pulse is applied to the flash gun via T2 and BC547B»5| BP103 Fig. 1. Circuit diagram of the light barrier TIC106 894033 • 12 Fig. 2. Circuit diagram of the delay unit Thl = T1C106 01. LED Semiconductors: IC1 = TLC272 T1 . BP103 T2 = BC547B 01- LED, red Miscellaneous: K1 « phono socket Light barrier Resistors: R1 -330£l R2 = 10k R3.10M R4-R7 =220k Pi = 10 k preset Semiconductors: IC1.7805 102-4013 T1.T2-BC547B Capacitors: Cl = 10 pF, 16 V C2 = 47 nF 9.114 elektor indie September 1989 Opr A1.A2: thyristor Thl. Both circuits are housed on a printed-cir- cuit board that, if desired, may be cut into two. The long part of the board is intended for the light barrier circuit and the almost square part for the delay circuit. Note that since the design started as two independent projects, there are two resistors Rl, two capacitors Cl, and two circuits 1C1 . A problem with electronics for photogra- phy remains the flash gun connexion, for which the parts are difficult, and in most places impossible, to obtain. For our proto- types, we used high-quality phono connectors and audio cable, but for the connexion to the flash gun itself, we fabricated a diy adaptor from a phono socket, as shown in Fig 4, and a flash gun socket that was cut off an extension cable. CALIBRATION (Electronics) The light barrier must be calibrated in total darkness wit the aid of the led on the delay board. Adjust PI until the LED just goes out (= no object in the light barrier). At that point, sensitivity is at its highest. If the circuit proves very susceptible to interference, con- nect the common power rail to a really good earthing point. Once that is done, check with PI and P2 set at minimum resis- tance (=time) whether the flash gun will work when a water drop falls through the light barrier. If yes, the drop will be seen sus- pended in the barrier (it is, of course, still pitch dark in your work room). If no, the flash gun connexions on K1 must be reversed. Once the water drop is suspended in the light barrier, its position can be shifted, if desired, by PI and P2 to where the photo- graph is to be taken. CALIBRATION (Photographic) The shutter of the camera must be set to the B position before photographing the drop of water, since no camera can react fast enough at normal settings. At the flash gun, check whether the automatic exposure facility covers the correct expo- sure for the photograph: this is, of course, dependent on the back- ground and on the shortest distance at which the flash computer still works. Place the flash gun as close as possible to the object, because the flash duration is then as short as possible. If you do not trust the automatic exposure, set the flash gun to manual and ascertain from the handbook how long the flash lasts - this is often longer than you may expect. Next, measure the distance in metres between the flash gun and the object and divide that by the guide number of the flash. Set the stop so obtained on your camera (rounded off upwards for slides and downwards for negatives). The current drawn by the entire circuit amounts to 20-30 mA. R-2R RESISTANCE NETWORK IN SMT This article describes an interesting sil R-2R network for use in, say, a digital-to-analogue converter. The network is constructed in surface-mount technology (smt) and is inexpensive, precise, space-saving and allows unusual values to be obtained. It is described here in a digital-to-analogue converter that uses a cmos latch Type 4042. The latch and the associated R-2R network are connected in the sil feedback loop of an LF356. The network uses 100 k!2 resistors (the 2R resistors are made up of two series-connected 100 kS2 resistors). The output voltage (in V) of the converter is calculated from: U Q = U r (R-i + P : ) / 6R(2°Q3 + 2 _1 Q2 + 2" 2 Q1 + 2- 3 Q0). The Qs in the formula have a value of 0 or 1, depending on the state of the latch output. The factor (Rl + PI) / 6R is the amplification A, which can be set between 0.4 and 2.0 by PI. The supply voltage for the latch, which is also the refrence voltage for the network, U p may be between 5 V and 15 V: the logic levels at latch inputs D0-D3 and at clk must be in accord with that voltage. The reference voltage must be decoupled direct at the ic input. The circuit is calibrated by making the inputs of the latch 0 and adjusting P2 for an output of 0 V from the opamp. Then, load the elektor indta September 1989 9.1 15 data inputs-with Fj lex and adjust PI to obtain maximum output voltage. If a larger number of bits is to be processed, two or more PCBs may be connected back-to-back. Moreover, the pcb may be used with other components, such as diodes, capacitors, combinations of resistors and diodes or sim- ple potential dividers for measuring instruments. The current drawn from the Ur supply is 75 pA; that from the 5 V supply is about 7.5 mA. (H. Bierwith) BREAK-JACK ADAPTOR A break-jack adaptor is a means of connecting, say, effects units to the 'send' and 'return' sockets of an output amplifier. In fact, the adaptor is vital there, because the levels of the effects unit(s) and amplifier are normally not compatible. Without its use, overdriv- ing and noise would be the consequences. The adaptor converts the connexion from a passive into an active one, which is possible with any output amplifier. For that purpose, it uses two voltage amplifiers, A1 and A2. The gain or attenuation of these is set complementary to one another by stereo potentiometer PI. If we assume that the wiper of PI is at the centre of its travel, the opamps have neither gain nor attenuation. In other words, in that situation an effects unit at the input would behave exactly as if there were no adaptor. If then PI is turned clockwise, the input signal is amplified. If PI is turned anti-clockwise, A1 attenuates the signal, whereas A2 amplifies it. Effects units with levels ranging from 0.5 V to 1.5 V may be used. Lower levels can be accommodated by increasing the value of R2 and R6 to 33 kU maximum. The 'neutral' position of PI is then no longer at the centre of travel of the wiper, but at about three quarters of the way. The level range is then limited to about ±3 dB (=x2). (W. Teder) 15V POWER SUPPLIES '■ MAXIMUM/MINIMUM VOLTAGE INDICATOR Circuits Type TL430 and TL43I from Texas Instruments are active zener diodes with an integral 2.5-V reference source, comparator and output stage. The maximum supply voltage is 30 V at 100 mA. This sort of device makes it fairly simple to construct a variable-voltage indicator. Resistor R1 has a value of (Uj n - 4.5) / 10: the factor 10 indi- cates an led current of 10 mA. Depending on the setting of PI, the led lights when the input voltage becomes too high or goes out when that voltage becomes too low. If you build two identical circuits with differently coloured i.Lds, you obtain a very effective voltage monitor. The combina- tion is calibrated for given maximum and minimum levels: within 9.116 elektor india September 1989 the correct range of levels only one led lights; when the voltage low, both leds are out. becomes too high, both LEDs light; and when the voltage is too (F. Roth) DECOUPLING POWER RAILS Adequate decoupling of the power rails of most circuits is a seri- ously underestimated necessity. Particularly in the design of print- ed-circuit boards, it happens all too often that at the last moment the thought occurs that there is no or insufficient space left for decoupling capacitors, small though these normally are. It is, of TTL CMOS Fig. 1. Because of the internal 50 £2 resistor, TTL circuits have some inher- ent short-circuit protection that CMOS circuits have not. self - inductance too high lower sell - inductance Fig. 2. The self-inductance of power rails may be reduced by using two or three rails in parallel. course, not surprising that such negligence often results in sponta- neous oscillations in analogue circuits and unreliable operation of digital circuits. Especially sequential digital circuits, such as dividers, counters and bistables are prone to these problems, the causes of which are normally very difficult to find. Power rails should be decoupled by a capacitor close to the rel- evant pins of the 1C, since the rail has a certain amount of induc- tance. Variations in the current through this inductance cause a potential drop that manifests itself as a short pulse or spike. The capacitor serves to buffer (that is, to minimize) the current tran- sients. Current transients arise, for example, during the switching of logic circuits, since all sorts of parasitic capacitance are charged or discharged during the change in output level. Also, just at the instant the change is taking place, the transistor in the output stage that switches to earth and the transistor that switches to the positive rail are conducting simultaneously. This means that for a very short time the power supply is short-circuited. The 50-ohm resistors in TTL logic circuits limit the consequent short-circuit cur- rent, but 4000 and hc(t) series CMOS circuits have no such protec- tion. It is for that reason that cmos circuits need to be decoupled even more effectively than TTL circuits. Note that the static current, which is many times greater in ttl circuits than in CMOS circuits, has no bearing whatsoever on the degree of decoupling needed. Decoupling capacitors must be connected with their terminals cut as short as feasible direct to the supply pins of the relevant ic. The effectiveness of a number of standard types of capacitor is discussed below. • The wet aluminium electrolytic capacitor has a fairly large self-inductance owing to its construction (rolled foil). Neverthe- less, it performs very well as a decoupling device. Its value does not matter much: from 1 ,uF to 10 pF are suitable values. Disadvantages are a relatively short life and fairly high leakage currents. • The dry aluminium electrolytic capacitor is in the same league as the tantalum capacitor. Its life is considerably longer than that of the wet electrolytic type. Like tantalum capacitors, they are excellent for decoupling but, again like tantalum types, they are relatively expensive. • The tantalum capacitor, although relatively expensive, is widely used for decoupling pur- poses, because of its excellent all- round properties. • The ceramic capacitor is the decoupling capacitor par excel- lence. It is inexpensive, has excel- lent h.f. properties, so that relative- ly low values (22 nF to 100 nF) may be used, while its large tolerance and non-linear temperature beha- viour do not matter for decoupling. • The metallized film capacitor (mkt, mks, and so on) is, perhaps, too good for decoupling purposes. This is because the capacitor and the self-inductance of the power rail form an oscillatory circuit. The Fig. 3. It is better to place the low losses of metallized capacitors rails close together than to sep- c * use underdamping of the occa- aratethem. sional oscillations. It is interesting ongunstig tT 3 sooeoo 9 OOOOOOQ gunstlg; lage zelfinductie O^JflOOflOO or 009000) 894113-13 elektor india September 1989 9.1 17 to note that the much higher losses of ceramic capacitors are, in this respect, a definite advantage. Some guide lines for effective decoupling are given below. • Provide each and every PCB with its own 47 u F to 100 pF elec- trolytic buffer capacitor. • Both input and output of voltage regulators should be decou- •pled by a capacitor of at least 100 nF (positive regulators) or 220 nF (negative regulators). • Simple logic gates should be decoupled by one capacitor of not less than 22 nF per four ics if these are close together. More complex circuits like bistables need one capacitor for every two ICS, while counters and dividers should have one capacitor for each ic. Individual tcs should have a separate decoupling capaci- tor. In addition to the use of decoupling capacitors, the self-induc- tance of the power rails can be reduced by two or three rails in parallel as shown in Fig. 2. Research has shown that increasing the diameter of the rails merely reduces the resistance, but not the self-inductance. Another aspect is that the self-inductance of the rails is directly proportional to the enclosed surface. It is, therefore, better to place them close together than to separate them — see Fig. 3. In hybrid circuits, the analogue part may be separated from the digital part by a choke in series with its power rail, but only if the linear part of the circuit does not experience regular variations in the current, because then things may get worse instead of bet- ter. LIGHT(S) OUT? Described here is a useful indica- tor to warn of lights that have not been switched off when they should have. It is small enough to be fitted inside most switch housings. When the switch is open, the thyristor is off, so that the bridge rectifier is fed with only the positive half cycles of the mains via D3. Consequently, there is no d.c, voltage across C3. When the light is switched on, and the load current exceeds some 2 mA, there is a sufficiently high voltage drop across D1-D2 to cause the thyristor to conduct. The full mains voltage is then present across the bridge rectifier, C3 is charged and relay Rel is energized. The relay may be used to switch on a visual indication as shown here or it may be used to set off an audible alarm. The relay should be a 24 V, 1200 Q type for pcb mounting. It may be omitted and the led with its bias resistor connected direct across terminals A and B. (R. Lambach) D3 . . . 07 = 1N4004 01/D2= 1N4004/1N5404 8M067-12 MODULAR GUITAR AMPLIFIER A guitar amplifier may be constructed in a simple w T ay with the aid of a Type HY83 module from ILP. The module comes complete with an instruction manual. The complete amplifier fits very nicely in a 2-unit high 19-inch cabinet as show’n in the adjacent photo- graph. In the back of the cabinet can be seen the mains trans- former, the main pcb and the power amplifier - here a Type HY124 from ILP. At the centre of the cabinet are the reverberation springs. The guitar amplifier module is located direct behind the 9.118 elelcor india September 1989 front panel and is mostly hidden from view by wiring. To sup- press mains hum, it is recommended to fit a stout earth rail close- ly along the module and the potentiometer: all earth connexions may then be made to this rail. Note that screens must be earthed at one side only. The use of light, screened cable in most positions, except for the power supply and power amplifier output, is recommended since the connector terminals are very close to one another. The HY83 comes complete with a front panel foil that may be used with a 1-unit high as well as with a 2-unit high 19-inch cabi- net. (ILP Application) DONALD DUCK GENERATOR To speak like Donald Duck, you need not inhale helium: you can input signal at the relevant rectifier. This explains why the fre- leave it to the circuit described here. quency range has to be divided into a number of ranges: the more The voice signal from the microphone is first amplified in A1 ranges, the smaller the intermodulation distortion, and then divided into four frequency ranges by band-pass filters Tire rectifier stages are followed by another set of band-pass A2-A5. The four signals are passed through half-wave rectifiers filters that are tuned to twice the frequency of the filters preceding A6-A9. During the negative half cycles, the opamps invert the sig- the rectifiers. nals with unity gain, since the diodes then conduct. During the The four signals are then recombined to make Donald Duck positive half cycles, the diodes are in the blocking state. speech available at the output of IC5. The result of this is that the frequency of the signal at the junc- The circuit draws rather less than 50 mA from the 5-V supply, tion of the diodes and the feedback resistors is twice that of the A small 5-V mains adaptor is, therefore, more than adequate. elektor india September 1989 9.1 19 NEW PRODUCTS Timer cum Transistor Tester KP-982 KP-982 is a mains operated tester which can check Timer 555 for normal opera- tion such as specified drain, symmetrical waveform output, dc offset etc. It can test op. amp 741 or other similar op- amps for input for input output faults. Transistors can also be tested alongwith measurement of their beta gains with the help of coloured LEDs. Electronic Instrument Laboratories • B69/004, Anand Nagar • Chhatrapati Shivaji Road • Dahisar (East) • Bombay- 400 068 • Up-Down/Stroke Counter (U.D.C. 500) UDC-500 sold by BMP Marketing is a 5 digit presettable Up-Down counter with/ without memory. Memory retains cur- rent COUNTER & RELAY status in case of power failure. UP or DOWN counting mode is selected automatically attributed to forward or reverse rotation of the spindle if used as a revolution counter. It can also be used as a single stroke or double stroke counter as needed in offset machines (textiles etc.) UDC-500 can accept sensing inputs from variety of sensors such as microswitch, proximity switch, opto-sensors etc. It finds application in winding machines - offset machines textiles etc. BMP Marketing Pvt. Ltd. • Lai Bunglow • Jyoti Studio Compound • K.B.A. Irani Bridge (Kennedy Bridge) • Bombay-400 007* Programmable Clock Timer ION Electricals have developed a mic- roprocessor based real time clock with programmable timer. Programs can be either set for either are time operation, daily except the weekly holidays or the working week. The timer can store 16 programs and with external relays logic four different electrical devices can be automatically switched ON/OFF. A LED display shows the time in 3 diffe- rent modes. A six button key board on the front panel facilitated the function of setting the clock, changing the display mode, entering a program can stop the relay operation whenever desired. The timer can be used for switching on/off lights, sirens and operation of appliances like heaters/air conditioners. & - BBS „ 1 in 1 18 18 RTC-P ^ , SCR’s and two diodes alongwith a free- wheeling diode. The application of half controlled connection is that with a con- trollable circuit when invertor operation is not required, only two of the four arms need be controllable and in the other tw'o positions rectifier diodes can be used. The advantage of a half controlled single phase module is that the cathodes of both the thyristors have the same poten- tial and this simplifies the triggering cir- cuit. Function of the free wheeling diode by-passes the current from the bridge components and protects them from over-currents due to the loss of bridge control. The full-controlled thyristor single phase module consists of four SCR’s designed for controlled panel op- eration. Active components are isolated from the body for the isolation voltage of 250C volts a.c. Number of modules can be mounted on one heat-sink. With a suitable heat-sink this module can draw 60 Amps current easily. These modules find application for control of power supplies for electronic equipment, d.c. motors, UPS systems, controllable bat- tery chargers, a.c. and d.c. drives etc. SPFC 45 PD 16 A. 25 A. 35 A FULL CONTROLLED SCR SINGLE PHASE BRIDGE Doshi Enterprises • 304, Goradia Houses • 104, Kazi Saved Street • Vadgadi • Bombay-400 003 • Tel: 330280 • ION Electrical • 1/1 Mahalaxmi Engg. Estate • 571 L.J. Cross Rd 1 • Bombay- 400 016 Bombay-400 016 • Tel: 467735, 468157 • Thyristor Modules Silicon Power Electronics has intro- duced half-controlled and full-controlled isolated single phase thyristor modules with current capacity ranging from 25 to 63 amps and repeatitive peak-off-state and reverse voltage upto 1600 volts. The half-controlled module consists of two 9.120 elektor india September 1989 NEW PRODUCTS • Digital Auto/Manual Multimeter PLA introduces DM-20AR Digital Auto Manual Multimeter. Features include: 4- 1/2 digit display for high resolution; auto/ manual modes; swift auto-ranging; fre- quency measurement facility in manual mode; audible and visual continuity tones for quick checks for opens and shorts; touch-hold gives the user a spare pair of hands input protection alone; auto battery test and auto polarity; and a one year warranty. r - V-V B 1 HI B Pla Electro Appliances (P) Ltd. • Thakor Estate • Kurla Kirol Rd • Vidyavihar (W) • Bombay- 400 086. External & Internal Circlip Pliers Marvel Products introduces External & Internal Circlip Pliers with replaceable tips used for electronic, Xerographic, automobile and various industrial as- sembly lines. Non slip handle made out of glass filled nylon moulded. The plier body is fitted with a return spring. Replacable tips; bent, straight, angular tips can be replaced by tunscrewing the 3 mm gnub screw. Allen key for replacing tips and spare tips are packed in one pouch. Marvel Products • 208, Allied Ind. Est. • Mahim • Bombay-400 016 • Tel: 468346/ 466846 SINGLE PHASE SILICON BRIDGE RECTIFIERS Silicon Power Electronics has intro- duced miniaturised, 1.6 cm x 1.6 cm square isolated silicon single phase bridge rectifier in the current range of 4, 6 and 10 amps with peak inverse voltage upto 1600 volts. These bridges have metal base and adjustable lead connec- tion. Electronically isolated active com- ponents and terminals have a maximum high-pot-test voltage of 2500 volts a.c. These bridges have operational/storage temperature rating of -55 C to 150 C and blocking voltage from 100 volts to 1600 PIV. RC network can be used only on DC side for voltage surge protection. These are suitable for chassis and PCB mounting. These silicon bridge rectifiers find applications in general power supplies, input rectifiers for variable fre- quency drives, rectifier for dc motor field supplies, battery chargers, UPS systems, emergency light, low power controlled panels, stabilizers, laboratory equip- ments, process control equipments etc. BSPR 6 PB _St SIZE : 1.6 x 1.6 c.m. 4 A 6A & 10 A UP TO 1600 VOLTS BSPR 4 BSPR 6 & BSPR 10 RECTIFIER BRIDGE Railton Electronics • 3/C, Madan Street • 2nd Floor • Calcutta-700 072 • Tel: 275488 • 3 DIGITAL LINE FREQUENCY METER "MECO has introduced a high accuracy, 3 digit Frequency Meter for measuring line frequency in Control panels, Sub- stations, Power Plants, Generating sets. Distribution centres, etc. The instrument is housed in standard ABS 1/2 DIN case 96 x 48 mm with depth of 150 mm. Ranges available are 0-99.9 Hz with accuracy of 0.1 Hz and 999 Hz with accuracy of 1 Hz. High accuracy and long term stability is achieved by incor- porating a crystal controlled clock generator. The operating voltages and input signal voltages are 110 V, 220 V and 440 V and option for input signal vol- tages to vary from 10 V to 500 V AC. Single Phase. LED display clearly indi- cates the frequency. MECO INSTRUMENTS PVT. LTD. • Bharat Industrial Estate • T.J. Road • Sewrce • Bombay-400 015 • Tel: 4137423/4132435* POWER CONNECTORS G.H. INDUSTRIES introduces Power Connectors Pitch 3.96 mm, 5.08 mm, 5.0-7. 5 mm, 5.0 mm Range : 2 Way to'22 Way. Male Square Pin Headers are also availa- ble with or without Friction Lock, Straight or Right Angle. Current - Rat- ing 7.0 Amps. Voltage 250 Volts. G. H. INDUSTRIES 6 84-B Government Industrial Estate • Kandivli 6 Bombay- 400 067 6 9.122 elektor India September 1989 new Products Photoelectric Switch Electronic Switches have introduced a miniature a miniature photoelectric set with infrared beam consisting of sepa- rate transmitter and receiver with built- in amplifier and prewired cable. Solid state design provides positive detection of opaque objects and does not get af- fected by vibration or ambient light con- ditions. Working on 10 to 24 V DC supply these are available in light and dark switching models. These switches have w'ide appli- cations in non contact sensing, switch- ing, controlling and regulating various processes etc. in Packaging, film, paper, chemical, pharmaceuticals, automobiles and other industries. Electronic Switches (Nasik) P. Ltd. • Nahush • Gangapur Road • Nasik-422 005 • Tel: 0253-78452 • Portable Data Entry Unit Oriole Services have developed a Porta- ble Data Terminal PDT-1. This comes with 84 keys IBM-PC typefull travel mechanical key-board and has a Two line Liquid Crystal Display, each line of 40 characters. Standard data memory 48 KB Operational features; Standard In- sert/Dclete Function and UP/Down scrolling available directly through keys, Ni-Cd battery back up, Automatic bat- tery Charging. Power requirement is 230V AC, 100 mA. The form filling firmware allows formatted data entry in a d Base user programmable structure. Optionally cassette interface available with the terminal. Sinbros Distributors • 9. Sahakar Bha- van • 2nd Floor • Narayan Nagar • Ghatkopar (W) • Bombay-400 086 • PCB Storage Rack Circuit Aids Inc introduces Model CR- 21-2 EC, cost effective PCB Storage Sys- tem suitable for horizontal storage of PCBs prior to and after soldering. Fea- tures easily adjustable Antistatic grooves to suit various sizes of PCB upto a maximum of 42 numbers. The bell works on 3 volts cell by pressing the push button switch once, 5 to 7 sec- ond music is available then it stops au- tomatically. This can be used as a door bell or call bell in homes, offices. Banks, hospitals, factories etc. Electronic Hobby Centre • F-32, Band Dham Industrial Estate • Marol Maroshi Road • Andheri (E) • Bombay 400 059 • Tel: 6366123 • Circuit Aids Inc. • No. 451, II Floor • 64th Cross • V Blk • Rajajinagar • Bangalore- 560 010 • Tel: 359694 • UHF/VHF Converter Elicon is manufacturing UHF & VHF Convertor meant for converting the full range of UFIF Brand IV (channel 21 to 39) so that they can be viewed on an ordi- nary B/W TV (Channel 4) . Having a high gain and low noise figure having a stabilised power supply and operating from 220 V AC supply. It is also useful for computers and video games if their output is in the U.H.F. range. 16/12 Tunes Bell or Kit Electronics Hobby Centre has de- veloped 16, 12 & 1 Bell Kits as well com- plete assembled bells. The bell kit is in- corporated with programmed IC which gives famous time of Jingle Bell etc. The kit is available with cabinet component and circuit diagram for easy assembling. The cabinet is available in different at- tractive plastic moulded colors. This is most useful practical project in Elec- tronic Certificate or diploma courses. Electronic Instruments & Controls • 4319, 3-Ansari Road • Daryaganj • New Delhi-110 002 • 9.124 elektor india September 1989 NEW PRODUCTS TIMERS Vectrol Engineer has introduced solid state timers. “ON delay" and “Instan- taneous pick up & delay drop out” timer relays are provided with dual opera- tional voltages so as to reduce the stock inventory. Available in the time ranges 0-30. 0-60, 0-120, 0-180 sec maximum, the timer have two sets of of delayed out- put change over contacts for customers control wiring. These timers are used in electrical & instrument control panels for a member of applications to achieve a definite functional requirement related to time. Vectrol also offers ON-OFF se- quential (Cyclic) & complex sequential timers having number having number of events. Timers can be manufactured to suit the customers specific requirements. Vectrol Engineers • 4A/32, Versova View Co-Op Hsg. Soc. • Four Bunglow Road • Andheri (YV) • Bombay-400 058 • Telephone Call Accounting System Teleguard is a microprocessor based Telephone Call Accounting system, which provides automatic print out of number dialled and duration of calls made from a telephone or its extensions. Red print out distinguishes STD, ISD calls. Serial number is also recorded au- tomatically toensure completeness of in- formation. Red and green led indication shows line usage and dialling activity. It consumes low cost standard paper roll and typewriter’s ribbon. Its heavy duty printer ensures continuous operation. The system is connected parallel to athe telephone line and operates on 220 volts- main and has optional battery back up. Ideal for Offices, Industries, Shops, Hotels and Restaurants etc. Five Star Commercial Centre • 5-A, Madhya • Sector 7-C • Chandigarh- 160 019. Digital Wattmeters/ Megawattmeters “DELTA” Control Engg. Corp. offer Digital Wattmeters for power measure- ments in DC, Single-phase & Three- phase AC system. Ranges are from mic- rowatts to megawatts to suit various vol- tage and current inputs. Accuracy of + 0.5%, + 1 digit or better is assured over very wide power factor of 0.05 - unity + 0.05 by the use of high precision analog multiplier IC. 31/2, 4'/> digits, 12.5 mm LED display is convenient to read. Official calibration certificate from IDEMI, Bombay- 400 022 can be pro- vided. Application range from lamp in- dustry, sodium vapour lamp ballast in- dustry, electrical heaters manufacatur- ers, motor & switchgear industry and power utilisers. Delta Control Engineering Corporation • C-224, Shreyas Industrial Estate • West- ern Express Highway • Goregaon (E) • Bombay- 400 063. Printed Circuit Board Terminals For 2.5 Sq. mm CHEMITRON1CS INDIA offers indi- vidual connectors that can be stacked to- gether for the required number to form a multiway, suitable for international stan- dard module dimensions of printed cir- cuit boards mountings. Connection is by soldering of pins and screw clamping the wire termination. These PCB terminals are housed in in- dustrial polyamide or which are polyp- ropylene housings. They have brass con- ductors, which are tin plated after nickel coated. These PCB terminals can accept conduc- tors of 2.5 Sq. mm with rating of 500 Volts-15 Amps. Useful to electronic Instruments, equip- ments manufacturers. Computer man- ufacturers, Television & consumer Elec- tronics product manufacturers, Defence & Dept, of Atomic Energy etc. CHEMITRONICS INDIA • B-4, Plot-10 • Above I.C.B • H.F.S. Road • Bombay- 400 060 < Tel: 6329536 • 9.126 elektor india September 1989 NEW PRODUCTS Digital V-A-F Meter Jivan has introduced Digital V-A-F meter. This measure voltage, Ampere & Line Frequency. It has a compact size of 96 (H) x 96 (W) x 170 (D) mm. It directly measures measures voltage upto 600 V, with P.T., it can measure any desired voltage. The current range is upto 10 A, but with C.T. , it can measure any desired current. The frequency range is from 20.000 to 99.99 Hz. * Dion At v - a -F METER* ii n 1 "1 -1 u. 1 II <3' * O * " A^PCRr • JIVAN .Jivan Electro Instruments • 394, GIDC Estate • Makarpura • Baroda-390 010 • Sequential Timer Controller S.S. Controls have developed a fully solid state MC-10 Sequential Timer con- troller. Having 10 A.C output channels which cover ON sequentially for a fixed duration of time. Both ON/OFF timer period are continuously variable by means of potentiometers. ON condition is indicated by red LED. Each channel has an opto isolator for achieving total isolation from the mains for safety. The unit can be used for less than 10 outputs. The operation cycle does not stop if one of the channels develops a fault but goes on to the next channel at the set time in- terval. Applications includes power re- covery in powder coating, cement indus- try etc. S.S. Controls • 60, A-6/116 Jolly Jeevan • L.I.C. Colony • Borivli (W) • Bombay- 400 103 • H.R.C. Fuse Fittings Kaycee Industries Ltd., have introduced H.R.C. Fuse Fittings, type ‘KF\ Availa- ble in 20/32/63 AMP, 500 volts, suitable for front wiring at both ends and tested as per IS 9224 for High Voltage Test, In- sulation Resistance Test and Tempera- ture Rise. Salient features include. Base & carrier moulded from High Grade Phenolic Compound which is non-in- flammable and non-hygroscopic with black hard gloss finish surface. Phosphor Bronze contact clips. Block made from brass. Visible fault indication through window on carrier. Monlithic brass base contact block with adequate hole, suita- ble for aluminium cable. Kaycee Industries Ltd. • 32, Rain jibtjai Kamai Road • Ballard Estate • Bombay- 400 038. Shaft Encoder HENGSTLER of Japan offer optical Shaft Encoder in three Models 613/614/ 616 (DS Series). Pulses per revolution (P/R) are from 4 to 10(X). Operating on 5V DC 12V DC with ripple tolerance uptop 5%, these have a frequency re- sponse of 30 KHz with output rising fal- ling time of less than 2 micro seconds. These encoders are tested to withstand severe environmental conditions. Life expectancy is upto 7200 million revolu- tions and they find applications in Machine Tools, Packing Machines, Test- ing Equipments etc. Universal Automation (Agencies) • 47, Mitramandal • Punc-411 009. Annunciator Windows Metal king manufacture Annuciator windows of full Fibre-Glass body. These windows are heat-resistance and are av- ailable in four sizes 70 x 52, 65 x 50, 70 x 35, and 55 x 30. The snap-fit window frame in provided in ABS. The facia plate of Acrylic are of Imported and av- ailable in Clear, White translucent - (Opal) and other transparent colours. Metal King • 2/9, Meghal Industrial Estate • Devidaval Road • Bombay- 400 080 • Tel:'5618978/5604769 9.128 etektor India September 1989 Every feature of the 8085 CPU and its peripheral chips can now be studied in complete detail The ONLY Microprocessor Trainer With highly advanced features ■ 24 highly reliable dual function keys. ■ Opto isolator. ■ 8251 for serial communications. Upload/Download from Host. It's like being right inside the 8085 chip. ■ 8255 for parallel I/O. ■ Intelligent EPROM/ EEPROM programmer. ■ Full memory expansion possible. ■ Onboard DAC. ■ Onboard ADC. ■ Miniature Speaker. ■ 8279 Keyboard & Display Controller. 6 digit display. Real Time Clock. Cassette interface. Dynalog Micro-Systems For further information, write or call. Central Sales Office: 112, Hill View Industrial Estate, Amrut Nagar, Off L.B. Shastri Marg Ghatkopar (West), Bombay 400 086. Tel: 583908, 586514 Tlx. 01 1 -71 801 DYNA IN FAX-(9 1 >22-358171 Branches: ■ PUNE-Tel: 336907» BANGALORE-Tel: 579757 ■ IN D O R E-T el:79B Distributors: ■ NEW DELHI-Tel: 270832 ■ MADRAS-Tel: 422705 ■ CALCUTTA-Tel: 26 1 8 70 ■ SECUNDERABAD-Tel: 825775 ■ Machine single stepping. • Small size convenient for embedded system applications. Battery back U[ for RAM. System monitor with Operating System like feature and CALL function facility for calling system services through user programs. ■ Programmable RS 232 port. ■ Logic Probe. elektor india September 1989 9.121 mp MAKE THE RIGHT CHOICE High reliability from Micro-pack, the pioneer manufacturers of * Fine line double sided PCBs " I •> mi*. uuuun jiutu r V.UO * Multi layer PCBs upto 10 layers ' •)> ’ ‘PS _ * Multi level — RTF * Surface Mount Assembly * Functional Gold plated PCBs * Tin-lead fused or SMOBC finish * State of the Art. Micropack limited, Sri Raghavendra Complex, 2805 4 2807, 10th Mam, 4th Block, iayanagar, Bangalore-560 Oil Phone Off 643004, 643664, Cable MICROPACK TELEX 0845-8764 PAC IN R. N. No. 39881/83 Allowed to post without prepayment. LIC No. 91 MH BV WEST-228 LIC No. 91 GROWEL ushers m a new era in the INDIAN PCB scenario TYPf PC BRIDGE I YPt: PC BU lY PI PC DJ In collaboration with m Veratronic Ltd. U. K. Grauer & Weil (India) Ltd., trail blazers in the electroplating field, offer complete printed circuit boar 1 plating plants manufactured in India. Standard plants with thruputs of WOO to SO, 000 sq. meters per year (single shift basis) can be offered for panel, pattern, desmear and nickel gold plating. Optional configurations are available upon request. Plants incorporate fully automatic microprocessor based material handling systems. These are capable of catering to simple as well as to the most complex process cycles calling for random selection for multiple product mixes. Supporting features such as CRT terminals, data-logging, production reports and self diagnostics are available for on-line process chemistry analysis and auto-dosing facilities. Complete range of PCB plating chemicals manufactured under license from the world - renowned ENTHONE INC. of U.S.A. is available to support our process chemistry . Why not let us supply your requirement of PCB Plating Plants? GRAUER & WEIL (INDIA) LTD. Sukh Sagar, N. S. Patkar Marg. Chowpatty. Bombay-400 007. PHONE : 811 1981. 811 1481, TELEX : 011 75791 CRAMS r-WISHWELL Branches: BANGALORE:, CALCUTTA. DELHI, LI DHIANA, MADRAS AND SECUNDERABAD. Where the science of plating is transformed to a fine art. EXPRESS 713