Silicon ChipMarch 2004 - Silicon Chip Online SILICON CHIP
  1. Outer Front Cover
  2. Contents
  3. Publisher's Letter: We launch Silicon Chip On-Line
  4. Feature: Hawk-Eye: The Coming Revolution In Sport? by Ross Tester
  5. Project: QuickBrake: For Increased Driving Safety by Julian Edgar and John Clarke
  6. Feature: Transferring PC Data? – Put It On The Bus! by Ross Tester
  7. Project: 3V To 9V DC-DC Converter by Peter Smith
  8. Project: The ESR Meter Mk.2 by Bob Parker
  9. Feature: Hands-On PC Board Design For Beginners; Pt.2 by Peter Smith
  10. Project: Power Supply Demo Design by Peter Smith
  11. Project: White LED Driver by Stephen David
  12. Review: Escort 3146A Bench Top Multimeter by Peter Smith
  13. Project: PICAXE-18X 4-Channel Datalogger; Pt.3 by Clive Seager
  14. Vintage Radio: The little 1934 Astor Mickey by Rodney Champness
  15. Advertising Index
  16. Book Store
  17. Outer Back Cover

This is only a preview of the March 2004 issue of Silicon Chip.

You can view 20 of the 96 pages in the full issue, including the advertisments.

For full access, purchase the issue for $10.00 or subscribe for access to the latest issues.

Items relevant to "QuickBrake: For Increased Driving Safety":
  • QuickBrake PCB pattern (PDF download) [05103041] (Free)
Items relevant to "3V To 9V DC-DC Converter":
  • 3V to 9V DC-DC Converter PCB pattern (PDF download) [11103041] (Free)
Articles in this series:
  • The ESR Meter Mk.2 (March 2004)
  • The ESR Meter Mk.2 (March 2004)
  • The ESR Meter Mk.2; Pt.2 (April 2004)
  • The ESR Meter Mk.2; Pt.2 (April 2004)
Articles in this series:
  • Hands-On PC Board Design For Beginners; Pt.1 (February 2004)
  • Hands-On PC Board Design For Beginners; Pt.1 (February 2004)
  • Hands-On PC Board Design For Beginners; Pt.2 (March 2004)
  • Hands-On PC Board Design For Beginners; Pt.2 (March 2004)
  • Hands-On PC Board Design For Beginners; Pt.3 (April 2004)
  • Hands-On PC Board Design For Beginners; Pt.3 (April 2004)
Items relevant to "Power Supply Demo Design":
  • Power Supply Demo Design PCB pattern (PDF download) [04103041] (Free)
Items relevant to "PICAXE-18X 4-Channel Datalogger; Pt.3":
  • PICAXE-18X BASIC source code for the 4-Channel Datalogger with Humidity Sensor (Software, Free)
Articles in this series:
  • PICAXE-18X 4-Channel Datalogger (January 2004)
  • PICAXE-18X 4-Channel Datalogger (January 2004)
  • PICAXE-18X 4-Channel Datalogger; Pt.2 (February 2004)
  • PICAXE-18X 4-Channel Datalogger; Pt.2 (February 2004)
  • PICAXE-18X 4-Channel Datalogger; Pt.3 (March 2004)
  • PICAXE-18X 4-Channel Datalogger; Pt.3 (March 2004)

Purchase a printed copy of this issue for $10.00.

