Professional Documents
Culture Documents
US200301
US200301
SMS-Controlled
Mains Sockets
remote appliance control by GSM phone
Design by A. Elallali (Unitronic)
Using a simple SMS message sent from your GSM phone, two mains
powered loads may to be switched on and off independently, or
programmed to do so at a specified time.
GSM modem
As with the Personal Mini Web
Server, a special module is
employed for the complete telecom-
munications function (Figure 1). In
fact, everything related to SMS
reception is ‘safely left’ to the mod-
ule. The module involved is manu-
factured by the French company
Wavecom (www.wavecom.com)
and may be obtained from their dis-
Remote control by telephone and other archive include a Personal Mini Web tributors, including Unitronic in Düs-
telecommunication systems like transmit- Server (September & October 2001) seldorf, Germany (www.uni-
ters/receivers are no new subjects to Elektor and the 535 ‘Lite Board which was tronic.de). The module type WMOi3
Electronics readers. Over a decade ago, we capable of initiating control actions is a dual-band GSM Modem for the
already published the design of a switching using SMS. 900 MHz and 1800 MHz bands. It is
unit with seven outputs under the control of As far as functionality is con- fluent in telephony, Voicemail, SMS
DTMF signals sent over the telephone net- cerned, the project described in this transmission and reception, fax
work. Related items in the Elektor projects article corresponds to the first pro- (Group 3), data transmission and
Read/Write data in Flash memory, GPIO (here, the two mains sockets).
OpenAT Init/Get/Release memory, Delete
The ‘heart’ of the SMS-Controlled objects stored in Flash memory). Bus API
Mains Sockets unit is certainly not which looks after the SPI and I2C bus sys-
cheap, but definitely worth the PCM API tems.
investment because it can be pro- which give access to the Flow Con-
grammed in a special programming trol Manager functions, afford sure Standard API
language called OpenAT. The pro- access to V24 and Data I/O with a number of standard C functions.
grammability obviates the need for a (Open/Close flow, Send/Receive
microcontroller which is typically Data). Figure 2 illustrates the interaction between
expected in such a system. the APIs and the user application contained
As you may have surmised from I/O API in the Wavecom module.
the name of the language, OpenAT for control over the serial link and the No need to panic at this point — to be able
finds its roots in the AT command
set originally designed by Hayes for
telephone modems. An OpenAT
application consists of the user-spe- Wavecom Module
cific, embedded application that was
Open AT application
linked to, and developed using, the
OpenAT library. The library, in turn, User Embedded Wavecom Core
Application Software
is based on a multitude of different
APIs (Application Programming Open AT Library
Interfaces) developed by Wavecom:
AT Command API
Open AT APIs (Event & Functional driven)
which give access to the set of AT
functions (Send AT Commands, sub-
scribe to unsolicited/intermediate AT Command OS related Standard Flow Control Serial BUS Input/
Transportation facility 'C' Management I/O Control facility output
indications). facility Library facility facility facility
C6
+5V +5V
1µ 63V
2 K4
DB9
16 V+ 1 C4
C1+
C9 C8 1
IC2
3 1µ 6
C1–
100µ 16V 100n 63V
11 14 2
T1IN T1OUT
12 13 7
R1OUT R1IN
9 8 3
R2OUT R2IN
K5 10 7 8
T2IN T2OUT
2 1 C3 4 4
C2+ C5
4 3 +5V 1µ 9
MAX232
6 5 63V 15 5 5
C2– 1µ
8 7 V- 63V
D1
10 9 6
C7
12 11
+5V
14 13
R1 1µ 63V
16 15
150Ω
FLASH_LED D4
18 17
20 19 D2 RE1
T1
22 21 R2 T2 R7
24 23 1k R3
150Ω
26 25 1k2
BC547 1N4148
28 27
30 29 BC547
SPIO_0 T4
32 31 R6
SPIO_1
34 33 56Ω
36 35 PE PE
BD139
38 37
40 39 230V 230V +5V
N L N L
42 41
44 43 D5
K2 K3
46 45
D3 RE2
48 47
T3 R8
50 49
R4
150Ω
1k2
Modem 1N4148
BC547
RE1 RE2 T5
R5
56Ω
TR1
BD139
K6
K1 IC1
L F
78S05 +5V
230V B1
N
C10 C1 C2
020157 - 11
T5
RE2
D5
GAT2
GAT3
PIJL3
T3 D4 D1
R4 T1 K4
~ R8 R1
K3 D3
R5 C6
~ RE1 T4 R7
C3 R2 IC2
020157-1 1-751020
C8 ROTKELE )C(
C4 C7
R6
R3
~ T2
C9
C5 K5
K2 D2
~ B1
PIJL2
C10
TR1
~ C2
K1
C1
~
IC1
GAT4
GAT1
(C) ELEKTOR
020157-1
SMS Commands
SWITCHING OUTPUT
This command controls one or more outputs via SMS. Not all fields require data, and some are optional.
Password When PIN checking is active, the PIN should be entered here.
Socket number 1 = Output #1, 2= Output #2, 0 = both outputs
On/off 1= on, 0 = off
Date yy/mm/dd (e.g., 03/09/15 means 15 September 2003). When the field is empty, the current date is used.
Time hh:mm (e.g., 13.30h). When the field is empty, the current time is used.
It is possible to include multiple switching commends in one SMS message. The second command is simply written after the first one. Sub-
sequent commands do not require the string #<password>;
Up to 16 switching functions may be programmed.
Examples
#7324;1,1,, Switch on load #1 immediately
#7324;2,1,03/09/15,12:00 Switch on load #2 on 15 September 2003 at 12:00h
#7324;1,0,03/09/15,13:00,2,0,03/09/15,13:01 Switch on load #1 on 15 September 2003 at 13:00h,
switch off load # 2 on 15 September 2003 at 13:01h
GET SWITCHES
Format: switch?
This command retrieves the commands issued to both outputs. The GSM modem replies by sending an SMS containing all received and
Example
Command switch?
Response 1,1,,;0
2,1,03/09/15,21:00;1
1,0,03/09/15,13:00;2
2,0,03/09/15,13:01;3
The last digit in each line is an index number. The index is required if the user wants to clear a certain action.
DELETE SWITCH
Password When PIN checking is active, the PIN should be entered here.
Index Index number of the action to be cleared is issued in GET SWITCHES.
Example
Command delete switch;7324;1
Response Switch 1 : deleted
It is also possible to clear all actions in one go by using Index number 16:
Format: rtc;<password>;<date>,<time>
Example
Command rtc;7324;03/09/07,10:49
Response The rtc is set successfully
Format: rtc?
Example
Command rtc?
Response 03/09/07,11:01
CHANGE PASSWORD
Example
DISABLE/ENABLE PASSWORD
Format: password;<password>;<enable/disable>
password PIN
enable/disable 0 = disable checking; 1= enable checking
Example
Command password;0123;0
Response Password disabled
DISABLE/ENABLE RESPONSE
Format: response;<password>;<enable/disable>
password PIN
enable/disable 0 = switch off acknowledge; 1= switch on acknowledge
Examples
Command response;0123;0
Response none (acknowledge switched off)
Command response;0123;1
Response Response enabled
GET REPORT
Format: report?
Example
Command report?
Response Socket 1 : on
Socket 2 : off
Password : enabled
Response : enabled
Time : 11:05
Date : 03/07/29
Electronic
RPG Dice Roller
for Role Playing Games
Design by E. Eugeni bitlab@tin.it
www.webrpg.com
www.rpghost.com
www.rpg.net
20 Elektor 1/2003
GENERALINTEREST
+U BL
R8
9 ... 13V DC LCD
470Ω
300mA
K2 1W
D1 D2
IC2 LCD Display 2x16
PC1602D Alpha
78L05 +5V
3x 1N4001
R/W
VDD
VSS
VO
D3
RS
D7
D6
D5
D4
D3
D2
D1
D0
A
K
E
C7 C8 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
C6 C5
18mA
100µ 100n 100n 100µ
16V 16V
+U BL
BT1
9V
+5V
K3 15 13 11 9 7 5 3 1
C3
100n 16 14 12 10 8 6 4 2 +5V
S1 = SCROLL FORWARD
S2 = SCROLL BACK 21 7
470Ω
470Ω
470Ω
PD6 16
13 PB2
PD7 17 MOSI
PB3
18 MISO
PB4
19 SCK
PB5
AT90S4433
22 1 RESET
AGND RST
R6
XTAL1 XTAL2 GND
K1 9 7 5 3 1 R7
470Ω
9 10 8
47k
S4 S3 S2 S1 X1
R1
47k
BZ1 10 8 6 4 2
C2 C1
ATMEL +5V
15p 15p PROGRAMMING PORT
7.3728MHz
020005 - 11
Figure 1. Circuit diagram of the RPG Dice Roller. All intelligence is vested in the Flash microcontroller, IC1.
much than not enough’), the skilled The circuit has provision for in-cir- current of just 10 mA in the BL circuit. You
RPG player always carries a small cuit programming of the Atmel Flash may need to change this to a more realistic
pouch with a dozen or more dice, chip via connector K1. How this may value (between 47 Ω and 82 Ω) to get a use-
just in case. In the following text, be done will be described in a small ful backlight level.
you’ll find the workings of an all- article to be published later this year These days there is a large choice of LCDs
electronic equivalent of such a on Atmel ISP (in-system program- from different manufacturers — new, used
pouch. ming). The circuit may be powered basement bargains, NOS, you name it. Here,
by either a 9-V battery or a small the commonly seen 2 × 16 character type is
mains adapter supplying anything used.
Circuit description between 9 and 13 volts DC at about Unfortunately, despite the massive offer-
The circuit diagram of the RPG Dice 300 mA. Because it is too heavy on ings there is no standardisation among man-
Roller s given in Figure 1. It is a clas- the battery, the LCD backlight (BL) ufacturers as far as the position of the 16-way
sic application of an Atmel AT90 pro- (if available) will only light when connector on these devices is concerned, and
grammable Flash microcontroller sur- mains adapter power is applied. The that is why the RPG Dice Roller circuit has a
rounded by input devices (switches battery may be left connected when pinheader that allows the LCD to be con-
S1-S4), output devices (buzzer BZ1 the adapter is used. Resistor R8 may nected by a short length of flatcable. Pin 1 of
and an LCD) and a power supply have to be redimensioned to suit the the header goes to pin 1 on the LCD connec-
(IC2). If you were shown this circuit BL current requirement of the LCD tor, pin 2 to pin 2, etc.
diagram only, it could just as well be you’re using. The current consump- The same lack of standardisation is found
a rocket launcher or an egg timer! Of tion of the LCD alone is of the order with the corner holes that enable an LCD
course, the functionality is deter- of 18 mA, but this will rise consider- module to be secured, hence no holes are
mined by the software burned into ably when the BL is used. The indi- provided for PCB pillars on the RPG Dice
the AT90 chip. cated value of R8 will establish a Roller board.
1/2003 Elektor 21
GENERALINTEREST
Not all LCDs with built-in backlighting troller, and that the electrical con- S4 DO (i.e., execute)
have the lamp (or LED) connections on nections of the pushbutton switches S3 MENU
pins 15 and 16 as indicated in our circuit dia- have to be ascertained before fitting S2 SCROLL BACK / ‘–‘ (minus)
gram. In some cases, these two connections these (square) devices on the board. S1 SCROLL FORW / ‘+’ (plus)
are found elsewhere on the LCD module, and In other words: find the switch in the
the two wires to them may have to be device and make sure it goes to the On power-up, the circuit shows a
rerouted a bit. In case of doubt, trail the Inter- right solder pads. The function of welcome message for a few seconds,
net for a datasheet of your LCD. each switch is given in the circuit then enters the MENU page and
Preset P1 allows the LCD contrast to be diagram. defaults to Roll Dice mode.
set for different viewing angles. If you see Finally, there is no need to con- Actually, the welcome message is:
only black squares, or nothing at all, when nect anything to the Atmel program-
the circuit is switched on, turn P1 until text ming port if you use a programmed RPG DICE
appears. If not, there is a hardware or soft- microcontroller. V 1.0
ware problem.
and it is accompanied with three
Practical Use short beeps from the buzzer.The
Construction The naming of the four buttons is as MENU page is functionally divided
Building the RPG Dice Roller should not pre- follows: (from left to right on the in two rows: the upper one is static,
sent problems since a high quality ready- PCB): and simply shows the word ‘MENU’.
made board is available from the Publishers. The lower is variable, showing the
The board is shown in Figure 2, along with
the parts list.
There are no special precautions to men- C4 + BT1
-
K1 K2
tion here, except perhaps that it is recom- D3
H7
R8
P1
D1
C6 C7
R7 IC2
COMPONENTS LIST C8
K3 R1 C5
Resistors: C3
R1,R7 = 47kΩ R6
IC1
R2-R6 = 470Ω LCD
R8 = 470Ω 1W (see text)
P1 = 10kΩ preset C1
R5
R4
R3
R2
020005-1 C2
1-500020 +
X1 ROTKELE )C(
Capacitors: BZ1
C1,C2 = 15pF
C3-C6 = 100nF
C7,C8 = 100µF 16V S4 S3 S2 S1
H2
H1
Semiconductors:
D1,D2,D3 = 1N4001
IC1 = AT90S4433-8PC, programmed, order
code 020005-41
IC2 = 78L05
Step 1:
Select dice
1d6:
Step 2:
Push and hold DO for a while.
Rolling... Rolling...
1d6: -0 1d6: 0-
Figure 3. Ready populated board (prototype). The above ‘–0’ and ‘0–‘ patterns appear in
sequence several times every second, giving
a visual confirmation of the roll process.
current work mode. You can browse Roll Dice mode Meanwhile, the buzzer makes a clicking
all three work modes by pressing Starting from the first MENU page, sound, simulating a real dice rolling on the
SCROLL BACK or SCROLL FORW. top of a wooden table.
MENU
MENU Roll Dice Step 3: Finally, you release the button, and
Roll Dice the score appears (in this case, 4).
you may press DO or MENU to
MENU access the dice selection page. [DO] to roll
Armour Class 1d6: 04
Select dice
MENU 1d4: From now on, to start a new roll you simply
Hit Points Memo push and hold the DO button, repeating the
The dice selection page shows a sta- same sequence as step 1. Please note that
Once displayed in the lower line, a tic message, ‘Select dice’, and the you cannot now change the dice type,
given mode can be effectively current dice type. According to the because the prompt message is ‘[DO] to roll’,
entered by pressing DO. To get back standard RPG conventional repre- not ‘Select dice’ as before. In order to change
to the MENU, simply press MENU. sentation, dice types are shown in the dice type, you can push MENU and get
Please note a useful shortcut: when compact form ‘1dn’, where ‘1d’ is a back to the dice selection page.
you are about to confirm a selection, prefix, and n is the number of sides
you can press MENU instead of DO. (or faces) of the die. Armour Class mode
In other words, the MENU key can The current version of the When the circuit is in Armour class mode,
be used either to enter or to leave a firmware performs a simulated
given mode. This ‘unusual’ behav- throw of the following dice: MENU
iour was suggested by several RPG Armour Class
players, because they often prefer to 1d4: a die with only four sides
hit the same key repeatedly instead (triangular base pyramid). the user can press DO or MENU to access
of two distinct keys. 1d6: the classic cube with six next page:
May I count on it? PPG Dice Roller software resembles, closely enough, all the above
considerations. In order to approximate the random behaviour of
A question that readily arises when you build an electronic coun- real wooden dice, the score you get from every simulated roll is
terpart of a well known object like a wooden die, is: “What’s the not obtained by a pseudo-random algorithm, but simply capturing
degree of randomness afforded by a true deterministic resource a sixteen bit number from a binary counter which is regularly
like a microcontroller”? Well, if you try to code some kind of ran- updated hundreds of times every second. Such a counter is physi-
domness in the firmware, you actually get a pseudo-random algo- cally implemented in the microcontroller, but operates with no
rithm, where the final result can be guessed because it depends on direct intervention of the processing unit. When you push the DO
known and foreseeable factors. The approach followed by the key, the firmware takes a snapshot of the count, then computes a
author for his project is different, and may be compared to a dart final score by applying a set of arithmetic calculations. No need to
game board which rapidly spins while you throw. How could you say, the true ‘random’ variable in this game is the user, because the
guess the landing zone of the dart? You see the target, but since score of every throw cannot be guessed, intentionally or not, by
you don’t recognize or anticipate the exact position of every num- looking at the previous results or by following the program execu-
bered section, because the spinning is really fast, you can’t aim the tion flow.
dart as you would like to do. Moreover, if you throw tens of darts Software fans will like to hear that the program source code
one after another blindfolded, even at regular time intervals, you for the RPG Dice Roller is available as a free download from the
could not guess every landing zone. The internal operation of the Elektor Electronics website, under number 020005-11.
Input THAC0 or MENU to leave and get back to score was 13, and since your preset
09 the beginning of Armour Class THAC0 value was 9, every fighter
mode. who holds an AC value equal to or
where he/she is invited to select a number From here on, the cycle repeats as greater than 9 – 13 = –4 is to be con-
from 01 to 20, known as THAC0 (THAC zero) in Roll Mode: push and hold DO, sidered hit or struck. Please note
value. observe alternating ‘-0’ / ‘0-‘ pat- that Armour Class mode is useful
terns near ‘Roll:’ and ‘AC:’, and listen every time your RPG scenario
The two-digit number can be sequentially to the buzzer’s clicking sound. involves the ‘calculation’ of a battle
incremented or decremented by hitting outcome, from the simple man to
SCROLL FORW/‘+‘ or SCROLL BACK/‘–’. The [DO] to hit! [DO] to hit! man fight, to a more complex battle
current version of the firmware does not Roll:-0 AC:-0 Roll:0- AC:0- structure or even Star Wars.
implement an auto-repeat response of the
keys, so you have to push once time for every When you release the DO key, you Hit Points Memo mode
unit. However, you hear a short beep from the get two numbers as a roll score and This is a simple feature that has lit-
buzzer every time a digit gets changed. armour class hit: tle or nothing to do with random
When a suitable THAC0 value is shown, numbers and dice rolling. It’s only an
you can press DO to access the next page, [DO] to hit! electronic, hopefully useful, alterna-
Roll:13 AC:-04 tive to the paper notebook that’s
[DO] to hit! always gone when you need it.
Roll: AC: The above numbers tell you that dice Given that most games involve
Armour Classes the current fight. In other words, combining a THAC0 value from
the player who attacks, an AC value from the player who defends,
and Neighbouring FAQ together with the randomness of the dice, your RPG scenario
appears both convincing and fascinating.
What’s an Armour Class? In order to get a full benefit when operating in Armour Class
An Armour Class is an integer that represents the ability of an mode, the user should perform the following steps:
enemy to face our attack, in terms of both vulnerability of his
armour, bare skin, or whatever else, and ability to dodge and save 1. Preset a suitable THAC0 value (the circuit always remembers
himself from the hit. Every possible target in a Role Game shall the last value set).
exhibit its own AC value, usually in the range from –19 to 1, as a 2. Perform a ‘throw to hit’ action.
visible qualification of its fighting skill. 3. Discard the roll score and note the AC value.
4. Flag as struck every player who holds an AC value greater than
What’s a THAC0 value? or equal to the noted one.
A THAC0 value, acronym of Throw to Hit Armour Class zero, is
also an integer, but instead of referring to an enemy being Please note that roll scores discarded at step 3 are useful in partic-
attacked, it qualifies a player who attacks. Every player shall have a ular game situations, such as the so called fumble, linked to score
THAC0 value, in the range from 1 to 20. 1, and the critical hit, linked to score 20. Readers wishing to get
closer to the fascinating world of RPG can readily browse thou-
What’s a throw to hit? sands of web pages by simply keying ‘RPG’ or ‘Role Playing Games’
A throw to hit is nothing but a single throw of a 1d20, the score of (sometimes incorrectly written as Roll Playing Games) into an
which is subtracted from THAC0 to represent a valid outcome of Internet search engine like Google.
Practical Neural
Networks (1) e support we
bs
rs http://
Part 1:
it
www.rgu.ac.uk/eng/
co
e
an introduction to Neural Nets compint/page.cfm?pge=6732
Artificial Neural Networks (Neural Nets or just ANNs for short) are a
popular form of Artificial Intelligence (AI). They are based on the
operation of Brain Cells and many researchers think that they are our
best hope for achieving true intelligence in a machine. If you’re a fan of
the TV Series ‘Star Trek’, you’ll know that Mr Data is supposed to have a
Neural Net brain, as is the robot in the ‘Terminator’ films.
Although these technological wonders are on
the cutting edge of research in Computer Sci-
ence, they are also well within the grasp of
the enthusiastic amateur. The aim of these
articles is to introduce this fascinating topic
in a practical way, which will allow you to
experiment with your own Neural Nets.
Figure 3. How a neuron processes information. If Sum > 0.5 then Output = 1
If Sum < 0.5 then Output = 0
evolved to be an electronic proces- others, called Interneurons, which This is a bit like the real neuron which sends
sor. If you looked at the Neuron are connected only to other neurons. out a pulse when its stimulus is big enough.
under the microscope, it would The result of all this is passed to a Let’s try a little example to make sure
appear as shown in Figure 2. final set, called Motor Neurons, the everything’s clear so far. Suppose we have a
The Dendrites receive signals from axons of which are connected to neuron with inputs and weights as shown in
other neurons or the outside world; muscles and glands. Figure 5, what would its outputs be? Calcu-
they are the “receiving end” of the In this way we can read informa- late the output from the neuron in the draw-
Neuron. When enough stimulus is tion in from the world, process it and ing, assuming a threshold of 0.5:
received by the Dendrites, the Cell act upon it. These processes are Sum = (0.1 x 0.5) + (0.5 x 0.2) +(0.3 x 0.1) = 0.18
Body generates a pulse of electricity responsible for everything, from sim- Since 0.18 is less than the threshold, Output = 0
which travels down the Axon to the ple reflexes to consciousness itself.
Dendrites of other neurons or to mus-
cles, stimulating them. So what’s this good for?
As a neuron gets more stimula- The Birth of the ANN OK, so we have a model of a neuron, but what
tion through its dendrites, it pro- In 1943 two researchers named War- is it good for? Well, let’s take a visual pattern
duces more pulses per second as ren McCulloch and Walter Pitts pub- like that shown in Figure 6a. And let’s say
shown in Figure 3. Therefore, the lished a paper which started the sci- we want a device which can recognise it. We
information in the nervous system is ence of Artificial Neural Nets. It pro- can code the dark pixels as ones and the light
frequency modulated. posed a simple model of the neuron, pixels as zeros. If we connect up our neuron
Some neurons, called Sensory and Artificial Networks are based on as shown in Figure 6b, it will produce a “1”
Neurons, collect information from the it (in improved form), to this day. The output whenever it “sees” this pattern. You
outside world. The Rods and Cones basic idea is shown in Figure 4. can probably see that even if the pattern isn’t
in your eyes are Sensory Neurons. The diagram shows four inputs perfect — if the dark pixels aren’t quite ones
This stimulus is passed up to the labelled i1 to i4. These are like the and the light ones aren’t quite zeros, the neu-
brain along the Axons of the Sensory dendrites of the biological version ron will still recognise the pattern (we say
Neurons. There it is processed by and connect to the outside world or that the neuron is noise tolerant).
i1
I w1
N i2 w2
S O
P Σ Threshold
Sum Output
U
w3
i3
T
w4
S i4
020324 - 1 - 14
0 1 0
Output = 0
Now Learn! 1 0
(Pattern not recognised)
1
You’ll also see from the example above, that Sum = (0x1)+(1x0)+(0x1)+(1x0) = 0
0
the set up of the weights is critical to the Sum < threshold Output = 0
functioning of the network. It’s the weights c. The network won't recognise a different pattern.
that determine what pattern the network 020324 - 1 - 16
recognises, and setting the weights is the
main task of the neural net program.
In our example above, these weights have Figure 6. Using the neuron for pattern recognition.
been set by common sense and for a very
simple task like this, that is possible. But for
complex tasks like recognising hundreds of
patterns with a network of neurons, it’s
impossible. We also want the weights to be !
set automatically, without a human operator
having to interfere; after all, we all learn by
ourselves without any external help.
Enter the “Learning” or “Training” Algo-
rithm. This is the part of the neural net which
sets up the weights to automatically recog-
nise a pattern. To give a very simple example
of how this might work, consider an algo-
"#"$ % % &
rithm for teaching the neuron above to recog-
nise its pattern:
Figure 7. The Binary and the Sigmoid neuron.
1. If Output is correct then do nothing.
2. If Output is high but should be low, then
decrease the weights attached to high the output of our neurons. This is:
inputs. 1
Output =
3. If Output is low but should be high, then 1 + e − Sum
increase the weights attached to big
inputs.
The weights usually start off as random num-
bers. The other articles in this series are about
Σ
the various methods of training the network.
Two other points are worth mentioning
here. Firstly, by setting up the weights the
way you want, you can make the network
A
2
6
3 8 Out
7
B 4
5
Inputs First layer of neurons Second hidden layer Output neuron(s)
(internal layers are called
ÒhiddenÓ layers). 020324 - 1 - 19
So, in the example shown in Figure Marvin Minsky and Seymour Papert. rithm (to be described in part 2) became well
5 the output of the neuron, using the It pointed out a flaw in the basic neu- publicised, cheap computing became avail-
sigmoid function would be: ron. The problem was this: No matter able to the masses and John Hopfield pub-
what values you set the weights of a lished his famous paper (to be covered in part
1 two input neuron, it will never be 3 of this series).
Output = = 0.5449
1 + e −0.18 able to simulate an Exclusive OR The neurons in the network work exactly
(XOR) gate as shown in Figure 8. the same way as the ones already covered.
Actually, this function always pro- This, along with other arguments Let’s do an example to demonstrate with sig-
duces an output between zero and in the book, held up progress in moid neurons, Figure 10.
one; therefore the output is like the neural nets for many years. Most Calculate the output from this network
binary threshold. So why use it? Well, researchers left the field, feeling that assuming a Sigmoid Squashing Function.
its advantage comes in the circum- if a neuron couldn’t even fulfil this
stance of two patterns being very simple task, then it wasn’t worth Input to neuron 1 = (0.2 x 0.5) + (0.4 x 0.8) =
similar. It allows the neuron to researching. 0.42.
express uncertainty by having an out- Actually, what was needed to
put which is “in-between” zero and overcome this problem and others 1
Output = = 0.603
one. The network is saying “I’m not like it, was not a single neuron, but 1 + e −0.42
quite sure”. Figure 7 shows the idea. a network of them. In fact, a Russian
mathematician called Kolmogorov Input to neuron 2 = (0.2 x 0.1) + (0.4 x 0.9) =
has already shown that a neural net- 0.38.
Networks of neurons work with three layers as shown in
Neural Nets had gone from strength Figure 9 could solve any problem of 1
Output = = 0.594
to strength in the years since McCul- this kind. 1 + e −0.38
loch and Pitts first proposed their However, although this solution
model. But in 1969 a book was pub- became known, it wasn’t until Input to final neuron = (0.594 x 0.7) + (0.603 x
lished which attacked many of the 1982/83 that neural nets really took 0.5) = 0.717.
ideas behind them. off as a research area again. At that
The book was “Perceptrons” by time, the Back Propagation Algo-
1
Final output = = 0.672
1 + e −0.717
Active Loudspeaker
System (1)
for multimedia applications
Design by T. Giesberts
The 2-way active loudspeakers described here are primarily intended for use
with a PC, but could in principle be used in any other ‘medium-fi’ application.
Since the universal crossover filter can be adjusted to your own liking, you’re
not tied to using the speakers and enclosure suggested here. Other
woofer/tweeter combinations may also be used. An accompanying active
subwoofer is currently under design and will be published in the near future.
* zie tekst
R20 * see text R14
6
+16V
IC1.B
7 * voir texte 3n9
5 * 13
14
C4 R15
R21
C13
R5 * R6 R7 R8
12
IC1.D 470Ω
0Ω
15k
10µ +8V
63V R13 R19
R3 C6 C8 C15
D1 SC13 8Ω
2k00
10k
C3 P2
6k8
3 13 LS1
8n2 3n3 10k
3n3 VCC VCC
1N4148 120n 2 4 1
C14 IN1 OUT1
1
C1 IC1.A
R2 IC2
3 5 2
470Ω 470n IN1 OUT1
2µ2
4k7
12 15
R1 R4 IC1 = TS924IN C17 IN2 OUT2
C2 D2
TDA7374
1M
P1
10k 1n JP1
R9 R11
R17 470n
11
IN2 OUT2
14
* LS2
1N4148 2k00 7
STBY
9k76
* 6 10
9 SVR CLIPDET SC10N 8Ω
C16 R18
8 SGND PWGND
+16V +8V C9 C10 C11 C12 IC1.C 470Ω
IC3 10 9 8
2µ2
+16V 7808
R23
* 4n7 4n7 4n7 * zie tekst
0Ω1
R10 R12 R16
C18
* see text
C19 C20 C21
* voir texte
2k7
4k99
12k7
2k00
R24
P3
C24 C23 C22 4
10k 10µ 47µ 100n * siehe Text
IC1 3n3 63V 25V
D3
4700µ 25V 100n 4µ7 11
63V
POWER R22
020054 - 11
0Ω1
Figure 1. The circuit consists of an input buffer, crossover filter and an integrated dual power amplifier.
The starting point for this design (recommended by the manufacturer) have a poor response at the lower end of the
was the irritation with the average can also be used in this design. frequency range. For this reason we have
to mediocre quality of the majority of The electronics required to make include a corrective filter that can be acti-
PC loudspeakers. We thought that the loudspeaker active have been vated with a jumper and which boosts the
was something that could be kept as simple and yet as adaptable frequencies between 1000 Hz and 100 Hz up
improved upon without expending as possible. A two-way crossover fil- to a maximum of 6 dB at 100 Hz. Our proto-
too much effort or money. Of course ter was designed round a quad type seemed to benefit from this addition and
you don’t need the ultimate HiFi opamp, with a choice of slopes, char- this correction will probably also have a pos-
quality for the PC, but it would be acteristics and crossover frequen- itive effect with other speaker combinations
nice to have a set of loudspeakers cies. For use with the speakers rec- having similar bass/midrange units.
that gave a decent reproduction. In ommended by us, the filter was set
that way you could start to enjoy the up as a 3rd order Butterworth type
music from a CD or DVD. with a crossover frequency of 4 kHz. The electronics design
To begin with, we looked for a For the power amplifiers we used Now that the introduction is out of the way
compact woofer/tweeter combina- an integrated dual bridge amplifier, we can start to look at the circuit diagram.
tion that gave a good performance at which requires very few external This is shown in Figure 1 and consists of
a reasonable cost. Another require- components. At a supply voltage of three distinct sections:
ment was that they should be mag- 16 V it delivers 2 × 19 W into 4 Ω or
netically shielded, because the loud- 2 × 12 W into 8 Ω. Compared to Input buffer and supply
speakers are likely to be placed close usual HiFi standards this may seem a When we look at the circuit diagram in the
to a monitor or TV, which would be bit skimpy, but in combination with usual way, from left to right, we first see a ter-
affected by stray magnetic fields. For speakers with an average efficiency a minating resistor, isolating capacitor and trim
our prototype we finally decided to sound pressure level of about 100 pot P1. This feeds the signal into an input
use a 25 mm dome tweeter and a 13 dB can be attained — and that really buffer built around IC1a, which forms part of
cm bass/midrange unit made by is very loud! quad rail-to-rail opamp TS924IN. This type is
Visaton (the SC10N and SC13). Other What else can be added to this distinguished by its relatively large output
manufacturers of magnetically summary? One of the advantages is current of up to 80 mA.
shielded speakers worth looking at using an ‘active’ design is that it R2 and C2 form a low-pass filter that sup-
are Vifa and Monacor (Monarch). For allows us to overcome a disadvan- presses any high frequency interference. The
this reason we would like to make it tage found with many small loud- network C3/R3/R4 provides the previously
clear that other speaker combina- speaker enclosures. Most enclosures mentioned correction at low frequencies;
tions with associated enclosures with a volume of a few litres tend to closing JP1 enables this filter.
C19
LS1 LS2
C24
power supply, but still obtain the optimum +
-
H1
H2
R23
tial divider R20/R21, providing a virtual C16
R15
R18
ground at exactly half the supply voltage. The D3
C18
C15 C14 C17
P2 P3
C7 C5 C11
R24
large output current capability of the TS924IN C4
R14
R13
R10
R12
R16
R17
R7
R8
C10
R5
R6
R1
round IC1b. R9
C12
To avoid supply-borne interference from C9
C8 C6
R21
affecting the input buffer and filters, opamp
C23
IC1
D2
IC3
IC1 has been equipped with its own voltage
C3
C13
T
regulator (IC3). For proper operation of this 8 C1 C2 C22 1-450020
P1 R3 R4 JP1
V regulator, the supply voltage to the active
H4
H3
R2 D1 R20
system should be at least 11 V. Resistor R22 020054-1
link.
Filter
Next comes the crossover filter.
As can be seen in the circuit diagram, the
output of the input buffer is fed to two filter
sections. These are built round the two
remaining opamps of IC1. The low-pass filter
is built round IC1d and the high-pass filter is
(C) ELEKTOR
found round IC1c. For the design of the filter
we started out with a 4th order configuration,
so that the same PCB could be used with sim-
pler filters just by leaving out some compo-
nents.
We have already calculated the values for Figure 2. It is amazing that this compact PCB contains a crossover filter as well as a
several variants. Table 1 shows the compo- 2 x 20 W power amplifier!
nent values for a 3rd order Butterworth filter
and a 4th order Linkwitz-Riley filter with
crossover frequencies at 1, 2.5 and 4 kHz. crossover point of Butterworth filters cations such as these. This IC
With the Visaton loudspeakers used in our is at -3 dB, for Linkwitz-Riley filters requires surprisingly few external
prototype we found that a 3rd order Butter- it is at -6 dB. components (no Boucherot network,
worth filter with a crossover frequency of 4 nor output capacitors) and also con-
kHz gave the best result. The component val- Power amplifier tains adequate internal protection
ues given in the circuit diagram are therefore The output signals of the filters are circuits against overheating and
for this type of filter. When we used a 4th fed to the power amplifiers via pre- short circuits. Due to all these fea-
order Linkwitz-Riley filter at 4 kHz the mea- sets P2 and P3. The potentiometers tures our dual power amplifier is a
surements showed that there were problems compensate for the different effi- shining example of compactness.
with the radiation pattern due to the large ciencies of the woofer and tweeter. This is clearly seen in the circuit dia-
phase shifts this filter produces. The 3rd order Many dome tweeters are about 3 dB gram.
Butterworth variant noticeably suffered less louder than small bass/midrange We have already mentioned the
from this. The Linkwitz-Riley values are there- speakers at the same input level. output power. With a load of 8 Ω
fore mainly included for experimentation pur- However, the loudspeakers chosen loudspeakers IC2 can be cooled
poses. for this design do have similar effi- using a small heatsink with a ther-
Take care with the connection of the ciencies, so that in practice both P2 mal resistance of 3 K/W. R19 and
speakers when using the Linkwitz-Riley fil- and P3 can be turned to their maxi- C19 ensure that virtually no plops
ter, because the connections to the tweeter mum level. are heard when the amplifier is
are then reversed. On the PCB the polarity For the power amplifier we’ve switched on (there is always a small
indicated is for use with 3rd order Butter- chosen a TDA7374B double inte- offset voltage at the output of the
worth filters. (In this case the tweeter is grated amplifier. These are primarily amplifier). RC networks R15/C15 and
therefore ‘out of phase’ compared to the intended for automotive use, but are R18/C18 restrict the bandwidth of
woofer!) And as a final point of interest: the obviously also very suitable in appli- the power amplifiers in order to min-
Woodwork
The size and construction of the loudspeaker a fairly straightforward job, since a has been cut to size then the rest of
enclosure depends primarily on the size of the closed box is little more than six pan- the job should be simple if you use
woofer that is used. The Visaton SC13 used els that are glued together. This may some clamps. In any case, it is an
here is mounted in a closed box with a volume seem a bit difficult to the inexperi- advantage that no special baffles or
of about 4 litres. This makes the construction enced carpenter, but once the wood ports are required. The only part that
A Dimensions in mm
Section A - A Material: MDF 12 mm
Ø 85
Section B - B
126
118
231
255
Ø 113
B B
151
A
175 150
020054 - 12
Figure 4. Design drawings for the enclosure, complete with all measurements. We’ve assumed that 12 mm thick MDF board is used.
Input impedance 10 kΩ
Sensitivity (12 W/8 Ω, JP1 open, P1/P2/P3 max.) 270 mV
Distortion + noise (1 W/8 Ω, 1 kHz) 0.013 % (B = 80 kHz)
Bandwidth woofer amplifier (P2 max., JP1 open) 32 Hz - 4 kHz
Bandwidth woofer amplifier (P2 half, JP1 open) 25 Hz - 4 kHz
Bandwidth tweeter-amplifier 4 kHz - 45 kHz
Output power per amplifier (THD+N = 0.5 %) 12 W (8 Ω)
19 W (4 Ω)
Quiescent current (no load) 0.17 A
Bandwidth amplifier + box (-3 dB) 100 Hz - 18 kHz
Apart from this list of figures we’ve also provided three graphs. The first (A) is a A
simulation of the frequency response for the SC13 woofer. The absence of
prominent peaks or troughs make this graph look fairly neat, but it does show a
steep drop at the lower end of the frequency range: at 100 Hz the amplitude is
nearly 8 dB lower than at 2 kHz. A low-frequency booster therefore isn’t a
superfluous luxury.
The second graph (B) shows the measured response of the filters and the
low-frequency booster. It is noticeable that the crossover point is neither
exactly at -3 dB nor exactly at 4 kHz. This is mainly due to the tolerance of the
capacitors used in the filters. In practice these deviations can be completely
ignored.
Graph C shows the measured frequency response of the loudspeakers
when driven by their amplifiers. From this it is clear that the low frequency
boost really should have been set a bit higher. Keep in mind that when the
loudspeaker is placed
on a desk or near a B C
wall that the lower fre- +9
+6
quencies will be
+3
boosted more, making +0
-21
surements took place
-24
and it varies depending -27
20 50 100 200 500 1k 2k 5k 10k 20k 40k
where the loudspeaker Hz 020054- 15
is positioned!
Battery Voltage
Guard
adjustable to any voltage
Design by A. Schilp
This month’s Mini Project may be used to guard any voltage ranging from
a minimum of 3 V to a maximum of 25 V. It can, therefore, be used to
keep a constant eye on the voltage of a car battery. But it can also be used
with the receiver batteries of a radio-controlled model, for example.
10k
P2 2
D9 is about 10 times greater than the current
10k
D10
through R2 and P2. Because the voltage at
pin 7 is 1.25 V, the current for each LED
020282 - 11 amounts to 1.25/5000 = 2.5 mA. That is
exactly the current to suit a high-efficiency
Figure 1. All that is required for the battery guard is already present in the LED. If required, the current may be
LM3914. increased by lowering the value of R2.
Dot or bar
The LM3914 can operate in either
dot- or bar-mode. In the first case,
COMPONENTS LIST only one LED will be lit. In the sec-
ond case all the LEDs below the rel-
Resistors: evant LED will also be on. The selec-
R1 = 1kΩ tion between the two modes is made
R2 = 10kΩ using pin 9: if this is left open then
P1 = 25kΩ preset the IC operates in dot-mode. When
P2 = 10kΩ preset jumper JP1 is in place, bar mode is
selected. Keep in mind that the cur-
Capacitors: rent consumption and power dissi-
C1 = 100nF pation of the IC are considerably
higher in bar-mode. This is not much
Semiconductors: of an issue with voltages up to 15 V.
D1-D10 = high-efficiency LED However when the input voltage is
IC1 = LM3914N 25 V, the dissipation increases to
625 mW and at that level the
Miscellaneous:
LM3914 will become quite hot.
JP1 = jumper
The current consumption of the
circuit amounts to about 6 to 7 mA,
Construction
PCB layout also available from
www.elektor-electronics.co.uk to which the LED current has to be Figure 2 shows the layout for the small cir-
(Free Downloads) added. All current is obtained from cuit board designed for the voltage guard.
the voltage source to be guarded, This board is unfortunately not available
ready-made. As you can see, every compo-
nent has been given a suitable place on the
board, and because there are so few of them,
there is very little to say about the construc-
D10 D9 D8 D7 D6 D5 D4 D3 D2 D1
tion. In practice it is handy to use LEDs of a
1-282020
020282-1
+
020282-1
IC1 few different colours, for example, red for volt-
0 R2 ages that are too low, green for correct and
R1
ROTKELE )C(
(C) ELEKTOR
H2
These days some electronic components are cialist work stations. SMDs during the author’s graduation
supplied only in SMD package outlines. This Working with SMDs can be easier studies.
can often leave the electronic hobbyist in a than you think provided that you are
bit of a dilemma: should you use SMD com- armed with one or two of the more
ponents only where there is no alternative essential tools. It is not necessary to The basics
and conventional wire-ended components buy expensive solder re-work sta- As the name suggests, an SMD (Sur-
elsewhere in your latest design or should you tions, a standard 30 to 60 W solder- face Mounted Device) is mounted on
plump for SMD throughout? ing iron is up to the job providing it the surface of a Printed Circuit Board
In this series of articles we hope to show is fitted with a suitably fine bit. (PCB). It is not necessary to put a
that switching completely to SMD is often the hole in the PCB to take the compo-
most sensible solution and need not incur a This article is the result of experi- nent leads. Contacts on the compo-
great deal of expenditure in tools and spe- ence gained while working with nent are soldered to ‘pads’ or ‘lands’
Figure 1. Scale diagrams of the 1206, 0805 and 0603 outlines and illustration of an 0805 size resistor.
Diodes
Most general-purpose diodes are produced in
the Mini-MELF (Metal Electrode Leadless
Figure 3. The 3216 tantalum capacitor outline. Face) outline (Figure 4). This package is a
Transistors
Transistors are produced in the SOT 23 out-
line (Figure 5). This outline is a simple rec-
tangular chip measuring 2.8 mm by 2.1 mm
with three connections.
ICs
There is such a wide diversity of IC outlines
SOD80
that we can only look at a few of the more cathode band
common package outlines. The µMAX series
from Maxim is probably one of the most 1.7
Ø
important from the point of view of the home 1.5
SMD tools
There is much expensive SMD equipment and
specialist tools available today but before you
invest too much of your hard-earned cash it
would be wise to try things out on a small 3.0
2.8
scale. SMD work is not everybody’s cup of SOT23
0.150
tea and if you are not blessed with a steady 0.75
0.60
0.090 0.95
Rodent Deterrent
environmentally friendly and humane
Design by T. Giesberts
Mice, rats and even the playful and inquisitive marten are rodents that are
certain to make a considerable nuisance of themselves whenever they
interact with human activity. Their presence will result in unpleasant
odours and irritating noises while their sharp teeth will cause havoc with
rubbish bags, hoses, (car) electrical wiring and just about everything else.
Therefore, suitable measures are in order and electronics can prove itself
indispensable here.
1k5
1k
1k
D1 R1 R8 R12 T1
C1 C2 47k 8 C9 C10 14 C11
12k
2k7
IC1 IC3
47µ 47µ 100n BD140
4 7
25V 100n 8V2 25V 100n
0W4 R20
T3 270
R4 BC557B
4k7
22k
T5
R3
6 8
100k C4 R14 R22
LS1
R18
8 C12
1µ
270
3 5 1
P1 R5 D
1 6 IC3.A 100n
IC1.A 56k R7 IC2
6 8
2 7 7 3 3 C 2 R25
470k IC1.B 100k COMP FOUT
5 R15
6 R S
VTH
4k7
T6
LM331 4 6
5 1
RC IOUT R23
BC547B
JP1 IREF T4 270
9 13 4 2
D
IC3.B TEST
BD139
11 12 R2 R9 R10
C
C3 C7 C5 C6 C8
+U
47k
12k
100k
1k5
1k
1k
T2
R S
100n 220p 2n2 220p 100n
BD139
10 8
R16 R19 R24
R31
4k7
T8
+U
IC1 = TS922IN
IC3 = 4013 R29
BC557B
10k
R35 R26 C15 R30 R32
K1
14
47k
330k
10k
15k
C20
IC4 +AB 100n
+U K2
7 100n
10 –A 4
F1
13 R 1 R
DIS T10 –B DIS T7
R42 R41 R36 R27 OC
1A5 F D2 D3
IC4.B IC4.A
1M
1 5
1M
1M
3k3
15
15
T12
2200µ 220n 100n 220µ 100n
25V 25V LL
>2V5
BC547B 020110 - 11
BUZ11
Figure 1. The complete schematic of the rodent deterrent. The top part of the schematic is responsible for the actual sound generation.
the capacitive load of the piezo tweeter(s) are astable multivibrator. During the K2). T9 has been added for the even-
limited, something that will improve the life ‘high-time’ of the output of IC4a (pin tuality that only a logic level (LL, K3)
expectancy of the tweeter(s). 5), T7 will conduct and IC1, IC2, IC3 is available (> 2.5 V). When T8 is
Although it is possible (in principle) to use and the output amplifier are pow- not active, R29 and R30 hold the
other makes and types, for the prototype we ered. During the ‘low-time’ of IC4a, reset input of IC4a low. Diode D3 has
used a piezo tweeter model PH8 from Visaton T7 will block and the ground con- been added to prevent an active out-
for LS1. This tweeter has a small horn and nection to the oscillator and ampli- put from being muted.
produces a sound pressure level of 96 dB at fier sections is interrupted. In order Depending on the amount of
an input power of 1 W. Since the output to minimise the voltage drop while charge in C13, it can sometimes take
amplifier delivers about 20 W, you can work generating the acoustic signal, a a little longer before IC4a enters the
out for yourself what impressive number of power-MOSFET type BUZ11 was reset state. Another nice feature
decibels our rodent deterrent produces. It is selected for T7. This MOSFET has a occurs when the output is not active:
very fortunate that the generated signal is very low on resistance (typical at that time, C13 will be discharged
outside our own hearing range… RDSON = 0.04 Ω). by R27. But when T8 turns off, C13
In order to make the circuit as ver- will discharge quicker and the volt-
satile as possible, there is also the age will be below the input thresh-
Extra features provision to drive timer IC4a with an old of IC4a, causing the output to
The energy saving feature implemented by external signal (from a passive turn on for a few seconds before
periodically switching the generated ultra- infrared motion sensor, for example). resetting.
sonic signal on and off has been realised with The circuit can be activated via T8 Finally, the previously mentioned
the aid of a 556 (IC4a) configured as an with an open-collector output (OC, ‘optical extra’. This has been realised
H2
C20 R35
H3
D1
C10
R8
R7
R6
R4
R1
R34
causes two LEDs connected to K1 to IC1
R9
IC2 IC4 T9 LL
R26
D2
flash at a frequency of about 3 Hz.
T
1-011020 ROTKELE )C(
C6
C7
C2 C1
R5 R33
Because the reference (D4, D5) of the R10 R12
P1
D3 C15
R32
R27
C14
R11
current sources is adjustable with R28 R31
C9 C8 C11 C4 OC
P2, the LED current can be varied R13 T7
C13
R29 T8
T
R41
from about 6 mA to 40 mA. Make R14 IC3 R15 R37 R30
R16 F1 K2
sure that both current sources are T1 C18
P2 leds
K1 - -
D5
D4
loaded, otherwise the unloaded tran- R22 T2 R25
sistor will cut off the reference volt- LS1
~
OUT1
R38
age to the other one. If desired, both ~ C12 C19
T11
R20 R23
outputs can be connected in parallel R18 R17 R21 R24 R40
R42
T10
so that the output current can be R19
+
H4
H1
Power supply
The power supply for the rodent
deterrent can take the form of a 12-V Figure 2. By designing a clever circuit layout, the number of wire links is limited to just two.
battery or a separate mains adapter
with an output voltage of 9 to 15 V.
The output voltage needs to be reg-
ulated, while the adapter also has to
be able to deliver a considerable
amount of current. The current con-
sumption of the circuit typically
amounts to about 400 mA during
the period when the output signal is
active. When four piezo tweeters are
connected in parallel the current can
increase to 900 mA!
Fuse F1 protects against short cir-
cuits, while MOSFET T12 provides
protection against reversal of the
power supply polarity. Compared to
T7, it appears at first glance that the
source and drain have been
reversed. This is not so however. The
channel is definitely conducting,
independent of the fact that the cur-
rent now flows from source to drain,
because the gate voltage is positive
with respect to the source. The Figure 3. This is what a correctly assembled circuit board should look like. T3, T4, T5 and
inherent body diode of the MOSFET T6 need to be mounted on a heatsink.
Figure 4. The piezo tweeter used for the prototype is a type PH8 from Visaton, it
has a frequency range from 3 kHz to 40 kHz and is capable of producing very high
sound pressure levels.
Small
DC-DC Converters
DC-DC converters under the magnifying glass
by Prof. Dr.-Ing. M. Ossmann
UL UL
The function of a DC-DC converter is to change a
S
b D
P L L P
one DC voltage into another. The resulting
voltage can be higher, lower, inverted and pos-
sibly isolated with respect to the input voltage. D
U IN U OUT U IN U OUT
There are many types of converter, of which S
circuit.
First we will look at the simplest circuit,
L
the so-called step-down or ‘buck’ converter. U IN UL U OUT U IN UL U L' U OUT
This converts an input voltage into a lower
output voltage. In outline, its principle of oper-
ation is as follows. When switch S is closed a 020180 - 11c 020180 - 11d
positive voltage appears across the inductor
L (since Uin is greater than Uout). The current
in the coil therefore rises linearly, and energy is Figure 1. Various DC-DC converters:
stored in the coil. When the switch S is (a) buck; (b) boost; (c) buck/boost; (d) flyback.
opened, current flows through the coil into the
output capacitor via diode D. The voltage
across the coil, UL, is now negative, and so principle there are three patterns of shown in Figure 2(b), the current is
the current through the coil falls linearly. The current flow, as illustrated in Figure zero for part of the cycle, the circuit
energy stored in the coil is transferred to the 2. If the current flow in the coil has is operating in ‘discontinuous mode’
output. Switch S is now closed again, and the not reached zero when switch S is (DM). If the switch is turned on
process repeats itself from the beginning. closed, there will always be a cur- when the coil current reaches
The actual voltage appearing at the output rent flowing in the coil: this is known exactly zero, we speak of CM/DM
depends on how the switch is controlled. In as ‘continuous mode’ (CM). If, as limit operation.
10Ω
100k
conduct and removes the base cur-
T3
rent from T1. The current in L1 can-
t not now rise further, and so the volt-
continuous mode CM age at point P begins to fall. T2 is 2x
BC560
then turned off and finally also T1. C1
T1
10k
t
discontinuous mode DM which creates an oscillation. T3 BAT43 LED
ensures that T1 is turned off at the
c preset current, and the circuit func- 020180 - 13
I [A]
tions in CM/DM limit operation. A
photograph of the prototype appears
in Figure 4. Figure 3. Down-converter driving an LED.
CM - DM boundary
t
Modifications
020180 - 12
If you try to use this circuit to power
another circuit, rather than an LED,
Figure 2. Theoretical current you will find that it does not oscillate
waveforms. under higher loads. This is because
the load will prevent R3 turning on
T2 at power-up. A capacitor (0.1 µF)
By controlling the ‘on’ period of between point P and the base of T2
the switch (or its mark-space ratio) will help avoid this problem. It is
the output voltage and transferred also a good idea to connect an elec-
power can be controlled. So much for trolytic capacitor (10 µF) across the
theory; now let us look at a simple output to smooth the voltage. The
practical circuit. converter is unregulated and acts as
a current source rather than as a
voltage source. For many simple
LED driver applications this will however be Figure 4. Prototype LED driver circuit.
The circuit [1] in Figure 3 drives an entirely adequate.
LED from an input voltage of 9 V
with high efficiency. Note that Euro- Switch S is now closed again and the
pean equivalents have been substi- 5 V to 12 V process is repeated.
tuted for some of the components step-up converter In order to turn the circuit of Figure 3 into
used in the original design. How Can a step-up converter be designed a step-up converter we first need to turn all
does this circuit work? in the same way? Let us first look at the transistors upside-down, so that switch
Transistor T1 plays the role of the basic operation of the step-up, or S is now connected to ground as the outline
switch S. Diode D1 and coil L1 form ‘boost’ converter, as illustrated in circuit in Figure 1 indicates. The positions of
the other parts of the step-down Figure 1(b). When switch S is diode D1 and coil L1 also need to be
converter. When the circuit is turned closed, the coil voltage UL is equal to exchanged. The feedback between T1 and T2
on, R3 provides a base current for T2 the input voltage and the coil current is modified, and we arrive at the circuit
(since the forward voltage of D2 is rises linearly. When switch S is shown in Figure 5.
greater that 0.7 V) and T2 starts to opened the coil will ensure that the Zener diode D2 allows us to regulate the
conduct. T2 now supplies T1 with a current continues to flow, indepen- output voltage to 12 V. If the output voltage
base current, and so it starts to con- dent of how high the output voltage is too high, the operating point of T2 is
duct as well. The voltage at point P is: this current now flows through shifted so that T1 is turned on for a shorter
rises and T2 is supplied with a much diode D. In the steady state the out- period (or even not at all). At an output cur-
higher base current. put voltage is higher than the input rent of 20 mA the output voltage will be 12.6
The voltage at point P now being voltage and the coil voltage UL is V; with a 5 V input voltage the input current
9 V, the current in L1 begins to rise. negative, which leads to a linear fall will be around 64 mA. This corresponds to an
The rate of rise of the current in the in the current flowing in the coil. In efficiency of 77 %, not at all bad for such a
coil is determined by its inductance this phase energy is again trans- simple circuit. The prototype circuit is shown
and by the voltage across it. The ris- ferred from the coil to the output. in Figure 6.
1k
two transistors? Indeed we can: Figure 7
shows a regulated step-down converter pro- 330µH
ducing 12 V from 20 V. It is described in the T3 BC560
C2 R5 D1 +12V
references [2]: again, European equivalents 1k
3Ω9
47k
ulation. An efficiency of up to 90 % is claimed
for this converter.
020180 - 14
15...20V
can be seen in Figure 8. Compared to the cir-
cuit of Figure 5 this arrangement has the R5 R1
470Ω
2k2
C5V1
Isolating converters
R4
2k2
There only remains to explain how to create
T2
an isolated supply. The basic principle is
R3 C2 D1 +5V
100Ω
shown in Figure 1(d). Instead of a simple coil
10n BAT43 10mA we have an inductor with two windings.
BC T1
560 R2 C4 C1 When switch S conducts, the current in the
C5 100Ω first (or primary) winding rises linearly, as in
100n 10µ
10µ
R5 R1
BC
the inverting converter. Energy is stored in
550 the inductor. Now switch S is opened and
1k
1k
put. Instead, all the energy is first converter can be greater or lesser in
stored in the inductor. In contrast, in magnitude than the input voltage.
the buck and boost converters For this reason, this type of converter
energy is transported directly from is known as the ‘buck-boost’ or
input to output at certain moments. ‘step-up/step-down’ converter. The
According to its mode of operation, experimental circuit shown in Figure
the output voltage of the inverting 10 is set up to produce an output of
+5V
R3 T1
2k2
D2
2N2905 ZPD13
Figure 9. Construction of the converter shown
in Figure 8.
R2 C2 D1
–12V
100Ω
30mA
100n BAT43
R1 be stored in the inductor. For this reason we
100Ω
Coils
The only special components in our circuits
are the inductors, about which a few remarks
are in order. Many of the small inductors that
are readily available are not suitable for these
applications because of their high DC resis-
tance. Larger devices designed for higher cur-
rents are generally suitable. Particularly sim-
ple to use are the so-called ‘bobbin cored’
inductors, as shown in Figure 11: the diam-
eter and height are both approximately 10
mm. These are sometimes found in PC power Figure 11. Bobbin core for inductors.
supplies and can be dismantled and
rewound. In our example wire with a diame-
ter of between 0.2 mm and 0.3 mm was Further reading:
used. The large air gap helps ensure that the We hope this article has whetted your appetite for efficient switch-mode power
core material does not become saturated. supplies. The following websites provide further information.
When winding the double inductors for the
flyback converter a close coupling between Motorola (ON-Semiconductor) http://www.onsemi.com
the two windings is needed. In the coil for the
Texas Instruments / Unitrode http://www.ti.com
converter of Figure 10 this was achieved by
Linear Technology http://www.linear-tech.com
using a bifilar winding, i.e., using two paral-
lel wires. Maxim http://www.maxim-ic.com
Infineon http://www.infineon.com
ST Microelectronics http://www.st.com
Conclusion
International Rectifier http://www.irf.com
As we have seen, a variety of switch-mode
power supplies can easily be built. These
kinds of economical converter find frequent
use in low-cost electronic equipment, caus- References:
ing headaches for service engineers who find
that the entire circuit stops working when [1] J S. Rohrer, ‘LED Switching Driver Cuts Current Draw to 3 mA’,
any one component fails. That is unfortu- Electronic Design, August 7 2000, page 130.
nately the disadvantage of these so-called [2] Eugene E. Mayle, ‘Low-Cost Step-Down Regulator’,
self-oscillating converters. Electronic Design, February 6 1995, page 118.
(020180-1)
Tube-Based
Crossovers
with a free designer program
By John R. Broskie crvquestion@glass-ware.com
B+
By applying two or more filters to the input
signal, crossovers give each loudspeaker
driver its own band of frequencies in which in C1 C2
to operate. The filters used come in two fun- 300
damental types: digital and analogue, with
1M
R2
Tube-Based Crossovers
Tube-based crossovers perform the
same function as solid-state
crossovers, but use tubes rather than
the ubiquitous IC. Why bother with
tube-based audio equipment? As
they say, if you have to ask, then you
haven’t listened to a good tube-
based audio system. In an active
crossover, the tube delivers the same
easy-on-the-ear sound it brings to
guitar amplifiers and phono preamps. Figure 2. Elektor’s Tube Crossover Designer in action. Complete circuits, parts lists and
While realizing a tube-based component overlays are produced at the flick of a switch.
crossover is no more difficult or com-
plex than the solid-state alternative, it
is more expensive. Tubes run on eyes. Even when not turned on, tube not only offers a consistent physical geome-
comparatively high voltages, which gear compels attention that no IC- try and helps to prevent miswiring, but it
require comparatively higher prices. based equipment can match. allows a great deal of flexibility, as this PCB
For example, a 250-volt 47-µF capac- resembles a cross between a proto board and
itor costs eight times more than the a typical PCB. Each board holds two tube
25-volt equivalent. In addition, the The Plan sockets (four buffers) and many extra holes.
tubes themselves are not cheap, as a This project aims to deliver a tube- The flexibility is truly staggering. By recon-
handful of ICs can be had for the based crossover in its most flexible figuring the PCB, dozens of arrangements are
same price as one good tube, defi- form. Surprisingly, using a printed possible, as 1st, 2nd, 3rd, and 4th order
nitely not the cheapest choice. circuit board can contribute to this crossover slopes can be easily accommo-
Although tube gear is not easy on goal. While using point-to-point dated on this PCB. Two channels of matching
the wallet, it is easy on the ears and wiring is certainly possible, the PCB high-pass and low-pass filters (up to 3rd
order) fit on one board, as does a single chan-
nel’s three-way crossover made up of 1st,
) * 2nd, and 3rd order filters (three-way
15VAC 15VAC crossovers using fourth-order filter slopes
require cascading boards).
But so much freedom can baffle: Which
capacitor goes where? Which half of the tube
15VAC 15VAC the input? Unfortunately, the formulas and
schematics needed to cover all the possible
arrangements would fill this entire magazine.
Consequently, a Windows software program
115VAC 230VAC
was created to calculate both the component
values and their placement on the PCB. A
screendump of the program in action is
15VAC 15VAC shown in Figure 1. Elektor’s Tube Crossover
Designer program may be downloaded from
this month’s Free Downloads page at
www.elektor-electronics.co.uk. The file
15VAC 15VAC number is 020297-11.
The program covers fourteen basic filter
020297- 13 configurations, which by cascading PCBs
easily doubles the possible crossover config-
Figure 3. Mains transformer wiring for 115 VAC mains (Figure 3a) and 230 VAC urations. Unlike many electrical engineering
mains (Figure 3b). The mains frequency (60 Hz or 50 Hz) is immaterial. programs, it is easy to use: just key in the
* * *
1/8 A
The Signal IF-30-30 and IF-30-230
100k
B+ mains transformers used by the
65 2W
10k
G
150µF 1.5µF
primaries, allowing use in countries
* = .01µF/630VDC 250VDC 250VDC that use either 115 VAC and 230
B-
VAC. Figure 3a shows the layout for
Bridge 1/8 A 115 VAC; Figure 3b, the layout for
Rectifier
15vac
1 2W
H+
+
+
H-
B+
AC in
+
B-
0200324 - 15
H+
+
.1µF
4.7µF
Signal
IF-30-30
+
H-
1
B+
100k
.1µF
AC in
10k
1.5µF
F +
.01µF
.01µF
.01µF
G
IF-30-230
D1 D1
Signal
+
1.5µF
.01µF
.01µF
65
F
D1 D1
B-
0200324 - 16
Internet Addresses:
[1] Digit-life.com:
www.digit-life.com/articles/
mobileaccumulators/
[2] PowerPulse.Net:
www.powerpulse.net/powerpulse/archive/
aa_040201b3.stm
[3] Cadex: www.cadex.com
[4] Batteries in a portable world:
www.buchmann.ca/default.asp
[5] Li-ion characteristics:
www.buchmann.ca/Article9-page3.asp
[6] LG:
http://battery.rnd.lgchem.co.kr/english/file/
LG_Li-ion.pdf
[7] NASDA:
www.nasda.go.jp/lib/nasda-news/2002/
09/front_line_e.html
ible shape, is applied in, among oth- Apparently, it is irrelevant if the bat- After about two years, this process has pro-
ers, PDAs. tery is actually used or not. Accord- gressed to the stage where the batteries
All of these battery types have ing to these reports, a Li-Ion battery often fail altogether.
their own advantages and disadvan- has only half the nominal capacity Little or no information on this subject may
tages. A good overview of their char- after a year or two. According to the be found with the manufacturers. After some
acteristics may be found at the testers, the industry assumes that searching, we came across a datasheet from
Digit-life.com website [1]. laptop PCs and GSMs have an eco- LG [6] about their Li-Ion batteries. A graph is
If we are to believe the results of nomic life cycle of just two years in shown indicating that after 6 months of shelf
tests carried out by consumer organ- any case. This is also said to apply to storage the capacity of a Li-Ion battery
isations in different countries, mod- new batteries for GSM phones or degrades to about 90% of its initial value, and
ern NiCd and NiMH batteries differ laptops. After all, a battery that has not owing to self-discharging! These figures
only marginally in performance. The been left in storage for a number of apply at an ambient temperature of 20 °C —
infamous memory effect associated years may already have lost a part of at higher temperatures the same decrease
with NiCd batteries has practically its capacity although the full price is occurs much sooner.
disappeared. And yet, some tests charged for it! Most manufacturers Unfortunately all our searching produced
found on the Internet still claim the remain silent about this alleged just one serious test mentioning this phe-
opposite and as always it is hard to characteristic of their Li-Ion batter- nomenon. The other sites only refer to it and
tell who is right in such cases. The ies and usually do not print a pro- have not done any testing themselves. Our
characteristics may be specific to duction date on their product. impression is that the ageing effect is depen-
certain brands or types, but in gen- On the Internet, several websites dent on the chemical composition of the bat-
eral these battery types can now be may be found covering the above tery, and will therefore differ from brand to
said to have similar characteristics. mentioned effect, for example, the brand. Besides, the technology behind Li-Ion
Li-Ion is often considered the article Choosing a Battery that Will batteries is being improved all the time, so
ideal battery for mobile and portable Last on PowerPulse.net [2]. Most the latest types may be expected to be much
equipment: lots of capacity at small other information we came across on better than the ones manufactured a few
size, little self discharging and a low the Internet is based on research years ago.
internal resistance. On the down and articles by Isidor Buchmann of As an aside, it is worth mentioning that
side, Li-Ion is critical in respect of the Canadian firm Cadex [3]. Cadex space agencies and manufacturers of electri-
charging. Thanks to all kinds of is a manufacturer of, among others, cally powered cars are busy researching the
smart chemical links in these batter- battery analysers. Buchmann also application of large Li-Ion batteries. Espe-
ies, the otherwise very explosive runs his own website called Batter- cially with satellites, life expectancy of the
Lithium is constrained. Unfortu- ies in a portable world [4], which battery is a major issue! Up there, a battery
nately, the excellent reputation of Li- contains some interesting articles on is expected to last 10 years or longer without
ion has suffered somewhat by a battery-related subjects. For any degradation in quality. A nice example of
number of articles in German com- instance, a description of the char- this may be found at the NASDA website [7].
puter magazines, their research indi- acteristics of Li-Ion batteries is ren- Maybe the Li-Ion battery is not as bad as
cating that Li-Ion batteries are dered in [5]. From his research Buch- some would have us believe?
affected by natural ageing caused by mann concludes that Li-Ion cells also (035005-1)
the intrinsic chemical composition. age if they are not actually used.
Parallax Inc. from the USA are known the world over for their BASIC
Stamps, a series of microcontroller modules that can be programmed in
BASIC. The youngest member of the family not only offers more memory
than its predecessors, it also talks a different language: Java!
Features
Just as its predecessors, the Javelin
Rocklin (CA) based Parallax Inc. has into a product called Basic Stamp, Stamp consists of a miniature PCB
acquired name and fame with their Stamp a small module containing a PIC with the footprint of a 24-way DIP
microcontroller modules (The Editor remem- running a BASIC interpreter, some case (see introductory photograph).
bers when they were a garden-shed com- memory, a voltage regulator and a It is pin compatible with the BASIC
pany). The basic idea they had was simple resonator to furnish the microcon- Stamp and may be plugged onto any
and effective: launch a microcontroller prod- troller clock signal. A we write this BASIC Stamp board having a 24-pin
uct that’s easy to program and apply, allow- the Parallax company have been in socket.
ing relatively inexperienced users to business for 15 years, shipping, In addition to the Javelin Stamp
quickly develop an application without directly and via their distributor module proper, Parallax also supply
deep knowledge of the dreaded phenome- network, impressive numbers of a dedicated starter kit (Figure 1),
non called assembly code. The idea evolved BASIC Stamps, not only to profes- which consists of a Javelin module,
A Java dialect The two programs in Listing 1 A as intended for the BASIC Stamp — ‘B’
The Javelin Stamp employs a subset illustrate some of the differences shows the Java Stamp equivalent.
of Java 1.2 as developed by Sun Sys- between practical Java Stamp and
tems. It contains firmware exten- BASIC Stamp programming. Both
sions (known as Virtual Peripherals, programs cause an LED to flash as PC software
VPs) that emulate hardware like long as a certain key is pressed. At the PC side, the user has available an inte-
UARTs, timers, A/D and D/A con- Most of you will recognize program grated Design Environment (IDE) containing
verters, and so on. Using these VPs,
interfacing the Stamp to peripheral
equipment is straightforward.
Although the VPs cause the devel-
opment of a Javelin Stamp program
to deviate from that of a Java pro-
gram for the PC, all it takes is a little
getting used to, practicing and
experimenting — just the kind of
thing many of our readers will have
no objection to.
The following VPs are available:
UART, PWM, 32-bit timer, pulse
counter, pulsewidth measurement,
pulse generation, 1-bit DAC, sigma-
delta DAC, ADC with RC timer and
SPI master.
BASIC programmers will need to
‘think differently’, though, because
programming in Java is a totally dif-
ferent kettle of fish not vaguely
resembling BASIC. Fortunately, the
extensive manual supplied with the
Javelin Stamp supplies a fair num-
ber of example programs to make
the migration to Java as painless as Figure 2. The development platform for the javelin Stamp contains an extensive editor and
possible. debugger.
Listing 1
A. LED flasher with pushbutton control, BASIC Stamp version
while(true) {
if (CPU.readPin(CPU.pins[1]) == false) { // If button pressed
P0 = !P0; // Negate P0
CPU.writePin(CPU.pins[0],P0); // LED [On]
CPU.delay(1000);
} // end if
else {
CPU.writePin(CPU.pins[0],true); // LED [Off]
} // end else
} // end while
} // end main
} // end class declaration
an extensive editor, debugger and a Message Javelin Stamp. The whereabouts of Parallax distributor for the UK
window (Figure 2). The debugger is marked this information is also unchanged
by the following features: — you’ll find it all on the Parallax Milford Instruments Ltd., Leeds.
– multiple breakpoint allowed website. All documentation and PC Tel. (+44) (0)1977 683665,
– stack backtrace software is always available in the fax (+44) (0)1977 681465.
– variables and objects checking latest versions. The website also Email: sales@milinst.com
– single-step, run, stop, reset hosts an extensive Java library as Website: www.milinst.com
– inbuilt bi-directional serial well as a page with applications.
Message Terminal This page is sure to grow in content
as an increasing number of pro-
Online help is available, giving access to grammers get their teeth in the
extensive documentation on the library Javelin Stamp. A separate forum is
classes and some weblinks to Parallax. available on the website for users to
exchange ideas and practicalities.
(020355-1)
Websites:
Support www.parallaxinc.com
Just as with the BASIC Stamp series, a vast www.javelinstamp.com
resource of information is available on the
Programming
AVR Microprocessors
easy with BASCOM AVR
By Mark Alberts
This article shows that working with microprocessors has become very
straightforward these days. Thanks to the AVR-microprocessor and the
well-known BASIC programming language success is assured.
There are several different AVR-microproces- There are two available ports: all pins in one go.
sors available. The AT90S2313 is an inexpen- PORTB and PORTD Most of the pins also have an
sive 20-pin version with 2 kB of flashable Internal memory: 128 bytes alternate function. The alternate
code memory. Flash memory is the area EEPROM memory: 128 bytes function is shown in brackets. (INT0)
where the program is stored. The main Flash program memory: 2 kBytes PD2 means: the pin name is
advantage of this type of memory is that it PORTD.2 and the alternate function
can be reprogrammed a thousand times. An A noticeable feature is that 15 of the is INT0. For the purpose of this arti-
even bigger advantage is that you do not 20 pins have been used for IO ports. cle we will limit ourselves to the nor-
have to bother with special programmers or It is these pins that provide the mea- mal functionality of the pins.
UV erasers — a simple cable connected to surement and control capabilities of
the LPT (parallel printer) port of your PC is all the processor. The ports normally
you need to program a flashable micro. consist of 8 pins (bits) each. How- Working with BASCOM
ever, pin PD7 on the 90S2313 is not AVR
actually connected to a physical Before we can actually get started,
The 90S2313 external pin. we first have to install the program-
First, let’s have a look at the most important Any pin can function as an input ming software. The software is
characteristics of the 90S2313 (Figure 1): or an output. If the pin is functioning called BASCOM-AVR (BASIC COM-
as an output, it can be assigned a PILER) and can be found on the
logic level of ‘0’ or ‘1’. The processor Elektor Electronics 2002 Freeware-
can do this for each pin individually, CD-ROM. Alternatively, download
PDIP / SOIC but it is also possible to address the files from the MCS Electronics
them as a group. Pins PD0 to PD6 web site at
RESET 1 20 VCC together form the group called www.mcselec.com/elektor.htm
(RXD) PD0 2 19 PB7 (SCK) PORTD. By assigning a value to where you can read which files you
(TXD) PD1 3 18 PB6 (MISO) PORTD we can change the value of need to download, as well as find
XTAL2 4 17 PB5 (MOSI)
XTAL1 5 16 PB4
(INT0) PD2
(INT1) PD3
6
7
15
14
PB3 (OC1)
PB2 Listing 1
(T0) PD4 8 13 PB1 (AIN1) CONFIG PORTB = OUTPUT ‘ use port B pins as output pins
(T1) PD5 9 12 PB0 (AIN0) PORTB.0 = 1 ‘ pull pin PORTB.0 high
GND 10 11 PB8 (ICP) PORTB.0 = 0 ‘ pull pin PORTB.0 low again
020172 - 11 PORTB = 255 ‘ pull all pins high
PORTB = &B10101010 ‘ make pins 1,3,5 and 7 high
Figure 1. The connection details of the END
90S2313.
Note:
The author of this article, Mark Alberts, is the
designer of the BASCOM compilers for the 8051
and AVR-processors. More information can be
found by visiting his website at Figure 3. The hardware simulator consists of an LCD section with below it the
www.mcselec.com. input and output levels of the two ports.
Test example
The schematic shown here
may be used to check vari-
ous things.
Using the LPT connector,
the so-called Sample Elec- R1
2
that it is best to connect 15
3
20
IC2 IC3
nected to VCC via a resis- 10µ 3
C1– K1
25V 12 13 7805T +5V
tor. It is also possible to 9
R1OUT R1IN
8
1
6
R2OUT R2IN K3
drive relays with the ULN 11
T1IN T1OUT
14
2
7
3
if the power supply to this 10
T2IN T2OUT
7
4
8
4 C10 9
IC is connected to 12 V. C5 C2+
10µ
5 C8 C9
MAX232
The only purpose of this 10µ 5
C2–
15 25V
100µ 10µ
schematic is to provide a 25V V- 25V 16V
6
straightforward example. C6
The Winners
First Prize: £300 in cash (approx. €500)
Chess computer ‘Deep Evelyn’ by Pedram Azad and Tilo Gockel (Germany)
The competition entries proved French, English and German), to to add that the designers replaced the original
beyond doubt that Elektor Electron- which was added the head of our in- 89S8252 micro with the pin-compatible 89S53
ics readers are downright power house design department. After all, which has more memory (12 kBytes). This was
users of the 89S8252 Flash Micro an international competition requires deemed acceptable by the Jury because the
Board published in the December an international Jury! hardware change does not require ‘major
2001 issue. The proof was in the Having scrutinized the competition surgery’ on the Flash board.
results of our Flash Design Competi- entries and added up the individual We congratulate the winners with their
tion which did not fail to attract a scores given to each project by the prize of £300 (approx. €500) in cash and will
number of well-designed circuits and Jury menbers, it became evident that not fail to prepare the chess computer design
excellent software. Most participants the Jury was unanimous in awarding for publication in a future issue of Elektor
managed (some in the nick of time) to the First Prize to Pedram Azad and Electronics. Unfortunately none of the entries
include extensive descriptions and Tilo Gockel of Germany for their Chess received from readers of the English edition
sometimes even photographs of their Computer design called Deep Evelyn. of Elektor made it into the prize region.
projects, all clearly aiming to impress This computer comprises a Flash Besides the chess computer, several other
the Jury and provide as much infor- board, an LCD, a keyboard and soft- competition entries were found worthy of
mation as possible on the project. ware turning it all into a powerful publication, so watch the next six or so issues
The Jury consisted of the editors chess computer. Remarkably, all soft- of this magazine for more designs based on
of the four (main) language editions ware is contained in the microcon- the highly popular Flash Micro Board!
in which Elektor is produced (Dutch, troller. At this point we should hasten (035036-1)