Silicon Chip 11 PDF
Silicon Chip 11 PDF
Silicon Chip 11 PDF
ISSN 1030-2662
1111111111111 "
9 I
I 71030 1 66001
PRINT POST APPROVED
- PP255003/01272
$8 ,~~; NZ$1JG
?rO
/"
~~
~~~~ ~
FO'fL·.:omfo,"t<'aiid
vibration minimisation:
. -~-- ~ -'~-:"~ .': .":- ' ·pili~~ -. . -.:'~<.:~:<.~" ~:' ~- "'-~: ;: '/~- ~:- '
~~~~~;, ." .:-,est~n·.g ,H·D·.• i~g_·arj~~
" c·- Milli·rlg~ ~P·C ~]:I:o!l'·ds:. ~--
~· ~New .!I~X2;' - 11caxes
-·~l;F'st: CJocli~:u.·D:Clat·e:, ~~-
". - .-' - - •• -0 " .0· .. . '
12 Review: Quantumdata 780 HDMI Tester
It tests HDMI cables, generates test patterns and provides digital audio test
signals for DACs and home-theatre receivers - by Leo Simpson
46 Circuit Notebook
(1) Solar-Powered Garden Lighting System; (2) Relay Switcher For Testing
Diodes & Transistors; (3) Power Supply With Balanced Rails; (4) Modulated
Oscillator For AM Radio Alignment; (5) RIAA Valve Preamplifier
76 Serviceman's Log
Unforeseen consequences for e-waste charges - by the Serviceman
[35tO
.01~PCBCORE
l
Mailbag: continued
L_~
~~[K;{P
ing, especially his investigations to solder; the original connections
into their bandwidth and rise time. are crimped.
Having been fortunate enough to There is a small-value resistor
have owned two Tektronix oscillo- connecting the inner sleeve to the
Ir ototype tllru scopes, a 535 and currently a 2213, inner of the coax; the value depends
•
Iro'(uction I am famili ar with the earlier Tek
probes .
on the length of the cable. The resis-
tor is 360Q for the 3.5-foot, 180Q for
• 1-layer up to lO-layer The manual for the 535 included the 6-foot, 430Q for the 9-foot and
• Cost and quality information on the Tek 6000 - 6005 360Q for the 12-foot cables. There is
series probes. The probes came with a small inductor added at the BNC
• On time delivery end for the 9-foot cable according
a 3.5, 6, 9 or 12-foot cable and were
• Dedicated service available in 1:1 , 10:1 and 100:1 ra- to the probe manual but I suspect is
• Instant On line Quote & Order tios. I don't have any data apart from also there for the 12-foot cable.
••••••••••• Day and Night input capacitance and the -1.2dB The quoted rise-time for the 6006
bandwidth. But I do have details of probes without connection to a CRO
One piece orders are welcome! the 6006, 6007, 6015 & 6018 probes. is approximately 5ns for 3.5-foot; 7ns
Check our low price and save big $$$ The 6006 probe had the com- for 6-foot and 9-foot and 14ns for the
pensating capacitor in the tip as 12-foot cable. Plugged into a type-K
web: www.cbcore.com a cylindrical capacitor [like the plug-in (20pF input capacitance) in
email: sales@pcbcore.com Philip's beehive type] which went a 540 series CRO (12ns). rise-time is
over the 9MQ resistor. Adjustment is 13, 14, 14 & 18ns, respectively. The
phone: 86(571)86795686 by screwing the probe tip in or out, quoted -3dB bandwidth is 25MHz
to alter the overlap with a smaller for the 6-foot and 9-foot and 12MHz
diameter sleeve which is connected for the 12-foot cable.
no Mega
on the AT- such BIOS voltage readings are only clear simple terms. This is an excellent
280. It has 54 accurate to within 1 % (worst case). So example of one of the reasons why
I inpuUoutput a BIOS reading of 5.2V will actually be you are a world-class journal for the
16 analog in- somewhere in the range from 5.14BV technically-minded enthusiast.
,4 UARTs
to 5.252V. Whilst I probably won't end up
rdware serial
), a 16 MHz If you want a precision reference, building this project (though tempted)
I oscillator, a USB connection & the AD588 10.000V circuit described I look forward to the second article
jack. $77.90+GST in the May 2009 issue is the ideal which no doubt will be as equally
solution. lucid.
Gary Johnston,
Wideband 02 sensor Managing Director,
project lauded Jaycar Electronics,
I want to congratulate John Clarke Rydalmere, NSW.
and the editors of SILICON CHIP on the
writing, layout and overall construc- Piston motion is
tion of Pt.1 of this article, in the Sep- not sinusoidal
tember 2009 issue. You may not realise On page 97 of the October 2009
it but you have done an extraordinary issue , you advised a reader that
job of presenting a complex subject in "maximum piston speed in an engine
base? At the 3 o'clock and 9 o'clock conrod to lean 14.47° from vertical and http://wbo2.com/diy
Tech Edge Pty. Ltd. (02) 6251 5519
-wC?
help the questioner by offering any to provide approximately the same
help in overcoming the problem, operational current (10mA) from
except by suggesting increasing the the Australian 230V supply, the two
circuit breaker rating. parallel 22kQ 1W resistors at the
Since the problem is the "surge" input to the bridge rectifier MUST
currents into 10 capacitors, one ob- be replaced by five parallel 120kQ
vious solution is the rewiring ofthe 1W resistors. This will give a total
fitting into two groups of five lamps dissipation of 2.4 W when the circuit POWER
each and providing an additional is in operation.
switch and associated wiring, so Since a motor is not involved, rICommunity Ra
that the fitting is switched on by Tl, ICl and most of the associated rIsat8lllte roadcast
two switches. components in this circuit may be rICOIII! unltl_
Secondly, while these lamps are eliminated. R8 , C4, Q6, D5 and the rI.slan
not "dimmable", it would also be 24kn resistor should be retained , rY In
possible to wire the fitting via a with C3 and R7 in series and junc-
"dimmer", as long as the circuit tioning with D5 reversed , with C3
connected to the 12V supply and
FM: 1 to 250W
was always switched on with the
"dimmer" in its minimum position R7 connected to "earth". Thus, Q4 TV: 0.5 to 20W
- so that the "dimmer" is used as will delay the circuit from operat-
a "brightener". Using a "dimmer"
in this fashion with CFLs results
ing until both Cl and C3 have been
charged. . '(£ lt~~ A '
in no lighting for about 25% of the The MOV, capacitor and resistor ,~..!. efrmPCleT ffiC3
across the output Triac could also ...:. "'" 1'1"1 POWaA
"brightener's" action , followed by ~f~fono-87 10&1o.OtV _'~Com.CIU
mer" is left at its maximum position, as part of the permanent wiring of - ! t I I M!.
when the circuit is switched on, the the building which you may not . 0000.
circuit breaker will operate. wish to advocate.
This leads to a solution to this Peter B. Taylor, •
"
N_·,-II"~
"., ~ ~
~-
_
-- .
...
•
device, such as a "soft-start" control pointing out that we did not offer a
circuit in series with the load.
While "soft-start" circuits are
solution. Our feeling was that there
was no easy solution. However, an
. -- .
~ -I
usually employed in association electrician has written in to point -'
with motor controls they can also out that the solution is to fit a circuit - ' -
be used to control the surge into breaker with a longer response time
capacitors, as in this case. Unfor- - a type D. His letter was featured
tunately, I have not been able to in the October 2009 issue.
locate a commercially-made and We don't think your suggested
approved unit of this nature, al- solution will work since it is based
though it should be little more dif- on a Triac. Triacs do not "like"
ficult to manufacture than currently capacitive loads and they can be
available "dimmers". Perhaps a damaged by large repetitive switch-
manufacturer could be encouraged on currents. Furthermore, CFLs tend
to produce such a unit. to flicker with Triac dimmer circuits PO Box 578, Creenwood WA 6924
In the absence of a commercially even though some CFLs are specifi- Ph: 08 94481995 Fax: 08 9448 8140
available unit, a small amount of cally designed to be dimmed. se email: sales@rfpower.com.au
WWW.rfDoWer.Com.au
siliconchip. com.au NOlfEiVIBER 2009 11
t-· - r- -
I;
- -d',
aL a (j~ :
-
I ./-( - ' ...... '\.,
__lil . __
I
i -- ,_-~
. . _.
I i
. .... . .....- -\ =--
e.te, \
I 1
Lp~ an~ plfIfma TV set~, set top boxes, DVD pl-ayers and
·-·~~·omp~ters, there 1S a need for a standqrd HJJM~st-~
. sour~lhat c~!1d test this equipme-n~. 'Fhe-Qtll~ntu~da1a- .
1( /?86:Hflndhie ld Test-Instrument is a comprelWnsive-spll)lion \;
;- ~whyh:a~so' provides. digital all, dio test ~igh~ls for D4 CS and i
I\,\ ~om'; Theatre-rece1vers~ - -- - : .-J ~ \_'=_'' .L'I ..l . '0"" . -' ____
ere at SILICON CHIP we have TV or projector and seeing if it works. (W x H x D). It is battery-powered with
Output
IOffiro;;;;;l1rsPoiFllHDMiI
Rit... Per Channel
!161 r-20ii241
Sample Ratn
These three pictures shows some of the audio test screens which control digital signals delivered via the TOSLINK
(optical), SPDIF (coaxial) or HDMI outputs.
12 SILICON CHIP www.siliconchip.com.au
"
All functions of the Quantum Data tester and selected and controlled via the touch screen. The unit can test all products
which use HDMI connectors.
opposite panel is a socket for an SD If you are testing an LeD TV for Another screen gives a choice of
card. example, you would touch the Video checkerboard, zone plate, and master
When you first turn it on , the Quan- Pattern and it comes up with another test patterns at 720 x 480, 1280 x 720
tum Data tester displays a home screen screen of 15 patterns. These include and 1920 x 1080 pixels, in progressive
which gives four small patterns depict- colour bars, ramp/stair, raster, needles or interlace mode.
ing video or audio patterns , Test Sink (white needle/black background etcl, In addition, quite a few of the pat-
(TV, projector) and Test Source (DVD decoder adjust , convergence, pluge tern selections have a plus symbol in
player or STB). (black & white) and so on. them. Double-tapping these brings up
... Formal Analyzer
HDMI cables can be tested to the V1.3 standard at 8 bits and 12 bits. To the right is a report on a HD monitor tested via the
HDMI output.
www.siliconchip.com.au NOVEMBER 2009 13
Our photo and the printing process do not show the extreme resolution demonstrated by the 1920 x 1080 pixel test pattern.
This standard BENQ monitor came through with flying colours.
another screen which enables you to a HDMI to DVI adaptor (not supplied) DDC: PASS.
change the pattern parameters. while LCD monitors with component We ran the tests for a number of
For example, on the colour bar pat- video inputs can be tested with a VGA cables, including a 15m cable, and
terns, you can set colour saturation, to three RCA plug adaptor (which is they all passed.
you can have vertical or horizontal supplied).
bars, change the number of bars (7 or Source tests
8), and so on . For the raster pattern Cable test For testing a DVD player or set top
you have can have Red , Green, Blue, For HDMI cable testing, you plug the box, you plug the HDMI cable from
Cyan , Magenta, Yellow or white, with cable into the HDMI input and output the player into the input socket on the
or without an IRE label, you can set sockets and press the start button. It Quantum Data, tap the "Test Source"
the IRE level and you can have a full runs the test and then displays the screen on the home screen and then
raster or a window. Similarly, for the results as: tap the "Analyser" screen button. It
master test patterns, you can select +5V: pass then displays a comprehensive report
HDMI or DVI, VGA (analog) outputs 1080p (12 bits) 0 errors of the signal output such as the signal
and for VGA you can have RGB or 1080p (8 bits) 0 errors format (eg, 730 x 576), frame rate,
compon ent video. 720p (8 bits) 0 errors progressive scan enabled, color space
DVI equipment must be tested with Hot plug: PASS (YcbCr 4:4:4) and so on. You can also
Left is another test screen from the Quantum Data 780 tester. The centre pic is one of the screens for selecting video test
patterns, while at right is he home selection screen on the Quantum Data 780.
14 SILICON CHIP www.siliconchip.com.au
What is
HDMI?
HDMI
stands for
High-Definiti on
Multimedia Interface.
It is essentially a standard which pro-
vides, in asingle cable, an uncompressed,
all-digital audiolvideo inte rface between
any HDMI-eq uipped aud iolvideo source,
such as a set-top box, DVD player or AN
receiver and an audio and/or video moni-
tor, such as adigital television (DTV) , video
projector, etc.
HDMI has also started to earn wide ac-
ceptance as the interface between personal
com puters and AN systems, particularly
in home theatre.
Because HDMI is digital, it offers the
best video quality, as there are no lossy
analog-to-digital conversions as are re-
quired for all analog connections (such as
component or S-vid eo). The difference is
especially noticeableat higher resolutions
such as 10aOp. Digital video eliminates
the softness and ghosting someti mes
found with component video. Small, high
Front and rear photos of the Quantum Data. The analog output enables testing contrast details such as text bring this
of monitors with RGB or component video inputs.
difference out the most.
HDMI supports standard, enhanced or
run the Audio Analyser and it will Audio Pattern screen. You then tap high-definition video, plus multi-channel
give a comprehensive report on the the optical, SPDIF or HDMI button digital audio on aSingle cable. It transmits
digital data. and the Signal Type: Dolby 5.1, Dolby all ATSC HDTV standards and supports
7.1, DTS-ES 6.1, DTS-HD HRA orPCM a-channel, 192kHz, uncompressed digital
Sink tests Sine Wave. You then go into the next audi o and all currently-available com-
To test HDMI monitors, you tap the menu level to set up the tests. We ran pressed formats (such as Dolby Digital
"Test Sink" screen and you are pre- the SILICON CHIP DAC through the and DTS).
sented with a choice of three buttons; PCM Sine Wave tests and could select HDMI has become thedefacto standard
EDID test, HDCP test and CEC test. the sample, the bits per sample (16 , 20 digital interface for HO and th e consumer
Tapping the EDID button gives you or 24), the output channel, sinewave electronics market. More than 700 com-
another three screen buttons: Read, frequency, amplitude (level) and so on. pan ies have become adopters, with a
Copy to Rx and Reset Rx. Tapping the Clearly, this is a very complex and forecast of nearly onebillion HDMI devices
Read button runs a test which includes capable instrument and in the few days installed by 2010. HD MI is the on ly inter-
identifying the make and product ID that we had it we were just not able to face enabling connections to both HDTVs
of the monitor (TV, projector etc), its come to grips with its full capabilities and digital PC mon itors implementing the
serial number, date of manufacture, and nor did we have the necessary DVI and HDMI stan dards.
and native timing , eg, 1920 x 1200 detailed information on all the test
59.95Hz. Incredible, although not all parameters. For example, we did not
this info agreed with that printed on know what to expect in the quali tati ve
the nameplate. The data can then be results of the digital audio tests. Nor
copied to the receiver port and down- did we have sufficient info to interpret
loaded to a PC via the USB port. the high definition test patterns. Over-
all though, we were most impressed.
Audio tests For further information on price and
For audio tests, such as testing availability of the Quantum Data 780
a DAC (such as the high quality Handheld Test Instrument, contact
DAC project in the current issues of Tekmark Australia Pty Lt, Suite 302,
SILICON CHIP) or a Home Theatre Level 3, 18-20 Orion Road, Lane Cove,
receiver, you connect an optical, SP- NSW 2066. Phone 1300 811355 ; web- The HDMI standard. For more
DIF or HDMI cable and then select the site www.tekmark.net.au se information, visit www.HDMI.org
here are several options when it be disposed of properly. However, the usually able to produce the file which
CopperCAM Part of a PC board milled with the Roland EGX-350 CNC Desktop Engraver - one
of many boards we produced. It looks a liHle different to conventionally etched
Using CopperCAM, you can import PC boards because the cuts between tracks actually go a few thou into the base.
the Gerber plots and the Excellon drill
file. You select the layer and compute measured in metres, and therefore it can select one drill bit for all holes - ir-
the contour paths . depends on the complexity of the PC respective of the hole sizes embedded
. The drilling coordinates are aligned boards being milled as to how many in the drill file. This is a good option to
to the copper tracks by selecting a such boards can be made with the minimise the number of tool changes .
reference pad on both. You then select same tool bit. which is time consuming and delicate,
'adjust to reference pad' to align the as the Z depth needs to be set every
two 'layers'. Setting the Z depth time a tool is changed.
Setting the reference Z depth is If you do not wish to use different
Tools particularly important for milling PC tool bits for differently sized holes ,
You can maintain a tool library boards. The reference Z depth will CopperCAM also has an option to use
for the different tools under Copper- affect how deep the cut is made into a single drill bit to make different hole
CAM. As a minimum, you will need the copper, because the depth set in sizes by circular boring. This is where
an engraving bit and a drill bit. Each CopperCAM is relative to the reference the machine makes the hole by moving
tool will have its own plunge speed depth (which is the point of contact the head around the centre of the hole.
and depth. between tool bit and board). However, this can lead to many
The top speed of the machine is The uniformity of the Z depth is broken drill bits if not set up properly
quite fast (see the specifications). But especially important for those boards and is obviously harsher on the drill
the milling speed affects the quality wi th fine tracks of the order of 15 thou or bits. In any case, for many PC boards .
of the cut: too fast and there will be so (this was the smallest track we were the best way is to use a single drill
noticeable burring of the edges along able to route consistently in our testing). bit for all holes and enlarge the holes
the cut and you may also damage the You can purchase accessories for manually as the need arises.
tool bit. Too slow a speed may well this machine including a vacuum This is the method we preferred.
mean a slowly-made board. table and a T-slot table that may help using a single O.7mm drill bit. Most
Different materials and tools have in achieving this uniformity. But we standard components such as resis-
natural milling speeds that are ad- found that we could get quite good tors, capacitors, transistors, diodes
equate for that application. For making results simply by attaching the board and integrated circuits will usually
PC boards, Intellecta recommended to the supplied base using double- fit through this size hole. Larger hole
using paper phenolic PC boards, sided tape. sizes, like those for TO-220 packages
as these are softer than the typical can then be drilled manually using a
fibreglass board, and therefore more Tool Changes drill press.
forgiving on the engraving bit. Unlike more expensive milling ma-
The engraving bit is made from chines with automatic tool changers, Isolation Rub-outs
tungsten carbide, "vhich is a very tool (bit) change is manual. While au- The quickest way to engrave the
hard composite but is expensive. The tomatic changers are convenient, they PC board is if the software creates
tools will wear out over time and they add substantial cost and are not strictly a minimum isolation path around
should be reasonably sharp to obtain necessary, especially for prototyping tracks - in other words. it leaves as
a clean cut - especially if many thin PC boards. much "dead copper" (copper which
tracks, of the order of 15 thou, are on CopperCAM allows you to mill each is not connected to the circuit) on the
the PC board. layer separately, then the engraving bit board as possible.
It is also possible for the tool bit to can be changed to a drill bit and the There may be legitimate reasons
break in the middle of an engraving holes drilled. for removing the 'dead' copper, how-
job - the costs of tool replacement ever, such as electricaL considerations.
can quickly accumulate but experi- Drilling the Holes ground planes, inter-track capacitance
ence to some extent circumvents this. Drilling is particularly easy, with or perhaps simply to make assembly
The guaranteed life of the tool bit is various options in CopperCAM. You easier.
eMAIL (2417) FAX (24!7l PAYPAL (2417) PHONE· (9-5, MOn·Fri) MAIL
slllcon@siltconchip conLau DB ThiS form (or a photocopy) to DB Use PayPaf to pay DB Call (02) 9939 3295 With DB ThiS form to PO Box 139
With order &credit card details (02) 9939 2648 With all details sllicon@slliconchlp.com. au your credit card details Collaroy NSW 2097
WrB~~
output of the microcontroller. It simply
•
.
resets the internal logic of the ethernet
. . --_!!"-
Pl61T£t:t4 controller (IC2) when required.
Note that there are two other lines
~EK> • '" ~
~~.... ~ -~ ...
on IC2 which are unused: CKO and
INT-bar.
CKO (pin 3) is a clock out line
and this delivers a square-wave
SDHC Card Reader whose frequency is related to
IC2's system clock (in turn de-
rived from the 25MHz crystal). This
frequency can be configured via IC2's
registers (it can be used to provide the
To TRANSFER files from a PC to
the memory card, you may need a
low-cost SD/SDHC/MMC-card reader. available from Jaycar (Cat. XC-4849).
clock for a microcontroller for exam-
ple) but is not used here as ICl has
The one shown at left is available from They are simply connected to a PC its own crystal (Xl). This was done to
Jaycar for less than $10 (Cat No: XC- via a USB port. allow the microcontroller to run at its
4756), while the unit at right reads all Suitable memory card readers are highest rated clock frequency.
sorts of memory cards and is also also available from Altronics. The other unused line (pin 4) is the
interrupt line. This can be used to
interrupt the micracontroller under
certain circumstances but again is not
address (it is an EEPROM chip after The resistor values are chosen to be used here.
all). However, the chip has a write close enough to match the character-
protect feature that can be enabled istic impedance of the 10BaseT (eth- Memory card
on a 64-byte block basis and the last ernet) cable, which is 100.0. Similarly, As mentioned above, the memory
such block, which contains the MAC reception occurs on the R+ (pin 13) card is accessed in SPI mode and this
address, is protected by default. and R- (pin 12) pins of IC2. is done via the SO card socket (CON4).
In any case, the current version of The ethernet controller (IC2) re- This allows microcontroller ICl to
the firm ware does not write to the quires some passive components to read from and write to the memory
EEPROM and only reads from it. Pin complete the physicalethernet link (ie, card.
3 (WP-bar) is the write protect pin and to transmit and receive data), includ- MMC/SO/SOHC cards can be ac-
this prevents writing to the EEPROM ing two transformers. These transform- cessed either in native mode or in SPI
when low. In our case, however, it has ers plus, four 75.0 resistors and a lnF mode. The advantage of the SPI mode
been tied high to allow it to be written capacitor, are all part ofRJ45 connector is that any off-the-shelf microcon-
to if there is a future firmware upgrade. CON2 and provide electrical isolation traIler that has an SPI peripheral can
Pin 7 (HLD-bar) is the hold pin and from the network. In addition, the RJ45 be used, making the hardware layer
this pauses the SPI interface logic connector contains two LEDs, one easy to implement. The interface with
inside IC3 if it is low. This feature is green and the other yellow. SPI is also simpler but the penalty is
used in SPI bus sharing situations but According to the datasheet for the slower transfer speeds. However, SPI
has been disabled here by tying pin 7 ENC28J60 (IC2), a 2.32kn resistor from speeds are quite adequate for serving
high. Instead, we rely on the firmware pin 14 (RBIAS) to ground is required to web pages.
in ICl to provide proper arbitration set the signal amplitude on the trans-
between the three SPI devices. mitting pair. This is made up using Inputs & outputs
series 2kn and 330.0 resistors to give Connector CON3 provides access
Ethernet controller 2.33kn, which is near enough. IC2 also to the analog inputs and the dig-
The ethernet controller chip (IC2) requires a 25MHz crystal to operate ital outputs. The four analog inputs
provides the physical and data link correctly and this, together with its two are ANO-AN3 of ICl (pins 2-5) and
layer of the network. As already men- 33pF loading capacitors, is connected these inputs are all protected using
tioned, it is a 10BaseT PHY (physical to pins 23 & 24. 10kn current-limiting resistors. An
layer) running at 10Mbitsls and the Outputs LEDA and LEDB of IC2 A022103 temperature sensor IC (IC4)
data is transmitted on twisted-pair drive the two LEDs in the RJ45 connec- is shown connected to ANO on Fig.2
copper cables terminated in an RJ45 tor. These outputs can be configured but other types of sensors with a linear
connector (the ethernet socket). (using the registers in IC2) to light the 0-3.3V output (or less) can also be used
PlC microcontroller ICl writes to the connector LEDs under various condi- on the analog inputs.
ethernet controller's registers via the tions. In this case, we have chosen The digital outputs are at RB12-
SPI bus which runs at 8MHz. Ethernet to drive the LEOs to conform to the RB15 (pins 23-26) of ICl and toggle
transmissions occur by Manchester usual convention, with the green LED between OV and 3.3V.
encoding on the T + (pin 17) and T- (pin indicating a valid ethernet link and the CON5 allows optional access to the
16) pins of IC2 via two 51.0 resistors. yellow LED indicating data activity. serial (UART) port of ICl. Note that
V. I~
~I Vdd (+3.3V)
I lleil ~ ~ +3 .3V
8
IC4 Vo~ 1 ~.... Z~o
AD221 03 ,m 3 "'1
lfDl: DISK ACCESS
r~H~b' I lfD2: BUNKING ~ NORMAL OPERATION
G~ I~I t: ~I:~ . ,I":~H
4x 10k
TEMPERATURE
13 ~
,:~2~2~ v••
_ _ _ 1-!1~5 SO CARD
SENSOR ---- 11_ SOCKET
(OPTIONAL)
1,--- R84
1:'
~4
DO
CON5 7
Rx
DI
~SCl 2
DNS (Domain Name System): a system whereby domain names can be resolved to IP LED indicators
addresses. Outputs RA4 and RB3 from ICl
are used to drive indicator LEDsl &
DDNS (Dynamic Domain Name System): a system whereby a fixed domain name can be
2. LEDl (green) lights when ever the
associated with a dynamic IP address.
m emory card is accessed (ie, for both
DHCP (Dynamic Host Configuration Protocol): a protocol that allows a DHCP server to reads and writes), while LED2 (orange)
assign an IP address to a DHCP client requesting it. The IP address is handed out on a is on during boot up until all initialis-
limited time lease. ations have been completed. Once
EEPROM (Electrically Erasable Programmable Read-Only Memory): a solid-state non- the web server has initialised, LED2
volatile memory chip that can be written to and erased. blinks on and off to indicate normal
Ethernet: a network standard for the physical and data link layer that determines how data operation.
is transmitted and received from a common medium. When LED2 is blinking, it shows
that the cooperative multitasking
FTP (File Transfer Protocol): a protocol used to transfer files across a network.
main loop is executing, i e, no proc-
Gateway: a network node to which data traffic is directed. It relays this traffic in a way so as ess is blocking operation or taking up
to reach its destination (using routing information). inordinate processor time. At no time
HTTP (HypertextTransfer Protocol): a protocol commonly used to transfer web pages and should the orange LED stop blinking
content from a web server to a browser. during normal operation, otherwise
ICMP (Internet Control Message Protocol): a protocol used to send status and error data packets will be dropped.
messages across the Internet. It is typically used for Ping (Packet Internet Groper).
Clock signals
IP (Internet Protocol): a protocol used for transmitting data packets across a network, Clock signals for the microcontroller
primarily used in the Internet. are derived from an 8MHz crystal (Xl).
IP Address: each device sending or receiving IP packets must have a unique IP address, This is connected between pins 9 &
typically written as four decimal numbers in the range 0-255 (8-bit) and separated by dots. An 10 (OSCl & OSC2), together with two
example IP address is 192.168.0.34. 33pF capacitors which provide the
MAC (Media Access Control): a protocol that implements the data link layer on an ethernet correct loading. Note that ICl runs
network where nodes share a common medium. at its maximum of 40MIPS (millions
instructions per second) - an internal
MAC Address: each device sending or receiving ethernet packets must have a unique MAC
PLL (phase lock loop) stage is used to
address. This is is a 6-by1e address which is often written as six hexadecimal by1es joined by
derive the sy stem clock.
colons, for example: 00:04:A3:21 :09:6C.
Power for the CPU inside ICl is de-
Manchester encoding: a self-clocking method of encoding binary data that relies on edge rived from the main 3.3V rail using an
transistions. internal 2.5V regulator. This requires
Multi-tasking: the ability of a processor to run multiple tasks. a 10IlF tantalum bypass capacitor on
NAT (Network Address Translation): a technique whereby a router can modify address and pin 20. Similarly, a lOIlF bypass ca-
port information in packets to translate from one address space to another. Typically used in pacitor is fitted to pin 1 ofthe ethernet
routers to share a single connection from your ISP among many devices in a home network. controller (IC2). .
Note that ICl 's reset pin (MCLR-bar,
Port Forwarding: a technique used by routers to redirect traffic on a particularTCP or UDP pin 1) is pulled permanently high by
port to a private IP address. a lkn resistor and so is not used here.
Protocol: a set of rules to allow network devices to communicate with each other. Instead, ICl is reset by its internal
SMTP (Simple Mail Transfer Protocol): a protocol used for sending email. power-on res et logic.
SNTP (Simple Network Time Protocol): a protocol used to receive time information from a Power supply
remote time server. The time is returned as a number that represents the number of seconds
Power for the circuit is derived
that have elapsed since the epoch time which is set at 00:00 1 January 1970.
from a 6-9V DC plugpack and this is
Static DHCP: a technique whereby a DHCP server can be made to assign a static IP address applied via reverse polarity protection
to a particular network device (by associating a static IP address with a MAC address). diode D1. The resulting DC rail is then
Subnet Mask: this is in the style of an IP address and is used as a bitwise AND mask to filtered using a 331lF capacitor and fed
determine whether an IP address is in the same network subnet. to an LM317T adjustable 3-terminal
TCP (Transmission Control Protocol): a protocol for transmission of data that is connection regulator (REGl) to derive a +3.3Vrail.
oriented. This +3 .3Vrail then powers ICsl-3 and
the memory card.
TCP/IP (Transmission Control Protocolllnternet Protocol): a family of protocols that allow REGl's output voltage is set by the
network devices to communicate.
divider network on its OUT & AD]
UART (Universal Asynchronous Receiver/Transmitter): a circuit used for serial commun- terminals according to the following
ication between devices. formula:
UDP (User Datagram Protocol): a protocol for transmission of data that is packet oriented. VOUT = 1.25V x (1 + (R21R1))
By using a 11 on resistor for RI and a
Firmware overview
OK, so that's the hardware side of The modules used in the TCP/IP SO (Secure Digital) cards use FLASH
things and it's all fairly straightfor- stack include HTTP, FTP, ICMP, SNTP, memory technology and are available
ward. Most of the features are imple- SMTP, DNS and Dynamic DNS. Only in capacities up to 2GB. SDHC cards
mented in the firm ware , so let's now the limited amount of program memo- are essentially high-capacity SO cards
take a closer look at this. ry on the micro controller prevented us and are available in sizes ranging from
The firmware uses the freely avail- from including further modules such 4GB to 32GB.
able TCPIIP stack from Microchip. as a DHCP client to automatically pick All three types of card can be used
We've customised it and also imple- up an IP address. in this project. Note that while all three
mented some missing features in the Because there's no DHCP client, types look alike, MMC cards have only
minimal stack. the web server is assigned a static IP seven metal contacts whereas SO cards
The stack is based on a cooperative address and this is also necessary for have nine.
multi-tasking model (ie, a lot of tasks port forwarding. However, a DHCP MiniSD and MicroSD cards can
run concurrently) and this has been client working in conjunction with also be used. These are essentially SO
retained. The main program is an in- static DHCP could have been useful cards but are smaller. You will need
finite loop, with finite state machines for incorporating the web server into an external adaptor in order to plug
used to keep track of stack processes an automatically configured network. them into the SO card socket used in
that need attention. In any case, the DHCP server in your the web server.
The other major addition is the router must be configured to reserve
memory card driver and the FATI a static IP address for the WIB . We'll Construction
FAT32 file system that resides on top tell you how to do that next month. Building the WIB is easy with all
of that. The WIB recognises the FAT I parts mounted on a single-sided PC
FAT32 file system which means that MMC/SD/SDHC memory cards board coded 07111091. This board
you should be able to read the memory Either an MMC, SO or SDHC measures 123 x 74mm and is housed
card using any Windows, Mac or Linux memory card can be used in the web inside a plastic utility case.
box (and a card reader). server. MMC (MultiMedia Card) and The only slightly tricky bit is the sur-
~~
33;1,
g Go )
l:l~
~~ --c:mD-
~~ --c:mD- Fig.4 (below): this diagram and the accompanying photos
+V ~~ -<:::> -<:::> show how IC3 and the SD memory card socket are installed .
;
o ~: ~
IC and don't forget to solder the two tabs ofthe memory card
socket adjacent to the edge ofthe board.
•
~
~ ~1~6
lOpf
IC3
(UNDER)
~'4.)
.......
...........
•
•
-=
. . . III
8:[K:~:~=']
•
8MHz
<:!::::D ~ CON5
...........
. ..•
• •
.. ...... •
•
Xl
•
~ 33pF-<:::>
~====:..'-=33~pf
-<:::> LED 1
<:) •
•
• •
~ ~llW;IIIzl • •
~~~
,u..J ............u.... _ _ ...,j,J..u.~u...
•
GND e . __ ~otI4. __ el
' .. •
,
.
face-mount IC (IC3) which is mount- then stretching it slightly by pulling before bolting it down. If you do, the
ed on the copper side of the PC board. on the other end using a pair of pliers. PC tracks could crack as the assembly
However, this SOIC device has only Once the links are in, the next step is tightened down.
eight pins and the pin spacing is is to install the resistors. These can go The two 28-pin machine IC sockets
around 1.27mm, so it's not difficult in either way and some are mounted can now be installed. Be sure to ori-
to hand solder. end-on to save board space. Table 1 entate these with their notched ends
Figs.3 & 4 show the parts layout on shows the resistor colour codes but as shown on Fig.3. If you are unable
the PC board. However, before begin- you should also check each one with to obtain 28-pin 0.3-inch sockets, you
ning the assembly, it's a good idea to a DMM before installing it. can use pin header strips instead.
carefully inspect the board for etching You can either use a zero-ohm resis- Alternatively you can cut 28-pin 0.6-
defects (eg, shorted tracks and hairline tor for R3 or you can install a wire link. inch sockets in half or you can use two
cracks). Such faults are rare but check- Diode Dl and crystals Xl & X2 are 14-pin sockets mounted end-to-end.
ing now can save a lot a hassle later on. next on the list. Note the orientation Do not install the two ICs in their
Check also that corner cutouts have of Dl and don't get the two crystals sockets yet. That step comes later.
been made at the CONl & CON2 end mixed up. The 8MHz crystal is used Follow these parts with the capaci-
of the board, so that it will later clear for Xl, while the 25MHz crystal is X2. tors, starting with the 33pF ceramic
the mounting posts inside the case. If Now for the LM317T regulator and lOOnF monolithic types. The two
not, you will have to make the cutouts (REG1). This mounts horizontally on 10~F tantalum capacitors can then be
yourself using a fine-toothed hacksaw the board and is fitted with a mini heat- installed, followed by the 33~F and
and a small, flat file. sink for cooling. It's installed by first 470~F electrolytics. Note that the
Having done that, the first job is to bending its leads down by 90° about tantalum and electrolytic capacitors
install the 11 wire links - see Fig.3. 5mm from its body. It's then secured are all polarised, so make sure they
These can be cut from a length of in place, along with its heatsink, us- go in the right way around - see Fig.3.
0.7mm tinned copper wire. If neces- ing an M3 x 6mm machine screw, flat
sary, you can first straighten the link washer and nut and its leads soldered. Connectors
wire by clamping one end in a vise and Note: do not solder REG1's leads The DC socket (CON1), the RJ45
Initial tests
You will need a 6-9V DC 300mA
(or greater) regulated plugpack fitted
with a 2.Smm connector to power this
project. Suitable plugpacks include
the Jaycar MP-3l4S and the Altron-
ics M-920B. Note, however, that the
latter requires swapping the supplied
2.lmm connector for a 2.Smm connec-
tor (Altronics M-9l9l).
With the three ICs out of the cir-
cuit, apply power and use a DMM to
measure the voltage between the OUT
terminal ofREGl and GND. It should
measure close to 3.3V and this same
voltage should also appear at the Vdd
(3.3V) terminal of CON3.
If you don't get the correct reading,
switch off immediately and check for
wiring errors. In particular, check the
resistor values on the OUT and ADJ
terminals ofREGl if the reading is high
or low. Alternatively, if you don't get
any voltage at all, check the supply
polarity and Dl's orientation.
This view shows the completed PC board. Note that there are a few differences
between this prototype board and the final version shown in Fig.3, especially Trimming the 3.3V rail
around CONI, CON2 and REGI.
The accuracy of the +3.3V rail is
important because some MMC/SDI
SDHC cards operate over quite a
connector (CON2) and the 3-way pin blocks and two 2-way blocks. These narrow voltage range. The firmware
socket (CONS) can now go in. Make should all be dovetailed together and checks that the inserted card operates
sure that these parts are sitting flush . mounted as a single unit, with the ac- at 3.3V and so it is crucial that REGl 's
against the PC board before soldering cess holes facing the edge of the board. output be close to +3.3y'
their pins. In addition, take care when The board assembly (minus the If the 3.3V rail is more than 3.4V or
soldering the RJ4S connector as some three ICs and the SD card socket) can less than 3.2V, you will need to change
of its pins are quite close together and now be completed by soldering in one or both of the values for R2 and R3.
it's easy to get solder shorts. Don't the two LEDs. These should both be For example, if the voltage is around
forget to solder the two pins near the mounted at full lead length, with their +3.l7V, you will need to install a lOn
edge of the PC board, as these help bodies 2Smm above the board so that resistor for R3 and this should increase
secure the socket in position. they will later protrude through the the rail so that it is close to +3.3V.
The l3-way screw terminal block lid of the case. Use the green LED for Alternatively, if the output voltage is
(CON3) is made up using three 3-way LEDl and the orange LED for LED2 and +3.41V, you should change the value
(TOP OF CASE) 91
'-
I I
AI I A
- -- @-@- -
I I
I I
.. 45 I 5 I- 108 •
I I
26
I"
! 158 ·1
!-
I
t 15.75
I- 32 .: - 103.5 • ; -22.5-
I
I
I
All DIMENSIONS
I
IN MIWMETRES
- ~ -----------------------------}----- ~ --.
15.75
~
Fig.S: here are the drilling details for the top and bottom case sections. All the holes are drilled to 3mm diameter.
of R2 to won and R3 to 10n (giving a their sockets. Make sure they are ori- side of the board as shown in Fig.4.
total val ue for R2 + R3 = 170n), or you ented correctly (see Fig.3) and don't You will need a fine-tipped soldering
could use 150n for R2 and 22n for R3. get them mixed up. iron, some fine solder, some solder
Again, this should bring the voltage wick and (preferably) a magnifying
from REGl pretty close to +3.3Y. Installing the SMD parts lamp.
Once the supply voltage is correct, The SMD parts (ie, IC3 and SD card Begin by carefully aligning the IC
switch off and install ICl & IC2 into socket CON4) mount on the copper with it solder pads, making sure that
The PC board fits neatly inside a standard plastic utility case (note: the final board is longer than the version shown
here). The memory card can be removed or installed by sliding the adjacent end panel out of its slot.
around the inside perimeter, then WIB . This should be formatted with
knocking out the centre piece and a FAT/FAT32 file system before plug-
cleaning up the edges with a flat file. ging it into the memory card socket
If you are installing the specified (see photo) . With the ICs installed and
temperature sensor, then you will also power applied, the orange LED should
need to drill a 6mm hole in the second blink on and off approximately twice
end panel (see Fig.8 and photos). a second.
Deburr all holes using an oversize That completes the construction of
drill, then secure four M3 x 15mm the WIB. However, before using the
Nylon spacers to the base using M3 x device, you need to copy the necessary
6mm screws, The PC board can then files to the memory card and interface
The AD22103 temperature sensor is
mounted inside a 3.5mm stereo jack -
be dropped into place along with the the server to your network. This will
see Fig.8. righthand end panel and secured us- involve entering a few settings like
ing another four M3 x 6mm screws as the Gateway address, IP Address and
to make two square cut-outs in one of shown in Fig. 7. Subnet mask, turning on port forward-
the end panels for the DC socket and ing in your router and activating a
RJ45 connector (Fig.6). Installing the memory card dynamic DNS (DDNS) service.
Each of these cut-outs can be made You will need a suitable MMC, SD We'll explain how that's all done in
by drilling a series of small holes or SDHC memory card to use with the Pt.2 in next month's issue. se
i
+6V 680 K
RIGHT K
I I
(STARBOARD) Z03 +12V
~
ENGINE TACHO
SIGNAL 10k 1W
1Nl
10k
1 +IN
9
Vee
Cout 8
too", :/. 10",
16V ~
:/',00",
2
5v A
16V
1W
VIA
FUSE
OV
IC1
Z01
22V 20k " -IN
lM2917N
Eout 5 33k
~
Y
~
1W
Y 17 r I ... TP1
1k
~ ~
LEFT
(PORT)
ENGINE TACHO 9 .470k
SIGNAL 10k 1W Vee -wIr-
IN2 0 .... 'n. ~ 11+IN Cout,8
-n-
IC2 100nF
Z02 lM2917N
22V ~20k 11 '-IN 33k
1W ....Af'M
A
% ~ ~ ~ TP2
10k
~ 02
~ A
1mA
1N.4148 METER
K
~ ~ ~ ~ J
01 02 Z01-Z03
__t===
===I
===l
A~I=K=== 7806
A K A K
~
·~:GNO
IN
& TWIN ENGINE SPEED-MATCH INDICATOR GNO? OUT
Fig.3: the full circuit for the Twin Engine SpeedMatch Indicator. IC1 & ICZ (LMZ917N) are the frequency-to-voltage
converters, op amps IC3b & IC3c are the buffer stages and IC3d is the differential amplifier. VR3 & IC3a provide an
offset voltage for IC3d to centre the meter.
the ripple across C2. Fig.4 shows the IC3b is first attenuated by the 33kn at higher RPMs, this is not really a
internal schematic of the LM2917. and 4 70kn voltage di videI' at pin 12 of problem for this application.
The charge pump voltage at pin 3 is IC3d (non-inverting input) . The signal If you are using this circuit for a
applied to the non-inverting input of at pin 12 is therefore only 14/15 of the different purpose and require a better
the amplifier internal to the LM2917. output from IC3b. result especially at low outputs from
The inverting input to this amplifier The overall gain for signal at pin 12 the frequency-to-voltage converters,
at pin 10 is connected to the emit- is 1+ (470kn!33kn) or 15. Therefore, we would recommend using an LM-
ter output at pin 5 and this sets the the overall gain for the signal from C6484AIN CMGS rail-to-rail quad op
amplifier as a unity gain buffer. A IC3b is 15 x 14/ 15 or 14, ie, the same amp in place of the LM324.
10kn pull down resistor provides the gain as for the signal from IC3c except
emitter load. that it is positive (instead of negative). Meter offset
Gp amps IC3b & IC3c are connected Note that we are using the LM324 Gp amp IC3a buffers the voltage
as unity gain amplifiers to buffer the right on the limits of its specifica- from VR3 and provides the offset volt-
pin 5 outputs of ICl & IC2 . The buff- tions in this circuit. This is because age for IC3d. IC3d is offset so the meter
ered outputs are then fed to op amp the LM324 op amp only has a 50llA sits at half-scale (ie, centred) when
IC3d which functions as the differen- sink current for output voltages less there is no difference between the two
tial amplifier. than +0.5V. This is why the resistor input frequencies. For this half-scale
IC3d works as follows: the output values in the circuit are relatively high. condition for the ImA meter, 500llA
from IC3c is amplified with a gain However, considering the DC outputs needs to flow and so VR3 is set for this
of -14, as determined by the 470kn from the LM2917 frequency-to-voltage condition, ie, close to +2.25Y.
resistor between pins 13 & 14 and the converters are generally above 0.5V The meter movement is damped
33kn input resistor. The output from when the engines are idling and more with a lOOIlF capacitor across it. Nor-
~~ ill
lOOnF
@
~ ~ fl8 ~ \Y
:~ I
IOklW
JPI JP2
0
- - I
~"'~ l;J~~ ! ~~ ~"'~
'- '
~ w~ o~ o-(ill!)-e
,1 IOklW ~o - REGI~·~
~~
5P) VR2G · _- . J ©
Fig.5: install the parts on the PC board as shown on this wiring diagram and the photo at right. In
particular, make sure that all polarised parts are correctly installed and that trimpots VRI-VR3
have their screw adjustments positioned as shown.
the particular regulator. If there is no include illumination, will be sealed meter movements have their best ac-
voltage from the regulator, Dl may against moisture ingress and conden- curacy at full-scale deflection of the
be reversed or there may be a short sation and incorporate a lens (eg, in meter and minimum accuracy at close
circuit between the +6V rail and OV VDO gauges). to zero deflection.
on the PC board. If you are going to use a matching In fact , since the SpeedMatch In-
meter, it will probably need to be dicator will be set up by you, it will
Marine meter movement adapted from a voltmeter. In that case, be quite accurate for the centre speed
The meter shown in this article is a you will need to pull the meter apart match indication.
standard ImA FSD (full scale deflec- to change the scale. You will also need
tion) analog movement which can be to remove the internal series resistor Setting Up
obtained from Jaycar or Altronics. (voltage multiplier). Connect the unit to the meter's M+
However, depending on your applica- For the purpose of this article, we and M- terminals using leads terminat-
tion, this mayor may not be suitable. made up a replacement scale for the ed in solder eyelets. These eyelets are
For example, it may be OK if used on specified ImA meter movement. If sandwiched between the nuts sup-
the helm dashboard inside the cabin. you use this particular meter, you can plied with the meter. Ensure the meter
However, it almost certainly won't be change the scale by carefully prising polarity is correct. That done, apply
suitable if used on the helm dashboard the plastic cover off the meter, undo- power to the PC board and adjust trim-
on the flybridge where it will be ex- ing the two securing screws for the pot VR3 so that the meter is centred.
posed to the elements. originallmA scale and then attaching Further setting up requires either a
Most boat owners may want the the replacement panel.
meter to match the other meters on Fig.6 shows our replacement scale,
their dashboard and this approach will which has maximum readings of
no doubt be far more expensive - as is ±200 RPM, or rather PORT +200 0
everything associated with boats. On STBD +200. Note that this is a relative Value /IF Value IEC Code EIA Code
the other hand, taking this approach indication only and cannot be relied 100nF 0.111F 100n 104
will mean that the meter will probably on as having great accuracy. All analog 22nF 0.2211F 22n 223
0.0111F 10n 103
g
<'l
May 1996: High Voltage Insulation Tester; Knightrider LED Chaser;
Simple Intercom Uses Optical Cable; Cathode Ray Oscilloscopes, Pt.3.
Millivoltmeter, Pt.2: Improving AM Radio Reception, Pt.t .
December 1998: Engine Immobiliser Mk.2; Thermocouple Adaptor
August 2001: 01 Box For Musicians; 200W Mosfet Amplifier Module:
Headlight Reminder: 40MHz S-Digit Frequency Counter Module; Using
For DMMs; Regulated 12V DC Plug pack; Build A Poker Machine, Pt.2; linux To Share An Internet Connection, Pt.3.
§i June 1996: Stereo Simulator; Build A Rope light Chaser; Low Ohms Improving AM Radio Reception, Pt.2; Mixer Module For F3B Gliders.
Tester For Your DMM; Automatic tOA Battery Charger. September 2001: Making MP3s: Build An MP3 Jukebox, Pt.l ; PC-
~ July 1996: VGA Digital Oscilloscope, Pt.t; Remote Control Extender
January 1999: High-Voltage Megohm Tester; A Look At The BASIC
Stamp: Bargraph Ammeter For Cars; Keypad Engine Immobiliser.
Controlled Mains Switch; Personal Noise Source For Tinnitus; Direc-
tional Microphone: Using Linux To Share An Internet Connection, Pt.4.
~ For VCRs; 2A SLA Battery Charger; 3-Band Parametric Equaliser.
March 1999: Build A Digital Anemometer; DIY PlC Programmer; Build November 2001: Ultra-LD 100W/Channel Stereo Amplifier, Pt.l ; Neon
~ August 1996: Introduction to IGBTs; Electronic Starter For Fluorescent
Lamps; VGA Oscilloscope, Pt.2; 3S0W Amplifier Module; Masthead
An Audio Compressor; Low-Distortion Audio Signal Generator, Pt.2. Tube Modulator For Cars; AudioNideo Distribution Amplifier; Build A
Short Message Recorder Player; Useful Tips For Your PC.
Amplifier For TV & FM; Cathode Ray Oscilloscopes, Pt.4. April 1999: Getting Started With Linux; Pt.2; High-Power Electric
Fence Controller: Bass Cube Subwoofer; Programmable ThermostaV January 2002: Touch And/Or Remote-Controlled Light Dimmer, Pt. 1;
September 1996: VGA Oscilloscope, Pt.3; IR Stereo Headphone link, Thermometer; Build An Infrared Sentry; Rev Limiter For Cars. A Cheap 'n'Easy Motorbike Alarm ; 100W /Channel Stereo Amplifier,
~
Pt.3; Build A Raucous Alarm; FAQs On The MP3 Jukebox.
Cj
§ ••• ,. '''.r:
Just fill in and mail the handy order form in this issue; or fax (02) 9939
February 2002: to-Channel IR Remote Conlrol Receiver; 2.4GHz
High-Power Audio-Video link; Touch And/Or Remote-Controlled Light
Dimmer, Pt.2; Booting A PC Without A Keyboard; 4-Way Event Timer.
March 2002: Mighty Midget Audio Amplifier Module: 6-Channel
:::
CJ:l
2648; or call (02) 9939 3295 and quote your credit card number. Price: IR Remote Volume Control, Pt.l : RIM Pre-Amplifier For MagnetiC
Cartridges: t2l24V Intelligent Solar Power Battery Charger.
$A9.50 each (including GST) in Australia or $A13 each overseas. Prices
Aprll2002:Automatic Single-Channel Light Dimmer; Pt.l ; Water Level
include postage and packing. Email: silicon@siliconchip.com.au Indicator; Multiple-Output Bench Power Supply; Versatile Multi-Mode
~ Timer; 6-ChannellR Remote Volume Control, Pt.2.
~
May 2002: 32-LED Knightrider: The Battery Guardian (Cuts Power When February 2005: Windm ill Generator, Pt.3; USB-Controlled Electro- August 2007: How To Cut Your Greenhouse Emissions, Pt.2; 20W
the Battery Voltage Drops); Stereo Headphone Ampli fier; Automati c cardiograph ; TwinTen Stereo Amplifier; Inductance & Q-Factor Meter, Class-A Stereo Amplifier; Pt A; Adaptive Turbo Ti mer; Subwoofer
Single-Channel Light Dimmer; Pt.2; Stepper Motor Controlle r. Pt. 1; A Yagi Antenna For UHF CB; $2 Battery Charger. Controller; 6-Digit Nixie ClOCk, Pt.2 .
Augus12002: Digital Instru mentation Software for PCs; Digital Storage March 2005: Windmill Generator. Pt.4; Sports Scoreboard, Pt. l ; Induct- September 2007: The Art Of Long-Distance Wifi; fast Charg er For
Logic Probe; Digital ThermIThermostat Sound Card Interface for PC ance & Q-Factor Meter. Pt.2; Shielded Loop Antenna For AM; Sending NiMH & Nicad Batteries; Simple Data-Logging Weather Station, Pt. 1;
Test Instruments; Direct Conversion Receiver for Radio Amateurs. Picaxe Data Over 477MHz UHF CB; S10 Lathe & Drill Press Tachometer. 20W Class-A Stereo Amplifier; Pt.5.
September 2002: 12V fluorescent Lamp Inverter; 8-Channellnfrared April 2005: Inslall Your Own In-Car Video (Reversing Monitor); Build October 2007: DVD Players - How Good Are They For HiFi Audio?:
Remote Control; 50-Watt DC Electronic Load ; Spyware - An Update. A MIDI Therem in. Pt.l ; Bass Extender For Hifi Systems; Sports Score- PICProbe Logic Probe; Rolling Code Security System. Pt. 1; Simple
board, Pt.2; SMS Controller Add-Ons: A,5 Variable Power Supply. Data-Logging Weather Station, Pt.2; AM Loop Antenna & Amplilier.
October 2002: Speed Controller for Universal MOlars; PC Parallel Port
Wizard; Cable Tracer; AVR ISP Serial Programmer; 3D TV. May 2005; Getting Into Wi -Fi. Pt. 1; Build A45-Second Voice Recorder; November 2007: Your Own Home Record ing Studio; PlC-Based
Wireless Microphone/Audio Link; MIDI Theremin, Pt.2; Sports Score- Water Tank Level Meter, Pt.t : Playback Adaptor For CD-ROM Drives,
November 2002: SuperCharger for NiCd/NiMH Batteries, Pt. l ; board, Pt.3; Automatic Stopwatch Timer. Pt .l ; Rolling Code Security System, Pt.2; Build A UV Light Box For
Windows-Based EPROM Programmer, Pt. 1; 4-Digit Crystal-Controlled Maki ng PC Boards.
Timing Module. June 2005: Wi -Fi , Pt.2; The Mesmeriser LEDClock; Cool master Fridge/
Freezer Temperature Controller; Alternative Power Regular; PICAXE December 2007: Signature Series Kit Loudspeakers; IR Audio Head-
December 2002: Receiving TV f rom Satellites; Pt. 1; The Micromitter Colour Recognition System ; AVR200 Single Board Computer, Pt. 1. phone Link; Enhanced 45s Voice Recorder Modu le; PlC-Based Water-
Stereo fM Transmitter; Windows-Based EPROM Programmer. Pt.2; Tan k Level Meter; Pt.2; Playback Adaptor For CD-ROM Drives; Pt.2.
SuperChargerforNiCd/NiMH Batteries; Pt.2; Simple VHf FM/AM Radio. July 2005; Wi -Fi , Pt.3; Remote-Control led Automatic Lamp Dimmer;
Serial Stepper Motor Controller; Salvaging & Using Thermostats; January 2008: PlC-Controlled Swimming Pool Alarm; Emergency 12V
January 2003: Receivi ng TV from Satellites. Pt 2; SC480 50W Unwired Modems & External Antennas. Lighting Controller; Build The "Aussie-3" Valve AM Radio; The Minispot
RMS Ampli fier Module, Pt.l; Gear Indicator For Cars; Active 3-Way 455kHz Modulated Oscillator; Water Tank Level Meter, Pt.3 - The Base
Crossover For Speakers. August 2005: Mudlark A205 Valve Stereo Amplifier, Pt. 1; Program- Station; Improving The Water Tank Level Meter Pressure Sensor.
mable Flexilimer; Carbon Monoxide Alert; Serial LCD Driver; Enhanced
February 2003: PortaPal PA System, Pt. l; SC480 50W RMS Amplifier Sports Scoreboard; Salvaging Washing Maching Pressure Switches. February 2008: UHF Remote-Controlled Mains Switch; UHf Remote
Module, Pt.2; Windows-Based EPROM Programmer. Pt.3; Fun With Mains Switch Transmitter; APIR-Triggered Mains Switch; Shift Indicator
The PICAXE, Pt. 1. September 2005; Build Your Own Seismograph; BilgeSnifter For Boats; & Rev Limiter For Cars; Mini Solar Battery Charger.
Vo lP Analog Phone Adaptor; Mudlark A205 Valve Stereo Amplifi er.
March 2003: LED Lighting For Your Car; Peltier-Effect Tinnie Cooler; Pt.2 ; PICAXE in Schools, Pt A. March 2008: How To Get Into Digital TV. Pt. 1; Th e 12C Bus - A Quick
PortaPal PA System, Pt.2; 12V SLA Battery Float Charger; Little Dy- Primer; 12V-24V High-Current DC Motor Speed Controller. Pt. l ; A
namite Subwoofer; fun With The PICAXE. Pt.2 (Shop Door Minder) . October 2005: A Look At Google Earth ; Dead Simple USB Breakout Digital VFO with LCD Graphics Display; A Low-C ost PC-to-12C Interface
Box; Sludio Series Stereo Preamplifier, Pt.1 ; Video Reading Aid For for Debugging; One-Pulse-Per Second Driver For Quartz Clocks.
April 2003: Video-Audio Booster For Home Theatre Systems; Telephone Vision Impaired People; Simple Alcohol Level Meter; Ceiling fan Timer.
Dialler For Burglar Alarms; Three PlC Programmer Kits; PICAXE, Pt.3 April 2008: How To Get Into Digital TV, Pt.2; Charge Controller for 12V
(Heartbeat Simulator) ; Electric Shutter Release For Cameras. November 2005: Good Quality Car Sound On The Cheap ; Pt.l; PICAXE Lead-Acid Or SLA Batteries; Safe Flash Trigger For Digital Cameras;
In Schools. Pt.5; Studio Series Stereo Headphone Amplifier; Build A 12V-24V High-Current DC Motor Speed Controller, Pt.2; Two-Way
May 2003: Widgybox Guitar Distortion Effects Unit; 10MHz Big Blaster MIDI Drum Kit, Pt. 1; Serial I/O Controller & Anal og Sampler. Stereo Headphone Adaptor.
Subwoofer; Printer Port Simulator; PICAXE, Pt.4 (Motor Controller).
Oecember2005: Good Quality Car Sound On The Cheap; Pt. 2; Building May 2008: Replacement CO l Module For Small Petrol Molars;
June 2003: PICAXE-Controlled Telephone Intercom; Sunset Switch For The Ultimate Jukebox. Pt.1; Universal High-Energy Ignition System . High-Accuracy Digital LC Meter; Lo w-Cost dsPIC/PIC Programmer;
Security & Garden Lighting; Digital Reaction Timer; Adjustable DC-DC Pt. 1; MIDI Drum Kit. Pt.2; 433MHz Wireless Data Communication . High-Current Adjustable Voltage Regulator.
Converter For Cars; Long-Range 4-Channel UHF Remote Control.
January 2006: Pocket TENS Unit For Pain Relief; "Little Jim " AM Rad io June 2008: DSP Musicolour Light Show, Pt.1; PlC-Based Flexitimer
July 2003: Smart Card Reader & Programmer; Power-Up Auto Mains Transmitter; Universal High-Energy Ignition System, Pt.2; Building The MkA; USB Power Injector For External Hard Drives; Balanced/Unbal-
SWltch; 'A"Smart" Slave Flash Trigger; Programmable Continuity Tester; Ultimate Jukebox, Pt.2; MIDI Drum Kit, Pt.3; Picaxe-Based 433MHz anced Converter For Audio Signals; AQuick'n'Easy Digital Slide Scanner.
Updating The PlC Programmer & Checkerboard. Wireless Thermometer; A Human-Powered LED Torch.
July 2008: DSP Musicolour Light Show, Pt.2; A PlC-Based Musical
August 2003: PC Infrared Remote Receiver (Play DV Os & MP3s On February 2006: PC-Controlled Burglar Alarm, Pt. 1; A Charger For iPods Tuning Aid; Balanced Mic Preamp For PCs & MP3 Players; Bridge
Your PC Via Remote Control): Digital Instrument Display For Cars. & MP3 Players; Picaxe-Powered Thermostat & Temperature Display; Adaptor For Stereo Power Amplifiers.
Pt.l; Home-Brew Weatherproof 2.4GHz WiFi Antennas; PICAXE Pt.? Build A MID I Drum Kit, Pt.4; Building The Ultimate Jukebox, Pt. 3.
August 2008: Ultra-LO Mk.2 200W Power Amplifier Module, Pt.1;
September 2003: Robot Wars; Krypton Bike Light; PlC Programmer; March 2006: The Electronic Camera, Pt. l ; PC-Coni rolled Burglar Alarm Planet Jupiter Receiver; LED Slrobe & Contact less Tachometer, Pt. 1;
Current Clamp Meter Adapter For DMMs; PICAXE Pt.8 - A Data Logger; System, Pt.2; Low-Cost Intercooler Water Spray Controller; AVR ISP DSP Musicolour Li ght Show, Pt.3; Printing In The Third Dimension.
Digital Instru ment Display For Cars. Pt.2. SocketBoard; Build A Low-Cost Large Display An emometer.
September 2008: Railpower Model Train Controller, Pt. 1; LED/Lamp
October 2003: PC Board Design , Pt.l ; JV80 Loudspeaker System ; A April 2006: The Electronic Camera, Pt2; Studio Series Remote Control Flasher; Ultra-LO Mk.2 200W Power Amplifier Module. Pt.2: DSP Mu-
Di rt Cheap, High-Current Power Supply; Low-C ost 50MHz Frequency Module (For A Stereo Preampl ifier); 4-Channel AudioNideo Selector; sicolour Light Show, PtA; LED Strobe & Contactless Tachometer, Pt.2.
Meter; Long-Range 16-Channel Remote Control System. Universal High-Energy LED Lighting System , Pt. 1; Picaxe Goes Wire-
less, Pt.1 (Using the 2.4GHz XBee Modules). October 2008: USB Clock With LCD Readout. Pt. 1; Digital Rf Level &
November 2003: PC Board Design, Pt.2 ; 12AX? Valve Aud io Pream- Power Meter; Multi-Purpose Timer; Railpower Model Train Controller,
plifier; Our Best Ever LED Torch; Smart Radio Modem For Microcon- May 2006: Lead-Acid Battery Zapper; Universal High-Energy LED light- Pt.2 ; Picaxe-08M 433Mhz Qata Transceiver.
trollers; PICAXE Pt.9; Prog rammable PlC-Powered Timer. ing System, Pt.2; Passive Direct Injection (01) Box For Musicians; Picaxe
Goes Wireless, Pt.2; Boost YourXBee's Range Usi ng Simple Antennas. November 2008: 12V Speed Controller/Lamp Dimmer; USB Clock
Oecember 2003: PC Board Design, Pt.3; VH F Receiver For Weather With LCD Readout , Pt.2; Wideband Air-Fuel Mixture Display Unit:
Satellites; Linear Supply For Luxeon 1WStar LEDs; 5V Meter Calibration June 2006; Pocket AN Test Patt ern Generator; Two-Way SPDIF-to- IrDA Interface Board For The DSP Musicolour; The AirNav RadarBox.
Standard; PIC-8ased Car Battery Mon itor; PICAXE Pt.10 . Tosli nk Digital Au dio Converter; Build A 2.4GHz Wireless AN Link; A
High-Current Battery Charger For Almost Nothing. Oecember 2008: Versatile Car Scrolling Display, Pt. 1; Test The salt
January 2004: Studio 350W Power Amglifier Module, Pt.1; Hig h- Content Of Your Swimming Pool; Build A Brownout Detector; Simple
Efficiency Power Supply For lW Star LE s; Antenna & RF Preamp July 2006: Mi ni Theremin Mk.2, Pt.1; Programmable Analog On-Off Voltage Switch For Car Sensors.
For Weather Satellites; Lapel Microphone Adaptor f or PA Systems; Controller; Studio Series Stereo Preampl ifier; Stop Those Zaps From
PICAXE- 18X 4-Channel Datalogger, Pt. 1; 2.4GHZ AudioNideo Link. Double-Insulated Equipment. January 2009: Dual Booting With Two Hard Disk Drives; USB-Sensing
Mains Power Switch; Remote Mains Relay Mk.2; AM Broadcast Band
February 2004: PC Board Design. Pt. 1; Supply Rail Monitor For PCs; August 2006: Picaxe-Based LED Chaser Clock; Magnetic Cartridge Loop Antenna; Car Scrolling Display. Pt.2; 433MHz UHF Remote Switch.
Studio 350W Power Amplifier Module. Pt.2; Shorted Turns Tester For Preamplifier; An Ultrasonic Eavesdropper; Mini Theremin Mk. 2, Pt.2.
Line Output Transformers; PICAXE-18X 4-Channel Datalogger, Pt.2. February 2009: Digital Radio Is Coming. Pt. 1; Tempmaster Elec-
September 2006: Transferring Your LPs To COs & MP3s; Turn an tronic Thermostat Mk.2; lOA Universal Motor Speed Controller Mk.2;
March 2004: PC Board Design, Pt.2; Build The QuickBrake For Increased Old Xbox Into A S200 Mu ltimedia Player; Build The Galactic Voice; Progra mmable Time Delay Flash Trigger; Car Scrolling Display, Pt.3.
Driving Safety; 3V-9V (or more) DC-DC Converter; ESR Meter Mk.2 . Aquarium Temperature Alarm; S-Video To Com posite Video Converter.
Pt.l; PICAXE-18X 4-Channel Datalogger, Pt.3. March 2009: Reviving Old Laptops With Puppy Linux; Digital Radio
October 2006: LED TachometerWith Dual Displays, Pt.l ; UHFPrescaler Is Coming, Pt.2: A GPS-Synchronised Clock; Theremin Mk.2; Build A
April 2004: PC Board Design, Pt.3; Loudspeaker Level Meter For Home For Frequency Counters; Infrared Remote Control Extender; Easy-To- Digital Audio Millivoltmeter; Learning about Picaxe Microcontrollers.
Theatre Systems; Dog Silencer; Mixture Display For Cars; ESR Meter Build 12V Digital Timer Module; Build A Super Bicycle Light Alternator.
Mk.2 , Pt.2; PC/PICAXE Interface For UHF Remote Control. April 2009: Digital Radio Is Coming, Pt.3; Wireless Networking With
November 2006: Radar Speed Gun , Pt. 1; Build Your Own Compact Bass Ubu ntu & Puppy Linux; Remote-Controlled Lamp Dimmer; School Zone
May 2004: AmplifierTesting Without High-Tech Gear; Component Video Reflex Loudspeakers; Programmable Christmas Star; DC Relay Switch; Speed Alert; USB Printer Share SWitch; Microcurrent DMM Adaptor.
To RGB Converter; Starpower Switching Supply For Luxeon Star LEDs; LED Tachometer With Dual Displays. Pt.2; Picaxe Net Server, Pt.3.
Wireless Parallel Port; Poor Man's Metal Locator. May 2009: A 6-Oigit GPS-Locked Clock, Pt.1 ; 230VAC lOA full-Wave
December 2006: Bringing A Dead Cordless Drill Back To Life; Cordless Motor Speed Coni roller; Precision 10V DC Reference For Checking
June 2004: Build An RFID Security Mod ule; Simple Fridge-Door Alarm; Power Tool Charger Controller; Build A Radar Speed Gun, Pt.2; Super DMMs; UHF Remote 2-Channel230VAC Power Switch; Input Atlenuator
Courtesy Li ght Delay For Cars; Automating PC Power-Up; Upgraded Speedo Corrector; 12/24V Auxil iary Battery Controller. ForThe Digital Audio Millivoltmeter; Drawing Circuits In Protei Autotrax.
Software For The EPROM Programmer.
January 2007: Versatile Temperature Switch; Intelligent Car Air- June 2009: Mal's Electric Vehicle Conversion; High-Current, High-
July 2004: Silencing ANoisy PC; Versati le Battery Protector; Appliance Conditioning Controller; Remote Telltale For Garage Doors; Intelligent Voltage Battery Capacity Meter. Pt.1; GPS Driver Module For The 6-Digit
Energy Meter, Pt. 1; A Poor Man's Q Meter; Regulated High-Voltage 12V Charger For SLA & Lead-Acid Batteries. Clock; A Beam-Break Flash Trigger; Hand-Held Digital Audio Oscillator.
Supply For Valve Amplifiers; Remote Control For AModel Trai n Layout.
February 2007: Remote Volume Control & Preamplifier Module, Pt.l; July 2009: The Magic Of Water Desal ination; Lead-Acid Battery Zap per
August 2004: Video Formats: Why Both er?; VAF's New DC-X Generation Simple Variable Boost Control For Turbo Cars; fuel Cut Defeater For The & Desulphator; Hand-Held Metal Locator; Mu lti-Function Active filter
IV Loudspeakers; Video Enhancer & Y/C Separator; Balanced Micro- Boost Control; Low-Cost 50MHz Frequency Meter, Mk.2. Mod ule; High-Current, high-Voltage Battery Capacity Meter, Pt.2. ·
phone Preamp; Appliance Energy Meter, Pt.2; 3-State Logic Probe.
March 2007: Programmable Ignition System For Cars. Pt. l ; Remote August 2009: Converting A Uniden Scanner To Pick Up AIS Signals;
September 2004: Voice Over IP (Vol P) For Beginners; WiFry - Cooking Volu me Control & Preamplifier Module, Pt.2; GPS-Based Frequency An SO Card Music & Speech Recorder/Player; Lead-Acid/SLA Battery
Up 2.4GHz Antennas; Bed Wetting Alert; Build a Programmable Robot Reference, Pt. 1: Simple Ammeter & Voltmeter. Condition Checker; 3-Channel UH FRolling-Code Remote Control, Pt.l.
Another CFL Inverter.
April 2007: High-Power Reversible DC Motor Speed Controller; Build A September 2009: High-Quality Stereo Digital-To-Analog Converter,
October 2004: The Humble "Trannie" Turns 50; SMS Conlroller. Pt. 1; Jacob 's Ladder; GPS-Based Frequency Referen ce, Pt.2; Programmable Pt. 1; Wide Band 02 Sensor Controller For Cars, Pt. 1; Autodim Add-On
RGB To Component Video Converter; USB Power Injector; Remote Ignition System, Pt.2; Dual PICAXE Infrared Data Communicalion . ForThe GPS Clock; 3-Channel UHF Rolling-Code Remote Control, Pt.2.
Controller For Garage Doors & Gates.
May 2007: 20W Class-AAmplifier Module, Pt.1;Adjustable 1.3-22V Reg- October 2009: The Secret World Of Scope Probes; How To Hand-Solder
November 2004: 42V Car Electrical Systems; USB-Controlled Power ulated Power Supply; VU/Peak Meter With LCD Bargraphs; Program- Very Small SMD ICs; Universal 110 Board With USB Interface; High-
Switch (Errata Dec. 2004) ; Charger For Deep-Cycle 12V Batteries, Pt.1; mable Ignition System ForCars, Pt.3; GPS-Based Frequency Reference Qual ity Stereo Digital-To-Analog Converter, Pt.2; Digital Megohm &
Driveway Sentry; SMS Controller, Pt.2; PICAXE IR Remote Control. Modifications; Throttle Interface For The DC Motor Speed Controller.' Leakage Current Meter; Wide Band O2Sensor Controller For Cars. Pt.2.
December 2004: Build A Windmill Generator, Pt.1; 20W Amplifier June 2007: 20W Class-A Amplifier Module, Pt.2; Knock Detector
Module; Charger For Deep-Cycle 12V Batteries, Pt.2; Solar-Powered For The Program mable Ignition: 4- lnput Mixer With Tone Controls; NOTE: issues not listed have sold out. We can supply photostat copies
Wireless Weather Station ; Bidirectional Motor Speed Controller. Frequency-Activated Switch For Cars; Simple Panel Meters Revisited. of articles from sold-out issues for SA9.50 each within Australia or
SA 13.00 each overseas (prices include p&p) . When supplying photostat
January 2005: Windmill Generator, Pt.2; Build AV8 Doorbell; IR Remote July 2007: How To Cut Your Greenhouse Emissions. Pt. 1; 6-Digit Nixie articles or back copies, we automatically supply any relevant notes &
Control Checker; 4-Minute Shower Timer; The Prawnlite; Sinom Says Clock, Pt. 1; Tank Water Level Indicator; A PlO Temperatu re Controller; errata at no extra charge. A complete index to all articles published
Game; VAF DC-7 Generation 4 Kit Speakers. 20W Class-A Stereo Amplifier; Pt.3 ; Making Panels For Projects. can be down loaded from www.siliconchip.com .au
CCIImCCIDIIT N(Q)Tm}IB3(O)(w~
InterestiIig circuit ideas which we have checked but not built and tested. Contributions from
readers are welcome and will be paid for at standard rates.
25V I
22011f J: ..!o:
:e 22k
..!o:
:e 47k
01
1N4oo4
~
T SlA lOOk
I
IC2 K +12V
A.I SOlAR BATIERY ....:...
PANEl IC17665 1 4.7k TO LOAD
I 'I OUTl (LED
...L.. VR2 ~ _I SET1 UGHTING)
10k
GND
OV
Q3
4.7k B 4 47k B0139
E
100nF
c
A S o A
LEOl
01
===1__1== =
A K
2N3055
B E
~
low. This turns
Solar powered automatic garden on LEDl and
lighting system switches off Ql
& Q2 (biased via
This circuit is based on a lOW so- During daylight hours, the diode- the 4. 7kn resistor
lar panel and 12V SLA battery which protected monocrystalline solar to pin 1). This ef-
powers an array of LED lamps for a panel delivers about 550mA at up fectively disconnects the
pergola. It uses the ICL7665 over/ to 21 V, with peak power efficiency solar panel input to the SLA battery,
under voltage detector to prevent at around 17V. Only one half ofIC2, thereby preventing overcharging.
overcharge and over-discharge of the an ICL7665 , is used. It is preset to Pin 1 of IC2 also attempts to pull
battery and to provide control of the detect 14.1 V and 10.BV via 10-turn pin 2 ofICllow via the 4.7kn resis-
supply to the LEDs. trimpots VRl and VR2 . This is ac- tor. However, LDR1's low daylight
Individual solar lights sold these complished by detecting the nomi - resistance, in the order of a couple of
days for garden applications don't nal trigger voltage at SETl (pin 3) of hundred ohms, ensures the voltage
seem to last too long before deterio- 1.35V and using the chip's internal on pin 2 remains high.
rating and the light output can be hysteresis at HYSTl (pin 2). ICl is connected as a comparator
low to unusable. The downside of To begin, assume that the Dar- with pin 3 held at approximately
this circuit is that the lamps/LEDs all lington-connected emitter-follower 1/2Vcc by two 47kn resistors. As
have to be hard-wired to a common transistors Ql & Q2 are conducting. dusk approaches, LDR1's resistance
supply. On the upside, all contacts As the battery charges up, the voltage slowly rises to the megohm range
are soldered for reliability and only eventually rises to 14.1 V, whereupon and the voltage on pin 2 slowly falls
one battery is required. pin 1 of IC2 switches from high to to below the level at pin 3, where-
upon lCl's output at pin 6 switches whereupon lC2 's pinl switches high, 10.BY. More information on battery
from low to high. This turns on Q3, switching off LEDl and toggling discharge/charge parameters can be
energising the relay and connecting lCl so that Q3 switches off and de- found in the article entitled Micro-
the positive supply to the load. energises the relay. The discharged power Battery Protector in the July
The battery slowly discharges battery voltage then floats up to 2004 issue of SILICON CHIP.
through the load until one of two around 12.6V and as Ql & Q2 have LEDl should be a high-brightness
events occurs. When dawn arrives, also been switched on again, the unit type so that the modest current al-
LDRl's resistance drops as the am- then waits for the charging cycle lowed by the 22kn limiting resistor
bient light increases, rCl 's output from the solar panel the next day. (about 75DIlA) will give adequate
switches low and Q3 switches off A point to note is that the battery indication. The circuit is quite effi-
the relay. This also reconnects the must fully discharge, with lC2's cient, drawing only about 3-5mA in
solar panel via Ql & Q2 to recharge output triggering high (LEDl off), the off/ready state and about 35mA
the battery. before recharging through Q2 can is required to activate the standard
Alternatively, some time during commence. So it is important not DPDT relay
the night the battery will discharge to set the discharge voltage detec- Colin O'Donnell,
to lC2's detection point of ID.BV tion point too low, ie, no lower than Glenside, SA.
( Newnes)
Newnes have put together the best of
subjects their authors have written on
over the past few years
into this one handy volume!
by Luci Di Jasio
Learning to fly the PIC24. Includes a
i iilCD ROM with source code in C.
l Microchip C30 complier
and MPLAB SIM.
(vD6
on each rail. They in turn charge
CS and C6 which act as the primary
energy storage.
A DS & D6 help protect the driven
04 C4
circuitry from reversed supply volt-
A
~---------+----~ __ ----~~------ __O - 35V age as the capacitors discharge when
the device is switched off. You can
01-06 also put resistors across Cl-C4 (eg,
Power supply stacks two = = A=1._1===
K lokn) which will act as bleeder
voltage doublers for balanced rails resistors to discharge them after
power off and will also help ensure
The standard bridge rectifier/ Sometimes it is desirable to get that they share charge evenly. It's a
capacitor filter power supply used a higher DC voltage supply from good idea, especially while you're
in most amplifiers results in a DC a transformer. For example, if you working on the circuit, but they
output voltage roughly 1.4 times want ±3SV it is difficult to purchase aren't strictly required.
that of the AC input voltage. So, for a suitable 300VA toroidal trans- Note that unlike the standard
example, a SOVAC centre-tapped former. While such transformers bridge rectifier supply, none of the
transformer (2S-0-2S) results in DC with l2V-0-l2V, l8V-0-l8V, 40V- transformer secondary connections
power rails of approximately ±3SV 0-40V and SOV-O-SOV secondary are earthed. Rather, earth is con-
(2S x 1.4). windings are available, there is no nected to the point at which the
---------------------------------------------------,---
1111rl_IIIIIIIIIIIISI Yllr Prlzl I
I
I
-
---------------------------------------------------
48 SILICON CHIP siliconchip.com.au
two full-wave voltage doublers are You can compensate for this by 2A each but you can increase this
joined. As a result, the junction of Cl making C5 & C6 larger than you by parallelling multiple capacitors.
& cz tends to sit half way between otherwise would. Generally, these The values used in the prototype
the OV and +35V rails and similarly, will actually consist of multiple power supply were 2 x 2200J,lF 35V
the junction of C3 and C4 sits half- capacitors in parallel. Also keep in for CI-C4 and 2 x 4700J,lF 50V for
way between 0 and -35Y. mind that CI-C4 need to have rip- C5 and C6.
Note that all other things being ple current ratings at least as high For the 12V-0-12V transformer
equal, this circuit will have worse as the maximum amount of current shown, CI-C4 should have ratings
voltage regulation than a standard you will be drawing from the DC of 25VDC and C5-C6 should have
bridge rectifier circuit. Also, the cur- supply rails. ratings of 50VDC.
rent drawn from the secondary of the Most medium/large electrolytic Nicholas Vinen,
transformer will be twice as high. capacitors can supply around 1.5- Randwick, NSW. ($40)
~o-4r--~~----------~~~--------~----~--------~----'
T 9V I. 100nF I. 10nF 120k
: BATTERY
1
~ Q2
MPF102
22nF
A A
VC1 VC2 01 1M 02
1ASpF 10pF
K
~~
01,02: 1NA148
Modulated oscillator for AM
radio alignment
= ==iAc:JI=K= ==
C E G~
If you are interested in restoring for AM radio - the red coil of the coupled to the gate ofQ3 via a lOOnF
vintage AM radios, you are going miniature IF/OSC coil packs (Jaycar capacitor.
to need a modulated oscillator to LFI050) . VCl is a miniature tuning Ideally, a frequency counter
align the intermediate frequency (IF) capacitor commonly used in transis- should be used to calibrate this os-
stages. This is typically 450kHz for tor radios (Jaycar RV5728). Only one cillator. Failing that, you can use an
modern radios, 455kHz for radios gang of the tuning capacitor is used AM/FM tuner (or car radio) with a
produced prior to the 1980s and can (terminals A & G). digital readout. To set the oscillator,
be at lower frequencies for radios VC2 is the inbuilt trimmer capaci- adjust both VCl & VC2 for minimum
produced prior to the 1930s. tor in parallel with VC1. The tuning capacitance and then adjust the slug
You will also need to align the capacitor has a nominal maximum of coil Tl for an output frequency of
RF input stages and for that you capacitance of 160pF. A tuning 1700kHz (or the top of the AM band
need an oscillator to cover the AM range of 550-1700kHz therefore re- if using a tuner).
broadcast band. quires an inductance of 523J,lH and a You will find that with this ad-
This circuit provides this abil- minimum capacitance of16.75pF. In justment, setting VCl to maximum
ity. Transistor Ql is connected as a practice, a smaller inductance will capacitance will only get down to
simple phase shift oscillator which be required because of stray capac- around 600kHz. To go lower, add
produces an audio modulation tone itances and the self-capacitance of a 150pF capacitor in parallel with
at about 400Hz. The three 22nF the coil. Trimmer VC3 limits the the tuning capacitor via a switch
capacitors and associated resistors current in the tank circuit. and this should get the low fre-
form a 180 0 phase shift network Transistor Q3 acts as a mixer for quency end to about 400kHz. To
while Ql acts as an inverting am- the audio and RF signals to produce set a frequency of 455kHz from the
plifier to provide sufficient gain to an amplitude modulated RF signal. oscillator, set your radio to receive
sustain oscillation. The RF signal is fed in by virtue of 900kHz. This will pick up the sec-
FET Q2, an MPFI02, is connected Tl 's secondary being connected in ond harmonic of the signal.
as a Hartley oscillator. Tl is a com- series with the source resistor ofQ3, AlexSum,
monly available local oscillator coil while the audio tone is capacitively Eastwood, NSW. ($45)
12AX7
10nF .I. J47:;"
O +260V
r~
630VT
OGNO
INPUT 330k
loon 7 ,........
OUTPUT
39k
+12V
47pF~ ~47k
1M 1M
L
100!lF .I: B.2nF
16V ~
, , , , , 0 GNO
4 x 1N4007
A
4x 1N4004
+12V
7 .L...li
09
1N4004 I RlY1
+1 4700IlF
25V 3
~_~"i61 ~~1 IS
~
U I
100~""
~
f' 7B12 r GNO
Passive RIAA both triodes connected as voltage ±0.5dB of the RIAA characteristic.
amplifier stages but with no overall Overall gain is 180 times (+45dB).
valve preamplifier feedback. The RIAA equalisation The switchmode power supply
This preamplifier is based on the is passive, with RC filter networks used in the November 2003 design
12AX7 twin-triode circuit featured connected to the plates of both triode was judged to be too noisy for a mag-
in the November 2003 issue of SILI- stages. Because the gain of both netic cartridge preamplifier and so a
CON CHIP. That particular design had stages is around 50 times, Miller conventional power supply with two
an overall gain of 57 and had con- Effect capacitance needs to be taken back-ta-back 12V transformers was
siderable negative feedback applied into account when selecting the used instead, with the valve heaters
from the plate of the second triode capacitor values. being supplied with regulated 12V
to the cathode of the first. This gave This explains why the various RC DC from REG1.
quite reasonable harmonic distor- time constants do not appear to fol- . A 555 timer (IC1) and relay is
tion performance, relative to designs low the standard RIAA values which used to delay connection of the
without overall feedback. give 5dB/octave slopes beyond turn- 250V DC supply to the valve plates
However, a lot more gain is re- over frequencies of 50Hz, 500Hz until the heaters have come up to
quired for a preamplifier providing and 2120Hz. When the preamp is temperature.
RIAA equalisation for a magnetic terminated with a 100kn load, the Dean Brookes,
cartridge. Hence, this circuit has resultant equalisation is within St Ives, NSW. ($60)
0 20N 0 2IXl / 4 OX l
eras used exactly the same O lW ' 4OX2
serial download cable,
meaning the cables were a
L OK
low-cost mass produced item!
USB has now taken over this role
and most modern laptops now only have
USB-style connectors.
Unfortunately, the USB protocol is far
more complex than the serial RSZ3Z protocol; in fact it is To support PICAXE users who wish to use Linux or Mac
not possible to implement the USB protocol on low-cost, computers to develop their PICAXE BASIC programs the
limited-memory devices like 8 and 14-pin PICAXE micro- new cross-platform AXEpad software is now available
controllers. There simply isn't enough memory space to im- (Windows users should still use the Programming Editor
plement both the USB protocol and the PICAXE firmware! software).
Therefore an alternate approach is required and that is When combined with the AXEOZ7 USB download cable
to use a separate 'intelligent' USB cable with an embedded AXEpad provides a complete development system for Linux
USB-to-serial converter chip, such as those made by FTDI. and Mac users.
This gives the best of both worlds - a USB connection to AXEpad has been deliberately designed with a small
the computer and a serial connection to the PICAXE chip footprint and so will also work well on low-cost flash drive
itself. Linux 'netbook' computers such as the eeePC.
As you can see, As you would expect AXEpad supports all the common
the AXEOZ7 down- PICAXE features such as colour highlighting of BASIC
load cable contains programs and in-built testing features such as the 'Debug'
a complete mini- and 'Terminal' functions.
ature circuit mould- AXEpad is completely free of charge and will operate
ed into the USB connector. with:
This allows the cable to work via USB on all Windows, • Linux - any modern x386 distribution with GTKZ.8+
Linux and Mac computers. • Mac - OSX (10.3 or later) on PowerPC or Intel machines
... ,., .... '\ in ::: IIDIU! ~./ ...~ ,~ ~.. memory capacity, all at a lower cost!
The full PICAXE lineup is shown below:
..--
OBM
14M
..~ 111. 0
IUU)
7 111
TlID
~ IBM
20M
1BX
20X2
i l ll Il :~ v_ 28X1 28X2
: 1\1
.''''-
.....
.... 40X1 40X2
,
.\ -ll-~
New X2 range
All program development is performed graphically by The new PlC AXE X2 range (20X2, 28X2 and 40X2) is a
joining flowchart shapes together, and so is simpler for complete new generation of the PICAXE chip, making use
younger students to use than BASIC style 'textual' pro- of the advanced features and architecture of the newly
gramming languages. released PIC18F series of microcontrollers.
Recently Revolution took over the Logicator product The entire PICAXE core has been completely rewritten
and have spent the last 12 months bringing it up to date to provide a more flexible and higher specification tool for
to support all the current more advanced projects. Although the features and memory
PICAXE chips. capacity have greatly increased, prices have not - for in-
The software is now also stance the new 20X2 is the same price as the older 18X part!
distributed as unrestricted or.
'shareware' and so anyone X2 Enhancement Summary:
can download it from www. • Each pin can now be individually configured as input or output
picaxe.co.uk and try it out • Up to 12 internal ADC channels available
without charge. So if you • Up to 256 general purpose RAM bytes
have always been a bit daunt- • Up to 1024 additional bytes in the RAM scratchpad
ed by BASIC programming • Indirect RAM access to support easier use of arrays
why not give flowcharts a go! orr
• Clock speed ups to 64MHz, 16x faster than 4MHz!
Logicator is very easy to • Wider operating voltage range (1.B - 5.5V) , ideal for 3V systems
use and also supports on- • Up to 4 internal program slots - allowing up to 10,000 lines of
screen simulation that allows code with 1000 sub-procedures!
simple testing of flowchart • Also supports up to 32 more program slots stored in
operation. external EEPROM chips
If desired the flowcharts • Support for UNIIO brand EEPROM chips using a single ilo line
can also be automatically • New hardware interrupt pins
converted into BASIC pro- • New comparator functions to compare 2 ADC channels
I
gram listings.
functionality has been preserved (as much as possible) between the chips.
X2 chips can easily be used to upgrade existing projects.
m ~
J:
~
-
I D ~ 'I . DG
+1 =-:J I gl
~W(:
--- , IrI--
ca-r- Q ~i
' :n
Yl
T
~
~ I '~'~~I ml TT I?QW' ~~ 5t9Pp-~i J
r-
I~O
~ l~: ·
•
1 iID). 01 1 p o ",'"
IMPORTANT:
~;,....---~ ' ~
I . All MAINS CONNECTIONS SHOULD
BE MADE WITH FUllY INSUlATED
4.8MM FEMAlE SPADE CRIMP
CONNECTORS.
2. INSUlATE All EXPOSED MAINS
CONNECTIONS USING HEATSHRlNK
SLEEVES.
3. USE NYLON CABLE TIES TO SECURE
ACTM & NEUTRAl WIRES. z
III
t;; • NOTE: TRANSFORMER lEAD COlOURS ARE FOR THE
AlTRONICS M..t915A REFER TO TABLE IN ARTICLE FOR
SHEATH MAINS lEAD COLOURS FOR THE JAYCAR MT-2086.
SWITCH BODY WITH
HEATSHRINK SLEEVE
/ SPST FRONT
250VAC PANEL
ROCKER EARTH
SWITCH
J o-------------------------~----~--------------~~~~~~------------~----~
LEFT CHANNEL
AUDIO OUTPUT
RIGHT CHANNEL
AUDIO OUTPUT
· .. 0~ -0 0
~ ~
wiring is to be routed on the mains (left)
side of the metal partition. The Input &
DAC boards are mounted on M3 x lOmm
tapped spacers while the Power Supply
and Front Panel Boards are mounted on
FRONT PANEL BOARD untapped 6mm Nylon spacers.
disconnect the mains lead. Now cable. Note: do not apply power to the Connect your DVD player to the
install the +15V, av and -15V leads DAC board unless it is connected to TOSLINK1 input (or to the COAXIAL
between the Power Supply Board the Input Board via the 16-way cable. input if there's no TO SLINK output)
and the DAC Board. As before, use Once everything is in place, apply and check that the yellow S/PDIF LED
heavy-duty hook-up wire and twist power and check the ±15V supply rails lights when that input is selected. In
the wires together to minimise noise at the input to the DAC board. If these fact, the unit should automatically se-
pick-up. Secure the leads using cable are OK, check the +5V rail at the output lect that input if it was scanning. Now
ties as shown and tighten the terminal of REG5 on the DAC Board. Switch start playing a CD or DVD - the S/PDIF
block screws down firmly to ensure off immediately and check for errors LED should immediately turn off and
good connections. if any of these voltages are incorrect. the green DATA LED should come on.
Finally, check that these supply If all is well, the front panel LEDs If that doesn't happen, there may be
leads are correctly wired at both ends. should light as before. It's now just a a problem with the DAC (IC6), the 16-
The next step is to fit the 16-way mc matter of checking that the unit works. way cable or one of the parts associated
with the DAC chip. You should also also that you can adjust the volume use . Hook it up permanently to your
check the two BC327 PNP transistors from the Stereo DAC up and down us- system and you can now enjoy high-
on the Input Board and their associ- ing the VOL+ and VOL- buttons on the quality, hum-free stereo sound from
................
ated resistors. remote control. However, as explained your DVD player. st
Assuming that it all works so far, in Pt.l, it's best to set the volume from
switch off and connect the Stereo the Stereo DAC to maximum if you
DAC's outputs to an amplifier, turn the want the best performance and use
volume down and reapply power. Now the volume control on the amplifier
In response to a number of requests
play some content and slowly turn instead.
for balanced outputs, we have pro-
the volume on the amplifier up. You
Enjoy the sound duced a balanced output board with
should hear clean, undistorted sound.
XLR connectors. This will be pre-
Once you have verified that this That's it - your new Stereo Digital-
sented in the December issue.
works, test the other two inputs. Check To-Analog Converter is now ready for
item is purchased new. You would ing a good stock of modules is fraught in the Eddystone diecast box. Trying to
then get a rebate if you do the right with difficulty unless you specialise in get my head around this wasn't easy
thing when it comes to that product's a particular brand and model. but I eventually got it sorted out.
eventual disposal, somewhat similar Unless the government acts fast, I then had to borrow an old dizzy
to the recycling of soft-drink bottles in many independent service centres and a 'coil to test it and it worked fine,
South Australia. will simply cease operation and many so I actually made some money out of
The second problem is that repairers people will refuse to dispose of e-waste this job. In fact, if I get more of these
responsibly. in to repair it will be worth making
my own jig to test them.
Another Porsche COl Incidentally, Frank Zabkar wrote
As repairs to TV sets dry up to a in to inform me that the RCA power
mere trickle, we have had to turn transistor used in these cms is actu-
our hand to repairing other types of ally a 61019 (H8146 being the date
electronic equipment. And as often code, ie, year 1981 week 46) and
as not, that now involves repairs to that an NTE130 might be a suitable
car electronics. equivalent.
OVER ONE MILLION ELECTRONIC COMPONENTS FIND WHAT YOU NEED AT THE RIGHT PRICE FAST AND EASY TO ORDER ONLlNE
••••
~- ". .- .-. ,
'
')
.. - -
-
;/"
,"
r
/;
IIN:dI!@i;,JJ~~~~ro;~~ ;:::;~;.~~nfY
--
..
siliconchip. com.au NOVEMBER 2009 77
have digital inputs, meaning peak-to-
@@M@@[fUffiP@ ~[2 = ~[jj][J[]@1] peak voltages are much less critical.
The older analog type inputs (such as
in the VP Commodore) were very sen-
unit was located and fitted but to no and was exactly the same size (and had sitive to the sensor voltage whereas the
avail- the ABS lamp remained on and the same number of teeth) as the one newer digital systems actually count
the same fault code persisted. on the lefthand side. And in any case, the pulses from the sensor.
At this stage, we fired up the scope the sensors had already been swapped. This means that the actual voltage
and took a close look at the wave- What about the air gap between the itself is far less important and a dig-
forms coming into the ABS module. sensor and cog? On some vehicles this ital system probably would not have
This revealed that while signals were is adjustable but not on this one. The generated a fault code, as in the above
present for all four wheel sensors, the gap is critical and should be around example.
peak voltage output of the sensor in O.S-lmm (20-40 thou. for the non- A look into this car's history would
question was slightly lower than from metric). be good ifit were possible, because the
the other three. Apart from that, the This car, being a wagon, retained only likely scenario is that this fault
waveform itself was correct but at last the old-style live rear axle, so the has been with the car since manufac-
we had some sort of a clue. cog wheel was pressed onto the axle ture. You can just picture the boys in
But how could this be? We'd substi- shaft near the bearing retainer and the the new car warranty workshop, back
tuted both the sensor and the control sensor was located in a small flanged, in 1992: "Ohno, here's that damned VP
module and had checked the wiring tubular fitting welded to the axle again, with the ABS lamp that won't
between them, so what could possibly housing. The axle centre is fixed, the go out. We've replaced everything in
be causing the lower output. The sen- bearing has no lateral movement and the car except the wiring loom. Let's
sors themselves are a simple inductive so the sensor position is fixed. In other just pull the !@#$%" dash indicator
pick-up type and are one of the more words, it hasn't altered since the car globe out, that'll fix it".
reliable types available. was built 17 years ago. So the first owner no longer had
In practice, they are placed in close Despite this, we just had to measure a problem with the ABS fault lamp
proximity to a rotating toothed cog, the gap and compare it to the other coming on after the warranty "fix". But
which is fixed to the axle, rotor or hub side. Eureka! The gap measured over of course, it wasn't a real fix because
of the wheel concerned. The pick-up 2.Smm, yet the lefthand sensor's gap the ABS braking system that he'd paid
produces a pulse, the voltage (and was just O.Bmm. So what had caused his hard-earned cash for simply didn't
pulse-frequency) being proportional this to change (if that is what hap- work. What happens is that when
to the road speed. pened) and what's more, how do you the ABS controller sees a fault (and
If a wheel locks up or appears to be fix the problem? activates the lamp), the system shuts
rotating at a much lower speed than Well, it hadn't moved. Instead, it down and the braking system reverts
the other wheels while braking, the turned out that the flange and tube to "normal" (non-ABS) mode.
ABS system modulates (pulses) the had been incorrectly welded at the It wasn't until the new owner had
brake pressure to that wheel. This re- time of assembly in the factory jig. a lamp fitted to the socket that the
duces the braking effort to that wheel The only possible fix was to carefully problem was rediscovered - some 17
and therefore avoids dangerous brake grind 1.7mm of metal off the sensor's years later. I wonder how many other
lock-up and skidding. mounting flange , to bring the face of cars with strange electronic problems
Normally, the ABS control module the sensor closer to the toothed cog. like this are on our roads today.
"sees" that each wheel is rotating at And that fixed the problem imme-
the same speed, because the output of diately. The peak voltage from this Intermittent Mazda 323
each sensor is similar. But in this case , sensor was now the same as the from A common misconception among
the righthand wheel's sensor output the other three sensors. This cleared many car owners is that all electrical
was lower than the other three even the fault code and allowed the ABS problems generate fault codes in the
before any braking took place, so the fault lamp to switch off. ECU and are thus easily diagnosed.
fault code was logged. As an aside, it's worth noting that However, that's far from the truth.
So what was wrong? It had to be electronic braking systems are much A case in point was a Mazda 323
somewhere in the pick-up itself. The more reliable nowadays than the sys- which was recently towed into the
toothed cog in the pick-up was intact tem described above. Current systems shop. It was a mid-90s model that still
siliconchip.com.au
in recent years has been the increased
~@M@@[jj]j)a)Dif@ [1®[2 = @@lliJ[1JfJD[J[]@i] use of LED lighting. This technology
has been appearing from all quarters,
not only in new vehicles from the fac-
tory but also in aftermarket assemblies
for trailers and the like, as well as
r; '" replacement LED globes to substitute
"""1\
..-r .--- -....
for existing incandescent globes.
From memory, my first experience
'\.'\. with automotive LEDs was a repair job
@@@ on a spoiler-mounted brake light many
years ago. A slimline row ofLEDs were
neatly moulded into the trailing edge
~ If'"
of the car's boot spoiler but the owner
had discovered that it had suddenly
stopped working.
It was quickly established that 12V
was present at the boot-lid wiring
when the brake pedal was pressed, so
the fault was inside the moulded LED
assembly. Luckily the assembly was
easy to remove and it was discovered
\ that the fault was caused by several
cracks in the circuit board on which
\ the LEDs were mounted. Sitting out
in the hot sun and vibrating away in
j a vehicle's boot-lid spoiler is really
not the ideal environment for delicate
circuit boards or equally delicate sol-
der joints and the gradual ingress of
moisture doesn't help either.
The fix was to either obtain a re-
placement circuit board or attempt
to repair the existing item. We then
established that the supplier of both
the spoiler and, of course, the circuit
board was no longer in business, mak-
ing repair the only option.
As a result , we cleaned away all the
corrosion and then fully resoldered
~ every joint on the board. This meant
20 LEDs x 2 legs per LED (= 40 joints)
plus a few extra for the wiring. We then
repaired the cracks in the board mate-
'--....
w'f.. FOUND 'f..NOUGH 5'PA1<K ,0
A1<C-W'f..L-D
'H'f.. HUL-L- OF 'H'f.. U55 'f..N,'f..1<'P1<15'f..•••
rial with epoxy and reinforced it in the
appropriate areas. The assembly was
then resealed and fitted to the spoiler
and there were smiles all around when
Well, yes , he did but as a conven- but the cause was not even visible. it lit up like a Christmas tree.
tion in the motor trade, exchange dis- A rotor generally gives years of
tributors do not come complete with trouble-free service, especially with Substituting LED globes
a new cap and rotor. They do get a the modern plastics now in use. How- We are also seeing more and more
full overhaul, including new bearing, ever, we forget about the stress these owners fitting LED globes as substi-
seals, sensors, modules and whatever little jiggers live under. Around 50kV tutes for failed exterior lights, or per-
else needs servicing but no new cap of applied voltage and high under- haps to brighten up or modernise their
or rotor. They are supplied less these bonnet temperatures are a lot to ask of vehicle. The big problem here, espe-
two items and you just inspect and a small insulator less than 2mm thick. cially for tail, brake and blinker lights
reuse the existing parts if they are OK. It only takes an incident like this where compliance for roadworthiness
In this case, while the rotor looked to remind us how a simple and cheap is necessary, is that LED globes do not
OK , it was obviously cracked and component can let the side down. necessarily suit the reflectors designed
shorting internally. How frustrating for incandescent globes.
- not only was the fault often only LED lighting The simple explanation for this is
present for very short periods of time One trend in automotive electrics that an incandescent globe is omni-
ONlY S599 inc GST ONlY S819 inc GST ONlY Sl,169 inc GST
Sydney Melbourne Brisbane Adelaide Perth
Tel 02 9519 3933 Tel 03 9889 0427 Tel 07 3275 2183 Tel 088363 5733 Tel 08 9361 4200
Fax 02 95501378 Fax 03 9889 0715
email testinst@emona .com.au
Fax 0732752196 Fax 08 8363 5799 Fax 08 9361 4300
web www.emona.com.au EMOHA
siliconchip.com.au NOVEMBER 2009 81
f.I'S SYNf~Illlf)NIS1,rrIf)N
Derwent
This scope screen grab shows the output signal from pin This shows the signal from pin 17 of IC1 when the clock
17 of the microcontroller (lCl), with no load connected movement is connected. The voltage spikes_are created
and is measured with the centrepoint of the batteries as the by the clock movement's inductance, each time the drive
ground reference. current is reduced to zero. The spikes are effectively
clipped by the Schottky diodes, D3 & D4.
1
link from the clock 14 Ultimately, there is always a novel
!J.... ALKAUNE
veld
mechanism to the @ CELl solution, isn 't there? This is illustrated
junction of the two
batteries. Band C RB4 RB2~8
10
DATA FROM
EM..408
in Fig 2. One wire of the clock's coil
is taken to the mid-point between
are Schottky diodes RAl 18 the two batteries, nominally at 1.5Y.
used to clamp RAO 17 2700 The other is driven by an output of
voltage spikes .1(;: 1
created by the RIC ll ~ if81i the microcontroller. The chip has the
clock's coil. D Vss capability of driving the output to the
links the GPS data 5 positive rail, driving it to the negative
to pin 8, the hardware rail and thirdly, making it high imped-
7
UART built into ICI. ance and not driving anything. This is
depicted in Fig.2 as a centre-off switch.
O.625mA and dividing that into the cell. This option is not open to us as So now, during each clock pulse, we
capacity of an alkaline AA cell gives we need at least 2V (1 V per cell) to take the microcontroller's output high
a life of less than six months; not good power the microcontroller. or low as required and during the idle
and that does not include the small Incidentally, most clocks of this type period we make it high impedance.
drain of the microcontroller and the can only start with fresh batteries. If The clock's coil will see positive and
specified EM-40B GPS module. you remove and replace half-used negative pulses of 1.5V, with nothing
So how does the electronics in a batteries they will not have enough during the idle periods. This alternates
normal sweep hands clock manage to energy to get the hands moving again. the current consumption between the
deliver a reasonable battery life? In the It is this requirement to provide at two batteries and in one stroke almost
main they achieve it by continuing to least 2V to the microcontroller that is doubles the battery life!
operate at very low battery voltages, the problem for us. The clock coil only As you might suspect though, it
down to O.7V or so from the single needs to be driven by one battery and was not quite as easy as that. Didn't
K Q2 AA
01 lOOk 1100nF 8C337 ALKAUNE
10k
14 (6) CELl
veld
4 IMCIR
1----+---'t RA4 13 . 1;{.k AA
CON FIG
s14
1
"'. 8( I ALKAUNE .;t.
CELl 1
-=;nl
11IRB5 31 IC2 16
,
"G : ~ 2200 "I""
9 RB3
RA211
3V 5V
IC1
r .'ps(,OlTS
4.7k RI6 6LF88 7
© , IK
7 03
~
TA
.2~@
21RA3 1 EN EM ..108
10k 3 Rx GPS MODULE
RB4 10 4 Tx
2 GND TO
131T1OSC 1 RAl 18
i CLOCK
ru
RAO 17 MECHANISM
2700
12 noseo
LEDl(:ty
Vss
7 7 7 7
02-04: 1N5819
A~
:~ E ~~ 1 2345
A
7
EM..i08 ~t t t t t) PC BOARD
11 GPS SYNCHRONISED CLOCK SWEEP SECOND VERSION CONNECTIONS ./
Fig.4: just in case you're starting from scratch, here's the complete circuit diagram, reprinted from the March 2009
issue, with the four modifications referred to above. The wiring to CONI has also been corrected in this diagram.
~
g PRESS ON e original component
o ~ sT~P overlay for the GPS
-=-@ ~
Clock Driver.
GPSMODULE
2 x AACEU
o HOLDER
o
(±)
•
e•
o
Fig.6: and here is the
o o
opposite (copper) side
of the same PC board Z ~
e e • ·1 ~(:-)
;:{(~ . '-' •
showing the four
. modifications - also
O ee
u . .e .- . 0~ •
o
labelled A, B, C and D
to agree with those on
the circuit diagram.
GPS MODULE
(ON TOP SIDE)
U nr .n . r
,. J
.0..:.
2 xAACEU
No cuts are required to . ;' ·C:zg ·. :. r:® () HOLDER
(ON TOP SIDE)
0
copper tracks, just the 1"1 •
':' .
addition of two diodes, "C- .~
a wire link between
the pins of the micro-
n-'.' L~ o
controller and a new
wire connecting to the .. ... .=:. -=~--~~~---
'
~~ . .L ·
.--. •
.-- - -. 0
(,
•
junction of the two AA
batteries in their holder. o 00
(BOARD VIEWED ON COPPElI SIDE)
~~t:
:; = ::f-1 1 GlobalSat Technology EM-408 GPS
module *
~ Fig.7: construction of the cable that connects the clock 1 32.768kHz crystal (X1)
o controller to a standard PC serial port. You will need this 1 471lH high saturation inductor
if you want to change the settings. Note this is different to (Jaycar LF1274 or Altronics L6517)
UNK PINS the one originally published in March 2009 - use this one! 1 3.5mm stereo phono socket (AI-
4-6 AND 7-8
tronics P0096 or equivalent)
1 momentary push button switch
button when you insert the batteries. the original article in the March 2009
(Altronics SP0601 or equivalent.)
You also need to connect the clock to issue, we are repeating the construc-
1 dual AA battery holder (Altronics
your PC using the cable shown in Fig. 7 tional procedure here, along with the
S5027 or equivalent)
and run a terminal emulation program mods required to make the project work
1 18-pin IC socket
on your PC set to 4800 baud. Because with sweep second hand movements.
1 2-way header plug , 2.54mm pitch
we do not need to set the time zone All of the components for the GPS
1 2-way header socket, 2.54mm
or daylight saving, the menu is much Clock, including the GPS module and
pitch, PC-mount, 90° pins
simpler - see the screen grab of Fig.8. the AA cell holder, are mounted on
2 AA alkaline cells
The firm ware will also check for a a PC board measuring 140 x 57mm
flat battery and halt at exactly the hour and coded 04203091. The component Semiconductors
or half-hour position if the cells are be- overlay is shown in Fig.5. 1 PIC16LF88-I/P microcontroller
low par. Before you replace the battery Check the board carefully for .etch- programmed with GPS Clock
you need to set the hands to the next ing defects, shorted tracks or undrilled (0420309A).hex (IC1)
hour or half hour but hopefully you holes. Then install the four wire links 1 MAX756CPA DC-DC Converter (IC2)
will not have to mess with the second on the board and continue with the low Available from www.futurlec.com
hand because it should have stopped profile components, moving up to the 1 BC557 PNP transistor (Q1)
at the exact 12 o'clock position. transistors and capacitors. 1 BC327 PNP transistor (Q2)
If, after the clock has started, the When mounting the battery holder, 11N4148diode(D1)
signal level drops to a point that is too use double-sided adhesive tape or put 1 1N5819 Schottky diode (02)
low for the GPS module to get a lock a dab of glue on its underside before 1 3mm red LED (LED1)
on enough satellites, the clock will soldering it in. This will hold it se- CapaCitors
stop at exactly five minutes before the curely when you remove or replace
2 220llF 25V low ESR electrolytic
hour/half hour. Similarly, if the GPS the batteries.
(Jaycar RE6324 or Altronics R6144)
module stops running altogether the IC2 must be directly soldered to
1 1OIlF 16V electrolytic
clock will stop at 10 minutes before. the printed circuit board. Do not use
3 1OOnF monolithic
These indications make it easy to dif- an IC socket as the switching current
2 22pF ceramic
ferentiate between a low battery and through L1 is quite high and the volt-
something more serious. age drop through the socket contacts
Resistors (0.25W 5%)
In either event the firm ware will will prevent IC2 from working cor-
1 100kQ 1 22kQ 2 10kQ 24.7kQ
retry 10 times with a 4-hour delay rectly at low battery voltages.
11kQ 12700 12200 1470
between each attempt before it gives On the other hand, you should use a
up. This gives the GPS module plenty socket for ICl so that you can remove
of opportunities to come good. it for reprogramming. The PIC15LF88 Additional components required
Internally the firmware measures (IC1) must be programmed with the file for Sweep version:
time in eighths of a second. This allows 0420309A.hex which will be available 2 1N5819 Schottky diodes (D3, D4)
for much finer tracking of errors and from the SILICON CHIP website. 2 insulated wire links (see text)
control of where the clock's hands are The GPS module comes with a con-
pointing. Theoretically it will mean nector cable with identical connectors
a higher degree of accuracy although at each end. We only need one, so cut * The EM-408 GPS module specified
this is offset to some extent by the fact the cable in the centre. This will give suits the PC board pattern and also has
that most clocks with sweep hands you two separate cables, each with a an integral antenna.
will lose a fraction of a second when connector. It is available from www.sparkfun.com
they start up. This is something that On one of these cables you should (part number GPS-08234) , or www.
the firm ware is not aware of and can- bare the cut ends and solder them starlite-intl.com or www.coolcompo-
not correct for. to the PC board, ready for the GPS nents.co.uk and other suppliers).
module. Other modules may have different spac-
Assembling and modifying Solder in the 3-pin header for LK1. ing and require an external antenna.
the PC board Then install the jumper to select 3V
While many readers will have seen for the GPS module. This must be
done before the board is powered up. too much heat. Use a knife to clean a have some of these use desoldering
If you don't do this, pin 2 of IC2 will patch of metal on the connector and braid to pickup the excess solder.
float and might cause the IC to deliver use flux-cored solder to tin it first. Ap- All you need to do now is repro-
a lethal voltage to your GPS module. ply the soldering iron sparingly, half gram your PIC16F88 (or 16LF88) with
With the PC board completed, you a second at a time. You should then "0420309A.hex" which is available
now need to make four changes to it, be able to quickly solder your tinned on the SILICON CHIP website. When it
labelled A, B, C and D on the circuit wire to this patch. is reprogrammed, place ICl back in
diagram and (revised) component Even though the 2700 resistor looks its socket.
overlay. superfluous it should be left in place
Note that all changes are made on as the firmware will set pin 18 of the Testing
the copper side of the PC board. microcontroller to high impedance The original article provided a
and this resistor will prevent the volt- number of hints to help get the clock
A: Add an insulated wire from where age on this pin from floating, which is running and they apply equally to the
the 2700 resistor joins one pin of not a good thing for CMOS ICs. modified GPS Controller.
the clock connector socket (CON2) Check all your changes with a high This firm ware also has a new func-
on the underside of the board. This power magnifier, particularly looking tion in the setup menu that should
is illustrated as point A in Fig.6 for solder bridges between adjacent help with testing. It will run the clock
and we used a short length of blue pins on the microcontroller. If you do for an exact number of minutes and
light-duty hookup wire. The other
end of the wire goes to the centre
connection of the two batteries in
the holder.
B: Solder a IN5819 Schottky diode
(D4) between pins 17 and 5 of the
microcontroller with the cathode
(banded end) on pin 17.
C: Solder a second IN5819 diode
(D3) between pins 17 and 14 of the
microcontroller with the cathode
(banded end) on pin 14.
D: Solder a link between pins 10 and
8 of the microcontroller on the
underside of the board. This con-
nects the UART, as described above.
You should use a short length of
insulated wire to avoid shorting
the track that runs under the link.
Be very careful when soldering to Fig.8: the configuration menu is much simpler now we do not have to set the
the battery connector - the plastic daylight saving parameters. The Run command is new and makes it easy to test
will instantly melt with just a little the clock movement for reliability.
;--.
..
~
2N5819
....
r E
K
3000
..
.. 2200l'F +
AC
750""' 16V
+ 7 I PlUGPACK
SUPPlY
The circuit diagram of the complete masthead amp. You only have to wire
the power supply and connect the TV coax plug (shown here in green boxes). The case has four half-moon "clamps"
to hold cables securely when closed.
important that it introduces as littl e this one does even better. We'd be inclined to plug the unused
holes with silicone sealant to prevent
of its own noise as possible. The gain is also more than adequate.
insects and spiders getting in.
Over the whole VHF/UHF bands , from
Ready to build? TV channels 1-68, it's no worse than
This amplifier, from Oatley Elec- 26dB and is as high as 33dB. Again ,
tronics, covers both the VHF and UHF these are very good figures - much less
bands - in fact, significantly more than and you don't have enough gain; too
the TV band. Actual range is from much more and you risk not having
SOMHz to more than 1000MHz (IGHz). an amplifier but an oscillator!
It doesn't discriminate between analog
and digital signals - if they are there, Pre-assembled PC board
they will be amplified . You might have noticed from the
The performance of this amplifier is photographs that the PC board is
something to write home about. Based populated "vith surface-mount devices
on a couple of low-noise BFP67 tran- (SMOs).
sistors, the two-stage preamp has the Don 't panic: the good news is that
excellent noise figure of just 1.7SdB. the PC board comes ready built and
This compares very well indeed tested - all you need do is supply suit-
to most "out-of-the-box" commercial able power (lO-ISV DC) and connect
masthead amplifiers. It wasn't so long coax for your antenna and output. A worm-drive hose clamp fits nicely
ago that manufacturers used to be de- The PC board can be fed from a into the mouldings on the back of
lighted with a noise figure of 3dB . The 300Q or 7SQ TV antenna (most these the case to hold it firmly to a mast. A
better ones got into the 2-3dB range but days use 7SQ coax cable) or even from large cable tie could also be used.
Bunny ears
It is obvious that the original design
of the PC board was to act as an ampli-
fier for "rabbit ear" antennas and you
could do the same. Performance is
often so good that you can get away
without connecting an outside an-
tenna. (See how we modified a rabbit
ears antenna overleaf).
Once again that depends on your
location - topography and distance
The masthead amp mounted inside one of Oatley's HB4 cases which were
obviously intended to be used for ... masthead amps! from the transmitter play a major role
Opening the case (four screws) reveals We shortened the masthead amp board Short lengths of wire connect the
a balun and a lead weight. We don't a little to help it fit better, drilling new two "ears" to what's left of the 3000
need this balun so we discarded it. holes for the three balun wires. terminals - and that's about it!
DesignLink CAD aid Compact HMI module for direct panel integration
Farnell has announced Altium and drive contains an embedded Linux
EMA Design Automation have integrated with X-server and original Sun Java
Farnell's DesignLink, a new web service Runtime Environment (Java 6 J2SE).
environment that provides an electronic If desired the preinstalled software
interface to major CAD tools. can be extended with integrated data
DesignLink allows electronic designer logger, teleservice router as well as
engineers to immediately search and find virtual IP modem functions.
parts from within their CAD design envi- For connections with other systems
ronment, without ever having to leave the the EUI!57V offers numerous inter-
program. Altium Designer with DesignLink faces: 2x RS232, lx RS485, lx 10/ 100
offers engineers the ability to check local Mbps Ethernet LAN, lx CAN, 8x TTL
prices and delivery as well as vital product GPIO and 2x USB 2.0 host interfaces
attribute information. It will be available to The EUI!57V HMI module from with 480Mbps support. The EUI/57V
customers globally. Users of Cadence's Cutter Electronics is particularly suit- offers also a CompactFlash slot for
OrCAD in the United States can now see able for the integration in front panels removable data storage. All interfaces
similar information via EMA's Component of systems that are used in the area of are completely integrated into the
Information Portal (Cl P) a bridge software renewable energy. preinstalled software and can be used
to Cadence's OrCAD tool. It offers a complete touchscreen- directly from Java. se
based control unit with TFT-LCD and
Contact: forms an embedded PC platform with Contact:
Farnell an 800MHz low-power processor and CuUer Electronics Pty Ltd
72 Ferndell St, Chester Hill NSW 2162 a 5.7-inch TFT LCD with VGA reso- Unit 12, 137·145RooksRd, Vermont, Vic 3131
Tel: 1300 361 005 Fax: 1300 361 225 lution (640 x 480) besides a 4-wire- Tel: (03) 9873 5088 Fax: (03) 9873 5099
Website: www.farnell.com.au touchscreen. The internal 1GB flash Website: www.cutter.com.au
, 'i , "
rt. -.. . .", -,
= . _
Ubuntu, tells how to set it up, covers the various Open Of-
fice applications and gives troubleshooting hints and tips.
. . Highly recommended. 222 pages in paperback
to coast. Plus coverage maps, tv transmitter data
.. everything you need to know in the one place
for the first time!
NEWNES GUIDE TO
MICROCONTROLLER PROJECTS TELEVISION & VIDEO TECHNOLOGY
IN C FOR THE 8051 By KF Ibrahim 4th Edition (Published 2007)
It's back! Now in a new edition provides a full and com-
by Dogan Ibrahim. Published 2000. prehensive coverage of video and television technology
Through graded projects introduces the fundamentals including HDTV and DVD. Starts with fundamentals so is
of microelectronics, the 8051 family, programming ideal for students but covers in-depth technologies such
in Cand the use of a Ccompiler. Provides an as blu-ray, DLP, Digital TV, etc so is also pertect for
interesting, enjoyable and easily mastered engineers. 600+ pages in paperback
alternative to more theoretical textbooks.
178 pages in paperback.
SOLAR SucCESS
...u-f.i
. iM".''''' ..,·~
... '. m'T.;.<t
SOLAR SUCCESS - Getting it right SOLAR THAT REALLY WORKS - Motorhomes,
~ .. - '!-..- ..":....
every time by Collyn Rivers. 1st edition 5th Wheelers, Campervans, Cabins
The complete guide to home and property systems.
• 1" .
-~.' Covers the ramifications of lighting, fridges and freezers,
air conditioning, washing machines and driers and much
by Collyn Rivers. 2nd ed ition
All the information you need for successful solar installation
,r more on solar systems; also covers solar basics and how
in mobiles.An expert on getting the most out of solar systems,
:;1
5Dto conduct an energy audit. As reviewed in SILICON CHIP
Collyn Rivers dispels many of the myths and helps you get it
right when there is no mains power available.
, .... November 2008. 112 pages. As reviewed in SILICON CHIP November 2008. 82 pages.
', J
SILICON CHIP'S PERFORMANCE
ELECTRONICS FOR CARS Published 2004
If you ever wanted top performance from your car, this is the Even though it's six years old, there's a wealth of information in
book you need. 160 pages of technical background to give this 128-page softcover book for anyone who wants to build car
you a thorough understanding then 16 specialised projects projects: everything from electronic ignition systems to digital
85
tachos, headlight reminders and car alarms, a
subwoofer and even an an alcohol breath tester.
D
FET amps, electronic switching and more.
in paperback.
As reviewed in SILICON CHIP February 2004. S' 474 pages in paperback. fj~~~~
PRACTICAL RF HANDBOOK
PRACTICAL VARIABLE SPEED DRIVES by lan Hickman . 4th edition 2006
AND POWER ELECTRONICS The latest guide to RF design for engineers, technicians, students
by Malcolm Barnes. 1st Ed , Feb 2003. and enthusiasts. Covers key topics in RF: analog design principles,
An essential reference for eng ineers and anyone who wishes to transmission lines, couplers, transformers, amplifiers, oscillators,
design or use variable speed drives for induction motors. As modulation, transmitters and receivers, propagation & . .
reviewed in SILICON CHIP September 2003. 288 pages. antennas. IJ
279 pages in paperback.
."5
We asked our Zigbee guru, Telelink's Jack Chomley, to com-
Theoretical and practical aspects of controlling and measur- ment on this book and he said "Wow! This one is right up to
ing electromagnetic interference in switching power vu ...... "v v~'!III L date'. A lot of it is pretty in-depth but, accord ing
Includes flow-charts for building DC-DC :.II'!Io1llll:l" - to Jack, if you want to learn all about Zigbee .. I
converters and their magnetic compo- . ' you'd go a long way to find a better reference IJ
nents under typical wide-input supply than this one. 336 pages in paperback.
conditions. 503 pages in hard cover.
TV AND HOBBIES April 1939 to March 1965 AMATEUR SCIENTIST TWIN CD SET - ~. ,' ~."""
- Every article to enjoy once again on DVD·ROMI V3,O: Inclld. bonus se/nc. softrtarB IIb1aty"':,.., ~...::.-
«
This remarkable archival collection spans nearly three decades of Many thousands of copies now sold. Two incredible COs
Australia's own 'Radio and Hobbies'fRadio TV and Hobbies'. Every •
SCIENTIFIC
./ A.MERICAN
containing over 1000 classic projects, sourced from
. . .. article has been scanned into PDF format - ready to read at your
leisure on your computer (obviously, a computer OVO-ROM reader
. '. (
,
Scientific American over the past 73 years - and covering
every field of science. This new 'Or Shawn' edition is the
is required along with Acrobat Reader 6 or later). For history buffs, 'I'IIJ:~ :-_ 11 latest version - it's said to be even more user friendly
it's worth its weight in gold. For vintage radio enthusiasts, what could with much more information and data. Runs with any
be better? For anyone interested in electroniCS, this is one which you browser (on Win2000 or later). Recommended by the
MUST have in your collection! NB: Does not play on audio DVD players . National Science Teachers Association (USA).
Address_______________________________________________________________________________
Method of Payment: D EFT (ring or email for details) D Cheque/Money Order D PayPal D Visa Card D Master Card
YOUR ORDER (SILICON CHIP PRINTED EDITION SUBSCRIBERS# QUALIFY FOR 10% DISCOUNT (except on subscriptions!)
SIMPLY TICK THE ITEMS REQUIRED - ~ON'T FORGET TO FILL IN DETAILS ABOVE. WE'LL WORK THE TOTAL OUT FOR YOU AND SEND YOU A RECEIPT WITH YOUR ORDER
SILICON CHIP SUBSCRIPTIONS (all prices include P&P) SILICON CHIP BOOKSHOP (P&P additional - See below)
D AUSTRALIA 6 MONTHS (INC . GST) (NEW!) ......... . . . ..... $49.50 D AC MACH INES ... .. . . .. .. .... $66.00
D AUSTRALIA 12 MONTHS (INC. GST) . . . . . ................. ........ .... $94.50
D AMATEUR SCIENTIST CD .... .. $62.00
D AUSTRALIA 12 MONTHS WITH BI NOER (INC. GST) ....... ............ $111.00
D AUDIO POWER AMPLIFIER DESIGN . ..... ........ .. ... ......... .. $95.00
D AUSTRALIA 24 MONTHS (INC. GST) . . .......................... ..•. $182.00
D AUSTRALIA 24 MONTHS WITH 2 BINOERS (INC. GST) ...... $215.00
D DVD PLAYERS AND DRIVES . ..... $95.00
D NEW ZEALANO 6 MONTHS (AIR MAIL) (NEW!) . . . . . . . . . . $AU55.00 D ELECTRIC MOTORS ANO DRIVES. ....... ... .. .... ... .. ... .. ..... $60.00
D NEW ZEALAND 12 MONTHS (AIR MAIL). . . . . . . . .. . .. SAU99.00 D ELECTRON IC PROJECTS FOR CARS (2003 ).. .. ... . $12.95
D NEW ZEALAND 24 MONTHS (AIR MAIL) .... $AU196.00 D HANDS-ON ZIGBEE .. .. ................. ...... .. ............ ... . $96.50
D OVERSEAS (EXCEPT NZ) 6 MONTHS (AIR MAIL) (NEW!) ... . . .. $AU75.00
D MICROCONTROLLER PROJECTS IN C FOR 8051 .. . ........ ~ NOW $60.00
D OVERSEAS (EXCEPT NZ) 12 MONTHS (AI R MAIL) ...................... $AU135.00
D NEWNES GUIDE TO TELEVISION AND VIDEO TECHNOLOGy ..... $70.00
D OVERSEAS (EXCEPT NZ) 24 MONTHS (AIR MAIL) . . ......... ..... $AU260.00
D OP AMPS FOR EVERYONE (NEW 3rd EDITION!) .... ' " $~ NOW $120. DO
NEW! CONVENIENT AUTOMATIC SUBSCRIPTION RENEWAL: D PERFORMANCE ELECTRONICS FOR CARS... ....... ... $19.80
D Tick here if you'd like us to automatically renew yo ur subscription when it elapses
(ie, 6 month, 12 month or 24 month) . We 'll renew unti l you tell us to stop' D PlC IN PRACTICE .. .. ...... ... $65.00
BACK ISSUES/ARTICLE PHOTOCOPIES D PlC MICROCONTROLLERS - KNOW IT ALL.. ........ ... . ...... $90.00
",
eMAIL 124171 J:AX 124/7) PAYPAL 124/7) PHONE· 19·5, MOn·J:.i) MAIL
11. 11. 11. 11.
'IJ" slllcon@slliconchlp corn au
with order & credit card details
This lorm (or a photocopy) to
(02)99392648 with all details
Use PayPat to pay
sllicon@slllconchip.com.au
Call (02)9939 3295 with
your credit card details
This lorm to PO Box 139
Collaroy NSW 2097
•ALL ITEMS SUBJECT TO AVAILABI LITY. PRICES VALI D FOR MONTH OF MAGAZINE ISSUE ONLY. ALL PRICES INCLUDE GST 11/09
ASK SILICON CHIP
Got a technical problem? Can't understand a piece of jargon or some technical principle? Drop us a line
and we'll answer your question. Write to: Ask Silicon Chip, PO Box 139, Collaroy Beach, NSW 2097 or
send an email tosilicon@siliconchip.com.au
Changes to tested it was incapable of achieving the larger hysteresis band in order to re-
temperature ranges described in the duce 'chattering', simply increase the
Tempmaster original SILICON CHIP article. My unit value of the resistor between pin 3 of
I have just completed building the was only capable of reading between the comparator and LKl, from l.zkn
Tempmaster Mkz (SILICONCHIP, Febru- 4°C and appr oximately 15°C as built up to 1.5kn, 1.8kn or even z.zkn.
ary Z009), a very efficient design as I from the ki t.
previously had an incubator that had a I've pondered the problem and after Trickery with
Triac and ramp generator problem with doing the arithmetic I ultimately re-
the IC; it was a UK design. My question placed the 500n 10-turn potentiometer a projector
is, can the temperature range be up to (VRl) with a lkn unit, this certainly I was just wondering if you guys
40°C, as I need 37.5°C for incubating cured the temperature range problem. have been able to come up with a home
chickens? Currently it can only run My intention was to run the unit in made 3G signal booster (repeater) for
up to 19°e. What components need the heating mode and temperatures use in homes that do not have the best
changing? (G. F., via email). beyond 19°C were required and with 3G signal coverage.
The temperature range of the Temp- that change the unit worked well up Also, is there a way to make an in-
master Mkz can be extended up to a to a temperature over ZZO e. expensive replacement projector lamp
maximum of about 40°C by making My next problem occurred with the with LED lights instead of those hot
the following changes: unit being unable to switch cleanly lamps they currently use, or is there
(1). Reduce the value of the resistor and a given temperature setting. It a way to make the projector think that
from pin 3 ofREGl and test point TPl appears to me that the rate of change the old lamp (reached its ZOOO hours
from z.7kn to z.4kn. oftemperature/voltage in the LM335Z, limit) is brand new and just keep using
(Z). Increase the value of the resistor is too slow to enable precise switching it till it dies hard? (M. P., via email).
from TPl to the trimpot VRl from of the relay, resulting in a constant • We are unlikely to produce such a
3.3kn to 3.6kn. chattering as the sensor reacts to project since mobile phone boosters
With these values changed, use VRl very small temperature changes. Can are banned in Australia. However,
to set the voltage at TPl to 3.105V to you suggest alternate values for the they are available from overseas via the
achieve a temperature threshold of positive feedback resistors (lOMn and intern et. You might find that you can
37.5°e. l.Zkn) that would be suitable to create improve reception sufficiently if you
a sufficient differential between the just use a 3G antenna - also available
Increasing hysteresis reference voltage and the comparator? via eBay etc.
(W. G., Dunedin, NZ). There is no easy way to produce
in the Tempmaster • Replacing the 500n trimpot with a LED substitute for a HID projector
I have recently built the Tempmaster one of lkn is one of a number of ac- lamp. However, it is possible to reset
Mkz and while it basically worked as ceptable ways to increase the tempera- the "lamp hours" on your projector
described, one or two problems have ture range, so you chose well. to trick it into thinking the lamp is
arisen. When constructed and initially To provide the comparator with a new; you have to reset the "lamp
hours" when you install a new lamp.
However, be aware that when your
~~ltill~ projector lamp does ultimately fail,
there is the slight possibility that it
Greetings from the paradise that purchase or make a device that will may fail catastrophically and may do
is Kangaroo Island here in South work with kangaroos without affect- damage to your projector.
Australia. We are blessed with a vast ing say, sheep or dogs! Any ideas
and fascinating range of marsupials please? (G. H., via email). Query on
but unfortunately we also have a • We have not produced a circuit to
large range and number of cars on scare kangaroos from oncoming cars. AC-coupling
the island and the two are not a It would need to be very powerful to I have a technical query about your
good mix. I have been tasked with give the kangaroos sufficient time to "Infrared audio headphone link for
the challenge of seeing if there is an react and escape. And if kangaroos TV" project (SILICON CHIP, December
electronic high frequency sound that and other marsupials can hear it, Z007). What is the purpose of the
will harmlessly scare the kangaroos, it will be equally audible to sheep 100nF capacitor placed between the
possums and wallabies. I need to and dogs. NAND gate buffer and the integrator
in the transmitter circuit. I understand
RF MA ~po~r~~e~s~~~n!~;~~~~liis?s
KFX2-433 Keyfob Applications: KDEC-433 Relay
Code Hopping Transmitter ~~r.a l Relay Output R"f'"j\l"r
In Stock NOW! Utilities In Stock NOW!
Range: 1OOm Industrial LED Indicators
Power: 5mW Commercial 5 Relay NO/NC
1 to 5 Buttons Government Low battery indicator y
LED Indication of Transmit Security Systems Learns upto 16 Keyfobs
RADIOMETRIX: Low Power, Licence Exempt Radio Modules
RF Modules Australia. p.a. Box 1957 Launceston, TAS., 7250.
Ph: 03-6331-6789. Email: sales@rfmodules.com.au.Web:rfmodules.com.au
IIf?
There's something to suit every
WORLDWIDE ELECTRONIC COMPONENTS
PO Box 631, Hillarys, WA 6923
Ph: (08) 9307 7305 Fax: (08) 9307 7309
Email: worcom@iinet.net.au
radio frequency fan in the
SILICON CHIP reference bookshop
RF Circuit Design
- by Chris Bowick
A new edition of this classic RF
desi9n text - tells how to design
and Integrate RF components into
virtually any circuitry
'75
Practical RF H'book
- by lan Hickman
A reference work for technicians,
engineers, students and the more
specialised enthusiast. Covers all
the key topics in RF that you
need to understand
Practical Buide To
Satellite TV
- by Garry Cratt
The reference written by an Aussie
for Aussie conditions.Everything
you need to know.
'4B
You'll find many mora technical
titles in the SILICON CHIP
reference bookshop - see
elsewher e in this issue
See the V2 review in SILICON CHIP, October 2004. .. or read on line at siliconchip.com.au
This is Version 3 ... it's even BETTER!
HERE'S HOW TO ORDER YOUR COPY:
_ , BY PHONE:'
: (02) 9939 3295
'!.-; BY FAX:#
:; 0
(02) 9939 2648
@ BY EMAll:# BY PAYPAl:#
silicon@siliconchip .com .au PayPa/ silicon@siliconchip.com .au
<J>BY MAll:#
~ PO Box 139,
[ [ ] BY INTERNEl"
I siliconchip .com .au
~ 9·5 Mon·Fri ~ / 24 Hours 7 Days 24 Hours 7 Days 24 Hours 7 Days Collaroy NSW 2097 24 Hours 7 Days
• Please have your credit card handy! # Don 't forget to include your name, address , phone no and credit card details. 1\ You will be prompted lor required information
Exclusive in
Australia to: .com.au
* SAVE $$$Mea.umaX~
6'1 TOOLMASTER
ON ALL LEADING BRANDS *
~~1!!Q ~ " ,tnft!ttttt!IJ
, METALMASTER ' , WOODMASlER ' <!ii> Ingersol/ Rand
....eIedrabrake Easson
3 IN 1 SHEETMETAL MACHINE STICK &TlG WELDER WORK LAMP I
300 X 1mm $352 (S648) ARC 14011 • DC UGHT 35W 240V
$599 (S650) • DC TIG function LED Flexible
$1,089 (S652) • Electrode hot Work lamp
start & arc
force
$132 (L2814)
• Voltage &
Functions:
Ihermal
Bender.
Rolls &
4mmShear, $ overload
150mm Blade 8 9 (S186)
Guillotine
6.Smm Shear, $
JOOmm Blade 1 4 9 (S188)