www.siliconchip.com.au March 2004  1 SILICON CHIP If you are seeing a blank page here, it is more than likely that it contained advertising which is now out of date and the advertiser has requested that the page be removed to prevent misunderstandings. Please feel free to visit the advertiser’s website: www.jaycar.com.au Contents Vol.17, No.3; March 2004 www.siliconchip.com.au FEATURES 7 Hawk-Eye: The Coming Revolution In Sport? How fair was that LBW decision? Would the ball really have hit the stumps? Was that fast serve in or out? Hawk-Eye removes the doubt – by Ross Tester 16 Transferring PC Data? – Put It On The Bus! Say goodbye to Zip disks – flash disks are much smaller and more convenient. Just “hot-plug” them into a USB port and you’re set to go – by Ross Tester 66 Hands-On PC Board Design For Beginners; Pt.2 Using the basic features of Autotrax and creating a simple PC board design. There’s also info on creating your own component libraries – by Peter Smith QuickBrake: For Increased Driving Safety – Page 10. 76 Review: Escort 3146A Bench Top Multimeter High-spec unit boasts 5-1/2 digits – by Peter Smith PROJECTS TO BUILD 10 QuickBrake: For Increased Driving Safety Simple project turns your brake lights on faster than you could ever apply them, to reduce rear-end shunts – by Julian Edgar & John Clarke 24 3V To 9V DC-DC Converter Don’t buy expensive, short-lived 9V batteries. This little DC-DC converter is adjustable and lets you use two AA, C or D-size cells instead – by Peter Smith 58 The ESR Meter Mk.2 Forget about capacitance meters; an ESR meter is the way to go when it comes to identifying faulty electros – by Bob Parker Adjustable 3V To 9V DC-DC Converter – Page 24. 70 Power Supply Demo Design Simple DC power supply provides a well-regulated output voltage in the range from 1.2V to 37V. And it’s all on a small PC board – by Peter Smith 73 White LED Driver Efficient circuit runs off 12V and drives up to 30 white LEDs. It can even switch on automatically when darkness falls – by Stephen David 78 PICAXE-18X 4-Channel Datalogger; Pt.3 Adding a humidity sensor, more memory and an LCD – by Clive Seager White LED Driver – Page 73. SPECIAL COLUMNS 34 Circuit Notebook (1) Signal Meter For Weather Satellite Receiver; (2) Car Battery Failure Detector; (3) Switch Timer For Bathroom Light; (4) Model Theatre Lighting Dimmer; (5) Fully Adjustable Power Supply; (6) 4-Wire Stepper Motor Driver 38 Serviceman’s Log It’s been a Panasonic month – by the TV Serviceman ESR Meter Mk.2 – Page 58. 82 Vintage Radio The little 1934 Astor Mickey – by Rodney Champness DEPARTMENTS 2 4 55 57 Publisher’s Letter Mailbag Product Showcase Silicon Chip Weblink www.siliconchip.com.au 88 92 93 95 Ask Silicon Chip Order Form Market Centre Ad Index March 2004  1 PUBLISHER’S LETTER www.siliconchip.com.au Publisher & Editor-in-Chief Leo Simpson, B.Bus., FAICD Production Manager Greg Swain, B.Sc.(Hons.) Technical Staff John Clarke, B.E.(Elec.) Peter Smith Ross Tester Jim Rowe, B.A., B.Sc, VK2ZLO Reader Services Ann Jenkinson Advertising Enquiries Leo Simpson Phone (02) 9979 5644 Fax (02) 9979 6503 Regular Contributors Brendan Akhurst Rodney Champness, VK3UG Julian Edgar, Dip.T.(Sec.), B.Ed Mike Sheriff, B.Sc, VK2YFK Stan Swan SILICON CHIP is published 12 times a year by Silicon Chip Publications Pty Ltd. ACN 003 205 490. ABN 49 003 205 490 All material copyright ©. No part of this publication may be reproduced without the written consent of the publisher. Printing: Hannanprint, Noble Park, Victoria. Distribution: Network Distribution Company. Subscription rates: $76.00 per year in Australia. For overseas rates, see the subscription page in this issue. Editorial & advertising offices: Unit 8, 101 Darley St, Mona Vale, NSW 2103. Postal address: PO Box 139, Collaroy Beach, NSW 2097. Phone (02) 9979 5644. Fax (02) 9979 6503. E-mail: silchip<at>siliconchip.com.au ISSN 1030-2662 * Recommended and maximum price only. 2  Silicon Chip We launch SILICON CHIP On-Line This month, we are officially launching our new website and the on-line version of SILICON CHIP. Some years ago, I wrote an editorial stating my opinion that the Internet was a money vortex and that few companies had made money from their web activities. That is still largely true for many companies so this new venture represents a leap of faith for us. However, the new site has been going since December 2003 and already the indications are favourable. “SILICON CHIP On-line” is available at our existing website address at siliconchip.com.au (no need to type in the “www” bit). There you will find all the issues of SILICON CHIP going back for about two years. As time goes on, we will extend this. About a week after this print issue goes on sale, you will find the articles also available on-line, together with our other services such as software and PC board downloads, article indexes (features and projects), errata and so on. Soon, you will also be to be subscribe to the print edition and order back copies on-line, as well as purchase books and binders. Creating and maintaining a website as large as siliconchip.com.au and publishing the on-line edition is not a zero-cost exercise. Nor is the production of our regular monthly print edition. Either way, these costs have to be recouped, so the bad news is that this on-line service is not free. In principle, the cost of reading an issue will be the same, whether you read it on your computer screen or buy the print edition issue at your newsagents – or subscribe. Some articles are available free while with the others you can read the first page and then you have to reach for your credit card to gain access to all the articles in a particular issue. Please have a look at the site and you should it find it pretty easy to follow. The on-line edition of SILICON CHIP is being produced by Web Publications Pty Ltd, who also produce a number of other on-line magazines. They are pioneers in this area, having produced Autospeed, an on-line only car magazine, for five years. Initial reactions indicate that most of our existing readers will probably prefer the print edition – you can read it at any time (in bed, on the train or bus, wherever) and you can file it away for future reference. On the other hand, for people overseas, those in remote areas and those who want immediate access to magazine issues (rather than waiting for them to come through the mail), the on-line service will be preferred. By the way, our site is fully searchable so you should be able find any article we have done, providing you feed in the appropriate key word. In fact, feeding the appropriate key word into www.google.com will often bring you to the relevant article on siliconchip.com.au. Failing that, do a search of our article indexes and you should find what you want (provided we have published it). So have a good look through the site. If you are a relatively recent convert to SILICON CHIP, you should find many articles that you have not seen before. Eventually, all the articles we have published will be available for access. This is great because it means that a great many articles will no longer be lost and forgotten, as they presently tend to be. We hope you like our new website and the on-line edition. And if you think some aspect could be improved, don’t hesitate to email us. Leo Simpson www.siliconchip.com.au Computer bits? We’ve got the lot! LCD Monitor Arm Holds 14”, 15” & 17” LCD monitors. Supports up to 8kg. 3 in 1 design desktop, wall and clamp mounting. Standard VESA mounts. Cat 4666-7 Monitor Arm $99 Cat 4666 DVI KVM Switches A KVM switch to share a DVI monitor, PS/2 keyboard & mouse with two computers. Cat 11663-7 2 way DVI PS/2 - KVM Switch $169 This USB connected phone allows free calls across the internet using third party software. Just plug into a USB port, no drivers needed. Operates with NetMeeting, MSN Messenger, Skype etc. Cat 10129-7 USB Net Phone $89 Cat 17074 Cat 1149 This very small footprint computer measures only 330x280x100 and utilises a standard ITX motherboard Cat 1149-7 $499 Micro Footprint PC For mobile or remote site applications, this computer only needs a 12 Volt suppply Cat 1150-7 $749 12 Volt Embedded PC Cat 11907 Go hands free with your bluetooth phone. Cat 11907-7 Head Set $199 Lets your computer receive information and control a large range of external devices even from a remote location. Cat 17074-7 8 CH Opto DI 8 CH Relay Output PCI Dec $399 Micro Computers/PXE Terminals USB Net Phone Bluetooth Head Set Opto In Relay Out PCI VGA Splitters Bluetooth Serial Cable Replacement Cash Drawer This module is unique! Turn any serial device into a wireless device with this bluetooth adapter for the device end Cat 11908-7 Serial Cable $459 Replacement Device A robust metal construction casing with adjustable dividers for four or five compartments, and a separate coin tray. Compatible with Star, Epson and Citizen POS printers Cat 8897-7 Cash Drawer $199 Pole Displays Front Access PC Card Drive This unit is an ATA Flash card drive which connects to the IDE connector of a standard PC. It reads full size ATA flash cards and supports Win98/ME/2000/XP. Cat 6668-7 PC Card Drive Hot Swap $99 Front Access PCMCIA Drive Cat 6482 This “drive” supports two type I or one Type II card with full PCMCIA compatibility. Cat 6482-7 PCMCIA Drive Front Access $321 Cat 6523 PC CardBus Sockets Transfer your PC CardBus (32 bit) and PCMCIA (16 bit) based data to your desktop PC. This “drive” has two rear slots and supports Type I, Type II and Type III PC Cards. Cat 6523-7 PC CardBus Drive $199 These customer displays are designed for POS application and are driven from a serial port. Cat 8728-7 POS customer display 11.2mm $359 $269 Cat 8907-7 POS customer display 9mm Cat 4658 Cat 8907 POS LCD Monitors When space is at a premium these POS displays will do the job. With a resolution of 800 x 600 they connect directly to a VGA output. An integrated touch screen is optionally available. Cat 4658-7 12.1” LCD Monitor $969 $999 Cat 4683-7 10.4” LCD Monitor Citizen POS Receipt Printers These quality Citizen printers offer a reliable solution for the most demanding POS situations. Bi-directional and available in both Serial and Parallel. Cat 5694-7 IDP3420 with tear bar - Serial $479 IDP3420 with tear bar -Parallel $479 Cat 5695-7 Cash Registers Affordable Registers for small retail and speciality stores, with highly visible operator displays. Cat 1008129-7 Sharp XE-A101 $289 $589 Cat 1008138-7 Sharp XE-A202 USB Smart Card Reader/Writer The package includes API Library, Demo Program and Demo Source code and is suitable for applications in security control, loyalty programs, EDI, Kiosks, PKI and eCommerce etc. Cat 8981-7 Smart Card Reader/Writer - USB Fast POS Thermal Printer $139 Dual Video Capture Card Cat 1008138 A very fast thermal printer with extremely easy paper loading. It literally churns out the receipt at 180 mm/s. Comes with a parallel Interface. Gray or Black available. Cat 9177-7 POS Thermal Printer $799 Watch Dog Timer If your application program locks up, these watch dogs will apply a hardware reset to the computer after a selectable period. Cat 17070-7 Watch Dog Timer Card PCI $332 $199 Cat 17084-7 USB Auto reset - Watchdog Touch Screen Overlay for 15in LCD This touch screen fits over the front of an LCD display and connects to the PS/2 port of a pc. Mouse software drivers are included. Cat 4353-7 Monitor Touch Screen PS/2 $699 Throw away your old fashioned keys...use RFID $199 $259 $379 Cat 1008079 RFID (Radio Frequency Identification) is the new contactless way of opening doors, tracking goods, etc. Cat 1008082-7 Electrically operated door lock Cat 1008081-7 All in one controller & sensor Cat 1008079-7 Stand alone controller Cat 1008080-7 RFID reader 80mm range Cat 1008057-7 RFID reader 200mm range Cat 1008108-7 RFID reader RS232 connection Cat 1008083-7 RFID card 0.8mm thick Cat 1008058-7 RFID card 1.8mm thick Cat 1008059-7 RFID key-tag $189 $349 $269 $209 $269 $199 $4.50 $3.25 $6.50 RFID & Finger Print Readers Control access to your premises and maintain a record of all comings and goings. Virtually any combination of Keypad PIN, RFID tag and/or fingerprint reader can provide the level Cat 1008142 of security you choose. Optional access managment software allows control via an RS232 or RS485 link to a PC.. Cat 1008142-7 RFID & Finger Print Reader/Controller $1,999 Cat 1008143-7 RFID Reader/Controller - LCD Display $549 $399 Cat 1008145-7 Access Control Software Cat 9177 Cat 5448 Bar Code Laser Gun An integrated DV (digital video) and AV (analog video) input all-in-1 PCI interface card. Cat 3526-7 Two in One - DV and AV $249 These splitter modules enable multiple monitors to share the same information off a host PC simultaneously. The units also boost the VGA signal allowing distances up to 75m from the local machine. Cat 3070-7 VGA Splitter 2 way Max Distance 75m VGA Splitter 4 way Max Distance 50m Cat 3055-7 VGA Splitter 8 way Max Distance 50m Cat 3056-7 A very competitivey priced laser bar code reader with excellent performance - and it looks the part too. It will interface as a keyboard Cat 1008039 wedge, USB or serial device by simply changing the configuration and the cable. Cat 1008039-7 Bar Code Laser Gun $399 Omni-Directional Laser Scanner Get the same bar code reading capability as the big super markets! An affordable, vertically mounted, small footprint, omni-directional laser scanner. It is ideally suited to checkouts of all types, eg newsagents, convenience stores etc. Cat1008085-7 Omni-Directional Laser Scanner $999 Business Card Cutter Design, print and cut your own business cards. Our kit consists of Business Card Design Software, 50 sheets of high quality business card paper (500 business cards) and a business card cutting machine. Cat 5448-7 Business Card Cutter $249 Cat 3496 Surveillance Equipment Keep an eye on things with our range of surveillance equipment. Cat 3429-7 4 Camera Input Kit $899 Cat 3491-7 Dome Style colour camera $249 $96 Cat 3489-7 Dome Style B&W camera Cat 3496-7 B&W camera - IR Illumination $114 IP Addressable Cameras Run an ethernet connection straight from the camera to monitor your video feeds locally or remotely. Cat 3487-7 Cat 5 connected camera $669 $1099 Cat 3475-7 Wireless camera Thin Client Terminals! We’ve got them for Serial, Ethernet, Windows Based and Linux applications MicroGram Computers Ph: (02) 4389 8444 FreeFax: 1800 625 777 Vamtest Pty Ltd trading as MicroGram Computers ABN 60 003 062 100, info<at>mgram.com.au 1/14 Bon Mace Close, Berkeley Vale NSW 2261 All prices subject to change without notice. For current pricing visit our website. Pictures are indicative only. See all these products & more on our website...www.mgram.com.au SHOREAD/MGRM0304 Dealer inquiries welcome MAILBAG Valve preamp feedback defeats the purpose I cut my teeth on valve amplifiers and have been repairing them for musicians ever since. Despite that, I totally agree with the last line of your Publisher’s Letter in the November issue – if you compare the LM833 with any valve, it’s no contest. If you want fidelity, you don’t use valves. But I’ll leave that debate to others. What I’m really wondering is who will use your valve preamp design and for what? Instead of a normal opening stating the need or inspiration we have a hint in the editorial about interested experimenters, and at the tail of the article that “guitarists” might be interested in valve sound. You do concede that valves can still be legitimate electronic components, and you cover valve theory quite well, but why the big back-flip? Valves still have some very useful advantages as input amplifiers such as being almost indestructible by input overvoltage, combined with almost infinite input resistance. For guitarists, there is a moderate (3-5%) second harmonic distortion caused by the inherent non-linearity of the transfer characteristic (your Fig.3 p26). This is progressive over the signal swing and not to be confused with clipping, soft or otherwise. But your valve preamplifier design very effectively irons that out flat! (Figs.5, 6 & 7). A Fender “Stratocaster” guitar fed into a Fender “Twin-Reverb” is considered a classic and practical situation. The input stage of valve guitar amplifiers like the “Twin” are, almost without exception, are as shown on the left of your Fig.2 (page 25, November 2003). The only feedback applied is DC from the cathode resistor; no AC feedback at all. They normally lack the 100pF topcoupling capacitor in the input on the simple reasoning that neither the speakers nor the guitar have much output above about 5kHz. Despite this apparently seriously “nasal” bandwidth, this rig can produce ear-splitting highs. I’m no “feedback purist”. I’m just pointing out that the “classic” (ie, dis4  Silicon Chip torted) sound comes from NOT having feedback for linearity. Roly Roper, via email. Valve guitar sound is desirable I’m writing to congratulate SILICON CHIP for publishing the Valve Preamp project in the November 2003 issue. I play guitar in a band and have designed and built two all-valve guitar amplifiers, a 2-channel 50W rack-mount monster and a small 4W “combo” amplifier, which I am happy to say were either built using easy to obtain (within Australia) components or salvaged parts from old radios. I assume that most of the people who will build the valve preamp kit will either fall into the category of musician or hifi enthusiast, and I would like to offer one or two comments. The idea of “Valve Sound” (at least as far as guitar amplifiers are concerned) is something made up from a number of contributing factors, one of the most important of which is the output transformer. They are big and heavy and a prime source of high harmonic distortion but that’s the whole point of that sound! The user wants high levels of harmonic distortion and the perceived warmth of valves is due to high levels of second and third harmonic distortion, which in a tube guitar amplifier is desirable. Coupled with a high gain preamp (three or more triode stages) and a pentode or triode output stage (push-pull configuration is the most common), this creates the overall valve sound that many guitarists will shell out megabucks to obtain. Also, in regard to Leo Simpson’s comments about the prohibitive cost of a 60W all valve guitar amp/speaker kit, a price of around $1000 is peanuts compared to something similar available commercially. A quick scan through some of my mail order music catalogs reveals prices floating around $1800 $3500 for a 60W guitar amplifier. I would hazard to guess that there would be quite a few readers willing to part with $1000 to obtain a valve guitar amplifier that they could build themselves. Andrew Curtis, via email. Digital TV dropouts I would like to add a few comments to the current debate about Digital Television. I have owned one of the early Thomson set top box (STB) decoders for quite a while and have recently been given a PC/STB combination unit. Both perform very well with very good picture quality but they both will drop reception when the signal is not quite up to scratch. By not up to scratch, I mean an equivalent analog signal from the same antenna, that can only be described as perfectly adequate, can still produce intermittent dropouts. Recently I spent a few days at a house in Pacific Palms near Forster, NSW. As I knew the TV reception at that location was marginal and a check on the DVB website indicated the ABC digital transmission was available, I decided to take the small decoder to try it out. The ABC analog transmission is on a VHF-Hi channel and is a little noisy and has some ghosting. To my surprise, the decoder worked and produced a first-class picture until the dropout problem struck again. The decoder would stop working, sometimes every few seconds. Sometimes it would go for many minutes without dropping out; working consistently it was definitely not! The point I am trying to make is that when analog is switched off, a lot of people will have to invest in satellite TV or have nothing usable. It is thoroughly annoying to watch a perfect digital picture and have the sound drop out frequently. All this early talk about being able www.siliconchip.com.au to watch digital signals in marginal areas, even in a moving car, is absolute rubbish. The signal quality needs to be better than good in my experience. Recently, I walked into an electronics store at Warringah Mall, in Sydney. There are a number of STBs on display there, all working, and guess what – all dropping out every now and then. Things will need to work better when analog is turned off! Horst Leykam, via email. Happy with 12AX7 valve preamp I’ve recently completed the 12AX7 valve preamp from the November issue and I am quite delighted with it. I am using it with my wideband audio, double-tuned crystal set tuner for the AM broadcast band. The high input impedance of the valve preamp is ideal for the application and the valve preamp drives the line level input of my transistor power amplifier and speakers. As suggested in the SILICON CHIP article, this preamp doesn’t really have the “warmth” of a typical valve preamp (second harmonic distortion?). However, in comparison with my standard line preamp, using an NE5532 low noise op amp, the valve preamp has a much more “open” sound that is an absolute pleasure to listen to. Possibly this is due to the typically heavy use of negative feedback in op amp circuitry, compared to the somewhat lesser use of negative feedback in the valve design. Whatever the reason, the preamp sounds very nice. By the way, in my version, the ferritecored transformer hisses quite audibly during operation. Is this normal? Felix Scerri, Ingham, Qld. Comment: the line version of the preamp featured in the February issue would be more appropriate to your application. It is normal to hear some “frizzle” from the step-up transformer. UHF to VHF converter In the December 2003 issue (p91), W. B. asked about a UHF-to-VHF converter. I made such a converter some years ago when SBS first started transmitting and my old TV did not have a UHF tuner. I purchased a scrap UHF tuner with a mechanical capacitor tunwww.siliconchip.com.au ing circuit. I reduced the capacitance by carefully separating the vanes of the variable capacitor until the output of the mixer was in the VHF range instead of the original UHF tuner IF output. I then connected this new output to the antenna input on my VHF TV and presto – a down-converter which produced a very good picture. By fiddling with my UHF tuning capacitor modification I was able to get fairly good tracking, allowing me to tune in other UHF community stations and watch them on a spare VHF channel (I think I used Ch. 0 because it would have been the lowest frequency). The whole job was done with no test equipment at all; just a good background in electronic theory, some youthful enthusiasm and some luck. The whole thing (TV, tuner, etc) went in a garage sale many years ago. I wish I had kept it, for sentimental reasons. Brad Fuller, via email. PCB design tutorial I have read David Jones’ tutorial articles on PC board design and I enjoyed them. As someone with a reasonable amount of design experience, I found them a “refresher” course. I do have some comments though. For information on the silkscreen, component values and/or designators are fine if there is room for them but I find that with tight layout and tiny components, there quite often isn’t room to put anything. So one has to prepare separate manufacturing drawings of the PC board showing at least the designators. Even on manufacturing drawings there may not be space to put the component values. I do disagree with the comment that back annotation is rarely needed. When preparing the net list, all the components have to have a designator. In all but the simplest of boards, you can’t know where the components are going to be on the board. So when the board is laid out, the components in terms of an ordered placement against designator are all over the place, which on any reasonable sized board makes hand assembly difficult, as a lot of time is wasted locating the component. So the re-annotation feature of the PCB package is used to re-assign the component designators in an orderly March 2004  5 Mailbag: continued arrangement, in one of a number of arrangements of increasing rows and columns. Then this new annotation is passed back to the schematics. Note that the re-annotation may not be perfect. On the program I use, an occasional component will be out of sequence. This happens particularly with resistors and capacitors. Regarding the choice of PCB file format, anything Protel is certainly fine for local manufacturers. But for overseas manufacturers, it’s been my experience that Gerber is the preferred format. At my work, when we get prototype PCBs made locally, we send Gerber files. This acts as a cross-check that the files are correct, as these files will be sent to the overseas manufacturer. It is also an additional protection of intellectual property, as none of the component information appears in the files. This is not to denigrate in any way the integrity of the local manufacturers; it is the old story of not supplying more information than you have to. Ian Johns, via email. Amplifier design philosophy questioned I have a few unrelated comments about audio amplifiers. I note with some interest your 350W amplifier in the January 2004 issue. One design detail in complementary symmetry amplifiers of this sort has puzzled me for some time. Is it really necessary to have a 10Ω resistor between signal ground and the real DC return earth? This must surely assume the input to such an amplifier always has a floating ground, which will not necessarily be so. Thus, the output from an external preamp or equaliser of some sort feeding into an amplifier like the Studio 350 is very likely to have a signal earth that is also at DC earth return (usually the chassis or equipment housing). If both pieces of equipment have a mains earth, this will effectively short out your 10Ω resistor. What then? Your article on the Studio 350 could say more about the choice of output transistors and the considerations that drove this choice. To know this would be of some interest. 6  Silicon Chip I do not understand why three key performance measures are not included in the performance data for amplifiers like the Studio 350. They are: (a) power bandwidth, which is rather more meaningful than small signal (1W) frequency response. After all, a small signal bandwidth from DC to daylight is of little use if the slew rate is poor; (b) intermodulation distortion and transient intermodulation distortion, both of which are perceptually intrusive; and (c) power supply performance under full power tone bursts. Yes, I’ve seen the very impressive scope picture but what happens on longer tone bursts at full power? Does it sag? Is the regulation of the supply well damped? I do not understand the emphasis you place on ultra low harmonic distortion performance. Sure, getting this down to 0.1% or a bit better is important but beyond that, given the distortion levels in signal sources and transducers, could anyone hear the difference? Would it not be better to minimise intermodulation distortion (static and transient)? On a completely different topic, I am constantly amazed at the extraordinary science fiction written about valve amplifiers. I am forced to conclude that much of it is more about being part of a cult than about pursuing serious engineering science. Over 40 years ago, I was involved in designing hifi preamps and power amplifiers (see Miniwatt Digest for 1962 or thereabouts) and I still have a very clear view of the real limitations of valve amplifiers – not least the horrible things that happen in output transformers. My colleagues of that era would be astonished at some of the claims being made today! I have even read apparently serious discussions on the web about the big (?) differences in the sound produced by different brands of the same output tube! Give me a break! Emeritus Professor J. E. Clark, via email. Comment: the 10Ω resistor is included in the signal earth return in order to improve the separation between channels when the module is used in a stereo setup – it reduces the circulating currents which inevitably occur when a stereo source is connected and when both modules are powered from a common power supply. It can be omitted in a mono set-up. We did not dwell on power transistor choice as it would have made the article a lot longer. But for power output versus cost, the ones we chose are pretty good. There are some bigger power transistors used in Japanese amplifiers but they are harder to get and more costly. Power bandwidth is more meaningful than frequency response at 1W but far more difficult to measure, particularly if you don’t want to overload components in the output filter, not to mention the increased power dissipation in the output transistors themselves. Of course, we also do distortion runs versus frequency at high power but only up to 20kHz and since distortion is always low, slew rate limiting does not come into the picture. We can easily do intermodulation testing but we have always found that if THD is very low, then so is intermodulation. TID is more difficult to measure but if there is bandwidth limiting at the input, TID should never be a problem. If we were to publish all these tests it would make already large articles much larger. Longer tone bursts would inevitably lead to sagging as the simple power supply is not particularly well regulated. We do not believe there is much value in really “stiff” power supplies – there is no audible benefit and the cost is much higher. Partly the emphasis on extremely low THD is because we can! If the THD of bog-standard CD players is as low as .001% (or lower) then ideally the THD of the amplifier should be much less. Yes, the distortion in speakers is going to be much higher but that will not necessarily mask the distortion from amplifiers. Indeed, high order harmonic products from amplifiers can be heard at extremely low levels in quite ordinary loudspeakers. Our 15W class A design from July 1998 has the lowest THD we have ever measured. It is also the best sounding amplifier we have ever heard – the clarity has to be heard to be appreciated. On that basis alone, we feel justified in always striving for the very best THD performance. SC www.siliconchip.com.au The Coming Revolution in Sport? I f you’ve been watching the cricket or tennis on TV this summer, you’ll no doubt have seen (and heard of) Hawk-Eye. Just how does this allseeing, all-knowing electronic “eye” do its thing? For those who have been too absorbed in the 20th movie repeats of the summer to watch live sport, perhaps a word or two of explanation: HawkEye is an electronic umpire, able to tell (for example) whether a Brett Lee screamer would have hit the stumps had it not hit the pads of a hapless batsman. Or whether a Roger Federer www.siliconchip.com.au 190km/h serve did clip the line, regardless of the fact that the linesman called it out. Hawk-Eye is of course capable of a whole lot more, as we will shortly see – but you get the picture. by Ross Tester It is the brainchild of Dr Paul Hawkins, a 29-year-old PhD who developed the unique system for his employer, Roke Manor Research (itself a division of Siemens), in Romsey, Hampshire, England. In a nutshell, Hawkins took the extensive research which went into Roke’s military tracking system (the single-camera RAPiD system, a model based tracking system which was born out of developments in civil robotics) and applied it to the 3-D, multi-camera world of tracking a ball in flight. Interestingly, Roke developed the military tracking system to track missile trajectories and therefore targets during the Gulf War. Due to Hawkins’ interest in cricket (he’s a social player), Hawk-Eye was March 2004  7 In the cricket version, Hawk-Eye uses six fixed video cameras placed around the edge of the arena. The images are electronically compared and analysed to determine the ball’s location at any instant. A somewhat similar arrangement is used for tennis. first developed for the cricket pitch. Since then, it has been developed for tennis, baseball and even snooker/ pool. The name, by the way, is Paul Hawkins’ father’s nickname – and it also very aptly sums up the system itself! Hawk-Eye was launched in 2001 and in that year won the Royal Television Society award for Technical Innovation. Why use Hawk-Eye? There are few more frustrating things to a sportsman or woman (and therefore to millions of fans) than a “bad call” by a judge, umpire or other official. Worse is when that bad call has a major influence on the outcome of the game. The problem is, of course, that many of the decisions officials have to make are for events which last no longer than the blink of an eye. In many respects, it’s a wonder that officials do manage to get it right most of the time. And believe it or not, they do. Take cricket, for example. A lot of umpiring decisions are relatively easy: that delicious sound (for a fast bowler!) of leather crashing into the stumps and the sight of the bails flying high in the air! Catches are usually fairly simple, too – although umpires these days may call on the “third umpire” with the benefit of slow-motion replays if there is any doubt, either if a ball has carried or if it even hit the bat. Likewise, run-out decisions are often assisted by electronic means if the umpire is in any doubt. Somewhat surprisingly, about the only ruling that isn’t currently electronically assisted is LBW (leg before wicket). We say surprisingly because it is in LBWs that electronic assistance is arguably – with Hawk-Eye – now the most certain. And it is LBW decisions that are usually the most controversial, because they involve a “what if” judgement, as distinct from an event judgement. The umpire must decide not only if the ball was travelling at such an angle and height that it would have hit the stumps were the pads not hit first; he must also judge that the ball also ptched inside the line of leg stump. And if the batsman had advanced down the wicket, it becomes that much harder. Now put the speed of the ball into the equation: perhaps 150km/h or so and you’ll see why errors do occur. In fact, in the first season that Hawk-Eye was used as an aid to commentators, it indicated that 13 out of 21 LBW decisions were wrong – both ways. Although initially designed to be used in television coverage, the system could also be used by the umpires to bring a measure of consistency into the decisions being made during a match. The final decision on LBW will always be with the umpire but Hawk-Eye would add significant value by making precise measurements which the human finds very difficult. Perhaps we are getting ahead of ourselves. Hawk-Eye has not (yet!) been used by umpires to assist in their decisions as to whether or not a batsman is out. However, that day must surely come as TV networks not only bring the umpire’s calls into question with endless slow-motion replays – now with Hawk-Eye simulations they can prove, with virtually no error, whether the umpire was correct or not. It will arguably be the public who force the issue eventually, as there is little call from umpires to have the extra technology at their fingertips. This is one of the features of HawkEye – its data can be almost instantly transmitted to the man in the middle to help with difficult decisions. Using a small hand-held computer or PDA, the umpire can tell straight away whether a batsman should have been out. Just some of Hawk-Eye’s seemingly endless possibilities for giving the viewer added enjoyment in a match. The first screen shows the ball trajectory from the moment it left the bowler’s hand; the second the point of impact with the bat (or body!) 8  Silicon Chip www.siliconchip.com.au Similarly, tennis umpires could have the technology at their disposal for dubious line calls. How many matches have swung one way or the other following an obvious (to the TV viewer!) mistake. They break the player’s concentration at the very least. Not everyone agrees . . . There has been some reaction from players – both positive and negative, as you might expect. A batsman who has been on the wrong end of too many LBWs is much more likely to favour the system than one who has “gotten away with murder” out in the middle. Even former cricket “greats” are divided. A newspaper column written by the former fast bowler Dennis Lillee dismissed Hawk-Eye almost out of hand. But Paul Hawkins claimed that article was “probably the most ill-informed ever written about the system . . .” Dickie Bird, the former UK umpire, was once a critic but is now one of Hawk-Eye’s biggest supporters. He originally claimed that it would kill the game but now advocates its use. “Surely the need is to alleviate error,” he said. Similarly, tennis authorities such as the ITF have not yet given Hawk-Eye their glowing endorsement, citing cost as one reason. However, John McEnroe, commentating during the Australian Open finals, glowingly praised Hawk-Eye and wished it was available to the umpire after a couple of obvious errors in line calls. He even joked with the other commentators when one remarked that it would have put an end to his now famous (infamous?) “You cannot be serious!” arguments with tennis umpires and referees. Another claim from sports administrators is that Hawk-Eye could be seen to undermine the authority (and skill levels?) of the officials around the court. They are not unique: most sports over the years have been reluctant to adopt new technology to assist their officials. Having seen this first-hand in other sports, where electronics is allowed to overrule course judges, all I can say is bring it on . . . How Hawk-Eye works. The Hawk-Eye system tracks the ball from the moment it leaves the bowler’s www.siliconchip.com.au Hawk-Eye can superimpose the batsman in typical stance to show just where the balls faced have actually ended up. It’s valuable for later review of performance and also for coaching. hand until it stops (or of course from the tennis racket). It does this using both image analysis and radar technology. If required, it then projects the flight of the ball after it has stopped, by extrapolation. Using dedicated cameras and specialist image processing software, the position of the ball can be located extremely accurately in three dimensions. On the cricket ground, six fixed and synchronised “JAI” monochrome cameras, with a 120Hz frame rate, are placed around the perimeter of the playing field at specific points – two are 30° off each end of the wicket while two side cameras look directly across their respective stumps. These synchronised cameras track the ball’s entire trajectory – at intervals of 1/120th of a second – from the moment it leaves the bowler’s hand until it stops. The six cameras are gen-locked into two sets of three cameras, each set being captured by a Matrox Meteor-II/ Multi-Channel frame grabber and the Matrox Imaging Library (MIL-Lite) software. The resulting images are processed into a 3D image by the Hawk-Eye system which then calculates – in a split second – where the ball pitched, the extent of its lateral movement in the air and off the wicket, its velocity and bounce and – if applicable – exactly where it contacted the batsman’s pad. Positional accuracy is claimed to be no worse than five millimetres, with some references giving Hawk-Eye an accuracy of 1-2mm (assuming fixed camera positions). The future path of the ball is also extrapolated by fitting the trajectory of the ball into a parametric model, thereby determining whether or not the ball would have carried on to hit the stumps, bounce over, or go past the wicket. Hawk-Eye then uses a Matrox Orion frame grabber to overlay a graphical representation of this trajectory onto a video image. This image is then encoded and transmitted to a video bank, ready to be virtually instantly accessed by television production staff and commentators. Tennis uses a similar process to cricket – Hawk-Eye is most useful for determining when a ball is in or out. But for the TV audiences, it has been extensively used to show the action of, for example, a serve and just how far the balls swing. A market is also seen for Hawk-Eye in coaching – stroke analysis is easy when you can show exactly what the ball does. The South Africans have been using Hawk-Eye for this purpose and last October, the system was installed at the English Academy at Loughborough College, near Nottingham. Not only cricket and tennis In partnership with Sunset + Vine, the television production company, Roke Manor Research has established Hawk-Eye Innovations Ltd, an organization entirely dedicated to the development of similar technologies for wider sporting activities and applications. Dr Hawkins is its CEO. So far, Hawk-Eye has been adapted to baseball – primarily to determine strikes and balls – and is also available for football (particularly gridiron) and even snooker/billiards/pool! SC Acknowledgement: Much of the information and text for this article originally came from Roke Manor Research and Matrox. Hawk-Eye screen diagrams courtesy of Channel 9, Sydney. March 2004  9 Increase your driving safety with Quick Brake Are you concerned about the risk of a rear end collision when driving in traffic? With QuickBrake, your brake lights come on faster than you could ever apply them, giving you literally metres more safety. Words by Julian Edgar Design by John Clarke B Main Features • Reduces brake light turn-on time by 200ms • Works with throttle sensors with 0-5V output • Responds to rapid reduction in throttle sensor • • • output Activates relay to power brake lights Adjustable timer for brake light on period Power-up delay to prevent false triggering at ignition switch-on 10  Silicon Chip ack in the March 2003 issue, we covered the advantages of LED brake lights on cars – in addition to longer life and much lower current drain, LEDs reach full brightness far faster than filament bulbs. And the quicker that you can indicate to drivers behind you that you’re braking, the less likely they are to run into the back of your car. In fact, using LEDs in your brake lights can provide the following driver with as much as 200ms earlier warning . . . that’s 5.5 metres at 100 km/h. But with QuickBrake you can do even better than this and provide another 200-250ms earlier warning! By combining LED brake lights with QuickBrake, you can give at least 400ms earlier warning that you’re stopping – that’s 11 metres at 100km/h. It’s a brilliant technique that we’ve not seen anywhere else – even in new cars. www.siliconchip.com.au Fig.1: the circuit monitors the car’s throttle position sensor and if a rapid negative transition occurs, the 7555 is enabled to briefly activate the relay and the car’s brake lights. Think about what occurs during an emergency stop. You’re driving along, mind dwelling on all things interesting – including the other traffic – when you suddenly realise the cars ahead are abruptly stopping. You rapidly lift off the accelerator and then transfer that foot to the brake pedal, quickly jabbing down on it. But “rapidly” and “quickly” are relative terms – in fact it takes about a quarter of a second (250 milliseconds) from the time that you start to lift off the throttle to the time the brake pedal is pushed and the brake lights come on. But why wait that long before illuminating the brake lights? There’s no www.siliconchip.com.au logical reason – only the engineering tradition of turning on the brake lights with a brake pedal switch. So why not trigger the brake lights when you rapidly lift your foot off the throttle? “Oh that won’t work”, you say. Well, why not? With a little circuitry, you can sense the speed of the throttle movement quite easily, just by tapping into the throttle position sensor. Then, if you have the circuit detect a rapid reduction in voltage from the throttle sensor (as happens when you’re about to stop in a hurry), you can use a relay to switch on the brake lights. Finally, a timer could be used to hold the relay on to cover the time between the throttle closing and the brake light switch being activated. This is just what our QuickBrake circuit does. And it’s just uncanny watching a car fitted with the project simulate an emergency stop. The brake lights come on “soooooo” fast that you suddenly realise that the pause between deceleration and braking that normally occurs is quite clearly able to be seen, even from outside the car. QuickBrake can be very handy when you’re plagued with a “tailgater” too. If someone is following you much too closely, just lift off the accelerator quickly and the brake lights will March 2004  11 Fig.2: this diagram shows where each of the components is placed on the PC board. Also shown are the connections you need to make when installing QuickBrake in your car. The input signal to QuickBrake is derived from the throttle position sensor output. The Normally Open and Common contacts of the relay are wired in parallel with the brake light switch. Ignition-switched power and an earth connection finish the wiring. come on for a brief period, without you even having to touch the brake pedal. Nifty, huh? need to check this point out, before you buy the kit! PC board module Fig.1 shows the circuit of the QuickBrake which is based on four op amps (in IC1 & IC2) and a 7555 timer. In effect, the circuit is designed to detect the rapid change of voltage from the throttle position sensor and then close a relay for a brief time. The relay switches on the brake lamps for a pre-determined time. In the meantime, if the driver’s foot hits the brake pedal, the brake lights will stay on. If not, the brake lights go out when the relay drops out. So let’s look at the circuit in more detail. The DC voltage from the throt- As shown in the photos, QuickBrake is a small PC board module measuring 105 x 60mm. It uses the engine management system’s throttle position sensor output to monitor the movements of the throttle. In operation, it is designed to work with throttle position sensors with an output voltage that varies within the range of 0-5V. If your car does not have engine management or it uses a throttle position switch (rather than a potentiometer), QuickBrake cannot be used. You have been warned – you Circuit description Fig.3: check your PC board against this pattern before installing any parts. 12  Silicon Chip tle position sensor is fed to a low pass filter consisting of a 1MΩ resistor and 100nF capacitor and then to op amp IC1a which is connected as a unity gain buffer. From there, it goes to a differentiator consisting of a 100nF capacitor, trimpot VR1 and a 100kΩ resistor. A differentiator can be thought of as a high pass filter – it lets rapidly changing signals through but slowly changing signals are blocked. Putting it another way, if the rate of change of the signal is greater (ie, faster) than the differentiator time constant (RC), the signal will pass through to op amp IC1b, which is another unity gain buffer, and then via link LK1 to IC2b which is connected as a Schmitt trigger stage. The output of IC2b connects to pin 2, the trigger input of IC3, a 7555 timer. When IC2b briefly pulls pin 2 of IC3 low (as it does for a sudden reduction in throttle sensor signal), IC3’s pin 3 immediately goes high, turning on transistor Q1 and RELAY1. This turns on the brake lights. At the same time, IC2b’s brief negative pulse turns on transistor Q2 which pulls the negative side of a 100µF capacitor to 0V and this fully charges this capacitor to 8V. From this point, the 100µF capacitor discharges via trimpot VR2 and the series 1kΩ resistor. This means that the negative side of the 100µF rises until it gets to about +5.3V whereupon pin 3 goes low and transistor Q1 and the relay are switched off. The timer period of www.siliconchip.com.au When constructed, your circuit board should look like this. When assembling the PC board, make sure that you correctly insert the polarised components; ie, the diodes, ICs, LED, transistors, voltage regulator and electrolytic capacitors. IC3 can be set from around 100ms up to 110 seconds, using VR2. In this QuickBrake application, the timer is set to quite a short period, typically less than 500ms. Diode D2 is connected across the relay coil to quench spike voltages generated each time transistor Q1 turns off. Q1 also drives LED1, via the 1.8kΩ series resistor and this lights whenever the relay is energised. It is handy when you are setting up the QuickBrake circuit on your car. Power-up delay Pin 4 of the 7555 (IC3) is used to provide a power-up delay. When the car is first started, we don’t want the QuickBrake responding to any unpredictable changes in signal from the throttle sensor; we want all circuit operating conditions to have stabilised before QuickBrake starts operating. Therefore pin 4 of IC3 is connected to a network comprising a 470µF capacitor, diode D4, and 39kΩ and 220kΩ resistors. Initially, the 470µF capacitor is discharged and so pin 4 is low, effectively disabling IC3 so it cannot respond to any unwanted trigger signals to its pin 2. IC3 is enabled (ie, begins to operate) when the 470µF capacitor charges to around +0.7V via the 220kΩ pull-up resistor. This is after about two seconds. The 39kΩ resistor prevents the 470µF capacitor from charging above 1.2V and this allows it to discharge quickly via diode D4 when power is removed from circuit (ie, when the engine is stopped. This is important so that QuickBrake is properly disabled if the engine is immediately restarted. Power for the circuit comes from the car battery via diode D4 which gives reverse connection protection. The 10Ω resistor, 100µF capacitor and zener diode ZD1 provide transient protection for REG1, a 7808 8V regulator. All the circuitry is powered from REG1, with the exception of the relay and LED1. Construction All the circuitry of QuickBrake is on a small PC board measuring 105 x 60mm and coded 05103041. The component overlay diagram is shown in Fig.2. Install the resistors first, checking the values with your multimeter as you Table 1: Resistor Colour Codes o o o o o o o o o o o No. 2 1 1 1 1 5 1 4 1 1 www.siliconchip.com.au Value 1MΩ 220kΩ 100kΩ 39kΩ 11kΩ 10kΩ 1.8kΩ 1kΩ 150Ω 10Ω 4-Band Code (1%) brown black green brown red red yellow brown brown black yellow brown orange white orange brown brown brown orange brown brown black orange brown brown grey red brown brown black red brown brown green brown brown brown black black brown 5-Band Code (1%) brown black black yellow brown red red black orange brown brown black black orange brown orange white black red brown brown brown black red brown brown black black red brown brown grey black brown brown brown black black brown brown brown green black black brown brown black black gold brown March 2004  13 Parts List 1 PC board, code 05103041, 105 x 60mm 5 PC-mount 2-way screw terminals with 5mm pin spacing 1 12V PC-mount DPDT 5A relay 1 3-way header with 2.54mm spacing 1 jumper shunt with 2.54mm spacing 1 50mm length of 0.8mm tinned copper wire 2 1MΩ multi-turn top-adjust trimpots (VR1,VR2) (Jaycar RT-4658 or similar) Semiconductors 2 LM358 dual op amps (IC1,IC2) 1 7555 CMOS 555 timer (IC3) 1 7808 3-terminal regulator (REG1) 1 BC337 NPN transistor (Q1) 1 BC327 PNP transistor (Q2) 1 5mm red LED (LED1) 2 16V 1W zener diodes (ZD1,ZD2)) 2 1N4004 1A diodes (D1,D2) 2 1N914 diodes (D3,D4) Capacitors 1 470µF 16V electrolytic 5 100µF 16V PC electrolytic 4 10µF 16V PC electrolytic 3 100nF MKT polyester Resistors (0.25W, 1%) 2 1MΩ 5 10kΩ 1 220kΩ 1 1.8kΩ 1 100kΩ 4 1kΩ 1 39kΩ 1 150Ω 1 11kΩ 1 10Ω install each one. Use 0.8mm tinned copper wire for the two wire links. Make sure that you insert the polarised components the correct way around. These parts include the diodes, ICs, LED, transistors, voltage regulator and electrolytic capacitors. QuickBrake monitors the output of the throttle position sensor (circled). When it detects that the driver is lifting off the throttle very quickly, the relay trips, illuminating the brake lights. A built-in timer then covers the period before the brakes are actually applied. Manual Gearboxes? QuickBrake may not be suitable for use in manual cars because it may not be able to distinguish between throttle lifts for emergency stops and those used during rapid acceleration through the gears. On the other hand, if you normally drive your manual car in a leisurely manner, it may not have problems. The relay and the screw terminal strips can be installed last. Note that there is a trap in the installation of the two trimpots. They can go in either way but they must be installed as shown in the diagram, with the adjustment screw closest to IC2 and IC3 respectively. If you install the trimpots incorrectly, the initial adjustment instruction that we give in the set-up procedure will be wrong. During assembly, look closely at the Unwanted Flashing If the QuickBrake is set correctly and a competent driver is at the wheel, the brake lights should trigger no more frequently than normal. This is because the project should be calibrated so that it detects only very fast throttle lifts – the sort that are usually immediately followed by an application of the brakes. However, poor drivers who use very jerky on/off throttle movements will cause the brake lights to come on more than usual. Keep in mind that any brake light illumination will still indicate deceleration. 14  Silicon Chip photos, Figs.1 & 2 and the parts list to avoid making mistakes. Fitting it to your car As mentioned earlier, before you buy the kit you need to check if your car has a throttle position sensor (not a throttle switch!). Now is the time to measure the output of the throttle position sensor. This should be done with the engine off (but the ignition on!) by probing the throttle position sensor. With one multimeter probe earthed (connected to chassis), you should be able to find a wire coming from the connector that has a voltage on it that varies within the 0-5V range as you manually open and close the throttle. Yes, you can manually open and close the throttle by operating the mechanism on the side of the throttle body. Once you have confirmed that the varying signal voltage is present, make a connection to this wire – ether at the ECU itself or under the bonnet – and run it to the QuickBrake signal input. (Note that you simply tap into the throttle position output wire – you don’t need to cut it.) Next, connect ignition-switched +12V and 0V (chassis) to the QuickBrake. The other connections, to the brake switch, don’t need to made at this stage. Rotate trimpot VR1 (sensitivity) fully anti-clockwise and VR2 (timer period) fully clockwise – this increases the sensitivity of the QuickBrake to www.siliconchip.com.au Other Uses For The Circuit QuickBrake is just one of many applications for the basic module described here. In other applications, the module can be configured (via link LK2) to trigger on quick throttle presses (rather than throttle lifts). In this form, it can be used to sense when the car is being driven hard. These performance applications will be covered in a SILICON CHIP high performance automotive electronics special. throttle changes and reduces the timer’s ‘on’ time to a minimum (note: both these pots are multi-turn so they don’t have a distinct end ‘stop’). Place the link in the Link 1 position to configure the QuickBrake to activate with quick throttle lifts. (Link 2 causes the device to activate with quick throttle pushes.) Turn on the ignition but don’t start the car. Wait five seconds (to allow for the ignition-on reset pause), press the throttle and then quickly lift off, checking that the relay pulls-in and the LED lights. The relay should click out (and the LED go off) fairly quickly, so then adjust VR2 anticlockwise and again push down and then quickly lift the throttle. This time the ‘on’ time should be longer. Adjust VR1 clockwise until the QuickBrake responds only when the throttle is being lifted with ‘real life’ quick movements. Note that if you find the relay clicks off after 10 seconds or so, then it is likely that trimpot VR2 is installed the wrong way around. Don’t pull it out –just wind the adjustment fully in the other direction. Once the QuickBrake module is working correctly, make the brake switch connections. These are straightforward – connect wires to both sides of the brake pedal switch and check that when you join the wires, the brakelights come on. Then run these wires to the adjoining “Normally Open” and “Common” connections on the QuickBrake relay connector. Silicon Chip Binders $12 REAL VALUE A T .95 PLUS P& P Setup Setting up the QuickBrake is also easy. Normally, you’ll find that driving on the road actually involves slightly different speeds of throttle movement than you thought during the static set-up, so the sensitivity control (trimpot VR1) will need to be adjusted accordingly. The length of time that you set the timer (VR2) to operate for will depend on how quickly you typically move your foot from the throttle to the brake pedal. It’s best to set the time so that it just covers this period. The PC board fits straight into a 130 x 68 x 42mm jiffy box, so when the system is working correctly, the board can be inserted into the box and tucked out of sight. Conclusion If you’re often worried about how closely others follow you at highway speeds, this project is for you. We know we’ve already said it, but it’s uncanny how quickly the brake lights come on when a car equipped with QuickSC Brake is slowing! www.siliconchip.com.au H S ILICON C HIP logo printed in gold-coloured lettering on spine & cover H Buy five and get them postage free! Available only in Australia. Buy five & get them postage free! Just fill in the handy order form in this issue; or fax (02) 9979 6503; or ring (02) 9979 5644 & quote your credit card number. Silicon Chip Publications, PO Box 139, Collaroy 2097 March 2004  15 Flash! Is the Zip Disk dead? How do you move significant amounts of data from one place to another? For years, the ubiquitous Zip disk reigned supreme. Could USB Flash Disks be to the Zip as the Ice Age was to dinosaurs? Put it on the BUS! M oving large amounts of data – photos, music, video, etc, from one computer to another has been a problem since there have been computers and large amounts of data! If the files were more than a floppy’s worth (ie, 1.4MB or thereabouts), smarter solutions needed to be found. Indeed, very close to home, this problem has caused not just a few headaches here at SILICON CHIP. As you would imagine, magazines like SILICON CHIP have been produced on computers now for many years (thank heavens for desktop publishing, photo manipulation and drawing packages!). But we don’t own a huge printing press capable of printing a 100-page, four-colour magazine (office photocopiers don’t quite cut it!) So if the mountain won’t come to Mohammed, Mohammed has to go to the mountain. Ergo, each month we have to send a complete magazine’s worth of files to the printers. Very early on, we used whopping (for then!) 44MB “Syquest” disks – many of them for each issue. Even progressing to 88MB Syquests helped only a little. They were somewhat unreliable and, being magnetic recordings, occasionally suffered catastrophic failure. There were even 16  Silicon Chip a couple of times when we were forced to record the magazine on a hard disk, remove the hard disk from the computer, package it very carefully and then airfreight that to the printers. (Don’t knock it – it worked. And got us out of some tight spots!) We also used ZIP disks – both in their original 100MB format and their 250MB reincarnation. The disks themselves were usually very reliable in the short term but we found the drives left a little to be desired mechanically. We By Ross Tester had several failures in the one year. Besides, ZIP disks were/are relatively expensive. SILICON CHIP was a very early adopter of CD-ROMs (back when CD writers operated at x1 or x2 maximum and discs were several dollars each!). To this day, we still record the bulk of the magazine (usually about 500-600MB per issue) on a CD-ROM and despatch it to the printer. At least these days we have 40x and 50x writers. It is very difficult to buy a computer Physically small enough to carry around on your keyring, capacity-wise large enough (if you pay enough!) to take your sensitive data with you. This one is a 32MB drive but you can now get them up to 2GB. www.siliconchip.com.au They’ve been faithful servants, but maybe it’s time they were retired. . . without some form of CD writer (or rewriter, or DVD writer, etc) installed – so just about everyone has one. So what’s wrong with the average person using CD-ROMs to transport data between computers? Nothing, much. Except that copying files to a CD or DVD is certainly not as simple as copying files to, say, a hard disk (or even a ZIP). It is not an instant process and CD writers are definitely not fault (or interruption) tolerant in the recording process. And if you are in a screaming hurry (eg, the courier is tapping his fingers loudly on the reception desk), Murphy’s law says that’s when you are going to write a “coaster”. Besides, what if you only need a relatively small amount of data – say a few dozen megs or so. Writing to a 660MB CD seems to be something of a waste to us, even taking the low cost of CDs these days into account. We’re not trying to dismiss CDs out of hand – as we said, we use them regularly. But for the casual transporting of data between machines, there is a better way! ports which have been on computers virtually since day one is in the way data is transmitted. Serial and parallel ports send data bit by bit. The USB organises the data into “packets” and sends those. Because of this, a USB port requires only four wires – two for power and two for data. (See the separate box which explains more about the USB port). It took some time for the USB to catch on. Indeed, in the early days there was so little call for USB devices (or more likely so few USB devices available) that for some time case manufacturers kept USB ports on the back panel of the computer – about the most inaccessible place they could be. But over the past couple of years, we have seen a plethora of USB devices released – so much so that just about every computer sold these days has the USB ports on the front panel and many motherboards support four USB ports. If not, inexpensive add-on cards can give you more USB ports for your computer. While you can buy just about any peripheral these days to operate via a USB port, the thing that most interests us here is the range of USB storage devices now available. Most particularly, we are looking at some of the “flash disks”. These are available in many formats – we’re going to look at a few of these in more detail shortly – but apart from their healthy storage capacities, the most noticeable thing about flash disks are their size (or lack thereof!) Most are only a couple centimetres wide and perhaps five or so long. If you have to carry data around with you, or move it from PC to PC, this surely must be the simplest and easiest way yet. What’s more, on most modern machines, when you plug one of these USB devices in, the computer not only recognises it immediately but assigns a drive letter to it, making it “just another hard drive” on your computer. Anything you can do with a traditional hard disk drive, you can do with a USB flash disk drive. Flash “Disk Drive”? No, they’re not – disks nor drives! The term has stuck because everyone is used to, well, disk drives, where things (disks) spin inside and make whirring noises! The name can be a bit confusing – a flash disk is entirely solid state; there is no mechanical “disk” to “drive”. In fact, a flash disk is a type of EEPROM, (electronically erasable programmable read-only memory). The “ROM” part can be anything from 16MB right up to 1GB and now beyond. (2GB are available but they’re expensive). That’s a rather impressive amount of storage for something that can not only be hidden in the palm of your hand (or even between your fingers!), it can often be hidden inside other devices such as watches, pens, etc. We’ll look at some of these shortly. Unlike other forms of memory, the flash disk does not need constant power, just while being read from or written to. Once data is written into it, it stays there until it is erased and Enter the USB . . . There probably wouldn’t be a computer sold today that doesn’t include at least two (and sometimes more) Universal Serial Bus, or USB, ports. USB offers high speed and reliable data communication (especially in its newest incarnation, USB2.0). The USB standard was developed by a consortium of organisations including Compaq, Hewlett-Packard, Intel, Lucent, Microsoft, NEC and Phillips. The main difference between the USB port and the serial or parallel www.siliconchip.com.au Flash disk manufacturers are getting pretty clever – this is the new “Cruzer Micro” from SanDisk. It’s very fast (USB2), is available up to 512MB capacity and even has an optional portable docking station which turns it into an MP3 player! SanDisk also has a Titanium model in the Cruzer range, claimed to be virtually indestructible. March 2004  17 re-written. Again, this lends itself very much to a portable format. USB flash disks are, by and large, “hot swappable” – another big advantage over many other forms of storage. You don’t have to power down the machine, swap the drive, and power back up again. It can be inserted and removed at will, with just a couple of provisos: (a) Do we have to say it? You must never remove flash disks (or any form of storage) while being read from or written to (most types of flash disks have a LED on them to warn you when “in use”, a la the hard disk LED on your PC). Not only would data be lost, the chances are very high that other data already on the flash memory would be scrambled. (b) While you can simply remove the device from the USB port once writing is finished, most operating systems don’t particularly like this and give you a stern warning when you do it (you almost expect a hand to come out of the monitor and slap you on the wrist). The operating systems like to be told that you’re about to remove the USB device and give you an icon on the task bar to allow you to do this easily. They then graciously give you permission! With the exception of Windows 98/SE, you normally don’t need any drivers. You simply plug ’em in and This is a REAL USB Pen Drive – complete with the pen! The flash disk is in the top half of the pen and is unscrewed from the body to reveal the USB connector (see inset). your computer will tell you that it has found the disk and is ready to rock and roll. It will simply assign the next available drive letter in your system unless you specify otherwise (which you can easily do). Why would you do that? I have made my USB flash disk drive “U” (U for USB) in all computers I use it in, because some software I use insists on a certain drive/directory/file setup and gets confused otherwise. Nobody really knows (yet) how long that data will stay in memory without power. Various sources claim between ten and forty years (yes, years) – but we’re going to have to wait for quite a while to verify those claims. By the way, USB Flash Disks, in all their varieties, are not the only place you’ll find flash memory used. It’s everywhere these days – from the memory card inside a digital camera (and they are also available in many varieties!) to video games consoles, to the PC-card memory used in notebooks and laptops . . . even your computer’s BIOS chip is likely to be flash memory (definitely an EEPROM at any rate). USB Flash Drives Reproduced significantly larger than life size, this photo shows what’s inside a typical USB flash disk drive. As you can see, there’s precious little in the way of a disk . . . 18  Silicon Chip These are commonly available and are now getting quite cheap. Sometimes they are called keyring memory because they are small enough to go on a keyring. Other suppliers call them pen memory (though that could be confusing, as we will see in a moment). Our sample 128MB drive came from Oatley Electronics in Sydney (www.oatleye.com; 02 9584 3563) who have drives from 16MB to 512MB. Most of them are 78mm long, 22mm wide and 11.8mm deep (the largest drive is 82mm long). There is a write-protect switch to prevent you accidentally destroying data. Prices from various suppliers vary enormously – we found Oatley’s compared well. The 16MB sell for $24.00, while the 512MB sell for $340.00. Obviously, the larger capacity drives are the best value at about 66c per megabyte. www.siliconchip.com.au Look, it’s a watch. No, it’s much more than that: it’s also a 128MB flash disk drive. This one is from Dick Smith Electronics and sells for $99.86. The package includes a driver CD and USB extension cable. This drive has the incredible advantage (for me) of going wherever I go – no more lost data or lost disks! And here is the interface: a standard USB cable (albeit pretty short!) which normally hides in the watchband. By the way, this watch is definitely NOT waterproof . . . They’re supplied with a USB extension cable and a mini CD containing Win98SE drivers and other goodies. A neck lanyard is also supplied so you can actually wear the disk! The latest models from Oatley have a couple of new really worthwhile features: an advanced email server; Zip compression and decompression to pack more onto your drive; a PC lock (you can use the flash drive to lock your PC – just be careful not to lose the drive!); and data encryption so if you do lose the drive, no-one else will be able to read it. One of the biggest advantages of these drives, the tiny size, is sometimes a disadvantage to me: I’m forever losing it in the bottom of my briefcase! Similar flash drives are also heavily flogged on Ebay so if you’re an Ebay user and prepared to take some risk, you might save a little bit. And at least one US webstore was selling a 128MB flash drive for $US19.99 (about $AU26) around Christmas time! Since starting the research for this feature, one problem with flash drives has emerged. We said they are tiny but perhaps, not tiny enough for some computers. Flash drives have the USB connector moulded into the end of the case, usually with some form of collar around the end. We have come across several notebook computers where the USB port is recessed slightly into the case and the collar prevents the connector making reliable contact (sometimes not at all). Again available in capacities from 16MB to 512MB, these came from an Ebay shop: Chansnetwork. Once again, prices vary depending on size – they range from $27.00 for 16MB through to $280.00 for the 512MB version. Again, the larger the capacity, the better value – the 16MB costs $1.68 per megabyte; the 512MB costs 54c per megabyte. You can access chansnetwork via Ebay (search USB pen) or give them a call toll free on 1800 002 810, ext 8633. www.siliconchip.com.au In this case, the simplest answer is to use the USB extension cable that is supplied with many flash drives (or is available from computer stores very cheaply). Pen drives Remember we said before that calling flash drives “pen drives” could be confusing? Here’s why: we found a flash drive actually built into a pen! The top part of the pen unscrews to reveal a USB plug – the drive’s indicator LED is built into the pen case top. These pen drives operate exactly the same as a “normal” flash drive. And, surprise surprise, just like a normal pen (OK, so maybe just a tad heavier than your Bic Biro!). They come in a gift box with a mini CD driver disk. USB watch drive ­If you thought the pen drive was nifty, have a look at this one from Dick Smith Electronics. It’s a USB flash drive built into a fully functional, fashionable man’s watch. It looks just like a digital camera – and it is, until you want it to become an emergency flash disk drive! March 2004  19 should be able to read and write to the camera card – and it could! I copied the files I needed to the camera, unplugged it and transported it. I plugged it in the other end: presto, another hard drive. I am not saying every digital camera will work like this. But I would assume the vast majority would – if they operate via the USB port and have a drive letter assigned, you should have no problem. It’s a USB drive but it’s not a flash drive. This box contains a standard 80GB IDE hard drive (see inset above) along with the IDE to USB interface. You can buy cases without drives as well. Not shown here is the 12V power supply required by this box. There was (at time of writing) only one capacity available, 128MB, and this sold for $99.86. That compares very favourably with either the flash drives or the pen drive above AND you get a great-looking watch thrown in. For reasons best known to themselves, DSE call it the Dataspy (Cat XH8138). You also get a full-size CD with a user’s guide (PDF), drivers for Win98/98SE and OpenOffice.org plus ZoneAlarm software. There’s also a quite comprehensive printed user manual. I mentioned before that I am forever misplacing the flash drive because of its tiny size. Same thing will happen, I’m sure, with the pen drive. (Where did I leave my pen?). It simply won’t happen with the watch drive because it’s there, on my wrist, when ever I need it. The connection to the USB port is made via a small (50mm) lead which normally sits in the watch band. Like the flash drive, an extension cord is provided for the USB port so you don’t even have to remove the watch to read the disk (just remember to disconnect yourself before you walk away!). I’m not exaggerating when I say that everyone who has seen the DSE Dataspy is impressed – the usual comment is “I’ve gotta have one of those!”. You can get yours at any Dick Smith Electronics/DSE PowerHouse store, or mail/net order (1300 366 644 or www. dse.com.au). Thinking outside the box . . . A few weeks before starting this 20  Silicon Chip Thinking inside a box! feature (before I acquired these goodies!) I needed to move, in a hurry, some large (50MB) graphics files between two computers several kilometres apart. Trouble was, I didn’t have any means to do it. And as luck would have it, my CD burner was in yet another machine. I figured I had two choices. Move the CD burner (naaaaah!) or “ftp” the data over the ’net – but I really didn’t want to wait the eight hours or so it would have taken on my (painfully slow) dialup connection. What to do? It suddenly dawned on me that I was looking straight down the barrel (or should that be lens?) of the answer: my digital camera! It too has a flash disk inside it – in this case, a 64MB SmartMedia card. And it has a USB connection cable. When plugged in and turned on, the camera behaves just as any hard disk drive, just like the flash memory. I reasoned that being the case, I OK, so we have extolled the virtues of USB flash drives. But what happens if you want REAL storage capacity – more than the one or two gigs currently available. Of course, there is an answer. It’s not a flash drive – though it behaves pretty much the same (you plug it in to the USB port and away you go). It’s a bog-standard 3.5-in IDE hard disk drive (in this case an 80GB Seagate), mounted inside a case which also contains an IDE-to-USB converter. Because “normal” IDE drives also require 12V, there is an also an external plugpack mains supply. We found this solution at one of our usual computer suppliers, Cam1 (www.cam1.com.au; 02 9999 5600), although these are also very commonly available at computer stores and through Ebay. With the drive, it cost us $350.00 We’ve also seen these cases sold without drives (significantly cheaper), so you can put your own one in (or change it as required). Incidentally, you can buy similar cases for 2.5-inch “notebook” drives (these don’t need an external supply because they need only 5V and this is available from the USB port). These “Dazzle” USB card readers from Oatley Electronics accept a variety of flash memory cards and can also be used for data storage – if you happen to have the right card! The readers themselves are very cheap. www.siliconchip.com.au These are also much cheaper – you shouldn’t pay much more than about $30.00 -$50.00. Card readers Before we finish with USB devices, it’s worth noting how cheap USB card readers have become lately. Oatley Electronics have them for $6.90 each, with models handling secured digital/ multimedia, CompactFlash, or SmartMedia cards. (If you buy all three, you can get them for $15.00). Jaycar Electronics (www.jaycar. com.au; 1800 022 888) have a 6-in-1 internal USB card reader for $54.95. These cards are all examples of flash memory in use. You can write to or read from these cards just as you would a normal USB flash disk. We found the reader particularly handy because we’d recently purchased a second SmartMedia card for the digital camera. So when not needed for the camera, the card became yet another hard disk. Depending on the computer and operating system, it could be as simple as plugging the reader in. If drivers are needed, they can be downloaded from the Oatley website. Removable drives (non-USB) These have been around since Adam played half-back for the under-7s, so it’s unlikely you haven’t at least seen them advertised, if not used them yourself. We looked at them in detail way back in the October 1997 issue. First, what they are not: unlike all of www.siliconchip.com.au This is a standard IDE drive in a removable drawer (often sold as a “Mobile Rack”) and for some time has been a popular method of making data portable. However, we have had a few instances of data loss or damage, possibly due to poor contacts between the drawer and the frame. the other storage media we’ve looked at in this feature, they are not a USB drive. What they are is a standard IDE hard drive used on the IDE bus, just like your normal (internal) IDE hard disk drive. A plug-in drawer contains the hard disk drive, while a matching caddie is located inside the computer, with the drawer pushing into place via a flap. The caddie has a multi-pin socket and the drawer a matching plug; when pushed home the two mate and provide all the connections (data and power) required by the drive. They’re quite cheap and readily available at most computer stores or Ebay. The drawback (pardon the pun!) is that you need to buy more than one caddie if you are going to use them on more than one machine. Of course, if you buy two sets you can also use a second hard disk. One point to note about these drives if you use an older (slower) drive: if you fit the drawer drive as the slave drive on your primary IDE port (ie, the port which also has your master drive), the master drive will be crippled back to the speed of the older drive. It’s always best to fit the draw drive as the slave on the secondary IDE port, the one which has your CD-ROM or CDR on it as master. Finally, these drives are exactly the same as any other IDE drive – you must power down before removing the drawer – unless you buy one specifically intended for “hot swapping”. These are not uncommon but are more expensive. We must be honest here: over the years we have had problems with this drawer system. Perhaps it’s oxidation of the contacts; we’re not sure. But there have been intermittents and loss of data, even a dead drive – to the extent where now we do not trust them (nor use them!). Not when USB flash disks are available! March 2004  21 About the Universal Serial Bus . . . As you may know, there have been two versions of USB – USB1 (or more correctly 1.0 then 1.1) and USB2. The difference is mainly speed: USB1.1 allowed a data throughput of between 1.5 and 12MB/s, the newer version 1.5, 12 and a whopping 480MB/s. While 12MB/s is quite respectable, the differences are quite staggering. Looking at manufacturer’s data sheets, a typical flash drive could back up 1MB of data in 17min 33sec via USB1.1. Via USB2 this would be thirty times faster at just 37sec. Transferring 50 hi-res (25MB) digital photos or MP3s wouldn’t be quite so dramatic: 32 seconds vs 7 seconds, or about five times faster. USB 1.1 and USB2 are usually (with some exceptions) interchangeable because USB2 encompasses low and medium speeds as well. Most plug-in USB flash drives conform to the USB1.1 standard. The USB port has four contacts. Pin 1 is typically colour coded red (+5V), pin 4 brown (power ground) and pins 2 and 3 connect to a twisted pair (yellow and blue) to carry the data. The cable is also shielded. The USB cable is generally limited to five metres and up to 500mA can be supplied from the port for devices which need power, although many USB peripherals have their own power supply. Needless to say, USB flash disks do NOT fit into this category. Upstream and downstream Most flash disks plug directly into the host computer via the plug moulded in. Other devices which need to connect via a USB lead usually have different plugs on each end. (Above): upstream (or type “A”) USB plug connects to the PC. (Below): downstream (type “B”) connects to the USB device. The USB plugs are designed to work a certain way around. The “upstream” connector (also called a type “A” connector) is designed to plug into to the host computer. Conversely, the “downstream (or type “B”) connector plugs into the USB device. Most type “B” plugs are smaller and squarer than the flat, rectangular type “A”. Note that there are at least three (and probably more) sizes of type “B” plugs, depending on the manufacturer of the USB device. There are also USB “extension leads” which have a type “A” connector on one end and a socket the same as the host PC on the other end. Using hubs Up to 127 USB devices can connect to the host device, either directly or (if you run out of ports) via a USB hub. Two and four-port USB hubs are very common (and cheap!), while larger numbers of ports are not hard to get. Hubs can be either self-powered (via a supply) or themselves powered by the USB bus. If you need to add power-hungry USB peripherals (or a lot of them!) you’ll need self-powered USB hubs to ensure enough power is available. Also, if you wish to exceed the 5m limit, you can do it by daisy-chaining hubs. How does it know? When the host computer powers up, it queries (or “polls”) all of the devices connected to the bus and assigns each one its own address. This also occurs when a new device is plugged in. If the device is a flash drive (or even contains a flash drive, such as a digital camera), the host computer then assigns the “drive” the next available drive letter. From then on, it behaves just like any other disk drive until it is removed. Each device is queried as to what type of data transfer it wishes to use. There are three types: Interrupt - A device which sends little Pin Name Description 1 VBUS +5V DC 2 D- Data – 3 D+ Data + 4 GND Ground USB Port pin assignments. 22  Silicon Chip A close-up view of the USB port as would be fitted to your PC. data, such as a mouse or keyboard, would use the interrupt mode. Bulk – Where data is received in one big packet (for example in a printer), the bulk transfer mode is used. A block of data is sent to the printer (in 64-byte chunks) and verified to make sure it is correct. Isochronous – A streaming device (such as speakers) uses the isochronous mode. Data streams between the device and the host in real-time, and there is no error correction. The host keeps track of the total bandwidth that all of the isochronous and interrupt devices are requesting. They can consume up to 90% of the 480Mbps of bandwidth that is available. After 90% is used up, the host denies access to any other isochronous or interrupt devices. Control packets and packets for bulk transfers use any bandwidth left over (at least 10%). The Bus divides the available bandwidth into frames with the host controlling them. Frames contain 1,500 bytes with a new frame every millisecond. During a frame, isochronous and interrupt devices get a slot so they are guaranteed the bandwidth they need. Bulk and control transfers use whatever space is left. System compatability On the PC, USB works with most recent operating systems from Windows 98 on. It also works on the Mac. Drivers will probably need to be loaded for Windows 98/SE but more recent operating systems (eg, Me, 2000 and XP) have the drivers built in. However, if you run Windows 95 or Windows NT on your computer, you’re out of luck. Neither recognise the USB – Win95 because it is simply too old; WinNT because it was never designed to work with USB. SC www.siliconchip.com.au SILICON CHIP If you are seeing a blank page here, it is more than likely that it contained advertising which is now out of date and the advertiser has requested that the page be removed to prevent misunderstandings. Please feel free to visit the advertiser’s website: www.altronics.com.au 3V to 9V DC-DC Converter Never buy another 9V battery Bought a 9V battery lately? They’re horribly expensive and they don’t last very long if you want more than a few milliamps out of them. The solution: build this little DC-DC converter so you can use AA, C or D size cells instead. By PETER SMITH S AY YOU WANT a 9V battery to supply 40mA to a circuit. That’s a pretty modest current but if you use a PP3 style 9V battery it won’t last long at all. In fact, if you’re using a typical “heavy duty” 9V battery, it will last less than 20 minutes before the voltage drops to 7.8V. That may be enough to stop your circuit working. Or maybe you are using an alkaline type. Depending on the brand and price, you might get about two hours life. Not good. By comparison, two AA alkaline cells driving this DC-DC Converter circuit to give 9V at 40mA will last about 7 hours. And rechargeable AA cells can be even better. Table 1 shows the comparisons. This circuit can deliver up to 90mA at 9V (with less life from the cells) or can be set to deliver anywhere between 4.5V and 20V. You might never have to buy another 9V battery ever again. Back in the November 1990 edition of SILICON CHIP, we described a single cell to 9V DC converter suitable for 24  Silicon Chip replacing 9V batteries. That design proved very popular and was subsequently updated in August 1992. Unfortunately, the TL496 power supply IC used in both of these projects is now obsolete. This project is based around the Texas Instruments TL499A, a similar but more versatile variant of the TL496. Most notably, its output voltage is programmable, making it suitable for use in a variety of low-power applications. Main Features • • • • Use it to replace 9V batteries • • Supports DC plugpack input Runs from AA, C or D cells Up to 90mA current at 9V Can be set for 4.5V to 20V output Optional trickle charge for NiCd & NiMH batteries Unlike the original TL496 designs, this new design is specified for use with two cells. This enables the converter to produce more realistic output current levels. For low-power applications, two cells are also more cost effective, as more of their energy is extracted before the terminal voltage falls below the converter’s minimum input voltage. We’ve also included support circuitry for the TL499’s on-board series (linear) regulator, meaning that it can be powered from a plugpack when a mains outlet is available. In addition, a trickle-charge function is provided for use with rechargeable batteries. The PC board is roughly the same size as a 2 x “AA” cell holder, so in some applications it will be possible to build it right in to the equipment that it powers. Alternatively, it could be housed in a small plastic “zippy” box or similar. TL499A basic operation A functional block diagram of the TL499A appears in Fig.1. It contains a switching regulator and series regulator. Let’s look at the switching regulator section first. The switching regulator operates as conventional step-up pulse-width modulated (PWM) DC-DC converter. A variable frequency oscillator drives the base of a power transistor, which acts as a switch between one side of a “boost” inductor and ground. Referring also to the circuit diagram www.siliconchip.com.au Parts List 1 PC board, code 11103041, 59 x 29mm 1 14.8mm toroid (Neosid 17732-22) (Altronics L-5110) 1 700mm-length (approx) 0.63mm enamelled copper wire 1 2 x AA (or C or D) cell holder 2 x 1.5V cells to suit cell holder 1 9V battery snap 1 panel-mount 2.1mm or 2.5mm DC socket (optional) 6 1mm PC board pins (stakes) Hot melt glue or neutral cure silicone sealant Fig.1: the functional block diagram of the TL499A. It’s housed in an 8-pin DIL package and contains both series (linear) and step-up switching regulators. in Fig.2, you can see that one end of the inductor (L1) is connected to battery positive. The other end is connected to pin 6 of the TL499A – the collector of the switching transistor (Q1). When the transistor switches on, the current through L1 ramps up with time, storing energy in the inductor’s magnetic field. When the transistor turns off, the magnetic field collapses, generating an instantaneous voltage which causes the blocking diode to conduct, thereby transferring the inductor’s energy to the output filter capacitor and load via pin 8. The second transistor (Q2) forms part of a cycle-by-cycle current limiting circuit. This circuit turns off the switching transistor (Q1) when the current through it reaches a predetermined level. A 150Ω resistor from pin 4 to ground sets the peak current level to about 500mA. The PWM circuit uses a fixed off time/variable on time scheme to maintain a regulated output voltage under varying line (battery voltage) and load conditions. Under light-load conditions, the switching frequency can be as low as a few kHz. With maximum load and minimum input voltage, it increases to over 20kHz. Now let’s turn our attention to the series regulator section. Again, this section is quite conventional, consisting of an NPN series pass element (Q3), a voltage reference and an error amplifier. DC voltage applied to pin 1 is passed through to the output at pin 8 via transistor Q3. The base of Q3 is driven by an error amplifier, which compares a 1.26V (nominal) reference voltage on its non-inverting input with the voltage at pin 2. Looking at the circuit diagram Semiconductors 1 TL499A Power Supply Controller IC (IC1) 2 1N4004 1A diodes (D1,D2) 1 1N4732A 4.7V 1W Zener diode (ZD1) Capacitors 1 470µF 25V PC electrolytic 1 220µF 25V PC electrolytic 1 100µF 25V PC electrolytic 1 1µF 50V monolithic ceramic 2 100nF 50V MKT polyester Resistors (0.25W 1%) 1 220kΩ 1 150Ω 1 33kΩ 1 10Ω 1 4.7kΩ 1 270Ω 1W 5% 1 220Ω 1W 5% (for testing) Type Service Life Conditions 9V Heavy Duty (Rayovac D1604) 9V Alkaline (Rayovac A1604) ≈ 18 min. 40mA Load, 7.8V Cutoff (Fig.2), you can see that resistors R1, R2 & R3 close the feedback loop, connecting the output voltage back to the error amplifier’s inverting input. The output voltage is determined by the expression: VOUT = VREF (1 + R1||R2/R3) Substituting our listed values gives: VOUT = 1.26 (1 + 33kΩ||220kΩ/4.7kΩ)       = 8.95V In fact, by choosing appropriate values for R1 & R2, the output voltage can be programmed for any value between 4.5V and 20V. A handy list of resistor values for the most common voltage ranges is presented in Table.3. ≈ 2 hours 40mA Load, 7.8V Cutoff Regulator priority Table 1: Battery Life Comparison 2 x AA Alkaline (Energiser E91) ≈ 7 hours 2 x AA NiMH (2000mAh) ≈ 7.7 hours www.siliconchip.com.au 230mA Load, (40mA Output), 1V/Cell Cutoff (9V Output) 230mA Load (40mA Output), 1V/Cell Cutoff (9V Output) A similar voltage feedback scheme is used by the switching regulator control circuits. In this case, however, the error amplifier circuit has been modified so that the output voltage will be about 2-3% lower than from the series March 2004  25 Fig.2: only an external inductor and a few passive components are required to build a complete power supply using the TL499A. D2 & R4 are optional, providing a trickle charge to the battery when a plugpack is connected. 26  Silicon Chip regulator. This gives priority to the series regulator, because its slightly higher output voltage “forces off” the switching regulator. In practice, this means that when the unit is running from batteries and a plugpack is connected, switch-over between the two sources occurs automatically. Power to the output is uninterrupted, ignoring the small increase in voltage (about 180mV for 9V out). When the series regulator is operating, the switching regulator shuts down and battery drain drops to just 15µA (typical). Texas Instruments refers to the voltage difference between the switching and series regulators as the “change voltage”. For more detailed information on the TL499A, you can download the datasheet from www.ti.com Complete circuit Very little external circuitry is required to construct a complete power supply using the TL499A. Looking first at the input side of the circuit (Fig.2), the DC plugpack input is polarity-protected with a series diode (D1) and then filtered with a 100µF capacitor before being applied to the series regulator input (pin 1). At the battery input, a 220µF capacitor compensates for battery lead length, terminal contact resistance and increasing cell impedance during discharge. Additional filtering is provided using a 10Ω resistor and 1µF capacitor before the battery voltage is applied to the switching regulator input (pin 3). This filter removes much of the high frequency switching noise present on the “hot” side of inductor L1. Zener diode ZD1 clamps the voltage on pin 3 to less than the maximum (10V) rating of the IC. It also prevents the trickle charge circuit from powering the output side of the circuit (via L1 and IC1), both unwanted side-effects that would otherwise occur when the circuit is powered from a plugpack without batteries installed. Note: to keep board size to a minimum, polarity protection has not been provided on the battery input. As cell orientation is obvious for most battery holders, you may not be concerned about this omission. However, if your application demands input polarity protection, then the additional circuitry shown in Fig.4 can be inserted prior to the converter’s input terminals. A simple series diode will not suffice in this case, as it would seriously impede circuit performance. Trickle charge circuit If you’re using rechargeable cells, then D2 and R4 can be installed to provide trickle charging whenever a plugpack is connected. A resistor value of 270Ω limits the charge current to about 50mA, dependant on input and battery voltages. This current level is suitable for cells of 1000mAh and higher. For lower cell capacities, you should select a more appropriate value for R4 using the following formula: R4 = (VIN – VD – VBATT) / (Ah x 0.05) Where VIN = plugpack voltage, VD = diode voltage drop, VBATT = fully charged battery voltage, Ah = www.siliconchip.com.au Fig.4: install these components in-line with the battery leads if “fail-safe” polarity protection and/or battery switching is required. The 470µF capacitor may be needed to ensure that the DC-DC converter starts up and regulates properly with the additional series impedance introduced by the switch, fuse and associated wiring. Fig.3: follow this diagram closely when assembling the board. There’s no need to wire up the DC socket if you’ll only be powering the converter from batteries. Note how the 9V battery snap is wired in reverse (red wire to negative terminal, black to positive) to mate with the existing battery snap in the equipment to be powered. battery capacity in amp/hours. For example, if you’re using 650mAh cells with a 12V unregulated plugpack that puts out 16V: R4 = (16 – 0.7 – 3) / (0.65 x 0.05) = 378Ω (use 390Ω) Note that while the trickle charge function will top-up your batteries as well as compensate for self-discharge, it is not intended to recharge flat cells. Do not be tempted to increase the trickle charge current beyond the recommended 0.05C rate. Doing so may shorten the life of your cells, or in the extreme case, cause a fire or explosion! If in doubt, refer to the manufacturer’s data sheets for the maximum recommended trickle charge rate. On the output side of the circuit, the 100nF capacitor across the top two resistors reduces ripple and noise in the feedback signal to pin 2. Finally, 470µF and 100nF capacitors provide the maximum permissible filtering ahead of the output terminals. fied when lightly loaded. Ideally, the input voltage needs to be only about 3V higher than the output to achieve regulation and minimise dissipation. The switching regulator can source up to 100mA of current. Table 4 provides a convenient method of determining the maximum available current for typical input and output voltage combinations when operating from battery power. Although the TL499A includes in-built over-temperature and overcurrent protection, you should not exceed the listed current levels to avoid possible damage to the chip. Excessive loading will also cause high ripple voltage and loss of regulation at the output. Also note that being a step-up (boost) type converter, there is a current path from the battery, through the inductor (L1) and the internal blocking diode to the output, even when the switcher is shut down. The diode is designed for a maximum current of 1A, a level that could easily be exceeded if the output terminals are accidentally shorted together. Voltage and current limits Using the component values shown, the series regulator (plugpack) input can be as high as 17V. This limit is imposed by the maximum continuous power dissipation of the TL499A (0.65W recommended), as well as power dissipation in the trickle charge circuit. If you’ve programmed the output for less than 9V, then use a lower voltage plugpack (less than 12V) to keep IC power dissipation under control. Remember that unregulated plugpacks put out higher voltages than speci- About efficiency & battery life The switching regulator’s efficiency depends on the input and output voltages and the load current. As shown Table 2: Resistor Colour Codes o o o o o o o o No. 1 1 1 1 1 1 1 www.siliconchip.com.au Value 220kΩ 33kΩ 4.7kΩ 150Ω 10Ω 270Ω (5%) 220Ω (5%) 4-Band Code (1%) red red yellow brown orange orange orange brown yellow violet red brown brown green brown brown brown black black brown red violet brown gold red red brown gold 5-Band Code (1%) red red black orange brown orange orange black red brown yellow violet black brown brown brown green black black brown brown black black gold brown not applicable not applicable March 2004  27 Table 3: R1 & R2 Values For Common Output Voltages VOUT R1 R2 4.5V 5V 6V 7.5V 9V 12V 15V 22kΩ 15kΩ 33kΩ 27kΩ 33kΩ 47kΩ 56kΩ 27kΩ 180kΩ 39kΩ 180kΩ 220kΩ 270kΩ 560kΩ Table.3: to program the converter for a different output voltage, just change the values of R1 & R2. Typical voltage ranges together with the necessary resistor values are listed here. in Table 4, the maximum output current with 3V at the input is 90mA. In this configuration, the circuit is about 55% efficient. Therefore, we can say that with a step-up ratio of 3:1, the input power will be about 1.25W at full load. This represents a considerable current demand on the batteries. In the case of alkaline batteries, the voltage decays rapidly to less than 1V/ cell under heavy-load conditions, which means that available output power decreases as well. The most important points to consider are: (1). Alkaline cells are best suited for intermittent and/or light-load use. The high self-discharge rate of rechargeables (especially NiMH types) makes them unsuitable in this application unless trickle-charged. (2). Rechargeable cells are best suited for high current, continuous-use applications. Although the initial terminal voltage is less than for alkaline cells, they have an almost flat voltage discharge curve. The lower (1.2V/cell) terminal voltage means that about 70mA Fig.6: this is the PC board etching pattern. max. output current is possible at 9V, but it will be sustainable over most of the battery life. (3). Carbon cells are not recommended with their positive leads aligned as due to the high peak switching current indicated by the “+” symbol. drawn by the converter. Winding the inductor Assembly Using the overlay diagram in Fig.3 as your guide, begin by installing the wire link (just below IC1) using tinned copper wire. Follow this up with all the resistors and diodes (D1, D2 & ZD1), taking care to align the banded ends of the diodes as shown. Note that the 270Ω 1W resistor should be mounted about 1mm proud of the board to aid heat dissipation. Important: D2 and R4 should only be installed if you’ll be using rechargeable batteries and the plugpack input. Do not install these components if using alkaline batteries. The TL499A (IC1) can go in next. It is important that this chip is soldered directly to the PC board – don’t use an IC socket! This maximises heat transfer and eliminates contact resistance. The notched (pin 1) end must be oriented as shown on the overlay diagram. Install all of the capacitors next, noting that the electrolytics go in The inductor is hand wound on a 14.8mm powered iron toroid, Neosid Part No. 17-732-22. You’ll need about 700mm of 0.63mm enamelled copper wire for the job. In total, 30 turns are required to achieve the 47µH inductance value. The wire must be wound on tightly, with each turn positioned as close as possible to the last. Do not overlap turns. One complete layer should make exactly 30 turns. Be careful not to kink the wire as you thread it through the centre of the toroid, otherwise you won’t be able to fit all 30 turns in the available space. Bend and trim the start and finish ends as necessary to get a neat fit in the PC board holes. Scrape the enamel insulation off the wire ends with a sharp blade and tin with solder prior to soldering to the PC board. With the inductor in place, all that remains is to install an insulated wire link between pin 6 of IC1 and the spare Table 4 Fig.5: this waveform was captured on pin 6 of the TL499A switching regulator IC with a 40mA load (ie, the 220Ω test load). The switching frequency is a little over 9kHz in this case. 28  Silicon Chip Table.4: the maximum switching regulator output current depends on the input and output voltages. This table enables you to predict the maximum current for the chosen output voltage as battery voltage declines. www.siliconchip.com.au hole on one side of the inductor. Make this link from medium-duty hook-up wire and keep it as short as possible. That done, the inductor can be permanently fixed to the PC board using hot-melt glue or neutral cure silicone sealant. Hookup and testing All connections to the board are made with medium-duty hook-up wire. If desired, PC board pins (stakes) can be installed at each connection point rather than soldering the wires directly to the board. Note that the wiring length from the battery holder to the input terminals must not exceed 100mm. Where possible, replace existing light-duty battery www.siliconchip.com.au holder wiring with medium-duty cable and twist the leads tightly together to reduce radiated noise. The converter draws a small quiescent current (a few milliamps) under no-load conditions. Therefore, for light-load or intermittent use, you’ll need to install a switch in series with the battery. Use a switch with a 2A rating or higher. To counter the effects of switch contact resistance (and fuse resistance, if used), you may need to install a capacitor between the switch output and battery negative leads (see Fig.4). In cases where the converter is to be used in place of a 9V battery, a battery clip can be used to make the connection to the existing battery clip in the equipment. As shown on the overlay diagram (Fig.3), you’ll need to wire the clip leads in reverse, so that it mates up with the correct polarity! Before using the converter for the first time, connect a 220Ω 1W resistor across the output terminals and apply battery power. Use your multimeter to measure the voltage across this resistor. If the switching regulator is doing its job, you meter should read close to the desired voltage. If you’ll be using a plugpack as well, then connect it up while monitoring the output voltage. As stated earlier, you should see a small increase in voltage (about 180mV), indicating that the series regulator has taken over and shut SC down the switching regulator. March 2004  29 SILICON CHIP If you are seeing a blank page here, it is more than likely that it contained advertising which is now out of date and the advertiser has requested that the page be removed to prevent misunderstandings. Please feel free to visit the advertiser’s website: dicksmith.com.au SILICON CHIP If you are seeing a blank page here, it is more than likely that it contained advertising which is now out of date and the advertiser has requested that the page be removed to prevent misunderstandings. Please feel free to visit the advertiser’s website: dicksmith.com.au SILICON CHIP If you are seeing a blank page here, it is more than likely that it contained advertising which is now out of date and the advertiser has requested that the page be removed to prevent misunderstandings. Please feel free to visit the advertiser’s website: dicksmith.com.au SILICON CHIP If you are seeing a blank page here, it is more than likely that it contained advertising which is now out of date and the advertiser has requested that the page be removed to prevent misunderstandings. Please feel free to visit the advertiser’s website: dicksmith.com.au CIRCUIT NOTEBOOK Interesting circuit ideas which we have checked but not built and tested. Contributions from readers are welcome and will be paid for at standard rates. Signal meter for weather satellite receiver The VHF Weather Satellite Receiver described in our December 2003 issue was provided with just a simple LED indicator to show received signal strength, to keep the size and cost low. However, you can connect an external digital panel meter, if you want a more accurate signal strength indicator. Only minor changes are required to the receiver circuit, assuming that you will be using a digital panel meter with an input sensitivity of 200mV FSR (full-scale reading) and with an input resistance of 10MΩ or more. The existing 390kΩ resistor connected between pin 7 of IC1 and earth is changed to 620kΩ (R1). Two resistors (R2 and R3) are added in series, so that they form a 51:1 voltage divider across R1. The output from the divider is taken to a 2.5mm jack socket, which is mounted in a convenient position on the receiver’s rear panel. When the receiver is operating, the voltage across R1 varies between about +0.26V and +5V, according to the received signal strength. As a result the output voltage provided at the meter jack also varies, from about +5mV up to about 100mV. This means that the panel meter will give a signal strength reading that will Silicon Chip Binders REAL VALUE A T $12.95 PLUS P& P H Heavy board covers with mottled dark green vinyl covering H Each binder holds up to 12 issues H SILICON CHIP logo printed on spine & cover. Just fill in the handy order form in this issue; or fax (02) 9979 6503; or ring (02) 9979 5644 & quote your credit card number. Available only in Australia. Buy five & get them postage free! Silicon Chip Publications, PO Box 139, Collaroy 2097 34  Silicon Chip vary between ‘5’ (no signal) up to ‘100’ (maximum signal). SILICON CHIP. Car battery failure detector A car battery deteriorates in use and its life seldom exceeds four years. When new, its voltage may drop to only 2V while cranking the engine. As the battery ages, its internal impedance increases and so the voltage drop while cranking also increases, until ultimately the drop is high enough to prevent the engine from starting. This gradual increase in voltage drop while cranking can be used as an early warning of looming battery failure and so this circuit triggers an alarm when the battery voltage drops to 8V during cranking. The circuit is based on a battery voltage indicator published in the September 1995 issue of “Electronics Australia” and available from www.siliconchip.com.au Switch timer for bathroom light This 9-minute timer switch can be used to control the light in a toilet or bathroom. The timer is started by pushing S1 and stopped by pushing S1 again. If you forget to turn it off, the controlled light will go off after nine minutes. If you need the light on continuously non-stop, you need to press S1 (turn on) and then S2 (cancellation of timer) within 9 minutes and in this case the light will be on until you switch it off with S1. IC1 is a is 4013 dual flipflop. Flipflop IC1a is toggled on and off by switch S1 and it controls the relay which is switched by FET Q2. IC1a controls IC1b which is connected as an RS flipflop to enable or disable IC2, a 4060 oscillator/divider. This has its timing interval set by the Jaycar as a kit (Cat. KA-1778). IC1 is a precision 2.5V device used as the reference for two comparators based on IC2, an LM358 dual op amp. IC2a monitors the voltage from trimpot VR1 and normally its output at pin 1 will be low while the output of IC2b will be high and LED1 will be green. When pin 2 of IC2a falls below pin 3, its output at pin 1 will go high to drive the red section of LED1 to indicate a fault. At the same time, IC2b inverts the signal from pin 1 and its output at pin 7 goes low and turns off the green section of LED1 to indicate a fault. Since the battery voltage drop occurs momentarily while cranking, a more permanent indication of the fault is provided by flashing LED2. When IC2a’s output goes high momentarily, the SCR is latched and LED2 flashes and can only be deactivated by pressing pushbutton S1. www.siliconchip.com.au Rasim K components u is this m calovic at its pins 9, o 10 & 11. winner nth’s o The relay Peak At f the las LCR should have Meter 250VAC mainsrated contacts and these are connected in parallel with an existing wall switch. Rasim Kucalovic Liverpool, NSW. Victor Erdstein, Highett, Vic. ($25) March 2004  35 Circuit Notebook – continued Model theatre lighting dimmer This circuit is the basis for the dimmers in a model theatre lighting system which uses torch globes as the light source. The circuit is based around a 555 timer (IC1), driving a Triac. All dimmers share the one power supply and zero-crossing detector. As it will only work if there is a common AC/DC return path, it has a simple DC supply circuit consisting of one 1N4004 diode and one 4700µF capacitor. Transistors Q1-Q3 comprise a zero-crossing detector whose output is inverted into a negative-going pulse by Q4. This pulse is fed to the trigger input (pin 2) of the 555 IC which then starts its timing period at the beginning of each mains half cycle. The length of this period is set by a 220nF capacitor, a 1kΩ resistor and trimpots VR1 and VR2. The output of IC1 at pin 3 is then fed to transistor Q5 which inverts this signal to trigger the Triac via a 100Ω resistor. When the timing period is short, Fully adjustable power supply CONTRIBUTE AND WIN! As you can see, we pay good money for each of the “Circuit Notebook” contributions published in SILICON CHIP. But now there’s an even better reason to send in your circuit idea: each month, the best contribution published will win a superb Peak Atlas LCR Meter valued at $195.00. So don’t keep that brilliant circuit secret any more: sketch it out, write a brief description and send it to SILICON CHIP and you could be a winner! 36  Silicon Chip the Triac is turned on early in each half cycle and the lights are bright. Conversely, when the timing period is longer, the lights are dim or turned off. The main dimmer control is potentiometer VR1. Trimpot VR2 is used to set the range of VR1. With VR1 set fully clockwise (ie, maximum resistance), trimpot VR2 is adjusted until the lights are just turned off. The lights should then be able to be faded over the full range by the control potentiometer. Barry Freeman, Morphett Vale, SA. ($40) You can either email your idea to silchip<at>siliconchip.com.au or post is to PO Box 139, Collaroy, NSW 2097. Based on a National Semiconductor application note, this circuit uses an LM317 3-terminal regulator (REG1), chosen because of its built-in over-current and overtemperature protection. Its output is boosted up to just over 5A by the MJ2955 transistor (Q1). The output voltage is varied by adjusting the voltage on REG1’s ADJ terminal using VR1 (a 10kΩ potentiometer), via the 270Ω resistor. Adjustable current limiting is provided by op amp IC1, used as a comparator, which monitors the voltage across the 0.1Ω current sensing resistors. Once this voltage www.siliconchip.com.au 4-wire stepper motor driver This circuit enables the 6-wire stepper motor driver circuit from the May 2002 issue of SILICON C HIP to drive a 4-wire stepper motor, which is widely avail- able in scrapped Epson or Cannon inkjet printers. A 4-wire stepper motor requires bi-directional current drive which is provided by adding four P-channel IRF9530 Mosfets to the original circuit to form two H-bridge driver circuits. The original circuit’s IRFZ44Ns can be replaced with IRF530s. Note that the input voltage applied to the circuit should be about 12V. If a higher voltage is required, a separate driver for each Mosfet may be needed. Paul Chen, Eastwood, NSW. ($35) exceeds a level set by potentiometer VR2, then its output goes low, dragging down the adjust pin of REG1 and thus the output voltage. LED1 illuminates when current limiting is occurring. The 10kΩ voltage adjust potentiometer (VR1) has one side connected to -5V instead of 0V so that the output voltage can be varied down to 0V instead of 1.2V (normal limit of an LM317). Trimpot VR3 is adjusted to set the minimum output voltage to +100mV or so. Note that because the -5V rail is used as a reference, it should be regulated using an LM7905 or similar. The LM317 3-terminal regulator and Q1 should be mounted on the same heatsink to take advantage of REG1’s thermal control. Philip Chugg, Rocherlea, Tas. ($40) www.siliconchip.com.au March 2004  37 SERVICEMAN'S LOG It’s been a Panasonic month I’ve got quite a mixed bag this month but (fortunately) most of the faults were fairly straightforward. However, it’s amazing how some common faults can come back to haunt you in different guises! A brand-new 2003 Panasonic TX68PS72A (MX12 chassis) requiring urgent warranty attention appeared on my bench. The set wouldn’t start but the +141V, +15V, +12V, +9V, +5V and +3.5V rails were all being delivered by the primary switchmode power supply and were apparently all reaching their correct destinations. There was also +141V on the collector of the line output transistor (Q551, 2SC5517000LK) and on the horizontal driver transistor Q541, which told me that the latter wasn’t being switched on. This was due to the fact that no pulses were coming from pin 19 of the jungle IC (IC601, C1AB00001715). I then checked the voltage rails going to IC601. In this case, there should be +5V to pins 11, 42 and 74; and +9V to pins 25, 67 and 45. The latter (ie, to pin 45, HVCC) is the all-important +9V rail for the horizontal oscillator. This is derived from the 12V rail but measured just 4V on the actual pin. A close inspection of the circuit revealed that the +12V rail is fed through two very special diodes – D401 & D402 – and then a small choke (L401). These diodes, type MA2C029WAF, are called “Diode Varistor Double 1.24V” and the only trouble was that D401 had 6.76V across it instead of only 1.24V. A new diode restored the voltage and the set then functioned properly. The streaky TX- 68P100Z Mrs Staples’ 3-year old Panasonic TX-68P100Z flat screen TV (MD2 chassis) had an horrendous picture, with incredible 8cm streaking after every object on the screen. In fact, at first 38  Silicon Chip glance it looked as though it was some deliberate digital effect. The streaking wasn’t confined to any particular colour but could be varied slightly with the contrast control. Well, I checked the digital board by substitution and I could see, on the oscilloscope, that the RGB waveforms going into the three output ICs on the CRT “L Board” were clean. However, they were decidedly crook going to the CRT cathodes. I checked for ripple on the +140V and 210V rails to the three ICs and they were fine but the 12V was a different story. At this point, my attention was grabbed by a 3-pin device that’s normally used in low-voltage switchmode power supplies. This device is a TL431CLP zener linear IC controller and, in this unit, is designated D354. It is fed with 2.5V from pin 1 of each of the three output ICs and controls the 12V rail via R387, a 470Ω resistor. This circuit is designed to protect Items Covered This Month • Panasonic TX-68PS72A TV (MX12 chassis) • Panasonic TX-68P100Z TV (MD2 chassis) • Sanyo C29PK81 TV (AA1-A29 chassis) • • Philips VR788/75 Hifi VCR • Panasonic TC-68V80A TV (MX-4M chassis) Philips 29PT9418 TV (MG3.1 chassis) the rest of the set from CRT flashover by shorting the 12V rail and causing the set to shut down. However, in this instance, a partial failure in D354 had caused these symptoms. A new one fixed the problem. Faults that haunt It’s amazing how some common faults come back to haunt you in different guises! Mr Cabezas was complaining about his Sanyo C29PK81 (AA1-A29 chassis) and was waffling on about the colour being “wrong” and “going funny”. Now, having been in the trade for far too long, I “kinda” switch off when people waffle on about symptoms in their TV sets, as most are incredibly poor in describing what they see. For example, back in the early 1950s when RCA was developing colour TV in the USA, the public was invited to examine a whole row of colour TV prototypes in a large corridor and grade the quality of the pictures according to various subjective criteria. One of the sets was not a TV set at all – it was just a window looking outside onto a garden. 60% of the people who filled in the questionnaire ticked that the picture was poor and the colour unnatural! Many people use the word “unwatchable” when describing picture faults. Does this mean that they are blind? In fact, some 10% of the population is colour blind and about half of them don’t even know it. So I guess it’s just you and me who really know what good colour is all about . . . and I am beginning to wonder a bit about you! Anyway, I told Mr Cabezas to bring his TV in, whereupon he promptly wedged the heavy set into the back seat of his Falcon and, judging by the time he took to arrive, drove it around on two wheels! If the set hadn’t been damaged before, both it and the car certainly were now. Finally, we got it onto my workwww.siliconchip.com.au bench and I hooked it up to an antenna and looked at the picture. He was dead right – the picture was . . . well, funny. It was intermittently dark, sometimes going negative and with the colours appearing to split as though the static convergence was being adjusted. That said, it really is hard to accurately convey the effect on the picture. OK, so where should I start? While I was thinking and dithering about this, the picture became so dark that it eventually “went out” altogether. Great, out of the frying pan into the fire. Had the picture tube gone? No; it was still there! After I had recovered from my panic attack, I decided to work from first principles. What did I have? Well, for starters, stereo sound. In addition, the filaments of the tube were alight and there was no smell of burning. “Wonderful”, I thought. “It can’t be that bad”. Using a multimeter, I found that there was bags of screen voltage on the G2 grid of the tube. However, the collectors of the output transistors (and thus the cathodes) were all high at nearly 200V, which meant that these transistors were well and truly switched off. To check the CRT, I chose one hapless cathode and momentarily shorted it to ground. This gave a fully scanned raster of bright colour, so I now knew that the set’s vertical and horizontal scanning and EHT were all OK. What more could Mr Cabezas www.siliconchip.com.au want? Well, a good picture would be nice, I suppose. Fortunately, by now, a few bells were beginning to ring. And then I remembered – of course, it was just had to be resistor R1792 (120kΩ), which biases all three output transistors from the 200V rail. Well, that fixed the problem and I mentally kicked myself for not remembering this rather well-known fault. I guess there is no fool like an old fool! I also replaced R485 (180kΩ) for good measure, as it can also give weird dark picture problems. Mr Cabezas arrived to collect his set almost immediately, forcing it “none too gently” back into his long-suffering Falcon and disappearing in a cloud of blue tyre smoke. Philips hifi VCR The main worry with blown switchmode power supplies is that you have diagnosed and replaced every faulty component, and determined (if only roughly) why it blew up in the first place, before switching it back on. Recently, I had a 1999 Philips VR788/75 Hifi VCR brought in after a block of units was struck by lightning. Unfortunately, Mr Ford was an old age pensioner and did not have household contents insurance, so he was faced with either buying a new one or getting the old one fixed. And while he could buy a cheap mono VCR, watching movies was his only pastime and indulgence and so he chose to get his hifi VCR fixed. When I removed the cover, I could see that the power supply on the right of the 2-piece board was severely damaged – even the optocoupler’s plastic case had exploded! At this stage, my main concern was whether this was mainly a mains-borne lightning surge or a surge that had also come through the aerial socket. If it was the latter, then the tuner could also be U/S which, combined with the damaged power supply, would make it too expensive too fix. My next step was to dismantle the entire unit to get the motherboard out. As I did so, I examined it very carefully, looking for telltale black marks, but none could be found. So far so good! Getting back to the power supply, fuse FS001 was now just a few encrusted black shards of glass protruding from the metal end-caps. In addition, 0.39Ω resistor R5106 had a black hole in its side, while the 2SK2632 FET had lost its face, as had optocoupler PC5101, transistor Q5102 (2SD2144S) and transistor Q5302 (2SC1740S). This lightning hit had been violent, although ironically had not affected the TV set which was still merrily working. Having removed the five obviouslydamaged components, I used a multimeter to check some of the other parts in the power supply. This quickly showed bridge rectifier D5001 to be short circuit and so I continued to March 2004  39 Serviceman’s Log – continued check all the remaining active components, including the diodes. Because of the severe damage to the optocoupler, I was concerned that the surge had also taken out every single active component on the secondary (cold) side of this device. Despite this, I couldn’t find anything else that was faulty. Before ordering new parts, I checked a pile of similar wrecked Philips VCRs I had stored – mostly mono VR299/75 models. However, pickings were minimal – most had found their way to this, their last resting place, because of similar component failures. Acting on a whim, I decided that I would choose one of these and rebuild its power supply too – after all, the parts were very similar and it was just as easy to order for two as for one. When the order arrived, I changed all seven parts for the VR788 and only the four I felt were required for the VR299 – ie, the fuse, the FET, the bridge rectifier and resistor. Well, predictably, I had guessed correctly for the former and messed up for the latter. In retrospect, I should have replaced the same components, even though they measured OK in circuit. 40  Silicon Chip Mr Ford’s video was now performing perfectly while the mono VR299 was chucked back onto the junk pile (after blowing away the smoke)! Ms Hardy’s service call Ms Hardy requested a service call for her Panasonic TC-68V80A TV set (MX-4M chassis), which was dead. When I arrived, it was easy to see the reason for the set’s demise. She had an absolute waterfront to the Pacific Ocean and electricity and sea air just do not mix well. The set was about seven years old and was pretty rusty. Unfortunately, I had the temerity to suggest that it was past its use-by-date, especially in this environment. Miss Hardy soon put me right on that score and I was ordered to take it away and “jolly well fix it, my man”! After nearly killing myself by carrying the set down the stairs to the visitors’ carpark area about 15km away, I wasn’t sure which was in worse condition – the TV or myself. Anyway, back at the workshop, you could see the green gangrene of salt-water corrosion extending into the bowels of the set from the rear, though fortunately it had only seriously penetrated about 50mm into the components on the PC boards. My first step was to thoroughly clean the boards, which left them looking pretty good and with only superficial damage. The brunt of the attack was on the AV H Board, which protrudes vertically (probably saving the E Board behind), and on the Power Supply P Board. After replacing the boards, I switched the set on and was amazed to see it actually fire up and give a picture with sound. The result was somewhat intermittent, though – especially the picture width – and the power supply was making a few noises. I substituted a good power supply from another TV and everything looked pretty good, so I left it on test whilst I tackled the original power supply. The components around IC802 HA17555 looked a bit sorry, so I set about removing and testing them. They all measured OK but I replaced zener diodes D821 (8.2V), D819 (11V), D830 (9.1V) and D831 (4.7V) just to make sure. However, I couldn’t replace D836 because I didn’t have one in stock. Back in the set, the power supply was now a lot more stable but other things had started to go wrong. There was noise in the left-channel speaker, the colour was fading and there was no picture on the AV2 input. I swapped the AV (audio/video) module over and these symptoms all cleared up, so the fault was in this module. There isn’t much on the component side of the AV module except IC3001 (M51321P), transistor Q3005 and a few assorted capacitors. I socketed the IC and swapped both it the transistor but this had no effect. Surely it couldn’t be the surface mounted components on the rear of the board, because these weren’t facing the sea and would have been protected by the board itself? There are three ICs and nine transistors (all surface mount devices) on the rear of the board. A quick check showed that all were being fed from the +12V supply rail, so I decided to look carefully at the symptoms and solve each problem in turn. By now, the noisy left-channel sound had become intermittent “nosound”. All three ICs on the rear of the board are involved with AV switchwww.siliconchip.com.au ing, while part of IC3001 is involved with the stereo sound. Using an audio probe, I could hear the TV sound arrive at pin 18 but it was low on pin 1 compared with that from the right channel on pin 9. A glance at the circuit showed that pin 1 fed Q3001 and this transistor is muted by Q3002 on its base. I shorted the base-emitter junction of Q3002 (to turn it off) and the sound came up. I then found that freezing Q3002 made the sound come and go and replacing this surface-mounted transistor fixed the sound problem. Next on the list was the intermittent colour problem. This was now almost a “no-colour” problem, which was good for me as I had a definite measurable fault. The set employs what looks like a really weird circuit to split the colour and luminance, and you have to wonder why they did it that way. It involves two TC4066BFN analog switches and five transistors. It’s only when you look at the “upmarket” version of this set, which uses the same board but is fully loaded with all the components that are missing from the model I was working on, that you see that the extra SVHS inputs require the switching. I followed the signal from pin 14 of IC3001 to emitter follower Q3005 and thence to pin 3 of IC3004. However, at this point, it wasn’t switching properly to pin 4, so the colour signal stopped there. Before replacing this surface-mountwww.siliconchip.com.au ed IC, I checked the switching control voltage to pin 5 from Q3013. That proved to be a wise move, because it wasn’t there. R3068 and R3069 form a voltage divider to the base of Q3013 and the only voltage I could detect was on Q3013’s base. But where was this phantom voltage coming from? It turned out to be Q3013 itself – it was leaky and so the transistor was switching itself on! Replacing it fixed the “no-colour” problem. So far so good – that left the “no-picture” on AV2 problem to solve. The AV2 switching is carried out by IC3003 and a check with an oscilloscope soon showed that the video was arriving at pin 9. However, there was no output from pin 8. Due to an error in the circuit diagram, pin 6 (the control pin) is shown disconnected whereas, in actuality it is connected to the 12V rail via R3040 (10kΩ). R3040 measured OK and there was voltage on pin 6, so I replaced IC3003 which fixed the problem (much to my relief). By the way, I couldn’t obtain the correct IC (TC4066BFN) from my local supplier, as the ones they supplied were (surprisingly) too wide! Instead, I had to order originals from Panasonic. Despite my earlier work, the power supply was still playing up. I replaced IC802 (HA17555 – the CMOS version of an NE555 timer) to no effect. Next, I tried heating and freezing around this area and this caused some dramatic effects, often switching the power supply completely off. Transistors Q808 and Q809 were ELAN Audio The Leading Australian Manufacturer of Professional Broadcast Audio Equipment proving to be rather sensitive, so I decided to replace them one at a time. Both proved to be intermittently internally leaky and replacing them finally fixed the power supply problem. The only problem left was Ms Hardy. I phoned her about the considerable cost of the repair and added extra for every time she condescendingly used the term “my good man”. I am now in traction after re-delivering the set up all those flights of stairs. I certainly won’t be having anything 2 Steel Court South Guildford Western Australia 6055 Phone 08 9277 3500 Fax 08 9478 2266 email poulkirk<at>elan.com.au www.elan.com.au RMA-02 Studio Quality High Power Stereo Monitor Amplifier Designed for Professional Audio Monitoring during Recording and Mastering Sessions The Perfect Power Amplifier for the 'Ultimate' Home Stereo System For Details and Price of the RMA-02 and other Products, Please contact Elan Audio March 2004  41 Serviceman’s Log – continued further to do with Ms Hardy’s set if I can possibly help it! The arcing Philips TV A Philips 29PT9418 (MG3.1 chas- sis) came into the workshop with the customer complaining that it was dead! Well, it wasn’t quite dead – it just wouldn’t start up. The slow start-up procedure with this set is indicated by a LED display, starting with red (standby), then green and finally yellow before the picture and sound come on. In this instance, it would go through this process but instead of giving picture and sound, the red LED would flash, indicating that the set was in “Protection Mode”. Unfortunately, because I don’t have the “Dealer Service Tool”, I was unable to read the error code. After removing the covers, I found that I could measure the +141V rail as it rose until the red LED started flashing, at which point it would cut off. I checked the line output transistor (Q7421, BU2520PX) and this proved to be OK. However, an oscilloscope connected to the collector of this transistor momentarily showed some ringing before the set closed down. By now, I was satisfied that the flyback (or line output) transformer was the cause of the problem and so I started to remove it. There is a support screw from a rear panel to the transformer which has a plastic collar. When I removed this, I noticed it was carbonised on the inside. As this set came from a beachside address, I suspected it had been arcing around the collar. Anyway, I carefully cleaned away the carbon and switched it back on. This time, success – the picture and sound came on but I could still detect the telltale hiss of arcing around the flyback transformer. A new SC one fixed the fault properly. Limited Stock Electronics TestBench Electronics TestBench is a valuable 128-page collection of 20 top test equipment projects from the pages of SILICON CHIP. Includes: Power Supplies, Semiconductor Testers, Inductance Meter, Cable & Wiring Tester, Pink Noise Source, Zener Diode Tester, Crystal Checker, Sound Level Meter, Insulation Tester, Logic Probes, Low Ohms Tester, Remote Control Tester, Telephone Exchange Simulator, High-Voltage Insulation Tester. SPECIAL PRICE: $9 (INC P&P & GST). Note: may be shop-soiled. Order by phoning (02) 9979 5644 & quoting your credit card number; or fax the details to (02) 9979 6503; or mail your order with cheque or credit card details to Silicon Chip Publications, PO Box 139, Collaroy, NSW 2097. 42  Silicon Chip www.siliconchip.com.au SILICON CHIP If you are seeing a blank page here, it is more than likely that it contained advertising which is now out of date and the advertiser has requested that the page be removed to prevent misunderstandings. Please feel free to visit the advertiser’s website: www.jaycar.com.au SILICON CHIP If you are seeing a blank page here, it is more than likely that it contained advertising which is now out of date and the advertiser has requested that the page be removed to prevent misunderstandings. Please feel free to visit the advertiser’s website: www.jaycar.com.au SILICON CHIP If you are seeing a blank page here, it is more than likely that it contained advertising which is now out of date and the advertiser has requested that the page be removed to prevent misunderstandings. Please feel free to visit the advertiser’s website: www.jaycar.com.au SILICON CHIP If you are seeing a blank page here, it is more than likely that it contained advertising which is now out of date and the advertiser has requested that the page be removed to prevent misunderstandings. Please feel free to visit the advertiser’s website: www.jaycar.com.au SILICON CHIP If you are seeing a blank page here, it is more than likely that it contained advertising which is now out of date and the advertiser has requested that the page be removed to prevent misunderstandings. Please feel free to visit the advertiser’s website: www.jaycar.com.au SILICON CHIP If you are seeing a blank page here, it is more than likely that it contained advertising which is now out of date and the advertiser has requested that the page be removed to prevent misunderstandings. Please feel free to visit the advertiser’s website: www.jaycar.com.au SILICON CHIP If you are seeing a blank page here, it is more than likely that it contained advertising which is now out of date and the advertiser has requested that the page be removed to prevent misunderstandings. Please feel free to visit the advertiser’s website: www.jaycar.com.au SILICON CHIP If you are seeing a blank page here, it is more than likely that it contained advertising which is now out of date and the advertiser has requested that the page be removed to prevent misunderstandings. Please feel free to visit the advertiser’s website: www.jaycar.com.au SILICON CHIP If you are seeing a blank page here, it is more than likely that it contained advertising which is now out of date and the advertiser has requested that the page be removed to prevent misunderstandings. Please feel free to visit the advertiser’s website: www.jaycar.com.au SILICON CHIP If you are seeing a blank page here, it is more than likely that it contained advertising which is now out of date and the advertiser has requested that the page be removed to prevent misunderstandings. Please feel free to visit the advertiser’s website: www.jaycar.com.au SILICON CHIP If you are seeing a blank page here, it is more than likely that it contained advertising which is now out of date and the advertiser has requested that the page be removed to prevent misunderstandings. Please feel free to visit the advertiser’s website: www.jaycar.com.au SILICON CHIP If you are seeing a blank page here, it is more than likely that it contained advertising which is now out of date and the advertiser has requested that the page be removed to prevent misunderstandings. Please feel free to visit the advertiser’s website: www.jaycar.com.au 54  Silicon Chip www.siliconchip.com.au PRODUCT SHOWCASE PC Fault Analysis Made Simple Many faults in PCs are relatively easy to fix – if you know where the fault is. For those “in the know” (such as PC techs), diagnosing many faults has been relatively simple because the PC itself often tells you where the fault lies. It does this during its own “Power on Self Test” (POST) phase. Technicians have used this information for years but the difficulty for the average user, until now, has been in interpreting what the computer is trying to tell you. It has just become a whole lot easier with the SortTronx POST diagnostic card. This ISA and PCI card (both connectors are on the one card) includes an alphanumeric display, LED indicators and a speaker and, most importantly, has a complete listing of the BIOS codes used by various computer and BIOS manufacturers. When an error is found during the POST, the card reports via a series of LEDs and hexadecimal codes – you simply look up the code to reveal your problem. Problems with the motherboard itself, CPU, memory, display card, power supply and so on are revealed, even if there is no display on the monitor. In fact, it will work without a graphics card or memory – and tell you that they aren’t present. The POST diagnostic card sells for less than $100 including P&P and is available from softronx<at> bigpond.com Wholesale enquiries are also welcome. Budget schematic, PC board layout software Abacom’s new sPlan is an easy-to-use, budget-priced Windows CAD-software package for developing electronic and electric circuit diagrams It is ideal for the professional, student and amateur. It has drawing and editing functions that allow clear, professional circuit designs. sPlan produces high-quality printouts, which can be previewed to adjust scale and position of width of a the print. track will You can use the existing show immecomponent library or you diately on can draw and add your the layout. own symbols. Symbols are Functions “dragged and dropped” from such as copy, the library to the diagram and they fit exactly to the grid. move, rotate, mirror, etc are also Similarly, Sprint-Layout is an easyavailable. to-use, budget priced Windows CADComponents which you have drawn software package for creating layouts can be added to those in the existing, for single-sided and double-sided extensive component library. You can PCboards). It is equipped with tools easily drag and drop the components to draw pads, tracks, copper areas, from the library to your layout. After labels and so on. All parameters such that, you can mirror, rotate or label as track width, pad size, etc are always them as you wish. visible at a glance, and can be edited When the design is complete, you any time. can produce the necessary Gerber-files You can edit existing layout- for manufacture. Other users can take elements very easily. Adjusting the a look at your layouts and print them, www.siliconchip.com.au Contact: Softronx PO Box 477, Yarra Junction Vic 3797 Tel: 0419 354 302 email: softronx<at>bigbond.com with the free viewer software. Both packages are priced at just $65. More information and a demo version of sPlan is available from Ocean Controls at their website. Contact: Ocean Controls 4 Ferguson Dr, Balnarring, Vic,3926 Tel: (03) 5983 1163 Fax: (03) 5983 1120 Website: oceancontrols.com.au STEPDOWN TRANSFORMERS 60VA to 3KVA encased toroids Harbuch Electronics Pty Ltd 9/40 Leighton Pl. HORNSBY 2077 Ph (02) 9476-5854 Fx (02) 9476-3231 March 2004  55 PIC16Cxxx family library for CoreChart eLabtronics have been winning awards and acclaim for their innovative CoreChart Graphical Assembler software since its release at the World ICT Conference in 2002. Now the South Australian company has released a Microchip PIC16Cxxx Family Library CD for CoreChart. Included on the new Library CD are additional projects, more advanced subroutine modules, direct support for an expanded set of chip configurations, as well as valuable technical data – useful for professionals and enthusiasts who want to save even more time by using pre-packed CoreChart subroutines for PIC16Cxxx family chips. The new library now supports 82 chips, with the ability to import subroutines to any chip and export new subroutines to expand the library. The Microchip Technical Manual for the chip you are working on can be accessed with a single click. The powerful new subroutine modules allow the user to more easily develop programs for new, exciting applications such as A-to-D, EEPROM Access, Frequency-Tacho Readings, I2C-24LC256 Memory Access, Interrupts, Keypad, LCD, PWM, RS232 and Arithmetic Modules. Example projects on the CD include LDR Levels, Stepper Motor Control, Water Level Sensors, Greenhouse Temperature Control and Interrupt based Real Time Clocks. More information is available at www.elabtronics.com/products_cat_ CoreChart.htm. A CoreChart Software Licence is AU$132, the CoreChart PIC16Cxxx Library is AU$275, but a package of both is AU$330 inc GST. Contact: eLabtronics 51 Byron Place, Adelaide, SA 5000 Tel: (08) 8231 5966 Fax: (08) 8231 5266 Website: www.elabtronics.com 56  Silicon Chip Real-Time Spectrum Analysis Tektronix new series of real-time spectrum analysers provide the first complete measurement package for engineers developing cutting-edge RF techniques, ranging from RF Identification (ID) tags to radar applications. They provide the unique ability to trigger, capture and analyse time-varying RF signals. Today’s RF signals carry complex modulation and change from one instant to the next, hopping frequencies, spiking briefly and then disappearing. As a result, these RF signals are difficult to measure and present unpredictable behavior, making engineers’ ability to observe RF devices with existing spectrum analyzers extremely challenging. Tektronix’ new portfolio of realtime spectrum analyzers, include the RSA2200A Series and the RSA3300A Series. Designers and researchers working on advanced RF applications need efficient tools that can trigger, capture and analyze the spectral behavior of rapidly changing signals over relatively long time periods. This record of real-time signal behavior supports powerful analysis tools such as the spectrogram display, which plots frequency and power amplitude changes over time—many minutes of time in some cases. The frequency, time and modulation domains are all visible in time-correlated displays, while the spectrogram itself summarises the long-term view, enabling an intuitive, three-dimensional look at the time-varying signal behavior, otherwise unseen in traditional frequency domain displays. The new series comprise four models in total: RSA2203A, RSA2208A, RSA3303A, and RSA3308A. These encompass frequency ranges up to 8 GHz with various memory depth configurations. Real-time spectrum analysis is standard on all models. Contact: NewTek Sales 11 Lyon Park Rd, North Ryde, NSW 2113 Tel: (02) 9888 0100 Fax: (02) 9888 0125 Website: www.newteksales.com NI reduces data acquisition prices up to 25% National Instruments has announced a price reduction of up to 25% for 13 of its most popular data acquisition modules. The price reduction applies to all regions of the world for NI data acquisition devices ranging from 200,000 S/s to 1.25 million S/s, 12 to 16-bit resolution and 16 to 64 analog inputs. NI data acquisition cost per I/O channel has decreased by 74% since 1990. Most recently, NI has taken advantage of low-cost, off-theshelf technologies and significant increases in manufacturing efficiency to pass additional savings on to customers. For example, a customer who purchases the 16-bit, 64 analog input PCI-6031E device benefits from a savings of AU$530 – an-up-to-25% price reduction. In addition to taking advantage of these significantly lower data acquisition prices, engineers and scientists can reduce their total cost of measurement through innovative NI software technologies. For example, the new NI-DAQmx measurement services software lowers application development costs by substantially reducing the time-costs of software development, system set-up, configuration, maintenance and calibration. For more information on this worldwide price reduction as well as a listing of all DAQ modules involved, readers may visit w w w. n i . c o m / d a t a a c q u i s i t i o n Contact: National Instruments Tel: 02 9889 1033 Fax: 02 8572 5290 Website: www.ni.com www.siliconchip.com.au SILICON CHIP WebLINK How many times have you wanted to access a company’s website but cannot remember their site name? Here's an exciting new concept from SILICON CHIP: you can access any of these organisations instantly by going to the SILICON CHIP website (www.siliconchip.com.au), clicking on WebLINK and then on the website graphic of the company you’re looking for. It’s that simple. No longer do you have to wade through search engines or look through pages of indexes – just point’n’click and the site you want will open! Your company or business can be a part of SILICON CHIP’s WebLINK . For one low rate you receive a printed entry each month on the SILICON CHIP WebLINK page with your home page graphic, company name, phone, fax and site details plus up to 50 words of description– and this is repeated on the WebLINK page on the SILICON CHIP website with the link of your choice active. Get those extra hits on your site from the right people in the electronics industry – the people who make decisions to buy your products. Call SILICON CHIP today on (02) 9979 5644 BitScope is an Open Design Digital Oscilloscope and Logic Analyser. PC software drives BitScope via USB, Ethernet or RS232 to create a powerful Virtual Instrument. BitScope is available built and tested or in kit form. Extensive technical details are available on the website. Great for hobbyists, university labs and industry. BitScope Designs Designs BitScope Contact: sales<at>bitscope.com Contact: sales<at>bitscope.com WebLINK: bitscope.com WebLINK: bitscope.com · Hifi upgrades & modification products - jitter reduction and output stage improvement. · Danish high-end hifi kits - including pre- amps, phono, power amps & accessories. · Speaker drivers including Danish Flex Units plus a range of accessories. · GPS,GSM,AM/FMindiv.&comb.aerials. Soundlabs Soundlabs Group Group Syd: (02) 4627-8766 Melb: (03) 9859-0388 Syd: (02) 9660-1228 Melb: (03) 9859-0388 WebLINK: WebLINK:soundlabsgroup.com.au soundlabsgroup.com.au A 100% Australian owned company supplying frequency control products to the highest international standards: filters, DIL’s, voltage, temperature compensated and oven controlled oscillators, monolithic and discrete filters and ceramic filters and resonators. Our website is updated daily, with over 5,500 products available through our secure online ordering facility. Features include semiconductor data sheets, media releases, software downloads, and much more. Hy-Q International Pty Ltd JAYCAR JAYCAR ELECTRONICS ELECTRONICS WebLINK: www.hy-q.com.au WebLINK: www.jaycar.com.au WebLINK: www.jaycar.com.au Tel:(03) 9562-8222 Fax: (03) 9562 9009 Tel: Tel: 1800 1800 022 022 888 888 . We specialise in providing a range of Low Power Radio solutions for OEM’s to incorporate in their wireless technology based products. The innovative range includes products from Radiometrix, the World’s leading manufacturer. TeleLink Communications Tel:(07) 4934 0413 Fax: (07) 4934 0311 WebLINK: telelink.com.au JED designs and manufactures a range of single board computers (based on Wilke Tiger and Atmel AVR), as well as LCD displays and analog and digital I/O for PCs and controllers. JED also makes a PC PROM programmer and RS232/RS485 converters. Jed Microprocessors Pty Ltd Tel: (03) 9762 3588 Fax: (03) 9762 5499 WebLINK: jedmicro.com.au International satellite TV reception in your home is now affordable. Send for your free info pack containing equipment catalog, satellite lists, etc or call for appointment to view. We can display all satellites from 76.5° to 180°. Av-COMM Pty Ltd Tel:(02) 9939 4377 Fax: (02) 9939 4376 Tel:(02) WebLINK: avcomm.com.au WebLINK: avcomm.com.au Farnell Health & Safety Catalog Farnell InOne have just released their new Health & Safety Catalog. Safety, security and protection of your employees in the workplace becomes more and more vital in an environment where safety standards continue to become more stringent. The new Health & Safety Catalog introduces a bigger range of personal protection, hygiene and site and safety products that meet Australian and New Zealand standards, with brands www.siliconchip.com.au such as 3M, MSA, Hard Yakka, Roebuck, Brady, Bata and Karcher. The Health & Safety Catalog features comprehensive indexes, enabling you to search by Farnell InOne order code, manufacturers’ part number or you can browse by product category. You’ll find what you want – quickly. When it comes to finding the right product for your needs the catalog has in-depth product descriptions and technical information to help you make the right decisions. It also includes quantity break pricing. To request your FREE copy of the Farnell InOne Health & Safety Catalog call either of the numbers below for Australia or NZ. Contact: Farnell InOne PMB 6, Chester Hill NSW 2162 Tel: 1300 361 005 (NZ 0800 90 80 80) Website: www.farnellinone.com March 2004  57 The easy way to identify faulty electros ESR Meter Mk.2 Pt.1: By BOB PARKER Forget about capacitance meters – an ESR meter is the way to go when it comes to identifying faulty electrolytics. This well-proven design is autoranging, low in cost and simple to build. ESR Meter: Main Features • • • • • • • • • In-circuit testing, made possible by using <100mV test voltage which won’t forward bias diodes or transistors. Auto-ranging to cover 0.01-99Ω. Non-polarized test leads due to no DC component in the test signal. Single pushbutton to easily control all functions. Test lead resistance zeroing. Automatic switch-off after three minutes when the meter is idle. Low battery voltage warning – “b” blinks on the display. 13mm LED displays for easy viewing from a distance. Chart of typical electrolytic capacitor ESR figures on the front panel. 58  Silicon Chip I T’S HARD TO BELIEVE that it’s already eight years since my first ESR (equivalent series resistance) meter was described – in the January 1996 edition of “Electronics Australia”. It was designed on a 386 PC! The ESR meter allowed service technicians to quickly and easily identify defective electrolytic capacitors while they were still in circuit. It measures a characteristic of electrolytic capacitors which is very important: the “equivalent series resistance” or ESR. Back then, no-one (including myself) expected that a meter designed to measure a capacitor characteristic hardly anyone had ever heard of would become popular in Australia, let alone overseas. However, we didn’t consider the explosive growth of the Internet. Thanks to people discussing it on various newsgroups and by email, about 12,000 ESR meter kits have now been sold and sales (mainly outside Australia) continue to be strong. www.siliconchip.com.au Over those eight years, both Dick Smith Electronics (which sells the kit) and the author have received many suggestions from constructors on improving the ESR meter kit – particularly on making the construction easier. This upgraded version is the result and incorporates many of those ideas. As before, it will be available as a complete kit from DSE. What’s ESR? Before taking a look at what’s changed in this “Mk2” version of the ESR meter, let’s take a look at what an ESR meter does. First, we need to get into a bit of boring theory to understand how electrolytic capacitors (which I’ll refer to simply as “electrolytics” from here on) are constructed and work. This is necessary to understand why they cause so many electronic faults. Fig.1 is a simplified cross-section drawing which shows the basics. As with many other kinds of capacitors, the plates of an electrolytic consist of two long aluminium foil strips wound into a cylinder. The big difference is that the dielectric isn’t a strip of plastic or other insulating material separating these plates, but an extremely thin layer of aluminium oxide which is formed directly onto the anode foil itself during the manufacturing process. As part of an electrolytic’s electrochemical operation and to achieve the closest possible electrical contact with the cathode side of the oxide layer, a separating strip of porous material (generally paper) is sandwiched between the plates. This separator is soaked with a highly conductive liquid called the “electrolyte”, which effectively connects the negative plate to the oxide layer and gives the capacitor its name. In very old electrolytics, the electrolyte was water-based but they now use water-free formulas. Because electrolytics make use of a conductive liquid to complete the electrical circuit between the cathode plate and one side of the dielectric, the electrolyte’s electrical resistance is critical. It is the major component of the capacitor’s “equivalent series resistance” or “ESR”. Other components of ESR are the inductance of the wound capacitor element, the resistances of the internal connections and the impedance of the capacitance itself. In operation, electrolytic capacitors can function perfectly for decades. www.siliconchip.com.au Fig.1: simplified cross-section of an electrolytic capacitor. The dielectric consists of a thin layer of aluminium oxide on the anode plate and this is connected to the cathode plate via an electrolyte-soaked separator. Fig.2: as shown in this diagram, the electrical resistance of the electrolyte is in series with the capacitance of the oxide dielectric. It is the major component of the “equivalent series resistance” or “ESR” of an electrolytic capacitor. Fig.3: this block diagram shows the basic scheme for the ESR meter. S1 is an electronic switch and it allows the test capacitor to be alternately charged for 8µs from a constant current source and then discharged for 492µs. The resulting voltage waveform is then amplified and fed to a comparator, where it is compared with a reference voltage ramp. However, there are some conditions which will cause the electrolyte’s resistance (ESR) to increase. This can eventually reach a point where it causes problems for the circuit. Normally, a flexible rubber seal keeps the electrolyte contained inside the aluminium case of the capacitor. If the seal fails (as it regularly does in surface-mount electrolytics), the electrolyte will leak and/or dry out. The two other big killers are: (1) high temperatures where the electrolytic is located; and (2) high levels of ripple current through the capacitor, which cause elevated temperatures inside it. These conditions cause chemical changes to the electrolyte, increasing its resistance. This is why time after time, repair technicians find electrolytics failing in switchmode power supplies, the deflection stages of CRT TVs and monitors, and other power circuitry March 2004  59 or other problems but real world capacitors have ESR. The ripple voltage across this “equivalent series resistance” causes circuit losses as well as heating within the capacitor, if it becomes excessive. For example, in switchmode power supplies, high ESR can cause starting failure, loss of regulation and excessive high-frequency noise on the outputs. Similarly, deflection circuits can suffer from distorted and reduced scanning waveforms. In fact, high electrolytic capacitor ESR often causes strange problems which are hard to make sense of. It’s worth noting that ESR increases rapidly as the temperature drops. As a result, defective electrolytics are often indicated by faults which are worst in winter and when the equipment is first switched on, with the symptoms gradually diminishing as the temperature rises. Capacitance vs ESR meters Fig.4: this simplified flow chart shows how the microcontroller takes an ESR measurement. It simply counts the measurement pulses until the comparator output no longer goes high during one of them. such as electronically-commutated motors where both of those conditions are common. Why high ESR causes trouble The function of an electrolytic capacitor is to block DC while acting as a low impedance to any AC voltage across it. As a power supply filter, an electrolytic smooths rectified voltage and so has to pass the AC ripple voltage on it. This causes “ripple” current through the capacitor. In a perfect capacitor, such ripple current causes no internal heating 60  Silicon Chip In the past, technicians didn’t have much choice but to check suspect electrolytics using a capacitance meter. Unfortunately, capacitance meters are generally useless for weeding out electrolytics which are causing trouble. They’re generally designed to ignore the ESR and show only the actual capacitance which usually stays close to its correct value, even when the ESR has gone through the roof! In addition, the capacitor must be disconnected from the circuit before making capacitance measurements. Now you can see why ESR meters have become so popular with technicians. They’re designed to directly measure the very characteristic which is causing the fault. What’s more, this measurement can be made with the capacitor still in circuit (while the equipment is safely disconnected from power). This avoids the inconvenience of having to unsolder it, which incidentally also heats it up and makes the ESR drop, thereby masking the problem. Microcontroller-based meter Unlike most other ESR meters, this design is based on a microcontroller IC. This custom-programmed chip makes possible the extensive range of features offered (see panel). It also greatly contributes to the small size, low cost and simplicity of the ESR meter. The microcontroller drives two 7-segment LED displays to give a direct readout of ESR measurement. How it works An ESR meter’s job is to measure the resistance of an electrolytic capacitor’s electrolyte while (as far as possible) ignoring the capacitive reactance. Fig.3 shows a simplified diagram of how this is done in the ESR meter described here. As shown, switch “S1” (in reality, an electronic switch driven by the microcontroller) alternately connects and disconnects the capacitor being tested to a constant current source of either 0.5mA, 5mA or 50mA (depending on the range). In practice, the capacitor is alternately charged for 8µs (S1 in the “Charge” position) and discharged for 492µs (S1 in the Discharge” position). Because the test current pulses are so short, the voltage pulses developed across the capacitor are essentially proportional to its ESR. That’s because capacitors with values above about 1µF don’t have time to charge enough to significantly affect the reading. The voltage pulses across the capacitor are fed to a non-inverting wideband amplifier with a gain of 20. The resulting signal is then applied to the noninverting input of an op amp comparator (inside the microcontroller) and compared against a reference voltage which increases linearly with time. Analog-to-digital conversion In operation, the test current pulses are applied to the capacitor at a constant rate of one every 500µs (ie, 8µs charge, 492µs discharge). At the same time, capacitor C10 is charged via another constant current source, so that its voltage increases linearly at a rate of 10mV/500µs. The resulting linearly increasing voltage on C10 is applied to the inverting input of the comparator. As a result, the comparator’s output will go high during each ESR measurement pulse, until C10’s voltage exceeds the pulse amplitude. When that happens, the comparator’s output stays low and the missing output pulses are detected by the firmware in the microcontroller. Fairly obviously, the number of pulses that occur up until this point is directly proportional to the capacitor’s ESR. It’s simply a matter of using the www.siliconchip.com.au www.siliconchip.com.au March 2004  61 Fig.5: a Zilog Z86E0412 programmed microcontroller (IC2) forms the heart of the circuit. This IC automatically switches transistors Q3-Q5 to set the pulse current level, while Q7 & Q8 amplify the resultant voltage pulses across the test capacitor for comparison with a reference voltage ramp (across C10). the number of measurement pulses until the comparator output no longer goes high during one of them. General operation With the basics out of the way, let’s now take a look at the complete circuit. Fig.5 shows the details. As can be seen, it’s based on a Z86E0412 microcontroller (IC2). Starting with the power supply, Q1 is the main power switching transistor. In the meter’s “off” state, Q1 has no forward bias and so no significant current flows from the battery. Conversely, when switch S1 is pushed, base current flows from Q1 and through resistor R2 and diode D1 to ground. Q1 thus switches on and effectively connects the battery’s positive terminal to the input of 5V regulator IC1. This in turn provides a +5V rail to power microconHere’s a preview of the assembled PC board. troller IC2 and the rest of the The construction details are in Pt.2. circuit. microcontroller to count these pulses As soon as power is applied, IC2’s to obtain a reading on the display crystal oscillator (based on 3.58MHz (and microcontrollers are very good crystal X1) starts and IC2 begins at counting). executing the instructions in its Fig.4 shows the simplified flow firmware. The first “external” thing chart of how the microcontroller takes it does is drive pin 2 to +5V and this an ESR measurement. It simply counts turns on transistor Q2 via resistor R3 What’s Changed In The Mk.2 Version • Front panel chart figures updated to reflect current-generation electrolytic capacitors. • PC board now has silk-screened component overlay, solder masking and holes under the trimpots for adjustment after final assembly. • • • Improved appearance, with countersunk screws, etc. • Smaller more reliable pushbutton switch which is harder to accidentally bump in a toolbox. • Automatic self-testing of the meter’s circuitry added to the microcontroller firmware, to simplify fault-finding if a newly-built meter doesn’t work properly. Automatic switch-off time increased from two minutes to three minutes. Holder for 6 AAA cells instead of a 9V alkaline battery for longer times between battery replacements (and to finally end constructor confusion about how to keep the battery in place). 62  Silicon Chip (15kΩ). As a result, Q2 takes over from pushbutton switch S1 in maintaining Q1’s base current through R2, thus ensuring that the power remains on when S1 is released. Pulsed current sources Transistors Q3, Q4 and Q5 are driven by pins 15-17 of IC2 (via 2.2kΩ resistors) and function as switches. Depending on the range chosen, the Z86 pulses one of these transistors on for 8µs every 500µs, to apply short current pulses via C5 & C6 to the capacitor being tested. Resistors R6, R8 & R10 set the pulse current to either 0.5mA, 5.0mA or 50mA, while capacitors C5 and C6 block any DC component from reaching the test leads. Note that bipolar electrolytic capacitor C6 is in series with the current source resistors, so its own ESR is effectively “swamped” by the relatively high resistor values. C5 is included to preserve the highfrequency response of the pulse waveform and to further reduce the effect of C6’s ESR. Between the 8µs pulses, IC2 drives its pin 1 port to +5V. This turns Q6 on and discharges the series combination of C5/C6 and the capacitor under test. Pulse amplifier The current pulses developed across the test capacitor are fed via C7 and R12 to a fast non-inverting pulse amplifier based on transistors Q7 and Q8. These two transistors are wired as common-emitter stages, with feedback applied via R17 to give an overall gain of about 20, depending on the setting of VR2. The amplified signal output from this stage is then fed to the noninverting input of one of IC2’s comparators via pin 8, so that it can be compared with the reference voltage. Reference voltage generator Transistors Q9 and Q10 form a current mirror circuit which works with capacitor C10 to provide the reference voltage (see Fig.3). It works like this: when Q9 is on (ie, when pin 4 of IC2 is low), approximately 9.4µA flows through this transistor and R22. This current is “mirrored” by Q10, so the same amount of current also charges C10 (470nF) at a linear rate towards the +5V supply for as long as pin 4 of IC2 is held low. www.siliconchip.com.au The ramp voltage developed across C10 is applied to pin 10 of IC2. This pin is the common inverting input of the two voltage comparators inside the Z86. Q11 discharges C10 when IC2 switches its pin 4 port to +5V at the end of each measurement cycle. Range changing While ever the power is switched on, the Z86 goes through a regular measurement routine in which it starts C10’s voltage ramping up and then drives either Q3, Q4 or Q5 with 8µs pulses that are 500µs apart. This produces measurement ranges of 0.000.99Ω, 1.0-9.9Ω and 10-99Ω. If a reading is offscale, the unit automatically drops to the next lowest test pulse current and checks again. However, if it’s already on the 10-99Ω range and the reading is offscale, it will display “-” to indicate a reading above 99Ω. Conversely, if it gets a very low reading, it will keep going to the next highest test current, until it’s found the highest on-scale reading. The reading is then shown on the 7-segment LED displays. Driving the displays To display the reading, the Z86 What Are Typical ESR Readings? So what are typical ESR readings for various electrolytic capacitors? Unlike other electrical characteristics, there’s no such thing as a “normal” ESR value for an electrolytic of a given capacitance and operating voltage. The ESR to a large extent depends on the physical size of the capacitor and whether it’s a low-ESR or high temperature-rated type. It also varies between manufacturers. In addition, ESR increases rapidly as the temperature drops and vice versa. The chart on the front of the meter contains sample ESR values for a range of common electrolytic capacitor values and voltage ratings. These have been derived both from physical measurements on a range of capacitors and from manufacturer’s data sheets. It’s only intended as a rough guide, to give an idea of what to expect until you become familiar with using the ESR meter. microcontroller sends out eight bits of data (in sequence) every 5ms to IC3, a 4094 serial-to-parallel shift register. These data bits correspond to the LED display segments and to the decimal points which are formed using LEDs 1 & 2. In operation, the LED displays (DISP1, DISP2 and LEDs 1 & 2) are switched at a 100Hz rate by transistors Q12 and Q13. Q12 is driven (via R28) from the P23 output (pin 18) of IC2, while Q13 is biased on via R27, which connects directly to the +5V rail. Q13 toggles off when Q12 turns on and turns back on again when Q12 turns off. Due to the slow response of the human eye, the displays all appear to be constantly illuminated. This technique is called “multiplexing” and it allows the two displays to share a common drive circuit. Test lead resistance zeroing The resistance of the test leads can be compensated for by again pressing switch S1 (ie, after the unit has been Car Projects, Volume 2 THE PROJECTS: High-Energy Universal Ignition System; High-Energy Multispark CDI System;Programmable Ignition Timing Module; Digital Speed Alarm & Speedometer; Digital Tachometer With LED Display; Digital Voltmeter (12V or 24V); Blocked Filter Alarm; Simple Mixture Display For Fuel-Injected Cars; Motorbike Alarm; Headlight Reminder; Engine Immobiliser Mk.2; Engine Rev Limiter; 4-Channel UHF Remote Control; LED Lighting For Cars; The Booze Buster Breath Tester; Little Dynamite Subwoofer; Neon Tube Modulator. Available from SILICON CHIP Mail order prices: Aust: $14.95 (incl. GST & P&P) NZ/Asia Pacific: $18.00 via airmail Rest of World: $21.50 via airmail Order by phoning (02) 9979 5644 & quoting your credit card number; or fax the details to (02) 9979 6503; or mail your order with cheque or credit card details to Silicon Chip Publications, PO Box 139, Collaroy, NSW 2097. www.siliconchip.com.au March 2004  63 bled if necessary (see the “Optional Modifications” panel in Pt.2). Parts List 1 PC board, code ZA1044, 95 x 57mm 1 3.58MHz crystal, HC-49/U case (X1) 1 16-pin IC socket 1 18-pin IC socket 1 28-pin IC socket 6 AAA alkaline cells 1 6 x AAA cell holder 1 plastic utility box, type UB3 1 miniature momentary-contact pushbutton switch 2 4mm banana sockets 1 pre-punched silk-screened front panel 1 red perspex display filter 4 15mm spacers 6 PC pins 8 washers 1 set of test leads 1 10kΩ PC-mount trimpot (VR1) 1 200Ω PC-mount trimpot (VR2) 1 Z86E0412 programmed microcontroller (IC2) 1 4094 CMOS shift register (IC3) 2 LSD5114 or LTS5503AE 7-segment LED displays (DISP1, DISP2) 2 3mm red LEDs (LED1,LED2) Semiconductors Resistors (0.25W, 1%) 4 1N4148 or 1N914 signal diodes (D1,D2,D5,D6) 2 1N4004 power diodes (D3,D4) 4 BC328 PNP transistors (Q1, Q3,Q4,Q5) 5 BC338 NPN transistors (Q2, Q6,Q11,Q12,Q13) 1 BC548 NPN transistor (Q7) 3 BC558 PNP transistors (Q8, Q9,Q10) 1 78L05 3-terminal regulator (IC1) powered up) while the test lead probes are held tightly together (to minimise contact resistance). When this is done, pin 3 of IC2 is pulled low via D2 and S1 and the microcontroller goes into its test lead zeroing routine. If the reading is less than 1Ω (as all test leads are), it saves this value for as long as the meter is switched on. It then subtracts it from all subsequent readings, so that only the ESR of the capacitor being tested is displayed (ie, so that the reading is unaffected by the test lead resistance). Switching off Pressing S1 while the test leads are separated (or connected to a resistance of 1Ω or higher) initiates the “switchoff” routine (assuming, of course, that the unit is already on). 64  Silicon Chip Capacitors 2 220µF 16V RB electrolytic (C3,C9) 1 100µF 16V RB electrolytic (C1) 1 47µF 50V bipolar RB electrolytic (C6) 1 22µF 16V RB electrolytic (C8) 1 470nF 63V MKT (C10) 4 100nF 50V disc or monolithic (C2,C4,C5,C13) 1 33nF 63V MKT (C7) 2 27pF 50V NPO disc ceramic (C11,C12) 1 470kΩ 1 220kΩ 1 100kΩ 2 47kΩ 2 15kΩ 7 10kΩ 1 6.8kΩ 3 4.7kΩ 1 2.7kΩ 4 2.2kΩ 2 1kΩ 1 680Ω 1 220Ω 1 180Ω 1 100Ω 1 68Ω (for calibration) 1 5.6Ω (for calibration) Miscellaneous Hookup wire & solder What happens is that the Z86 stops making measurements and switches its pin 2 port to 0V, in turn switching off transistor Q2. Then, when you release S1, Q1 switches off and the meter shuts down. In addition, the ESR Meter includes an automatic power-off function. This shuts the meter down if it has been idle for more than three minutes. It works like this: as long as the meter is actively taking readings, it keeps resetting a 3-minute timer function in the Z86 microcontroller. However, if the unit is left idle (even with the test leads touching), the Z86 automatically switches its pin 2 port low after three minutes, thus turning off the power. This automatic switch-off function may be a nuisance in some situations, however. Hence, it can be easily disa- Battery voltage warning A simple voltage divider consisting of trimpot VR1 and series resistors R25 & R26 makes up the battery warning circuit. This divider is connected across the switched battery voltage and VR1 is adjusted so that it applies 2V to pin 9 of IC2 when the battery voltage is at 7V (ie, the minimum at which the regulator will continue to regulate). Pin 9 is the non-inverting input of IC2’s second internal comparator. In operation, IC2 switches its pin 4 port to 0V for a period of 100ms several times per second, to allow C10 to charge up to a predictable 2V. The second comparator inside IC2 then compares this 2V reference against the voltage on VR1’s wiper. If the battery voltage is down to 7V, IC2 reduces the time each LED display is switched on by 50%. This reduces the load, which allows the battery voltage to slightly rise again and provide a bit more operating time. It also flashes a “b” on the righthand digit at a 1Hz rate until the power is turned off. Protection circuitry Last but not least, the meter needs to be protected against being connected to charged capacitors. This protection is partially provided by back-to-back diodes D3 and D4. If an external DC voltage (ie, a charged capacitor) is connected, one of these diodes conducts and forces non-polarised capacitors C5 and C6 to charge up to that voltage. Additional protection is provided by C7, R12, D5 & D6 which stop excessive input voltages from damaging transistors Q7 and Q8 in the pulse amplifier circuit. In particular, diodes D5 & D6 acts as voltage clamps – D5 ensures that the voltage on Q7’s base cannot go above 5.6V, while D6 ensures that this voltage cannot go below -0.6V. Finally, extra “heavy-duty” protection can be added by connecting a pair of back-to-back high-power diodes (not shown on the circuit) between the test terminals. The “Optional Modifications” panel in Pt.2 next month has the details. Next month, we’ll show you how to build the ESR Meter and describe how it is used. There’s also a full troubleshooting and diagnostics procedure in SC case you encounter difficulties. www.siliconchip.com.au BP SOLAR PANELS. ELECTRIC SCOOTERS BP212SR These are brand new self regulating 12W NEW PRODUCTS!! Electric bikes /scooters Unlike a lot of others these have Australian electrical and approvals including C TICK. (SC1) monocrystalline BP model BP212SR solar panels. You will find more information and a test report by searching for the part number BP212SR on the internet. Dimensions are 231mm * 561mm * 38.5 mm, & weighing 2.2Kg. Brand new in original packaging, worth around $300 Ea.. We have a good Quantity available. <at> $120 First shipment due soon (late March). Pre-order now to get yours first and avoid delays Y OR T C DU E O IC R INT PR 120 $ AM A PR ZING ICE S Buy a number of solar panels, LED lamp kits & SLA battery/s & save 10% This compact light weight scooters fold up for easy carrying and storage. Features inc variable speed control, adjustable / removable seat, hand lever style brake. Brake and throttle can be swapped from side to side. Telescopic handlebars to suit most riders. Comes complete with mains charger and batteries. 40 X 40 mm . (GP1) 4.0A $12.50 (GP2) 6.0A $15.50 (GP3) 8.0A $18.50 For more info check our Website. **NEW KIT**K140A PELTIER CONTROLLER Our old peltier (heater / cooler) controller kit (K140) has been revamped. Now smaller than ever. Kit includes PCB & all onboard components.$16.50 K203 BUDGET 4/2CH UHF SECURE MICROPROCESSOR BASED REMOTE CONTROL The transmitter kit uses a pre-built 4 button 433MHz keyfob transmitter (requires minor assembly) with a mini telescopic antenna (range tested at over 200M, maybe higher). The receiver kit uses a pre-built and pre-tuned UHF module and 2 pre-programmed microprocessors. Features include onboard high current relays with indicator LEDs and screw terminals for easy connection. Any or all of the outputs can be set to momentary or latching action on any of the four channels from the transmitter. K203 Receiver kit inc. PCB, UHF module and all onboard components to build a 2ch receiver .$28 Extra components to add 2 channels K205A. $10 Transmitter kits TX7. $12 (NEW) DAZZLE DIGITAL MEDIA USB READER The Ultimate Digital Media Reader for users of digital cameras, MP3 players, mobile phones, PDAs & other portable devices which use Smart Media, SecureDigital (SD), MultimediaCard (MMC) & Compact Flash (CF). Dazzle Readers offer a fast & convenient method to transfer Our K180 high security rolling code 4 ch UHF remote control is still available <at> $54 for the RX & $25 for the TX. pictures, music & data to your PC. Only $6.90 Motor: 100W Battery: 24V 4AH More info on our web site. Speed: 12KM/H Range: 14-16km N.W: 8KGS G.W: 10KGS Meas: 740 X 130 (deck) X 930mm We believe that our 5mm ULTRABRIGHT NOTE: These scooters are not toys and should only be WATERCLEAR LED’S give you the MOST LUX FOR used under adult supervision and only where approved YOUR BUCKS, this applies even when their multiple by local authorities. arrays are compared to the high Lux LED's! CHECK OUT OUR NEW YEAR PRICES: 5mm RED ULTRABRIGHT…….….40C 5mm GREEN… ULTRABRIGHT…60C 5mm BLUE… ULTRABRIGHT...…50C 5mm WHITE… ULTRABRIGHT….70C THE FOLLOWING HAVE A BUILT IN IC THAT PRODUCES A COLOUR SEQUENCED LIGHT SHOW: 5mm RED-GREEN……….….........70C 5mm RED-BLUE…………............70C $$$ $$$ MORE LUX $$$ FOR YOUR BUX $$$ ELECTRIC BIKE IAL C E SP EW N CE I PR 99 $2 HOT NEW PELTIER PRICES SLA BATTERY CHARGER EW K IT ** This switched mode inverter K091A K091A is designed to charge Sealed Lead Acid batteries & any other 12V lead acid batteries to their end point of 13.8V when being charged from 12V car or boat batteries: An "up" voltage inverter that can be used in Checkout this full featured bike including variable speed, many other applications. adjustable handlebars and seat, lights, front and rear Our new circuit was slightly suspension, inflatable wheels, side stand & more. (SC2) modified to improve the efficiency, Motor: 200W and make provision to increase the Battery: 12V 12AH charging current. Easily modified for greater currents: Speed: 18KM/H PCB and all on-board components. Range: Greater than 20km LED COLLIMATING LENSES. G.W: 27KGS NOTE: These scooters are not toys and should only be This 35mm diameter plastic lens was used under adult supervision and only where approved by designed to collimate LED's, use it to converge a beam into a narrower spot local authorities. and thus increase the CD rating and *** MAGNETS *** improve the beam quality: VERY STRONG NEODYMIUM IRON BORON 60c Ea. or 10 for $4. RARE EARTH MAGNETS. Zinc coated. CLOCK MOVEMENTS G58 3mm round x 1.5mm thick $0.20 Crystal controlled clock mechanisms G32 3mm round x 2mm thick $0.25 with large hands, Requires 1X AA G72 7mm round x 2.5mm thick $0.45 (not supplied.) Make your clock from G37 7mm round x 3mm thick $0.55 a picture, piece of driftwood or your G103 10mm round x 3mm thick $0.70 favourite family photo etc. $6 Ea. or G105 10mm round x 5 mm thick $1.20 4 for $20.Hour hand: 68.5mm Minute G201 15mm round X 20mm long $5.50 hand: 92.5mm Second hand: 91mm ** N $1 6 $14.50 4 CHANNEL 433Mhz UHF MODULES AND KEY-FOB TRANSMITTER As used in our K203 Long range 4 channel transmitter with telescopic antenna, transmit LED and keypad cover to stop accidental button presses. TX7 $12. 4 channel UHF module. Pre-tuned to 433Mhz. No tuning required. RX7 $12 MULTIPURPOSE HEATER/ COOLER ASSEMBLY Unlike our previous ass’y this one comes with a 1L insulated tank for cooling water. As used in gravity fed water coolers.. The tank can be easily removed for refrigerator applications but some additional metal plate/heatsink may be required. Complete 12V assembly including the heatsinks, fan, peltier & the tank: $37. 240V-12V power supply PCB suit the above cooler / heater: This PCB can be connected to the thermistor which is in the tank so that the temperature is controlled. DANGER HIGH VOLTAGE: FOR QUALIFIED PERSONS ONLY 12 $ (USED) 50MHz DUAL TRACE OSCILLOSCOPE With DELAYED TIME BASE: Telequipment brand, model # D83. Plug-ins V4 & S2A. Used but in good condition. (ZC0465)$280 Check our web site for more CRO other test equipment bargains. And don't forget to subscribe to our bargain corner to be notified of the latest bargains. www.oatleyelectronics.com Suppliers of kits and surplus electronics to hobbyists, experimenters, industry & professionals. Orders: Ph ( 02 ) 9584 3563, Fax 9584 3561, sales<at>oatleyelectronics.com, PO Box 89 Oatley NSW 2223 OR www.oatleye.com major credit cards accepted, Post & Pack typically $7 Prices subject to change without notice ACN 068 740 081 ABN18068 740 081 SC_MAR_04 Hands-On PC BOARD DESIGN For Beginners; Pt.2 This month, we describe how to use the basic features of Autotrax to create a simple PC board design. Along the way, you’ll learn about layout defaults, placing components and routing tracks. You’ll also learn how to edit and create your own component libraries. B By PETER SMITH OTH THE MOUSE and keyboard can be used to navigate the menu structure and edit board layouts within Autotrax. In practice, you’ll use a combination of both. Let’s see how it works. The main menu is displayed by pressing <Enter> or clicking <Left Mouse>. Selections within the menu are then made either with mouse movement or with the arrow keys. To exit the menu at any point, hit <Esc> or click <Right Mouse>. It is also possible to navigate the menus by simply keying in the first character of the desired entry. For example, pressing <F> <Q> <Y> in sequence is equivalent to selecting File -> Quit -> Yes from the menu. A number of often-used menu items can also be accessed using control keys. For example, holding down <Ctrl> and pressing <P> jumps to Current -> Pad Type. A list of the commonly used short66  Silicon Chip cut keys appears in Table 1. Note that once selected, editing functions (such as pad/track placement) remain active until after you’ve hit the <Esc> key or clicked <Right Mouse>. However, you can switch active layers with the <+> and <-> keys on the numeric keypad or change the zoom level with <Z> even while in edit mode. Setting options Shortcut keys, layer and menu colours and a whole host of other editing functions can be customised from within Autotrax’s Setup menu (Fig.1). To get to the Setup menu, start Autotrax and press <Esc> when prompted to load a PCB file. Next, press <Enter> to display the main menu and choose Setup from the list, or simply press <S>. To get up and running with your first design, you need only review the settings within two out of the 10 menu entries (see Figs.2 & 3). The remaining options can remain at their defaults for now. Now back at the main menu, press <C> to display the Current menu. Settings here determine the defaults used when laying down your design. Many of these will be changed “on the fly”, as the design progresses. However, the grid must always remain set to “Imperial” and the floating origin to “0,0”. Fig.4 shows typical defaults. Many of the Current settings are displayed along the status line at the bottom of the screen. These are interpreted as follows: L - layer, P - pad type, T - track width, S - string size, G - snap grid. The X & Y values show the current cursor position in thousandths of an inch. Grid size Next, press <G> to set the grids. We recommend 25 thou for the snap grid and 100 thou for the visible grid. Generally, you should leave the snap grid set to 25 thou throughout the design. This is a very important requirement. If a board is routed on different grids, it will be difficult to get tracks and pads to “snap together” nicely. It will also make it much more difficult to maintain minimum manufacturing clearances between tracks/ pads. On occasion, a finer grid will be needed for working in tight areas, or when connecting metric-leaded components, for example. In this case, step www.siliconchip.com.au down to a 5-thou snap grid just for the particular area of interest. Defining the board outline Elsewhere in this article, you’ll find details of a simple PC board design (for a power supply) that we’ve created to help demonstrate the essentials. Rather than “pulling apart” the completed design, let’s start at the beginning – and recreate the design from scratch. The first task is to define the board outline. For any project, board shape and size will depend on the number and size of components, as well as the dimensions of the enclosure (if any) that you wish to fit the final product into. Our power supply will be a freestanding module, without an enclosure. Therefore, the initial board size is just an educated guess and can be adjusted at a later stage if necessary. The board outline is drawn on the top overlay, using a 10-thou track width. To do this, first check the current layer and track size, which you’ll remember is always visible on the status line. Use the <+> key on the numeric keypad to switch from the bottom layer to top overlay if necessary. To change track width, simply hit <Ctrl + T>. Press the <P> then <T> keys to enter track placement mode and position the cursor at the bottom left of the work space (X:0, Y:0). Click <Left Mouse> to start laying the track. Move in a vertical direction for 2.7” (X:0, Y:2700), then click <Left Mouse> again. You’ll probably need to zoom in to get a closer look; hit <F6> to move closer, <F5> to move away or <F10> to fill the screen with your work thus far. Now move in a horizontal direction for 1.45” (X:1450, Y:2700) and click <Left Mouse> again. This completes the left side and one end of the board outline. Continue the track down the right side and opposite end to form a complete rectangle. If you make a mistake, first press <Esc> or click <Right Mouse> to exit track placement mode. Next, press <D> <T> and click on the track to delete it. When done, press <Esc> again to exit track deletion mode. Deleting and replacing tracks is just one way of editing a design. In most cases, it is quicker to edit the track position (or its end point or route). This can be achieved with the Track, Drag End and Re-route commands, acceswww.siliconchip.com.au Fig.1: design defaults and user preferences are accessible via the Setup menu. Fig.2: the Toggle Layers menu allows you to switch on only the layers that you need. As shown here, single-sided designs require only the Bottom Layer, Top Overlay and MultiLayer enabled. with a library of commonly used components (TRAXSTD.LIB). Unfortunately, this library is unsuitable for use without major editing. Many pads are too small for non-plated-through (single-sided) designs and the hole sizes don’t equate to the metric drill sizes commonly used in Australia. We’ll describe how to edit and create your own libraries a little further on. For the moment, use the SIMPLE.LIB library that we’ve built especially for this design. It can be obtained from the SILICON CHIP web site (see panel entitled “Power Supply Demo Design”). To load a new library file, press <L> to bring up the Library menu, then <F> to get the file name prompt. The file shown will be the currently loaded library, in this case C:\AUTOTRAX\ TRAXSTD.LIB. Change this to read C:\ AUTOTRAX\SIMPLE.LIB and press <Enter> to load it. Initial component placement For a typical design, we would now need to check that a matching “footprint” exists in the library for each unique component in the parts list. As SIMPLE.LIB already contains all of the relevant footprints, we can skip this step and go straight to placement. Table 2 lists all the components in this design together with the matching footprints in SIMPLE.LIB. Let’s begin by placing the three resistors (R1, R2 & R3). Fig.3: the Options menu draws together Press the <P> then several important but mostly unrelated <C> keys and you will be controls. For example, the Drag option prompted for the name determines how Autotrax handles tracks of the component to be connected to a component when you placed. By default, the move it. Track Mode, on the other hand, determines whether Autotrax enforces name of the last compoorthogonal track placement. Use the settings nent used is displayed. shown here as a starting point. You can simply press <Enter> to place the same component again, or type sible via the Move menu. In addition, in the desired component name ditrack widths can be changed using the rectly. You can also change the name Edit -> Track command. to a question mark (?) and press <EnNote that as with all operations in ter> to see a list of all footprints in the Autotrax, you can use the keyboard library (Fig.5). as well as the mouse to place and edit If using the latter method, highlight components and primitives (tracks, “RES0.4” in the list (determined pads, etc). The arrow keys move the from Table 3) and press <Enter>. For cursor around, and the <Enter> key is “Component Designator”, enter “R1”, equivalent to a left mouse click. and for “Comment”, enter the component’s value, which in this case is Loading the library “120R” (we’ve used “R” instead of the Autotrax is supplied complete “Ω“ symbol). You can now move the March 2004  67 Fig.4: the Current menu primarily defines the current primitive sizes. For example, if you were to hit <P> <P> to place a pad, you’d get 100 thou round pads using these settings. Leave the “Floating Origin” and “Grid” options set as shown here. resistor around the board and drop it by pressing <Enter> or clicking <Left Mouse>. For the moment, place all components just outside the board outline. Note that as soon as you drop the resistor, you’ll be prompted to place another. Simply follow the same procedure to place R2 and R3, entering the appropriate resistance values (from Fig.8) in the “Comment” field. That done, load all the remaining components using the circuit diagram (Fig.8) and footprint list (Table 2) as your guides. The final result should look something like that shown in Fig.6. Mounting holes If mounting holes are required, place them next; trying to fit them in later can be a real pain! For a typical 3mm screw & stand-off combination, use a 220-thou round pad with 120-thou hole. This large pad size ensures that they’ll be enough clearance around the spacer (or nut) and screw head during assembly. In the demo design, we initially placed a hole at each corner but were later able to move the bottom pair up into unused space. This reduced the board length by about 10mm. Doing the shuffle Now the real work begins! Obviously, the aim is to arrange the components within the board outline so that it will be possible to connect them as shown on the circuit diagram. Press the <M> and then <C> keys and click on a component to pick it up. To rotate the component left by 45°, hit the space bar. As before, press <Enter> or click <Left Mouse> to drop it. 68  Silicon Chip Fig.5: using the Library -> List command lists all of the components in the currently loaded library – in this case SIMPLE.LIB. So how do you know where to place each part? Well, in all but the simplest of designs, you’ll need to move components around after the initial placement to “get the right fit”. In some cases, you may even need to “rip up” your design (tracks and all) and redo it a number of times! Experience has a lot to do with it too. The more layouts you do, the quicker you’ll be able to find a layout that works. Our recent PC Board Design Tutorial series (Oct. – Dec. 2003) will really help from here on. Much of the information presented in the series is not duplicated here, so it should be considered mandatory reading. Don’t cram all the components close together; adjacent components must not physically interfere with one another. Some layouts will progress faster if you initially leave at least Table 1: Handy Shortcuts Key Sequence Command <Ctrl + G> Current -> Grid <Ctrl + P> Current -> Pad Type <Ctrl + Q> File -> Quit <Ctrl + S> Current -> String Size <Ctrl + T> Current ->Track Width <F1> Place -> Pad <F2> Delete -> Pad <F3> Place -> Track <F4> End track <F5> Zoom -> Contract <F6> Zoom -> Expand <F7> Move -> Re-Route <F8> Delete -> Track <F10> Zoom -> All <+>, <-> and <*> keys on the numeric keypad can be used to cycle between defined layers. enough space to fit a 30-thou track between adjacent component pads. Laying the tracks To begin the layout, hit <Ctrl + T> and select a 70-thou track width. Check that you’re on the bottom layer, and then press <P> followed by <T> to enter track place mode. To reposition tracks after initial placement, use the Break, Drag End, Re-route and Track commands, accessible via the Move menu. Place a couple of tracks and experiment with these commands now – you must be completely familiar with how they work. Remember that you can zoom in and out with the <Z> command, even in edit mode! We used 70-thou tracks for most of the design, increasing to 100 thou for the main current-carrying conductors. Notice how we had to “neck down” from 100 to 70 thou to connect to REG1. Two overlapping 100-thou tracks form part of the ground connection. Where space permits, it’s a good idea to use as much copper as possible for high-current rails. Although not particularly evident on this simple design, it’s important to constrain track placement to 0, 45, 90, 135, 180, 225, 270 or 315-degree orientation. This is called “orthogonal” placement and it makes maintaining consistent track-to-track and trackto-pad clearances easier. The “Track Mode” setting in the Options menu can be set to “Orthogonal” to automatically enforce this mode. However, some users prefer to set this option to “Non-ortho” and align tracks by eye, as the auto mode makes track placement less predictable. Another method is to initially route www.siliconchip.com.au all the tracks with 90° corners. This works well on simple, uncluttered designs. Once the layout is almost complete, go back and put in 45° corners (“chamfers”) using the Re-route command. The result is more pleasing to the eye and it helps to prevent undercutting during etching. Track to pad joints Generally, tracks should be routed all the way to the centre of pads. Also, when laying multiple tracks together to make a wider copper area, make sure that there is a sizeable overlap. Autotrax draws pads on top of tracks, so obscuring where tracks actually end. Once you’ve completed your layout, check for inconsistencies by changing the track and pad redraw mode to “Draft”. You’ll find this option in the Setup - > Redraw menu. Strings Strings (free text) can be placed on most layers. To enter a string, press the <P> and then <S> keys and type in the text. When complete, press <Enter> or click <Left Mouse> and you’re ready to place it. At this point, you can rotate the string by pressing the space bar, flip it with the <Y> key or reverse it (for the bottom layer) with the <X> key. On copper layers, allow at least 10 thou clearance between strings and other objects (tracks, pads, etc) to avoid potential shorting/etching problems. A 5-thou snap grid allows accurate placement. The default string size can be changed via the Setup -> Strings menu, although 60 thou is recommended for most work. Strings can be edited (moved, sized, etc) via the Move -> String, Edit -> String and Delete -> String menu commands. All components include two “special’ strings; the “designator” and “comment”. These can be moved about just like free strings but cannot be edited or deleted with the string commands mentioned above. Instead, you must edit them via the Edit -> Component menu. Note that whenever you edit a component and change the display mode for either of these strings from “Show” to “Hide” (or vice versa), you have the option of applying the change globally. To reduce clutter, some users prefer to hide all of the component comments (or designators, depending on design complexity) until after most www.siliconchip.com.au Fig.6: once the board outline has been drawn, load all the components and temporarily position them outside the outline. Notice that we’ve initially hidden all of the component “comment” strings. Fig.7: our completed layout. Notice how the strings on the bottom layer have been “flipped”. of the work is done. It’s also possible to determine whether the “designator” and “comment” strings are hidden or displayed during initial component placement – see the Setup –> Component Text menu. Block operations The Block menu commands al- low you to move, copy or delete an entire section of your design at once. Anything that can be selected within a rectangular border can be acted upon en masse by these commands. In addition, block commands are used when creating new library footprints (see Libraries further on). Before using any of the block commands (except Hide and Read), you must first define the block. Press the <B> and then <D> keys and move the cursor to the first corner of the desired area. Click <Left Mouse> or press <Enter> and move the cursor to the opposite corner. A rectangular outline expands behind the cursor as it is moved, indicating the selection area. Click <Left Mouse> again to lock in the selection. Finally, choose a reference point. This will be used as the axis for the move and copy commands. In addition to move, copy and delete, you can also write the defined area to disk as a .PCB file. This can be retrieved later using the complementary Read command. Block operations should be used with caution; always, always save your work first! Saving your work Whenever editing a design, save your work regularly via the File -> Save menu. It’s also a good idea to save a backup copy of your work before starting a new editing session. March 2004  69 Power Supply Demo Design Fig.8: a complete and accurate circuit diagram is required before you attempt even the simplest of layouts. Here’s the circuit for a simple DC power supply that we’ve used as our demo design. It uses a conventional 3-terminal regulator, with the output voltage programmable via resistors R2 & R3. A lthough Autotrax includes a demonstration design (DEMO. PCB), it is far too complex to be of use to the first-timer. We decided instead to create our own simple design, the layout for which appears in various stages throughout this article. The complete circuit and overlay diagrams appear in Figs.8 & 9. You can download the design (PSU.ZIP) from the Silicon Chip web site at www.siliconchip.com. au – look in the software download area. This file also includes the SIMPLE.LIB library referred to in the text. Unzip PSU.ZIP into your C:\AUTOTRAX directory. How it works The Simple DC Power Supply is based around the well-known LM317T 3-terminal adjustable voltage regulator. These devices are Autotrax automatically saves a back-up copy of your work for disaster recovery purposes. You can change the backup interval (in minutes) and the filename used via the Setup -> Options menu. An interval of between 10 and 20 minutes is typical. Loading the demo design With the information presented 70  Silicon Chip extremely robust, having in-built over-temperature and over-current protection. The supply can accept an input of up to 28VAC or 40VDC and provide a well-regulated DC output in the range of 1.2V to 37V. Output current is 1A maximum and depends on the input to output voltage differential. Using the specified heatsink and at room temperature (25°C), The LM317 can safety dissipate 2.5W of power. You can use this power level to calculate the maximum output current for a given input to output differential. For example, with 16V at the input to the regulator and 5V at the output, the maximum current is: IOUT(MAX) = PDMAX/(VIN - VOUT) = 2.5W/16V - 5V = 0.227A The output voltage can be programmed by selecting appropriate thus far, you should be well on your way to completing the demo design. Alternatively, if you’d rather load the “one we prepared earlier” and experiment with that instead, then follow the instructions in the “Power Supply Demo Design” panel to download and install the relevant files. So you’ve finished the board layout – what now? Well, the following R2 & R3 Values For Common Output Voltages Output Voltage R2 R3 3V 5V 6V 7.5V 9V 12V 15V 1.2kΩ 3kΩ 11kΩ 1.2kΩ 3.3kΩ 3.3kΩ 3.9kΩ 470Ω 2.7kΩ 5.6kΩ 8.2kΩ values of R2 & R2, according to the formula: VOUT = 1.25 x (1 + (R2||R3)/R1) A list of commonly used voltages and the corresponding values for R2 and R3 appear in the above Table. Alternatively, you can install a miniature 5kΩ multi-turn potentiometer in place of R2 & R3 for a 1.2V to 27V half of this article describes several concepts and features of Autotrax that will help you to get started with your own creation! Multiple layers or wire links? A good single-sided PC board design is one that requires no wire links – or so we’ve heard. The reality is that no matter how proficient you become, www.siliconchip.com.au Parts List 1 PC board, code 04103041, 36.8mm x 68.6mm 1 LM317T adjustable positive voltage regulator (REG1) 6 1N4004 1A diodes (D1-D6) 1 5mm red LED (LED1) 2 2-way 5.08mm-pitch terminal blocks (CON1, CON2) Capacitors 1 2200µF 50V PC electrolytic 1 100µF 63V PC electrolytic 1 10µF 50V PC electrolytic 1 100nF 63V MKT polyester Resistors (0.25W 1%) 1 1.5kΩ R2 (see table) 1 240Ω (R1) R3 (see table) not straddle or otherwise interfere with them!). If you wish, you can disguise you links by using zero ohm resistors instead of plain old tinned copper wire. These are available in standard “1/4W” package styles from the usual electronics outlets. Fills and arcs Large copper areas are easily created with the Place -> Fill command and edited in a similar manner to the previously described “primitives” (pads, tracks, strings, etc). Fills should be used in place of multiple overlapping tracks wherever possible, as editing is far more efficient. Autotrax supports arcs of any diameter and width with one to four quadrants. Avoid these on the copper layers unless you know what you’re doing. Libraries Fig.9: companion overlay diagram for the completed design. You can purchase a ready-made PC board from RCS Radio at www.rcsradio.com.au if you would like to build one, or wait until next month to find out how to make the board yourself! adjustment range. Note that the voltage at the input terminal of the 3-terminal regulator some of your designs will require links to make those last few connections. Of course, depending on complexity, a two-layer (or more) design might also be the answer, especially if you have limited space to work with. Multiple-layer designs are for experienced designers only, so we won’t cover them here! Typically, a link is just a straight www.siliconchip.com.au (REG1) must be at least 2V higher than the programmed output voltage. piece of wire with a pad at either end. We recommend a minimum pad size of 70 thou (85 thou preferred) with a 28 or 32-thou hole. Draw a track between the two pads on the component overlay to indicate the link position. To give the assembled board a professional appearance, wire links should be oriented and aligned with surrounding components (they should As mentioned previously, the standard Autotrax library (TRAXSTD.LIB) is unsuitable for use without major editing. One option is to obtain a complete set of libraries on CD-ROM from RCS Radio. These are supplied “ready to go” and are optimised for use on non-plated through board layouts. Contact Bob Barnes on (02) 9738 0330 or check out www.rcsradio.com.au for more information. An excellent component library is also available from Airborn Electronics at www.airborn.com.au/layout/ autolib1.html. Note that this library is optimised for plated-through (double -sided) board design. This means that the pad sizes (for through-hole components) are too small for use on single-sided boards. However, you can readily use it as your reference library, editing footprints as required and adding them to your own library. Building your own library Library components are made up of all the familiar primitives. However, their individual elements are not free to move; they’re bound together in a fixed relationship to one another. We can break that relationship, edit the individual primitives and then regroup them again at will. Let’s experiment with an existing component from SIMPLE.LIB. First, find some free space (anywhere outside the border) of the power supply demo design if you have it March 2004  71 Table 2: Component Designators & Matching Footprints In SIMPLE.LIB Component Library Footprint C1 C2 C3 C4 CON1-CON2 D1–D6 LED1 REG1 R1-R4 HEATSINK CE0.3/0.71 CE0.1/0.2 CE0.2/0.4 CM0.1/0.2 TB2W DIODE0.5 LED5MM TO220V RES0.4 HS6021 Table 3: Use These Hole Sizes In Your Designs Design Size (thou) Drill Size (mm) 120 80 60 50 40 36 32 28 24 3.00 2.00 1.50 1.20 1.00 0.9 0.8 0.7 0.6 open, or start a new design. Make sure that the snap grid is set to 25 thou and place a “RES0.4” component from the library. Next, “explode” the component by selecting the Library -> Explode menu command and clicking on it. “Exploding” the component simply means converting all of its primitives to free (unbound) elements. You can now edit the pads and tracks that form the outline (on the overlay) just like any other free primitives. To prove the point, change the pad sizes to 120 thou now using the Edit -> Pad command. That done, let’s save the modified footprint back to the library as a new component. First, use the Block -> Define command to select just the desired primitives. For a reference point, you can either click exactly in the centre of the component or in the centre of one of the pads. This will be the axis point when placing the component from the library later. Next, select Library -> Add from the menu. You’ll then be prompted for a name for the new component. Type in “RTEST” and press <Enter> and you’ve successfully created your first component! Once you’ve created the new component, the original “exploded” component remains. As it’s still highlighted (defined inside a block), you can quickly remove it with the Block -> Inside Delete command. Of course, you could also use Block -> Hide and delete the primitives individually! The Library menu provides a host of other functions. You can rename and delete components, merge libraries and create new libraries. The Compact function should be used after editing to tidy up the internal file structure. Important: a library must never have more than 200 components. If you attempt to add more than 200 components, your library will be corrupted! Always save a backup copy of a library before editing it! Pads, tracks & hole sizes For single-sided board design, the minimum pad size to use with through -hole components is 70 thou, with 80 or 85-thou recommended. Other typical sizes are 100, 120 (or 125) and 150 thou. Stick with round or square pad shapes. The library components must closely match the physical size, footprint and lead diameter of the real components. You can get the necessary information from the manufacturer’s data sheets or measure the components yourself using Vernier callipers. Callipers with an LCD display make this job even easier. 72  Silicon Chip Single-in-line (SIL) and dual-in-line (DIL) packages with 0.1-inch pitch pins (ICs, for example) are an exception. The recommended minimum size for these is 60 x 120 (rounded rectangles). Never use round pads for this job – they may well lift off the board as soon as they’re heated! It is important that the holes sizes used in your designs closely translate to the commonly used metric drill sizes used here in Australia – see Table 3 for a list of typical hole sizes. An exception to this rule would be if your boards were being made in the US. In this case, refer to the manufacturer for their requirements. This is something that you should always do before submitting your designs anyway – it might save you a lot of money! For a handy one-page summary of recommended track, pad and hole sizes, get a copy of RCSTRAXY.PCB, available free from RCS Radio at www. rcsradio.com.au Advanced topics Autotrax includes the ability to automatically place components and route all or part of your designs. Experienced users would probably agree that this feature is of limited use. Manual placement and routing always gives a better result! If you want to experiment with these features, you’ll need a netlist of your design. Netlists are usually generated by schematic capture software. They describe all of the components in a design as well as how they are connected. Our simple power supply design includes a netlist file (PSU.NET) that can be loaded using the Netlist -> Get Nets command. Once loaded, you can turn on the “rats nest” display using Netlist -> Show -> All Nets. Note that before using any of the auto place or route functions (see the Netlist menu), you must define the board outline on the “Board” layer. To do this, first turn on the Board layer via Setup -> Toggle Layers. Next, switch to the Board layer and duplicate the outline drawn on the Top Overlay. Next month Next month, we’ll show you how to make a hardcopy of your design. This will enable you to check that all the components will fit on your completed board. It can also be used to make your SC own PC boards at home! www.siliconchip.com.au LED Driver This white LED driver will drive 30 white LEDs in six groups of five from a 12V source such as an SLA or car battery. It can be switched on and off manually or it can switch on automatically when darkness falls. By STEPHEN DAVID W HILE WE HAVE now published quite a few LED driver circuits, to date we have not published a design to drive a bunch of high-brightness white LEDs. Such a circuit is now quite desirable as the price of white LEDs has fallen and you can have a handful for not a lot of dollars. However, white LEDs do present a problem because they need a higher drive voltage than monochromatic types such as red, green, orange etc. Instead of around 1.8V to 2V or thereabouts, they normally require more than 3V to produce their rated brightness. In fact, if you are driving a bunch of them you need to drive them all at constant current otherwise their individual brightness tends to vary markedly. However, if you only have a 12V supply available, you can only put two or maybe three LEDs in series together with a constant current source and this leads to poor efficiency. Where To Buy A Kit This kit has been designed by Oatley Electronics who own the copyright. The kit comes in two parts: (1) K202 which includes the PC board, the driver circuitry, 10 high brightness white LEDs and two current source transistors; and (2) K202A which provides 10 high brightness white LEDs and two current source transistors, so with K202 and two K202A kits you get the full complement of 30 white LEDs. Pricing is $17 (including GST) for K202 and $8 for K202A. The optional swivel mounting bracket is $1.00 while postage and packing is $6 within Australia. Kits may be obtained direct from Oatley Electronics, PO Box 89, Oatley NSW 2223. Phone (02) 9584 3563; Fax (02) 9584 3561. Website: www.oatleye.com www.siliconchip.com.au The approach in this circuit is to boost the 12V supply to something around 21V and this means that we can have groups of five LEDs, each in series with their own current source transistors. The result is a single PC board with the drive circuitry and 30 white LEDs. It can be used for lighting in caravans and recreational vehicles, emergency lighting or whatever application you can think of. Current drain is around 190mA at 12V. Circuit description Now let’s have a look at the circuit of Fig.1. It uses just one IC (a 4093 quad NAND Schmitt trigger gate package), a few transistors and diodes, 30 white LEDs and not much else. So where is the familiar boost converter circuit? Answer: there isn’t one or least not one with an inductor switched by a Mosfet. Instead, there is a charge pump inverter, comprising IC1c, transistors Q2 & Q3, Schottky diodes D1 & D2 and a few capacitors. It works as follows: IC1c is connected as an inverter oscillator and its running frequency March 2004  73 Fig.1: the boost circuit involving oscillator IC1c and transistors Q2 & Q3 drives a diode pump (D1 & D2) to step up the DC to around 21V. 74  Silicon Chip of about 30kHz is determined mainly by the 6.8kΩ resistor between pins 8 & 10 together with the 4.7nF capacitor at pin 8. This produces a rectangular waveform (not quite square but pretty close) at pin 10 to drive complementary switching transistors Q2 & Q3. The waveform at their commoned emitters drives a diode pump consisting of two 100µF capacitors and Schottky diodes D1 & D2. The waveform generated by the circuit can be seen in the scope photo of Fig.2. RS flipflop Oscillator IC1c is controlled by an RS (Reset/Set) flipflop comprising the two NAND gates IC1a & IC1b and this is controlled by pushbutton switches S1 and S2. Normally, this has its pin 4 low and pins 1 & 6 are pulled high via 470kΩ resistors. Momentarily closing S1 (ON) pulls pin 6 low, causing the flipflop to change state so that pin 4 now goes high to enable IC1c which now oscillates at 30kHz. The 30kHz waveform produced by transistors Q2 & Q3 drives the diode pump referred to earlier and this develops about 21V to drive the LED columns. Each column of five white LEDs is driven by its own current source transistor which has a 33Ω emitter resistor. The bases of all six current source transistors (Q4-Q9) are driven from pin 4 of IC1b via a 6.8kΩ resistor and clamped to a maximum of +1.2V by diodes D3 & D4. Subtract the 0.6V between the base and emitter of each transistor and you are left with 0.6V across each 33Ω resistor, thus setting the LED drive current to 18mA. Switching the circuit off is accomplished by pushing the OFF switch, S2. This momentarily pulls pin 1 low to toggle the RS flipflop, thus causing pin 4 to go low. This disables IC1c, Q2 & Q3 and also turns off the current source transistors. Note that there is an interesting wrinkle to this drive circuit, because there is no On/Off switch. This means that the current source transistors must be turned off otherwise they would continue to draw current from the 12V supply even when the circuit is nominally off. The current path may not be obvious but it is via the boost circuit’s diodes, D1 & D2. Auto on/off As well as using the pushbutton www.siliconchip.com.au The optional swivel-mount unit is fitted directly to the bottom of the PC board and allows the “LED Lamp” to be adjusted to a convenient angle. Fig.2: this scope shot shows the waveform at the commoned emitters of transistors Q2 & Q3. Fig.3: the component overlay for the PC board. Sections can be snapped off to provide “lamps” at separate locations. switches S1 & S2 to turn the circuit on and off, there is also a facility to automatically turn the circuit on and off depending on ambient light levels. Links L1 & L2 can be used to provide Auto On and Auto Off respectively and these features can be used separately or together. An LDR (light dependent resistor) is used to monitor the ambient light level. When light falls upon it, it pulls the base of Q1 low, causing pins 12 & 11 of IC1d to go low and its pin 11 to go high. When darkness falls (or the room lights go out), the process is reversed. Depending on whether you have one or both links connected, you can use www.siliconchip.com.au the pushbuttons to turn the circuit on and off and have it turn on and/off automatically as well. Q1 also drives a red high brightness LED (LED1) at very low current, via a 470kΩ resistor. This is a bit of a gimmick but it does have the benefit of showing that this part of the circuit is working, if you have to troubleshoot it. Board options As presented, the PC board is 130 x 47mm and it has three snap-off sections, each carrying 10 LEDs and two drive transistors. This gives you the option of having all 30 LEDs on the board or having three separate LED “lamps” spread around your tent, caravan, boat, yurt or whatever. You would need three wires to interconnect each board section, if you take that option. The full board component overlay is shown in Fig.3 and it shows a full complement of 30 LEDs (plus red LED1). No special order of assembly is necessary but take care to insert all the polarised components correctly. Note the little flat on one side of the LEDs; this needs to match the screen-printed overlay on the PC board. Make sure you connect the supply wires correctly. Reversing them will almost certainly cause component SC damage. March 2004  75 Review: Escort 3146A Bench Top Multimeter Test engineering and research and development work often calls for high-accuracy, high-resolution digital measuring instruments. Bench top multimeters typically used in these applications are very expensive – until now, that is. These new meters from Escort “break the mould” by offering remarkable performance at a relatively low price. By PETER SMITH T HE COST OF these new bench top multimeters is so attractive that they seriously challenge the pricing of top-of-the-line hand-held digital multimeters. Unless portability is a “must have” on your feature list, why would you buy another handheld? Check out these specs: 5½ digits (120,000 count) display resolution, 120ppm (.012% + 5 digits) basic DC accuracy and 1µV to 10mV DC sensitivity. Including the protective holster, the 3146A measures about 255 (W) x 105 (H) x 305mm (D) and weighs slightly less than 3kg. Measurements include DC voltage and current, true RMS AC & AC+DC voltage and current, resistance, frequency, diode test and continuity test. Bandwidth for true RMS voltage measurements is 20Hz to 100kHz. Detailed specifications are presented in the accompanying panel. 76  Silicon Chip In addition to the basic measurements, a number of useful arithmetic functions can be applied to many of the readings. For example, when measuring AC or DC volts, a modifier can be applied to display power in dBm with respect to a reference impedance. The impedance is selectable in 21 ranges from 2Ω to 8000Ω. Other functions include “compare”, “relative”, “minimum”, “maximum” and “hold”, many of which can be combined. For example, if “dBm” and “relative” are selected, the result of the dBm calculation becomes a relative base for new measurements. These meters have five input terminals rather than the three (or four) typically provided on lower performance models. The extra two terminals are for the “sense” lead connections in a four-wire (“Kelvin”) resistance measurement scheme. Using four leads results in double the accuracy that can be achieved with just two leads; as high as 0.05% on the 120Ω scale. Of course, conventional two-wire resistance measurements are also supported. The bottom sense terminal is also used as the positive terminal for current measurements on the mA ranges. In addition, this terminal can be used in conjunction with the main positive and negative terminals to perform 3-wire, simultaneous current and voltage measurements. This could be useful for measuring power in a circuit or the gain of a transistor, for example. Dual VFD display While liquid crystal displays are preferred on portable instruments due to their low power consumption and minimal space requirements, bench top instruments generally employ either LED or vacuum fluorescent displays (VFDs). This meter uses a large, blue VFD that is very easy to read, regardless of lighting levels or viewing position. The VFD incorporates dual readouts that enable simultaneous display of two measurements. The primary (larger) display is always active, where-as the secondary (smaller) display can be programmed to display almost any of the available measurements. www.siliconchip.com.au Specifications (3146A) Basic DCV accuracy of 120ppm 120,000 / 40,000 / 4000 count display resolution (selectable) 2/sec (120,000), 5/sec (40,000), or 20/sec (4,000) measurement rate (selectable) DCV Range from 120mV to 1,000V with 1µV max. resolution ACV Range from 120mV to 750V with 1µV max. resolution DCA and ACA range from 12mA, 120mA, 1.2A to 12A with 100nA max. resolution True RMS AC and AC+DC measurement, ACV 20Hz-100kHz & ACA 20Hz-10kHz Resistance measurement range from 120Ω to 300MΩ with 1mΩ max. resolution 2-wire or 4-wire resistance measurement Frequency measurement range from 1200Hz to 1MHz with 0.01Hz max. resolution dBm measurement with 0.01dBm resolution and reference impedance from 2Ω to 8000Ω Diode and audible continuity test functions Auto or manual ranging Escort 3136A – even better value! So the 3146A looks great, but it’s still outside your budget? Then check out the lower cost 3136A model! It has a display resolution of 4½ digits (50,000 count), a basic DC accuracy of 200ppm (.02% + 4 digits) and a DC sensitivity of 10µV to 100mV. It includes true RMS AC & AC+DC measurements, with an ACV bandwidth of 30Hz-100kHz and an ACA bandwidth of 30Hz-20kHz. Although it has lower resolution and accuracy, the 3136A boasts many of the same features as its bigger brother, including a dual VFD, dbM measurement capability and RS232 interface as standard. For more technical information on the 3136A, check out Escort’s web site at www.escorttw.com Relative mode for zeroing offset Dynamic min./max. recording Compare (High/Low/Pass) function for quick in-tolerance tests Data hold function to freeze readings Standard RS-232 interface Optional GPIB interface 19-inch rack mountable with rack mount kit Fast electronic and closed-case calibration Meets IEC-1010-1 600V CAT II and 1000V CAT I and CE mark The display can be programmed to update 2, 5 or 20 times per second. Display update speed correlates directly with resolution. At five updates per second, the resolution is reduced to 40,000 count, whereas at 20 updates per second, it’s just 4000. High-speed sampling is probably most useful in automated testing, made possible via the communications interfaces (see “RS232 interface” below). On a more basic level, high-speed sampling also makes for virtually instantaneous continuity testing, something that is missing on most of the not-so-cheap microprocessor-based hand-held multimeters! Front panel controls An array of 16 “soft feel” push-button switches is provided for the user www.siliconchip.com.au interface. Most of these perform two roles, the second of which is enabled by pressing a “shift” key first. Unlike some instruments we’ve seen, these meters are relatively easy to drive. Function selections are quite intuitive, with basic measurements possible without so much as a glance at the operation manual. Nevertheless, we do admit to reading the manual before using some of the more advanced arithmetic functions! RS232 interface An RS232-compatible serial interface is included as standard. Essentially, any reading that can be performed at the front panel can also be performed over the serial interface using simple ASCII-encoded sets of commands and responses. At the most basic level, “key” commands can be sent over the interface to simulate front-panel keystrokes. A more involved method uses “set” commands, which control the meter using coded character strings. To retrieve meter readings and instrument status, the “query” group of commands is used. In order to make use of the serial interface, you can either purchase the optional PC link software (not reviewed) or write your own custom applications. An example program showing how to set up the meter and display readings on a PC screen is provided in the manual. Examples for both QBasic and Turbo C are included. An optional GPIB interface is also available for automated test environments. Remote control of the meter over the GPIB bus is described in detail in the operation manual. At time of writing, we’d not had the opportunity to thoroughly test all the features of our 3146A review unit. So far, though, it’s done everything that we’ve asked without a hitch. It’s easy to use, the big blue display is a real treat, and it sure beats our top-of-theline hand-held meter in the accuracy stakes. And it costs about the same! Where to get yours Escort instruments are available in Australia from NewTek Sales, on the web at www.newteksales.com or phone (02) 9888 0100. At time of writing, the Escort 3146A was priced at $990 plus GST, whereas the lower spec 3136A was $600 plus GST. Both models come with a 1-year warranty. Note that these meters are specified with a 1-year calibration cycle. NewTek can help here too, offering local repair and calibration services out of their North Ryde facility. SC March 2004  77 PICAXE-18X 4-channel datalogger Pt.3: adding a humidity sensor, more memory & a liquid crystal display In the first two parts of this series, we described how to build and program the PICAXE-18X Datalogger, and showed how to add a batterybacked real-time clock (RTC). In this final instalment, we look at adding a few more goodies, including a humidity sensor, a liquid crystal display and more memory. By CLIVE SEAGER T here are various humidity sensors on the market but the recommended device for use with the PICAXE-18X Datalogger is the Honeywell HIH-3610-001. This sensor is a direct humidity-to-voltage device with built-in conditioning circuitry. It is supplied in a small 3-pin single-in-line package. Two of the pins connect to a regulated +5V power source, while the third gives a linear output voltage that’s proportional to humidity. This means that it can be connected directly to the Datalogger (via connector CT4) without any additional circuitry (see photo above). As with all humidity sensors, take care not to physically touch the sensing area of the device, as moisture/ oils from the hand could damage the sensitive sensor element. A sample graph of the response of the humidity sensor is shown in Fig.1. 78  Silicon Chip When used with the PICAXE, the voltage output of the sensor is measured by the internal analog-to-digital converter (ADC) and stored in a variable (eg, b1) as a number between 0 and 255. Each ADC step is 5V/256 = 0.0195V (using a regulated 5V supply). The graph in Fig.1 shows an offset of approximately 0.8V, which equates to an ADC value of 41 (0.8 / 0.0195). The RH (relative humidity) slope is set at about 0.0306V per %RH, or 1.57 ADC steps per %RH. The actual %RH can be calculated using the following formula: %RH = (ADC value - offset)/(slope of graph) = (ADC value - 41)/1.57 However, as the PICAXE programming language cannot handle fractions, the divide by 1.57 is actually performed by first multiplying by 100 then dividing by 157, as follows: %RH = [(ADC value - 41) x 100]/157 Checking these test values against a calibrated probe using the test program in Fig.2 proved the PICAXE system to be very accurate. However, you may need to “tweak” the offset and slope figures depending on sensor calibration, power supply voltage, temperature, etc. An application note showing how to apply temperature compensation is available from www.phanderson.com/ picaxe/hih3610.htm Note: in order to preserve the accuracy of the humidity sensor’s readings, the Datalogger must be powered from a well-regulated 5V supply. Controlling humidity One of the things I enjoy most about my job is observing the interesting and varied electronics projects turned out by high school students for their electronics course work. Within the UK curriculum, 60% of the final grade is allocated to a practical project and many students produce some wonderful pieces of work. For example, a school I visited recently had produced a number of PICAXE projects linked to a local wildlife water park. One of their most interesting projects was an incubator for working with eggs from rare breed birds. Movement, humidity and temperature are the crucial factors when incubating eggs. Movement and temperature are relatively easy to control but commercial humidity controllers are very expensive, and generally involve www.siliconchip.com.au The fan control switch was built onto a small piece of Veroboard (in turn controlled by the Picaxe Datalogger) and controls a small fan mounted on the lid of the container. Fig.1: this diagram shows the pin out of the humidity sensor and its response characteristics. some form of pump which releases water onto a sponge. The surface area of this sponge is crucial and may often need physical adjustment. The disadvantage of this system is that the response time is extremely slow and so the humidity can fluctuate wildly. It is also not very hygienic as the sponge rapidly attracts bacteria. Therefore, the students had devised a very novel and low-cost alternative. Their humidity unit is based around a plastic food container filled with water. Two holes are cut in the lid of the box. One hole provides an opening for a small 5V fan, which is attached to the box with hot-melt glue. The second hole (measuring about 20mm x 50mm) is covered with a piece of plastic, which is “hinged” along one edge with adhesive tape to form a “flap”. When the fan is switched on, air pressure lifts the plastic flap, allowing moisture-laden air from the fan’s draft to escape from the box. When the fan is switched off, the plastic flap falls and effectively seals the box (in practice, the small surface area exposed through the fan blades makes little difference to the operation of the system). This system provides a very large effective surface area when the fan is running, which means that the humidity can be much more accurately controlled. In fact, it works so well that www.siliconchip.com.au Fig.2: Test Program main: readadc 1,b1 let b1 = b1 - 41 * 100 / 157 debug b1 pause 500 goto main ‘read humidity value ‘change to %RH ‘display on screen ‘wait 0.5 second ‘loop the wildlife park managed to hatch exotic eggs in the students’ incubator that had never before hatched in the commercial units! The Datalogger controls the fan with the aid of a simple interface circuit (Fig.3). The circuit can be constructed on a small strip of Veroboard (or similar) and wired to the Datalogger’s piezo sounder output (Output 0). Serial LCD add-on The students had also used a serial LCD module within the incubator to display the temperature and humidity readings. The LCD module consists of a conventional 16-character, 2-line LCD “piggy-backed” onto a microcon- Fig.3: the fan control circuit is connected to the unused piezo output terminals on the Datalogger. troller-based PC board. The microcontroller’s task is to receive serial data from the Datalogger and generate the signals necessary to display the data on the LCD. Only three wires are required to connect a serial LCD to the Datalogger. The V+, 0V and Data pins on the Datalogger’s LCD connector (CT9) go to the corresponding pins on the serial LCD. Note that the LCD module includes a polarity protection diode in series with the V+ input. The 0.7V drop across this diode causes a reduction in LCD contrast (“brightness”) when operating from a 4.5V battery supply. If you experience this problem, replace the diode with a wire link – but make sure that you have the supply leads around the right way first! Note: the serial LCD module described here is an optional add-on that can be purchased as a kit of parts. Complete assembly instructions are included with the kit. The program to regulate and display the humidity is shown in Fig.4 (target value 60% RH). This program also displays the temperature to three decimal places. The temperature and light values are read every five seconds and displayed on the serial LCD via March 2004  79 Fig.4: Humidity Program SYMBOL temperature = w0 SYMBOL temperatureLSB = b0 SYMBOL temperatureMSB = b1 SYMBOL humidity = w1 SYMBOL scratchpad = w2 SYMBOL address = w3 SYMBOL counter = w4 main: for counter = 1 to 12 '12 * 5 seconds = 1 minute ' 'Read and correct RH value ' do_RH: readadc 1,humidity let humidity = humidity - 41 * 100 / 157 ' 'Switch fan on or off as necessary ' control_fan: if humidity < 60 then fan_on fan_off: fan_on: low 0 goto do_temp 'switch fan on high 0 'switch fan off ' 'Read raw 12 bit data from DS18B20 temperature sensor ' do_temp: readtemp12 7,temperature ' 'Format data into two bytes: 'temperatureMSB = value before decimal place 'temperatureLSB = value after decimal place ' temperatureMSB = temperature / 16 scratchpad = temperatureLSB & $0F * 625 / 10 temperature = scratchpad ' 'Display humidity and temperature on serial LCD ' do_display: serout 6,N2400,(254,128,”RH% = ", #humidity) serout 6,N2400,(254,192,”Temp = ", #temperatureMSB, ".") if temperatureLSB > 100 then skip0 serout 6,N2400,("0") 'display leading 0 if required skip0: serout 6,N2400,(#temperatureLSB) pause 5000 'wait 5 seconds next counter 'next loop ' '1 minute is up so log temperature and humidity ' log_data: high 3 'LED green low 5 'write enable i2cslave %10100010, i2cfast, i2cword writei2c address,(humidity) pause 10 'select EEPROM 1 'write the value 'wait write time i2cslave %10100100, i2cfast, i2cword writei2c address,(temperatureLSB) pause 10 'select EEPROM 2 'write the value 'wait write time i2cslave %10100110, i2cfast, i2cword writei2c address,(temperatureMSB) pause 10 'select EEPROM 3 'write the value 'wait write time high 5 low 3 'write protect 'LED off let address = address + 1 if address < 32767 then main end 'increment address 'if memory not full 80  Silicon Chip Where To Get The Parts The complete Datalogger kit (Part No. AXE110), memory expansion kit (Part No. AXE111) and serial LCD kit (Part No. AXE033) are available from Microzed and their distributors. Contact Microzed on (02) 6772 2777 or check out their web site at www.microzed. com.au The Honeywell HIH-3610-001 humidity sensor is available from Farnell, Cat. 393-7446. Check out their on-line catalog at www. farnellinone.com.au or phone 1300 361 005. the serout command. The values are also logged in EEPROM once every minute (see last months article for more details). The serout command codes “254,128” and “254,192” in the program listing are “cursor” commands that move the cursor to the top and bottom lines of the LCD, respectively. Temperature measurements The DS18B20 temperature sensor (supplied with the Datalogger kit) is a 12-bit digital device with a maximum resolution of 0.0625°C. Much of this accuracy is lost with the PICAXE readtemp command, which automatically rounds and corrects the value to the nearest whole degree. However, the PICAXE-18X part also has a readtemp12 command, allowing all 12 bits of the temperature reading to be retained for maximum accuracy. The program in Fig.4 shows how to separate the raw 12-bit data into two bytes – the “whole degree” and the “fraction” after the decimal place. These values are then displayed to three decimal places on the LCD. Expanding the memory. The Datalogger kit is supplied with a single 24LC16B EEPROM. This provides enough space for 512 bytesized readings for four sensors, or 1024 readings for two sensors. For some experiments, you may want to add more memory and with the PICAXE-18X Datalogger, this is very easy to do! The simplest upgrade involves replacing the 24LC16B EEPROM with the larger, pin-compatible 24LC256 www.siliconchip.com.au The memory expansion board plugs into the I2C connector at one end of the Datalogger. Want really bright LEDs? We have the best value, brightest LEDs available in Australia! Check these out: Luxeon 1 and 5 watt LEDs All colours available, with or without attached optics, as low as $10 each Lumileds Superflux LEDs These are 7.6mm square and can be driven at up to 50mA continuously. •Red and amber: $2 each •Blue, green and cyan: $3 each device. This increases the available space to 8192 byte-sized readings for four sensors. In programming terms, the only real difference between the two chips is the i2cslave command used. For the 24LC256, use the i2cslave, %10100000, i2cword command as it has a word address rather than a byte address. If desired, up to seven more 24LC256 EEPROMs can be added to the datalogger with the addition of a memory expansion board. This multiplies the available memory by eight times! The memory expansion board is a small PC board with seven sockets to accept the Connecting the LCD is as easy as running three wires back to the Datalogger board, either direct or via a socket (not included with the kit) as shown here. additional EEPROMs. It simply plugs into the Datalogger via the 5-pin I2C expansion connector (CT8). The program shown in Fig.4 stores data in the 24LC256 EEPROMs in positions 1, 2 and 3 on the expansion board. Up to 32,768 readings can therefore be made, giving over 22 days of logging with the 1-minute sampling SC interval shown. About the Author Clive Seager is the Technical Director of Revolution Education Ltd, the developers of the PICAXE system. Asian Superflux LEDs Same size and current as the Lumileds units, almost the same light output, but a fraction of the price. •Red and amber: Just 50 cents each! •Blue, green, aqua and white: $1 each. Go to www.ata.org.au and check out our webshop or call us on (03)9388 9311. Silicon Chip Binders REAL VALUE AT $12.95 PLUS P&P H Each binder holds up to 12 issues H SILICON CHIP logo printed on spine & cover Price: $A12.95 plus $A5 p&p each. Buy five and get them postage free (available only in Australia). Just fill in the handy order form in this issue; or fax (02) 9979 6503; or ring (02) 9979 5644 & quote your credit card number. www.siliconchip.com.au March 2004  81 Vintage Radio By RODNEY CHAMPNESS, VK3UG The little 1934 Astor Mickey From the 1920s onwards, Astor produced many fine receivers, the Astor Mickey being one of their early mantel receivers. It was a very compact 5-valve receiver and the “OZ” model number that was used to denote the Australian model now seems quite relevant. It’s probably just coincidence that Astor used “OZ” to denote the Australian version of this receiver. The term “OZ” didn’t become slang for Australia until much later on, so it’s impossible to say just why the “OZ” model number was used. The Astor Mickey “OZ” was a modi- fied version of an American receiver that was designed to run off 110V mains. In the US, Radio Corporation must have thought that they had it made with the “Mickey Mouse” name, since it reminded people of the Walt Disney character of the same name. However, the people at Walt Disney The Astor Mickey model OZ was built into an attractive walnut cabinet. Note the very small elementary dial scale. It consists of a reduction drive and uses a gramophone pick-up needle(!) as the dial pointer. 82  Silicon Chip were not amused and legal action eventually resulted in the name being altered to just plain “Mickey”. US designs Quite a few of the receivers sold in Australia during the 1920s and 1930s were close copies of American sets of the era, often being built under a licence agreement. Australia’s manufacturing base for radio receivers was not as advanced as America’s at that time and so the use of American designs made good business sense for manufacturers looking to steal a march on their rivals. The Astor Mickey “OZ” was quite a compact receiver for its time, despite the fact that it included a power transformer, a couple of intermediate frequency (IF) transformers, a tuning gang, various coils, a loudspeaker, an output transformer, miscellaneous passive components and, last but not least, five large valves. In fact, Astor did a marvellous job of shoe-horning them all into such a small space. A side effect of this “shoe-horning” was that the audio output and rectifier valves cause other components in their near vicinity to get quite hot as well. For example, the tops of the valve envelopes are quite close to the top of the cabinet and this inevitably became heat-damaged. To minimise this, vertical ventilation slots were cut into the lefthand end of the cabinet to assist airflow, while a sheet of asbestos(!) was fitted above the valves to reduce heat transfer to the cabinet. Most of these sets will still have the asbestos fitted, so be careful if you are working on one of these receivers. Asbestos is a carcinogen and should be treated with great caution. To prevent fibres of asbestos coming off the sheet, it could perhaps be sprayed with clear Estapol which should seal www.siliconchip.com.au This front view shows the chassis after it has been removed from the cabinet. Notice how closely the components have been packed together. There’s no wasted space here! Below: a rear view of Astor OZ. This shows the very compact nature of the set, considering that it uses full-sized components. Be aware that a sheet of asbestos is used above the two valves at the right of the photograph. its surface and thus prevent any loss of material. How you deal with it is up to your own good commonsense. I’m certainly not an expert on dealing with asbestos safely. Front-panel controls The front panel of the receiver carries the volume and tuning controls, with the volume control to the left and the tuning to the right. A brass plate behind each knob identifies its function and these plates are attached to the wooden cabinet via escutcheon pins. The loudspeaker is fitted behind a fret in the front of the cabinet, which is covered with speaker cloth. The tuning control is similar to that used in many other early sets and features a small circular dial-scale that’s located behind the knob – in fact, it’s hardly worth calling a “dial scale”. There is a reduction drive to the gang and the pointer for the tuning consists of a gramophone pick-up needle that’s inserted into the reduction drive brass ring. There are no frequency calibrations or station callsigns on the dial scale – just a 0-100 scale. There were certainly some big improvements made to dial-scales in the years following 1934, when this set was manufactured. Removing the chassis The set is reasonably easy to dismantle. First, the knobs are unscrewed www.siliconchip.com.au and the brass dial-scale is levered off. That done, four bolts are removed from the base of the cabinet, after which the chassis is can be slid out of the case. This has to be done carefully, as it is a tight fit. With the chassis exposed, it quickly becomes clear that there is a lot of radio packed into a small space! There is very little space between the chassis-mounted items and you need nimble fingers to remove the detectorcum-first-audio valve. That said, I’ve seen more awkward layouts than this. However, it is just as well that tuning capacitors are usually trouble free, as the gang is completely covered by the oscillator and antenna coils and their associated components. The view underneath the chassis is a bit more frightening, with a mass of components and various leads going March 2004  83 The under-chassis view of the Astor Mickey OZ reveals a real dog’s breakfast, with a mass of components and leads going everywhere! It is a difficult receiver to service because the components are so crowded together. all over the place. This particular set had been serviced on several occasions in the past and this has only added to the confusion with the layout. Replacement components appear to have been tacked in wherever possible and, over the years, a significant number of the capacitors and resistors have been replaced. However, they were not all replaced at the same time, as components from several eras are evident. Circuit details Redrawing the circuit diagram of this radio using circuit symbols from the end of the valve era would quickly disguise the fact that it was designed in 1933. In fact, if the valve type numbers were unknown and if the field coil on the speaker is ignored, this circuit could easily be mistaken for one of many dozens produced during the 1960s. Even by the mid-1930s, the superhet receiver had been almost fully developed. Of course, there are differences between this set and later sets but these 84  Silicon Chip are purely refinements of what had already been produced. For example, the quality of the coils improved with the advent of iron dust and ferrite cores, as well as then being able to make them much smaller. In addition, the valves became much smaller with the introduction of 7-pin and 9-pin units, but their characteristics remained similar to the octal and pre-octal valves that they replaced. For example, the 6D6 (in this set) later became the 6U7G, which has almost the same characteristics as the later miniature 6BH5. Another difference is that electrodynamic loudspeakers gave way to permanent magnet units, which saved power because they didn’t require a field coil to produce a magnetic field. And over the years, the electrolytic and paper capacitors gradually became smaller for the same capacitance, with the unreliable paper types ultimately replaced by polyester capacitors. Finally, towards the end of the valve era, thermionic power recti- fiers were replaced by more efficient silicon power diodes. So while there were significant improvements in the components used, the circuit designs of common domestic radio receivers remained much the same. Australian modifications This receiver was, as mentioned earlier, an “Australianised” version of an American radio. The American design was for a transformerless set which ran directly off the 110V mains. In this design, the valve heaters would have all been connected in series, which meant that 69V was needed across them for best performance (possibly achieved by using a dropping resistor). As a result, the circuitry of the receiver were designed to operate efficiently off 110-140V DC. At this voltage, the 43 output stage gives quite reasonable audio output. Modifying the set for Australia involved adding a mains transformer to supply the voltages required. This transformer allowed the set to be used with the Australian 240V mains and featured three heater windings to cater for the various heater voltages. In adwww.siliconchip.com.au Fig.1: the circuit for Astor Mickey OZ is a fairly conventional 5-valve superhet. VALVES AUDIO HI-FI AMATEUR RADIO GUITAR AMPS INDUSTRIAL VINTAGE RADIO We can supply your valve needs, including high voltage capacitors, Hammond transformers, chassis, sockets and valve books. WE BUY, SELL and TRADE SSAE DL size for CATALOGUE ELECTRONIC VALVE & TUBE COMPANY PO Box 487 Drysdale, Vic 3222 76 Bluff Rd, St Leonards, 3223 Tel: (03) 5257 2297; Fax: (03) 5257 1773 Email: evatco<at>pacific.net.au www.evatco.com.au KALEX dition, the rectifier circuit was modified to function as a full-wave unit, instead of the half-wave unit used in the original design. However, some later versions of this radio used valve heaters that were wired in series and a half-wave rectifier was used to supply the HT voltage for the set. These later receivers were very much an American design, with a power transformer “hung” on the www.siliconchip.com.au mains to give the right voltages. As before, it was no longer necessary to use a dropping resistor to reduce the 110V to 69V as the heater winding on the transformer provided just the right voltage. The power transformer probably fitted in the space vacated by the heater dropping resistor in the American sets. And as well as providing the correct voltages, it certainly makes the • High Speed PCB Drills • PCB Guillotine Laser Labels • PCB Material – Negative or Positive Acting • Light Boxes – Single or Double Sided; Large or Small • Etching Tanks – Bubble • Electronic Components and Equipment for TAFEs, Colleges and Schools • Prompt Delivery We now stock Hawera Carbide Tool Bits 718 High Street Rd, Glen Waverley 3150 Ph (03) 9802 0788 FAX (03) 9802 0700 Website: www.users.bigpond.net.au/kalex Email: kalexpcb<at>bigpond.net.au ALL MAJOR CREDIT CARDS ACCEPTED March 2004  85 Vintage Radio – continued stage and a pentode audio output stage. Provision is made for an extension speaker, as shown in the lower right of the circuit diagram. All stages use cathode bias except for the audio output stage, which uses back bias. The field coil is in the negative lead of the power supply and 1/6th of the voltage across this is applied as the back bias. The power supply is conventional and uses a mains transformer and full-wave rectifier (V5) to produce the high-tension (HT) voltage (135V). Lower voltages for various sections of the receiver are obtained from a voltage divider network across the HT rail, consisting of resistors R14, R15 & R16. Alignment This top rear view of the chassis again shows how close the major components (valves, IF transformers, etc) are together. Note the side adjustments on the aircored IF transformers at the rear of the chassis set safer to work on. Indeed, Australians have always had a dislike of live chassis equipment, in contrast to the Europeans and Americans. Circuit details As mentioned earlier, the circuit layout is quite standard, although the tuned input circuit does require some comment. This tuned circuit consists of L3, L4, C4 and C5, with tuning capacitor C4 being adjusted to tune to the desired station. In addition, these components, together with the remainder of the parts in the input circuit, form a complex network that’s designed to have a broad response across the broadcast band but with the response dropping off rapidly outside this band. The reason for this is that the designers were concerned about breakthrough from marine Morse code stations in the 400-513kHz frequency range into the intermediate frequency (IF) amplifier. That said, it probably would have been simpler to have put an IF trap in the antenna circuit on 456kHz. However, this is one of the earlier sets using a 456kHz (455kHz) 86  Silicon Chip IF amplifier stage and, because it uses air-cored low-Q transformers, the frequency response was probably sufficiently broad to allow signals well away from 456kHz to get through. The antenna circuit used in the Astor Mickey was obviously designed to overcome this problem by rapidly attenuating signals outside the broadcast band. Without this circuitry, either an annoying thumping noise or a tonemodulated series of short and long signals would have been evident to the listener. Indeed, one of my receivers from the 1960s was prone to this problem. Of course, this is no longer an issue, as the marine medium frequency (MF) stations closed down at the turn of the century. The IF amplifier is quite conventional and uses trimmers to tune each IF transformer winding. The adjustments are made from the side of each transformer and as can be seen in photograph, they can be adjusted with the set in the cabinet. The IF stage is followed by a diode detector cum-AGC-diode stage, followed in turn by a pentode first audio The alignment of the IF stage is conventional and involves applying a modulated signal from a signal generator (set to the IF frequency) to the grid of the 6A7 RF stage. The audio output level at the speaker (or the DC voltage across the volume control) is then measured and the tuning peaked for a maximum reading. The alignment of the antenna and oscillator circuits is also conventional. The set nominally tunes 550-1500kHz but by carefully adjusting the two trimmers on the tuning gang at the high-frequency end of the band and the padder capacitor (C9) at the lowfrequency end, the set can be made to tune the entire broadcast band as it is today. The padder capacitor (C9) is accessed through the back of the chassis, near the aerial and earth terminals. However, it really is guess work as to where the alignment points of 600kHz and 1400kHz should appear on the dial, as it is only calibrated 0-100! The procedure for tuning the front end is fully explained in “Vintage Radio” for February 2003. On a cautionary note, don’t adjust C3 unless you really know what you are doing. This small capacitor (about 2pF) consists of two short lengths of insulated wire twisted together and forms part of the broadcast bandpass image and IF rejection circuit. Performance It’s a bit hard to judge just how well this set performs, since it has yet to be restored. However, it’s doubtful that it will be up to the standards of www.siliconchip.com.au Photo Gallery: Philips Model 6506 – Medium Wave (1937) Silicon Chip Binders REAL VALUE AT $12.95 PLUS P &P These binders will protect your copies of S ILICON CHIP. They feature heavy-board covers & are made from a dis­ tinctive 2-tone green vinyl. They hold up to 14 issues & will look great on your bookshelf. H 80mm internal width With its vertical edge beading, chrome-plated grille bands and chrome-plated station pointer, the Philips Model 6505 is a classic example of art deco styling. The set came with either “E” series or “A” series valves, the former with 6.3V heaters and a 4V rectifier, the latter with 4V heaters and a 6.3V rectifier. Tuning was accomplished using a large disc and wedge wheel, with an anti-backlash mechanism. (Set restored by Maxwell L. Johnson; photo by Ross Johnson). comparable receivers from the 1950s and 1960s, due to the low Q of many of the coils. nitro-cellulose lacquer. The interior will be given a coat of matt black paint to finish it off. The cabinet Summary The cabinet is quite small for the era, being just 305mm long, by 180mm high and 140mm deep. It is, however, quite attractive and is made from walnut ply, with the front made from a piece of figured walnut. Black paint highlights the controls, the speaker grille and the base of the cabinet. As shown in one of the photos, the cabinet style is different in that the top is curved down in the centre – almost like a small seat! It does look quite effective and this set would have looked every bit as good as many other high-quality sets of the era. The cabinet has been restored using flat clear polyurethane and looks quite impressive. However, a little later on, its owner intends to finish the cabinet restoration with a mixture of 60% gloss Despite being a 1933 design, the circuit of the Astor Mickey is similar to many radios that appeared towards the end of the valve era. It only suffers in performance compared to these later sets because of the inferior components that were available in 1933-4. Astor managed to cram a lot into a cabinet that is similar in size to most mantel sets of the later valve era. Considering this, access to the works is quite reasonable. The cabinet is of an eye-catching design and even today the set would look good and sound good in the home. It’s no wonder that these receivers command high prices when sold. If you have the opportunity of obtaining one at a reasonable price, then SC “go for it”. www.siliconchip.com.au H SILICON CHIP logo printed in gold-coloured lettering on spine & cover H Buy five and get them postage free! Price: $A12.95 plus $A5.50 p&p. Available only in Australia. Silicon Chip Publications PO Box 139 Collaroy Beach 2097 Or fax (02) 9979 6503; or ring (02) 9979 5644 & quote your credit card number. Use this handy form Enclosed is my cheque/money order for $________ or please debit my  Bankcard  Visa    Mastercard Card No: _________________________________ Card Expiry Date ____/____ Signature ________________________ Name ____________________________ Address__________________________ __________________ P/code_______ March 2004  87 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 to silchip<at>siliconchip.com.au Poor damping factor for Studio 350 I have always considered Damping Factor to be of the utmost importance in the design of the highest quality audio amplifiers. I was interested to see the new 350W amplifier module but incredibly disappointed to see a D.F. of only 75. Any reasons? (C. A., Wagga Wagga, NSW). • The reason is due to the InDesign desktop publishing software we use. Unless special precautions are taken when the text is “tagged” for style prior to importing, it can ignore text beginning with the “>” symbol (greater than). The specification should have read “>180 <at> 100Hz & 1kHz; >75 at 10kHz, with respect to 8 ohms”. So the damping factor is actually pretty good. Setting a trap for a plant thief A person who I know has been stealing plants from my backyard and taking them to his house, replanting them and passing them off as his. What I wanted to do is to record him taking them and pass the information on to the police. He has taken over 20 plants and it is very annoying and costly. I have a mini spy camera and a VCR. The only problem is that I can’t leave the VCR recording 24 hours a day. Do you have some kind of motion detector that would allow my VCR to record only when there was movement? (R. M., via email). • Have a look at the video security project in the September 1997 issue. This used a PIR (passive infrared sensor) to control starting and stopping of the VCR. However, you might want to consider merely using a PIR sensor to control some strategically placed spotlights. Bridging the SC480 amplifier modules I’ve built a stereo pair of SC480 amplifiers and a friend wants me to build a couple for microphone use, using the balanced microphone preamp you published in the April 1995 edition. What I need to know is whether the SC480 amplifier is suitable for bridging. I know nothing about bridging Zap Protection For Jump Starting I have been told that if I am jumpstarting a car with a flat battery, then I must use jumper leads with “anti-zap” protection to connect to the vehicle with a charged battery. I appreciate that the vehicle’s electronics must be protected from voltage surges but I cannot understand how a 12V battery can give out any more than a nominal 12V. Could you please explain (a) where these high voltages come from; and (b) whether I can retrofit my existing jumper leads with whatever it takes to neutralise these nasty voltages. (M. H., via email). • Jumper leads with anti-zap pro88  Silicon Chip tection don’t always work. You would be advised to closely follow the instructions in your owner’s manual for jump starting. These should minimise any risk to your car’s electronics. Jump starting can certainly cause spikes to be generated. The starter motor itself is a large inductive load and its solenoid and commutator can generate considerable hash and spikes. The problem is made worse by the car’s flat battery – because it is flat, it has a higher internal impedance than normal and so it is less able to suppress spikes across the supply. other than the fact that Altronics sell an amplifier bridging adaptor kit – would it suit? I have on hand a couple of 25W amplifier modules published in the December 1993 edition – are these suitable for bridging? (J. H., Falmouth, Tas). • The SC480s can be bridged using the Altronics bridging kit but you can then only drive an 8-ohm loudspeaker. The 25W amplifier modules are not worth bridging – they don’t have enough power output. Valve preamp as headphone driver I was just wondering if I could turn the hifi version of the valve preamp (February 2004) into a headphone amplifier? If so, what is required to be done? (R. D., via email). • Trying to use the valve preamp as a headphone driver is just not practical because the 68kΩ plate load resistor of the second stage severely limits the current that can be delivered. How to measure damping factor I have been attempting to work out how one simply measures an amplifier’s damping factor, so that I can optimise the design of loudspeakers. Quoting Vance Dickason, in his book entitled The Loudspeaker Design Cookbook, “Amplifier resistance (Rg) is one of the series resistances taken into account when calculating driver Qt. The easiest method is to use the manufacturer’s advertised damping factor (D), usually measured at 1kHz: Rg = Rd/(D-1) where Rd is the rated driver impedance”. The problem is that the damping factor can be substantially different at different frequencies and at different drive levels. When designing a loudspeaker it is necessary to measure damping at a more relevant frequency and output level, such as 50Hz and www.siliconchip.com.au high power output, such as is experienced by the woofer for whose Qt I am trying to optimise. Vance provides a means of measuring an amplifier’s damping factor but I consistently end up obtaining a result with a negative value! I also noticed that you have measured the damping factor for the new Studio 350 amplifier (January 2004) as 75 at 10kHz with respect to 8Ω. This figure appears completely useless to someone who would wish to drive say a subwoofer with a cut-off frequency of 50Hz. Can you please provide the damping factor at 50Hz for the Studio 350 and can you please provide a bullet-proof way for me to measure damping factor? (E. W., via email). • See the above answer for the damping factor specification of the Studio 350. Typically, an amplifier’s damping factor will be much the same for frequencies between 20Hz and 1kHz but will taper off above that, partly due to the reducing feedback factor at high frequencies (ie, reduced open loop gain) and the effect of any output coupling filter network. Damping factor is the ratio of the load impedance to the source (output) impedance of the driving amplifier. You can derive an equation from Ohm’s Law (V = IR; R = V/I) whereby the amplifiers’ output impedance ZO = (VO - VL) x ZL/VL; where VO is the open circuit output voltage, ZL is the load impedance and VL is the load voltage. To get damping factor, you divide ZL by ZO and this simplifies down to VL/(VO - VL). In practice, you take the difference between the load voltage and the open circuit voltage and divide it into the load voltage (driving an 8-ohm dummy load). Typically, the difference between the load voltage and open circuit voltage will only be a few millivolts so you need a high resolution AC millivoltmeter. A 4.5-digit DMM will do the job. Depending on the feedback connections in your amplifier, it is possible to have an output impedance which is slightly negative (ie, output voltage increases slightly when the load is connected) but the damping factor is still the ratio of the load impedance to the amplifier’s output impedance. Note that you can do the test at any power level up to clipping and the result should be the same. Typiwww.siliconchip.com.au Playmaster 30+30 amplifier overheating I built the Playmaster 30+30 amplifier as described in EA magazine in April 1992. It uses the Philips TDA1514A power amplifier ICs. There are a couple of problems I’m having with this project. There seems to be very little low end (bass) from this amplifier. You need to have the bass control on maximum for there to be any kind of appreciable amount of bass - and it’s still not quite enough. But the biggest problem is that one of the power supply filter capacitors keeps failing. The 5600µF on the positive rail starts to bulge on the top until it eventually splits and leaks gunk all over the PC board. One tell-tale sign is that one of the power amplifier ICs runs considerably warmer than the other. It seems cally, we do the test with a least 10V of output signal, otherwise the small difference in signal levels becomes hard to measure. By the way, damping factor measurements should be done right at the amplifier’s output terminals, to avoid the effects of connecting cable resistances. Our damping factor measurements for the Studio 350 module were taken right at the speaker terminals on the PC board. Even a short length of connecting wire can affect the result. Enhancements to wind-up torch I have just received the February 2004 issue and intend to build the torch described in it. I intend to add an on/off switch and a small solar cell to charge up a large capacitor, as well as having the stepper motor. Do you envisage any problem with doing this? Are the capacitors out of dead microwave ovens usable? Taking due care of the dangers initially involved of course! (P. R., via email). • There is a problem with charging the battery with a solar panel. This is bound to charge the battery to far more than the forward voltage of the LED and so when you switch the torch on, it will initially give excessive voltage to be pulling more current than it should be. I swapped the ICs over, thinking there was an internal fault with the one that was warming up but the fault did not move with the IC. All voltages around both ICs are OK. I’m at my wit’s end as to what the problem could be. Some suggestions would be greatly appreciated. (M. O., via email). • From the symptoms, it seems likely that one of the TDA1514s (the hot one) is oscillating supersonically. This is causing high ripple current on the positive supply which is overloading the positive rail 5600µF capacitor and causing it to fail. Check that the Zobel network is OK (R30 & C24) and that all capacitors are correctly soldered into circuit. In particular, check C22 (3.3nF) and C20. to the LED. It may also exceed the voltage rating of the supercaps if these are used as well. Capacitors in microwave ovens can generally be re-used but be very careful to make sure that everything is discharged before you attempt any circuit disassembly. These capacitors can retain a lethal charge for months after use, especially if their discharge resistors have gone open circuit. PIC programmer damage I recently put together the PIC Programmer from the September 2003 issue. As far as I can see, it works fine but I’ve somehow managed to destroy (I think) a number of PICs (PIC16F628a). I can’t imagine that it is my circuit that is destroying it (it is currently only a couple of LEDs attached to the I/O ports via a 1kΩ resistor on each). All of the tests suggested in the article were passed OK. Is it possible that inserting the PIC with the programmer board switched on could be causing this problem? This seems to be the case but I can’t verify this as I don’t want to waste any more PICs. The programmer works as expected for a number of reprogrammings until I get a message “unable to verify pic March 2004  89 PIC programmer problems I’m having a problem with the PIC Programmer described in September 2003. I built the circuit on my own PC board as I used a simpler (standard 7805-based) power supply to avoid sourcing the LP2951. The programming voltage is fine, until the PIC is inserted, when the pin 4 voltage drops down. Any ideas? (L. W., via email). • We assume that you haven’t modified the Vpp generation circuitry and that you’re programming an “F” (flash memory) series micro. As mentioned in the article (under the “Vpp Check” heading), you can use the “Enable MCLR” box in the “Hardware Check” dialog to switch Q7 on and off and examine the operation of this particular part of the circuit. while programming”. The PIC still works but cannot be reprogrammed. Any assistance or ideas would be greatly appreciated. (M. W., via email). • It is possible for PICs to be damaged if they’re plugged into a powered programming socket, despite the on-board current-limiting circuit. However, it seems unlikely that this is the cause in your case, as devices damaged in this way will generally fail to function in-circuit. The devices may have the ‘LVP’ (Low-Voltage Programming) or ‘CP’ (Code Protect) fuse bits set. Check that both of these fuses are disabled (not ticked) before hitting the program button. Also, check the resistance between pin 10 of the programming socket and ground (0V). The 4.7kΩ pull-down resistor on this pin ensures that LVP mode is disabled (regardless of the fuse state) when entering programming mode. Missing capacitor in balanced input I have an enquiry regarding the Balanced Input/Output Stages for the Studio Series Equaliser, as featured in the December 1989 issue. I noticed that the circuit diagram on page 75 of that issue does not show the 10µF capacitor 90  Silicon Chip There should be about +13.6V on the cathode of ZD1 in either condition. If not, check the voltage on the cathode of D4. It should be about +17.8V. The MAX232, D3 & D4, as well as the associated 1µF capacitors, generate the required high voltage. Anything more than a few mA load on this supply will overload it, causing the voltage to drop down. If all is working properly, only about 0.5mA will be drawn from the high voltage supply, determined by the 1.2kΩ resistor between the base and emitter of Q3 (Q3 & Q4 act as a constant current source for ZD1 & D5). In operation, the voltage drop across this resistor should measure about 0.6V. The problem is most likely around Q3 to Q7, ZD1 & D5. Check that you haven’t accidentally exchanged the PN100/PN200s, etc. from pin 7 of the LM833 to the “Output to Equaliser Input” but it is shown on the PC board layout on page 77 of the same issue. It also looks like it is also present in the accompanying photo on page 74. I have checked through many of my 1990 back issues and have not been able to find Notes & Errata on this aspect. Could you look into this please and let me know? (W. R., Townsville, Qld). • The 10µF capacitor at IC1b’s output should have been shown on the circuit. It is probably best to use a bipolar or non-polarised capacitor instead of the polarised part mentioned on the overlay diagram. Cybug solar fly does not respond I’m having trouble with the Cybug Solar Fly, described in the September 2000 issue of SILICON CHIP. Everything except the insulation tape and the heavier tinned copper wire to stabilise it have been soldered onto the PC board but it won’t work. I’ve tried it outside directly under the sun in 30°C weather and it won’t work. I’ve checked that all the polarities are correct three times and have found no error. The PC board melted slightly while soldering and I was wondering if you could help me find what the error would be? (C. B. via email). • You need to do some basic circuit checks. For example, try covering D1 or D2. Does that cause the associated comparator input to go low? If so, what happens at the comparator outputs? Can you turn on the motors by shorting out the respective Darlington transistors? By this process, you should be able to find what’s wrong. Our tip is a missed solder joint or a component soldered in the wrong way. 4-station telephone intercom I need to build an intercom using normal Telstra type phones with up to four stations. Have you ever published a project that could do this? (J. A., via email). • We published the 10-station Interphone in August, September and November 1992. You can obtain the PC boards from RCS Radio (Phone 02 9738 0330; PC board reference n umber CE92MC). Or there is a much simpler PICAXE phone intercom published in June 2003 (no PC board). We can supply these issues for $8.80 each, including postage. Remote volume control works in one direction I have just completed assembly of the PIC-controlled remote volume control described in the June 2002 issue of SILICON CHIP. I am using it with the Jaycar AR1073 remote. The unit does not work at all in the ‘clockwise’ (increase volume) direction. That is, it will not ‘step’ up with the channel button, nor will it rotate with the volume button or return to a preset position with the ‘unmute’ function. The ‘mute’ and ‘acknowledge’ LEDs say that signals from the remote are being received OK. In the reverse, the unit works quite OK in all modes. I have done all the usual checking of component values, placement, etc and the voltage measurements are OK. I must be doing something wrong, but for the life of me I can’t figure out what. Can you guys help? (B. B., via email). • Check the placement of transistors Q1, Q2, Q3 and Q4. We suspect that two are incorrectly placed. www.siliconchip.com.au Induction loop receiver for headphones Would you please publish a circuit for a pocket or purse-size hearing assist device, with headphone outlet, to pick up voice signals radiated from deaf-aid loops installed in theatres, airports, etc. A tone control would benefit people whose hearing impairment is in a defined frequency range. As well, small, modern headphones could be appealing to users. (J. A., Magnetic Island, Qld). • “Electronics Australia” described just such a project in the October 1995 issue. We can supply a photostat copy for $8.80 including postage. HT supply for valve receiver I read the article on the 12AX7 valve preamplifier in the November 2003 issue with interest, as many years ago I had built a number of similar circuits for guitar preamplification and general audio applications. The part of the article which really appealed to me though was the method of obtaining the HT via a DC-DC converter. For some years, I have had a project on the back burner to recondition an old military aircraft receiver of the type commonly available years ago. And as transformers capable of supplying suitable HT voltages at a current of 115-120mA seem to be relics of the past, I have puzzled over ways to provide a solution at an affordable cost. The article infers that the DC-DC converter in its present form should be capable of supplying about 40mA, dependent on the plugpack. I am wondering what modifications to the published circuit would be necessary to provide an HT of 250-260V at a Power-Up doesn’t work with TV I built your Power-Up module from the July 2003 issue and am pleased with its performance on my computer. It is fabulous for powering all those plugpack peripherals such as modem, scanner, printer and speakers. Now I want to build another unit to power the audio equipment when I turn on my TV. The problem is that the PowerUp is not sensitive enough to reliably detect the difference in current drain between current of 115mA. I have a number of 12V 40W and 60W transformers which, with the provision of rectifier and filtering components, should be suitable for the 12V DC required. (R. K., via email). • It turns out that we have been very conservative in the design of the converter and it should provide much more than 40mA. In fact, with the right driver stage, the transformer core is capable to delivering about 100 watts. To get 115mA at 260V, you would need to bypass REG1 and fit Q3 with much better heatsink. Smaller transformer for Studio 350 I have a question regarding the Studio 350 amplifier that was described in the recent issues (Jan-Feb, 2004) . Can a 50-0-50V 300VA toroidal transformer be used? I don’t mind the reduced power output. Could you tell me what it would be on a 300VA transformer instead of the 500VA as stated in the article. (E. Z., via email). • You can certainly use a 300VA standby and normal operation of the TV, even with careful adjustment of the sensitivity control. Is it possible to make the unit more sensitive to smaller current changes? (P. T., via email). • We suspect that your TV set draws considerable current when in standby and so the current detection circuit is being overloaded. To fix this, try reducing the value of the 470kΩ resistor at pin 2 of IC1a to say, 100kΩ. At the same time, you will need to increase the value of the 2.2nF capacitor to 10nF, to maintain the same roll-off frequency. transformer and it will probably be quite adequate when playing normal program material. Naturally, the 4-ohm continuous power output will be reduced though. Power supply for Jacob’s Ladder I recently built a Jacob’s Ladder kit (SILICON CHIP, September 1995) and I was wondering what kind of 12V power supply was required and the current output necessary? (D. S., via email). • A standard DC power supply will probably not be able to drive the Jacobs Ladder successfully due to the high peak currents required. The supply would need to deliver at least 5A at 12V. This is why we recommend using a 12V battery. You could use a 12V battery charger (with, say, up to 5A charge) in conjunction with a battery if you did not want the battery to go flat over time. Alternatively, you could use the 12V output of a discarded PC power supply. SC WARNING! SILICON CHIP magazine regularly describes projects which employ a mains power supply or produce high voltage. All such projects should be considered dangerous or even lethal if not used safely. Readers are warned that high voltage wiring should be carried out according to the instructions in the articles. When working on these projects use extreme care to ensure that you do not accidentally come into contact with mains AC voltages or high voltage DC. If you are not confident about working with projects employing mains voltages or other high voltages, you are advised not to attempt work on them. Silicon Chip Publications Pty Ltd disclaims any liability for damages should anyone be killed or injured while working on a project or circuit described in any issue of SILICON CHIP magazine. Devices or circuits described in SILICON CHIP may be covered by patents. SILICON CHIP disclaims any liability for the infringement of such patents by the manufacturing or selling of any such equipment. SILICON CHIP also disclaims any liability for projects which are used in such a way as to infringe relevant government regulations and by-laws. Advertisers are warned that they are responsible for the content of all advertisements and that they must conform to the Trade Practices Act 1974 or as subsequently amended and to any governmental regulations which are applicable. www.siliconchip.com.au March 2004  91 SILICON CHIP siliconchip.com.au YOUR DETAILS NEED PCBs? Order Form/Tax Invoice You can get the latest PCBs and micros direct from SILICON CHIP! See p100 for full details . . . Your Name_________________________________________________________ Silicon Chip Publications Pty Ltd ABN 49 003 205 490 PO BOX 139, COLLAROY NSW 2097 email: silicon<at>siliconchip.com.au Phone (02) 9939 3295 Fax (02) 9939 2648 This form may be photocopied without infringing copyright. (PLEASE PRINT) Address______________________________­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­___________________­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­___________________________________________________ Postcode__________ Daytime Phone No. ( )____________________ Email address ________________________________ Method of Payment: q EFT (ring or email for details) q Cheque/Money Order q PayPal q Visa Card q Master Card Card No.                                Card expiry date: Signature_________________________________________________ YOUR ORDER SILICON CHIP PRINTED EDITION SUBSCRIBERS# QUALIFY FOR 10% DISCOUNT (except on subscriptions!) SIMPLY TICK THE ITEMS REQUIRED – DON'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) q AUSTRALIA 6 MONTHS (INC. GST) ...................................................................$52.00 q AUSTRALIA 12 MONTHS (INC. GST)..................................................................$97.50 q AUSTRALIA 12 MONTHS WITH BINDER (INC. GST) .......................................$115.00 q AUSTRALIA 24 MONTHS (INC. GST)................................................................$188.00 q AUSTRALIA 24 MONTHS WITH 2 BINDERS (INC. GST) .................................$222.00 q NEW ZEALAND 6 MONTHS (AIR MAIL) ........................................................ $AU55.00 q NEW ZEALAND 12 MONTHS (AIR MAIL)....................................................... $AU99.00 q NEW ZEALAND 24 MONTHS (AIR MAIL) ................................................... $AU196.00 q OVERSEAS (EXCEPT NZ) 6 MONTHS (AIR MAIL) ......................................... $AU80.00 q OVERSEAS (EXCEPT NZ) 12 MONTHS (AIR MAIL)...................................... $AU140.00 q OVERSEAS (EXCEPT NZ) 24 MONTHS (AIR MAIL) .................................... $AU265.00 NEW! CONVENIENT AUTOMATIC SUBSCRIPTION RENEWAL: q PERFORM. ELECT. FOR CARS PLUS ELECTRONIC PROJECTS FOR CARS (2003) – last few, some may be shop-soiled, – BOTH BOOKS .... $21.95 now only $15.00 Embossed "SILICON CHIP", securely holds 12 months+ of issues Available in Australia only.......................................................................................$14.95 q q q q q q q q q q q q q q q q q q q q q q q PCBs, PANELS, PROGRAMMED MICROS #10% discount offer does not apply to online edition subscribers nor to website orders q Tick here if you'd like us to automatically renew your subscription when it elapses    (ie, 6 month, 12 month or 24 month). We'll renew until you tell us to stop! SILICON CHIP BACK ISSUES/ARTICLE PHOTOCOPIES q SILICON CHIP BACK ISSUES*; SC/EA/ETI PHOTOCOPIES – includes P&P – $12.00 within Australia; $15.00 overseas *where in stock - photocopy of article supplied where issue is out of stock. EA/ETI: no back issues left, only photocopies available. Price is for each back issue or each article photocopy. Nominate issue and article required: Month:...................................... Year:......................... Article required:.................................................................................................................... Please attach list if more than one back issue or photocopy required. There is a 10% discount for ten or more back issues and/or photocopies (no further discount applies). SILICON CHIP MAGAZINE BINDERS q OR FAX (24/7) This form (or a photocopy) to (02) 9939 2648 with all details AMATEUR SCIENTIST CD NEWEST Version 4.0............................................. $62.00 AUDIO POWER AMPLIFIER DESIGN – SELF ................................................. $81.00 BUILD YOUR OWN ELECTRIC MOTORCYCLE ... ............................................ $40.00 DVD PLAYERS AND DRIVES ........................................................................ $71.00 ELECTRIC MOTORS AND DRIVES.................................................................. $51.00 NEWNES GUIDE TV & VIDEO TECHNOLOGY................................................. $49.00 OP AMPS FOR EVERYONE.......................................................................... $100. 00 PIC IN PRACTICE........................................................................................... $60.00 PIC MICROCONTROLLERS - KNOW IT ALL................................................. $83.00 PIC MICROCONTROLLER - PERSONAL INTRO COURSE............................... $60.00 PRACT. GUIDE TO SATELLITE TV (7th edition)............................................. $49.00 PRACTICAL RF HANDBOOK .......................................................................... $61.00 PRACT. VAR. SPEED DRIVES/POWER ELECT................................................. $73.00 PROG. 32-BIT MICROCONTROLLERS IN C ..................................................... $79.00 PROGRAMMING AND CUSTOMIZING THE PICAXE ................................... $65.00 RADIO, TV AND HOBBIES ON DVD-ROM ...................................................... $62.00 RF CIRCUIT DESIGN...................................................................................... $63.00 SELF ON AUDIO (2nd edition)........................................................................ $69.00 SMALL SIGNAL AUDIO DESIGN.................................................................... $88.00 SWITCH. POWER SUPPLIES A-Z (inc CD-ROM)............................................ $91.00 TV ACROSS AUSTRALIA ............SUPER SPECIAL – LAST FEW! $39.95...... $29.95 USING UBUNTU LINUX.................................................................................. $27.00 P&P RATES: Many PCBs and panels, along with some pre-programmed microprocessors and microcontrollers are now available direct from SILICON CHIP. See the separate page listing those currently available on page 100. To eMAIL (24/7) Place silicon<at>siliconchip.com.au Your with order & credit card details Order: 92  Silicon Chip AC MACHINES................................................................................................ $66.00 Subscriptions, back issues and project reprints: P&P included Binders (available Australia only): $10.00 per order; for 5 or more P&P is free. Books: Aust. $10 per order; NZ: $AU12 per book; Elsewhere $AU18 per book OR PAYPAL (24/7) OR Use PayPal to pay silicon<at>siliconchip.com.au PHONE – (9-5, Mon-Fri) Call (02) 9939 3295 with your credit card details OR MAIL This form to PO Box 139, Collaroy NSW 2097 www.siliconchip.com.au *ALL ITEMS SUBJECT TO AVAILABILITY. PRICES VALID FOR MONTH OF MAGAZINE ISSUE ONLY. ALL PRICES IN AUSTRALIAN DOLLARS AND INCLUDE GST WHERE APPLICABLE. 3/04 MARKET CENTRE Cash in your surplus gear. Advertise it here in Silicon Chip. CLASSIFIED ADVERTISING RATES Advertising rates for this page: Classified ads: $20.00 (incl. GST) for up to 20 words plus 66 cents for each additional word. Display ads: $33.00 (incl. GST) per column centimetre (max. 10cm). Closing date: five weeks prior to month of sale. To run your classified ad, print it clearly in the space below or on a separate sheet of paper, fill out the form & send it with your cheque or credit card details to: Silicon Chip Classifieds, PO Box 139, Collaroy, NSW 2097. Alternatively, fax the details to (02) 9979 6503 or send an email to silchip<at>siliconchip.com.au Taxation Invoice ABN 49 003 205 490 _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ _____________ Enclosed is my cheque/money order for $­__________ or please debit my  Bankcard    Visa Card    Master Card Card No. Signature­­­­­­­­­­­­__________________________ Card expiry date______/______ Name _____________________________________________________ Street _____________________________________________________ Suburb/town ___________________________ Postcode______________ Phone:_____________ Fax:_____________ Email:__________________ www.siliconchip.com.au FOR SALE UNIVERSAL DEVICE PROGRAMMER: Low cost, high performance, 48-pin, works in DOS or Windows incl. NT/2000. $1364. Universal EPROM programmer $467.50. Also adaptors, (E)EPROM, PIC, 8051 programmers, EPROM simulator and eraser. Dunfield C Compilers: Everything you need to develop C and ASM software for 68HC08, 6809, 68HC11, 68HC12, 68HC16, 8051/52, 8080/85, 8086, 8096 or AVR: $198 each. Demo disk available. ImageCraft C Compilers: 32-bit Windows IDE and compiler. For AVR, 68HC­08, 68HC11, 68HC12, 68HC16. $385.00 Atmel Flash CPU Programmer: Handles the 89Cx051, 89C5x, 89Sxx in both DIP and PLCC44 and some AVR’s, most 8-pin EEPROMS. Includes socket for serial ISP cable. $220, $11 p&p. SOIC adaptors: 20 pin $132.00, 14 pin $126.50, 8 pin $121.00. Full details on web site. Credit cards accepted. GRANTRONICS PTY LTD, PO Box 275, Wentworthville 2145. (02) 9896 7150 or http://www.grantronics.com.au PCBs MADE, ONE OR MANY. Any format, hobbyists welcome. Sesame Elec­tronics (02) 9593 1025. sesame777<at>optusnet.com.au http://sesame_elec.tripod.com OSCILLOSCOPE: TEKTRONIX TDS1002, 60MHz, digital storage. Less than one year old. Never used. $1500.00 o.n.o. Contact Maurece on (02) 9580 9664. USB KITS: Stepper Motor Controller, USB PIO Interface, DTMF Transceiver, Thermometer, DDS HF Generator, Compass, 4-Channel Voltmeter, I/O Relay Card. Also available: Digital Oscilloscope, Temperature Loggers, VHF Receivers and USB Active X (and USBDOS.exe file) to control our kits from your application. www.ar.com.au/~softmark March 2004  93 New New New Mark22-SM Slimline Mini FM R/C Receiver Foam surrounds,voice coils,cones and more Original parts for Dynaudio,Tannoy and others Expert speaker repairs – 20 years experience Australian agents for products Trade welcome – email for your user ID Phone (03) 9682 2487 speakerbits.com.au Cygnus Logic Systems  Industrial High Speed Automation  Electronic System Design  Custom Software Design  Consultancy  Troubleshooting  Project Management Tel: (02) 9904 3991 Fax: (02) 9904 3993 Mob: 0402 985 574 cygnuslogic<at>iprimus.com.au • • • • • 6 Channels 10kHz frequency separation Size: 55 x 23 x 20mm Weight: 25gm Modular Construction Price: $A129.50 with crystal TAIG MACHINERY Micro Mini Lathes and Mills From $489.00 Electronics PO Box 580, Riverwood, NSW 2210. Ph/Fax (02) 9533 3517 email: youngbob<at>silvertone.com.au Website: www.silvertone.com.au Stepper motors: 200 oz in $89.00, 330 oz in $110.00 Digital verniers: 150mm $55.00, 200mm $65.00 59 Gilmore Crescent (02) 6281 5660 Garran ACT 2605 0412269707 Need prototype PC boards? We have the solutions – we print electronics! Four-day turnaround, less if urgent; Artwork from your own positive or file; Through hole plating; Prompt postal service; 29 years technical experience; Inexpensive; Superb quality. For more details: www.acetronics.com.au Phone (02) 9600 6832 email: acetronics<at>acetronics.com.au Fax: (03) 9561 5529 Call Mike Lynch and check us out! We are the best for low cost, small runs. Circuit Ideas Wanted Do you have a good circuit idea? If so, sketch it out, write a brief description of its operation & send it to us. Provided your idea is workable & original, we’ll publish it in Circuit Notebook & you’ll make some money. We pay up to $60 for a good circuit so send your idea to: Silicon Chip Publications, PO Box 139, Collaroy, NSW 2097. WEATHER STATIONS: Windspeed & direction, inside temperature, outside temperature & windchill. Records highs & lows with time and date as they occur. Optional rainfall and PC interface. Used by Government Departments, farmers, pilots, and weather enthusiasts. Other models with barometric pressure, humidity, dew point, solar radiation, UV, leaf wetness, etc. Just phone, fax or write for our FREE catalogue and price list. Eco Watch phone: (03) 9761 7040; 94  Silicon Chip AV-COMM P/L, 24/9 Powells Rd, Brookvale, NSW 2100. Tel: 02 9939 4377 or 9939 4378. Fax: 9939 4376; www.avcomm.com.au & MADE TO ORDER PCBs Printed Electronics, 12A Aristoc Rd, Glen Waverley, Vic 3150. Phone: 1300 132 251; Satellite TV Reception International satellite TV reception in your home is now affordable. Send for your free info pack containing equipment catalog, satellite lists, etc or call for appointment to view. We can display all satellites from 76.5° to 180°. fax: (03) 9761 7050; Unit 5, 17 Southfork Drive, Kilsyth, Vic. 3137. ABN 63 006 399 480. S-Video . . . Video . . . Audio . . . VGA distribution amps, splitters, standards converters, tbc’s, switchers, cables, etc, & price list: www.questronix.com.au sPlan Windows electronic schematic software and Sprint Layout Windows PCB layout software are feature packed but low in price. Pixel Programmable Controller with 4 analog inputs, 8 digital inputs and 8 relay outputs. Can use a 28A or 28X Picaxe. Programmed in Basic or Flow chart. Labjack USB Data Acquisition Module features 8 12bit analog inputs, 20 digital I/O, 2 analog outputs and high speed counter. Free software, Labview driver and ActiveX component. DAS005 Parallel Port Data Acquisition Module features 8 12bit Analog inputs, 4 Digital I/Ps & 4 Digital O/Ps. Free windows software and source code. Dual Relay Modules suitable for TTL and Open Collector Outputs. Programmers for Atmel and PIC microcontrollers. Stepper Motor and Servo Motor controller kits. Switch Mode and Linear Power Supplies and DC-DC convertors. Full details and credit card ordering available at: www.oceancontrols. com.au ICOM IC-228A 2-Metre Transceiver $205; Marconi TF 801B/3/S Signal Generator 12MHz to 485MHz $125; AWA CR-6B HF Receiver $65; Advance Signal Generator Type E Model 2 100kHz to 100MHz $55; Tektronix RM529 TV Waveform Monitor $45. (08) 8347 4593. KITS KITS AND MORE KITS! Check ’em out at www.ozitronics.com MEGABRIGHT LEDs! 5mm RGB LEDs $1.25 each. 4-chip (100mA) 8mm www.siliconchip.com.au Do You Eat, Breathe and Sleep Technology? Management & Sales Positions Advertising Index Acetronics....................................94 We are a rapidly growing, Australian-owned international retailer with more than 30 stores in Australia and we have a growing expansion program to open many more, so we need dedicated individuals to join our team to help achieve our goals. If you are customer focused, have an eye for detail, empathy for the products we sell and have recently completed a TAFE of University degree in electronics, we want to meet you. Career opportunities with full training are available now if you have the drive and ambition to make your future with Jaycar. We offer a competitive salary, sales commission and many other benefits. To apply for these positions please send your C.V. indicating the role you are interested in to the address shown below. Altronics.......................................23 Jaycar Electronics is an equal opportunity employer and actively promotes staff from within the organisation. Eco Watch....................................94 Retail Operations Manager Jaycar Electronics Pty. Ltd. P.O. Box 6424 Silverwater NSW 1811 Fax: (02) 9741-8500 Email: jobs<at>jaycar.com.au ATA...............................................81 Av-Comm.....................................94 Bitscope.......................................57 Carba-Tec Tools...........................95 Cygnus Logic Systems.................94 Dick Smith Electronics........... 30-33 Elan Audio....................................41 Evatco..........................................85 Gadget Central...........................IFC Building speaker boxes? Mounting electrical components onto solid timber? You may need the Carba–tecTOOLS FOR WOOD catalogue!! We have Australia’s largest range of woodworking handtools & machinery. Please contact us for your FREE 220 page colour catalogue or come in & see us at: 32 PERCY ST, AUBURN 2144 9649 5077 www.carbatec.com.au megabright LEDs from $1.20 each. 5mm superbright white and blue LEDs from 60 cents each. CR123A lithium batteries $4 each. www.ledsales.com.au RCS RADIO/DESIGN is at 41 Arlewis St, Chester Hill 2162, NSW Australia, and has all the published PC boards from SC, EA, ETI, HE & AEM NOW AVAILABLE FROM and others. Tel (02) 9738 0330. sales<at>rcsradio.com.au, www.rcsradio.com.au Grantronics...................................93 KIT ASSEMBLY Instant PCBs................................95 NEVILLE WALKER KIT ASSEMBLY & REPAIR: • Australia wide service • Small production runs • Specialist “one-off” applications Phone Neville Walker (07) 3857 2752 Email: flashdog<at>optusnet.com.au Jaycar .......................... 43-54,57,95 WANTED Newtek Sales...............................15 EARLY HIFI’S, AMPLIFIERS, Speakers, Turntables, Valves, Books, Quad, Leak, Pye, Lowther, Ortofon, SME, Western Electric, Altec, Marantz, McIntosh, Goodmans, Wharfedale, Tannoy, radio and wireless. Collector/Hobbyist will pay cash. (02) 9440 1267. johnmurt<at>highprofile.com.au Harbuch Electronics.....................55 Hy-Q International........................57 Jackson Bros................................94 JED Microprocessors................5,57 Kalex............................................85 Microgram Computers....................3 MicroZed Computers....................21 National Instruments..... loose insert Oatley Electronics........................65 Ozitronics.....................................41 Prime Electronics.........................29 Printed Electronics.......................94 Quest Electronics....................55,94 RCS Radio...................................95 RF Probes....................................85 Silicon Chip Binders................15,87 Silicon Chip Bookshop..........96,IBC SC Car Projects Book.........63,OBC Silicon Chip Subscriptions...........92 SC Electronics Testbench............42 www.siliconchip.com.au Silvertone Electronics..................94 Soundlabs Group.........................57 Speakerbits..................................94 Taig Machinery.............................94 Project Reprints – Limited Back Issues –Limited One-Shots If you’re looking for a project from ELECTRONICS AUSTRALIA, you’ll find it at SILICON CHIP! We can now offer reprints of all projects which have appeared in Electronics Australia, EAT, Electronics Today, ETI or Radio, TV & Hobbies. First search the EA website indexes for the project you want and then call, fax or email us with the details and your credit card details. Reprint cost is $8.80 per article (ie, 2-part projects cost $17.60). SILICON CHIP subscribers receive a 10% discount. We also have limited numbers of EA back issues and special publications. Call for details! visit www.siliconchip.com.au or www.electronicsaustralia.com.au www.siliconchip.com.au Telelink Communications.............57 ____________________________ PC Boards Printed circuit boards for SILICON CHIP projects are made by: RCS Radio Pty Ltd. Phone (02) 9738 0330. Fax (02) 9738 0334. March 2004  95 ALL S ILICON C HIP SUBSCRIBERS – PRINT, OR BOTH – AUTOMATICALLY QUALIFY FOR A REFERENCE $ave 10%ONLINE DISCOUNT ON ALL BOOK OR PARTSHOP PURCHASES. CHIP BOOKSHOP 10% (Does not apply to subscriptions) SILICON For the latest titles and information, please refer to our website books page: www.siliconchip.com.au/Shop/Books PIC MICROCONTROLLERS: know it all SELF ON AUDIO Multiple authors $85.00 The best of subjects Newnes authors have written over the past few years, combined in a one-stop maxi reference. Covers introduction to PICs and their programming in Assembly, PICBASIC, MBASIC & C. 900+ pages. PROGRAMMING and CUSTOMIZING THE PICAXE By David Lincoln (2nd Ed, 2011) $65.00* A great aid when wrestling with applications for the PICAXE See series of microcontrollers, at beginner, intermediate and Review April advanced levels. Every electronics class, school and library should have a copy, along with anyone who works with PICAXEs. 300 pages in paperback. 2011 PIC IN PRACTICE by D W Smith. 2nd Edition - published 2006 $60.00* by Douglas Self 2nd Edition 2006 $69.00* A collection of 35 classic magazine articles offering a dependable methodology for designing audio power amplifiers to improve performance at every point without significantly increasing cost. Includes compressors/limiters, hybrid bipolar/FET amps, electronic switching and more. 467 pages in paperback. SMALL SIGNAL AUDIO DESIGN By Douglas Self – First Edition 2010 $95.00* The latest from the Guru of audio. Explains audio concepts in easy-to-understand language with plenty of examples and reasoning. Inspiration for audio designers, superb background for audio enthusiasts and especially where it comes to component peculiarities and limitations. Expensive? Yes. Value for money? YES! Highly recommended. 558 pages in paperback. Based on popular short courses on the PIC, for professionals, students and teachers. Can be used at a variety of levels. An ideal introduction to the world of microcontrollers. 255 pages in paperback. PIC MICROCONTROLLER – your personal introductory course By John Morton 3rd edition 2005. $60.00* A unique and practical guide to getting up and running with the PIC. It assumes no knowledge of microcontrollers – ideal introduction for students, teachers, technicians and electronics enthusiasts. Revised 3rd edition focuses entirely on re-programmable flash PICs such as 16F54, 16F84 12F508 and 12F675. 226 pages in paperback. AUDIO POWER AMPLIFIER DESIGN HANDBOOK by Douglas Self – 5th Edition 2009 $85.00* "The Bible" on audio power amplifiers. Many revisions and updates to the previous edition and now has an extra three chapters covering Class XD, Power Amp Input Systems and Input Processing and Auxiliarly Subsystems. Not cheap and not a book for the beginner but if you want the best reference on Audio Power Amps, you want this one! 463 pages in paperback. DVD PLAYERS AND DRIVES by K.F. Ibrahim. Published 2003. $71.00* OP AMPS FOR EVERYONE By Bruce Carter – 4th Edition 2013 $83.00* This is the bible for anyone designing op amp circuits and you don't have to be an engineer to get the most out of it. It is written in simple language but gives lots of in-depth info, bridging the gap between the theoretical and the practical. 281 pages, A guide to DVD technology and applications, with particular focus on design issues and pitfalls, maintenance and repair. Ideal for engineers, technicians, students of consumer electronics and sales and installation staff. 319 pages in paperback. by Sanjaya Maniktala, Published April 2012. $83.00 Thoroughly revised! The most comprehensive study available of theoretical and practical aspects of controlling and measuring EMI in switching power supplies. Subtitled Exploring the PIC32, a Microchip insider tells all on this powerful PIC! Focuses on examples and exercises that show how to solve common, real-world design problems quickly. Includes handy checklists. FREE CD-ROM includes source code in C, the Microchip C30 compiler, and MPLAB SIM. 400 pages paperback. By Garry Cratt – Latest (7th) Edition 2008 $49.00 Written in Australia, for Australian conditions by one of Australia's foremost satellite TV experts. If there is anything you wanted to know about setting up a satellite TV system, (including what you can't do!) it's sure to be covered in this 176-page paperback book. See Review Feb 2004 SWITCHING POWER SUPPLIES A-Z PROGRAMMING 32-bit MICROCONTROLLERS IN C By Luci di Jasio (2008) $79.00* PRACTICAL GUIDE TO SATELLITE TV See Review March 2010 ELECTRIC MOTORS AND DRIVES By Austin Hughes & Bill Drury - 4th edition 2013 $59.00* This is a very easy to read book with very little mathematics or formulas. It covers the basics of all the main motor types, DC permanent magnet and wound field, AC induction and steppers and gives a very good description of how speed control circuits work with these motors. Soft covers, 444 pages. NEWNES GUIDE TO TV & VIDEO TECHNOLOGY By KF Ibrahim 4th Edition (Published 2007) $49.00 It's back! Provides a full and comprehensive coverage of video and television technology including HDTV and DVD. Starts with fundamentals so is ideal for students but covers in-depth technologies such as Blu-ray, DLP, Digital TV, etc so is also perfect for engineers. 600+ pages in paperback. RF CIRCUIT DESIGN by Chris Bowick, Second Edition, 2008. $63.00* The classic RF circuit design book. RF circuit design is now more important that ever in the wireless world. In most of the wireless devices that we use there is an RF component – this book tells how to design and integrate in a very practical fashion. 244 pages in paperback. AC MACHINES By Jim Lowe Published 2006 $66.00* Applicable to Australian trades-level courses including NE10 AC Machines, NE12 Synchronous Machines and the AC part of NE30 Electric Motor Control and Protection. Covering polyphase induction motors, singlephase motors, synchronous machines and polyphase motor starting. 160 pages in paperback. PRACTICAL VARIABLE SPEED DRIVES & POWER ELECTRONICS Se e by Malcolm Barnes. 1st Ed, Feb 2003. $73.00* Review An essential reference for engineers and anyone who wishes to design or use variable speed drives for induction motors. 286 pages in soft cover. Feb 2003 BUILD YOUR OWN ELECTRIC MOTORCYCLE PRACTICAL RF HANDBOOK by Carl Vogel. Published 2009. $40.00* by Ian Hickman. 4th edition 2007 $61.00* A guide to RF design for engineers, technicians, students and enthusiasts. Covers key topics in RF: analog design principles, transmission lines, couplers, transformers, amplifiers, oscillators, modulation, transmitters and receivers, propagation and antennas. 279 pages in paperback. Alternative fuel expert Carl Vogel gives you a hands-on guide with the latest technical information and easy-to-follow instructions for building a two-wheeled electric vehicle – from a streamlined scooter to a full-sized motorcycle. 384 pages in soft cover. *NOTE: ALL PRICES ARE PLUS P&P – AUSTRALIA ONLY: $10.00 per order; NZ – $AU12.00 PER BOOK; REST OF WORLD $AU18.00 PER BOOK To Place Your Order: INTERNET (24/7) PAYPAL (24/7) eMAIL (24/7) www.siliconchip. com.au/Shop/Books Use your PayPal account silicon<at>siliconchip.com.au silicon<at>siliconchip.com.au with order & credit card details FAX (24/7) MAIL (24/7) Your order and card details to Your order to PO Box 139 Collaroy NSW 2097 (02) 9939 2648 with all details PHONE – (9-5, Mon-Fri) Call (02) 9939 3295 with with order & credit card details You can also order and pay for books by cheque/money order (Mail Only). Make cheques payable to Silicon Chip Publications. ALL TITLES SUBJECT TO AVAILABILITY. PRICES VALID FOR MONTH OF MAGAZINE ISSUE ONLY. ALL PRICES INCLUDE GST ALL S ILICON C HIP SUBSCRIBERS – PRINT, OR BOTH – AUTOMATICALLY QUALIFY FOR A REFERENCE $ave 10%ONLINE DISCOUNT ON ALL BOOK OR PARTSHOP PURCHASES. CHIP BOOKSHOP 10% (Does not apply to subscriptions) SILICON For the latest titles and information, please refer to our website books page: www.siliconchip.com.au/Shop/Books PIC MICROCONTROLLERS: know it all SELF ON AUDIO Multiple authors $85.00 The best of subjects Newnes authors have written over the past few years, combined in a one-stop maxi reference. Covers introduction to PICs and their programming in Assembly, PICBASIC, MBASIC & C. 900+ pages. PROGRAMMING and CUSTOMIZING THE PICAXE By David Lincoln (2nd Ed, 2011) $65.00* A great aid when wrestling with applications for the PICAXE See series of microcontrollers, at beginner, intermediate and Review April advanced levels. Every electronics class, school and library should have a copy, along with anyone who works with PICAXEs. 300 pages in paperback. 2011 PIC IN PRACTICE by D W Smith. 2nd Edition - published 2006 $60.00* by Douglas Self 2nd Edition 2006 $69.00* A collection of 35 classic magazine articles offering a dependable methodology for designing audio power amplifiers to improve performance at every point without significantly increasing cost. Includes compressors/limiters, hybrid bipolar/FET amps, electronic switching and more. 467 pages in paperback. SMALL SIGNAL AUDIO DESIGN By Douglas Self – First Edition 2010 $95.00* The latest from the Guru of audio. Explains audio concepts in easy-to-understand language with plenty of examples and reasoning. Inspiration for audio designers, superb background for audio enthusiasts and especially where it comes to component peculiarities and limitations. Expensive? Yes. Value for money? YES! Highly recommended. 558 pages in paperback. Based on popular short courses on the PIC, for professionals, students and teachers. Can be used at a variety of levels. An ideal introduction to the world of microcontrollers. 255 pages in paperback. PIC MICROCONTROLLER – your personal introductory course By John Morton 3rd edition 2005. $60.00* A unique and practical guide to getting up and running with the PIC. It assumes no knowledge of microcontrollers – ideal introduction for students, teachers, technicians and electronics enthusiasts. Revised 3rd edition focuses entirely on re-programmable flash PICs such as 16F54, 16F84 12F508 and 12F675. 226 pages in paperback. AUDIO POWER AMPLIFIER DESIGN HANDBOOK by Douglas Self – 5th Edition 2009 $85.00* "The Bible" on audio power amplifiers. Many revisions and updates to the previous edition and now has an extra three chapters covering Class XD, Power Amp Input Systems and Input Processing and Auxiliarly Subsystems. Not cheap and not a book for the beginner but if you want the best reference on Audio Power Amps, you want this one! 463 pages in paperback. DVD PLAYERS AND DRIVES by K.F. Ibrahim. Published 2003. $71.00* OP AMPS FOR EVERYONE By Bruce Carter – 4th Edition 2013 $83.00* This is the bible for anyone designing op amp circuits and you don't have to be an engineer to get the most out of it. It is written in simple language but gives lots of in-depth info, bridging the gap between the theoretical and the practical. 281 pages, A guide to DVD technology and applications, with particular focus on design issues and pitfalls, maintenance and repair. Ideal for engineers, technicians, students of consumer electronics and sales and installation staff. 319 pages in paperback. by Sanjaya Maniktala, Published April 2012. $83.00 Thoroughly revised! The most comprehensive study available of theoretical and practical aspects of controlling and measuring EMI in switching power supplies. Subtitled Exploring the PIC32, a Microchip insider tells all on this powerful PIC! Focuses on examples and exercises that show how to solve common, real-world design problems quickly. Includes handy checklists. FREE CD-ROM includes source code in C, the Microchip C30 compiler, and MPLAB SIM. 400 pages paperback. By Garry Cratt – Latest (7th) Edition 2008 $49.00 Written in Australia, for Australian conditions by one of Australia's foremost satellite TV experts. If there is anything you wanted to know about setting up a satellite TV system, (including what you can't do!) it's sure to be covered in this 176-page paperback book. See Review Feb 2004 SWITCHING POWER SUPPLIES A-Z PROGRAMMING 32-bit MICROCONTROLLERS IN C By Luci di Jasio (2008) $79.00* PRACTICAL GUIDE TO SATELLITE TV See Review March 2010 ELECTRIC MOTORS AND DRIVES By Austin Hughes & Bill Drury - 4th edition 2013 $59.00* This is a very easy to read book with very little mathematics or formulas. It covers the basics of all the main motor types, DC permanent magnet and wound field, AC induction and steppers and gives a very good description of how speed control circuits work with these motors. Soft covers, 444 pages. NEWNES GUIDE TO TV & VIDEO TECHNOLOGY By KF Ibrahim 4th Edition (Published 2007) $49.00 It's back! Provides a full and comprehensive coverage of video and television technology including HDTV and DVD. Starts with fundamentals so is ideal for students but covers in-depth technologies such as Blu-ray, DLP, Digital TV, etc so is also perfect for engineers. 600+ pages in paperback. RF CIRCUIT DESIGN by Chris Bowick, Second Edition, 2008. $63.00* The classic RF circuit design book. RF circuit design is now more important that ever in the wireless world. In most of the wireless devices that we use there is an RF component – this book tells how to design and integrate in a very practical fashion. 244 pages in paperback. AC MACHINES By Jim Lowe Published 2006 $66.00* Applicable to Australian trades-level courses including NE10 AC Machines, NE12 Synchronous Machines and the AC part of NE30 Electric Motor Control and Protection. Covering polyphase induction motors, singlephase motors, synchronous machines and polyphase motor starting. 160 pages in paperback. PRACTICAL VARIABLE SPEED DRIVES & POWER ELECTRONICS Se e by Malcolm Barnes. 1st Ed, Feb 2003. $73.00* Review An essential reference for engineers and anyone who wishes to design or use variable speed drives for induction motors. 286 pages in soft cover. Feb 2003 BUILD YOUR OWN ELECTRIC MOTORCYCLE PRACTICAL RF HANDBOOK by Carl Vogel. Published 2009. $40.00* by Ian Hickman. 4th edition 2007 $61.00* A guide to RF design for engineers, technicians, students and enthusiasts. Covers key topics in RF: analog design principles, transmission lines, couplers, transformers, amplifiers, oscillators, modulation, transmitters and receivers, propagation and antennas. 279 pages in paperback. Alternative fuel expert Carl Vogel gives you a hands-on guide with the latest technical information and easy-to-follow instructions for building a two-wheeled electric vehicle – from a streamlined scooter to a full-sized motorcycle. 384 pages in soft cover. *NOTE: ALL PRICES ARE PLUS P&P – AUSTRALIA ONLY: $10.00 per order; NZ – $AU12.00 PER BOOK; REST OF WORLD $AU18.00 PER BOOK To Place Your Order: INTERNET (24/7) PAYPAL (24/7) eMAIL (24/7) www.siliconchip. com.au/Shop/Books Use your PayPal account silicon<at>siliconchip.com.au silicon<at>siliconchip.com.au with order & credit card details FAX (24/7) MAIL (24/7) Your order and card details to Your order to PO Box 139 Collaroy NSW 2097 (02) 9939 2648 with all details PHONE – (9-5, Mon-Fri) Call (02) 9939 3295 with with order & credit card details You can also order and pay for books by cheque/money order (Mail Only). Make cheques payable to Silicon Chip Publications. ALL TITLES SUBJECT TO AVAILABILITY. PRICES VALID FOR MONTH OF MAGAZINE ISSUE ONLY. ALL PRICES INCLUDE GST