This ultra-simple circuit will produce the familiar sound of sirens used by US police cars on emergency calls. A small lamp will also flash synchronously with the siren sound. The circuit is capable of powering loads greater than 1 A for one or more lamps or a powerful loudspeaker, the kit producing quite a bit of noise and light.
The circuit is built from two astable multivibrators, in this case the familiar 555 of which two are present in an NE556 case. Of course, you are free to use two 555s if that suits you better. Both timer ICs are configured to operate as astable multivibrators.
The first timer is configured with R1, R2 and C2 to supply a rectangular signal of about 2 Hz at pin 9. The lamp is switched on and off by way of power transistor T1. The second 555 is configured using R4, R5 and C5, and supplies a square wave at pin 5 that drives the loudspeaker. The toggling voltage at the output of the first timer (pin 9) causes electrolytic capacitor C3 to be partly charged and discharged, periodically, via resistor R3. C3 is connected to the control input of
the second timer (pin 3), causing it to work as a VCO (voltage controlled amplifier). The upshot is that the frequency of the square wave applied to the loudspeaker rises and falls periodically, rendering a good imitation of the wailing sound of the US police car siren (we hear too often in movies).
The small number of dead-standard components used enables this circuit to be built on Veroboard without problems.
Author: Arthur Schilp
(Elektor Electronics Magazine – 2006)
| * Download this article. |
It’s good fun to keep an eye on all sorts of things in your environment and on the basis of events in this environment to switch, for example, lamps or buzzers. To help with this, the light barrier described here can be used to guard an entrance. You can use it to signal of
someone is walking through the corridor, or to check if the car has been parked far enough in the garage to be able to close the door. The circuit consists of a transmitter, which sends modulated infrared light and a receiver, which recognizes this. The circuit used here is almost insensitive to daylight or fluorescent light and therefore can be used outside.
The transmitter (Figure 1) generates about 1000 times per second, for a period of 540 ms, a burst of 36 kHz. IC1 has been set with C1, R1 and R2 to a frequency of about 1000 Hz. The output of IC1 ensures that IC2 will oscillate about 1000 times per second for a period of about 540 ms. IC2 is set to a frequency of 36 kHz with C2, P1, R4 and R5. The output of IC2 drives the IR LED D1 via transistor T1. C3 and R3 prevent the reasonably high current through D1 from generating too much interference on the power supply rail.
The receiver (Figure 2) is quite a simple design, because IC3 already does a lot of the work for us. When the IC ‘sees’ an IR signal with a frequency of 36 kHz, the output of IC3 will become ‘0’. The transmitter circuit alternates between sending an IR-signal of 36 kHz for 540 ms and is quiet for 470 ms. When this signal arrives at IC3, C4 will discharge via D2. Because the non-inverting input of IC4a is set to 2.5 V, with the aid of R10 and R11, the output of IC4a will be a ‘1’. In the intervening quiet periods of 470 ms, C4 will partially charge via R8, but this is not of sufficient duration to exceed the voltage of 2.5 V. Only when the light barrier is interrupted will C4 charge far enough that the output of IC4a will toggle and become a ‘0’. Because IC4a has an open-collector output, C5 will be immediately discharged and the output of IC4b will become a ‘1’.
With R9 and C5 this signal is stretched to about one second. If you increase the value of R9 to 100 kΩ, then this will become about 10 seconds. R12 and R13 are included to prevent chatter of the output around the trigger point, although there is not really a risk of that happening in this circuit. Together with R14, the output of IC4b delivers a clean logic signal that we can use for further processing. The quickest way of calibrating the frequency of IC2 to 36 kHz, using P1, is with the aid of an oscilloscope. If you do not have one of those, then point the IRLED D1 at the receiver IC3 and turn P1 so that the voltage on the inverting input of IC4a is as low as possible. Make sure that IC3 during the calibration does not receive too high a signal by placing the IR-LED a considerable distance away or by not pointing directly at the receiver. If this procedure is not that successful then just set P1 to the centre position, this works just fine usually.
You should not have a problem with ambient light with this circuit. If you do have a problem because, for example, there is direct sunlight on IC3, then you will need to place it inside a small tube and point it at the IR LED. In this way no direct sunlight can reach the receiver. If
the IR LED and the receiver are placed too close together it is possible that the receiver will sense light reflected off the walls, even when someone is standing between the transmitter and receiver. In this case the solution is also a short piece of tube for both the transmit LED as well as the receiver (Figure 3). Make sure that the tubes are opaque (paint black or use water pipe, for example). The wires to the IR LED can be several meters long without any problems. Do not place the receiver IC too far from the circuit.
Relate article: Direction Sensitive Light Barrier
Author: Heino Peters
(Elektor Electronics Magazine – 2006)
| * Download this article. |
With two light barriers closely positioned one after the other it is possible to establish in which direction they have been crossed. If, for example, you place it at the entrance of the toilet then you can use it to control the lights: on when entering and off when leaving the room. The circuit for this has many similarities with the modulated light barrier appearing elsewhere in this Summer Circuits issue.
There are two ways to position the light barriers, namely a completely duplicated installation in opposing directions (this to prevent mutual interference) and a version with one IR transmitter and two receivers. Both types of installation are shown here, which one is most suitable depends on the actual application.
When used in a doorway, one transmitter is sufficient if the receivers are placed about 5 cm apart. With a wider passage, an installation with two separate IR-transmitters is a better solution. This circuit has a range of several meters, even if the sun shines directly on the receiver! We use the exact same IR-transmitter(s) as for the modulated light barrier. For the installation with two separate IR-transmitters it is sufficient to duplicate R6, T1, D1, C3 and R7 from the circuit of the modulated light barrier. Output OUT (pin 3) of IC2 can drive two of these IR-drivers without any difficulty. The receivers are slightly different than those of the modulated light barrier and the circuit is the same for both types of installation.
We again use the TSOP1736, which is sensitive to IR-light that is modulated at a frequency of 36 kHz. D2, R8 and C4 ensure that the received pulses from IC3 at the output of IC5a result in a ‘1’ when the beam is not interrupted. When the beam is interrupted this output will become a ‘0’ within about 1 ms. In the same way IC5b generates a ‘0’ when IC4 stops receiving IR-light. The 4013 CMOS-IC used here contains two D-flipflops, of which we use only one. The instant that light barrier 2 (IC4) is unblocked again, is used to clock the state of light barrier 1 (IC3) through to output Q1. This signal drives the relay via T2, which operates the light in the
room. The circuit therefore turns the light on or off the moment that light barrier 1 is uninterrupted.
Relate article: Modulated Light Barrier
Author: Heino Peters
(Elektor Electronics Magazine – 2006)
| * Download this article. |
Using any camera in a dull or dark environment generally requires the use of supplementary light. This is a standard technique, and even where adequate natural lighting exists, to take conventional film pictures with enhanced contrast using a ‘fill-in’ flash for foreground subjects in shade. A flash is often built into the camera body, but the internal flash is not usually powerful enough to illuminate subjects much more that 3 m or so from the camera. On SLR cameras a hot-shoe is provided for triggering an auxiliary, more powerful flash, but the small pocket cameras are not so equipped. However, it is possible to trigger a slave flash from the camera flash by optical means. Even so, things are not so simple, for some cameras, e.g. Olympus, Nikon, Canon actually fire twice, although it appears to be once to the naked eye. The first flash sets the exposure and the second takes the picture. Help on synchronization requirements may be found at various websites maintained by professional photographers. See also www.caves.org.uk/flash/docs.html for a series of articles with kits by a caving enthusiast.
The presented trigger circuit optically receive the camera flashes and either fires at the same time as the first flash or has one flash delay before triggering the slave flash. Additional counting circuitry is required for more than one delay (covered by modified circuit not presented here). Here’s how it works. The response of phototransistor D5 to the external camera flash is pulsed by a transistorized amplifier T1 into the dual flip-flop clock IC1.
One output of a flip-flop illuminates an LED as a ‘ready’ signal. A double pole 3-position slide switch, S1, selects none (e.g. for Kodak camera) or one (e.g. for Olympus camera) flash delay before triggering. Both flip-flops are used in the 4013, the clock signal derived from the flash is used (triggered on the rising clock signal) to ‘divide by two’ and trigger the TIC206 triac on the first or second flash. A simple RC timed reset mechanism around R6-C4 is used with a relatively long delay (about half a second) before resetting the entire circuit. The advantage of the triac is that a trigger voltage of either polarity can be handled.
The 2N3906 may be replaced by its near equivalent the BC212L. The SFH300-2 photodiode is supplied by Maplin as part number MES NP64U. The triac may also be a TIC126D.
Author: Peter Metcalfe
(Elektor Electronics Magazine – 2006)
| * Download this article. |
If you’re a biker or scooter rider you’ll know how easy it is to forget to cancel your flashing indicators after turning without an audible reminder. Constantly glancing at indicator lamps is hardly an option; your eyes should be on the road ahead! The simple circuit shown here provides an audible reminder. The clever bit is the way it doesn’t annoy you by beeping the instant you activate the flashers but only after a preset time, in other words when your indicators are active longer than normal.
Supply to the circuit is through the flasher relay. With the indicators activated a squarewave voltage reaches bridge rectifier D1-D4 via terminal T1 or T2, with the other terminal remaining grounded through the indicator lamp that’s inactive. The pulsed DC voltage is stored and smoothed in C1, with D5 preventing the electrolytic from discharging during the periods when the flasher voltage is off. This also provides an adequately clean supply voltage for the 555 timer whenever the indicators are operating. Timer IC1 is used here as an oscillator and controls a piezo sounder by means of transistor T1. The output of the 555 is active Low, meaning that initially the transistor is blocked and the sounder is silent.
The timer always charges and discharges capacitor C2 to a level between a third and two-thirds of the operating voltage, producing an interval of 0.7 x C2 x (R2 + R1 + P1) [s]
The preset enables you to set this delay up to a second or so. The initial delay, before the sounder first operates, is significantly longer, however, because the electrolytic has zero charge. Only after this delay is the output active, for the pulse duration of 0.7 x C2 x R2 (equivalent to about 0.15 seconds), enabling the sounder to operate. This applies only when +12 V is present at the collector of transistor T1, which is the situation when the flasher relay is just switched on and the indicator bulbs light up.
The circuit is built inside a splash-proof enclosure, installed on your machine in a position that’s out of harm’s way. The audible sounder can be positioned anywhere outside the enclosure if it’s a waterproof type. The audible control unit requires only two cable connections, which can be made at any convenient access point.
Author: Udo Burret
(Elektor Electronics Magazine – 2006)
| * Download this article. |
A Simple and Cheap Dark-Detecting LED Circuit
Here's a simple problem: "How do you make an LED turn on when it gets dark?" You might call it the "nightlight problem," but the same sort of question comes up in a lot of familiar situations-- emergency lights, street lights, silly computer keyboard backlights, and the list goes on.
Solutions? Lots. The time-honored tradition is to use a circuit with a CdS photoresistor, sometimes called a photocell or LDR, for "light-dependent resistor." (Circuit Example 1, Example 2.) Photoresistors are reliable and cost about $1 each, but are going away because they contain cadmium, a toxic heavy metal whose use is increasingly regulated. There are many other solutions as well. Look here for some op-amp based photodetector circuits with LED output, and check out some of the tricks used in well-designed solar garden lights, which include gems like using the solar cell itself as the sensor.
In this article we show how to build a very simple-- perhaps even the simplest-- darkness-activated LED circuit. To our LED and battery we add just three components, which cost less than thirty cents altogether (and much less if you buy in bulk). You can build it in less than five minutes or less (much less with practice).
What can you do with such an inexpensive light-controlled LED circuit? Almost anything really. But, one fun application is to make LED throwies that turn themselves off in the daytime to save power. Throwies normally can last up to two weeks. Adding a light-level switch like this can significantly extend their lifetime.
Here are our components: On top: a CR2032 lithium coin cell (3 V). On the bottom (L-R): the LED, an LTR-4206E phototransistor, a 2N3904 transistor, and a 1 k resistor. This LED is red, blindingly bright at 60 candela, in a 10 mm package. It casts a visible beam, visible for about twenty feet in a well-lit room. We got the LEDs and batteries on eBay, and the other parts are from Digi-Key, but Mouser has them as well. As we mentioned, the last three cost about $0.30 all together, and much less in bulk.
The LTR-4206E is a phototransistor in a 3mm black package. The black package blocks visible light, so it is only sensitive to infrared light-- it sees sunlight and incandescent lights, but not fluorescent or (most) discharge lamps-- it really will come on at night.
Our starting point is the simplest LED circuit: that of the LED throwie, which has an LED driven directly from a 3V lithium coin cell. (Funny looking example here.) From this, we add on the phototransistor, which senses the presence of light, and we use its output to control the transistor, which turns the LED on.
The circuit diagram looks like this; please ignore the messy handwriting.
When light falls on the phototransistor, it begins to conduct up to about 1.5 mA, which pulls down the voltage at the lower side of the resistor by 1.5 V, turning off the transistor, which turns off the LED. When it's dark, the transistor is able to conduct about 15 mA through the LED. So, the circuit uses only about 1/10 as much current while the LED is off. One thing to note about this circuit: We're using a red LED. That's because the voltage drop across the transistor allows less than the full 3 V across the LED. The full three volts is really only marginal for driving blue LEDs anyway, so two-point-something really doesn't cut it. (Might be able to work around that with a cheap FET-- haven't tried yet.)
And now, let's build it. You can certainly put this together on a breadboard, but there's something more satisfying about the compact and deployable build that we walk through here.
First get the transistor and the resistor. The pins of the 2N3904 are called (left-to-right) Emitter, Base, Collector, when viewing it from the front such that you can read the writing. We're going to solder the resistor between the leads of the Base and Collector of the transistor. Unusual part: hold the resistor with its leads at 90 degrees to those of the transistor while you solder.
Stay safe when you do this: Use Mr. Hands.
After soldering, clip off the excess resistor lead that is attached to the transistor base (middle pin), as well as the excess length of the collector pin.
Next, we add the phototransistor. Note that it has a flatted side, much like an LED does. This pin on that side is the collector of the phototransistor. Solder the collector (flatted side) to the middle pin (the base) of the transistor, again at 90 degrees. The other pin of the phototransistor, the emitter, is left unconnected for the moment. (Here is an alternate view of what that should look like when you're done.)
Finally, we need to add the LED. To do so, we need to know which side is the "positive," or anode side of the device. Regrettably markings of LEDs are not consistent, so the best way to be sure is to test it with the lithium coin cell-- put the LED across the terminals of the cell and, when it lights up, note which side is touching the (+) terminal. (Usually, it's the one with the longer lead.) Solder the "positive" lead of the LED to the emitter pin of the transistor-- it's the one on the left, which doesn't have anything soldered to it. Trim away the excess lead of the LED that goes past the solder joint. Solder the other pin of the LED (the "negative" pin, or cathode) to the emitter of the phototransistor, the pin on the non-flatted side, which does not have anything connected to it yet.
By this point, there are only two pins sticking down below the components: One that goes to the resistor and collector (rightmost pin) of the transistor, and one that goes to the emitter of the phototransistor and to the cathode of the LED.
To test the circuit, squeeze the coin cell between these two terminals, positive side goes to the lead touching the resistor. You can't see the LED on here because these photos were taken with incandescent lighting-- it wouldn't turn on.
Bending the leads to contact the lithium cell a little more reliably, you can try it out a little more easily. In the photo on the right, I cupped my hand over the circuit-- so the LED turned on.
To make this into an actual "throwie," you still need to add some tape and a magnet, but that's quite easily done. This one makes a pretty good nightlight attached to the top of a doorframe-- when the room lights are off, it shines a bright, bright spot on the ceiling.
Where to go from here? While this little circuit can do something on its own, it would probably also be happy as part of a larger circuit. At a minimum, note that if you work with batteries that have lower internal resistance than the lithium coin cells, you should place an appropriate resistor in series with the battery before trying to operate this circuit-- or else you may put too much current through the LED. Certainly, this is one of the easiest and least expensive ways to control an LED with a photosensor. (Unlike, say, this method?) You could also consider crossing it with some more extreme mods, like the Talkie Throwies that know Morse code, or for more extreme hackers, bagel throwies.
Contributed by Windell on 12/12/2007 , in EMSL Projects. Permalink
Source: Evil Mad Scientist Laboratories
Author: Nils Körber
Märklin’s light signal Type 74391 (blocking signal) for size HO model railway sets is fairly new and, at 10 euros (£7·00), reasonably affordable. There is, however, a little problem in that its operation requires the use of signal keyboard Type 72750, which makes the setup not only more expensive but also inflexible. There is, fortunately, another solution, simpler and much more economical, which requires just a switch and two diodes. It is based on the fact that, seen from en electronics point of view, the light signal consists of two anti-parallel-connected LEDs with dropping resistors. The lower section at the right of the diagram, Da, Db, Ra and Rb represents the typical inner circuit of such a light signal. When the output voltage of the light power source is applied to the circuit, both LEDs light. However, since only a red or green signal is wanted, the voltage is simply applied via diodes D3 and D4. Change-over switch S1 then determines which color will be seen. Surely a very economical solution.
If in more complex setups it is required to have direct control over which color the light signal on the track is to be, it suffices to add two further anti-parallel-connected LEDs, D1 and D2, in the connection between switch S1 and the light signal. So far, so good. But now for a few special aspects. Typically, a light signal contains a standard green LED, whereas the red LED is usually a low-current type. Therefore, the dropping resistors have different values. In the present circuit it is therefore necessary for D2 also to be a low-current type. Unfortunately, recent Märklin light signals are already fitted with two low-current LEDs. This can be ascertained by temporarily connecting the present circuit to the light signal and measuring the direct current for the two switch positions. Standard LEDs draw more than 10 mA, whereas low-current types draw not more than 5 mA.
If D3 and D4 are Type 1N4148, it is possible to use the circuit with about five light signals fitted with standard LEDs or with up to twenty fitted with low-current LEDs. If Types 1N4001 are used, up to 1 A can be drawn.
With railway tracks for analogue operation, which normally use 16 V AC power sources, Märklin light signals may be connected directly or via D1/D2. In case of digital tracks that use higher supply voltages, correspondingly higher-value dropping resistors (or an additional one in series with D1 and D2) must be used. Finally, a tip that is as simple as it is practical. To retain the superb facility of analogue tracks whereby the train does not drive on when the signal is red, but stops automatically, isolate the power line to the last rail before the light signal and power this rail via the second contact of S1 —as already shown in the circuit diagram. Many other hints and advice for model railway enthusiasts may be found on the author’s web site: www.koerber-home.de
(Elektor Electronics Magazine – 07/2006)
| Download this article (direct link #050170.pdf) |
Author: F. Roesky
Current designs of slave flash units are, in the opinion of the writer, too complicated and may be simplified without any problems and without losing any of their usefulness as may be seen from the accompanying circuit diagram. This proposed circuit offers a number of advantages:
• no need for an additional power source, since power is derived via the sync contacts of the main flash unit;
• automatic reset (no need for a button);
• operates with new as well as older main flash units (contact voltage >100 V);
In spite of these proven practical properties, the design is simplicity itself. It is controlled by a low-current CMOS decimal counter IC1, a Type 74HC4017, which enables the entire circuit to be powered directly via the sync contacts of the main flash unit via resistor R1 and voltage limiter D1.
The control circuit based on transistor T1 also operates with minimal quiescent current. When a flash is detected, T1 provides a clock pulse to IC1. Depending on the position of switch S1, the low-power thyristor fires on the second or third flash pulse, so that it does not react to the pre-liminary flash that prevents the red-eye effect. After about 0.4 second, when the main flash unit is discharged, IC1 is reset via R4, C3 and T3. At that instant, the current drain of IC1 increases briefly and the voltage across C1 collapses. This is of no consequence, however, since after at most one second C1 is recharged to a level at which the circuit is operational again. If the circuit is to be polarity-sensitive, connect a small bridge rectifier rated at 400 V between the contacts of the main flash unit and terminals JP1 and JP2.
(Elektor Electronics Magazine – 07/2006)
| Download this article ( direct link #050047-uk.pdf) |
Labels
- * Elektor 2005 (9)
- * Elektor 2006 (72)
- Adapters (1)
- ADC / DAC (1)
- AM / FM (2)
- Amplifiers (3)
- Antennae (2)
- Articles List (1)
- Audio (1)
- Automatic (2)
- Batteries (3)
- Bluetooth (1)
- Breakers / Contacts (1)
- Buzzers / Sirens (1)
- Clocks / Timers (2)
- Computer (2)
- Converters (2)
- Coolers / Fans (1)
- Counters (1)
- Datasheets (7)
- E-blocks (1)
- Energy (2)
- Flash / Light (8)
- Frequency (1)
- Fuse (1)
- Generators (2)
- High-voltage (1)
- Indicators (2)
- Infrared (IR) (4)
- LCDs (1)
- LEDs (7)
- Magazines (1)
- Meters (5)
- Microcontroller (9)
- Mobile Phone (1)
- Motors (1)
- OPAMP (3)
- PCB (1)
- Photosensors (1)
- Power Supply (2)
- Preamplifiers (1)
- Programming (3)
- Radio (1)
- Rectifiers (1)
- Regulators (1)
- Relays / Switches (10)
- Remote Control (7)
- RS232 (3)
- Security (4)
- Sensors (2)
- Servo (2)
- Simulators (1)
- Small Circuits (46)
- Telephones (2)
- TENS (1)
- Testers (3)
- Timebase (1)
- Tools (1)
- Transmitters (1)
- Trigger (1)
- USB (2)