Silicon ChipOctober 2011 - Silicon Chip Online SILICON CHIP
  1. Outer Front Cover
  2. Contents
  3. Publisher's Letter: DAB+ radio broadcasting has a long way to go
  4. Project: Let’s Get Quizzical: A Quiz Game With A Difference by John Clarke
  5. Project: Digital LED Lighting Controller For Christmas Lights by Nicholas Vinen
  6. Project: Build A Loudspeaker Protector by Silicon Chip
  7. Project: Measuring Audio Gear Without Spending Big Dollars by Jim Rowe
  8. Project: The USB MIDI-Mate: A MIDI Interface For PCs by Jim Rowe
  9. Review: CadSoft EAGLE PCB Layout Software by Nicholas Vinen
  10. Project: High-Performance Stereo Headphone Amplifier, Pt.2 by Nicholas Vinen
  11. Book Store
  12. Vintage Radio: A look at the Radiola Model 573-MA Receiver by Maurie Findlay
  13. Market Centre
  14. Advertising Index
  15. Outer Back Cover

This is only a preview of the October 2011 issue of Silicon Chip.

You can view 28 of the 104 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 "Let’s Get Quizzical: A Quiz Game With A Difference":
  • Quizzical Quiz Game PCB [08110111] (AUD $25.00)
  • PIC16F88-I/P programmed for the Quizzical [0811011A.HEX] (Programmed Microcontroller, AUD $15.00)
  • Firmware (ASM and HEX) files for the Quizzical! project [0811011A] (Software, Free)
  • Quizzical Quiz Game PCB pattern (PDF download) [08110112] (Free)
  • Quizzical! Quiz Game front panel artwork (PDF download) (Free)
Items relevant to "Digital LED Lighting Controller For Christmas Lights":
  • Digital Lighting Controller LED Slave PCB [16110111] (AUD $20.00)
  • Digital Lighting Controller LED Slave PCB pattern (PDF download) [16110111] (Free)
Items relevant to "Build A Loudspeaker Protector":
  • Speaker Protection and Muting Module PCB [01207071] (AUD $17.50)
  • Speaker Protector and Muting Module PCB pattern (PDF download) [01207071] (Free)
Items relevant to "The USB MIDI-Mate: A MIDI Interface For PCs":
  • USB MIDI-Mate PCB [23110111] (AUD $15.00)
  • PIC18F14K50-I/P programmed for USB MIDI-Mate [2311011C.HEX] (Programmed Microcontroller, AUD $15.00)
  • Firmware (HEX and C source code) files for the USB MIDI-Mate project [2311011C] (Software, Free)
  • USB MIDI-Mate PCB pattern (PDF download) [23110111] (Free)
  • USB MIDI-Mate panel artwork and drilling templates (PDF download) (Free)
Items relevant to "High-Performance Stereo Headphone Amplifier, Pt.2":
  • Hifi Stereo Headphone Amplifier PCB [01309111] (AUD $17.50)
  • Red & White PCB-mounting RCA sockets (Component, AUD $4.00)
  • Hifi Stereo Headphone Amplifier PCB pattern (PDF download) [01309111] (Free)
  • Hifi Stereo Headphone Amplifier front & rear panel artwork (PDF download) (Free)
Articles in this series:
  • High-Performance Stereo Headphone Amplifier, Pt.1 (September 2011)
  • High-Performance Stereo Headphone Amplifier, Pt.1 (September 2011)
  • High-Performance Stereo Headphone Amplifier, Pt.2 (October 2011)
  • High-Performance Stereo Headphone Amplifier, Pt.2 (October 2011)

Purchase a printed copy of this issue for $10.00.

siliconchip.com.au October 2011  1 Chec Flyer in k our 8 pag e side fo r CLEA Mass NEW p RANCE items ive rod & October 2011 uct arr ivals!! 4 COLOUR LIGHT CHASER Features a built in sound modulator which flashes the lights in tune with the beat. It uses 240V 60W ES reflector lamps and is supplied with a red, yellow, green and blue globe. The four globes are switched on and off sequentially. Mains powered and housed in a strong metal case. Includes mounting bracket and 800mm mains lead. • Dimensions: 435(W) x 105(H) x 185(D)mm SL-2942 Spare globes available separately Orange SL-2953 $9.95 Purple SL-2954 $9.95 Red SL-2955 $9.95 Green SL-2956 $9.95 Blue SL-2957 $9.95 Yellow SL-2958 $9.95 79 $ Create instant, continuous bubbles with this affordable bubble machine! Easy to use on/off switch on the unit and can be operated by mains power adaptor (included) or with batteries for portable application. ROTATING DISCO BALL WITH LED SPOTLIGHTS Features an automatic rotating mirror ball, two adjustable angle spotlights with 6 LEDs in each which alternate between red, green, and blue. It also has an additional 4 LEDs on the base for maximum effect. Mains power adaptor included. • Dimensions: 260(L) x 130(W) x 230(H)mm SL-2916 • Requires 2 x C batteries • Approx 280mm long AB-1220 Liven up your next party with this professional lighting set. Kit contains a 200mm (8”) mirror ball with a 240VAC 1 RPM motor to run it, pinspot light and stand, PAR 36 bulb and 4 different coloured pinspot covers (red, amber, green and blue). Easy to operate. SL-2978 PARTY DEAL 12" Party Speaker 249 • 1 x 12 inch woofer • 1 x wide dispersion piezo horn • Weight: 16kg • Dimensions: 620(H) x 400(W) x 330(D)mm CS-2514 Versatile rack mount amplifier that suits a variety of applications, including running two $ 12" speakers shown above. Has 1/4" jack inputs and balanced XLR. Also features solid aluminium chassis and front level controls. Cost-effective solution for a pro audio application. 299 • Power output: 2 x 200WRMS <at> 4ohms, 1 x 400WRMS bridged <at> 8 ohms • Dimensions: 480(W) x 90(H) x 247(D)mm AA-0479 To order call 00 Produces over 100 green patterns with sound activation or DMX master/slave control. Light weight and portable at only 1.5kg. Ideal for bars, clubs, house parties or family functions. 19" Rack Mount DMX Controller 84 95 $ This unit has a direct encoding feature which directly converts LPs into MP3 files onto a USB memory stick. Comes with silky 00 $ smooth tonearm lift with integrated damper SAVE $20 which provides precise, almost silent track engagement. The turntable is fitted with own pre-amplifier and provides both a direct phono output and an equalised line level output. 229 Dual Channel / Bridged 400W Rack Mount Amplifier Green DMX Laser Show 179 DJ TURNTABLE WITH DIRECT USB DRIVE ENCODING DEAL - Buy 2 CS-2514 & 1 xx AA-0479 for $700 SAVE $9 7 DMX PARTY LIGHTS • Sound and power active indicator • Safety function / Sensitivity 00 $ adjustment • Stand alone / master slave $ SAVE 20 operation • Mains powered • Dimensions: 205(L) x 80(W) x 145(H) mm SL-3436 WAS $199.00 PARTY LIGHT SET 39 95 This speaker can 00 handle a massive $ 200WRMS and is an excellent addition to any entertainment equipment range. It provides good performance in locations such as backyards, tents, party rooms or halls etc. Moulded from high impact resin and the main driver is protected by a tough metal grille. 34 95 $ For best result, use our Bubble liquid (946ml) AB-1222 $6.95 $ An economical wireless VHF microphone system with enhanced signal reception. Ideal for performers on the go, churches, halls etc. Includes 2 microphones, 1 wireless receiver, and plugpack. Each microphone requires 1 x 9V battery (not included). 00 $ • High-precision quartz crystal $20 SAVE locked frequency • Power and low battery LEDs • 12 hour battery life • Up to 80m range • Dimension:195(L) x 145(W) x 42(H)mm AM-4071 WAS $99.00 Lapel Mic Channel A AM-4057 $29.95 Lapel Mic Channel B AM-4059 $29.95 79 BUBBLE MACHINE 95 ! ECONOMY VHF WIRELESS MICROPHONE SYSTEM • 2 speed belt drive turntable FREE SPARE • 33 1/3 and 45 RPM (AA- 0496) VANEEDLE • Anti-skating control LU $39.95 WITH ED AT EVER • Motor off and PURCHASE Y reverse function • RCA Phono/line output • Dimensions: 449(W) x 145(H) x 370(D)mm AA-0494 WAS $249.00 Spare needle sold separately AA-0496 $39.95 All Savings are based on Original RRP 1800 022 888 www.jaycar.com.au Prices valid from 24/09/2011 to 23/10/2011. Limited stock on sale items. No rainchecks. Prices valid from 24/07/2011 to 23/08/2011. Limited stock on sale items. No rainchecks. Control multiple DMX devices, such as lights, dimmers, fog machines or laser shows with pre-programmed scenes such as fade, pan, strobe, colour etc. Rack-mountable and mains powered. Visit our website for more information and programming tips. • Control up to 12 devices 00 $ • 16 channels per device • Standard 19" rack mount $ SAVE 40 • 3U rack space • 9V plugpack included • Dimensions: 482(W) x 133(H) x 70(D)mm SL-3429 WAS $149.00 109 4 Channel 61 LED DMX Spotlight A budget lighting solution equipped with 4 channels of DMX controls. Unit features bright red, green and blue LEDs, which can produce a wide range of colour effects. Comes in a robust ABS housing with 61 RGB LEDs. • Mains powered • Dimensions: 180(L) x 170(Dia)mm SL-3420 WAS $99.00 89 00 $ SAVE $10 Contents Vol.24, No.10; October 2011 SILICON CHIP www.siliconchip.com.au Features 62 Measuring Audio Gear Without Spending Big Dollars All you need is a PC, a decent sound card (or a USB sound interface), plus an appropriate software package – by Jim Rowe 80 Review: CadSoft EAGLE PCB Layout Software Need to upgrade from Protel Autotrax or Easytrax? CadSoft EAGLE could be the answer and there’s even a free version called EAGLE Light to get you started – by Nicholas Vinen Projects To Build Quizzical: A Quiz Game With A Difference – Page 12. 12. 12 Let’s Get Quizzical: A Quiz Game With A Difference No more boring bells and whistles. This project not only judges the winner but you can have infinite sounds for infinite fun and games – by John Clarke 24 Digital LED Lighting Controller For Christmas Lights Have you thought about controlling lots of LED lights in time to music? This easy-to-build slave unit mates with the master unit described in OctoberDecember 2010 to give an eye-catching display – by Nicholas Vinen 34 Build A Loudspeaker Protector A fault in an amplifier module could set fire to a loudspeaker which could quickly spread to your house. Don’t let it happen to you. This simple circuit disconnects the loudspeaker if an amplifier fault occurs Digital LED Lighting Controller For Christmas Lights – Page 24. 72 The USB MIDI-Mate: A MIDI Interface For PCs Use your PC to link up MIDI synthesisers, keyboards and various instruments. This USB-MIDI interface provides the hardware interface – by Jim Rowe 86 High-Performance Stereo Headphone Amplifier, Pt.2 Second article has all the assembly, testing and adjustment details – by Nicholas Vinen Special Columns 44 Circuit Notebook (1) Substitute For AC Motor Reversing Switch; (2) Simple Lithium-Ion Battery Charger; (3) Timing Laser For Small 2-Stroke Motors; (4) Additional Features For The Digital Inclinometer; (5) AC Source For Testing Pool Salt Concentrat­ ion; (6) Prototyping Board For PICAXE Microcontrollers; (7) Mains Timer Has No Stand-by Power Build A Loudspeaker Protector – Page 34. 57 Serviceman’s Log There’s lots of ways to kill a laptop – by the Serviceman 94 Vintage Radio A look at the Radiola Model 573-MA Receiver – by Maurie Findlay Departments   2   4 42 85 Publisher’s Letter Mailbag Product Showcase Order Form siliconchip.com.au 99 Ask Silicon Chip 102 Coming Next Month 103 Market Centre USB MIDI-Mate: A MIDI Interface For PCs – Page 72. October 2011  1 SILICON SILIC CHIP www.siliconchip.com.au Publisher & Editor-in-Chief Leo Simpson, B.Bus., FAICD Production Manager Greg Swain, B.Sc. (Hons.) Technical Editor John Clarke, B.E.(Elec.) Technical Staff Ross Tester Jim Rowe, B.A., B.Sc Nicholas Vinen Photography Ross Tester Reader Services Ann Morris Advertising Enquiries Glyn Smith Phone (02) 9939 3295 Mobile 0431 792 293 glyn<at>siliconchip.com.au Regular Contributors Brendan Akhurst Rodney Champness, VK3UG Kevin Poulter Stan Swan Dave Thompson 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 is 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: $97.50 per year in Australia. For overseas rates, see the order form in this issue. Editorial office: Unit 1, 234 Harbord Rd, Brookvale, NSW 2100. Postal address: PO Box 139, Collaroy Beach, NSW 2097. Phone (02) 9939 3295. Fax (02) 9939 2648. E-mail: silicon<at>siliconchip.com.au ISSN 1030-2662 Publisher’s Letter DAB+ radio broadcasting has a long way to go This month, we have a couple of letters discussing DAB+ and the main one is from Joan Warner, CEO of Commercial Radio Australia, promoting the cause of DAB+ against those who would argue that it has been a disappointment. From my point of view, DAB+ is a disappointment because its sound quality is usually nowhere near as good as it can be. This topic has been raised in our Mailbag pages several times since the introduction of DAB+ and nothing has changed to cause a reassessment of that view. The basic problem is that most broadcasters have elected to use too low a data bit rate and therefore audio quality is severely compromised. While this may be of no real consequence for stations that are mainly talkback and sports-oriented, it is pretty poor for stations that mainly broadcast music, whether it is classical, rock, country & western or whatever. Perhaps the worst example is the DAB+ station ABC Classic which broadcasts the same program as ABC Classic FM. Sadly, the sound quality from the FM stereo broadcasts is clearly superior to that from DAB+. This is a pretty poor effort from the national broadcaster. Furthermore, as bad as it is, sound quality is not the main issue. DAB+ can be an advance for listeners in areas of reasonable signal strength where existing reception from AM or FM broadcasts is noisy and subject to interference. AM radio seems to be particularly subject to interference from digital services such as ADSL and pay TV where there are above-ground cables present and DAB+ can be a revelation by comparison. The fact that there are many extra stations available to listen to is a bonus. But DAB+ reception in cars or in the canyon-like streets of major cities is a major problem. Whereas FM may be subject to multi-path distortion or rapid variations in signal strength which can make reception quite noisy, DAB+ just drops out completely. One moment you have clear reception and the next you have nothing or maybe words or parts of words sputtering on and off. In this situation, you just switch off in disgust – or go back to FM, if you can. Of course, DAB+ radios normally do not even give you the option of listening to AM! So DAB+ signal strength in many metropolitan locations is simply not good enough to generate good car radio sales in the future. Commercial Radio Australia may not be happy about that statement but it would difficult to argue against it. There is also a further impediment to acceptance of DAB+ in cars and that is that sound equipment in cars made over the last five years or more is so closely integrated that it is difficult, if not impossible, to upgrade to an aftermarket system, whether it is DAB+ or not. And if car manufacturers are aware of the poor reception of DAB+, why should they make any effort to change? We have another reason to be critical of DAB+. We put a great deal of development work into the DAB+ tuner that we featured in the issues from OctoberDecember 2010 and which has been made available as a kit by Jaycar Electronics. That design potentially delivers the best sound quality that you can get from any DAB+ signal. If we had known that music stations would generally select such poor data bit rates, we would probably not have committed to all that design work which was a major investment on our part. Other organisations who have developed good-quality DAB+ products must feel exactly the same. Leo Simpson Recommended and maximum price only. 2  Silicon Chip siliconchip.com.au siliconchip.com.au October 2011  3 MAILBAG Letters and emails should contain complete name, address and daytime phone number. Letters to the Editor are submitted on the condition that Silicon Chip Publications Pty Ltd may edit and has the right to reproduce in electronic form and communicate these letters. This also applies to submissions to “Ask SILICON CHIP” and “Circuit Notebook”. FutureWave Energy Saver gave a major project saving I would like to offer a comment on the suggestion of using the MEMS accelerometer for measuring “aircraft bank”, raised by Pete Mundy in the Mailbag pages of the September 2011 issue. Some years ago, I was working on the Flightship ground-effect vehicle project in Cairns and we were trying to find a cost-effective solution to measure what we termed “pitch and roll”. MEMS accelerometers were a bit new then but we thought it was worth a try. At its cruising speed of around 75 knots we found that when making a turn, the craft would roll to about 15°. At this angle, as far as the accelerometer was concerned, it was still perfectly level and if it was not for seeing the horizon the occupants thought so too. So how did we determine we were in fact at 15°? We spent $10,000 on a vertical gyro, which at that time was the only thing that could deal with the problem. I would also like to comment on the Future Wave Energy Saver. We recently finished installing a large hydroponics system in a building on the Sunshine Coast. It features 22kW of LED lighting, which is another story, but it also used a pair of large pool pumps running in tandem to circulate nutrient. The problem was that one New antenna gives long-distance reception of DAB+ Just recently, I had my TV antenna upgraded, because of deteriorating reception of Brisbane-based digital TV channels. The result was not just a huge improvement in TV reception but also the SILICON CHIP/ Jaycar DAB+/FM radio’s reception improved from only three FM stations (with noise) and no digital radio stations at all, to 30 FM stations (limited to 18 on STRONG scan) and 42 DAB+ stations! 4  Silicon Chip pump was a bit small and two was too much and caused considerable cavitation. I happened to read the FutureWave review in the June 2011 issue of SILICON CHIP a couple of weeks earlier and the project owner contacted them. They had the prototype dual-pump version on hand and attended the site to make a temporary connection for evaluation. A couple of small adjustments and the pumps worked perfectly and we were even saving about 30% of the running cost. The normal cure would have been to install a large 3-phase pump and a VSD, so FutureWave saved us far more than the cost of their product. Gary Smith, Montrose, Tas. DAB+ is not the same as DAB in the UK I am writing regarding the Mailbag letter from Kevin Poulter, Dingley, Vic in the September 2011 issue of SILICON CHIP, featured and highlighted with the heading “Digital radio – the future or just a pipe dream?” It’s hard to know where to start with so much misinformation in one letter. Let me try and correct the glaring errors. Firstly, attempting to link digital radio research in the UK with what is happening with digital radio in Australia is misguided. Digital radio Sunshine Antenna Service are as chuffed as I am. There are no digital radio stations on the Sunshine Coast as yet (and none planned) and the Brisbane stations are about 100km distant. But apparently a good VHF/ UHF or VHF-only antenna has been found to produce good results in a surprising number of locations around our area. The SILICON CHIP DAB+ receiver is a beauty! I used an internally mounted 20VA 9V+9V toroidal transformer, placed a 0.5Ω 5W resis- in the UK uses the less spectrum efficient DAB standard, has no slide show capability, is based on a completely different business model, and has only in the last two years implemented an all of industry approach to awareness and marketing. Mr Poulter writes, “Commercial Radio Australia is claiming that over 500,000 digital radios have been sold since the service was launched two years ago”. Commercial Radio Australia (CRA) is not claiming it, digital radio sales are compiled in the GFK Marketscope report where data is collected directly from retailers. The actual number of digital radios is in fact even higher, as the GFK figure doesn’t include all categories, all retailers or all online sales. There is no switch-off date of analogue AM and FM radio services in Australia. Mr Poulter is wrong and is using a 2015 target from the UK, which has no relevance to Australia. Although digital radio is available in Sydney, Melbourne, Brisbane, Adelaide and Perth and covers nearly 60% of the population, the service is not yet available to all Australians. The industry is working with the Federal Government on planning for the roll out of DAB+ digital radio for regional areas. Again, Mr Poulter writes incorrectly “. . . digital radio has dipped tor in each secondary (mounted on a piece of terminal strip – extending on the idea published in SILICON CHIP for the 9V plugpack) and mechanically stabilised the recommended larger flag heatsink in the positive rail by attaching it (with a 3mm machine screw and a few 3mm nuts as spacers) to a short length of aluminium angle, which is turn secured to the hole in PCB that was intended for the original mini heatsink. Peter Roberts, Maroochydore, Qld. siliconchip.com.au Denier is a fabric measurement In a recent editorial (August 2011) the Publisher referred to himself as a (Climate Change) “Denier”. I am afraid I have stood by and suffered the use of politically correct rubbish language for far too long without lifting a finger in protest. However, this time I have finally been goaded out of my normal lethargy and I must put fingers to keys to vent my frustration. “Denier” is a unit of measure for the linear mass density of fibres. It is defined as the mass in grams per 9,000 meters. For those too young to remember, during World War II the girls used to swoon over 15 denier stockings and the Yanks had bucketloads of them, much to the horror of our blokes. I think what you meant was a “denyer” or possibly a “Deny-er”. Better still, how about Climate Change Agnostic, a term much more in keeping with the intolerant religious nature of the green cult. Aside from that, I love the Publisher’s editorials. The one in the September issue was great. Old people are suffering and it is wrong. Please continue to sheet the blame where it belongs: with nonsensical green schemes that promote such systems as appallingly expensive and inefficient wind farms that need base stations to function effectively and ridiculously expensive solar schemes. Keep up the good work but please, no more PC language. Bob Young, Riverwood, NSW. Comment: we agree with the general thrust of your letter but “denier” as in “someone who denies”, is a legitimate use of the word. Est.1978 5th Generation MR16 & GU10 5 Watt LED Replacements Ultra bright 400 lumens =45W Wide beam 60° Long life 35,000 hours Cool operation Cool, natural & warm white 2 year conditional warranty into our taxpayer’s money with little result”. The metropolitan commercial radio broadcasters have funded the transmission infrastructure for digital radio. As professional broadcasters they believe this is the radio of the future and that it offers their listeners a chance to experience new content and digital quality sound. Another sweeping unsubstantiated comment by your reader is, “Portable receivers with almost no exceptions are expensive and can only be heard in mono from an atrocious tiny speaker”. There are more than 100 different DAB+ digital radio models available to purchase in Australia, starting in price from as low as $49. Manufacturers recognise that not everyone wants high-end products that have pause and rewind, pictures, stereo, Wi-Fi and iPod docks and have produced a range of portable, kitchen-top, personal, hifi, clock radio and adaptors that listeners can choose from. But the most inaccurate information in Mr Poulter’s letter is this statement, “Then there are the reception problems. You can listen to AM radio station 3AW right into Gippsland (country Victoria) but not DAB+. 3AW AM consistently wins the ratings”. Your reader is obviously unaware that radio broadcasters are licenced in a specific licence area. 3AW is licensed siliconchip.com.au to broadcast in the Melbourne metropolitan area only. Analogue AM/FM and DAB+ digital radio may in some instances broadcast outside the licence area in what we call “overspill” but the broadcast is not designed or licenced to broadcast outside the licence area. The reason digital radio is not heard in country Victoria is not a reception issue because there are no digital radio broadcasts in country areas yet. As previously mentioned, the industry is working together with the Federal Government on spectrum planning, to enable all Australians to try digital radio. It’s really disappointing when inaccurate information is printed, whether it’s in a letter to the editor or in a story. I would appreciate you publishing my response in full to ensure your SILICON CHIP readers and Mr Poulter have the correct information about digital radio in Australia. Joan Warner, Chief Executive Officer, Commercial Radio Australia. Kevin Poulter replies: No doubt some of Ms Warner’s comments are correct, however rather than a long exchange of views, here are the relevant points that affect most SILICON CHIP readers. Ms Warner says “There is no switchoff date of analogue AM and FM radio services in Australia” but was quoted MR16 Dimmmable MR16 (1+) $22.00 (10+) $24.00 GU10 (1+) $23.00 (10+) $25.00 Incandescent & CFL Led Replacements Long life 30,000 hours Cool operation Cool & warm white 6 Watt 620 lumens (cw) = 60 Watt 7 Watt 740 lumens (cw) = 70 Watt 9 Watt 915 lumens (cw) = 90 Watt 5 year conditional warranty 6W E27/B22 $19.00 7W E27/B22 $24.00 9W E27/B22 $28.00 Queensland Bowen Hills Ph: (07) 3252 7466 Southport Ph: (07) 5531 2599 New South Wales Homebush Ph: (02) 9704 9000 www.prime-electronics.com.au October 2011  5 Mailbag: continued The World’s First Mixed Domain Oscilloscope analog digital RF Two domains: Time and Frequency at one glance. Built-in spectrum analyzer Transform the way you test, only from Tektronix Learn more at www.tektronix.com/revolutionary. MDO4000 Mixed Domain Oscilloscope Time Domain Frequency Domain 4 analog channels • 500MHz and 1 GHz bandwidth models 16 digital channels 1 RF channels • 50 kHz-3 GHz and 50 kHz-6 GHz frequency range models • Ultra-wide capture bandwidth up to 3GHz • Unique RF analysis tools: automated markers, spectrogram display, RF vs. time traces, advanced RF triggers Parallel bus triggering and analysis Serial bus triggering and analysis options Built on the award-winning MSO4000B mixed signal oscilloscope platform www.tektronix.com TekMark Australia • Tel: 1300 811 355 Email: enquiries<at>tekmarkgroup.com Nichecom • New Zealand • Tel: +64-4-232-3233 Email: tektronix<at>nichecom.co.nz © 2011 Tektronix, Inc. All rights reserved. Tektronix products are covered by U.S. and foreign patents, issued and pending. TEKTRONIX and the Tektronix logo are registered trademarks of Tektronix. in a recent article in “The Age” as saying that eventually there would be a mandatory switch-over: “Our view is that there would have to be 80 percent or upwards of listening to DAB+ for the industry to agree to switch off analogue. My personal view is that getting to 80 percent will take another five to seven years”. Further – “That’s 50 million radios that need replacing”. No plans to oust AM? I do have a very recent article that states, quote “The federal government has been a keen supporter of the (digital radio) industry as it seeks to switch analogue users over to digital, in a bid to free up radio spectrum for auction”. This would be a red flag to the millions who own multiple AM radio sets in their home and car, especially as it appears to be the intention in the UK. Choice said earlier in the year that “you’d be better off buying an analogue radio for a fraction of the price” (see the Choice website for much more). In, Melbourne, “The Age” ran a feature: “Listeners give digital radio a poor reception”, by Stephen Cauchi on September 4, 2011. See: http://www.theage.com.au/technology/ technology-news/listeners-give-digital-radio-a-poorreception-20110903-1jrcg.html Nearly every digital radio has a tiny speaker, even those priced up to $700. They just don’t deliver the digital quality. I can purchase a superb secondhand Panasonic or other leading brand AM/FM transistor radio or cassette portable radio for $20-$80 and the big speakers deliver excellent sound. Car audio manufacturers expected great things from DAB+ but soon found patchy reception. I also received comments from other readers, however they are too close to the industry to add their names to this discussion. For example: “I share your concerns regarding the poor audio quality of DAB+; this is a deliberate choice where multi-channel has been chosen above audio fidelity. Unfortunately the younger generation are used to low-fidelity digital audio and know no better”! One big plus for DAB+ is that it is “green” technology. One 5kW DAB+ transmitter transmits the ABC/SBS ensemble from Mt Dandenong. Compare this to the 50kW output from each of the two AM stations on 621kHz and 774kHz! The best thing that can be done for consumers is for manufacturers to install bigger speakers. I wish digital radio well but not at the expense of AM. Kevin Poulter, Dingley, Vic. Solar-powered Shed Alarm exit delay extension I have purchased and built two of the Solar Powered Shed Alarm kits (SILICON CHIP, March 2010) as supplied by Altronics. I have the following suggestion to increase the exit delay from the specified 22 seconds to 50 seconds. Both the kits I purchased (one for me and another for a mate) included a correction to increase the 470kΩ resistor between pin 2 of IC4a and ground to 1MΩ to achieve the desired and specified 22 seconds.  6  Silicon Chip siliconchip.com.au However, it has been my experience that the IRTEC PIR (Altronics SX-5306) is required to have its “settling-in” period at greater than 22 seconds, so that it does not spuriously trigger the alarm at turn-on. As such, I found it necessary to increase the capacitor between V+ to pin 2 of IC4a from 22µF to 47µF, to raise the exit time to about 50 seconds so that the PIR’s settling-in time can be accommodated. Brian Collath, Moss Vale, NSW. Discarded microwave ovens are potentially repairable This email is about microwave ovens that have failed. Firstly, my experience is based on ones discarded for council roadside collections. A large number work once the main fuse is replaced and frequently it is the sole fault. So if your oven dies completely, there is a chance you might be able to fix it by simply replacing the main fuse. These are inevitably inside the oven so the cover needs removing (see later warning). If the light works and the turntable siliconchip.com.au Another vote for a cassette recorder equivalent In the Mailbag column of your July 2011 issue you printed a letter from Stuart Hodgson headed “Cassette Recorders Still Wanted”. I support what Stuart says in requesting a good-quality sound recorder and player project. I know that you can buy nifty little digital recorders at various “consumer electronics vendors” but they are not adequate for most tasks. Most have very poor speakers and their frequency response seems to be very limited. Also, there is no option to remove and physically save a particular recording. Such a project should include a high-quality built-in microphone, turns, the main fuse will be OK but check for a second fuse – a number of models have one and it may have blown. That said, I would not use an oven from the roadside for cooking my food . . . their history is unknown. My use for them is quite different. plus a socket to connect to an external microphone. It should also have a good-quality amplifier and internal speaker, plus the option of using an external speaker or being able to feed the signal into an external sound system. The recording medium should be removable/replaceable to allow external storage of particular soundtracks. For my use, monophonic would be adequate but maybe it could be made as a stereo system. For portability, particularly for recording, it should carry its own energy source and to save batteries (or recharge the internal ones) be able to connect to 230VAC as well. Anthony Mott, Blackburn,Vic. Some interesting information I came across on the web might save someone some money. I checked the specific case quoted and it was correct. When the magnetron fails, the oven appears to work but no heat is generated. When they fail, the price quoted October 2011  7 Mailbag: continued Criticism of Jim Rowe’s design Yet again, Jim Rowe (Improved Stability For The GPS-Based Frequency Reference, September 2011) has missed the point that the TC (terminal count) or ripple-carry output of a 74HC160 isn’t guaranteed to be glitch-free. Unlike a Johnson counter (such as the 74HC4017) several of the flipflops may change state at the same time. Any mismatch in propagation delays of the flipflops or of the inputs to the combinatorial logic used to generate the TC output will inevitably lead to glitches in the TC output. Consequently, the TC output should never be used to clock subsequent logic. Whilst it is possible that a particular 74HC160 may not appear to generate such glitches, this is no guarantee that all 74HC160s will never do so for some combination of operating voltage, temperature and manufacturing process variations. The real problem in synchronously cascading 74HC160s with a 10MHz clock is the internal propagation delay to the TC output is too long to allow sufficient set-up time to fix it is often close to that of a new oven and seldom under $180. WES in Ashfield, Sydney sell most styles of magnetron for $40-$68. That potentially saves you $100 if the magnetron has actually died. But most interesting, a number of magnetrons for the last 74HC160 in the chain, if one uses the naive cascading method illustrated in the 74HC160 data sheet. The alternative method in the data sheet illustrates the look-ahead method of cascading 74HC160s that allows much faster clocking of a 74HC160 chain. However, if one wishes to synchronously cascade a chain of 74HC160s with a JK flipflop, then the TC output of the first and last 74HC160 in the chain should be ANDed together and used to drive the J and K inputs of the flipflop. Unfortunately the worst case propagation delays when HCMOS logic is used do not allow reliable 10MHz operation for all chips as there is insufficient set-up time available for the JK inputs of the flipflop. Reliable ripple clocking of the subsequent flipflop can be achieved by using the Q3 output of the last 74HC160 to drive the clock input of the subsequent JK input with its J and K inputs tied high. This eliminates the inverter as the initial phase of the last 74HC160 is unimportant and the glitch-free Q3 output only changes from 0 to 1 once every 10μs. have a 10-year warranty. So, if you have your oven receipt, the cost of a replacement magnetron could be zero. If over 10 years old, your oven has worked for you for 6-9c a day, so be grateful. I do not claim this warranty applies Another potential issue is that outputs of the two halves of the JK flipflop will either be in phase or 180° out of phase as there is no guarantee that the two flipflops will have the same initial state. Yet another potential issue is that insufficient isolation between the two oscillators used can lead to injection locking which destroys the desired averaging effect when the two oscillators are not locked. Even a pair of OCXOs (ovencontrolled crystal oscillators) like the HP10811A exhibit this phenomenon when their output frequencies approach too closely. In this case. adding a buffer stage with sufficient reverse isolation eliminates this problem. Bruce Griffiths, Hamilton, NZ. Comment: Jim Rowe has now begun a long and arduous trek to a monastery in Nepal to do good works and make amends for his peccadiloes. We wish him well and hope that he can be back soon after his rehabilitation, to continue his contributions to SILICON CHIP. Seriously, in the light of the above revelations, we have to wonder about the utility of the TC output on these devices if it cannot be guaranteed to be glitch-free. to every brand of magnetron in every oven but it certainly does for some (eg, GE). The labour may or may not be free. Regardless, claim the replacement magnetron and fit it yourself – or with help. Be aware of the precautions in- 100 1 95 9 100 75 1 7 95 9 75 25 7 2 5 5 25 0 2 0 5 5 0 0 8  Silicon Chip EL Australia Advert 181x60mm 122010_V4 21 December 2010 14:37:30 siliconchip.com.au Enthusiastic report on portable headphone amplifier I’ve just completed my the Portable Headphone Amplifier (SILICON CHIP, April 2011). It’s a great unit! It looks good and It sounds LOTS better than from straight out of the MP3 player or iPod! It gives surprisingly deep bass, even from my old 32-ohm Sony MDR-40 headphones! It has lots of volume – more than enough! As you said, “Turn the (digital) volume control right up on your iPod and use the volume control on the headphone amp”. The music sounds much “cleaner” overall. There is one problem though! You did mention in the article how RF interference could “break through” the plastic case. Well it does! If my mobile phone rings nearby, a very loud and typical mobile phone “buzzing & clicking” sound bursts through the music. We were warned I guess but would lining the casehalves with a conductive, earthed shield of some kind help? Does anyone make thin self-adhesive aluminium sheet? What about that nickel-based aerosol for shielding? A ferrite bead or two somewhere maybe? You have already included RF filtering right at the audio input of the amp, so the RFI is probably not coming in via the input signal lead. What about via the headphone cable? Maybe there’s room in the case for even just a sheet of earthed tinplate shield on the copper side of the board. Apart from the mobile phone interference, this unit is very quiet – when it’s not belting out the rock’n’roll that is! There’s no background hiss or hum. Nothing. Even when you switch it on or off with no signal there’s silence – a good reason to have a red LED in the power pushbutton (so you know it’s actually on). I would thoroughly recommend this amplifier to anyone who is tired of the tinny distorted sound from their portable music players. Nev Goddard, Blue Haven, NSW. Comment: there is no easy way to remove the loud clicks and noises due to mobile phones. Threading the signal lead a couple times through a small ferrite toroid may help though. Great Value in Test & Measurement volved – high (lethal) voltages linger inside even after unplugging and turning off. Ensure that the capacitor(s) are discharged and ask a competent friend for help if you need it. Brett Cupitt, via email. Sensitivity siliconchip.com.au R 4 GSa/s Real Time, 50 GSa/s Random Sampling, Low Noise Flash A/D Converter (Reference Class) 3GHz Spectrum Analyzer HMS3000 / HMS3010 R Frequency Range 100 kHz…3 GHz R Tracking Generator HMS3010 -20…0 dBm Accuracy Quality Programmable 2 / 3 Channel High-Performance Power Supply HMP2020 / HMP2030 Kelvin-Varley potentiometer featured – almost In his July 2011 Circuit Notebook article, Jim Rowe seems to have reinvented the Kelvin-Varley potentiometer originally devised by William Thompson (Lord Kelvin) and a colleague towards the end of the nineteenth century. However, the classic circuit uses fewer components. To convert the circuit of page 91 to the classic form: (1) discard the resistors connected to S1b contact B; (2) connect S1b contacts A, B & C to S1a contacts C, 350 MHz 2/4 Channel Digital Oscilloscope HMO3522/HMO3524 Simplicity HMP2020 1 x 0…32 V/0…10 A 1 x 0…32 V/0…5 A 188 W max. HMP2020 3 x 0…32 V/0…5 A 188 W max. Rohde & Schwarz (Australia) Pty Ltd Unit 2, 75 Epping Road, North Ryde, NSW 2113 sales.australia<at>rohde-schwarz.com October 2011  9 ANTRIM TRANSFORMERS manufactured in Australia by Harbuch Electronics Pty Ltd harbuch<at>optusnet.com.au Toroidal – Conventional Transformers Power – Audio – Valve – ‘Specials’ Medical – Isolated – Stepup/down Encased Power Supplies Encased Power Supply www.harbuch.com.au Harbuch Electronics Pty Ltd 9/40 Leighton Pl, HORNSBY 2077 Ph (02) 9476 5854 Fax (02) 9476 3231 Flash drives should be formatted With reference to letter on this topic in the August 2011 issue of SILICON CHIP, USB flash drives are not as simple to use as one would think. There is the matter of media files. These cause the operating system on the source computer to record the drive letter that the drive had at the time it was written to, along with the flash drive serial number. This is done so that when it is reinserted, the operating system can assign it the same drive letter it had before. This can cause the drive to fail to read in some cases. On the matter of the drive appearing to fill up, it is necessary to format tions. Several early ADC designs used Kelvin-Varley potentiometers with the manual switches replaced by banks of relays or uniselectors (essentially solenoid-stepped rotary switches originally designed for telephone exchanges). Tony Ellis, Porirua, NZ. USB charging information Mailbag: continued D & E respectively and increase the value of the 100Ω resistor connected to VR2 to 300Ω. Finally, adjust VR2 for a total resistance (including VR1) of 200Ω, reducing the effective resistance between the S1 wipers to 100Ω, which is the necessary condition for contiguous steps. Incidentally, VR1 could be replaced by a second identical Kelvin-Varley potentiometer providing 2% steps. The Kelvin-Varley potentiometer was a common device in measurement laboratories up to the early 1970s. The usual implementation used three or four cascaded stages with 10-position switches (11 resistors per stage). Excited by either an AC or a DC reference voltage, it could be used as an adjustable voltage source or, by adjusting it to match an unknown voltage, as a measurement device. In either case, with a suitable choice of excitation, the voltage could be read directly from the switch posi10  Silicon Chip In response to Bruce Pierson’s suggestion in SILICON CHIP June 2011, the USB charging specification actually requires that the data pins be shorted to make a USB charging port – see Battery Charging v1.2 Specification, section 1.4.7, page 3 (available from www.usb. org/developers/devclass_docs). A port constructed with the data pins shorted can be used to charge most GPS units, phones and other devices designed around the official USB charging specification but devices such as iPhones use their own propriety specification and will not be compatible. Andrew James, Bathurst, NSW. Query on aircraft flap actuator story I’m enjoying the new “Serviceman” articles but one entitled “Aircraft flap actuator” (March 2011) caught my attention and is still bugging me a little. A repair job involving a bearing, shaft and circlip unfortunately failed, with possible catastrophic results, when the the drive to clean it. Deleting doesn’t do the job fully. Format also removes any remnants of media files as these can stay even when the files appear to be deleted. If used regularly for transfer of data you may need to use a drive wiper to clean out the remnants from the spare sectors (as mentioned in the letter in August 2011). I observed the above by accident when having trouble and found it to work for me. Note also that the bigger the flash drive, the more prone it is to this problem. I find it starts mildly with 4GB drives and worsens as the size increases. Robert O’Connor, Mildura, Vic. (original?) circlip apparently dislodged after replacement in reassembly. In my strictly limited (amateur) automotive and allied experience, I had gained an impression that it was standard practice to replace parts like circlips (surely consumables?) during the reassembly process. This notion could be applied to similar electronic repairs – use a new part because the original may have been over-stressed. I have no background to criticise a professionally-trained serviceman but I would have thought that in aircraft repairs at least, caution would have demanded a new circlip. I’ve clearly been watching too many “Aircrash Investigations” but I would welcome clarification on the servicing protocol. Brian Graham, Mount Waverley, Vic. Dave Thompson replies: the circlip, bearing and most of the other moving components in that flap actuator job were indeed brand spanking new, replacing any items removed during the component overhaul. You are correct in saying that these should indeed be used only once and replaced if removed, due to fatigue and stress both in use and in removing them. The fact that it was new and failed was one of the worrying aspects of the whole situation and the remaining parts in our stores at the time were tested and found to be sound. So this one seemed to be that one-in-a-million that go wrong. I just happened to have SC signed it out. siliconchip.com.au No more boring old buzzers for us . . . Let’s get Quizzical! We’ve all seen them: boring electronic quiz games which sound a buzzer or bell and light a light to tell you which contestant has pressed their button first. Ho-hum. Yawn. But there’s nothing boring about our QUIZZICAL! It will certainly judge the winner – even if there’s only microseconds between contestants hitting their buttons! But wait, there’s more: you don’t just hear a buzzer or bell, you hear a sound effect or tune that’s different for each player. And you can change that sound effect or tune whenever you like. I f you’ve ever watched the quirky British show “QI” (here’s today’s trivia or tomorrow’s quiz question – it stands for Quite Interesting), or perhaps the witty Aussie “Talking About Your Generation” you’ll know what we are talking about. When each player or contestant presses their buttons (well, more often than not, belts their buttons!) as well as judging who’s first, each responds with individual sound bites. Those sounds are often surprising, sometimes outrageous and always humorous. And they’re never the same from one episode to the next. Build the SILICON CHIP Quizzical! and similar, virtually limitless sound possibilities are yours. That’s because the Quizzical! uses a Secure Digital (SD) memory card to store the sound files and so any MP3 file can be included for play. There is no limit to the types of sounds that can be produced – any12  Silicon Chip thing from animal noises, explosions, opera and classical music through to one liners from cartoons, comedy skits or movies. Like “Go ahead, make my day!” How? If you know how to save an MP3 sound file on your computer and can then copy that to an SD card, you can use the Quizzical!. It doesn’t record files itself; it simply plays back files that have been stored onto the SD memory. What? For suitable sound files, you don’t have to search far. In just a few minutes searching on the net, we found literally millions of MP3 files. These ranged from Warner Brothers Bugs Bunny cartoon classic one-liners, by JOHN CLARKE Monty Python sound bites, Star Wars and other science fiction sounds, bell sounds and music MP3 files and ring tones. You can edit sound files to any length before placing these onto the memory card. If they are other formats (eg .WAV or .M4A) there’s plenty of free software around to convert them to MP3. Or you can record your own sounds using an MP3 player with recording facility or using a computer and microphone and freely available software. Even bits of CD tracks can be converted to MP3 format suitable for the Quizzical!. (Bear in mind the warning in the “Legalities” panel). Who? Quizzical! caters for up to four contestants plus the adjudicator (dare we call him the QuizzMaster?). Once a player has pressed his or her button to answer a question, his/her unique sound siliconchip.com.au      Quizzica l! Features • Up to four contestants plus QuizzMaster • Unique sounds played for each contestant • Unique sound during answer period and at end of answer period • Up to five separate set s of theme sounds can be stored on SD card • Internal speaker • External speaker output connector • Volume control • Optional externally-acce ssible SD card slot • Adjustable contestant play sound period • Adjustable answer per iod • Unlimited types of sou nds possible starts to play and his/her button lights up. And all other answer buttons are locked out at this time. The contestant sound play period can be set by a trimpot adjustment and is available from between 1.3s and 18s. But if those periods are not suitable, there is also the option to have the play period set by the sound file length. The QuizzMaster can cancel any sound playing by pressing the QuizzMaster button. This pushbutton also has a LED indicator. Additionally, the QuizzMaster can start a timer to limit the time period allowed between the quiz question and for an answer. During this answertiming period, a new sound (the QuizzMaster sound) can be played. When? This answer-timing period can be siliconchip.com.au set internally to between 1.3s and 35s or by the file length itself. At the end of the timing period, a different sound can be played to indicate timeout. The QuizzMaster LED lights during the answer-timing period. If another contestant presses a contestant button during the answertiming period, then his or her contestant sound is played. But that sound arrangement is quite flexible – you have the choice to play a “silent” file during the answer-timing period which, of course, means that no sound is heard. At the end of the answer-timing period a sound indicates the time has expired. Or you could have a sound played during the answer-timing period with a silent file for the end of the timing period. If the ans w e r- t i m i n g feature is not required at all, the QuizzMaster does not press the QuizzMaster button to initiate the answer-period. If the QuizzMaster button is pressed unin-tentionally, the button can be pressed again to immediately cancel the answer period sound. The contestants’ buttons still operate in the same way, where as soon as one button is pressed the other contestant buttons are inactive until the contestant sound file finishes playing. Themes and variations! The Quizzical can include up to five separate sound themes that are written onto separate folders on the October 2011  13 14  Silicon Chip siliconchip.com.au A K K  LED1  A 5x 100nF OR 6 9 7 12 10 3 13 15 16 17 5x 68  (a) or 5x 330  (b) 4 10k S (b) RB0 RB3 RB1 RB6 RB4 RA4 RB7 14 RA2/AN2 RA3/AN3 Vdd 5 Vss K  LED A RB2/Rx RA1 RB5/Tx IC1 PIC16F88 -I/P RA6/OSC2 RA7/OSC1 RA0 MCLR/RA5 (b) 330  TO DRIVE 1x RED LED (ONE OF THESE FOR EACH CONTESTANT AND QUIZMASTER) S R T QUIZZICAL! K  A S T R S T R S T R S T R S T (a) 68  TO DRIVE 3x WHITE LEDS 8 18 11 VR3 10k VR2 10k (ONE OF THESE FOR EACH CONTESTANT AND QUIZMASTER) S R T ANSWER PERIOD 1 2 PLAY PERIOD 100nF Fig.1: the circuit consists of the player push-buttons/LEDs, a PIC microcontroller, a proprietary MP3 module and an audio amplifier. Construction shouldn’t take much more than an hour or so. The five resistors between the sockets and PIC can be 68 (for the modified shed lights) or 330 if you use a single red LED in the box. 2011 SC S (a) (QUIZZMASTER) CON5 (CONTESTANT 4) CON4 (CONTESTANT 3) CON3 (CONTESTANT 2) CON2 (CONTESTANT 1) CON1 R +5V 13 15 IN SD1 EXTERNAL SD CARD CONNECTOR (OPTIONAL) * 19 CD WP CD WP MP3 MODULE TDB380 20 GND SD CARD CONNECTOR IN MODULE * BUSY Rx 100 F 16V OUT REG1 7805 7 6 5 4 3 2 1 9 8 7 6 5 4 3 2 1 9 8 R L 17 18 47 47 100 F 16V K 1N4004 A 100nF 100 F 16V * NB: USE ONLY ONE SD CARD CONNECTOR AT A TIME (NOT BOTH!) VR1 1k VOLUME NP 10 F +11.4V +11.4V 2 3 1 4 A K IC2 LM386N 6 LED 10 F 7 5 2.2k K 8 K IN GND 47nF 10 470 F A D1 1N4004  LED6 A POWER S6 OUT 7805 – + GND INTERNAL SPEAKER CON6 EXTERNAL OUTPUT CON7 12V DC INPUT SD memory card. By way of example, the first folder might contain the four separate files for the contestants, an answer period file and end of answer period file, all based on a cartoon theme. The second folder might have a science fiction theme and the third folder might have a classical music theme and so on. Other uses The MP3 module which the Quizzical! is based on is quite a useful little device. So much so that we imagine the Quizzical! will not be restricted to games use. The push buttons can be used for other purposes to initiate sounds. Perhaps you’d like a doorbell where each doorbell push-button switch gives a different sound? Easy with the Quizzical! Alternatively, the Quizzical! could be used simply as a sound bite generator to generate a variety of sounds on demand. Want to introduce sound effects to a school play? Store ’em on the Quizzical! and play them (perhaps over a PA amplifier?) at the appropriate time by pressing the appropriate button. But its main use is, of course, for quizzes and games. You could take control over all the contestant and QuizzMaster buttons and play suitable interjection noises associated with answers: for example cheers for correct answers, boos for incorrect answers. You get the picture (or actually the sound), we’re sure. Inside the Quizzical! case – this does have the external SD card slot added but it’s under the PCB. Fig.2, below, shows how and where. S T S T S T T S CON2 CON3 CON4 CON5 CON6 R R R R R R 100nF 100nF 100nF 100nF 100nF * * * * E MA G ZIU Q 11101180 SOLDERED TO POT BODY LED6 A 10 F NP LINK 47 47 47nF 10 VR3 100nF 100 F SY RX D 10k 100 F 1 2.2k VR2 * REG1 20 K 470 F BU GND L R 12V 7-WAY ICD SOCKET STRIP 100nF SPEAKER OUT IC2 LM386 * 5 x 68  (a) OR 5 x 330  (b) TDB380 MP3 MODULE S6 IC1 PIC16F88 4004 D1 QUIZZICAL! siliconchip.com.au S T CON1 CON7 Physically speaking . . . Quizzical! is housed in a small plastic case, which contains all the electronics except for the contestant and QuizzMaster pushbutton switches. These are connected via suitable lengths of twin shielded cable and 3.5mm stereo jack plugs which connect into the back of Quizzical!. We’ll have more to say on these pushbuttons a little later because we have something pretty special lined up there . . . There is a small loudspeaker within the case to produce the sounds but for best sound, a socket is included to connect a larger loudspeaker or for connection to a sound system. When a jack plug is inserted into this socket, the internal loudspeaker is S T SD1 (OPTIONAL – UNDER) 10 F 100 F VR1 1k LOG 08110111 October 2011  15 An enlarged view of the TDB830 MP3 module and its method of connection to the underlying PCB. The seven wire connecting links at the right side can be made with resistor lead offcuts (assuming, of course, they’re long enough!). automatically disconnected. A volume control is included on the front panel along with a power switch and power indicator. The SD card The card normally slots into place in a connector directly on the MP3 module. However, this is inside the case and may be at least a little inconvenient to use – especially if you want to swap sounds. So we have made provision for an external SD card, accessed via a slot on the front panel. This requires the addition of a few extra parts including an SD card connector. Having the externally accessible SD card connector does not prevent use of the SD card connector that is on the MP3 module itself but note: only one SD memory card can be used at the one time. At the rear of the Quizzical! are six 3.5mm stereo jack sockets – four for the leads to the contestant pushbuttons, one for the QuizzMaster pushbutton and one for the loudspeaker outlet. Power is via a DC power socket using a 9 or 12VDC plugpack or a 12V battery. It is not recommended to use a small 9V battery to power the Quizzical!, as the battery will be discharged rather quickly. Maximum current drain is about 200mA or so while playing sound at maximum volume, so using a 12V gel cell is perfectly practical and proper! It drops to as low as 45mA on standby. Circuit The Quizzical! is based around a Tenda Electronics TDB380 MP3 Module and a PIC16F88 microcontroller (IC1). The microcontroller is used to monitor the contestant switches (S1-S4) and QuizzMaster (S5) switch and to drive the LEDs associated with each switch. The microcontroller also, operates the MP3 module via a serial connection and monitors the trimpots provided for playback and answer period adjustment. Switches S1 to S5 are monitored via the RB4, RB6, RB1, RB3 and RB0 inputs of IC1 (respectively). The switches and LEDs share a common ground; each of the switches connects to the 3.5mm plug tip while the LEDs connect via the ring. Internal pull-up resistors within IC1 keep the switch inputs at 5V unless a switch is pressed, pulling the input to 0V. Each switch input is bypassed with a 100nF capacitor to prevent noise and interference from falsely triggering an input. Switch contact bounce is not a problem as the microprocessor responds to the very first switch closure and ignores any other switch input – from that switch or any other. Indicator LEDs, LED1 to LED5 associated with each switch are driven from the RA0, RA7, RA6, RB7 and RA4 outputs respectively via suitable series resistors (we’ll have more to say on these shortly). Trimpots VR2 and VR3 connect across the 5V supply and therefore provide a voltage to the AN3 and AN2 inputs ranging between 0 and 5V. The microcontroller converts the voltages into digital values which in turn set the timeout for the answer and play periods. VR2 settings between 0V and about 4.5V provide a play period between 1.3s to 18s respectively. Similarly, VR3 settings between 0V and 4.5V provide an answer period between 1.3s and 35s respectively. The advantage of these timers is that the MP3 file lengths for each sound do not have to be individually edited to set the playing period. Instead the timers handle all play lengths. However, if you want longer periods or if you want different length play periods for each player, then the required trimpot (or both) can be set fully clockwise. This results in 5V at the AN3 and/or AN2 input. Then the The rear panel of the Quizzical! has is a DC power socket (9-12V DC from plugpack or gell cell battery), along with six 3.5mm jack sockets – four for the contestant push-buttons, one for the QuizzMaster push-button and one for the mono external speaker output (which could also be used to connect it to an external amplifier/speaker for some really dynamic sound)! 16  Silicon Chip siliconchip.com.au shorter than about two seconds in length. If a second contestant pushbutton were pressed within a couple of seconds after playing this short file then the second file would not always play. We overcame this quirk by checking the busy signal to find out if the second file has started. Should the second file not begin to play a second or two after the first file has finished, then the ‘play the second file’ command is re-sent. Ceasing play of a file that is two seconds or less in length using the QuizzMaster pushbutton is not always possible with this module. But it is not really a problem as it is only a short file anyway. You will just have to wait it out. The tiny 8 speaker is glued to the case lid after you first drill a series of “sound holes”. Note also the glob of silicone sealant (at left) providing strain relief. MP3 file length sets the timeout period. This period can range from zero seconds to any file length. The TDB380 MP3 Module is controlled by the microcontroller using a serial connection between the transmit (Tx) output of IC1 (pin 11) to the Rx input of the module. Baud rate is 4800bps with 8-bit data and one stop bit. A precise baud rate is not critical and we tested for successful operation with baud rates ranging from 5000bps to 4464bps. With that range of workable baud rate, the microcontroller can run from its internal oscillator that has a nominal 2% tolerance at normal room temperature, rather than having to use a crystal for a more precise baud rate. With serial control any number of files can be selected, from 1 to 199 in any one folder. There are 15 folders available. For our Quizzical! we only use up to six files in each folder and there are five folders that can be accessed. The default folder is folder 1. This is also called the root directory. Sending a play command to the Rx serial input of the module plays a file. Each file is individually selected using a separate serial code. When the module is playing a file, a stop command can be sent to the TDB380 to cease play. Stop has high priority and operates immediately. This is in contrast to sending a file ‘play’ command when a file is already playing. The module will wait until the file has completed before playing the next file. To play a new file before siliconchip.com.au the current file has finished playing, a stop command has to be sent first to stop the current file playing and then the new file command is sent. The busy flag output from the TDB380 module is monitored by the microcontroller’s AN1 input for indication of when a file has finished play. During play, the busy pin is low (close to 0V) while the end of file is indicated with a high (2.2V) signal which indicates the module is not busy. The AN1 input checks if the voltage is above or below the mid point of these two voltage levels. So if voltage is below 1.1V, then the module is busy and if the voltage is above 1.1V then the module is ready (not busy). Monitoring of the busy signal is useful for determining when a file has finished. That information is used by the microcontroller to ensure a contestant cannot play his or her unique sound if another contestant has already pressed their button, starting a file playing. The busy signal also informs the microcontroller when the answer period has expired, when this is set to the file length of the answer period file. For files that are longer than about two seconds, pressing the QuizzMaster switch will cease play immediately. Also another file can be played immediately after the first file has completed by pressing a contestant pushbutton. These are the expected responses from the MP3 player to stop and play commands. The MP3 module has a few quirks that occur when playing MP3 files Audio out Audio signal from the MP3 module is at the left and right channel outputs at pins 18 and 17 respectively. We used two 47 resistors to mix the left and right channels into a mono signal. The mono signal is AC-coupled via a 10F non-polarised capacitor to a 1kvolume control. These resistances are made low in value to minimise induced noise into the audio from the MP3 player as the Player reads the SD memory card. Low-level switching noises in the audio signal would otherwise be evident, especially when using the external SD card connector. Another way we minimise this noise is to use a metal front panel, which connects to Legal issues Strictly speaking, with the exception of sounds you create and record yourself, any sound files you play using the Quizzical! are subject to copyright – especially if you use it in a public place or for example, broadcast a quiz using them. That applies to sounds you download from the web, grabs from CDs, even things like ringtones (which we imagine will be pretty popular on Quizzical!). More information concerning the playing of copyrighted sounds in public, including sampled sounds, can be found in the information sheet G089.pdf from the Australian Copyright Council (copyright.org.au) on Music: DJs. October 2011  17 Parts List – Quizzical Main unit 1 PCB coded 08110111, 115 x 102mm 1 ABS Instrument Case 140 x 110 x 35mm 1 SD memory card 32MB to 8GB (A lower range capacity is all that is required) 1 TENDA TDB380 MP3 module 1 134 x 31 x 1mm sheet of Aluminium for front panel 6 3.5mm PCB mount stereo jack sockets (CON1-CON6) 1 PCB mount DC socket with 2.5mm contact pin (CON7) 1 SPDT PCB mount toggle switch (S6) (Altronics S1421 or equivalent) 1 40mm Mylar 8 speaker 1 DIP18 IC socket 1 knob to suit VR1 3 PC stakes 4 M3 x 6mm screws 1 60mm length of 0.7mm tinned copper wire 1 150mm length of hookup wire Semiconductors 1 PIC16F88-I/P microcontroller (IC1) programmed with 0811011A.hex 1 LM386N 1W amplifier (IC2) 1 7805T 5V three terminal regulator (REG1) 1 1N4004 1A diode (D1) 1 3mm green LED (LED6) Capacitors 1 470F 16V PC electrolytic 3 100F 16V PC electrolytic 1 10F 16V PC electrolytic 1 10F NP electrolytic 7 100nF MKT polyester 1 47nF MKT polyester Resistors (0.25W, 1%) 1 10k 1 2.2k 5 330/68* 2 47 1 10 (* see text) 2 10k horizontal mount miniature trimpots (VR2, VR3) 1 16mm 1klog potentiometer with two nuts (VR1) Externally accessible SD Card option 1 SD memory card holder (Altronics P5722 or equivalent) 1 7-way wire wrap socket strip 1 120mm length of 0.5mm tinned copper wire 18  Silicon Chip Quizzical! Specifications Power supply:....................... 9 to 12VDC at up to 250mA. Standby current 60mA. Loudspeaker power:.............. Typically 0.4W into 4 and 8 Contestant sound play: ........ 1.3s to 18s (or sound file length) Answer sound play: .............. 1.3s to 35s (or sound file length) File type:................................ Plays MP3 files (only) with standard bit rates              ranging from 32kb/s to 320kb/s. Memory card:....................... 32MB to 8GB SD card using FAT16 or FAT32 Folders:................................. Up to 5 folders accessible with six MP3 files per folder the volume pot body and circuit earth and forms a shield. Using the 1k volume potentiometer, bass response is rolled off due to 1F audio coupling capacitors in the left and right channel outputs on the MP3 module itself. If you require more lower frequency bass, then the potentiometer should be replaced with a 10k log pot instead (at the risk of more noise). Following the volume control, signal is coupled via a 100nF capacitor into an LM386N amplifier, IC2. This drives a loudspeaker via a 470F coupling capacitor. Supply bypassing for IC2 is with a 100F capacitor across the 11.4V supply and the 10F capacitor at pin 7. The 10 resistor and 47nF capacitor connected in series at the pin 5 output prevent high frequency oscillation when an inductive load such as a loudspeaker is connected. Power Power for the Quizzical! is from a 9V or 12VDC plugpack or from a 12V battery. Diode D1 provides reverse polarity protection for the circuit and switch S6 applies power with indication by LED6. The 11.4V (or 8.4V with a 9V supply) is applied to the REG1 input, the TDB380 module supply pin and the pin 6 supply pin for IC2. REG1 supplies 5V for IC1. The supply is bypassed with a 100F capacitor and 100nF capacitor. IC1 includes a power on reset using the 10k resistor at the MCLR input (pin 4) to the 5V supply. Note that while the TDB380 MP3 Module is powered from 11.4V, an integral regulator reduces the voltage to around 3.3V for the on-board ICs and SD memory card. Other considerations for the mismatched supply voltage are when monitoring outputs from the MP3 module. A high level output from the module can only reach a maximum of 3.3V and this may not be recognised as a high by the microcontroller running from 5V. In our circuit we use an analog input for monitoring the busy signal and so we can set the high threshold to a more suitable voltage as discussed earlier. When power is applied to the Quizzical! circuit, it takes a few seconds before the MP3 module becomes functional. This period is indicated by LED1 through to LED5 all lighting up. When the LEDs are extinguished, the MP3 module is sent a serial command that sets the volume at its maximum level. This volume is an internal digital volume control, not the external VR1 control. The Quizzical! is then ready to operate. Construction The Quizzical! is constructed using a PCB coded 08110111 and measuring 115 x 102mm. The MP3 module mounts directly onto this PCB. The assembled PCB is housed in an ABS instrument case measuring 140 x 110 x 35mm. Begin construction by checking the PCB for shorts between tracks and pads, missing holes and for correct hole sizes. Make repairs as necessary. If you intend to use the externally accessible SD memory card socket, this is installed on the underside of the PCB. Solder the 13 pins at the rear of the connector and the two pins at the front of the connector to the PCB pads. Take care that the 13 pins do not have any solder shorting bridges between them. (These can be cleared with solder wick and a soldering iron to draw off any excess solder between pins). Install the low profile components first. These are the wire link, the resistors and diode D1. When installing the resistors, use a multimeter to check the resistance value. Diode D1 must be oriented correctly. IC1 is installed using an 18-pin siliconchip.com.au DIL IC socket but IC2 can be directly installed on the PCB. Make sure the IC socket and IC2 are oriented correctly. Leave IC1 out of its socket at the present. CON1 to CON6, 3.5mm jack sockets, can be installed now as well as CON7, the DC socket. The three PC stakes can be installed with two located behind CON6 and one adjacent to VR1. The MP3 module has a 20-way right angle header along one side for external connections. The right angle in each pin needs to be bent straight so that the module can be installed horizontally onto the PCB. Carefully bend each pin using pliers so that each pin is fully straightened. Insert the module pins into the PCB holes with the module sitting about 10mm above the PCB surface. Solder the pins to the PCB. The capacitors, regulator and switch (S6) can be mounted now. Make sure the polarised electrolytic capacitors are mounted with the shown polarity. The 10F NP capacitor can go in either way. REG1 is mounted with the metal tab toward the front of the PCB. It doesn’t need a heatsink. Fit the trimpots (VR2 and VR3) now. If the potentiometer (VR1) supplied has a normal-length shaft it will require cutting to 10mm overall length. The pot body also needs to be connected to the PC stake located adjacent to it. This is done using a short length of tinned copper wire (eg, a resistor lead cut-off). To allow solder to adhere to the outside of the pot body, a small area (ie, immediately around where it is to be soldered) normally needs to be scraped off just before soldering the wire in place. LED6, the “power” LED, is mounted with the anode (longer lead) closest to VR1 and with the leads bent at right angles 5mm back from the LED body. The LED is positioned at the same height above the PCB as the S1 switch ferrule. LAST FEW: $AVE $$$ TV ACROSS AUSTRALIA Your easy ref reference ference gui guide ide tto oT TV V recept reception tion across A Australia usttraliia Travelling around Oz? Want to know where to aim your antenna? This book will tell you! Lists channels, location and polarity of all analog transmitters and translators (digital services are usually co-sited). A MUST-HAVE with loads of other TV-related data too! Even if you aren’t travelling, this is highly useful in troubleshooting local TV reception problems. All this information in one handy source! Buy direct fromWhile SILICON CHIP bookshop stocks last: $ RRP: 39 95 29 $ External SD card socket The externally-accessible SD card holder (if used), needs to be connected to the MP3 module via a 7-way IDC socket strip and wire links (see photo). Install the 7-way IDC socket strip alongside the MP3 module. This socket strip is placed so that it sits 10mm above the PCB. Seven lengths of 0.5mm tinned copper wire, each 17mm long, then connect the MP3 module to the 7-way socket strip. Make a right-angle bend at 5mm along each wire length. Insert the short ends of each wire into each socket strip hole and position each wire to sit over the solder pads that connect to the seven used pins of the SD card holder on the MP3 module. Carefully solder each wire to the MP3 PCB. 95 +p&p SEE P85 for handy order form Note that there is more than one version of this MP3 module currently available. We originally designed the Quiz Game using version 1 (V1.0) of the module. This version had the SD card positioned to the far right and the wires from the socket strip needed to solder directly to the pins on the module’s SD card holder. The MP3 module shown in the photographs is version 8.3 (V8.3) and has the SD card holder located centrally on the MP3 module. This has PCB pads available that allow connection to the SD card connector pins without resorting to soldering directly to the connector pins. There may be other versions being sold – which one you have with will depend on the supplier of the MP3 Resistor Colour Codes o o EITHER o OR * o o (*see text) o siliconchip.com.au No. 1 1 5 5 2 1 Value 10kΩ 2.2kΩ 330Ω 68Ω 47Ω 10Ω 4-Band Code (1%) brown black orange brown red red red brown orange orange brown brown blue grey black brown yellow violet black brown brown black black brown 5-Band Code (1%) brown black black red brown red red black brown brown orange orange black black brown blue grey black gold brown yellow violet black gold brown brown black black gold brown October 2011  19 Placing and arranging Quizzical! sound files onto the SD memory card The final part of building the Quizzical! is to acquire and place MP3 files onto the SD memory card. This needs to be done using a computer. Most computers these days have SD card readers installed (or perhaps MMC card readers; for our purposes they are identical). Modern printers and monitors often have an SD slot that enables reading the SD memory when connected to the computer. Failing this, external USB SD card readers (which invariably are also writers) are available for just a couple of dollars. The SD card should already be formatted with either the FAT16 or FAT32 file system. If it is not formatted, this can be done using the format facility on your computer. Files The Quizzical! requires six sound files per folder. Four files are for the four contestants sounds, the fifth one is for the answerperiod sound and the final file is for the end of answer-period sound. The answer-period and end of answer-period files can either be files that produce a sound when played or they can be silent files where no sound is heard. It is important that six files are placed in each folder. One of five folders can be selected when using the Quizzical!. That means that you can have five separate themes for the Quizzical! sounds with one theme per folder. It is not necessary to use all folders and a basic setup will only require six files if access to the other folders is not required. A maximum of 30 files will be needed, when all folders are used. Folders are selected on the Quizzical! itself using the four contestant pushbuttons (S1-S4) and the QuizzMaster pushbutton, S5. To set a new folder from 1 to 5, press a switch (S1-S5) when the Quizzical! is powered up. The associated LED for the pressed switch will flash until the switch is released. The flashing indicates the new folder is now set. If no switch is pressed during power up, the folder remains at the last used folder. The player module used in the Quizzical! will only play MP3 types – you’ll recognise them by the .mp3 at the end of the file name. MP3 bit rates ranging from 32kb/s to 320kb/s and including variable bit rate (VBR) are suitable. Other file types of files such as .wav and .m4p will have to be converted to MP3 format before they can be used with the Quizzical! Where do you get them? Audio files for your Quizzical! are easily obtainable from sources such as CDs and downloads from the Internet. Files from the CD can be ripped and imported as MP3 files. Files from the Internet ideally should be either ones that are purchased or free of charge and royalty free. For more detail see the section entitled Legal Issues. Files can be edited for length and for content within the file, so when looking for suitable files do not be put off because the file is too large. If it contains a section you wish to use then this can be selected and made into a shorter file. It is important that the file plays immediately, ie, there is no “dead air” at the start of the MP3 file. Any “dead air” can be edited out with a variety of sound file editors. Files that are already short may be directly suited for contestant and end of answer-period files. The time periods these files are played are set by the play period adjustment using VR2 or by file length. Up to 16s play period is available via the VR2 setting or this can be set longer as set by file length. A file for the answer period needs to be long enough to give contestants “thinking” time as well as answering time. The answer period can be set (using VR3) for up to 35s or by file length. So if you want a longer than 35s period, then the file needs to be longer at the required timeout length. If you prefer not to have sound during the answer-period, then a silent file can be used. Sound files are commonly available on the Internet and a good list of sites is available at www.teachers.ash.org.au/suel/freestuff/ sounds.html Music files are available from download sites such as iTUNES at www.apple.com/au/itunes/ Special interest sites for audio files include ones for the Looney Tunes cartoons at www. nonstick.com/sounds/; Monty Python at www.intriguing.com/mp/ sounds.php; Science fiction at http://itunes.apple.com/au/artist/ science-fiction-sounds/id169052199 and general sounds at www. soundjay.com If the files can be downloaded as MP3 types then this will save having to convert the files. But if a file is only available in wave format, it is not difficult to convert the file. .m4p files Files with a .m4p suffix are not as easily converted to MP3 format as they are AAC protected files (MPEG-4 protected Advanced Audio Coding audio files). Most of the files that are downloaded using iTUNES are .m4p files. You could purchase a commercial m4p to mp3 converter (such as available from www.m4p-mp3.com) or alternatively, a relatively inexpensive way when only a few files are to be converted is to first make a CD of the .m4p files you wish to use. This can be done in iTunes where the required files are placed on a playlist. The CD is burnt as an audio CD rather than as a data disc. You can use mono or stereo MP3 files as the stereo output is mixed into a mono signal. File handling Audacity can be downloaded from the net (http:// audacity.soundforge.net/download/) and is perfect for editing and converting Quizzical! file formats if a suitable MP3 codec (eg lame_enc.dll) is first loaded (eg from http://lame.buanzo.com.ar/). 20  Silicon Chip Once you have the necessary MP3 files for your Quizzical! you may wish to edit them. Editing can improve the sound file by having the relevant section of the file start as soon as the file is played and you can set the file length. siliconchip.com.au File editing can be done in Audacity. The start and end position of a file can be selected by wiping over the required file section with the mouse cursor and exporting the selection as an MP3 file. Editing allows a file to start exactly at the sound point you require. It can also select when you wish the file to end. Additionally, it may be worthwhile normalising or compressing each file. Normalising sets the effective volume of the file to a standard level, while compression reduces higher volume levels reducing the overall dynamic range. With these processes, each file will have a similar sound level when played. To do this, select the file and Effect/Normalise or Compressor. Other Effects that you might wish to use is to change the pitch, speed or tempo, reverse the file or add in echo. These features are also available under the Effects tab. Two screengrabs showing the difference between an unsorted file list (above) and the same files having been sorted into correct order (below). Creating a silent file When you wish to play silence rather than a sound for the Quizzical!, you will need to have an MP3 file that has no sound. To create a silent MP3 file, first open a new file (file, new) then select Generate/Silence. Type in the desired length (in seconds) then click OK. Placing files onto the SD card The SD card needs to have each set of six sound files placed in separate folders. The first folder is the root directory (folder1). This folder is not named but it is assumed to be the 01 directory. It should contain the first set of four contestant files; the answer-period sound file and the end of answer period sound file totalling six files. For the Quizzical! to work correctly, these six files must be present. Files can be silent if required but a missing file cannot be used in place of a silent file. Another set of six files can be placed in folder2. You can create up to five folders. Folders should be named 02, 03, 04 and 05. The first folder is the root directory where the first six files are placed. In the accompanying screen shot, (see SD Folders screenshot below) we show .mp3 files named from 1.mp3 to 6.mp3 in the root directory plus the other four folders. One thing to note is the order that the Quizzical! plays the files. The first four files (1 to 4) should be the contestant sound files. The next file (5.mp3) should be the answer-period file and the end of answerperiod file is 6.mp3. This is straightforward – but there is a trap. On a computer you can arrange files in order based on alphabetical order, file size, file type etc but this is not so with the MP3 player module. The module plays files in the order that they are arranged on the file allocation table (FAT). This is a limitation of the file handling ability of the MP3 player. The file arrangement on the FAT is not necessarily the same order that the files are seen on the directory when viewed using a computer. Screen grab of our “SD Folders” with files ready for use by Quizzical! Note the order and naming is important – it’s explained in the text. siliconchip.com.au The simplest way to get the file order correct is to start with a blank folder and then copy the files onto it one at a time, in the order required. This operation must also be applied to folder creation, ie, they must be created in numerical order. However, there may be some situations in which this approach can fail. Another method is more certain to ensure correct file order when the Quizzical! operates. Files are renamed in each folder to 1.mp3 to 6.mp3 corresponding to players 1-4 and 5.mp3 for the answer-period file and 6.mp3 as the end of answer-period file. A file sorting utility is then used to rearrange the FAT to correspond to the file numbering. For more detail on this file order problem see www.anerty.net/ software/file/DriveSort.php. You can also download the Drive Sort utility from this site and the ‘download file’ button is at the bottom the page at that site. Once the file has downloaded, open the zip file; extract the files and place onto a suitable directory (folder) on your computer hard drive. Run the DriveSort.exe file. Once the utility is running, select Disk open (see left) and open the SD memory card. Select the folders and the contained files will be shown, in the order arranged by the FAT. Note that the files are not necessarily in numerical order. To order the files, Select: Order/Ascending and then Folder/Sort. Folders will be sorted in ascending order. Then select Folder/Save to save this file order. Repeat for all folders including those at the root directory. This also sorts the folders in order. Select Disk/close to exit the program. The “Drive Sort” utility downloaded from www.anerty.com (see text). October 2011  21 module and how much stock they have of a particular version. Enclosure Work can now begin on the enclosure. It’s a two-part box and you will find that the two halves only go together one way. Front and rear panels are separate and, as mentioned earlier, an aluminium panel is substituted for the plastic front panel supplied. Holes are required for the power switch, LED and potentiometer on the front panel and for the 3.5mm jack sockets and DC socket on the rear panel. Hole positions and hole sizes are shown in the panel artwork (downloadable from siliconchip.com.au) with hole positions and sizes shown. When the externally accessible SD memory card holder is used, a slot is also required on the front panel. The outline for this cut-out is shown on the front panel artwork. The small loudspeaker is positioned inside the top lid toward the rear of the box. Holes are drilled through the lid over the loudspeaker cone area (before the speaker is glued in!) We used neutral cure silicone sealant, although many other types of glues are suitable including hot melt, contact adhesive and other plastics glues. Simply run a in the case. The PCB and panels are secured in the bottom half of the case with four M3 screws that screw into the four corner posts of the box. There are extra R = “RING” mounting posts in the case that foul T = “TIP” CABLE LENGTHS (CONNECTS TO (CONNECTS TO the PCB, preventing it from sitting flat. TO SUIT LED ANODE[S]) SWITCH) CONTESTANTS These can be removed by twisting off using pliers. Finally, the speaker is LED ANODE IS SWITCH LONGER LEAD NOT K wired to the PCB loudspeaker PC A POLARISED stakes using hookup wire. A dollop of glue can be used to hold the CABLE BRAID = SOLDER speaker wires to the case lid, removing any stress on the soldered joins. Fig.3: here’s how to wire each of the S = “SLEEVE” (CONNECTS TO LED CATHODE[S] AND SWITCH COMMON) contestant and Quizzmaster pushbuttons to the 3.5mm plugs. thin bead of glue around the speaker edge and allow it to dry. The front and rear panel labels, which are glued to the panels, can be printed onto paper, photo paper, film or similar and glued to the panel. Cut the holes out with a sharp craft knife or leather punch. The finished panels are attached to the front and rear of the PCB with the nuts for the 3.5mm sockets securing the rear panel and the pot nuts securing the front panel. We used two nuts on the pot, one behind the panel and the other on the front of the panel. The rear nut is to space the panel from the pot so the panel is positioned correctly Testing With all four player and single QuizzMaster pushbutton units plugged in, apply power and switch on with S1. Check that LEDs 1-5 light for a few seconds after powering up. The power LED (LED6) should remain lit. Measure the voltage between pins 5 and 14 of the IC1 socket. This voltage should be close to 5V. If the voltage is outside the range of 4.85 to 5.15V, then check for a possible short circuit across the 5V supply. Also check that there is voltage at the input to REG1. When the 5V supply is correct, switch off power and insert IC1. Further testing can be done after the SD card is written with MP3 files. TENDA Electronics TDB380 MP3 player module Measuring 51 x 33 x 8mm, the MP3 player can be used as a music player, a sampler sound box, doorbell, announcer and many other similar applications requiring sound. The module operates from between 6V and 24V at up to 100mA and plays MP3 files that are stored on an SD memory card. Up to 199 MP3 files can be accessed on each of 15 folders for a total of 2985 files. Sound output is in stereo at up to 200mVp-p at the output. This output can drive headphones directly, although it will be a low level and the 1F on board coupling capacitors will roll off the bass. There are four ways that the module can be used. Two methods simply have switches attached to the inputs to allow playing of the various files on the memory. For the MP3 player mode, switches allow the module to operate as a normal player. In this mode it has volume, play, pause, stop, previous, next, fast forward and reverse, plus change memory folder (directory) functions. The second switch-operated mode allows independent selection of up to eight files. Volume and random play are also available. This mode is ideal for doorbell, robot sounds, announcements etc. The remaining two modes require a computer or microcontroller to drive the MP3 module via parallel or serial data connection. Each mode is selected by setting two solder link connections as either open or closed. For the serial mode, this will 22  Silicon Chip operate with any jumper link setting. The data sheet for the TDB380 module is available from www.thaieasyelec.net/archives/Manual/TDB380%20 datasheet%20V2%5B1%5D.0%20.pdf The MP3 module is manufactured by Tenda Electronics (www.tendaelectronics.com) and is based around a Shanghai Mountain View Silicon Technology AU6850 MP3 decoder. Some of its features include: • SD/MMC card reader controller • Supports MP3 (MPEG 1/2/2.5 layer-III decoder) at 32320kbps and Variable Bit Rate • Supports 9 sampling frequencies: 8kHz, 11.025kHz, 12kHz, 16kHz, 22.05kHz, 24kHz, 32kHz, 44.1kHz and 48kHz • Supports FAT16 and FAT32 file systems • Embedded 16-bit sigma-delta audio DAC • Embedded headphone amplifier The module is available from the USA at www.mdfly.com/ for approximately $16.00 inc postage. You could also try Rictech in Melbourne (graeme.rixon<at>yahoo.com). Failing that, Tenda Electronics do sell direct to the public as “samples” but their website doesn’t have a shopfront: you have to do it all by email and Paypal. Also watch the one-off freight charges – they can be very steep (eg, four times the unit price!). siliconchip.com.au THE “EASY” PUSH-BUTTONS When we first developed this project, we used ordinary push-button switches mounted with a high-brightness LED in a small translucent jiffy box. Now there is nothing wrong with this approach but having watched QI and TAYG many times, we thought they were a little underwhelming. We wanted a PUSH-BUTTON, not a Player and QuizzMaster switch and indicator PUSH-BUTTON. Admittedly, this approach is probably a bit easier so we’ll show it here, along with its parts list, for those who want to go this route. It’s not at all critical where the pushbutton goes (but logic suggests the centre) and as it and the LED share a common (-) connection, the LED could simply have its cathode soldered to this point. (Uses 330resistor on PCB) 5 UB5 (83 x 54 x 31mm) clear boxes (eg, Jaycar HB-6015, H0205) 5 SP momentary push button switches (S1-S5) (Altronics S1080, Jaycar SP0716) 5 5mm high intensity LEDs 5 5mm LED panel clips 5 cable glands for 3mm cable 5 stereo 3.5mm jack plugs 2-core screened cable (length to suit installation) THE “PRO” PUSH-BUTTONS We went searching for the large push buttons as used on those shows and yes, they were available but no, they were FAR too expensive. That’s when we started thinking “outside the square” (OK, I was taking a walk through my “other home” – Bunnings) and I came across the small (100mm) battery-operated LED lights pictured here. They’re sold as either push lights or night lights, depending where you shop. Brand is “Magic Living”; (Bunnings barcode 9337897 001 942). The price was certainly right – about $7 for two! – but the only problem was they had push-on, push-off switches. We needed momentary. I also spotted a larger version of the same thing, with somewhat similar electronics, which would be perfect for the “QuizzMaster” controller. After disassembling one of these to see if I could get the switch apart easily and convert it to momentary, I quickly gave up that idea. Too small, too flimsy (although if you want to give it a go, be my guest. Nothing ventured and all that!) So I thought “what about fitting a different switch?” The biggest problem here was that the moulding suited the fitted switch and nothing else that I could find would go close. The other difficulty was that the travel in the switch had to be pretty well spot-on. After various measurements and tests, I bought a couple of tiny momentary switches from Jaycar (SP-0603) and glued them in place using JB Weld. While that was drying I turned my attention to the LEDs. There are three of them, all white high-brightness types, mounted in parallel on a small PCB, along with a tiny inverter to step up the 3V from the two “AA” cells to give enough to light the LEDs. As the PIC outputs 5V, I knew I didn’t need the inverter so I whipped it out and tested the whole thing out on a 5V supply. Voila! The 330 resistor specified in the original circuit is much too high to get the required brightness so I replaced it with a 68, which limits the current to safe levels for Remove the four screws (carefully!) to reveal the 3-LED PCB and switch. Prise out the switch and glue a mini momentary type switch (eg Jaycar SP-0603) in its place. Make sure the height of the new switch actuator is the same as the original switch. Also prise out the LED PCB and unsolder the two components (arrowed) – they are not required. siliconchip.com.au the PIC output. And that is how we ended up with our “pro” contestant push buttons. A length of two-wire shielded cable, exactly as per original, was soldered to the PCB and run out through the now-vacant battery area. The 150mm light has a 6V supply (4xAA cells) so therefore has no inverter. But you will need to remove its internal resistor, change the switch to momentary and run it as above SC from the PIC and 68resistor. Wire a suitable length of shielded two-wire cable to the LED PCB and the switch. They share a common earth. Reassemble the light (don’t lose the tiny springs or screws. . .) and you’re ready for action. Repeat for the other four push-button lights. October 2011  23 MUSIC-CONTROLLED DISPLAYS: DIGITAL XMAS LED LIGHTING CONTROLLER It’s that time of year again when all those Christmas lighting devotees start planning and building their displays for the festive season. They might have dozens – if not hundreds – of different light arrays and they will be thinking about buying even more. Is this you? Have you thought about controlling lots of your lights in time to music? Well now you can! O ur spectacular Digital Lighting Controller, which we presented last year (October-December 2010), could drive an impressive array of incandescent globes. But while it proved to be very popular, no sooner had we gone to press than many readers started reminding us that most Christmas Lights are now made of 12V LED strings. D’oh! So now we’ve made up a new Slave Controller. It suits the original master unit but can now drive up to eight strings of LEDs, each string with completely individual control. 24  Silicon Chip by St. Nicholas Vinen And you can have up to four slaves so that you can drive up to 32 channels. Woo-hoo! Furthermore, if you run the whole shebang from 24V DC instead of 12V DC, you can have twice the number of LED strings, by running LED strings in series. Wow! Think of the possibilities. You can control thousands of LEDs! Another – these days fairly significant – advantage of going LED is that controlling lots of incandescent lamps means that you are going to get a big siliconchip.com.au This rear-view inside shot shows the complete Digital Lighting Controller LED Slave – it uses the same master unit as published this time last year. By comparison with last year’s slave, the biggest difference is the size of the box – it’s much smaller – and the row of semiconductors down the middle – the Triacs are now replaced by Mosfets. electricity bill for the festive season. LEDs are a much cheaper proposition. Digital LED control Before we get down to the details of the Slave LED Controller, we need to review the main features of the Digital Lighting Controller presented last year. The whole system is controlled by the master unit which is housed in a small plastic box. This is controlled via a hand-held remote and takes an SD card (or MMC or SDHC card). This contains WAV music file(s) and sequencer file(s) (which you set up) CAT5 CABLE  dsPIC33FJ64 GP802 MICROCONTROLLER (IC1) INFRARED RECEIVER MASTER UNIT siliconchip.com.au SD/MMC CARD and it sends serial commands via a Cat5/6 cable to the slave lighting controllers. These can drive incandescent lights or as presented in this article, lots of LED strings. You can have up to four slave units and so you could have, for example, three slave units each driving LEDs and one slave driving incandescent lamps. Or any other combination involving up to four slaves. For the rest of this article we will concentrate on the slave LED controller. If you want all the information involving the incandescent control230V AC CAT5 CABLE 12V DC CAT5 CABLE ler and the master unit itself, you will need to refer back to the original articles (ie, October, November & December 2010). If you don’t have these issues, you can purchase them from SILICON CHIP or you can access them on our website (for a small fee). Going to the Master and slave LED controllers, Fig.1 shows the overall set-up with one master and up to four slaves. The slave units are daisy-chained via Cat5 ethernet cable, as each has RJ45 input and loop out jack sockets. 24V DC CAT5 CABLE 12V DC AC SLAVE UNIT (8 AC OUTPUTS) DC SLAVE UNIT (8 DC OUTPUTS) DC SLAVE UNIT (8 DC OUTPUTS) DC SLAVE UNIT (8 DC OUTPUTS) TO 8 x MAINS POWERED LIGHTS TO 8 x 12V DC LED LIGHT STRINGS TO 8 x 24V DC LED LIGHT STRINGS TO 8 x 12V DC LED LIGHT STRINGS Fig.1: the block diagram shows how four slaves can be connected to the master unit, for up to 32 individually controlled lighting channels. This is one example of a slave lineup; you can mix and match as needed. October 2011  25 10k CON10 CHAIN LENGTH SENSE IN FROM CONTROLLER 1 2 3 4 5 6 7 8 +3.3V SERIAL DATA +6V GND SCLK LATCH SER DATA RJ-45 13 MASTER CLEAR 14 12 100 10 11 IC2e IC2f IC2: 74HC04 SCLK 9 2 1 3 100 IC2d IC2a LATCH 100nF 8 IC2c 5 4 100 6 7 IC2b 100nF +12V 100 F 16V 100nF 47k 100 47k 47k 47k 47k 47k 47k 47k 1 14 IC3a 2 C B 10 11 14 12 13 4x 10k 16 Vdd MR B Q0 Q1 SRCK Q2 Q3 DS Q9 E 8 x 1M 15 1 Q10 E LCK Q6 Q7 Q7' OE 13 Q11 E B Q12 E B 9 5 6 9 8 11 IC3f 10 13 12 Q13 E SC IC4c 6 5 C Q14 E IC4b 3 4 C Q15 E IC4a 1 C Q16 B 2 7 E 7 2011 8 C B IC3e IC4d 9 B 8 IC3d 10 C Vss IC3c IC4e 11 6 7 14 IC4f 12 C 3 IC1 Q4 4 74HC595 5 Q5 4 C B 2 IC3b 3 DIGITAL LIGHTING CONTROLLER LED SLAVE MODULE Fig.2: the complete circuit for the LED slave unit. IC1 receives and decodes serial data from the master unit while IC2 buffers the serial output to the next slave unit. Q9-Q16 and IC3-4 level shift IC1’s outputs to drive Mosfets Q1-8. These then switch current through the LED strings connected to CON1-8 and the internal indicator LEDs1-8. The data from the master unit adjusts the LED string brightness using pulse width modulation (PWM). Power for the LED strings is supplied from CON9 via a 10A fuse while REG1 provides a nominally 12V rail for driving the Mosfets. In addition, to enable a large lighting display to be set up, the connecting cables can be up to 30 metres long. This means you can have the master unit safely inside your home and the slave units can be a long way distant, provided you can feed 12 or 24V DC to them to power the LED strings. 26  Silicon Chip While the incandescent light slave controller is housed in a relatively large plastic instrument case (as it has to accommodate eight Triac circuits and eight IEC power sockets), the LED slave controller comes in a compact plastic case about the same size as the master unit. Pulse width modulation The brightness of the LED strings is controlled using pulse width modulation (PWM), ie, DC power to the LEDs is switched on and off rapidly. The switching frequency is twice mains frequency, so 100Hz for Australia, New Zealand and the UK (or 60Hz/120Hz in siliconchip.com.au CON11 CHAIN LENGTH SENSE MASTER CLEAR 1 2 3 4 5 6 7 8 SCLK SERIAL DATA +6V LATCH GND OUT TO OTHER MODULES +3.3V RJ-45 D1 1N4004 REG1 7812 1k OUT A + POWER IN GND 100 F 16V  LED9 CON9 F1 10A A K IN – 12–35V 47 F 50V K CON1 1k 1 LED1  K A 2 LEDs 1 OUTPUT D Q1 100nF STP16 G 1k 22 CON2 S NE06 LED2  K A 1 2 LEDs 2 OUTPUT D Q2 STP16 G 22 1k CON3 S NE06 LED3  K A 1 2 LEDs 3 OUTPUT D Q3 22 STP16 G 1k 22 CON4 S NE06 LED4  K A 1 2 LEDs 4 OUTPUT D Q4 STP16 G 22 1k CON5 S NE06 LED5  K A 1 2 LEDs 5 OUTPUT D Q5 22 STP16 G 1k 22 CON6 S NE06 LED6  K A 1 2 LEDs 6 OUTPUT D Q6 STP16 G 22 1k CON7 S NE06 LED7  K A 1 2 LEDs 7 OUTPUT D Q7 STP16 G 1k CON8 S NE06 LED8  K A 1 2 LEDs 8 OUTPUT D Q8 G 1N4004 A LEDS K K A Q9–16: BC549 B E many other parts of the planet). The ratio of the on-time to the switching period (10ms) is known as the duty cycle and the higher the duty cycle, the brighter the LEDs appear. The original incandescent light slave unit switches the 230VAC to the lights using a slightly different method siliconchip.com.au Q1–8: STP16NE06 G C STP16 S NE06 REG1: 7812 D D GND IN S GND OUT known as phase control. For phase control, the switch-off always occurs at the mains zero crossing as the Triac switching devices remain in their conducting state whileever the current through them is above a threshold. There are two zero crossings per mains cycle, hence the 100Hz frequency (or 120Hz for a 60Hz mains supply). To determine when the Triacs should be switched on, the mains voltage waveform is monitored and they are triggered at a particular phase angle, hence the term “phase control”. The power delivered to the load is proportional to the RMS voltage across it, which is related to the area under the partial sinewave. Since PWM and phase control are quite similar, the master unit software only needs minor changes to suit both. The changes are (1) holding the outputs on for the entire on-period rather than just an initial pulse to trigger the Triac and (2) calculating the on-period based on a square wave rather than a sinewave. Anticipating a DC slave, these options were built into the original master unit software. The “triac turnoff <slave> = delayed” (where <slave> is a number from 1 to 4) option forces the outputs to stay on for the entire on-time. For AC slaves, this option increases power consumption but the DC slave has no optocouplers so in this case it won’t. The previously undocumented “slave type <slave> = DC” option tells the master unit to compute on-times for a square wave (PWM) rather than a sine wave (phase control). Without this option, the DC slave will still operate but with less linear brightness control. Connectors We decided to use pluggable terminal blocks for the DC power into the slave unit and the LED strings. These are readily available, have a sufficient current rating (12A) and are easy to make connections to. The right-angle PCB mounting types allow the connectors to protrude through the front and rear panels of the case, so connections can be made without removing the lid. Since the eight output connectors are identical, it’s also easy to swap These pluggable right-angle screw connectors make setting up (and modifying) your masterpiece real easy! October 2011  27 47k CONTROL INPUT 1k 1k 1k 22 1k Q3 CON8 1k 22 47 F 50V 1k Q1 LED6 CON6 K A 100 100 F REG1 7812 LED5 CON5 K A CS 1102 – + LED4 CON4 K A – + LED3 CON3 K A – + LED2 CON2 K A – + LED1 D1 – + K A 100 100 – + + 100 F – + CON1 – + + CONTROL OUTPUT Q2 100nF 10k 10k 8 Q9 100nF 10k (RJ45 TYPE II) Q4 Q10 1M 10k 1 Q11 + 8 47k Q5 Q12 IC2 74HC04 1 (RJ45 TYPE II) CON11 1M Q6 1k 1M 100nF Q13 1M 47k K A IC4 CD4069 IC3 CD4069 47k 100nF CON10 Q14 47k 1M Q7 1k 1M LED8 K A LED7 CON7 22 LED9 8 x STP16NE06 Q8 22 47k Q15 22 1M 1k K A SC 22 47k 22 POWER 1M © 2011 8x BC549 Q16 22 12–35V POWER IN – 47k IC1 74HC595 Refer to the circuit diagram, Fig.2. The serial interface is virtually identical to that of the AC slave published previously. This consists of IC1 and IC2, 8P8C (RJ-45) connectors CON10 & CON11 and some associated passive components. A Cat5 type cable runs from the master unit to CON10. The eight conductors carry low voltage DC power (3.3V and 6V), serial data from the master and a “chain length sense” line which allows the master to detect the number of slaves connected. The 3.3V rail powers the slave’s digital logic ICs while the 6V provides power for optocoupler LEDs, used only by AC (mains) slaves. The 3.3V rail has a 100F bulk bypass capacitor and 100nF high frequency bypass capacitors for each connected IC. The serial lines are: bit clock (SCLK, pin 4), data (SERIAL DATA, pin 5), master clear (pin 2, active low) and latch (pin 7). Each slave receives eight bits of data on this bus and when the latch line goes low, the output state is updated to reflect the latest data received. The master clear line is used to turn all outputs off at power-up. Because the cable between units may be up to 30m long, the four serial lines are terminated to ground with 10k resistors. This forces some current to flow when the lines + CON9 10k Circuit description DIGITAL LIGHTING CONTROLLER LED SLAVE 16110111 1 1 1 0 1 1 6 1 F1 10A 100 LEDs around (or even between slaves) as necessary. For the communication ports, we are using the same “Type II” 8P8C (RJ-45) connectors as in the original (AC) slave unit. 4004 C Fig.3: all components mount on one PCB, as shown here and in the photo at right. The control inputs and outputs (CON10 and CON11), the DC power input (CON9) and the power indicator (LED9) go on the rear panel while the eight output connectors (CON1-8) and indicator LEDs (LED1-8) are fitted to the front panel. are driven high, reducing switching glitches due to the transmission line nature of the cabling. Each slave connects pin 1 to 3.3V via a 10k resistor. These are therefore in parallel. A resistor in the master unit from this pin to ground forms a voltage divider with them and by sensing the voltage at the junction, it can tell how many slaves are connected. When fewer slaves are connected, less data needs to be transmitted to update the The finished project mounted in its case, complete with push-on screw terminals. The green LED at left shows that power is connected but in the final version, it is on the rear panel, not the front. 28  Silicon Chip siliconchip.com.au output latches, appearing at QA-QH (pins 15 and 1-7). Level shifting There is a difference between this prototype photo and the diagram at left: the green power LED (LED9) has been moved to the rear panel to give more space to the front panel connectors. Otherwise it’s identical. output state. CON11 is the daisy-chain output and may be connected to another slave unit, allowing up to four to be controlled by a single master, as already noted. This avoids the need for multiple outputs on the master unit and simplifies the wiring. The three power lines and the chain length sense line pass through directly from CON10 to CON11 but the four serial lines are buffered. The bit clock, clear and latch signals each pass through two 74HC04 inverter gates (IC2a-f). By inverting each signal twice the polarity is preserved. Since the lines are buffered by each slave, the master output only needs to drive one length of wire. 100 series resistors form RC filters with the cable capacitance, filtering out switching glitches. The serial data from the master unit (or from the daisy chain Cat5 cable) passes through IC1, the 74HC595 serial-to-parallel latch IC, delaying it by eight clocks. As a result, each slave siliconchip.com.au receives a different portion of the data, which is stored in IC1’s eight internal latches. When the latch (LCK) line goes low, this data is transferred to its These outputs then control eight Mosfets which switch power to the LEDs. When a latch output is high, that LED string is turned on and when the output is low, it is off. Since IC1 runs from the 3.3V rail, its outputs swing between 0V and 3.3V. While this is sufficient to turn on some Mosfets, the types specified for this project require at least 8V to turn on fully. Even “logic level” Mosfets typically require at least 4.5V for full conduction. So we must “level shift” the 0-3.3V output signal of the 74HC595 to 0-12V (or so) to drive the Mosfets. This is achieved with eight NPN transistors (Q9-Q16), two hex CMOS inverter ICs (IC3 and IC4) and some resistors. Each of IC1’s outputs drives the base of an NPN transistor via a 1Mresistor. When an output is high, the corresponding transistor is driven with about (3.3V – 0.6V) ÷ 1M = 2.7A. The minimum hFE for a BC549 transistor at low currents is 110, so we can expect its collector to sink at least 2.7A x 110 = ~300A. Each collectors has a 47k pull-up resistor to the 12V rail, so to be driven into saturation, the transistors must sink around 12V / 47k = 255A. Therefore the collector voltage swing will be close to 12V. This level shifter configuration is inverting, ie, when IC1’s output goes This time shown from the front (and without the connectors in situ) the PCB mounted inside the case. The eight panel LEDs mimic the controlled LEDs. October 2011  29 Fig.4: the Mosfet gate waveform (yellow) and drain voltage (green) as the Mosfet is being switched on. The Mosfet gate voltage rises at a rate determined by the current capability of the driver and its input capacitance, until it reaches the threshold voltage. At this point the Mosfet starts to turn on and its drain voltage drops but the gate voltage rise is temporarily halted due to the Miller effect. Once the Mosfet is fully on, the gate voltage continues to rise to the full drive voltage, reducing the channel on-state resistance to its minimum. high, the corresponding transistor collector goes low and vice versa. So we invert the signal again with CD4069 CMOS inverter ICs. Output drivers Each 4069 inverter drives a Mosfet gate via a 22 resistor. This resistor forms an RC filter with the Mosfet’s input capacitance, eliminating gate voltage spikes that could be caused by stray inductance in PCB tracks and component leads. For efficiency, it’s best to switch Mosfets gates rapidly, since during each switching transition the Mosfet is in a state of partial conduction and this increases the average dissipation. To achieve rapid switching, high current drive is needed to quickly charge and discharge the Mosfet’s gate capacitance. The output current of the 4069 inverter is typically about 8mA, much lower than a purpose-designed Mosfet driver. But this is mitigated by the low switching frequency (100Hz) and the relative low gate capacitance of the Mosfets we have specified of around 760pF (compared to 1960pF for an IRF540N or 5480pF for an IRF1405). Fig.3 shows a scope grab of the Mosfet gate and drain voltages during switching. The yellow trace is the gate voltage and the green trace the drain. The rise in gate voltage briefly halts as it reaches the on-threshold due to gate-drain (“Miller”) capacitance. Before and after the actual transition, the gate voltage slew rate is limited by gate-source capacitance; the sources are connected to ground. By adding up the positive and negative transition times (the latter is slightly longer than the former) we can see that the Mosfets spend around 2s switching every 10ms, ie, 0.02% of the time. This increases the Mosfet dissipation by a negligible amount compared to that due to their on-state 30  Silicon Chip resistance while carrying the load current. Note that Fig.3 shows the transition time for a light load; it is longer for higher currents since the Mosfet must be turned on harder. But even if this doubles the switching time, it’s still very short. The specified Mosfets have an on-resistance is around 0.1 and this is what ultimately limits LED string RMS current. At the rated 2.5A, dissipation for each Mosfet is around 0.1 x 2.5A2 = 625mW; much more than this and the TO-220 packages will get hot, since they do not have heatsinks. Since the full supply voltage is applied across the LED string when the associated Mosfet is on, each LED string needs to incorporate a current-limiting resistor or active current limiter. This limiter is usually incorporated in the string. As well as driving the outputs, the Mosfets also pull current through red indicator LEDs (LEDs1-8). These are powered from the 12V rail via 1k current limiting resistors. They are useful for checking and monitoring the operation of the device. Depending on the DC supply voltage, they are driven with 8-12mA each. Power supply DC power for the LED strings and driver circuitry is connected to CON9, another pluggable terminal block. A 10A inline fuse protects against a board fault, shorted output or current overload. The DC input can be 12V or 24V. Just remember that for a 24V supply, your 12V LED strings must be connected as series pairs. The power supply used need not be rated for the full 10A if your LED strings, when combined, will not draw that much. An easy and cheap way to get a high current (10A+) 12V DC supply is to use a spare computer power supply; see our article in the January 2011 issue of SILICON CHIP on how to modify one for standalone use. The 12V rail is derived from the DC supply by REG1, a standard 3-terminal 12V linear regulator with associated input bypass and output filter capacitors. It is protected from reversed supply polarity by diode D1. This does not protect outputs CON1-CON8 but since the connected LED strings act as diodes, they won’t conduct unless the supply polarity is correct anyway. If the DC supply is 12V, REG1 will be in dropout and so the nominally 12V rail will actually be a lower, unregulated voltage (around 10V). The Mosfets and their drivers operate normally under this condition. Regulation is only necessary to protect ICs3-4 and Q1-8 from damage in case the supply voltage is above 15V or 20V respectively. A green power LED across the 12V supply (again with a 1k current limiting resistor) indicates when supply voltage is present. On our prototype, it is on the front panel but it has been moved to the rear panel of the final version, to allow the output connectors to be spaced further apart. While this circuit has two power supplies (3.3V from the master unit and 12-35V for the LEDs), it does not matter in which order they are applied. If the master unit is powered up first, IC1 can switch transistors Q9-16 on but they will have no collector voltage and so the inputs of IC3 and IC4 will remain at 0V. Alternatively, if power is applied to CON9 before the master unit is switched on, LED9 will light but the inputs to IC3 and IC4 will remain high, as there will be no current from IC1 to turn on Q9-16. There will therefore be no gate siliconchip.com.au drive voltage for Mosfets Q1-8 and so they will remain off. Normal operation begins only when both the master and slave units are powered up. Construction All parts mount on a single 103 x 118mm PCB, coded 16110111. Referring to the overlay diagram (Fig.2), begin by installing the eight wire links using 0.7mm diameter tinned copper wire. If you have a double-sided board, like our prototype, these may be omitted. Next, install the resistors, checking the value of each with a DMM set to Ohms mode (since the colour codes can be hard to read). A standard lead bending jig can be used except for the eight 1k resistors adjacent to Mosfets Q1-Q8 which have a closer pad spacing. Follow with diode D1, orientating it as shown on the overlay diagram. Fit the four ICs next, paying careful attention to their orientation (IC2 faces the opposite direction to IC1 and IC3). If using the optional IC sockets, solder them in instead. The eight Mosfets and the regulator go in next (don’t get them mixed up!) First bend the TO-220 package’s leads down 90° about 6mm from the tab and then mount it with a 10mm M3 machine screw passing up from the underside of the board, with a shakeproof washers under the head and under the nut. This is vital since the output current passes through the mounting screws. Make sure they are fully tightened before soldering the leads or else you could damage the board. That done, install the eight BC549 transistors, cranking the leads out with small pliers to suit the pad spacing. The four MKT capacitors can go in next, followed by the three electrolytic capacitors, with their longer leads through the holes nearest the “+” signs on the overlay diagram. Don’t get the two different types mixed up. Then solder the fuse clips, taking care that they are pushed right down on the PCB and that the locating tabs go towards the outside. Follow with the nine right-angle terminal block sockets, ensuring that they are all flush against the board and perpendicular to its edges. If you installed the IC sockets earlier, plug in the ICs now, careful with their orientation. Fit the 10A fuse, then solder the two 8P8C (RJ-45) connectors in place, making sure they are flush with the PCB. The red LEDs go in next. Install them with the maximum lead length possible, with just enough through the bottom of board to solder to. In each case, the longer lead goes through the hole towards the bottom of the PCB. For the green LED, first bend its leads by 90° 5mm from the lens. Check its correct orientation before doing so (its longer lead also goes towards the bottom). Solder it so that the horizontal portion of the leads is 4mm above the surface of the PCB. Parts list – LED Slave for Digital Lighting Controller 1 PCB coded 16110111, 103 x 118 mm 1 ABS plastic enclosure, 140 x 110 x 35mm (Jaycar HB5970, Altronics H0472) 1 front panel label 1 rear panel label 2 low profile PCB-mount RJ-45 sockets (Altronics P1448 or similar) 9 PCB-mount 2-way horizontal pluggable terminal blocks, 5.08mm pitch (Jaycar HM3102, Altronics P2592) 9 2-way pluggable terminal block sockets, 5.08mm pitch (Jaycar HM3122, Altronics P2512) 2 M205 fuse clips 1 M205 10A fuse 9 M3 x 10mm machine screws and nuts 18 M3 shakeproof washers 4 No.4 x 9mm self-tapping screws 1 200mm length 0.7mm diameter tinned copper wire 1 16-pin DIL socket (optional) 3 14-pin DIL sockets (optional) Semiconductors 1 74HC595 octal serial-to-parallel latch IC (IC1) 1 74HC04 hex inverter IC (IC2) 2 CD4069 hex inverter ICs (IC3, IC4) 1 7812 12V 1A linear regulator (REG1) 8 STP16NE06 or MTP3055E Mosfets (Q1-8) 8 BC549 NPN transistors (Q9-16) 1 1N4004 1A diode (D1) 8 3mm red LEDs (LEDs1-8) 1 3mm green LED (LED9) Capacitors 2 100F 16V electrolytic 1 47F 50V electrolytic 4 100nF MKT Resistors 8 1M 8 47k 9 1k 4 100 5 10k 8 22 Assembly The next step is to make the cut-outs and holes for the front and rear panel, using Fig.5 as a guide. The easiest way is to photocopy or download and print the diagrams, then cut them out (including the holes, using a sharp hobby knife or a leather punch) and glue or tape them to the panels. Use a 3mm drill to make the nine LED holes. For the Resistor Colour Codes o o o o o o siliconchip.com.au No. 8 8 5 9 4 8 Value 1MΩ 47kΩ 10kΩ 1kΩ 100Ω 22Ω 4-Band Code (1%) brown black green brown yellow purple orange brown brown black orange brown brown black red brown brown black brown brown red red black brown 5-Band Code (1%) brown black black yellow brown yellow purple black red brown brown black black red brown brown black black brown brown brown black black black brown red red black gold brown October 2011  31 B B 4.5 4.5 4 4 5 5 23.5 23.5 + + A A ON ON – – 48 48 10 10 12 12 23.5 23.5 12 12 CONTROL IN CONTROL OUT CONTROL IN CONTROL OUT POWER IN POWER IN 12 12 15.5 15.5 132 132 12 12 12 12 A A 12 12 12 12 12 12 29 29 5 5 3.5 3.5 Fig.5: the drilling template and panel labels for the front panel (top) and 2 2 rear of the case (bottom). These can be photocopied or downloaded as a PDF from the SILICON CHIP website and printed out. Print them onto transparency film or print onto paper and laminate them to make durable labels. (FRONT PANEL) (FRONT PANEL) 16 16 15.5 15.5 12 12 23.5 23.5 5.5 5.5 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 8 8 C C + + – – + + – – + + – – + + – – + + – – (REAR PANEL) + + – – + + – – + + – – 29 2 29 2 8.5 8.5 5 5 (REAR PANEL) ALL CIRCULAR HOLES ARE 3.0mm IN DIAMETER NOTCHED RECTANGULAR HOLE 'B' IS 8.5 x 12.0mm + 2 x 2 mm NOTCH ALL CIRCULAR HOLES ARE 3.0mm IN DIAMETER NOTCHED RECTANGULAR HOLE 'B' IS 8.5 x 12.0mm + 2 x 2 mm NOTCH RECTANGULAR HOLES 'A' ARE 15.5 x 12mm NOTCHED RECTANGULAR HOLE 'C' IS 8.5 x 96mm + 8 x 2 x 2mm NOTCHES NOTCHED RECTANGULAR HOLE 'C' IS 8.5 x 96mm + 8 x 2 x 2mm NOTCHES RECTANGULAR HOLES 'A' ARE 15.5 x 12mm ALL DIMENSIONS ARE IN MILLIMETRES ALL DIMENSIONS ARE IN MILLIMETRES rectangular cut-outs, drill a series of small holes around the outside of each (but within the outline), knock the remainder out and then file the edges smooth. For the largest cut-out, use a large flat file to start with and then needle files to finish the corners. The smaller cut-outs can be shaped entirely with needle files. Go slowly since it’s easy to make holes too big in the soft plastic. Check that the PCB connectors fit through the holes and then test fit the pluggable terminal blocks. If one doesn’t fit, the notch may need to be enlarged. Then remove the drilling templates and prepare panel labels. These can be laminated paper or labels printed onto transparency film. Cut out the holes using a sharp knife and then glue the labels in place. The bottom of the case has eight moulded plastic posts. The PCB attaches to the four outer ones but the inner posts would interfere with solder joints so remove them using side-cutters or a file. Then fit the panels at both ends of the PCB and lower the assembly it into the case, fixing in place with four self-tapping screws. Plug in the nine terminal blocks and attach the lid and the unit is complete. outputs, supply the appropriate voltage and check that everything is working as expected. Testing RGB LEDs Apply 12V or so to the supply connector, observing the marked polarity. The green LED should light. Check that the current draw is around 15mA. If it is significantly more then switch off and check the board for faults. Connect the slave’s control input to the master unit and play the test sequence (see the Digital Lighting Controller articles, October-December 2010). With the slave powered up, the red LEDs should show the expected patterns. Ensure that they all light and that their brightness varies correctly. Don’t forget to set up the DC slave in the configuration file. Assuming this is the first/only slave attached, it should contain these lines: As well as single-colour LEDs. the LED slave can be used with common anode RGB LED strips (eg, Jaycar ZD-0478). Connect the three cathodes (red, green and blue) to the negative output terminals of separate channels (ideally, consecutive channels). Connect the common anode to any of the three corresponding positive outputs. The sequence then determines the colour of the LEDs; by turning two or three outputs on at once, with varying brightness, a wide range of colours can be produced. The PC software can be configured to display the channels as red, green and blue as appropriate (see the December 2010 issue for more information on how to use this software). Since each RGB LED strip takes up three channels, you can drive up to two strips with a single slave (leaving two spare channels), five strips from two slaves (with one spare channel), eight strips from three slaves and ten strips from four slaves (with two spare channels). SC triac turnoff 1 = delayed slave type 1 = DC You can then remove power, attach LED strings to the 32  Silicon Chip Using it For reliable operation, ensure that the current ratings are not exceeded. These are specified as RMS figures since the light output will be constantly changing. The peak current can briefly exceed these limits. While each channel can deliver 2.5A RMS, the incoming supply current is limited to 10A RMS and so you can’t drive all eight channels at this current simultaneously (8 x 2.5A = 20A). If the total driven LED current can exceed 10A, be careful that it only does so briefly if at all. The fuse limits the peak supply current. While a 10A fuse will not blow immediately at say 15A, repetitive excursions far above its rated current can weaken the fuse wire and eventually lead to failure. A slow-blow fuse provides more leeway. Even so, it’s best to keep the peak current to a reasonable value (say, about 15A for one second) to avoid overheating and damaging the PCB tracks. siliconchip.com.au INTO SPRING THREAD REPAIR KIT INDUSTRIAL STEP DRILLS SECOND CUT FILE SET • Metric (5,6,8,10,12mm) SAVE • 110 stainless steel threads $ 14.90 • Includes drill & tap for each size • Suitable for sheet metal • Industrial quality • HSS M2 bright finsih • Sizes: 4-12 x 1mm 6-20 x 2mm 6-30 x 2mm • Cushion grip handles • Flat, round, 1/2 round, square & triangular • 5 piece • 200mm FOR GREAT DEALS TOOL CHEST & ROLLER CABINET SB-100 SAND BLAST CABINET 6 DRAWERS (T690) TOOL CHEST • 590 x 500 x 360mm • Bench model • Steel cabinet • Includes: work light, ceramic nozzles, gun & gloves • Recommended to use 1 x 25kg abrasive grit • Unique drawer interlocking system, Lockable by key • Ball bearing slides 99 (T690) $ 5 DRAWERS (T695) ROLLER CABINET • Ball bearing slides 198 (T695) $ PACKAGE PRICE • Automatic centre punch is ideal for punching most metals, plastic and wood. No need to use a hammer just line up, press hard to automatically punch a centre point • 130mm long • Ø13mm diameter • Knurled steel body 9 (P366) SOLID CARBIDE BURR SET - 5 PIECE $ 70 (D1071) PIN PUNCH SET - 6 PIECE $ • (Punch diameter x shaft hex x length) • Ø3 x 10 x 150mm • Ø4 x 10 x 150mm • Ø5 x 10 x 150mm • Ø6 x 10 x 150mm • Ø7 x 12 x 150mm • Ø8 x 12 x 150mm 29 (F100) PUNCH & CHISEL SET $ - 14 PIECE • 5 x flat cold chisels • 4 x tapered punches • 4 x pin punches • 1 x center punch SAFETY SPECS & FACE SHIELD • Clear indoor use • U.V. protection • Hard-coat anti-scratch lens - 170 PCE SAVE 46.90 • 1-10mm • High speed steel $ 11 (W105) • Vector smoke outdoor use • U.V. protection • Hard-coat anti-scratch lens 18 (P365) SPRING CALIPERS 45 (P364) DRILL SHARPENER $ $ • EDBD-13 economy • 80 Watts, 240V, 4200rpm motor • 3-13mm capacity SAVE • Split point operations $ 17.50 • 118º angle 11 (W106) LETTER & NUMBER PUNCH SETS $ 139 (D126) INDUSTRIAL STEEL SHELVING $ 9 (Q634) 9 (Q635) $ 79 (B900) 9 (Q636) MOBILE STORAGE SHELVING SYSTEM $ SAVE $ 22 • 1955 x 610 x 1830 (LxWxH) • Vertical posts have double sided punched holes allowing to link units together • Silver corrosive resistant powder coated 364kg finish • 364kg per shelf capacity 39 (P350) $ 18 (P351) $ 49 (P354) $ $ $ 109 (D070) 297 (S010) 22 (P355) HM-10 MINI MILL DRILL & AL-30 BENCH LATHE PACKAGE 3/16" Letter 3/16" Number 5/16" Letter 5/16" Number $ Dividers $ Inside $ Outside 364kg 364kg HM-10 • 3 x shelves - adjustable height • 1 x square hole panel • 2 x louvre panels • 300kg load capacity • Handle either side for easy movability • Large base for extra storage • 2 x swivel wheels • 2 x fixed wheels • Powder coated grey finish • Dimensions - 886 x 650 x 1405mm • 350W, 240V motor • 385mm x 93mm table • Electronic variable speed • Head tilts ±45º both directions • Ground work table with T-slots • Spring return assisting milling head • Vertical micro feed dial 0.025mm • Metric dial graduations 0.02mm • 2-speed gearbox (high / low) drive system to maximise torque • Travels: (X) 228mm (Y) 100mm (Z) 190mm 352 (T790) $ SAVE $ 33 TOOL SET INCLUDED AL-30 OPTIONAL ACCESORIES 2.75 3.30 4.40 9.90 13.20 $ $ $ $ $ 3.30 4.40 9.90 13.20 $ $ $ $ * Shown with optional accessories (A440) (A442) (A444) • 250W 240V motor • 300mm between centres • 90mm centre height • 20mm spindle bore • Cast Iron ribbed bed • Dovetailed cross and compound slides • Electric variable speed 0-2500rpm • High/low speed gear lever • Forward/reverse spindle direction switch • Precision ‘V’-beds are hardened and ground • Conveniently mounted safety emergency stop switch • Includes a set of change gears for metric thread cutting Includes 5 piece 8mm turning tool set (A446) (A448) (A430) (A432) (A434) SAVE $ 122 (A436) SYDNEY (02) 9890 9111 Unit 1/2 Windsor Rd, Northmead NSW siliconchip.com.au 180 (S288) WORKSHOP DRILL SET $ $ • Double cut • 3/8" & 1/2" sizes • Industrial quality • 1/4" shanks HOOKS Single Hook 75mm long Double Hook 75mm long Plier Holder - 3 Prong 150mm long Spanner Holder - 135mm long Screwdriver Holder - 390mm long BUCKETS Plastic Buckets - 110 x 105 x 50mm Plastic Buckets - 140 x 105 x 75mm Plastic Buckets - 220 x 140 x 125mm Plastic Buckets - 270 x 140 x 125mm 279 (T690 + T695) $ SAVE $ 18 MELBOURNE (03) 9212 4422 1 Fowler Rd, Dandenong VIC PACKAGE PRICE $1,495 (L194 + M150) BRISBANE (07) 3274 4222 626 Boundary Rd, Coopers Plains QLD PERTH (08) 9373 9999 ctober 41-43 Abernethy Rd, BelmontOWA www.machineryhouse.com.au Specifications & Prices are subject to change without notification. All prices include GST and valid until 25-10-11 2011  33 8_SC_280911 149 (T100) AUTOMATIC CENTRE PUNCH $ SAVE $ 20 Don’t let this happen to you! Build a . . . Loudspeaker Protector T HE SPEAKER in the above photo is well on fire and this could be the result of a relatively minor fault in an audio amplifier. As anyone who has been following our series on the Ultra-LD Mk.3 Amplifier would be well aware, big power amplifiers have big power supplies and so a relatively 34  Silicon Chip minor fault in one channel of a stereo amplifier can result in a large DC voltage being applied to one of your precious (and expensive) loudspeakers. Once that happens, your speaker is kaput! If you’re lucky, the woofer’s voice coil will quickly burn out and that will be the end of it – it’s unlikely that the amplifier’s fuses will blow in time to save your loudspeaker. You will then probably have to scrap the loudspeaker although if you are lucky and if it is economic, you might be able to have it repaired. But you might not be that fortunate and the consequences could be a siliconchip.com.au D1 1N4004 A K CON1 *20V DC + INPUT – 33k 100k *SEE TEXT FOR HIGHER 33k 100k VOLTAGE OPTIONS CON2 AC SENSE INPUT (50V AC MAX.) D2 1N4004 A K 100 10k B 0.5W A K C E Q1 BC546 100 C B E 470nF MKT 12k E Q2 BC546 Q3 BC546 D4 1N4148 A K D5 1N4004 K 47 F 63V D3 1N4004 10 A ZD1 12V 1W POWER-UP DELAY LOSS-OF-AC DETECTION Q4 BC556 C R2 0 (LINK) C B E B R1 2.7k K RLY1 24V 650 A RELAY DRIVER CON3 OVER-TEMP SWITCH INPUT FROM RIGHT AMP SPEAKER OUTPUTS TO RIGHT SPEAKER RSPKIN+ RSPKIN– Q5 BC546 C E 47k 1W RLY1a 47 F 50V NP RSPKOUT+ LSPKIN+ TO LEFT SPEAKER LSPKOUT– C C E E C C E Q7 BC546 B 22k LSPKIN– DC DETECTION Q8 BC546 C E 47k 1W RLY1b 47 F 50V NP Q9 BC556 B Q10 BC546 B 22k LSPKOUT+ BC546 BC556 DIODES (D1-D5 & ZD1) A 2011 B E RSPKOUT– FROM LEFT AMP SPEAKER OUTPUTS SC  Q6 BC556 K B E C SPEAKER PROTECTION & MUTING SUPPLY RAIL R1 20V 2.7k 0.25W R2 0  (LINK) 40V 4.7k 0.25W 470  5W 52.5V 8.2k 0.5W 820  5W 57V 8.2k 0.5W 1k 5W 70V 12k 1W 1.2k 10W Fig.1: each channel of the amplifier is monitored for DC faults by three transistors – Q5-Q7 for the right channel & Q8-Q10 for the left. If DC is detected, these pull Q3’s base low which then turns off Q4 and the relay to disconnect the speakers. Q1 & Q2 provide the switch-off muting feature, while CON3 accepts a normally-open temperature switch. whole lot worse. Now, instead of suddenly burning out, the voice coil stays intact and gets red-hot, as you would expect it to – it is dissipating many hundreds of watts. After all, voice coils are quite small and they normally operate in the very confined space of the speaker magnet’s voice coil gap. With a large DC fault voltage across the voice coil, the speaker will either jump forward out of the gap or jump back as far as it can go. The latter is probably the worse scenario since the voice coil can then get even hotter and soon sets the speaker cone on fire. siliconchip.com.au The sequence of photos shown elsewhere in this article show how the whole speaker cone can catch fire within just a few seconds. A few seconds later and those flames were producing copious amounts of smoke. If we hadn’t been on the spot to put the fire out by laying the speaker face down on the concrete, the fire could have spread to who knows where. If that happened in your home and you were not present to take very quick action, you could lose your home and everything in it. This sort of thing really can and does happen! Don’t let it happen to your stereo system. This loudspeaker protector and muting circuit can prevent such disasters. Main features Originally designed for the Class-A Stereo Amplifier describ­ed in the JuneSeptember 2007 issues of SILICON CHIP, the 2-channel loudspeaker protector described here (in slightly modified form) is also eminently suitable for use with the new Ultra-LD Mk.3 Amplifier module. In fact, it can be used with just about any audio amplifier, October 2011  35 Q5 BC546 C E B Q6 BC556 C B 7002 Q4 BC556 E R2* 5W/10W 33k ZD1 100k D4 63V 12V/1W D1 1N4004 100 B B C Q8 BC546 E C C E B BC546 1N4148 100 E 470nF + B Q9 BC556 B E Q2 C BC546 C B E Q1 22k BC546 C 1747 07 02 F 10 100k Q10 50V NP E 10 47k 1W 47 F C 1N4004 D3 OPERATION LINK FOR 20-24V D5 1N4004 33k Q3 BC546 12k E C 10k C D2 1N4004 22k BC546 50V NP 47 F 47k 1W +TUOKPSR LEFT SPEAKER OUT+ TO LEFT SPEAKER B B 1N 4148 LEFT SPEAKER IN+ E Q7 2.7k R1* 24VDC 10A +NIKPSR FROM LEFT AMP SPEAKER OUTPUTS -NIKPSR LEFT SPEAKER IN/OUT– RLY1 -NIKPSL RIGHT SPEAKER IN/OUT– +NIKPSL RIGHT SPEAKER IN+ FROM RIGHT AMP SPEAKER OUTPUTS +TUOKPSL RIGHT SPEAKER OUT+ TO RIGHT SPEAKER CON3 * SEE TABLE ON FIG.1 FOR RESISTOR VALUES OVER-TEMP SWITCH INPUT CON2 AC SENSE INPUT CON1 + – 20V DC POWER INPUT Fig.2: follow this layout diagram to install the parts on the board. Note that the final version of the PCB supports both double-ended spade connectors (attached using M4 screws & nuts – see Fig.3) and the solderable PC-mount vertical spade connectors as shown in the photo. Refer to the table on Fig.1 for the values of resistors R1 & R2. either mono or stereo. It provides the following functions: (1) it protects the loudspeakers against catastrophic failure in the amplifier, eg, if an output transistor goes short circuit or one supply fuse blows; (2) it provides muting at switch-on and switch-off, to prevent thumps from the loudspeakers; and (3) it provides an input for an overtemperature switch to disconnect the loudspeakers if the output stage heatsink rises above a certain temperature. In the latter case, disconnecting the loudspeaker from a class-B amp­ lifier immediately reduces the current through the output stage to the quiescent current setting. This is typically around 50-200mA, assuming that there’s no fault in the amplifier. So for a class-B amplifier, it makes sense to use over-temperature sensing. If the heatsink to which the output transistors are attached gets too hot, disconnecting the loudspeaker immediately reduces the dissipation to just a few watts, which allows the heatsink to cool. Protecting against fire As mentioned at the start of this article, by far the biggest reason for incorporating speaker protection into an amplifier is to prevent further damage and possible fire in the case of a serious amplifier fault. In the Ultra-LD Mk.3 Amplifier, the main supply rails are ±57V DC. As a result, if an output transistor fails (or if one side of the output stage turns hard-on due to a fault elsewhere in the amplifier) and there’s no loudspeaker protection, this could apply one of the full 57V DC rails to the loudspeak­er. If the on-board supply fuse didn’t blow fairly quickly (a strong possibility), the voice coil would quickly become red-hot. This risk applies to any audio power amplifier of more than about 40W per channel. Muting the thumps Muting switch-on and switch-off thumps is another important function of this unit. Switch-on thumps are eliminated by using a simple circuit to delay the Resistor Colour Codes o o o o o o o o o o No. 2 2 2 2 1 1 1 2 1 36  Silicon Chip Value 100kΩ 47kΩ 1W, 5% 33kΩ 22kΩ 12kΩ 10kΩ 2.7kΩ 100Ω 10Ω 4-Band Code (1%) brown black yellow brown yellow violet orange gold orange orange orange brown red red orange brown brown red orange brown brown black orange brown red violet red brown brown black brown brown brown black black brown 5-Band Code (1%) brown black black orange brown not applicable orange orange black red brown red red black red brown brown red black red brown brown black black red brown red violet black brown brown brown black black black brown brown black black gold brown siliconchip.com.au relay from turning on when power is first applied. This allows the amplifier modules to power up and settle down before the relay switches on (after about five seconds) to connect the speakers. By contrast, switch-off thumps are eliminated by using an “AC Sense” input to monitor the secondary AC voltage from the transformer (30VAC in the case of the Ultra-LD Mk.3 and up to 50VAC maximum). When this AC voltage disappears at switch-off, the circuit switches the relay off in less than 100ms. This is much faster than simply relying on the collapsing DC supply rail to turn to the relay off. In practice, this could take 0.5 seconds or more as the main filter capacitors discharge – more than long enough for any switch-off thumps to be audible. Circuit details Refer now to Fig.1 for the circuit details. It’s virtually the same as the circuit published in July 2007 with just a couple of minor modifications. We’ll come to those shortly. As shown, each channel of the amplifier is con­nected to the NC & NO (normally closed & normally open) con­tacts of a relay. The relay wipers and NC contacts then each respectively connect to the positive and negative loudspeaker terminals. Each channel of the amplifier is monitored for DC faults by a triplet of transistors – Q5, Q6 & Q7 for the right channel and Q8, Q9 & Q10 for the left channel. We’ll look at the operation of the right channel only, as the circuit for the left channel is identi­cal. As shown, the active signal from the amplifier’s right channel is fed to a low-pass filter consisting of a 47kΩ resistor and a 47μF 50V bipolar (BP or NP) electrolytic capaci­tor. The original circuit used a 2-pole filter consisting of two 22kΩ resistors and two 47μF bipolar capacitors in this position but we’ve modified it to a single-pole filter to achieve a faster response – see panel. The low-pass filter network removes any audio frequencies so that transistors Q5-Q7 simply monitor the output of the amplifier for DC voltages (if present under fault conditions). This is done because we don’t want audio signals to trip the protection cir­cuit. The low-pass filter output is connected to the emitter of Q5 and to the base of Q7. Q5 monitors the amplifi­er’s siliconchip.com.au This assembled PCB differs slightly from the version shown in Fig.2, as it suits the Altronics PC-mount vertical spade connectors. Modifying The Circuit For A Faster Response As stated in the main article, we modified the original Loudspeaker Protector circuit published in July 2007 to reduce the switch-off delay in the event of an amplifier fault. This was done by removing one of the two cascaded RC low-pass filters at each input, which means that the circuit now uses singlepole filters instead. In practice, this simply involved re­ moving a 22kΩ resistor and a 47μF bipolar capacitor from both the left and right inputs and replacing the resistors with wire links. The filter corner frequency is essentially unchanged as the resistor value in the remaining filter in each channel is doubled from 22kΩ to 47kΩ. The logic behind the original 2-pole filter was that the -12dB/octave slope allowed a higher -3dB point than is possible with a single-pole filter (-6dB/ output for negative DC signals while Q7 monitors for positive DC signals. In operation, Q7 turns on if a DC signal of more than +0.6V is present on its base. Similarly, Q5 turns on if a DC signal of more than -0.6V is present on its emitter. This in turn pulls Q6’s base low and so Q6 also turns on. Normally, in the absence of any am- octave). This should provide a faster response to DC faults while preserving the necessary large amplitude bass signal rejection. However, this ignores the 2-pole filter’s larger phase shift of 180° rather than 90°. The delay created by this phase shift more than offsets the benefit from the higher corner frequency! According to Douglas Self, the singlepole filter has a 78ms response time, compared to 114ms for the 2-pole filter (see Audio Power Amplifier Design Handbook, Fifth Edition, Chapter 17: “Amplifier and Loudspeaker Protection”). That does not include the relay switching time, which will be around 10ms. But it is clearly a worthwhile improvement and also reduces the parts count and the cost. So making the change is a “nobrainer”. plifier faults, transistors Q5-Q7 are all off and Q3 is biased on via the 100kΩ resistor connected between its base and the positive supply rail (ignore Q1 & Q2 for the time being). As a result, Q3 pulls Q4’s base down (via resistor R1) to just over 12.6V, as set by diode D4 and zener diode ZD1, and so Q4 and relay RLY1 are also on. Now let’s consider what happens October 2011  37 Temperature Sensors Temperature sensors are variously called “thermostat switches”, “thermal cutouts” and “thermal circuit breakers” and are available in a range of trip temperatures from 50-100°C. Both NO and NC (normally-closed) temperature sensors are available but the temperature sensor used with this unit must be a normally open (NO) type. A thermal cutout rated at 70°C (eg, Jaycar ST3831) is suitable for the Ultra-LD Mk.3 amplifier (and for earlier versions of this module). Alternatively, use the Altronics S5591 which is rated at 60°C. if an amplifier fault condition results in DC being present at its output. In this case, either Q6 or Q7 turns on and pulls Q3’s base low via a 10Ω resistor. And when that happens, Q3, Q4 and the relay all immediately turn off, disconnecting the speakers. Diode D5 protects Q4 by quenching any back-EMF spikes that are generated when the relay switches off. Transistors Q8, Q9 and Q10 monitor the left channel of the amplifier and they switch Q3, Q4 and the relay in exactly the same manner. Relay specifications The relay selected for the job is a 24V DC DPDT type with contacts rated at 10A. There are two reasons for this high contact rating. First, we want the contact resistance in the relay to be as low as possible so that it has negligible effect on the amplifier’s per­formance, as regards to distortion, damping factor and so on. Second, the relay contacts have to pass and break the heavy DC current which would otherwise flow through the loudspeaker if a fault occurs in the amplifier. However, we don’t merely use the relay to disconnect the amplifier’s output from the speakers. If we simply did this, it’s possible that the contacts would just arc across and so the heavy DC current would continue 38  Silicon Chip to flow through the loudspeaker. That might seem unlikely but when you have a heavy DC cur­rent, an inductive load and a high DC voltage pushing it along, it can be quite hard to break the circuit. This problem is solved by shorting the moving relay contacts to the loudspeaker ground lines (via the otherwise unused NC contacts) when the relays turn off. This diverts the arc current to chassis and ensures that the fuses blow on the amplifier. By the way, the specified relay (Altronics S-4313) has an in-built green LED that lights when the relay turns on. This lets you quickly check the status of the relay during testing but is not really necessary. Muting delay at switch-on Switch-on muting is achieved using a delay circuit. This consists of a 100kΩ resistor and a 47μF capacitor connected to Q3’s base, along with diode D4 and zener diode ZD1. When power is first applied, the 47μF capacitor is discharged and Q3’s base is held low. As a result Q3, Q4 and the relay all remain off. The 47μF capacitor then charges via the 100kΩ resistor until, after about five seconds, it reaches 13.2V. This forward biases Q3 which then turns on Q4 and the relay to connect the loudspeakers. This 5s delay is more than sufficient for the amplifier modules to achieve stable operating conditions. Switch-off muting Transistors Q1 & Q2 and diodes D2 & D3 provide the switch-off muting function. D2 & D3 rectify the AC voltage that’s fed to the “AC Sense” input (at connector CON2) from a transformer secondary winding. Provided this AC voltage is present, the rectified output forward biases Q1 and keeps it turned on. This holds Q2’s base low and so Q2 is off and Q3 functions normally. The 100kΩ resistor and the 470nF capacitor on Q2’s base form a time constant. This is long enough to ensure that Q2 remains off when Q1 very briefly turns off around the AC zero crossing points. However, if the AC signal ceases (ie, at switch off), Q1 immediately turns off and Q2 turns on and quickly discharges (within a millisecond or so) the 47μF timing capacitor via a 100Ω resistor. As a result, Q3, Q4 and the relay all turn off and the loudspeakers are disconnected, thereby eliminating any switch-off thumps. Over-temperature input Connector CON3 is the temperature sensor input. It relies on the use of a normally-open (NO) thermal switch that’s bolted to the heatsink used for the amplifier’s output transistors. Basically, this input is wired in parallel with transistors Q6 & Q7 (and Q9 & Q10) and it controls transistor Q3 in exactly the same manner. When the temperature reaches a preset level (set by the switch itself), the contacts inside the thermal switch close and pull Q3’s base low via a 10W resistor. As a result, Q3 turns off and this switches off Q4 and the relay. When the heatsink subsequently cools down, the thermal cutout opens again and Q3, Q4 and the relay turn on to reconnect the loudspeakers. In a stereo amplifier, two identical temperature sensors are used – one for each heatsink (assuming the power amplifiers use separate heatsinks). These are simply wired in parallel and connected to CON3. Power supply Power for the Loudspeaker Protection circuit is derived from a suitable DC rail within the amplifier. This can range anywhere from about 20V DC up to 70V DC. In the case of the Ultra-LD Mk.3 Amplifier, the +20V and 0V rails from the power supply board are used. The “AC Sense” signal is picked up directly from the AC terminals on the bridge rectifier on the same board. Note that the values shown for R1 & R2 on Figs.1 & 2 assume a 20-24V supply rail. If the DC supply rail is higher than this, then resistors R1 and R2 must be changed to ensure a base current of about 3-5mA for Q4 (as set by R1) and to ensure that no more than about 24V DC is applied to the relay (set by R2). In the latter case, it’s just a matter of selecting R2 so that the relay current is about 37mA (the relay has a coil resistance of about 650Ω). The table included with Fig.1 shows the resistor values to use with a number of supply rails. Building it The parts for the Speaker Protection & Muting Module are all mounted on a PCB coded 01207071. This board is the siliconchip.com.au Attaching The Spade Lug Connectors Fig.3 (right) shows how the doubleended spade lugs are mount­ed. Each lug is secured using an M4 x 10mm screw, a flat washer (which goes against the PC board pad), an M4 star lockwasher and an M4 nut. The trick to installing them is to first do the nut up finger-tight, then rotate the spade lug assembly so that it is at a right-angle to the PC board. A screwdriver is then used to hold the M4 screw and the spade lug stationary while the nut is tightened from below using an M4 socket and ratchet. same as the one used in July 2007 – it’s simply a matter of leaving out the two unwanted capacitors and installing a couple of wire links (or 0Ω resistors) in place of the deleted 22kΩ resistors. The other two 22kΩ pull-down resistors (to the left of Q5 and to the left of CON3) remain in circuit. Fig.2 shows the revised PCB layout. Mount the resistors and diodes first, taking care to ensure that the diodes are all oriented correctly. Install a 2.7kΩ 0.25W resistor for R1 and a link for R2 if you are building the unit for the Ultra-LD Mk.3 Amplifier. Alternatively, select these resistors from the table shown in Fig.1 if you intend using a supply rail greater than 24V. If the supply rail is between the values shown in the table, simply scale the resistor values accordingly and use the nearest preferred value. The six double-ended spade lugs for the speaker input and output terminals are attached using M4 x 10mm screws, flat washers, star washers and nuts. Fig.3 shows the details. Note that, ideally, the double-ended spade lugs supplied should be 90° types. If you are supplied with 45° types, just bend the lugs to 90° before installing them on the board. Alternatively, the final version of the PCB will also have provision to accept 6.3mm PC-mount vertical spade connectors (Altronics H2094), as shown in the photo. The transistors, the electrolytic capacitor and the bipolar capacitors can now be installed. The two 47μF bipolar capacitors can go in either way around but watch the orientation of the polarised 47μF 63V electrolytic capacitor. siliconchip.com.au Fig.3: attach the six double-ended spade lugs to the PCB as shown in this diagram. Do the nut up nice and tight to ensure a good connection and to ensure that the assembly does not rotate. Finally, you can complete the board assembly by fitting the three 2-way terminal blocks and the DPDT relay. Testing If you have a suitable DC supply, you can test the unit prior to installing it. To do this, connect the supply to CON1 and install a wire link between one of the CON2 “AC Sense” input terminals and the positive supply rail (this is done to ensure transistor Q1 turns on). Do not connect anything to the temperature switch input or to the speaker terminals at this stage. Next, apply power and check that the relay turns on after about 5s. If it does, temporarily short the temperature switch input – the relay should immediately switch off. Similarly, the relay should immediately switch off if you disconnect the link to the “AC Sense” input. The next step is to check that the relay switches off if a DC voltage is applied to the loudspeaker terminals (this simulates an amplifier fault condition). To do this, apply power, wait until the relay switches on, then connect a 3V (2 x 1.5V cells in series) or 9V battery (either way around) between the ground (-) terminal of CON1 and the LSPKIN+ terminal. The relay should immediately switch off. Repeat this test for the RSPKIN+ terminal, then reverse the battery polarity and perform the above two tests again. The relay should switch off each time the battery is connected. Note that we don’t connect to the LSPKIN- or RSPKIN- terminals for this test because these two inputs are fully floating at this stage. That changes when the Speaker Protector module Parts List 1 PCB, code 01207071, 112.5mm x 80mm 1 10A 24V DPDT PC-mount relay (Altronics S-4313) 3 2-way 5mm or 5.08mm pitch terminal blocks (CON1-CON3) 4 M3 x 10mm tapped spacers 4 M3 x 6mm pan head screws 6 M4 x 10mm pan head screws 6 M4 flat washers 6 M4 shakeproof washers 6 M4 nuts 6 6.3mm double-ended 45° or 90° chassis-mount spade lugs (Altronics H-2261, Jaycar PT-4905) OR 12 x 6.3mm PC-mount vertical spade connectors (Altronics H2094) 0.7mm diameter tinned copper wire for links Semiconductors 7 BC546 NPN transistors (Q1-Q3, Q5, Q7, Q8 & Q10) 3 BC556 PNP transistors (Q4, Q6 & Q9) 4 1N4004 diodes (D1-D3, D5) 1 1N4148 diode (D4) 1 12V 1W zener diode (ZD1) Capacitors 1 47μF 63V PC electrolytic 2 47μF 50V non-polarised (bipolar) electrolytic (Altronics R-6580, Jaycar RY-6820) 1 470nF 50V metallised polyester (MKT) Resistors (0.25W, 1%) 2 100kΩ 1 10kΩ 0.5W 2 33kΩ 1 2.7kΩ 2 22kΩ 2 100Ω 1 12kΩ 1 10Ω 2 47kΩ 1W 5% is installed in a chassis and the loudspeaker leads are connected, because the negative loudspeaker terminals on the amplifier are connected to chassis (via the power supply). Troubleshooting If the relay doesn’t activate when power is applied, switch off immediately and check for wiring errors, eg, incorrect supply polarity, a transistor in the wrong location etc. If this doesn’t locate the fault, switch on and check the supply voltage, then check the voltages around the transistors. October 2011  39 Setting The Loudspeaker On Fire These three photos, taken at 3-second intervals, illustrate just how quickly the fire takes hold once the cone ignites. To obtain the sequence of photos for this article, we engaged in some deliberate vandalism! To simulate what can happen when a DC fault occurs in a big stereo power amplifier, we actually connected the nominal 57V DC rail of our prototype power supply for the Ultra-LD Mk.3 power amplifier to a loudspeaker. This power supply employs a 300VA transformer and while its continuous rating is 300VA it can deliver a lot more than that in the short term. If you get a DC fault in a power amplifier, the normal result is that it applies the full DC supply (positive or negative) to the loudspeaker. You cannot rely on the amplifier fuses to blow quickly; to blow quickly, they need to carry a current which is two times their rating or more. As preparation for this staged disaster we first connected one of the 57V rails across an 8-ohm resistive load. Under these conditions, the supply dropped to about 47V. This means that 276W was dissipated in the load; quite enough to cause a fire in the wrong circumstances. And note that the fault current of 5.9A would definitely not blow the on-board 6.5A fuses in the Ultra-LD Mk.3; they will happily run all day with that current. Q3’s emitter should be at about 12.6V and its collector at 12.8V, while both Q3 and Q4 should have base-emitter voltages of 0.6V. Similarly, Q1 should have a baseemitter voltage of 0.6V (provided the link between the “AC Sense” Input and the positive supply terminal is in place) but transistors Q2 & Q5-Q10 40  Silicon Chip We then measured the DC resistance of the loudspeaker victim (actually the Minstrel 2-way 8-inch loudspeaker we described in the February 1989 issue). It was about 7.6Ω. Again, doing the calculations, a DC fault in the Ultra-LD could be expected to deliver almost 300W into the 25mm voice coil of the poor unsuspecting loudspeaker. We duly set up the test with the loudspeaker on a stand and with cameras at the ready, one of them being set to video the event. After a quick measurement, we switched on the fault. This produced a loud click from the loudspeaker and the cone jumped out about 2cm; probably to the limit of suspension travel. There was a fairly pronounced hum for a few seconds and then silence. Bugger! The voice coil had obviously burnt out! We quickly felt around the front of the voice coil dust cap and noted that it was quite hot and also had a distinct burning smell. Well that was that but we still needed some photos to demonstrate what can really happen if the voice coil stays intact for just a bit longer. Being ever resourceful (and using generous journalistic licence), should all be off – ie, they should have base-emitter voltages of 0.2V or less. If Q3’s base voltage is low (around 0.2V), it could mean that Q2 is on and Q1 is off, possibly due to no voltage being applied to Q1’s base. Alternatively, one of the transistors in the speaker input monitoring circuits (ie, Q5-Q10) could be faulty (short circuit). we just happened to have a propane gas lighter handy. We lightly touched its very small flame to the speaker’s cone, just below the dust cap. It was already so hot that it immediately caught fire and within seconds the whole cone was well alight with lots of flame and smoke, as can be seen in the sequence of photos. Within just a few seconds more, this would be enough to set a whole room alight with really dire consequences for anyone in the house. Need we say more. Do not imagine for a moment that this sort of thing cannot happen to you. In fact, our calculations show that the bigger the power amplifier, the more risk of a catastrophic fire if the amplifier does not have an in-built loudspeaker protector to disconnect the speakers in the case of a DC fault. After we had extinguished the fire by putting the loudspeaker face down onto the concrete in our company parking area, we took some additional photos which showed that the bonded acetate fibre filling behind the speaker had been already alight. When this stuff burns it produces copious quantities of thick black acrid smoke. Enough said. You can quickly isolate which circuit section is at fault by disconnecting the 10W and 100W resistors to Q3’s base. Just remember that all transistors that are turned on will have a baseemitter voltage of about 0.6V. This should enable you to quickly locate SC where the trouble lies. siliconchip.com.au AV N AI OW LA BL E ! for recent projects in SILICON CHIP Looking for a PCB to build that latest and greatest SILICON CHIP project? Now you can get it direct from SILICON CHIP. Beautifully made, very high quality fibreglass boards with pre-tinned tracks, silk screen overlays and where applicable, solder masks. Best of all, those boards with fancy cut-outs or edges are already cut out to the SILICON CHIP specifications – no messy blade work required! • Most boards are IN STOCK and ready for despatch. • Even if stock runs out (eg, for high demand), no longer than a two-week wait in most cases. • Always be guaranteed that the boards will be the latest versions with any modifications already done! • One low p&p charge: $10 per order, regardless of how many boards you order! • New project boards will normally be available within days of the magazine on-sale date: no waiting! • If the PCB you want isn’t listed here . . . please ask! (Note: some copyrighted PCBs are not available). ORDER BY PHONE: (02 9939 3295, 9am-4pm Mon-Fri) FAX: (02 9939 2648, 24 hours/7 days) EMAIL: (pcbs<at>siliconchip.com.au, 24 hours/7 days) a a a Current: Oct11 siliconchip.com.au PROJECT STUDIO SERIES RC MODULE RIAA PREAMPLIFIER SPEAKER PROTECTION AND MUTING MODULE ROLLING CODE KEYLESS ENTRY RX CDI MODULE SMALL PETROL MOTORS CAR SCROLLING DISPLAY USB-SENSING MAINS POWER SWITCH 433MHZ UHF REMOTE SWITCH UHF ROLLING CODE TX UHF ROLLING CODE RECEIVER STEREO DAC BALANCED OUTPUT BOARD ELECTROLYTIC CAPACITOR REFORMER ULTRASONIC ANTI-FOULING FOR BOATS TOSLINK TO S/PDIF/COAX CONVERTER DIGITAL LIGHTING CONTROLLER SLAVE UNIT UNIVERSAL USB DATA LOGGER HOT WIRE CUTTER CONTROLLER 433MHZ SNIFFER CRANIAL ELECTRICAL STIMULATION HEARING LOOP SIGNAL CONDITIONER LED DAZZLER 12/24V 3-STAGE MPPT SOLAR CHARGER SIMPLE CHEAP 433MHZ LOCATOR THE MAXIMITE UNIVERSAL VOLTAGE REGULATOR 12V 20-120W SOLAR PANEL SIMULATOR MICROPHONE NECK LOOP COUPLER PORTABLE STEREO HEADPHONE AMP CHEAP 100V SPEAKER/LINE CHECKER PROJECTOR SPEED CONTROLLER SPORTSYNC AUDIO DELAY 100W DC-DC CONVERTER PHONE LINE POLARITY CHECKER 20A 12/24V DC MOTOR SPEED CONTROLLER MK2 USB STEREO RECORD/PLAYBACK VERSATIMER/SWITCH USB BREAKOUT BOX ULTRA-LD MK3 200W AMP MODULE PORTABLE LIGHTNING DETECTOR RUDDER INDICATOR FOR POWER BOATS VOX ELECTRONIC STETHOSCOPE DIGITAL SPIRIT LEVEL/INCLINOMETER ULTRASONIC WATER TANK METER UPGRADE FOR ULTRA-LD MK2 AMPLIFIER ULTRA-LD MK3 AMPLIFIER PT 3: POWER SUPPLY HIFI STEREO HEADPHONE AMPLIFIER DIGITAL LIGHTING CONTROLLER LED SLAVE QUIZZICAL QUIZ GAME CODE DATE PUBLISHED 01104061 APRIL 2006 01108061 AUG 2006 01207071 JULY 2007 01510071 OCT 2007 05105081 MAY 2008 05101092 DEC 2008 10101091 JAN 2009 15101092 JAN 2009 15008091 AUG 2009 15008092 AUG 2009 01101101 JAN 2010 04108101 AUG 2010 04109101 SEP 2010 01210102 OCT 2010 16110102 OCT 2010 04112101 DEC 2010 18112101 DEC 2010 06101111 JAN 2011 99101111 JAN 2011 01101111 JAN 2011 16102111 FEB 2011 14102111 FEB 2011 06102111 FEB 2011 06103111 MAR 2011 18103111 MAR 2011 04103111 MAR 2011 01209101 MAR 2011 01104111 APRIL 2011 04104111 APRIL 2011 13104111 APRIL 2011 01105111 MAY 2011 11105111 MAY 2011 12105111 MAY 2011 11106111 JUNE 2011 07106111 JUNE 2011 19106111 JUNE 2011 04106111 JUNE 2011 01107111 JULY 2011 04107111 JULY 2011 20107111/2/3/4 JULY 2011 01207111 JULY 2011 01108111 AUG 2011 04108111 AUG 2011 04109111 SEP 2011 01209111 SEP 2011 01109111 SEP 2011 01309111 SEP 2011 16110111 OCT 2011 08110111 OCT 2011 PRICE $25.00 $25.00 $30.00 $25.00 $15.00 $25.00 $45.00 $15.00 $10.00 $45.00 $25.00 $65.00 $25.00 $10.00 $65.00 $25.00 $25.00 $10.00 $30.00 $30.00 $25.00 $25.00 $5.00 $25.00 $15.00 $25.00 $25.00 $25.00 $25.00 $10.00 $30.00 $30.00 $10.00 $25.00 $25.00 $25.00 $10.00 $45.00 $25.00 $80 per set $25.00 $25.00 $15.00 $25.00 $5.00 $30.00 $45.00 $30.00 $30.00 PRODUCT SHOWCASE MDO-4000: world’s first mixeddomain scope from Textronix Tektronix have introduced the world’s first MixedDomain Oscilloscope Series – ’scopes with a built-in spectrum analysers. The MDO-4000 is the first oscilloscope to correlate the analog, digital and RF domains. All other oscilloscopes use FFT to convert data from the analog input channels but the MDO4000 is unique in having a separate RF input with higher dynamic range. Colour-dimmable LEDs Too late for inclusion in our LED feature last month, these LEDs can be “dimmed” to change their colour temperature to suit the occassion, from 2200 to 12000K (warm red to cool). Contact: SAN TY Group Ltd A18, 4F, JiaLe Bldg, Yan Nan Rd, Shenzen, China. Tel:+86 (755) 8254 0018 Fax:+86 (755) 8254 0028 Website: www.santygroup.com It can also be used as a stand-alone spectrum analyser for many applications. For the first time, you can capture time-correlated analog, digital and RF signals for a complete system view of your device and see both the time and frequency domain in a single glance; view the RF spectrum at any point in time to see how it changes with time or device state and solve the most complicated design issues, quickly and efficiently, with an oscilloscope as integrated as your design. There are four models in the MDO-4000 range, two 500MHz 2.5GS/s and two 1GHz, 5GS/s. All offer four analog and 16 digital channels, a 20M record length, Contact: 1 RF channel and TekMark Australia Pty Ltd either 3 or 6GHz top Suite 302, 18-20 Orion Rd Lane Cove NSW 2066 Tel: (02) 9911 3888 Fax: (02) 9418 8485 frequency. Website: www.tekmarkgroup.com SEE REVIEW NEXT MONTH! SILICON CHIP is currently preparing a comprehensive review of the MDO-4000 – we plan to publish this in the NOVEMBER issue. Cabinet Temperature Sensor Often in commercial and industry situations the internal temperature of cabinets and rooms containing computer equipment, motor drives, switchgear and telemetry equipment needs to be monitored. The KTA-267 is a simple 4-20mA output loop powered temperature sensor with a measurement range from -10°C to +125°C. The 4-20mA signal can be easily connected to a control or monitoring device such as a PLC or GSM/GPRS RTU. With an area of just 72 x 20mm it can Contact: easily be fitted into a cabinet. Ocean Controls Priced from $44.95+GST, it can be PO Box 2191, Seaford BC, VIC 3198 purchased as a card which can be Tel: (03) 9782 5882 mounted on spacers or fitted with a Website: www.oceancontrols.com.au DIN Rail mount. Cleverscope adds deep memory protocol decoding with zoom Cleverscopes’ protocol decoder for the CS328A Oscilloscope decodes digital data streams up to 4 MSamples long. Results are displayed right on the mixed signal graph, lined up with the digital and analog source signals. The tool is great for checking the operation of SPI, I2C, RS232 or bus-based products. The example shows an AD9834 synthesiser being exercised. You can zoom right in to check signal integrity and timing with 10ns resolution. The decoder is fully configurable for bit length, polarity, and colours. Using the 10ns resolution trigger time stamp you can precisely measure widely spaced packets. Navigating the captured signal is fast and easy; the zoomed Tracking graph follows the Scope graph tracer to see the big picture and the detail simultaneously. 42  Silicon Chip Contact: Cleverscope Ltd 128 Ranfurly Rd, Epsom, Auckland NZ Tel: +64 (9) 524 7456 Fax: +64 (9) 524 7457 Website: www.cleverscope.com siliconchip.com.au Switchmode: Australia’s only power supply specialist New “M2” PICAXEs from Rev-Ed Switchmode Power Supplies is unique, in that it is the only organisation in Australia that specialises solely in the repair, refurbishment and calibration of power supplies. Founded in 1984 by the current Managing Director, Martin Griffith (ex RAAF Radtech and RMIT graduate), Switchmode has continually maintained the strategy to provide maintenance services for high end equipment at their Hornsby workshop. Advocates of workmanship in accordance with and in excess of industry standards, Switchmode boasts quality certification to ISO9001, a NATA accredited laboratory with ISO17025 and compliance with a long list of Australian National, International, NASA and Mil Standards. Switchmode’s library of over 5500 hardcopy files includes technical information, failure analysis, repair flow charts, BOMs and schematics from more than 1000 different manufacturers. In addition and readily accessible to their Technicians on database they have softcopy including shadowmask locations and the nature of failure of every electronics component, every resistor, capacitor and semiconductor found to have failed over the last twenty years. With a capability to provide fully traceable repair and refurbishment of AC and DC power supplies and amplifiers, rectifiers, inverters, frequency changers and converters of any type, up to 50kV, 2400 amperes and 50kVA including 50Hz, 60Hz or 400Hz equipment and a 98% repair yield and a 1.2% warranty yield which includes customer error, there are few products that this Contact: company cannot Switchmode Power Supplies successfully return Unit 1, 37 Leighton Pl, Hornsby NSW 2077 to reliable opera- Tel: (02) 9476 0300 Fax: (02) 9476 0479 Website: www.switchmode.com.au tion. Revolution Education has recently released four new “M2” versions of their popular PICAXE microcontrollers. The 08,14,18 and 20 offer more speed, memory, features and lower supply needs. Features and performance of these new chips are superior by almost an order of magnitude to existing models but prices remain essentially the same – the 8-pin M2, for example, is just $3. The global PICAXE popularity has allowed Microchip to customise these new microcontrollers (based upon the 16F182x series PIC architecture) for Re-Ed – there’s now even a laser engraved title on each chip! The classic two-resistor programming set up is still used but the latest version of the free editor (Ver. 5.4.0 or greater) will first need downloading from Rev. Ed’s site (www.picaxe.com). Free Test & Measurement CD From the most basic to very complex applications, there is one common element - the best possible measurements need to be made. Learn more from this free “Guide to Understanding Electrical Test & Measurement” CD from Keithley. Containing more than 80 Application Notes, Keithley’s Guide to Understanding Electrical Test & Measurement has been compiled to help analyse your applications and the various types of instruments that can solve your test and measurement needs. This convenient-to-use CD includes selector guides and tables for choosing the optimal instrument; overview & configuration of instrument options and much more! Apply for your copy via www.keithley.eu.com/a. php?sid=23r6h.1q2b85j siliconchip.com.au Amongst the enhanced features of the M2 family are – • Pin configuration – almost every pin on each size chip can now be assigned as an input or output • Extra ADC channels, including support for capacitive touch sensing • Serial input programming pins now can be used for extra inputs • Enhanced applications and commands available for most pinstouch, I2C etc • Support for multi-tasking, with four or eight separate tasks able to run in parallel. • Much greater memory of 2048 bytes (~1800 program lines) • Able to run on as low as 1.8V, allowing 2 x AA battery pack powering • Up to 512 bytes of RAM with 28 general variables, plus 256 bytes of NV EEPROM • Faster internal resonator, allowing speeds to 32MHz (default 4MHz) • Support for such advanced features as DAC, SR latch, I2C and faster serial • Inbuilt digital temperature sensor, accessed by “READINTERNALTEMP” • Serial and IR timeouts, plus elapsed time measurement via the ’time’ variable • Backward compatibility with earlier PICAXEs These new M2 microcontrollers effectively refine the PICAXE product range, and many of the regular variants (including the esteemed 08M and 18X) will now become obsolete. Australian PICAXE agent Microzed already has Contact: good stocks and Microzed chips are available Unit 5, 10 Kabi Cct, Deception Bay Qld 4508 via usual distribu- Tel: 1300 735 420 Fax: 1300 735 421 tors. Stan Swan Website: www.microzed.com.au SC October 2011  43 CIRCUIT NOTEBOOK Interesting circuit ideas which we have checked but not built and tested. Contributions will be paid for at standard rates. All submissions should include full name, address & phone number. +12V OUT T1 3VA D1 REG1 7812 K IN GND 100nF N 12V A 0V 100nF 10 F 1000 F K A 230V AC INPUT 230V D2 12V A +12V A 100nF 47k 47k LED1 12 ON S1 13 100nF 14 IC1d 10k S2 100nF 1 D5 K 8 100 3 2 A 9 1 F 47k 5 IC1c A1 Q2 BC547 E 10 +12V 7 E B IC1: 4093B Q1 BC557 4 1.2k A 1M A2 C 10k IC1b 6 10 F C B IC1a AC SPLIT PHASE INDUCTION MOTOR N A 1.2k +12V STOP /REV D4 K 11 RLY2 K  LED2 CAUTION! RLY1 K W IRING IN THIS SHADED AREA MAY BE AT MAINS POTENTIAL W HEN IN OPERATION. C ONTAC T C OULD BE FATAL! D3 A  K D5: 1N4148 A K LEDS D1–D4: 1N4004 A K Substitute for AC motor reversing switch This circuit was devised as a substitute for a failed AC motor switch. It can start the motor in forward or reverse mode, as required. It is based around a pair of NAND gates which are configured as an RS (Reset/Set) latch, with one input of each NAND gate cross-connected to the other gate’s output. Hence, pin 12 of IC1d is the Set input while pin 9 is the Reset input. At power-up, the latch is reset because pin 9 of IC1c is initially held low by a 1µF capacitor. The capacitor charges up via a 47kΩ resistor and subsequently pulls pin 9 high. Switch S1 is the start switch. Pressing it pulls pin 12 of IC1d low. This sets the latch and pin 11 goes high, turning on transistor Q2 and 44  Silicon Chip B K A relay RLY2. This applies 230VAC to the A1 terminal of the motor and so the motor runs in the forward direction. Gates IC1a & IC1b form the reset circuit. Switch S2 functions as the Stop/Reverse switch. Pressing switch S2 momentarily pulls pins 1 & 2 high, so pin 3 goes low and pulls pin 9 low, via diode D5 and a 100Ω resistor. This resets the latch and relay RLY2 is deactivated. Pressing and holding switch S2 provides the reverse mode. As well as resetting the latch as before, it pulls pins 5 & 6 of IC1b high and this sets pin 4 low, turning on transistor Q1 and relay RLY1 which applies 230VAC to reverse the motor. Diodes D3 & D4 clamp the back-EMF voltage 7812 BC547, BC557 E GND IN C GND OUT Michae when RLY1 & is this m l Azzopardi ont RLY2 turn off. of a Pe h’s winner a Switch S2 Test Ins k Atlas trumen has to be held t down to maintain the motor in reverse mode. Releasing the switch allows pins 5 & 6 is go low after a delay and relay RLY1 is deactivated to turn the motor off. By that time, pin 9 of IC1c will have also gone high, pulled up by the 47kΩ resistor. The motor can then be started again in the forward direction, by pushing switch S1. LED1 indicates the forward mode while LED2 indicates the reverse mode. Michael Azzopardi, Deer Park, Vic. siliconchip.com.au + + A D1 K D1, D2, D3: 1N4004 A A REG1 LM317 IN 8–12V DC INPUT OUT ADJ 10 F K 1  5W K D2 120 VR2 470 5 6 A 8 LED +4.25V 7 IC1b 10k S1 LM317T IC1: LM319 This circuit is for charging lithiumion batteries from cell phones and cameras where the original chargers are not available. These batteries are normally charged to 4.2V and the charging current gradually falls as full charge is approached. In this design, the battery is charged from 4.3V via a 1Ω 5W resistor. Comparator IC1 compares the terminal of the battery being charged with a 4.25V reference, as set by VR2. When the charging current falls below about 50mA, the charge is terminated. This may not achieve full charge but it’s close enough for most purposes. Charging is started siliconchip.com.au IN OUT by pressing S1. This connects one side of the battery to 0V and causes the comparator to turn on the relay, which holds the battery grounded until charging is switched off. The input supply voltage is nominally 8-12V and is determined by the voltage required for the low power relay; it will also determine the degree of heatsinking required for the LM317 (REG1). The supply should be able to deliver around 2A. The circuit employs an LM319 dual comparator which means that two batteries could easily be charged separately with an additional relay. LED1 indicates when charging is occurring. The circuit is not intended as a fast charger (which may be an advantage Timing laser for small 2-stroke motors This circuit illuminates the timing marks (usually on the flywheel) at the firing of cylinder 1 in a 2-stroke motor. It should also work on cars. The pick-up is made by winding about 150 turns of enamelled copper wire through a split toroid sleeve (eg, Jaycar LF1290) – see diagram. This is placed over the spark plug lead and the signal developed in the coil is used to trigger a 555 timer (IC1) which is wired as a monostable pulse generator. The laser diode is driven directly from pin 3 of IC1 and the pulse width is adjusted by trimpot VR1. The laser diode can be sourced from a junked laser pointer. Phillip Reynolds, Coromandel Valley, SA. ($45) OUT ADJ – Simple lithium-ion battery charger K A START CHARGING 9 10 10 F – 12 IC1a 3 BATTERY D3 2.2k 11 4 RLY1 K  K +4.30V A VR1 470 LED1 with older batteries) and it may take several hours to charge a flat battery. Since these batteries should not be discharged below about 2.7V, care should be taken with any battery with a lower initial voltage. There is no temperature monitoring of the batteries but this could be included by attaching a 10kΩ NTC (negative temperature coefficient) thermistor and connecting it in parallel with 470Ω trimpot VR1. Finally, note that some lithiumion should be charged to 3.6V (rather than 4.2V). VR1 and VR2 can be adjusted to suit these (ie, adjust VR1 for 3.7V at the output of REG1 and VR2 for 3.65V on pin 5 of IC1a). Graham Jackman, Oakleigh East, Vic. ($50) D3 1N4004 2.2k A K 1.5k +4.5V 100 F K 150-TURN PICKUP COIL 470 VR1 20k D1 A 7 6 8 4 3 IC1 555 2 K 5 A 2.2 F D2 LASER DIODE  1 K 10nF A 0V 2 x 75 TURNS OF ENAMELLED COPPER WIRE 30A ALLIGATOR CLAMP D1, D2: 1N4148 A K 1N4004 FERRITE SLEEVE CEMENTED INSIDE CLAMP JAWS USING EPOXY CEMENT A K October 2011  45 Circuit Notebook – Continued button for about 5s and the display will toggle between modes. A short press on the calibrate button will zero the reading as before. Like the calibration reading, the display mode is stored in nonvolatile memory, so this procedure should only be needed once. Operation is unchanged in all other respects. In operation, the device shows 0.0% to 99.9% gradient between 0° and 45° and between 180° and 215° degrees. Conversely, it displays 0.0% to -99.9% between 315° and 360° and between 135° and 180°. When reading in percent gradient, the scale is limited to ±99.9%, corresponding to an angle of ±45° to horizontal. There are not enough digits to display higher readings and anyway as the slope approaches vertical, the percentage gradient approaches infinity. The software, InclinometerV2.hex, can be downloaded from the SILICON CHIP website. Andrew Levido, Wollstonecraft, NSW. ($70) Additional features for the Digital Inclinometer The Digital Inclinometer project described in the August 2011 issue of SILICON CHIP has created a lot of interest. One reader in particular saw an application for the inclinometer in the construction of model railway layouts. Model builders must take care that the gradient of the track falls within defined limits, so the inclinometer seemed like an ideal tool for the job – but for one small problem. By convention, railway modellers measure the gradient (or slope) as a AC source for testing pool salt concentration This circuit provides an alternative to the pool salt-testing method described in the December 2008 issue. That method has a disadvantage in that if it is used with a plastic container and stainless steel electrodes, the resulting small DC offset upsets the “Ohms” readings. The circuit presented here applies an AC voltage to the test solution via a capacitor. The resulting current (in mA) is then measured using a digital multimeter. IC1, a 555 timer, is operated in astable mode at about 50Hz with an approximate 50% duty cycle due to the diode bypassing the 10kΩ resistor between pins 6 & 7. IC2, another 555 timer, acts as an inverter to percentage rather than as an angle, where for example a 5% grade corresponds to a rise of 5mm in 100mm of horizontal travel, otherwise expressed as a gradient of “1 in 20”. And so he suggested we produce a version of the inclinometer software that reads directly in gradient percentage. We have gone one better and produced a new version of the software that can display either degrees or gradient percentage. One simply presses and holds the “calibrate” D1 + K A 10 F 16V 10k 9V DC REGULATED INPUT 7 A D2 6 10k 8 4 IC1 555 6 5 2 K 7 3 3 IC2 555 22 F NP 10nF 5 TO DMM* 1 10nF – D1 & D2: 1N4004 A K provide a signal of opposite polarity. The two complementary signals are applied to the test solution via a 22µF non-polarised electrolytic capacitor and the multimeter (set to PROBES TO SOLUTION X * SET TO mA AC a low AC milliamps range). A 9V regulated DC supply is required to ensure consistent readings. Geoff Coppa, Toormina, NSW. ($45) Issues Getting Dog-Eared? Keep your copies safe with these handy binders. Available Aust, only. Price: $A14.95 plus $10.00 p&p per order (includes GST). Just fill in and mail the handy order form in this issue; or fax (02) 9939 2648; or call (02) 9939 3295 and quote your credit card number. 46  Silicon Chip 4 2 1 1 F 8 REAL VALUE AT $14.95 PLUS P & P siliconchip.com.au POWER OUT CON1 POWER IN CON2 +12V +12V 0V 0V (+5V) +5V A D1 1N4004 CON3 100nF PC0 REG1 7805 OUT X PC1 18-PIN DIL SOCKET* PB5 PB4 10 PB4 LED1 X X 8 PB2 X PB5 11 X PB6 12 9 PB3 X X X X X PB1 PB0 K K LED1 A X 330 This PICAXE prototyping board circuit is designed to be built on Veroboard. The black horizontal lines indicate the tracks on the stripboard while the red, vertical lines show wire links installed on the top side of the board. The red “x”s show where the tracks are cut. It is designed to work with the PICAXE18M2 but can be modified to suit other chips. It requires an X LED2  IC1 ULN2803 330 1 1B 1C 18 2 2B 2C 17 3 3B 3C 16 4 4B 4C 15 5 5B 5C 14 6 6B 6C 13 7 7B 7C 12 8 8B 8C 11 9 CON4 PB7 PB6 PB5 PB4 PB3 PB2 PB1 PB0 COM 10 E ALL 9 BOARD TRACKS CUT UNDER IC1 & CON5 LED3 330 LED3 Prototyping board for PICAXE micros X A LED2 * ALL 9 BOARD TRACKS CUT UNDER 18-PIN SOCKET X K  X A X PB2  CON7 7 PB1 10k SER IN 10 F X PB6 PB7 13 PB3 SER OUT 0V X PB7 X X +5V 14 X (SERIAL PROG) CON6 CON5 5 GND 6 PB0 X 22k GND PC7 16 PC6 15 X PC6 470 F PC1 18 PC0 17 4 PC5 PC5 PC7 X PC4 2 PC3 3 PC4 X PC2 PC3 X 1 PC2 K IN 1N4004 RED X'S INDICATE TRACK CUTS 7805 LEDS A 8-15V DC power supply via CON1 or CON2, which also provide a +5V regulated output. CON3 breaks out the micro’s Port C pins and CON4 the Port B pins. The CON4 pins are Darlington open-collector outputs provided by IC1, a ULN2803. They can sink significantly more current than the micro outputs can themselves. These outputs are activated when a shorting block is placed across the respective pin pair(s) on CON5. Otherwise, the Port B pins can be K K A GND IN GND OUT accessed directly via CON5. CON6 provides a serial programming interface while CON7 provides access to the anodes of three different coloured LEDs, the cathodes of which are connected to ground. These can be wired to any of the micro’s port pins. All connectors can be cut from strips of single-row pin headers except for CON5, which is cut from a doublerow pin header strip. Jack Holliday Nathan, Qld. ($50) Contribute And You Could Win pact LCR40 LCR An LCR Meter meter, with the We pay for each of the “Circuit Notebook” items published in SILICON CHIP but there is another reason to send in your circuit idea. Each month, at the discretion of the editor, the best contribution published will entitle the author to a nifty, com- siliconchip.com.au compliments of Peak Electronic Design Ltd – see www.peakelec.co.uk So send that brilliant circuit idea in to SILICON CHIP and you could be a winner. You can either email your idea to silicon<at>siliconchip.com.au or post it to PO Box 139, Collaroy, NSW 2097. October 2011  47 Circuit – Continued CircuitNotebook Notebook – Continued S1 BR1 W04 REG1 78L05Z OUT GND 1 F 10k + IN – 470 F 25V N ~ TIMER SWITCHED OUTPUT K D1 1N4004 4 5 6 VR1 10k S2 S3 7 2 IN3 OUT4 IN2 IC1 OUT3 PICAXE-14M IN1 OUT2 Q1 BC639, 2N2222 ETC. 470 8 OUT5 9 E 10 11 12 IN0 OUT1 SerIN SerO/ 13 OUT0 0V 14 STOP DISABLE TIMER W04 1k 1k 1k 1k 1k 1k       LED1 LED2 LED3 LED4 LED5 0.5h 1h 2h 4h 8h +~~– LED6 PWR ON 1N4004 A Mains timer has no stand-by power This timer can be used with “dumb” battery chargers, to prevent over-charging of power tools batteries and so on. It could also be used to run a soldering iron, so that it turns off even if you forget to do so. It consumes no power until activated and then runs the load for the specified period before switching the load and itself off. The time delay is set in 30-minute increments using VR1. The time remaining is shown in half-hour increments with a 5-LED display (LED1-5). One pushbutton (S2) immediately switches the power off while another (S3) forces it to stay on indefinitely. Mains-rated momentary pushbutton switch S1 powers up the timer by connecting transformer T1 to 230V AC when it is pressed. Microcontroller IC1, a PICAXE 14M, K immediately brings its pin 8 output high, turning on NPN transistor Q1 and so drawing current through the coil of mains-rated relay RLY1. This shorts out pushbutton S1, latching the power on. This output pin also drives the power-on LED (LED6). When the timer expires or switchoff button S2 is pressed, IC1 brings its pin 8 output low, de-energising the relay and so cutting power to the mains transformer and load entirely. Diode D1 absorbs the voltage spike generated by the relay coil’s backEMF when power to it is cut. Potentiometer VR1 is connected across the 5V supply as a voltage divider and its wiper is connected to pin 7 of IC1 (IN0). The microcontroller uses its internal analog-todigital converter to read the voltage and so determines the desired timing duration. The stop (S2) and disable timer (S3) pushbuttons are sensed by input pins 3 and 4 respectively, using 10kΩ pull-up resistors. K A LM78L05Z BC639 LEDS 48  Silicon Chip E RLY1 1 IN4 N A A 3 A 230V AC MAINS INPUT 6–9V AC 10k +V FUSE 10A T1 ~ C B COM E IN OUT The time remaining is shown by a combination of the five time LEDs (LEDs1-5). For example, if the remaining time is 4.5 hours, the “4 hour” (LED4) and “1/2 hour” (LED1) LEDs are illuminated. These are driven from output pins 9-13 of IC1 (OUT0-OUT4) via 1kΩ currentlimiting resistors. Power for the micro is derived from the 6-9V AC secondary of the mains transformer via bridge rectifier BR1 and a 470µF filter capacitor. It is regulated to 5V by REG1 with its associated 1µF output filter capacitor. The source code for the microcontroller can be downloaded from the SILICON CHIP website (simple_ mains_timer.bas). David Eather, Toowoomba, Qld. ($50) Editor’s note: as with all mainsbased projects, great care must be taken with the housing, insulation and earthing to ensure safety. siliconchip.com.au Spring 4490 Keep an eye on a room full of children and pan across to zoom onto any one of them. It operates interferencefree on a 2.4GHz band which produce clear image transmission and can remotely pan or tilt the camera from the viewing monitor. Also useful in monitoring a swimming pool, retail showroom, or factory. • 2.4GHz DIGITAL Wireless transmission • Range: 100m line of sight • CMOS colour image sensor (640 x 480 pixels) • Camera pans 270°, tilts 120° • High quality microphone & speaker • 2.4" LCD colour monitor screen • 2 times digital zoom • 4 separate channels • Includes power adaptor for both units • Dimensions: Camera unit: 112(W) x 109(D) x 133(H)mm Monitor unit: 68(W) x 26(D) x 149(L)mm QC-3638 $ Spare 2.4GHz DIGITAL PTZ camera available separately QC-3637 $199.00 299 00 Featuring a 38 channel hand-held transceiver with up to 3km range. Perfect for camping, picnics in the bush, skiing and hiking trips. It also features an integrated LED torch so you can find your way home in the dark. Requires 3 x AAA batteries. With advanced HDMI repeating and decoding, this HDMI Volume Leveller is the perfect choice to fine-tune your listening experience. It protects your home theatre equipment from noise spikes and will even sort 00 $ out those annoying fluctuations in volume while channel surfing or between the TV shows and the advertisements. 149 • Regulates TV, satellite, radio & DVD volume • Mains power supply included • HDMI in/out ports • Boosts low & high-frequency content dynamically • Dimensions: 100(W) x 70(D) x 20(H)mm AC-1615 2 More Audio Converters on page To order call Included! Additional Camera sold separately QC-3239 $59.95 BATTERY POWERED 2W LED SENSOR LIGHT • Push to Talk (PTT) function $ • Electronic volume control • Scan channel, call tone and monitor functions • Low battery alert Hurry in • Dimensions: 122(H) x while 54(W) x 35(D)mm stocks last! DC-1008 Buy 2 for $30 SAVE $9.90 1500VA LINE INTERACTIVE UPS WITH LCD A wide array of protective features and gives the user the ability to monitor the status of the UPS through the backlit LCD and the intelligent power management software (included). The unit protects against low/over voltage, surges, short circuits and power overloads. In the event of mains failure, the UPS will switch to its battery (10-30 minutes back-up depending on the load). • Output power: 1500VA • 3 mains socket connections • Line interactive with AVR • Microprocessor control for high reliability • RJ45 protection • Dimensions: 337(L) x 192(H) x 116(W)mm MP-5206 WAS $369.00 699 NOTE: *App is free for single use and may incur a charge for multi-user 19 95 HDMI AUDIO SIGNAL VOLUME LEVELLER The package incorporates a H.264 DVR with built-in 10" LCD monitor and 320GB HDD, 2 indoor/outdoor CMOS 350TVL cameras with IR illumination for night viewing, 2 x 18m cables and power supplies. Recording can be started manually, by programming or by 00 $ triggered alarm conditions. The $ SAVE 100 main feature is the Smartphone support and the iPhone® app you can download from iTunes® to view live or recorded footage*. Monitoring may be done real-time on the monitor, LAN network, via internet or Smartphone. The DVR functions can be controlled by mouse or the IR remote control. • Dimensions: DVR/Screen: 208(L) x 85(W) x 242(H)mm Camera: 115(L) x 45(H)mm QV-3030 WAS $799.00 320GB HDD 38 CHANNEL UHF TRANSCEIVER Also available: Caravan/Marine Power System Kit 12V 320W Solar MP-9013 $6,445 Caravan/Motorhome/Marine Power System Kit - 24V 525W Solar MP-9015 $9,979 NETWORK 4 CH DVR WITH 10" MONITOR & COLOUR CAMERA KIT Easily mounts to any outdoor area and gives up to 180˚ of motion detection. The angle of the light and PIR detector are fully adjustable. With an adjustable "off" delay, the unit can be programmed to match any outdoor environment and needs. • 1 x 2W high output LED • 4 x C size batteries (not included) • PIR detection range: 100-180˚ • Power consumption: 600mA • Dimensions: 95(L) x 240(H) x 137(D)mm SL-2711 See page 4 for Solar Powered Sensor Lights OLD STORE 150m 249 00 $ SAVE $120 1800 022 888 www.jaycar.com.au Prices valid from 24/09/2011 to 23/10/2011. Limited stock on sale items. No rainchecks. 49 95 $ TOWNSVILLE STORE RELOCATION ILLE ST The perfect entry level power system for caravans and boats. Includes everything to make a complete 12V house battery system with enough stored battery power for short periods of free camping without AC power. Includes a Rich Electric CombiPlus 1500W-12V interactive inverter-charger, 2 x 80W monocrystalline solar panels, 150Ah AGM battery, dual battery isolator and most of the accessories required to complete out the system. See our website for full details and performance. 00 $ MP-9011 2.4GHZ DIGITAL WIRELESS PAN/TILT/ ZOOM CHILD MONITORING SYSTEM TOWNSV CARAVAN/MARINE POWER SYSTEM KIT - 12V 160W SOLAR October 2011 S ST CLEARANCE CT NEW PRODU SIDE! ARRIVALS IN EDWARD E MASSIITVEM S& JOHN ST NEW LOCATION 167 Ingham Road West End 4810 Ph: (07) 4772 5022 Parking Available! Audio & Video SWITCH, SELECT OR CONVERT AUDIO CONVERTERS AV WALLPLATES 4 Input AV Switcher with Remote RCA Stereo Audio Signal Volume Leveller Cat5 AV 4-Way Distribution Wallplate Hub Switch between four composite or S-Video inputs, including stereo audio, and output to composite or S-Video. Control via remote. 9VDC mains adaptor included, remote requires 2 x AAA batteries. This volume leveller regulates TV-channel volume for comfortable listening level and prevents disturbing fluctuations while channel surfing, as well as taming those obnoxious commercials. Features a simple on/off switch and easy installation. 39 95 $ • Dimensions: 200(W) x 45(H) x 108(D)mm AC-1653 Remote Control AV Selector This unit can add up to 3 AV sources to your home theatre's AV inputs. Easily switch between devices like DVD players, Satellite receiver or game consoles using the front panel or remote control. See website for full specifications. • 9VDC / 500mA power included • Dimension: 240(L) x 110(W) x 51(H)mm 00 $ AC-1674 99 00 $ USB 2.0 Audio Converter Allows you to output audio from a PC or Apple® computer in a 24-bit 192kHz audio. Audio can be output via Toslink Optical, RCA analogue signal, or direct to headphones. Simply connect to your computer via USB. The device can output concurrently to analogue (RCA & headphone) and digital (optical Toslink). No power required. • Compatible with Windows and Mac OSX platforms • USB 2.0 connectivity • 6.5mm headphone output, 2 x RCA output, and Toslink optical output • Measures: 97(W) x 00 85(D) x 35(H)mm $ AC-1616 89 Composite Video / S-Video to YCbCr/RGB Format Converter Designed to convert standard Composite and S-Video signals from DVD players, set top boxes, gaming consoles etc. to either RGB or YCbCr component video. The unit automatically recognises the source input and has a power saving mode. • Regulates TV, satellite, radio and DVD volume • Mains power supply included • Includes 900mm stereo RCA cable (male to male) • Boosts low and high-frequency content dynamically • Measures: 42(W) x 40(D) x 22(H)mm AC-1614 900MHZ UHF WIRELESS SURROUND SOUND STEREO HEADPHONES 119 3.5MM AUDIO LEAD • 3.5mm stereo audio lead to 2 x RCA plugs • 300mm WA-7018 5 $ 50 These 900MHz wireless headphones features a simulated surround-sound function and operates all around the house without messy cables. Simply sit the transmitter near the music source and plug it in. Also features 3 automatic channels and phase locked loop (PLL) technology to avoid any reception drift. The transmitter is powered by the supplied plugpack that also acts as a charging base for the headphones. The headphones operate from 2 x AAA rechargeable batteries (supplied). Supplied with 2 metre long 3.5mm male to male line lead and a male stereo RCA to $59 95 female 3.5mm stereo socket adaptor. SAVE $40 • Soft padded ear cups • Transmission mode: UHF Stereo • Transmission range: 15m AA-2070 WAS $99.95 Also available 2.4GHz DIGITAL Wireless Headphones AA-2074 WAS $99.00 NOW $79.00 SAVE $20.00 EXTENDERS Component Cat5 Video/Audio Extender 16 Channel IR Remote Control Extender Extend your component cable range up to 300m using conventional Cat5e/6 cable. Extend the range of your IR remote up to 30m. One of 16 coded channels can be set using by DIP switch so you'll be free from interference. Plugpacks for transmitter & receiver included. • Impedance: Video 75 ohm, audio 600 ohm, UTP 100 ohm balanced • Bandwidth: Video - DC - 12MHz, $29 95 Audio - 50 - 15kHz SAVE $20 • Transmission distance over Cat 5e/6 UTP: up to 300m • Dimensions: 72(L) x 64(W) x 28(H)mm QC-3684 WAS $49.95 Better, More Technical 2 • Frequency: 433.92MHz • Modulation: Amplitude key shifting • Sensitivity: -90dBm • Dimensions: 78(Dia) x 40(H)mm AR-1818 WAS $79.95 • Bandwidth video: DC - 12MHz • Bandwidth audio: 50Hz - 15kHz • Power supply: 12VDC 500mA QC-3689 WAS $169.00 129 00 $ SAVE $40 Audio/Video Balun with DC Power and Wall Plate Transmits audio and video signals up to 300m over standard Cat5 UTP network cable and are available for both component video and composite video signals with and without audio. All models supplied as a pair. • Video level 1Vp-p • Video bandwidth DC to 5MHz • Audio bandwidth 50Hz to 15kHz • Interconnecting cable Cat5/5e • Dimensions: 70(W) x 115(H) x 61(D)mm Composite Video, Mono Sound, DC Power 95 $ ea LT-3037 WAS $69.95 $ SAVE 20 Component / RGB Video LT-3038 WAS $69.95 Component / RGB Video & Digital Audio LT-3039 WAS $69.95 49 149 00 $ • Suitable for worldwide video $ SAVE 30 system of NTSC3.58, NTSC4.43, PAL, PAL-M, PAL-N and SECAM • Supports composite video and super video input • 5VDC Power supply included • Dimensions: 145(W) x 90(L) x 32(H)mm AC-1629 WAS $149.00 An integrated solution for extending AV signals over Cat5 cable. The entire hub is contained in a wallplate assembly and allows extension of up to 300m. Inputs are composite and component video, analogue or digital audio as well as a built-in infrared extender for full settings control. Includes transmitter, receiver, IR emitters and power supply. 5.8GHZ AV SENDER EXPERIMENTERS KIT WITH IR RECEIVERS All AV sender transmitters are limited to strict controls and output power. This unit is for qualified and licensed amateur radio experimenters only as it has ten times the output power of standard units (100mW). In keeping with the experimental nature of the unit, it is not ready to plug in. Several parts such as the supplied RCA sockets need to be soldered in. It also doesn't come with a set of cases. It uses a standard 9V adaptor that comes with the unit. The extra power works well with experiments in, say concrete buildings with lots of reinforcing steel. In all respects except output power, it's identical to AR-1840 AV sender. • Video input: Composite for NTSC or PAL • IR frequency: 433.92MHz KIT OF THE • IR modulation: ASK MONTH! • IR carrier: 30 - 60kHz • Range: Up to 300m (line of sight) • Operating frequency: 5.76 - 5.86GHz (6 channels) • Transmission power: 20 dBm (100mW) • Receiver sensitivity: -85dBm • Operating voltage: 9VDC • Power consumption: TX: max. $149 00 500mA <at>9V RX: max. 400mA <at>9V • Dimensions: TX/RX PCB: 111(L) x 62(W)mm AR-1849 WAS $249.00 SAVE $100 49 95 $ SAVE $30 All Savings are based on Original RRP Limited stock on sale items. Caution: This product requires further assembly, which assumes technical competence. If you feel that this may be above your skill level, please return the unit in its original packaging, with receipt, under our standard satisfaction guarantee terms. Once construction or soldering has begun we will not accept the unit back under any circumstances. To order call 1800 022 888 Security ALARM SHOCK SENSORS Intelligent Vibration/Shock Sensor Vibration/Shock Sensor A modern designed alarm vibration or shock sensor that has a wide dynamic range with high/low sensitivity settings. Lightweight, fast, easy to install and can be mounted to wood, steel, glass, and concrete. Includes latching and non latching modes plus a red LED indicator. See website for full specs. This vibration/shock sensor has an intelligent microprocessor. The sensitivity is automatically set in Learn Mode by the level of a recognised impact made to the protected area. The number of impacts (i.e. pulse count) required to generate an alarm is determined by the number of the recognised impacts made in Learn Mode. See website for full specs. • Selectable one or two pulses • Dimensions: 27(L) x 22(W) x 87(H)mm 95 $ LA-5071 • 1 - 8 Programmed in Learn Mode • Two colour LED indicators • Dimensions: 27(L) x 95 $ 22(W) x 87(H)mm LA-5073 Pro Style Day / Night Colour CCD Camera Perfect for shop, office or home use. When someone passes through it, a pleasant 'Ding-Dong' chime sound alerts you to the entry. It will also record the customer in its digital tally count. High Resolution day/night camera with Sony sensor, colour by day, black and white by night. Perfect for use with infrared illuminators. • 1/3" SONY SuperHAD CCD Sensor, Flickerless • Auto Iris Control • 3 Stage Automatic Gain Control • Resolution: 550TV Lines QC-8621 WAS $249.00 199 $ • Effective for up to 5m • Mounting bracket included • High/low settings for chime • Requires 3 x AA batteries LA-5009 WAS $19.95 00 SAVE $50 CS Mount CCTV Lenses for Professional Surveillance Cameras This series of CS mount CCTV lenses are designed to match our range of HIKVISION professional CCD Cameras. Selecting the appropriate lens allows you to optimise the surveillance coverage of your cameras. Focal Length QC-3341 4mm QC-3343 6mm QC-3346 8mm 1/3" Sensor 59 43 33 1/4" Sensor 44 32 25 14 95 $ SAVE $5 12V PHOTOELECTRIC SMOKE DETECTOR Ideal for permanent wiring in boats, caravans, motor-homes etc. This unit only draws 5mA from a 12V source. Fitted with NO and NC contacts to trigger an external alarm such as an existing burglar alarm system. Supplied with test and reset buttons, mounting hardware and screws. 24 95ea $ • Mount: Ceiling • Range: 20m squared • Sensor: I.R. Photodiode Sensor Type PC II or III • Output: relay close and LED flash • Dimensions: 110(Dia) x 58(H)mm LA-5045 WAS $24.95 Dimensions 28(Dia)x27(L)mm 28(Dia)x30(L)mm 28(Dia)x30(L)mm 19 95 $ SAVE $5 LED ALARM STROBES CCTV WARNING SIGN LED strobes for security, alarm or emergency use. Low current consumption units are fully sealed and waterproof; suitable for outdoor alarm applications. Mounts with 2 x 5mm bolts. Prominent warning sign for CCTV or dummy surveillance applications. Made from acrylic for durability. • Size: 300(W) x $14 95 210(H)mm LA-5114 Also available: Surveillance Warning Sign 300 x 300mm LA-5115 $14.95 • 12VDC operation • Dimensions: 70(Dia) x 45(H)mm Blue LA-5326 Red LA-5327 Amber LA-5328 19 95ea $ SPRING SALE ON SECURITY PRODUCTS Product Description Cat No 4-Channel to USB Video Adaptor Alarm - 2 Zone for Caravans 12V Spare Remote Control to Suit LA-5210 Alarm Alarm - Child / Pet Door Annunciator Alarm - Four Zone Wireless Economy AV-GAD Alarm Relay Module AV-GAD Brako Glass Breakage Sensor AV-GAD Eye Spy 11 Passive Infrared Detector AV-GAD Package 5 Zone Alarm AV-GAD Panel Alarm 5 Sector with Dialler AV-GAD Programming Cable (AV-232) Camera - Deluxe Housing Camera - CCD B&W Mini Metal Case 380TVL Camera - CCD Bullet Style B&W 380TVL Camera - CCD Colour Mini Metal Case 350TVL Camera - CCD Pro B&W 380TVL Camera - CCD Pro Colour 350TVL Camera - CCD Pro Colour 520TVL Camera - CCD Pro Day/Night Colour 380TVL Camera - CCD Pro Day/Night Colour 470TVL Camera - CCD Pro ExView HAD Colour 380TVL Camera - CCD Pro ExView HAD Colour 470TVL QV-8000 LA-5210 LA-5212 LA-5166 LA-5134 LA-5556 LA-5550 LA-5532 LA-5484 LA-5500 LA-5552 QC-3385 QC-3474 QC-3467 QC-3494 QC-3310 QC-3309 QC-3307 QC-3300 QC-3301 QC-3298 QC-3299 Comes with a realistic-looking dummy dome camera and a flashing solar-powered 80 x 80mm LCD warning sign. Great for home, office, schools or any location to discourage thieves. Kit comes with two dummy cameras and a flashing CCTV sign. The cameras have genuine looking IR LEDs and a real LED that adds to the illusion. The CCTV flashing sign is solar powered. CCTV sticker also included. • Requires 2 x AA batteries • Mounting hardware included • Dimensions: Camera: 175(L) x 85(Dia)mm Flashing Sign: 51(L) x 10(W) x 50(H)mm LA-5329 Protect your doors or windows with this dual beam infrared detector. Housed in a strong aluminium case and is suitable for outdoor use in protected environments. The detector will sound an internal buzzer and energise a relay when the beam is broken or tampering is detected. 119 00 $ SAVE $50 • Mounting hardware included • Indoor sensing range 16m, 8m outdoors • 10 - 30 VDC powered • Length 570mm LA-5186 WAS $169.00 Listed below are discontinued items that we can no longer afford to hold stock. Savings Off Original RRP, no rainchecks, may not be available at all stores - call your local store to check stock. Valid from 24/09 - 23/10/2011. Save $$$ Product Description $69.00 $79.95 $34.95 $49.95 $89.95 $23.95 $59.00 $59.95 $599.00 $299.00 $139.00 $59.95 $69.00 $99.00 $99.00 $109.00 $179.00 $299.00 $199.00 $299.00 $249.00 $349.00 $30.00 $40.00 $5.00 $28.00 $55.00 $4.00 $10.00 $10.00 $110.00 $30.00 $14.00 $37.00 $30.00 $40.00 $40.00 $66.00 $110.00 $170.00 $120.00 $120.00 $130.00 $150.00 Camera - CMOS 5.8GHz Wireless Mini Camera - CMOS 5.8GHz Wireless with IR Camera - Dome B&W CCD 380TVL Camera - Dome Colour CCD 550TVL Camera - Dome Vari-Focal 480TVL w/ Bracket Camera - Downlight Style CCD Colour 480TVL Camera - Dummy Dome 3-Axis Camera - Dummy Dome Metal with Bracket Camera - Reversing CCD Mini Colour Camera - Zoom Colour 352X 480TVL Camera Mounting Bracket with Cable Management CCTV Field Monitor 2.5" TFT DVR Mini Portable DVR Mobile 4 Channel with 250GB HDD DVR Network 16 Channel MPEG-4 - 500GB Hard Drive DVR with 4 Cameras Inspection Camera with LED Illuminator Gooseneck Pan Tilt Zoom Control Receiver - Weatherproof (P65) Siren/Strobe Weatherproof Bellbox 12V Siren/Strobe Wireless with Solar Charge www.jaycar.com.au 49 95 $ DUAL BEAM INFRARED BARRIER Original Special RRP Price $39.00 $39.95 $29.95 $21.95 $34.95 $19.95 $49.00 $49.95 $489.00 $269.00 $125.00 $22.95 $39.00 $59.00 $59.00 $43.00 $69.00 $129.00 $79.00 $179.00 $119.00 $199.00 24 95 $ Dummy IR Camera Kit with Flashing Sign VISITOR DOOR CHIME ALARM WITH COUNTER PROFESSIONAL SURVEILLANCE CAMERA Dummy Dome Camera Kit with Flashing Sign • Dimensions: 120(Dia) x 70(H)mm LA-5324 44 34 DUMMY CAMERAS WITH FLASHING SIGNS Cat No QC-3571 QC-3573 QC-3472 QC-3498 QC-3297 QC-3503 QC-8615 LA-5312 QC-3727 QC-3502 QC-3387 QM-3821 QV-3094 QV-3093 QV-8102 QV-3063 QC-3389 QC-3214 LA-5309 LA-5307 Original Special RRP Price Save $$$ $179.00 $199.00 $89.00 $279.00 $299.00 $249.00 $39.95 $29.95 $249.00 $599.00 $24.95 $149.00 $349.00 $1,399.00 $899.00 $599.00 $199.00 $189.95 $29.95 $199.00 $120.00 $140.00 $63.00 $170.00 $120.00 $170.00 $10.00 $23.00 $120.00 $190.00 $7.00 $60.00 $250.00 $900.00 $200.00 $250.00 $130.00 $125.00 $20.00 $130.00 $59.00 $59.00 $26.00 $109.00 $179.00 $79.00 $29.95 $6.95 $129.00 $409.00 $17.95 $89.00 $99.00 $499.00 $699.00 $349.00 $69.00 $64.95 $9.95 $69.00 Limited stock on sale items. All Savings are based on Original RRP 3 Auto & Outdoors 38 CHANNEL UHF CB TWIN PACK SOLAR POWERED ALARM CLOCKS These mini UHF CB communicators (sold as a pair) can keep you clearly in touch with the kids at up to 3km range! Perfect for camping, picnics in the bush, skiing and hiking trips. Features an electronic volume control, monitor functions and an integrated LED torch. Comes in a child $39 95 friendly package and supplied in orange and green units. SAVE $15 Solar Powered LCD Calendar Alarm Clock • 38 Channels • Push to Talk (PTT) function • Low battery alert • Duplex range extender • Requires 3 x AAA batteries per unit • Dimensions: 55(W) x 110(H) x 35(D)mm DC-1005 WAS $54.95 This functional timepiece features a crisp LCD time, calendar and temperature display. It also has a dual alarm with snooze button and a solar cell for auxiliary power. • 12/24 hour time & °C/°F temp • Requires 2 x AAA batteries • Dimensions: 80(L) x 41(W) x 152(H)mm $14 95 XC-0213 SAVE $5 WAS $19.95 3W LED TORCH/LANTERN COMBO If you're heading into the wilderness, a torch that can be configured as a lantern is an incredibly useful tool. Features a powerful 140 Lumen convex LED for maximum light spread, multiple light modes, & a rotatable metal hook for hanging in your tent or around the campsite. *Limited stock CREE® SOLAR POWERED LED SENSOR LIGHTS Provide a very bright focused beam of light to illuminate your driveway, entry way or backyard. A waterproof solar panel with a 5m lead is supplied to keep the rechargeable batteries topped up. Each unit has a built-in PIR motion detector, which automatically turns the light on from an adjustable period of 5 to 20 seconds. A fully self sustained lighting kit perfect for applications where mains power is unavailable. • Power: 3W • Light modes: Low, High, Flashing • Water resistant • Batteries: 4 x AA (not included) • Dimensions: 153(L) x 95 $ 62(Dia)mm ST-3135 • Battery: Ni-MH battery • Detection range: 100-180 degrees • Detection distance: 8 metres MAGNETIC PARKING SENSOR WITH BEEPER 1 x 3W When you get within 1m of another car or any other object near your bumper, the alarm will sound to alert you. Simple to install, the sensor is completely concealed under the bumper with no drilling required. 2 x 3W • Dimensions: Solar light: 205(L) x 242(H) x 135(D)mm Solar panel: 140(L) x 198(H) x 66(D)mm SL-2709 $129.00 • Fits any vehicle • Easy installation • Connects to the reversing lights LR-8861 WAS $49.95 FROM 00 $ Reduced noise and interference entering into your car stereo. Encapsulated in a compact case. 150mm leads for connection. • Dimensions: 63(L) x $9 95 31(Dia)mm SAVE $6 AA-3072 WAS $15.95 SAVE $30 • Composite video input & output $19 95 • One input to three outputs SAVE $5 • Works with all in-car video screens • 12VDC powered • Dimensions: 63(L) x 32(W) x 30(H)mm QC-3436 WAS $24.95 Also available: 20 Amp Car Noise Filter AA-3076 WAS $24.50 NOW $14.50 SAVE $10.00 SPRING SALE ON AUTO & OUTDOORS PRODUCTS Product Description Cat No 100WRMS Full Range Car Amplifier Car Amplifier Resp 5Ch Full Range Car Battery Charger/Booster Solar Car Noise Filter 40Amp Car Stereo Line Isolation Transformer Car Speakers 5" VIFA 2 Way 60WRMS Car Speakers 6 x 9" VIFA 4 Way 150WRMS Car Speakers 6.5" VIFA 2 Way 80WRMS Car Speakes 6.5" VIFA Splits 80WRMS Fuse Maxi Gold Pack of 2 Gold In Car Mobile Phone Charger In Car Retractable Phone Charger AA-0456 AA-0458 MB-3503 AA-3081 AA-3085 CS-2393 CS-2397 CS-2395 CS-2399 SF-1952 MB-3546 MB-3579 $399.00 $449.00 $37.95 $29.95 $19.75 $99.00 $189.00 $129.00 $199.00 $8.95 $19.95 $19.95 OUTDOOR FLAT PANEL UHF/VHF AMPLIFIED DIGITAL ANTENNA With an integrated amplifier, it delivers local free-toair analogue and digital TV as well as DAB+ digital radio programs. Also features waterproof and weather resistant ABS housing, low noise circuitry, multidirectional 360° reception and auto gain control. Includes mounting bracket, mains adaptor and coaxial cable. Daytime running lights (DRLs) increases vehicle visibility during daytime driving conditions. These superbright LED bulbs will turn on automatically on ignition, making your car more noticeable on the road. These energy saving DRLs are a much better daytime alternative than using your fog lights or low beam headlights. $99 00 Flush-mounted brackets are included SAVE $50 for easy installation and directional tilt-adjustment. • Energy efficient 12V 6.1W • Emark 87R certificate • Each lamp measures 190(W) x 30(H) x 43(D)mm SL-3419 WAS $149.00 SURVIVOR DISTRESS STROBE LED LIGHT A handy safety device when venturing out in open water. Unit is small, lightweight with a lanyard and clip for easy attachment to any life jacket or clothing. The bright LED distress light activates automatically when submerged in water. • 3 x LR44 batteries included • Lanyard: 170mm long • Dimensions: 54(L) x $ 95 27 (Dia)mm ST-3230 6 Listed below are discontinued items that we can no longer afford to hold stock. Savings Off Original RRP, no rainchecks, may not be available at all stores - call your local store to check stock. Valid from 24/09 - 23/10/2011. Original Special RRP Price Better, More Technical 4 19 95 $ Ideal for automotive use and will let you share the video signal from your in-car video or DVD system. The built in amplifier ensures that all screens receive a full strength signal and produce best picture. 5 AMP CAR NOISE FILTER • 12/24 hour time and °C/°F temperature • Requires 2 x AAA batteries • Dimensions: 165(L) x 35(W) x 110(H)mm $19 95 XC-0214 SAVE $5 WAS $24.95 VEHICLE LED DAYTIME RUNNING LIGHTS 3CH VIDEO DISTRIBUTION AMPLIFIER FOR CARS 99 Project the time on your wall or ceiling! A matt-silver finished alarm clock with clear LCD time, calendar and temperature display. It projects the time when the alarm goes off or when you press the button. • VHF Band III 174-230MHz • UHF Band IV & V 470-862MHz $49 95 • Panel size: 281(W) x SAVE $20 305(H) x 20(D)mm LT-3139 WAS $69.95 29 • Dimensions: Solar light: 95(L) x 240(H) x 137(D)mm Solar panel: 140(L) x 198(H) x 66(D)mm SL-2707 $99.00 Solar Powered Alarm Clock with Laser Projection $299.00 $409.00 $16.95 $19.95 $10.75 $59.00 $129.00 $89.00 $159.00 $7.95 $8.95 $13.95 Save $$$ Product Description Cat No $100.00 $40.00 $21.00 $10.00 $9.00 $40.00 $60.00 $40.00 $40.00 $1.00 $11.00 $6.00 Light LED Recessed Blue Microwave Sensor for Car Alarms Motorcycle Alarm Parking Assist System with Camera Power Window Closer 2 Door Sound Absorbing Tiles Economy 32mm Speaker Grille Clamp Kit - Pk.4 Speaker Grille Clamp Kit / 'T' nuts Torch - CREE® Tactical LED 80 Torch - Dynamo 2LED Keyring Mini Torch - Dynamo Pocket Sized Torch - LED Keyring with Solar Charging ST-3886 LA-9030 LA-9020 QC-3726 LR-8851 AX-3654 AX-3530 AX-3542 ST-3398 ST-3348 ST-3331 ST-3389 All Savings are based on Original RRP Limited stock on sale items. Original Special RRP Price $19.95 $34.95 $59.95 $299.00 $59.95 $12.95 $1.95 $4.70 $59.00 $12.95 $14.95 $9.95 $8.95 $29.95 $49.95 $139.00 $19.95 $3.95 $0.45 $1.30 $17.00 $2.95 $11.95 $4.95 Save $$$ $11.00 $5.00 $10.00 $160.00 $40.00 $9.00 $1.50 $3.40 $42.00 $10.00 $3.00 $5.00 To order call 1800 022 888 General Consumer BATHROOM GADGETS ANATOMY MODELS Waterproof Bathroom Clocks with Suction Human Heart Anatomy Puzzle A fantastic way to learn how the heart and the vascular system work. Assemble the heart and pull it apart again to see how the chambers and valves in the heart keep blood pumping around the body. Truly convenient and waterproof analogue clocks. The suction cup allows you to mount it on to any smooth surface like a tiled wall or mirror. Available in blue and pink. • Requires 1 x AA battery • Approx. 130(Dia)mm Blue AR-1757 Pink AR-1758 • 31 parts 95 $ • 95mm high • Recommended for ages 8+ SAVE $10 GG-2380 WAS $24.95 Also available: 1.1 Scale Human Heart Model GG-2378 WAS $49.95 NOW $34.95 SAVE $15.00 14 9 $ 95 ea Water Resistant FM Shower Radio 29 95 No more touching soap bottles! The unit automatically dispenses a suitable amount of liquid soap (adjustable). Features LCD display with auto cleaning mode. • LCD displays amount of soap left, dispense amount adjustment, & battery condition • Magnetic, removable drip tray • Requires 3 x AA batteries • Measures: 195(H) x 85(W) x 160(D)mm 95 $ GH-1188 SAVE $5 Keep your kids entertained for hours with these small robotic creatures! They will run and scurry around on an even floor, table and flat surface and have the ability to $ 95 change direction if they hit an obstruction. Automated Electronic Bugs A compact weather station, altimeter, timer, alarm clock and ordinary clock. Has a nifty little handle that goes straight on to a carabiner. Ideal for canoeists, abseilers and other outdoor type activities. • Includes 1 x CR2030 battery • Measures: 70(L) x 45(W) x 15(D)mm (less handle) XC-0358 SAVE $5 SPRING SALE ON GENERAL CONSUMER PRODUCTS Product Description Cat No 2Robot Chess Board Anatomy Model Animal Cell Anatomy Model Frog 3D Anatomy Model Human Brain 3D Anatomy Model Human Ear 3D Anatomy Model Human Eye 3D Anatomy Model Human Skeleton 3D Battery Operated Water Pump BBQ Tool Set Pink Book Light Slimline LED Calculator Solar with Pink Rhinestones Digital Mobile Microscope Handheld 60xZoom Digital Mobile Microscope 90xZoom Digital Photo & Video Camera for Kids Digital Photo Viewer with Alarm Clock Digital Voice Recorder 2GB 800 Hour GT-3516 GG-2396 GG-2390 GG-2383 GG-2382 GG-2381 GG-2385 GH-1118 GG-2307 ST-3980 GH-1892 $299.00 $29.95 $34.95 $24.95 $24.95 $24.95 $24.95 $14.95 $24.95 $12.95 $19.95 QC-3248 QC-3246 QC-3188 QM-3778 XC-0382 $59.95 $249.00 $49.95 $39.95 $129.00 • Assorted Colours • Suitable for ages 5+ • Dimensions: 45(L) x 17(W)mm YG-2891 29 95 $ A fantastic electronic bug habitat set. Comes complete with all the pieces required to build a beautiful home for the two electronic bugs supplied. Pieces are easily connected in place. Incorporate two mazes together to build and even bigger area for the bugs to explore in. More bugs, more fun it is! • Additional Electronic Bugs sold separately YG-2891 YG-2893 29 95 $ Listed below are discontinued items that we can no longer afford to hold stock. Savings Off Original RRP, no rainchecks, may not be available at all stores - call your local store to check stock. Valid from 24/09 - 23/10/2011. Save $$$ Product Description Cat No Original Special RRP Price Save $$$ $199.00 $24.95 $24.95 $19.95 $19.95 $19.95 $19.95 $9.95 $9.95 $5.95 $8.95 $100.00 $5.00 $10.00 $5.00 $5.00 $5.00 $5.00 $5.00 $15.00 $7.00 $11.00 $35.95 $89.00 $29.95 $14.95 $69.00 $24.00 $160.00 $20.00 $25.00 $60.00 Digital Voice Recorder 64MB 26 Hour Keyboard with Pink Rhinestones USB Kitchen Scales with Clock & Temp/Humidity Monitor LCD 7" USB Plug and Play RC Audi R8 27MHz RC Cars Wall Climbing Battle Pair RC Car Remote 2.4GHz 3-Channel RC Fail-Safe Device RC Ferrari 1:10 Scale F1 2008 RC Helicopter - Mini 3 Channel IR Rechargeable RC Helicopter - Mini 4 Channel IR Rechargeable Solar Rechargeable Keyhole Light Time Capsule Project Kit V8 Alarm Clock XC-0380 GH-1899 XC-0161 QM-3748 GT-3696 GT-3285 DC-1500 DC-1504 GT-3201 GT-3272 GT-3279 GH-1832 KJ-8910 AR-1769 $69.95 $59.95 $44.95 $269.00 $59.95 $79.95 $149.00 $24.95 $89.95 $39.95 $79.95 $9.95 $34.95 $29.95 $35.00 $35.00 $15.00 $70.00 $20.00 $55.00 $30.00 $5.00 $20.00 $10.00 $20.00 $2.00 $26.00 $15.00 Original Special RRP Price www.jaycar.com.au 4 Electronic Bug Maze DELUXE MINI WEATHER STATION 24 95 12 95ea $ GT-3755 GT-3756 Holds up to 100 photos which can be downloaded from a MAC or PC. Unit features an LED torch and comes with mini USB lead and stand. Buy 2 for $40 SAVE $9.90 $ Red Green ELECTRONIC BUGS 24 This easy to fly mini 2-Ch Infrared Apache helicopter has robust moulded plastic construction to take the inevitable bumps and occasional crash. 20 minute charge gives about 10 minutes flying time. The chopper recharges directly from the remote unit. • Size: 60(L)mm • Suitable for ages 10+ 35MM PHOTO FRAME FLASHLIGHT KEYRING MINI APACHE 2 CH IR HELICOPTER • Remote requires 6 x AA batteries • Suitable for ages 10+ • Dimensions: 160(L)mm approx GT-3273 WAS $29.95 14 95 $ • Battery rechargeable via USB Introductory DEAL! • Dimensions: 68(L) x 42(W) x13(D)mm XC-0211 95 $ 29 SAVE $15 Fun and functional mini solar race car kit with built-in electric motor. No glue required - simply snap all the pieces together. The sun or a 50W halogen globe powers both models. • USB & 3.5 - 3.5mm cable included • Measures: 25(W) x 25(H) x 25(D)mm XC-5178 WAS $19.95 Deluxe Automatic Soap Dispenser 74 95 $ MINI SOLAR RACE CAR KITS Compatible with any device and features a 3.5 mm headphone socket such as iPods, MP3 players, PDAs, portable games and computers. Comes with a USB connection to recharge the built-in battery. • Requires 3 x AA batteries (use SB-2425 $3.95) • Dimensions: 145(L) x $ 80(W) x 53(D)mm GH-1873 T-Rex was about 15 metres long and lived around 65 - 85 million years ago during the Late Cretaceous period. Build him piece by piece and find out how he managed to digest 230kg of meat per bite. • 39 pieces • Finished model: 570(L) x 23(H)mm GG-2394 WAS $89.95 MINI RECHARGEABLE USB KEYCHAIN SPEAKER Features spring-loaded hanging hook, push button tuning and volume, splash proof and timer alarm. It also has a dial light, which stays on for a few seconds to assist in station identification etc. Tyrannosaurus Rex Anatomy Model $34.95 $24.95 $29.95 $199.00 $39.95 $24.95 $119.00 $19.95 $69.95 $29.95 $59.95 $7.95 $8.95 $14.95 Limited stock on sale items. All Savings are based on Original RRP 5 Tools & Test DIGITAL MULTIMETERS Both meters include test leads Cat III 4000 Count Autoranging DMM Cat III 2000 Count Inductance / Capacitance DMM An accurate and easy to use autoranging DMM. Select the parameter required and the meter chooses the appropriate display range. Features temperature, capacitance, data hold and auto power off plus a backlit display for measuring in dark places. A feature packed DMM with wide range of inductance (up to 20H) and capacitance (up to 200uF) measurement measured via the standard probes. Ideal for audio enthusiasts designing their own crossovers. Features large LCD, inductance, capacitance, data hold, auto power-off, and 95 temperature measurement. $ • Display: 4000 count • Dimensions: 150(H) x 70(W) x 50(D)mm QM-1327 STAINLESS STEEL BIT SETS 18 Piece Stainless Steel Mixed Bit Set • 3 - 4 - 5 - 6mm hex • 5mm flat screwdriver • Philips screwdriver • Dimensions: 70(L) $ x 25(W)mm TD-2176 A collection of commonly used driver bits in a handy rubber edged case. Features a bit locking mechanism for stable driving. All stainless steel. Driver not included. 19 95 9 NON-CONTACT VOLTAGE TESTER/IR THERMOMETER Medium Opaque cover A non-contact AC voltage detector and IR thermometer. It provides easy and safe testing of mains voltages and heating systems. Essential tool for tradesmen. • Dimensions: 175(L) x 125(W) x 75(D)mm HB-6402 WAS $29.95 NOW $19.95 SAVE $10.00 • Detects AC voltage up to 1000V with LED indicator • Precise non-contact temperature measurement • Automatic range selection resolution 0.1°C (0.1°F) • Celsius or Fahrenheit 95 $ • -30 to 230˚C • Automatic power-off SAVE $20 • Dimensions: 155(L) x 24(Dia)mm QP-2269 WAS $59.95 Small Transparent cover • Dimensions: 125(L) x 75(W) x 75(D)mm HB-6410 WAS $18.95 NOW $12.95 SAVE $6.00 39 12VDC VOLTAGE POLARITY EASY TESTER A passive, quick and easy testing solution that performs five essential tests in the field: voltage, load, polarity, voltage drop and continuity. The load applied is selectable between 1A or 500mA to test wiring depending on location, device to be tested, and anticipated voltage drop. Ideal for CCTV and security installers, car audio, roadies, AV techs etc. ISOPROPYL ALCOHOL CAN - 300G One of the most useful service aids around. Use as head, surface and contact cleaning, stain removal in laundry etc. Medical grade disinfectant and ideal for cleaning a windscreen before putting new rego label on. 19 95 SPRING SALE ON TOOLS, TEST & IT PRODUCTS Product Description Cat No 2.5/3.5" SATA HDD Dock with Card Reader 4-Port Coloured Flexible USB Hub Adaptor Plug D9 - Plug PS2 All-In-One Memory Card Reader Bottle Opener with LED Torch and Knife Display Panel 2 x Digit LCD - BARGAIN Display Panel LCD 2x16 Character Compact DMM - 16 Channel Cable Identifier DMM - Auto Ranging Cat IV 600V IP67 Rated DMM - Cap/Freq/Hold 3.5Digit DMM - Digital Capacitance DMM - Dwell Tacho DMM - Frequency/Temperature/Cap/Trans DMM - Protek 608 True RMS with PC Interface XC-4692 XC-4878 PA-0944 XC-4856 TH-1901 QP-5514 QP-5519 QM-1329 QM-1326 QM-1535 QM-1572 QM-1440 QM-1320 QM-1292 Original Special RRP Price $69.95 $15.95 $8.95 $19.95 $11.95 $4.95 $29.95 $79.95 $69.95 $29.95 $59.95 $39.95 $24.95 $299.00 Better, More Technical $59.95 $8.95 $0.75 $8.95 $2.95 $1.50 $7.95 $53.95 $59.95 $19.95 $39.95 $34.95 $17.95 $229.00 29 21 Piece Stainless Steel Micro Bit Set with Driver Contains a collection of stainless steel bits for all repairing jobs such as watch, mobile phones, sunglasses repairs and more. Housed in a neat rubber edged case to withstand small knocks and bumps. Driver included. • Contains: Hex: 0.7, 0.9, 1.3, 1.5, 2 95 $ Torx: T5, T6, T7, T8, T9, T10, Philips: 000, 00, 0,1 Flat blade: 0.8,1.2,1.5, 2,2.5 • Case dimensions: 115(L) x 50(W) x 31(D)mm TD-2110 9 $ 95 NOTE: Can't be sent by airmail. SAVE $5 • Contains: Torx: T10, T15, T20, T25, T30, T40 95 $ Flat blade: 3.5, 5.5, 6.5 Philips head: 1, 2, 2, 2, 3 Hex: 4, 5, 6 • Case dimensions: 115(L) x 50(W) x 31(D)mm TD-2111 29 • 300g NA-1067 $ SAVE $10 1.0mm Chisel TS-1301 WAS $14.95 NOW $9.95 SAVE $5.00 2.4mm Chisel TS-1302 WAS $14.95 NOW $9.95 SAVE $5.00 4.8mm Chisel TS-1303 WAS $14.95 NOW $9.95 SAVE $5.00 A compact stainless steel bike tool set measuring at a handy 70mm. Contains all the drivers needed for quick repairs and adjustments making it an essential tool for any cyclist. FROM $ 95 24 95 $ Tips to suit 6 PIECE STAINLESS STEEL FOLDOUT BICYCLE TOOLSET Small Opaque cover 6 • Operating time: 30 min • Refill time: 10 sec • Dimensions: 196(L) x 26(W) x 19(D)mm TS-1300 WAS $34.95 • Display: 2000 count • Hfe transistor test, diode test • Dimensions: 195(H) x 92(W) x 55(H)mm QM-1548 34 95 $ Gasket seals, stainless steel hardware and IP66 rated for use in industrial, marine and other harsh environments. The closures have a locking catch that engages to positively hold the lid closed until disengaged. Each enclosure includes a 1.8mm galvanised chassis for mounting DIN rail, switchgear, relays or circuit breakers. A size for any application. • Dimensions: 51(L) x 44(W) x 29(H)mm QP-2215 WAS $24.95 The Portasol 50 is designed specifically for DIY enthusiasts. Powered with standard butane gas, it has a run time of around 30 minutes. Ignition is via the flint igniter in the cap. Features automatic shutoff when the end cap is replaced and fast refill time. 1mm tip supplied. 49 IP66 INDUSTRIAL ABS ENCLOSURES • Dimensions: 125(L) x 125(W) x 75(D)mm HB-6400 WAS $16.95 NOW $9.95 SAVE $7.00 PORTASOL 50 GAS SOLDERING IRON Listed below are discontinued items that we can no longer afford to hold stock. Savings Off Original RRP, no rainchecks, may not be available at all stores - call your local store to check stock. Valid from 24/09 - 23/10/2011. Save $$$ Product Description Cat No Original Special RRP Price Save $$$ $10.00 $7.00 $8.20 $11.00 $9.00 $3.45 $22.00 $26.00 $10.00 $10.00 $20.00 $5.00 $7.00 $70.00 DMM - Cat4/Cat3 True RMS DMM - True RMS Autoranging Enclosure 2.5" IDE HD w/Security Epoxy Repair Putty 28g Flammable Gas Detector Goot Lead Free Solder HDMI Cable Tester IP68 Rated USB Optical Mouse IR Non-Contact Pocket Thermometer Lead - Computer IDE 3Socket ATA 133 Lead - Computer IDE 3Socket Ribbon Lead - PS2 Plug to 2 Socket Adaptor Micro USB Digital Tuner Mobile Phone Tool Kit - 11 piece QM-1623 QM-1536 XC-4668 NA-1520 QM-1660 NS-3084 AA-0406 XM-5139 QM-7219 PL-0974 PL-0946 PL-0877 XC-4897 TD-2024 $199.00 $79.95 $99.00 $5.95 $69.95 $24.95 $149.00 $39.95 $49.95 $35.00 $7.95 $12.95 $89.95 $14.95 $89.00 $30.00 $59.00 $4.00 $35.00 $5.00 $80.00 $22.00 $25.00 $29.00 $1.00 $9.00 $25.00 $6.00 All Savings are based on Original RRP Limited stock on sale items. $110.00 $49.95 $40.00 $1.95 $34.95 $19.95 $69.00 $17.95 $24.95 $6.00 $6.95 $3.95 $64.95 $8.95 To order call 1800 022 888 Arduino & IT SINGLE PORT ADSL2+ MODEM An excellent and affordable ADSL2+ modem for those who simply want their internet connection up and running with minimal fuss. It supports PPPoE, PPPoA and bridging mode for connection to a multi-port router. Single or ranged port forwarding, IP address filtering and a built-in firewall gives this unit the basics to get you online securely. See website for full list of features and specifications. • 1 x RJ45 port • Filter/splitter included • 1 x USB port for USB access to the modem/internet YN-8316 39 95 $ INDUSTRIAL IP68 USB KEYBOARD Simply wipe it clean with a soapy sponge when it gets dirty. Perfect for factory floors, food & beverage counters, laboratories and industrial use. Comes with a custom-fit silicone sleeve for added protection. • Anti-bacterial rubber construction • Full-sized QWERTY layout • USB connectivity • Windows compatible • Dim: 440(L) x 138(W) x 12(H)mm XC-5141 WAS $99.00 49 00 $ SAVE $50 EXPRESS CARDS ExpressCard to eSATA Converter with Power Over eSATA An eSATA port on your laptop will allow you to write and read data from external hard drives at a much faster speed than USB2.0. This card will eliminate the need for an external power source for the drive instead, the data and power will come through the single eSATA cable. • Windows compatible • Dimensions: 34(W) x 12(H) x 121(D)mm XC-4142 WAS $49.00 19 00 $ SAVE $30 ExpressCard Gigabit Ethernet Slot this ExpressCard into the 34mm socket on your laptop for gigabit network capabilities. The device will auto-negotiate to 10/100/1000Mbps networks. • Windows compatible • Dimensions: 34(W) x 15(H) x 117(D)mm XC-4146 WAS $69.95 29 95 $ SAVE $40 ExpressCard with 2 x USB3.0 Ports Achieve transfer speeds of up to 2.5Gbps with this ExpressCard to 2 x USB 3.0 port adaptor for your laptop. Though unable to reach the maximum theoretical speed of USB 3.0 due to ExpressCard bandwidth limitations it is still more than triple the speed of USB2.0 (480Mbps). 95 $ • Compatible with XP, Vista and 7 39 (32-bit and 64-bit) SAVE $20 • Compliant with ExpressCard standard release 0.95 • ExpressCard/43 form factor • Backward compatible with USB 2.0/1.1 • Dimensions: 95(L) x 68(H) x 14(D)mm XC-4141 WAS $59.95 www.jaycar.com.au ARDUINO DEVELOPMENT KITS Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It can be used to develop interactive objects, taking inputs from a variety of switches or sensors, and controlling a variety of lights, motors, and other physical outputs (includes Jaycar stepper motors). Arduino projects can be stand-alone, or they can be communicated with software running on your computer. These Arduino development kits are 100% Arduino compatible. 433MHz Receiver Shield for Arduino 16 x 2 LCD Shield for Arduino Add a receiver module to your Arduino project to receive signals from 433MHz wireless devices including weather stations, home automation remote controls, power consumption meters, 95 $ car alarms, etc. Add a 16 character by 2 line LCD display to your Arduino project. It plugs straight into the Arduino board or other project shields and features 5 buttons and a controllable blue backlight. The buttons provide left, right, up, down, and select while using just one analog input, which leaves the other analogue inputs free for you to use in your projects. The display can be panel mounted if required. 29 • Supplied with 433MHz receiver module. XC-4220 EtherTen (100% Arduino Compatible with Onboard Ethernet) 100% Arduino compatible board that can talk to the world. Do Twitter updates automatically, serve web pages, connect to web services, display sensor data online, and control devices using a web browser. Any project you would previously have built with an Arduino and an Ethernet shield stacked together, you can now do all in a single, integrated board. See website for more details. • Gold-plated PCB • Top and bottom parts overlay • Top-spec ATmega 328P MCU • Rounded corners XC-4216 69 $ 29 95 $ Terminal Shield for Arduino Breaks out all the Arduino headers to handy screw terminals, making it easy to connect external wires without using a soldering iron. Ideal for quick experiments or for robust connections! 95 $ • Gold-plated surface 16 XC-4224 USBDroid with onboard Android/USB Host 95 Eleven (100% Arduino Uno Compatible) General-purpose programmable board containing the ATmega328 microprocessor with a boot loader program. It has the standard I/O and is 100% compatible with the original Arduino concept. See website for more information. • USB cable and guide sheet included XC-4210 $ Just like an Eleven but with a microSD slot and extra USB port designed to connect with Android devices like the HTC Desire and Nexus mobile phones or the Xoom tablet. It’s specially designed $ 95 to be compatible with the Android Open Accessory Development Kit so you can write software to get the phone and USBDroid to talk each other, enabling you to build your own Android peripherals to connect your phone to whatever you like. It even has a built-in charger to recharge the Android device. XC-4222 69 Getting Started with Arduino 39 95 ProtoShield Basic for Arduino Fits directly onto an Arduino compatible board such as the Eleven. The PCB surface is gold-plated for durability and it has connection markings on both top and bottom for easy identification. • Size: 59(L) x 53(W)mm XC-4214 • LCD backlight • Gold-plated PCB XC-4218 4 $ 45 WIRELESS USB TRACKBALL REMOTE CONTROL FOR PC The trackball works as a mouse or any other pointer device and you can type numbers or text in the same way you do with a mobile phone. It also has quicklaunch keys, plus controls for multimedia use - play, pause, record etc. You can also program macros or single commands into any key. • 2.4 GHz wireless 00 $ transmission on 10m range • 19mm optical trackball SAVE $30 & mouse keys • USB dongle receiver • Requires 2 x AA batteries • Dimensions: 180(L) x 50(W) x 30(H)mm XC-4940 WAS $89.00 59 This book explains what Arduino is and how it works, and what you can do with it. It also includes a project to build, complete with how to write the code to make it work. • Softcover 118 pages. 216 x 140mm BM-7130 23 95 $ Also available: Practical Arduino BM-7132 $57.95 CAT6 PATCH CABLES Range of Cat6 cables. Available in lengths from 500mm to 10m. • Patch leads meet TIA/EIA 568B2.1 • 50 microns of gold plate on each connector 500mm 1m 2m 3m 5m 10m YN-8280 YN-8282 YN-8284 YN-8286 YN-8288 YN-8290 $5.95 $6.95 $8.95 $10.95 $14.95 $24.95 FROM $ 95 5 Limited stock on sale items. All Savings are based on Original RRP 7 UP TO 80% OF ALL LISTED ITEMS! Listed below are a number of discontinued items that we can no longer afford to hold stock. You can get most of these items from your local store but we can not guarantee this. Please ring your local store to check stock. At these prices we won’t be able to ship from store to store. ITEMS WILL SELL FAST AND STOCK IS LIMITED. ACT NOW TO AVOID DISSAPOINTMENT. Sorry no rainchecks! Product Description Cat No Hardcore Products Enclosure Polycarb Sealed Clear HB-6246 Fixed Inline Attenuator LT-3051 Flexible Conduit 2m HP-1320 Gearbox / Motor Set High Power Pinion Drive YG-2747 Gearbox / Motor Set Six-Speed YG-2744 Globe - Halogen 12V 50W 51mm 38D Lens Green SL-2742 Globe - Halogen 12V 50W 51mm 38D Lens Red SL-2741 Globe - Halogen MR11 12V 20W 35mm SL-2733 Globe - Halogen MR16 12V 20W 51mm SL-2729 Globe - Halogen MR16 12V 50W 51mm SL-2731 Globe - Halogen MR16 24V 50W 51mm SL-2737 IC Command Control Decoder ZN409CE ZK-8827 IC Module 50W Audio Power Amplifier ZL-3762 IC Module 70W Audio Power Amplifier ZL-3764 In-Sure 2 Port Push In Connectors HM-3260 In-Sure 3 Port Push In Connectors HM-3262 In-Sure 4 Port Push In Connectors HM-3264 LED - Flexible Strip with 3xSMD 12V Blue ZD-0474 LED - Flexible Strip with 3xSMD 12V White ZD-0470 LED - Lamp GU10 3 x CREE® LED Downlight White ZD-0364 LED - Lamp MR16 12V 1W Luxeon White ZD-0340 LED - Lamp MR16 12V 20xRed ZD-0323 LED - Lamp MR16 12V 20xYellow ZD-0324 LED - Lamp MR16 Downlight 300Lumen White ZD-0356 LED - Light Bar Module 12V White ZD-0450 LED - SMD Pink Pk6 ZD-2022 LED - Star Module 1W Blue ZD-0506 LED - Star Module 1W Luxeon Amber ZD-0401 LED - Star Module 1W Luxeon Red ZD-0400 LED - Star Module 1W Luxeon Royal Blue ZD-0406 LED - Star Module 1W Red ZD-0500 LED - Star Module 1W Side Emitting White ZD-0407 LED - Star Module 1W Warm White ZD-0510 LED - Star Module 1W White ZD-0508 LED - Star Module 3W Blue ZD-0526 LED - Star Module 3W Luxeon Amber ZD-0434 LED - Star Module 3W Luxeon Blue ZD-0438 LED - Star Module 3W Luxeon Green ZD-0436 LED - Star Module 3W Luxeon Red ZD-0432 LED - Star Module 3W Red ZD-0520 LED - Star Module 3W Warm White ZD-0530 LED - Star Module CREE® XR-C Warm White ZD-0426 LED - Star Module Edixeon 3W Warm White ZD-0534 LED - Star Module Edixeon 3W White ZD-0532 LED 1W Blue ZD-0414 LED 1W Red ZD-0410 LED 5mm 2000MCD Pink ZD-0199 LED Globe 12xWhite Bayonnet 12V ZD-0306 Metal Oxide Varistors (MOV) 130VAC 57J 4500A RN-3408 Plug F59 Compression Crimp Waterproof PP-0670 Plug F59 Screw Type PP-0642 Servo Futaba Star Horn Pk4 YG-2759 Servo Horns to Suit Heavy Duty Servo Pk2 YM-2769 Servo Horns to Suit Standard / Mini Servos Pk6 YM-2768 Socket IC 24Pin Machined PI-6464 Socket Mains Single 240V GPO with Extra Switch PS-4044 Socket Memcard 4in1 PS-0032 Sprocket Set & Ladder–Chain YG-2787 Switch - Keypad SPDT MOM Black/Green LED SP-0776 Switch - Keypad SPDT MOM Black/Red LED SP-0775 Switch - Keypad SPDT MOM Black/Yellow LED SP-0778 Switch - Pushbutton Illuminated MOM 12V SP-0750 Switch - Pushbutton Illuminated MOM 12V SPDT SP-0753 Switch - Pushbutton Illuminated SQR 12V SP-0742 Switch Light Sensitive 240VAC 10A AA-0326 Toroidal 3.2VA MT-2030 Toroidal 7VA MT-2036 Wall Plate with Double HDMI Socket White PS-0286 Original Special RRP Price Save $$$ Product Description $17.95 $9.95 $3.95 $29.95 $32.95 $7.95 $7.95 $7.45 $7.45 $7.45 $8.95 $28.00 $19.95 $23.95 $4.95 $3.50 $4.50 $7.95 $7.95 $49.95 $19.95 $24.95 $24.95 $59.95 $5.95 $24.95 $12.95 $14.95 $14.95 $16.95 $12.95 $17.95 $12.95 $12.95 $19.95 $29.95 $29.95 $29.95 $29.95 $19.95 $19.95 $17.95 $24.95 $24.95 $12.95 $10.95 $5.95 $26.95 $1.50 $1.85 $3.10 $4.95 $6.95 $6.95 $2.80 $6.95 $18.95 $19.95 $2.95 $2.95 $2.95 $19.95 $19.95 $22.95 $9.95 $21.95 $24.95 $29.95 $5.00 $7.00 $1.00 $5.00 $3.00 $3.50 $5.70 $4.70 $5.70 $4.70 $6.70 $21.00 $14.00 $7.00 $2.00 $2.00 $2.00 $5.00 $1.00 $20.00 $10.00 $20.00 $21.00 $20.00 $1.00 $20.00 $8.00 $5.00 $5.00 $7.00 $9.00 $8.00 $9.00 $3.00 $12.00 $18.00 $18.00 $18.00 $17.00 $12.00 $12.00 $3.00 $5.00 $12.00 $8.00 $7.50 $4.00 $14.00 $0.15 $0.20 $1.35 $1.00 $1.00 $1.00 $2.30 $4.45 $1.00 $2.00 $1.80 $1.80 $1.80 $12.00 $13.00 $9.00 $7.00 $13.00 $16.00 $21.00 Adaptor Mains 12V 8A Battery - iPod® 1G/2G Li-Poly Battery - iPod® Mini Li-Ion Battery - iPod® Nano 1G Battery - iPod® Shuffle 1G Battery Bank with Alligator Clips and Switch Battery Lithium Panasonic BR-C 3V Battery Nicad 1.2V 4/5Sub C Battery Ni-MH 3.6V Battery Power Selector 70Amp Battery Stick Pack RC 7.2V 700mAh Ni-MH Charger - Ni-Cd/Ni-MH 12V Charger Car for iPhone®/iPod® Converter 12/24 - 5V USB Converter 12V to 5V for GPS/PDA Converter 12V to 5V with USB Mains Power Monitor Additional Sensor for MS-6155 Power Monitor Power Supply Switchmode 5VDC 2A Power Supply Switchmode 6VDC 1.66A Power Supply T/F Switchmode Halogen Lamp 105W Power Supply T/F Switchmode Halogen Lamp 150W RF Remote Controlled Receiver 240V $12.95 $2.95 $2.95 $24.95 $29.95 $4.45 $2.25 $2.75 $1.75 $2.75 $2.25 $7.00 $5.95 $16.95 $2.95 $1.50 $2.50 $2.95 $6.95 $29.95 $9.95 $4.95 $3.95 $39.95 $4.95 $4.95 $4.95 $9.95 $9.95 $9.95 $3.95 $9.95 $3.95 $9.95 $7.95 $11.95 $11.95 $11.95 $12.95 $7.95 $7.95 $14.95 $19.95 $12.95 $4.95 $3.45 $1.95 $12.95 $1.35 $1.65 $1.75 $3.95 $5.95 $5.95 $0.50 $2.50 $17.95 $17.95 $1.15 $1.15 $1.15 $7.95 $6.95 $13.95 $2.95 $8.95 $8.95 $8.95 Cat No Power Products Original Special RRP Price Save $$$ MP-3470 SB-2570 SB-2576 SB-2579 SB-2578 MP-3071 SB-2414 SB-1618 SB-1606 MB-3672 SB-2306 MB-3630 MB-3654 MP-3658 MP-3046 MP-3047 MS-6155 MS-6156 MP-3230 MP-3232 MP-3051 MP-3053 MS-6138 $44.95 $23.95 $23.95 $22.95 $22.95 $9.95 $35.00 $9.95 $14.95 $99.95 $14.95 $59.95 $19.95 $9.95 $29.95 $17.95 $199.00 $19.95 $23.95 $23.95 $17.95 $24.95 $29.95 $39.95 $6.95 $19.95 $19.95 $5.95 $3.95 $29.00 $5.50 $4.95 $31.95 $12.95 $35.95 $12.95 $8.95 $17.95 $8.95 $139.00 $17.95 $6.95 $5.95 $15.95 $21.95 $9.95 $5.00 $17.00 $4.00 $3.00 $17.00 $6.00 $6.00 $4.45 $10.00 $68.00 $2.00 $24.00 $7.00 $1.00 $12.00 $9.00 $60.00 $2.00 $17.00 $18.00 $2.00 $3.00 $20.00 LED Door Light Solar with PIR SL-2750 LED Ropelights Solar Powered SL-2829 LED Spotlight Solar Powered SL-2716 Light - Auto WorkLight 12V ST-3032 Light - Fluoro 20W 3D Tube SL-2852 Light - Fluoro 26W Compact Red SL-3153 Light - Fluoro Tube 15W UV Bayonet SL-3255 Light - Fluoro Tube 2D 16W ST-3013 Light - PAR 30 Halogen Lamp SL-2973 Light - PAR-56 Spot 240VAC 300W SL-2977 Light - PAR-56 Spot Black 240V 300W No GlobeSL-2974 Light - Twin Fluorescent Cabin Lamp ST-3006 Self Contained Solar Lighting System 10W MP-4552 Self Contained Solar Lighting System 45W MP-4554 Self Contained Solar Lighting System 5W MP-4551 Spotlight 10 Million Candle Power with Fluoro Light ST-3308 Torch - Aluminium Machined Aircraft Grade 2xAA ST-3000 Wind / Solar LED Garden Lights MG-4560 $39.95 $49.95 $149.00 $17.95 $27.95 $22.95 $16.95 $22.95 $16.95 $39.95 $58.95 $39.95 $219.00 $499.00 $189.00 $89.95 $9.95 $99.95 $24.95 $24.95 $79.00 $9.95 $24.95 $6.95 $14.95 $19.95 $14.95 $34.95 $29.95 $19.95 $119.00 $329.00 $79.00 $54.95 $3.95 $54.95 $15.00 $25.00 $70.00 $8.00 $3.00 $16.00 $2.00 $3.00 $2.00 $5.00 $29.00 $20.00 $100.00 $170.00 $110.00 $35.00 $6.00 $45.00 $24.95 $99.95 $119.00 $99.95 $199.00 $199.00 $89.95 $49.95 $59.95 $69.95 $99.95 $76.95 $119.00 $199.00 $179.00 $14.95 $39.95 $57.50 $139.00 $119.00 $89.00 $14.95 $69.95 $89.95 $19.95 $44.95 $75.00 $89.95 $119.00 $119.00 $19.95 $11.95 $44.95 $49.95 $54.95 $31.95 $79.00 $119.00 $119.00 $7.95 $26.95 $35.00 $59.00 $109.00 $30.00 $8.95 $24.95 $54.95 $5.00 $55.00 $44.00 $10.00 $80.00 $80.00 $70.00 $38.00 $15.00 $20.00 $45.00 $45.00 $40.00 $80.00 $60.00 $7.00 $13.00 $22.50 $80.00 $10.00 $59.00 $6.00 $45.00 $35.00 Lighting Products Sight and Sound 2 Way Digital A/V Selector 2.4GHz Wireless Headphone USB Transmitter 4 Output Video Distribution Amplifier 4 Port Video Splitter 50W Guitar Amplifier 8 Way Speaker Selector with Impedance Matching Antenna 2.4GHz Panel Wall-Mount Antenna 2.4GHz Ceiling-Mount Antenna UHF/VHF/FM Active Colour 12V Audio/Video Balun with Wall Plate AV Sender Dual Channel AV Sender/Receiver 2.4GHz Bracket Heavy Duty Ceiling Projector Mount Bracket Plasma TV Swivel CD Player/Encoder with USB/SD and Remote Clip-on Chromatic Tuners Component Video Cat 5 Extender Crossover 3 Way Speaker DAB+ Digital Radio Digital Masthead Distribution Amp (Kingray) Dual Output Video Distribution Amplifier FME adaptor for Sierra 3g cards Glass Base Speaker Stands HDMI AV Lead 10m AC-1647 AA-2035 QC-3439 YN-8099 CS-2556 AC-1682 AR-3275 AR-3271 LT-3170 LT-3036 AR-1838 AR-1836 CW-2818 CW-2828 GE-4055 AA-2041 QC-3680 CX-2621 AR-1750 LT-3252 QC-3438 AR-3314 CW-2843 WQ-7405 Savings off Original RRP. Limited stock, no rainchecks, may not be available at all stores – call your local store to check stock details. Valid from 24th September to 23rd October 2011. YOUR LOCAL JAYCAR STORE - Free Call Orders: 1800 022 888 AUSTRALIAN CAPITAL TERRITORY Belconnen Fyshwick Ph (02) 6253 5700 Ph (02) 6239 1801 NEW SOUTH WALES Albury Alexandria Bankstown Blacktown Bondi Junction Brookvale Campbelltown Castle Hill Coffs Harbour Croydon Erina Gore Hill Hornsby Liverpool Maitland Ph (02) 6021 6788 Ph (02) 9699 4699 Ph (02) 9709 2822 Ph (02) 9678 9669 Ph (02) 9369 3899 Ph (02) 9905 4130 Ph (02) 4620 7155 Ph (02) 9634 4470 Ph (02) 6651 5238 Ph (02) 9799 0402 Ph (02) 4365 3433 Ph (02) 9439 4799 Ph (02) 9476 6221 Ph (02) 9821 3100 Ph (02) 4934 4911 Newcastle Penrith Port Macquarie Rydalmere Sydney City Taren Point Tweed Heads Wagga Wagga Wollongong Ph (02) 4965 3799 Ph (02) 4721 8337 Ph (02) 6581 4476 Ph (02) 8832 3120 Ph (02) 9267 1614 Ph (02) 9531 7033 Ph (07) 5524 6566 Ph (02) 6931 9333 Ph (02) 4226 7089 NORTHERN TERRITORY Darwin Ph (08) 8948 4043 QUEENSLAND Aspley Caboolture Cairns Capalaba Ipswich Labrador Arrival dates of new products in this flyer were confirmed at the time of print. Occasionally these dates change unexpectedly. Please ring your local store to check stock details. Prices valid from 24th September to 23rd October 2011. All savings are based on original RRP Ph (07) 3863 0099 Ph (07) 5432 3152 Ph (07) 4041 6747 Ph (07) 3245 2014 Ph (07) 3282 5800 Ph (07) 5537 4295 Head Office Mackay Maroochydore Mermaid Beach Nth Rockhampton Townsville Underwood Woolloongabba Ph (07) 4953 0611 Ph (07) 5479 3511 Ph (07) 5526 6722 Ph (07) 4926 4155 Ph (07) 4772 5022 Ph (07) 3841 4888 Ph (07) 3393 0777 SOUTH AUSTRALIA Adelaide Clovelly Park Gepps Cross Reynella TASMANIA Hobart Launceston VICTORIA Cheltenham Coburg 320 Victoria Road, Rydalmere NSW 2116 Ph: (02) 8832 3100 Fax: (02) 8832 3169 Ph (08) 8231 7355 Ph (08) 8276 6901 Ph (08) 8262 3200 Ph (08) 8387 3847 Ph (03) 6272 9955 Ph (03) 6334 2777 Ph (03) 9585 5011 Ph (03) 9384 1811 Online Orders Frankston Geelong Hallam Kew East Melbourne Ringwood Shepparton Springvale Sunshine Thomastown Werribee Ph (03) 9781 4100 Ph (03) 5221 5800 Ph (03) 9796 4577 Ph (03) 9859 6188 Ph (03) 9663 2030 Ph (03) 9870 9053 Ph (03) 5822 4037 Ph (03) 9547 1022 Ph (03) 9310 8066 Ph (03) 9465 3333 Ph (03) 9741 8951 WESTERN AUSTRALIA “NEW” Joondalup Ph (08) 9301 0916 Maddington Midland Northbridge Rockingham Website: www.jaycar.com.au Email: techstore<at>jaycar.com.au Ph (08) 9493 4300 Ph (08) 9250 8200 Ph (08) 9328 8252 Ph (08) 9592 8000 SERVICEMAN'S LOG There’s lots of ways to kill a laptop . . . Unlike desktop PCs, laptops suffer from all sorts of accidental damage, sometimes fixable and sometimes not. Where possible though, we do like to repair them and keep them going. It’s a fact of life that lower-end laptops and desktops are now often treated as consumable items; something to be chucked away if they fail as repairs are deemed too expensive. However, I don’t consider this to be the best approach. Apart from the adverse ecological impact, it also wastes tonnes of valuable (and sometimes dwindling) resources. Our rubbish bins are too often fed computers and components that could easily be salvaged, recycled and re-used. In light of this and other excesses in the industry, we try to offer as many options as we can, especially for laptop repair. Provided the economics stack up, the aim is to keep a machine going for at least its expected average life. When they bring in a faulty computer, many clients ask whether they should “just buy a new one” and throw the old one away. Less scrupulous retailers would probably jump at the chance for an easy sale but we like to check if the machine can be economically repaired first. Of course, if the machine is badly damaged or the repair is obviously not economically viable, we quickly advise the client to discard it. We may be green-aware but we are sensible about it. Laptops are a special case in point, as they are so prone to accidental damage. We often see machines that have been dropped, sat-on, had coffee spilled over them or damaged in 101 other ways. A classic recent example was a 14month old laptop with a broken power socket. Laptop power sockets come in all shapes and sizes, some proprietary and some stock-standard, yet the majority share the same inherent fault – physical weakness. When a power supply is plugged in, enormous siliconchip.com.au stresses can sometimes be placed on the socket. A common scenario is where a user forgets that the supply is plugged in and picks the machine up and waks off, only to be jerked to a stop as the power cable reaches its limit. In such cases, it is just luck if the socket doesn’t break under the strain. However, even if it doesn’t break, it can be deformed to such an extent that the plug no longer makes decent contact, so the result is almost the same. In either case, a replacement is required. Manufacturers go down either of two roads when attaching power sockets to motherboards. The first is where the socket is soldered directly onto the board while the other is where the socket is self-contained in a small moulded enclosure (often part of the case) and connected to the motherboard via a small loom and plug. Both approaches have their advantages and disadvantages when it comes to repairs. The stand-alone version is obviously the easiest to replace, provided a spare part is available. If it isn’t, then there are problems, especially if the socket is an oddball one. The same goes for the hard-soldered socket. In addition, these can be quite difficult to remove from the motherboard without damaging anything. It’s a big ask, considering the amount of heat usually required to melt large soldered joints through double-sided boards. While a standard 40-watt soldering iron could be used, a specialist de-soldering tool such as a hot-air or suction-based station is worth its weight in gold for this type of work. The ability to replace items on motherboards in-house is a big plus for any company, saving everyone’s time and increasing profitability as opposed to Dave Thompson* Items Covered This Month • • • Fixing a laptop power socket The Breville stab mixer A shonky antenna modification *Dave Thompson, runs PC Anytime in Christchurch, NZ. farming the work out to a third-party contractor. But what can we do if we can’t get a similar socket? Even with dozens of old laptop chassis and dead motherboards, the chances of finding a socket that fits perfectly in the old solder holes on the motherboard, or fits in the case moulding like the original, are very slim. I have been lucky with many of the socket repairs I have carried out over the years, with spares being available either from the manufacturer or from one of the electronics suppliers around town. Lately, however, my luck appears to have run out and I’ve had several cases where I was unable to find a replacement that was similar enough to do the job. For a machine in otherwise good shape, this is a real shame and not just because replacing laptop motherboards is typically expensive. In many cases, the boards are not even available in New Zealand as a spare part and buying and freighting one in from overseas is not economically viable either. In the past, we used to advise claiming insurance for such faults, though this relied on the client having the necessary insurance and the company paying out on such claims. As a result, for some time now, we have been offering a compromise solution and while it won’t suit everyone, many people October 2011  57 Serr v ice Se ceman’s man’s Log – continued go for it as an affordable option. Our solution is to hard-wire a small “dongle” where the power socket once sat, with a standard socket on the end for their original power supply to plug into (though this is usually modified with a new matching plug). In most cases, the dongle (which I create from similar-gauge laptop power supply cable) sits beside the machine in normal use and folds alongside when in the carry-bag, making it just as portable as before. And because we include decent stress-relief, if someone walks off with it plugged in, the plug will simply pull out without breaking anything. It is an ideal repair to keep otherwise perfectly-good laptops going that little bit longer when they might otherwise be thrown out. The Breville stab mixer Now for some reader contributions. J. K. of Castlecrag, NSW, recently did battle with a Breville stab mixer. Here’s what happened . . . My family and friends have regularly sent their “dead ducks” to me for resurrection. I hate being beaten by these jobs so some of them take a lot longer than they should. A Breville stab mixer was one such case. Daughter-in-law Cecilia delivered it to me one morning, saying that she loved using the thing but it 58  Silicon Chip was now dead. She did not mention the noise it would have made when it blew its internal fuse. No matter – the OC (open-circuit) fuse became very obvious when the control circuit was finally exposed. This took some doing though, as the plastic outer casing was a “push fit” and was very reluctant to reveal its clip points. I am not that familiar with AC control circuits although I have built some kits with SCRs and Triacs. However, a kit comes with lots of useful explanations which, of course, were absent in this case. After some thought, I decided that the best initial approach to finding the problem would be to wind up the input power and check the voltage at which the fuse failed. So a Variac would be very handy. The problem was I didn’t have one but I did have John Clarke’s Full-Wave Motor Speed Controller (SILICON CHIP, May 2009) which I had built from a kit. However, I was unsure as to what might happen if I fed its output into the stab mixer to observe what happened as the input was ramped up. As a result, I sent an email to John Clarke who discouraged me from feeding the Full-Wave Motor Speed Controller into a diode bridge (the Breville used a 230V DC motor) because the diodes may overheat. However, he did advise that the output could be fed directly to the motor to test it (since the controller essentially provides a full-wave rectified DC output). Indeed that worked perfectly and the motor was easily eliminated as the source of the problem. My next step was to build a “power buffer” consisting of six 230V bayonet light fittings in parallel, into which I could insert 1-6 100W light globes to increase the input power in steps. Based on the starting current I had measured for the DC motor, just one or two globes should get things going. Indeed, with two or three globes in place and a 3A slow-blow fuse in the line, the motor turned but, due to the reduced power input, not very vigorously. I then increased the number of globes and the unit continued to function, even with all six of them inserted. So clearly there was a voltage-sensitive short somewhere. Oh, how I longed for a Variac! Next, I traced out the Breville’s motor control circuit and it turned out to be quite standard – see Fig.1. The advantage of using a Triac instead of an SCR is that a Triac can be fired on both halves of the cycle, which certainly gives a less “choppy” DC input to the motor. The diode bridge feeds the 600W DC motor through inductors to provide some smoothing and there is a metal oxide varistor (MOV) across the motor to dampen high-voltage spikes. The Triac itself is a snubberless BTA08 – quite a rugged individual! I should have quickly twigged to the fact that the RL257 diodes were a bit marginal, being rated at 2.5A, but that fact slipped by. As a result, I completely dissembled the controller and tested all the components. I checked the capacitors with a megger, measured the inductors and used a multimeter to check the Triac. I also ran up to 380V DC into the MOV to check that it did not “click” in too early. I did not try to test the Diac and for some reason I also didn’t test the diodes at this stage, probably because in my experience diodes are pretty rugged! Finding no problems, my next step was to build a jury rig diode bridge (with 1000V 6A diodes) and new inductors to run the motor. I’m not sure why I bothered with this step because, as expected, the motor performed perfectly at full input power. All I could conclude at that point was that the siliconchip.com.au BRIDGE (4 x 1N5408) (SETS LOW SPEED) 2 x 30 H RFCs 230V AC INPUT 220nF 250V X2 350k 230V DC MOTOR DRAIN RESISTOR – A2 HI LOW Fig.1: the motor control circuit in the Breville stab mixer uses a diode bridge circuit to feed the motor through two 30μH inductors. The Triac control circuit is switched in to give low-speed operation. back together and what’s more, it all worked perfectly. Of course, a new stab mixer can be purchased for about $60 so my time on the job would never have justified a commercial repair. However, it did add to my “experience”! A shonky antenna modification My next story comes from a fellow Kiwi, G. M. of Pukekohe, NZ. He recently had to deal with a mess left by a two-legged rat . . . It was a Monday morning and I had arranged to call on a lady who lives in a pensioner flat not far from my workshop. Apparently, she had moved her TV from her bedroom to the lounge and now she couldn’t get a picture, only snow. When she first rang, I talked her through the connections from the wall socket to the VCR and on to the TV. It sounded as though she had done everything right but it simply wouldn’t work. She then told me that she had recently moved into the flat and hadn’t used that particular antenna outlet before – only the one in the bedroom which worked fine. Now TV antenna systems in pensioner flats are not usually tampered with, so my initial thoughts were that the outlet must have worked for the previous tenant. It just had to be something simple like a connection RIGOL DS-1102E 100MHz RIGOL DS-1202CA 200MHz 50MHz Bandwidth, 2 Ch 1GS/s Real Time Sampling USB Device, USB Host & PictBridge 100MHz Bandwidth, 2 Ch 1GS/s Real Time Sampling USB Device, USB Host & PictBridge 200MHz Bandwidth, 2 Ch 2GS/s Real Time Sampling USB Device & USB Host Sydney Brisbane Perth Melbourne siliconchip.com.au ONLY $769 inc GST Tel 07 3275 2183 Fax 07 3275 2196 Adelaide Tel 08 8363 5733 Fax 08 8363 5799 Shop On-Line at emona.com.au RIGOL DS-1052E 50MHz Tel 02 9519 3933 Tel 03 9889 0427 Fax 02 9550 1378 Fax 03 9889 0715 email testinst<at>emona.com.au A1 A1 47nF 250V X2 Australia’s Best Priced DSOs ONLY $439 inc GST G DB3 DIAC 275V MOV FUSE A2 BTA08 TRIAC + speed control circuit wasn’t working properly. It was then that I decided to check the diodes that I had removed from the unit. And that was it – three of them were shorted in both directions! No wonder the unit blew fuses! The trick then was to fit more rugged diodes and I settled on 1N5408s. These are quite a bit larger than the RL257s and the pigtails are much larger – requiring drilling out the holes in the board. This in turn lifted some of the copper tracks and I had to wire in some links to replace the missing copper. Eventually, I managed to mount all the new diodes in position and fit the board back into the selector switch housing. It was a very tight fit but it all worked OK. All I had to do then was wire in a slow-blow fuse and push it all back together. Getting the pushbuttons back into the slots above the contacts was very difficult, as the whole assembly was put together with cost-saving in mind. The selector consisted of a strip of metal bent up at each end and fixed in the middle at the point of the AC input. The buttons then push the strip down at one end or the other to make contact with the “Hi” or “Low” terminals. Between each button and the strip is a spigot which is located by the plastic housing of the selector switch Unfortunately, these spigots were relatively free to wander about and getting them and the pushbuttons to line up and stay in place was a very fiddly job. However, I finally got it all ONLY $1,422 inc GST Tel 08 9361 4200 Fax 08 9361 4300 web www.emona.com.au EMONA October 2011  59 Serr v ice Se ceman’s man’s Log – continued error on her part, or maybe one of those cheap, disgusting RF leads had gone open circuit. The braid on some of those cheap leads is so thin that it easily breaks if the lead is tugged too often. Convinced that this would be an easy job to ease me into my working week, I duly knocked on her door and confirmed that she had everything connected properly. I then wiggled the antenna leads but not a flicker so I bypassed the VCR and connected the TV directly to the wall socket. That didn’t work either so I tried substituting a new lead that I’d brought with me but still nothing. Next, I tested the outlet using a small portable TV that I’d had the foresight to throw in at the last minute. There was still only snow so I removed the wall plate and confirmed that all was OK behind there. I then took the portable into the bedroom and plugged it into the outlet and it produced a beautiful picture on all channels. That meant that we either had a faulty splitter, a faulty connection at the splitter or an open circuit in the 60  Silicon Chip cable running to the lounge room. It would not be long before the ceiling space would be unbearably hot so I bit the bullet and fetched the ladder from the van, located the manhole and silently prayed that the splitter would be nice and handy. It was and a quick visual inspection showed that all the connections were fine. I swapped the bedroom and lounge-room connections anyway but nothing changed – the lounge room outlet was still faulty. So the cable from the splitter to the lounge had to be faulty. A rat maybe? A check with my multimeter confirmed an open circuit. I asked the lady if I could borrow a broom so I could use the handle as a “cobweb wand” to wave before me as I followed the cable to check its integrity. Murphy was determined to spoil the start to my week, as the manhole was at the exact opposite end of the flat to the lounge outlet. With my head light switched on, I lifted the cable from the dusty ceiling insulation as I worked my way along, “sweeping” cobwebs as I went. Eventually, just before I reached the lounge end, I realised that the cable had more slack than it should have. I puzzled at the thought of a rodent chewing clean through it but you’ve got to expect the unexpected in this business. I began to draw the cable toward me, hoping that the “break” was not halfway down the wall. And then, as the cable end came towards me, the light picked up something glinting on the loose end – it had a threaded F-plug attached. But why? This particular antenna system would have been done long before Fplugs became trendy, so someone had been tampering after all! To get to the bottom of the mystery, I now had to crawl the rest of the way on my belly due to the low pitch of the roof (the lounge outlet was on an outside wall). I groped around for the other end of the cable and eventually found it, much to my relief. By now though, I was hot, sweaty, dirty and very angry. So much for my freshly-laundered overalls. The “cut” lounge end of the cable which went down the wall to the outlet socket was also terminated with an Fplug. This in turn was connected to a joiner and then to another cable which disappeared off to my right. I could tell even in the gloom that this other cable was not original as it was heavier than the original cable. I disconnected this cable and made good the connection from the splitter to the lounge using the joiner. After making my escape from the rapidly increasing heat of the ceiling space, I confirmed that all was now back to normal in the lounge and the reception was as near perfect as you could expect. I then went outside to breathe some fresh air and to confirm my suspicions. As I rounded the corner of the house, there it was, hidden from the road-side view – a satellite dish steadfastly focussed on the sky. The previous tenants had obviously had the dish installed and had relied on a set-top box for their reception. However, the installer had been lazy and had probably lifted a concrete roof tile from the outside, just above the lounge socket, before conjuring up his dirty little trick of cutting into the original RG59 cable and then using the short length down the wall to complete the circuit. Of course, it would have been very easy for him to have used the original siliconchip.com.au cable to pull up a draw wire from the lounge, then pull both cables back down and correctly terminate his cable to another wall-plate. But he didn’t do that and so the lounge socket was left disconnected from the antenna. So it was a rat after all, of the twolegged variety! On a similar theme, I have seen some very shonky dish installations over the years. Often, the cable enters the house through a roughly-drilled hole straight through the outer and inner wall linings, with no wall plates installed. As a result, the weatherproofing of the external cladding is compromised and in one case I know of, a new lounge extension failed to pass its final inspection for this very reason. Of course, it’s human nature to want a job to flow easily and sometimes short-cuts are expedient. However, what this guy did was just downright sneaky and it ended up costing someone else money and inconvenience to correct his shortcut. The only thing I can say in his favour was that he’d had the decency to fit a plug to the loose end of the cable. Unfortunately, customers cause more than their fair share of problems as well. For example, I wonder how many technicians have been caught siliconchip.com.au out by the customer who has remade all the connections after relocating their TV and VCR (yes, some people still use them), then phones to say “my video’s not working”. Of course, they somehow forget to mention that vital clue – that they have disconnected and reconnected everything. You call to their home and peer into the back of the dark, dusty, cobwebinfested TV-cabinet to check the connections. At first glance, everything looks OK. The antenna lead from the wall disappears into the cabinet, the VCR has leads plugged into its RF IN and RF OUT sockets and the TV is also connected and works fine on broadcast signals. When you ask them what channel they select to watch videos, they usually don’t seem too sure. As a result, you set about retuning the TV to the VCR’s output frequency on a blank channel, a really slow and tedious process with some older sets. By playing a tape in the VCR, you will know when you’ve hit the correct channel (early VCRs had their own test-signal generator). However, having covered the spectrum without success, you conclude that maybe the VCR has dirty heads or is otherwise faulty. By this time, you’ve had enough of little Johnny romping around the room with the contents of your toolkit, so you keenly suggest taking the VCR back to the shop for a head clean. And so you set about removing the VCR from the cabinet and that is when the penny drops. The customer has connected the antenna lead from the wall socket directly to the TV by routing it through the cabinet. The other antenna lead is indecently connected between the VCR’s RF OUT socket and its RF IN socket! So there is no VCR signal connection to the TV at all. And so you correct this rather silly mistake while making some sheepish excuse about how you missed that. You then suffer the indignity of having to retune the TV which had probably been correctly tuned all along. Of course, there’s no way you can charge for the time wasted in doing this, so you’ve just got to get on with it and look as happy as you can. And often, you can’t even sell them an A/V lead to connect the VCR to the TV (instead of the antenna lead) because the only input on the TV is already connected to a set-top box. It really is time that some customers upgraded to flat-screen TVs but not SC everyone can afford to do that. October 2011  61 You can do it with your PC . . . . By JIM ROWE Measuring Audio Gear – without spending $$$$! So you want to measure the performance an amplifier or other piece of audio gear. . . but you don’t have thousands of dollars for the “right” test gear. No problem – all you need is a PC, a decent sound card (or a USB sound interface), plus an appropriate software package. Here’s how it’s done: I analog domain will inevitably depend very much on the n the old days, checking the performance of audio circuitry inside the PC’s sound card or USB sound interface equipment like amplifiers and preamps usually in– in particular, on the ADCs in the audio input circuitry volved a fair bit of test gear: an audio generator, an and on the DACs in the audio output circuitry. audio millivoltmeter (or better still a distortion and noise The analyser software can automatically correct for meter), a scope to keep an eye on clipping and hum and things like sound card frequency response variations and some resistive ‘dummy loads’ to provide the audio equipgain or loss in both the input and output analog circuitry ment with its correct loading (standing in for things like but it can’t really compensate for high noise speakers, with their complex impedances). and/or distortion levels in And even when you had all of this test gear on this circuitry. hand, the actual testing was a rather The same qualifications tedious and time-consuming tend to apply in the case of operation. crosstalk inside the sound Now, thanks to galcard/interface – both interloping digital technolchannel crosstalk between ogy, you do can do your the right and left channels own tests at much lower (within both the input ADCs cost, using a recent-model and the output DACs) and also PC with a decent full-duplex crosstalk directly between the sound card (or a USB ReADCs and DACs. cording/Playback interface) With an ‘el cheapo’ sound plus a low cost digital audio card (such as that included analyser software package. in budget PCs or integrated Before we start telling you with their motherboards) the how it’s done, we don’t want results are likely to be fairly to mislead you about the modest, while with a ‘top of kind of measurement results the range’ sound card or interyou can expect. face they may well approach Although the performance If your PC of the digital analyser softsound card is not up to it, what could be achieved usware tends to be excellent the SILICON CHIP USB Recording/ ing a dedicated digital audio in the digital domain (ie, Replay Interface (published June 2011) analyser system. So to ensure the best posinside the PC itself), the would be an ideal partner for any PC-based performance ‘outside’ in the audio equipment measurement setup. sible results use the highest 62  Silicon Chip siliconchip.com.au performance sound card or interface that you can afford. What you’ll need I’d recommend as a minimum using a Pentium 4 system (or better) running at 1.5GHz or better, with at least 512MB of RAM and a 80GB or larger hard drive. It should also be running either Windows XP, Vista or Windows 7 – which will again increase the demands for RAM and hard drive capacity. Of course if the PC is already fitted with a top-quality sound card, so much the better. If it isn’t, your best bet would be to buy or build a good USB sound interface, such as that described in the June 2011 issue of SILICON CHIP. Software You will also need a digital audio analyser software package, as mentioned earlier. There are a few of these around but the one that seems to have the best reputation is a package called ‘TrueRTA’, written by John L. Murphy, a former space systems software analyst for the US Air Force and an audio design engineer with over 20 years’ experience. Details of this software are summarised in the panel at right. After trying out the free Level 1 version myself for a few days, I decided to upgrade to Level 4 and the next day I was able to use this after entering the registration code. I’ll be using the Level 4 version of TrueRTA to illustrate each aspect of doing audio testing with a PC throughout this article. During the preparation of this article I’ve used TrueRTA Level 4 with a number of PC’s as well as sound cards and USB interfaces. The PCs include a Compaq V2000 laptop running Windows XP, a Compaq D380mx desktop machine also running Windows XP and an Acer Aspire AX1800 machine running Windows 7 (64-bit version). The SILICON CHIP USB Recording/Playback interface was used with the Compaq V2000 and the Acer AX1800, while I used a Creative Extigy USB interface with the Compaq LAPTOP OR DESKTOP PC RUNNING AN AUDIO ANALYSER PACKAGE SUCH AS "TrueRTA" USB CABLE LEFT LINE OUT RIGHT LINE OUT LEFT LINE IN RIGHT LINE IN USB RECORD/REPLAY INTERFACE TO INPUTS OF GEAR BEING TESTED FROM OUTPUTS OF GEAR BEING TESTED Fig.1: The basic setup for PC-based audio testing. The audio line outputs provide the test signals, while the line inputs connect to the meter, scope and analyser. siliconchip.com.au About TrueRTA is a software package available online from TrueAudio (USA). (www.trueaudio.com). A limited capability version (Level 1) is available at no cost (ideal to try out and has no expiry date). The file TrueRTA_se.exe is less than 2MB in size and is a self extracting installer. This can be upgraded to any of the three higher performance levels by buying the appropriate licence (no further download is needed). The Level 2 licence is $US39.95, Level 3 is $US69.96 while Level 4, the highest performance level, is $US99.95 TrueRTA runs on any PC with a Pentium 3 or better, running at 500MHz or faster and with at least 64MB of RAM plus a fullduplex sound card or USB audio interface, running Windows XP, Vista or Win7 (32-bit or 64-bit). It is basically a suite of software-based audio test instruments, including: 1. A high resolution real-time analyser (spectrum analyser). The analyser resolution varies from one octave/band for the free Level 1 version, to 1/24th of an octave/band for the Level 4 version. The Level 4 version also provides selectable resolutions of 1/3, 1/6 and 1/12th of an octave. The analyser can display in either conventional bar mode or line mode, which is better for showing frequency response curves, etc. The maximum upper dBu limit is +20dBu, while the minimum lower dBu limit is -160dBu. These are the measurement limits of the software, of course; the performance of your sound card/interface will determine the actual measurement range. Other features of the analyser include selectable averaging, adjustable frequency range and the ability to store calibration curves for not only the PC’s sound card/interface but also for a microphone so that it can be used for acoustic measurements on speakers etc. Once stored these curves can be automatically used to correct for system errors and improve measurement accuracy. 2. A low distortion digital audio signal generator, the output of which can be varied between 5Hz and 48kHz (when the sound card allows 96kHz sampling). In addition to the low distortion sinewave output the generator can be set to produce square waves (adjustable duty cycle), triangular, sawtooth and impulse waveforms, as well as pink noise and white noise. The higher level versions can also produce a digitally synthesised logarithmic sine sweep from 10Hz to 48kHz (or half the sampling rate), with a response flat within +/-0.05dB over the audible frequency range. 3. A dual trace DSO which covers the full audio spectrum. The amplitude range of each channel can be varied between 5V/ division down to 1mV/division in the usual sequence of ranges, while the timebase ranges vary from 200ms/div to 50s/div. Triggering is selectable in terms of the left or right channel and also adjustable in level. 4. A digital audio voltmeter which in the Level 4 version provides readout of the input level in millivolts RMS and dBu, together with the crest factor in either mV/mV or dB. Each of these four measurements can be selected individually, or all at the same time. Each of the instruments can be started or stopped individually and when stopped the currently displayed measurement screen and all associated data can be saved to memory (up to 20 memories are available) and/or printed out (with or without user-added notes). October 2011  63 Fig.2: clicking on TrueRTA’s Audio I/O menu button gives you this drop-down menu, which is used for most of the initial setup and calibration steps. Fig.3. if you click on Audio Device Selection in the Audio I/O menu, this dialog box appears to let you select which audio input and output devices are to be used. D380mx machine for comparison. Fig.1 shows the basic set-up for using a PC for audio equipment testing. The laptop or desktop PC is running an audio analyser package like TrueRTA, while the analog outputs and inputs of either the internal sound card or the USB sound interface are used as the system’s interfaces to the gear being tested. The line outputs are used to provide the test signals (from the software audio generator), while the line inputs are used to feed the output signals from the equipment you’re testing back into the PC for analysis. You can see from Fig.1 that in order to use the PC and its USB sound interface for audio testing, the operating system (ie, Windows) must be set up not only to use the USB interface as its ‘default’ sound card but also to configure it so that the ‘recording’ signals being fed in via the line inputs are NOT ‘looped back’ internally by the software to the line outputs (this is often done to allow ‘record monitoring’). So as well as going into the Windows Control Panel and making sure that your USB Record/Playback interface is set as the default audio device for both recording and playback, it’s also quite important to go into the Windows Playback Mixer dialog and make sure that the Line Inputs are not selected for playback – only the WAVE signals. This is usually the best way to ensure that the input (‘recording’) and output (‘playback’) functions are kept isolated from each other. Another important step in your initial system set-up is to ensure that the recording and playback volume controls are each set to a known and easily repeatable level. Usually with Windows XP and earlier operating systems this is ‘maximum’ – ie, with the software sliders set at their upper limit. However with Windows 7, you need to go into Control Panel/Sound/Recording and then select the Microphone function of your USB Audio Codec and open its Properties dialog. Fig.4: Then if you click on Input Channel Selection, a submenu lets you select which channel or channels are to be displayed. Fig.5: The Input Sampling Frequency sub-menu lets you to chose the highest input sampling frequency that your sound interface can handle. The basic set-up 64  Silicon Chip siliconchip.com.au Fig.6: the Output Sampling Frequency flyout lets you match the output sampling frequency to the one you selected for the inputs in Fig.5. Then you need to click on the Levels tab and move the Microphone volume slider almost fully to the left, until numeral ‘1’ is being displayed in the box just to the right of the slider itself. This sets the ‘recording’ gain to unity, corresponding to a ‘line level’ input. Initial checkout You should now be ready to check that your audio testing software and hardware system is set up and functioning correctly. Do this by first starting up TrueRTA and then clicking on the Audio I/O menu button (in the top menu bar). This causes a drop-down menu to be displayed, as shown in Fig.2. If you then click on Audio Device Selection, you’ll see a Fig.8 (left): TrueRTA’s signal generator control panel runs down the left-hand side of the screen and provides all of its controls. Fig.9 (right): In scope mode, the DSO control panel is displayed down the right-hand side of the screen. siliconchip.com.au Fig.7: TrueRTA also lets you select the CPU Speed while it’s running. Initially this is best left set to ‘1 (safest)’. column of Input Device Selection choices on the left and a similar column of Output Device choices on the right (Fig.3). USB Audio CODEC should be selected. Then click on [OK] to close the dialog box. Now click on the Audio I/O menu button again and this time click on Input Channel Selection. This will cause a sub-menu to appear to the right (Fig.4) and you should see a small tick next to the top selection ‘Display L Channel’. Since the Audio I/O menu remains displayed, the next step is to click on the Input Sampling Frequency option just below Input Channel Selection. This will cause the first flyout menu to disappear, to be replaced by another giving a list of input sampling frequency options (Fig.5). If you’re using the SILICON CHIP USB Recording/Replay Interface, you can select the 48kHz sampling frequency. If you’re using an interface or sound card which can support 96kHz sampling, this can be selected instead. As a rule of thumb it’s a good idea to select the highest sampling frequency that your audio interface is capable of working at, because this will give the best measurement resolution. Then click on the next menu option, for Output Sampling Frequency, which gives you another sub-menu (Fig.6). This only gives you three options, so select the one which corresponds to the Input Sampling Frequency you chose in the previous step. The next step is to click on the following option in the Audio I/O menu: CPU Speed Setting. This gives you a menu offering a choice of five speed settings (Fig.7) but it’s recommended that during initial set-up you leave it at the default setting of ‘1 (safest)’. Later on when you are happy that everything is working OK, you can try one of the faster settings. Your system should now be ready for its initial functional test, so link the Left Line Output of your USB Interface back to its Left Line Input, using a short screened cable with an RCA plug at each end. Then turn your attention to TrueRTA’s Generator control panel, a narrow box running down the October 2011  65 LAPTOP OR DESKTOP PC RUNNING AN AUDIO ANALYSER PACKAGE SUCH AS "TrueRTA" DIGITAL RMS AC VOLTMETER 244.9 v 399.0mV 3.999V 39.99V 399.0V USB CABLE LEFT LINE OUT RIGHT LINE OUT LEFT LINE IN RIGHT LINE IN USB RECORD/REPLAY INTERFACE Fig.10: Here’s the TruRTA DSO displaying the generator’s output signal, with the generator producing a 300Hz sinewave at around -10dBu. Fig.11: The setup for calibrating the input and output circuitry of your sound card or interface, using an external RMS AC voltmeter. left-hand side of the screen. As you can see from Fig.8, this not only offers a Generator On/Off button at the top but small text boxes lower down which can be used to set the software generator’s output frequency and output amplitude (in dBu). Then there’s a set of buttons providing a choice of waveforms and finally a button labelled ‘Quick Sweep’. We’ll come back to this button later but for the present just make sure that the generator’s frequency is set to 300Hz and its output level to -10dBu. Now click on the oscilloscope tool button at top left on the screen, just below the File menu – the button with the sinewave on it. Then click on the fourth button along in the same toolbar - the one with the label ‘Go’. This will cause the main window to become TrueRTA’s scope display, with its own control panel running down the right-hand side of the screen. As you can see from Fig.9 this gives you two columns of buttons to allow you to set the DSO’s vertical gain and timebase scaling, plus a pair of buttons to select either the left or right channels as the timebase triggering source, a slider to adjust the triggering level and a button to select or deselect auto triggering. For the present, leave the vertical gain and timebase settings at their default values, which should be 0.2V/Div and 0.5ms/Div (as shown in Fig.9). The L channel should also be selected as the triggering source. At this stage your DSO display should only be showing a horizontal line, because the software generator hasn’t been turned on as yet. As soon as you click on the On/Off button at the top of the left-hand Generator panel (Fig.8), you should see the generator’s 300Hz sine waveform appear on the display within a second or two (Fig.10). If everything has gone well so far, you’ll now be ready for Fig.13 (above): The Spectrum Analyser menu allows you to set the analyser’s resolution, its speed/precision tradeoff and measurement limits. Fig.12: Clicking on Line Input Calibration in the Audio I/O menu (Fig.2) displays this dialog, which is self explanatory. 66  Silicon Chip Fig.14 (right): When the analyser is running, its control panel appears at the right-hand side of the screen. siliconchip.com.au Fig.15: After the initial calibration steps, TrueRTA can measure the overall frequency response of your PC and its sound card or interface. the next set-up stage: calibrating your system so its audio measurements will be accurate. By the way, this calibration is necessary because every PC sound card or USB interface tends to have a different sensitivity for its line level inputs and a different line output level. Calibrating your system Fig.16: After getting the overall response, the next step is to calibrate the system via this dialog. TrueRTA then produces and saves a frequency calibration curve. To perform the calibration you’re going to need a calibrated AC voltmeter or millivoltmeter, able to give accurate readings of audio levels around 244.62mV RMS (corresponding to -10dBu, since 0dBu = 0.775V RMS). If you don’t have access to an AC millivoltmeter as such, you could use a DMM set to its lowest AC voltage range (many modern DMMs do measure RMS voltage on the AC volts ranges). The physical set-up for calibration is shown in Fig.11 and again involves the USB Interface’s left line output being looped around and fed into the left line input – but this time with the external AC voltmeter monitoring the actual audio level. The first step is to calibrate the sound card/interface’s Line Input circuitry and this is done by first clicking on the Audio I/O menu button to display that menu again (Fig.2). Then run down that menu and click on the item label ‘Line Input Calibration...’ This will open up the dialog box shown in Fig.12, which as you can see gives you a complete summary of the steps involved in this calibration procedure. The basic idea is that you first set the software generator to produce a 300Hz sinewave at a nominal level of -10dBu. Then you turn the generator on (using the On/Off button in Fig.8) and note carefully the reading on your DMM or AC millivoltmeter. It should be somewhere in the vicinity of 245mV or 0.245V but the exact level will depend of course on the line output circuitry in your PC sound card or interface. Whatever the meter reads, all you have to do is type that voltage value into the text box provided in TrueRTA’s opened Line Input Calibration dialog box. Then simply click on the [OK] button at the bottom of the box and TrueRTA will save the line input calibration value so that it will be used in future. Once you have calibrated the line input circuitry in this way, calibrate the sound card/interface’s line output circuitry as well, so the generator’s output level will accurately reflect the setting shown in the on-screen control panel. Line output calibration is done in a very similar way to the line input calibration and using exactly the same physical set-up (Fig.11). Fig.17: After system calibration, a response plot of the system itself is now virtually ‘flat’, even when the vertical scaling is expanded. Fig.18: Here’s the ‘noise floor’ plot of the left input channel of our USB Recording/Playback interface. It varies from -120dBu at 15Hz to -90dBu at 20kHz. siliconchip.com.au October 2011  67 Fig.19: A spectrum analyser plot of the interface when the generator is producing a 1kHz sinewave at -10dBu. Harmonics are visible up to 7kHz. Fig.20: You can get a clearer picture of the sound system’s distortion products by subtracting the system noise, as shown here. The only difference is that instead of selecting ‘Line Input Calibration...’ in the Audio I/O menu, you select ‘Line Out Calibration...’. This again opens up a very similar dialog box to that shown in Fig.12, giving you a summary of the steps in this procedure. After you have calibrated both the line input and line output circuitry in this way, the next main calibration step is to get TrueRTA to measure the overall frequency response of both the input and output circuitry, so it can save a correction curve for your PC sound system. Once this is done, any deviations from a flat response in the system itself can be automatically compensated by the software, so your testing of audio equipment in the future will be as accurate as if the PC’s sound system response was perfectly flat. There are basically two steps in this last ‘response calibration’ procedure, the first of which is to measure the overall frequency response of the PC’s sound system. This is done using TrueRTA’s spectrum analyser function, in conjunction with its Generator’s Quick Sweep button. The physical set-up remains the same as before, with the Left Line Output looped back to the Left Line Input as shown in Fig.11 (except that the external millivoltmeter is no longer needed). Just before you do this, you need to switch on TrueRTA’s Spectrum Analyser function by clicking on the second tool button from the left-hand end, just below the Edit menu button. This is the button with a little bar-graph symbol on it, alongside the DSO tool’s ‘sinewave’ button. Then move over to the right and click on the Spectrum Analyser menu button, at top centre of the screen. This will cause the Analyser’s drop-down menu to appear, as shown in Fig.13. The purpose of this menu is to allow you to set up the Analyser tool, ready for doing the sound system calibration. You should find there’s a tick alongside the top menu item ‘RTA Mode (Real Time Analyser)’. Then you’ll need to select the maximum Analyser resolution that’s available for your level of TrueRTA – which is 1/24 Octave RTA in the case of level 4, as you can see in Fig.13. Click on the next menu item down, which is ‘Speed Tradeoff’, which will bring up a small flyout box. For this calibration job you should select the ‘20Hz (precise but slowest)’ option. Next check that there is NO tick next to the next menu item down, labelled ‘RTA Bar Mode’. This is to ensure that the Analyser will display its results in line graph mode, rather than in bar graph mode. The Analyser control panel (on the right side) allows you to set the audio level at the top and bottom of the display and also the high frequency and low frequency limits. It also provides another way to select the RTA Resolution and the Speed Tradeoff, plus you can also type in the number of analyser sweeps you want it to average before the results are displayed. For this initial system calibration set all these remaining options as follows: Top limit 0dBu, Bottom limit -40dBu, Hi Freq Limit 50kHz, Lo Freq Limit 10Hz and Averages 10. Make sure that the Generator Ampl level (left side control panel) is set for -10dBu and finally click on the Quick Sweep button at the bottom of the same control panel. After a few seconds you should see a frequency response plot similar to that shown in Fig.15. This is the overall frequency response of your PC’s sound system, at this stage in its ‘naked glory’, ie, without any correction applied. By the way, the curve shown in Fig.15 is that for the SILICON CHIP USB Recording/Replay Interface. Now that you have made sure that the Analyser tool is working correctly, it’s time to use it to perform the actual sound system calibration. This is done by clicking on the Audio I/O menu button at the top of the screen and then clicking on the ‘Sound System Calibration...’ item down near the bottom of this menu. This will cause the PC Sound System Calibration dialog box to appear, as shown in Fig.16. As before this gives you an easy-to-follow summary of the steps involved in the calibration, so once you’ve read this all that remains to be done is to click on the [OK] button. TrueRTA will then generate a calibration file for your PC’s sound system and save it for use in the future. If you now do another Quick Sweep, you’ll get a somewhat different frequency response plot for your PC’s sound system. As you can see from Fig.17, it will now be close to ruler-flat, between the lower frequency limit of 10Hz 68  Silicon Chip siliconchip.com.au Fig.21: This plot shows the crosstalk into the right channel (lower curve) when the left channel was quickly swept at a level of -10dBu (upper curve). Fig.22: The crosstalk plot of Fig.21 with the right channel’s noise floor plot subtracted from it, to show the crosstalk alone (lower curve). and at least 20kHz. This shows that TrueRTA is now using your Sound System Calibration data to correct the overall frequency response and make it effectively flat. Your PC and its sound system are now calibrated, at least to the level where you’ll be able to carry out quite accurate gain and frequency response measurements on amplifiers, filters, mixers, equalisers and the like. But as I mentioned earlier, things aren’t quite so straightforward when it comes to measuring things like noise, distortion and channel crosstalk. So let’s look at these now, to give you a solid grounding of the PC sound system’s full capabilities before you move on to practical ‘real world’ audio equipment testing. from around -120dBu at 15Hz slowly up to about -90dBu at about 20kHz and with a few small ‘blips’ along the way. Clearly this noise performance wouldn’t have a serious effect when you are making noise measurements on equipment with somewhat higher noise levels, say above -70dBu. But it would certainly result in considerable error if you were trying to make measurements in amplifiers or other equipment with noise levels either comparable with the interface itself, or even better. Does TrueRTA provide a way of cancelling out the input noise of your PC sound system, so you can make reasonably accurate measurements on low-noise equipment? Well, it does provide one way to do this, although it doesn’t seem to offer an automatic cancellation in the same way it does to correct for the sound system’s frequency response. Instead it allows you to save a noise plot of the sound system itself, like that shown in Fig.18, in one of its memories. Then when you take a noise plot of your low-noise equipment and save it in a second memory, you can use TrueRTA’s ‘Memory Difference’ utility to subtract one plot from the other. The only complication here is that the resultant plot tends to be displaced vertically, so it can be tricky working out how far to move it up or down using the ‘Shift’ utility, to restore it to the ‘correct’ level. Still, this can give you a reasonable idea of the equipment under test’s own noise performance. TrueRTA’s Analyser also offers a ‘Relative Mode’, whereby once one plot is saved, further plots can be made and displayed in terms of their relative values to the saved plot. This is a bit more like automatic cancellation but it’s more suited to tasks like comparing the gain or frequency response between channels, or the effects of tone controls. Noise measurement When it comes to measuring parameters like noise and distortion, in an ideal world you’d be able to use ‘perfect’ measuring instruments like an AC millivoltmeter or spectrum analyser with no internal noise of its own and an audio signal generator with a ‘pure’ sinewave output having absolutely no distortion or noise. But of course such instruments don’t exist in the real world, any more than perfect amplifiers or any other kind of equipment. Everything in the real world is imperfect, including test instruments. That’s one of the reasons why high-end noise and distortion measuring instruments tend to be so expensive – because the designers and manufacturers have to put so much time and effort into achieving the lowest possible noise and distortion figures. So it’s probably unrealistic to expect this level of performance from our low cost PC-based measuring system. But just what can we expect? Well, let’s use the SILICON CHIP USB Recording and Replay interface as an example. First of all, look at the plot in Fig.18, which shows the ‘noise floor’ of the Left line input of the interface with its input taken to ground via a shielded 50 resistor. This was measured using TrueRTA of course and the Right line input gave a virtually identical plot. As you can see the noise generated within the interface’s line input circuitry is fairly low but quite significant, rising siliconchip.com.au Distortion: a little harder Things do get a little more complicated – read ‘tricky’ – when it comes to distortion. That’s because the sound system’s own circuitry (including the ADCs and the DACs) inevitably introduces some distortion of its own. Some is introduced by the DACs and line output circuitry, October 2011  69 so the output from TrueRTA’s software Generator will not be distortion-free for a start. Similarly, the line input circuitry and ADCs will also introduce some distortion, so our Analyser will not be distortion-free either. So if you take a noise and distortion plot of the PC sound system itself using TrueRTA’s Generator and Analyser, you get a result like that shown in Fig.19. This plot was taken with the Generator set to produce a 1kHz sinewave at a level of -10dBu and feeding directly from the USB Record/Replay interface’s Left line output to its Left line input. As you can see, it shows the Generator’s 1kHz fundamental component in the centre, with a second harmonic ‘spike’ at 2kHz and third, fourth, fifth, sixth and seventh harmonic spikes visible as well, at levels varying from -87dBu down to -94dBu. Of course these are also sitting on the Interface’s noise plot, which tends to make them seem worse than they are. But you can get a clearer picture of the distortion components by subtracting the interface’s own noise plot from it, to produce the plot shown in Fig.20. This was done using TrueRTA’s Subtract utility to subtract the interface’s noise floor plot from the distortion and noise plot of Fig.19 (and then moving the resultant back down into the correct range using its Shift utility). This ‘(D+N) - N’ plot does give a somewhat clearer view of the sound system’s overall distortion performance, as you can see, although TrueRTA doesn’t provide a utility for using this information to calculate the total harmonic distortion (THD) as a percentage. All it gives you is a table in the User’s Guide showing the relative distortion figures for harmonic levels from -5dB to -120dB below the fundamental. So if you want to calculate the THD you have to do this yourself, by finding the percentage levels of the various harmonics and then doing a ‘square root of the sum of the squares’ calculation. I did this myself using the plot of Fig.20 as a starting point and found the THD to be around 0.017% – not too bad but clearly not wonderful either. Of course even when you have done this somewhat tedious calculation, the figure you get is not all that useful when it comes to measuring the distortion performance of external equipment. You could get a ‘rough estimate’ of the equipment’s THD by using TrueTHD to do a plot of its distortion at 1kHz, working out an equivalent THD figure and then subtracting the system’s own THD figure from it but this would not be particularly accurate. In any case it would be for only one frequency. It would be very tedious to repeat this procedure for many different frequencies, which would be needed if you wanted to produce a full distortion plot. I think we can therefore conclude that it’s not really feasible to use a software package like TrueRTA to produce a full THD plot for relatively low distortion audio equipment like amplifiers, preamps and filters. You would be able to use it to produce spectrum plots like that in Fig.20, to give you a rough idea of the equipment’s distortion at different frequencies. Of course using TrueRTA with a calibrated microphone, you would be able to plot the distortion of higher-distortion acoustic equipment such as loudspeaker systems. That’s because with these, the sound system’s own distortion performance would be so much better than that of the gear being measured, you could safely ignore it. Summarising On the whole then, it’s fair to say that a PC-based audio testing system using a software package like TrueRTA together with a good quality sound card or USB interface is capable of making quite accurate measurements of the gain and frequency response of things like amplifiers, preamps, filters, equalisers and mixers. It is also capable of making reasonably accurate noise plots of the same equipment, together with spectrum analysis plots of the distortion at specific frequencies. But it’s not really capable of being used to provide THD or THD+N plots and its utility in plotting inter-channel crosstalk is quite limited. Still, it’s a big step forward being able to measure the frequency response and noise performance of this kind of equipment. SC Presensitized PCB & associated products IN STOCK NOW! •Single Sided Presensitized PCBs •Double Sided Presensitized PCBs •Fibreglass & Phenolic •UV Light Boxes •DP50 Developer •PCB Etch Tanks, Heaters & Aerator Pumps •Thermometers •Ammonium Persulphate Etchant •PCB Drill Bits (HSS & Tungsten) For full range, pricing and to buy now online, visit 36 Years Quality Service 70  Silicon Chip www.wiltronics.com.au Ph: (03) 5334 2513 Email: sales<at>wiltronics.com.au siliconchip.com.au Is your hip-pocket nerve hurting? We know how you feel – prices seem to be going up all the time. But you can save money by taking out a SILICON CHIP subscription. A 12-month subscription will get you 12 issues for the price of less than 11! For an even bigger discount, a 2-year subscription gets you 24 issues for the price of 20! Better still, a 2-year subscription gives you longer protection against price rises in the future. Count the advantages: q q q q q It's cheaper – you $ave money! It's delivered right to your mail box! You can always be sure you'll receive it!! We pick up all the postage and handling charges!!! You will never miss an issue because it's sold out (or you forgot)!!!! $5200 6 months SILICON chip : 12 months SILICON chip : $9750 24 months SILICON chip : $18800 *These prices and comparisons refer to Australian subscriptions. Other countries are subject to exchange rates – please see page 85 of this issue. siliconchip.com.au October 2011  71 An up-to-date MIDI interface for PCs USB MIDI-Mate Use your PC to link up MIDI synthesisers, keyboards and various instruments. Most modern PCs make good sequencers for electronic music making, with readily available software and the drivers built into the latest versions of Windows. This USB-MIDI interface provides all the hardware you’ll need. By JIM ROWE T EN YEARS AGO, in the February 2001 issue of SILICON CHIP, we described a project called the MIDI-Mate – an easy-to-build MIDI interface to go with the PCs that were then available. At that stage, most PCs had either no built-in MIDI port at all or just a rudimentary MIDI port tucked away inside their sound card and available only via a couple of pins on the sound card’s game port. The original MIDI-Mate was designed to expand those crude MIDI “core ports” into a full MIDI port which could be hooked up to any standard MIDI synthesiser, instrument or keyboard using standard MIDI cables. The unit was pretty popular and 72  Silicon Chip we think this updated USB version will be too. Now it’s true that basic USB-MIDI adaptor cables are already available at fairly low cost, offering a MIDI IN and MIDI OUT port at the end of a cable which plugs into a PC’s USB port. But these devices only offer the bare minimum of MIDI interfacing facilities. There’s no MIDI THRU output linked to the MIDI IN jack and only a single MIDI OUT jack, which restricts you to a very simple set-up. Our aim in developing our new USB MIDI-Mate has been to come up with an up-to-date interface offering the same expanded MIDI ports as our original unit. At the same time, the cost should be only slightly higher than a USB adaptor cable. As with the original MIDI-Mate, it’s powered directly from the PC so no separate power supply is needed. What it does This unit provides a 2-way serial communications “bridge” between one of the USB ports on a PC and external MIDI devices. This enables the PC to send a MIDI music file out to a synthesiser and/or other electronic musical instruments via the interface’s MIDI OUT jacks. In addition, the PC can receive MIDI messages from a keyboard or other MIDI controller, via the interface’s MIDI IN jack. siliconchip.com.au The rear panel provides access to the Type-B USB socket and a reset switch. The two LEDs show the USB status and blink alternately when the device is plugged into a computer and working correctly. Both the MIDI IN and MIDI OUT messages are relayed to and from the PC (and the software running on it) via a single USB cable. Considering that USB is a serial bus and MIDI is also serial data communication, you’d perhaps expect that an interface bridging between the two would be quite straightforward – a bit like a couple of UARTs (Universal Asynchronous Receiver Transmitters) connected back-to-back. It’s not quite that easy though, largely because of the protocols that must be used when any kind of data is sent over the USB. That’s because all USB communication is controlled by the host (ie, the PC) and the device at the other end of a USB cable is not free to upload any data it likes, whenever it likes. In addition, each MIDI message sent over the USB needs to be “packetised” (packaged into a standard USB data packet) with an identifying header byte attached to the start of the packet – a bit like an address label. This is to ensure that each packet reaches the correct destination at the receiving end. Quite apart from these complications, any USB device also has to provide answers to a standard set of questions from the host PC as soon as it’s plugged into a USB port. This rigmarole is known as the “enumeration sequence”, because the host needs to know quite a lot about the device before it can give it a USB address and install the appropriate drivers so its software can communicate with the device correctly. siliconchip.com.au Parts List: USB MIDI-Mate 1 PCB, code 23110111, 117 x 102mm 1 low-profile instrument case, 141 x 110 x 35mm 4 5-pin DIN sockets, 90° PCBmount 1 SPST momentary tactile push­ button switch, 90° PCB-mount (S1) (Jaycar SP-0607) 1 12MHz quartz crystal (X1) 1 Type B USB socket, PCB-mount (CON1) 4 5-pin DIN sockets, 90° PCBmount (CON2-CON5) 1 6-way section of SIL pin strip 1 20-pin DIL IC socket 1 14-pin DIL IC socket 1 8-pin DIL IC socket 4 small self-tapping screws, 6mm long 1 M3 x 6mm machine screw with M3 nut & washer 100mm tinned copper wire for links In short, even though our little USBMIDI interface is just acting as a 2-way communications bridge, it needs to be based around a microcontroller to handle the USB enumeration and communications protocols. In this case, we’re using a PIC18F14K50 microcontroller, which is about the smallest and lowest-cost device available with an in-built USB module, as well as a USART module capable of working at the MIDI data rate of 31.250kHz. Semiconductors 1 PIC18F14K50 microcontroller programmed with 2311011A.hex (IC1) 1 74HC04 hex inverter (IC2) 1 6N138 optocoupler (OPTO1) 1 IRF9540 P-channel MOSFET (Q1) 3 3mm red LEDs (LED1, LED3, LED4) 1 3mm green LED (LED2) 1 1N4148 diode (D1) Capacitors 1 10µF 16V RB electrolytic 1 470nF MKT metallised polyester 2 100nF MKT metallised polyester 2 22pF NP0 ceramic Resistors (0.25W 1%) 1 33kΩ 9 220Ω 1 10kΩ 1 47Ω 2 470Ω 1 2.2Ω 2 330Ω The USB module inside the PIC18F­ 14K50 is actually pretty impressive. It includes a full-speed and low-speed compatible USB serial interface engine (SIE) plus a USB transceiver so that it can connect directly to a USB cable. It takes its clock signals from the PIC’s main clock circuitry, which in this case also includes a frequency-multiplying phase-locked loop (PLL) to provide a 48MHz clock derived from the external 12MHz crystal. October 2011  73 74  Silicon Chip siliconchip.com.au 4 1 22pF GND 3 2 22pF X1 12MHz D+ D– 18 D–/RA1 3 2 19 OSC2/RA4 OSC1/RA5 D+/RA0 20 Vss RB4/SDA RB5/RX RB6/SCK RB7/TX RC0 RC1 RC2 RC3 RC4 RC5 RC6 VUSB RC7 IC1 PIC18F14K50 RA3/MCLR S1 USB MIDIMATE SHLD CON1 TYPE B 4 Vdd 1 RESET 10k 100nF Vbus (+5V) 13 12 11 10 16 15 14 7 6 5 8 9 17 G 33k 470 K D 220 220  LED1 A 47 470nF S Q1 IRF9540 470 K  LED2 A +5V = SUSPEND 0V = ACTIVE 10 F 16V 2.2 A K K A 330 LED3 MIDI IN/THRU 330 D1: 1N4148 K LED4  MIDI OUT A  13 11 4 IC2f IC2e IC2b 14 5 6 8 12  IC2c 3 2 IC2a 7 IC2d +5V 1 9 5 OPTO1 6N138 IC2 74HC04 10 3 +5V (WHEN ACTIVE) K A 2 8 6 LEDS A K D1 1N4148 220 220 220 220 220 220 220 100nF G D 5 4 5 5 CON2 CON3 CON4 CON5 S IRF9540 4 2 4 2 4 2 5 D MIDI IN MIDI THRU MIDI OUT 1 MIDI OUT 2 Fig.1: the circuit is based on a PIC18F14K50 microcontroller (IC1) which handles USB enumeration and exchanges MIDI data packets with the PC via USB connector CON1. The 6N138 optoisolator (OPTO1) provides the necessary isolation for the MIDI IN socket, while inverters IC2a & IC2c-IC2f buffer the signals to the MIDI OUT & MIDI THRU sockets. IC2b drives LED4 which blinks when there is activity on the output sockets, while Mosfet Q4 switches off the power to IC2 and OPTO1 when the PC (via IC1) instructs the device to enter “suspended” mode. 2011 SC  USB 6 5 4 3 2 1 CON6 T1G ICSPCLK ICSPDAT GND Vdd Vpp ICSP CONNECTOR Vbus The MIDI Standard: What It Is & How It Works MIDI is an acronym standing for Musical Instrument Digital Interface. It’s a standardised system for communicating between electronic musical instruments, keyboards, controllers and sequencers (including PCbased sequencers). The MIDI standard was agreed on by a group of musical instrument makers in 1983 and has been used and extended since then. MIDI relies on serial data communication at 31.25kb/s using asynchronous 5mA current loop signalling, with the current provided by the “transmitting” end. This means that each byte of a MIDI message takes only 320μs to be transmitted (counting start and stop bits). Since MIDI messages are either one, two or three bytes in length, this means that over 1000 such messages can be sent each second via a single MIDI cable. Each MIDI cable carries only one signal, so for bi-directional communication, two cables must be used. The cables themselves use shielded 2-conductor wire. All MIDI cables are fitted with standard 180 ° 5-pin DIN plugs at both ends. However, only pins 4 & 5 are used for the actual current loop signalling (wired 4-4 and 5-5). Pins 1 & 3 are left unconnected, while the shield braid is connected to pin 2 at each plug. Inside MIDI equipment, pin 2 is connected to earth only on MIDI OUT sockets. This allows correct earthing of the cable shield braids, without creating earth loop problems. Unlike most other current-loop signalling, Data can be exchanged very efficiently between the PIC’s CPU and the USB module’s SIE. That’s because they share a 256-byte dual-port static data RAM (SRAM), with each side controlling one of the ports. Circuit description Now refer to the full circuit shown in Fig.1. The heart of the circuit is IC1, the PIC18F14K50. This does all the real work of the interface, exchanging data packets with the PC via USB connector CON1 which connects directly to pins 18 & 19, the transceiver pins of the PIC’s USB module. On the MIDI side, the outgoing MIDI messages from the PC emerge from pin 10, which is the serial data output of the PIC’s USART module. Incoming MIDI messages enter the PIC via pin 12 – the USART module’s serial data input. siliconchip.com.au current only flows in a MIDI link when data is actually being transmitted. This allows MIDI cables to be plugged and unplugged without any problems, as long as data is not actually being transmitted at the time. To prevent equipment damage due to wiring errors or component faults, all MIDI inputs are provided with 3kV of galvanic and electrostatic isolation via an optocoupler. For correct MIDI communication between equipment, a MIDI OUT or MIDI THRU socket at one end must be connected to a MIDI IN socket at the other. In most MIDI systems, there is a single main controller or sequencer (often the computer), from which most of the MIDI messages originate. When these messages must be sent to more than one instrument, they can be distributed in either “star” or “daisy-chain” manner as desired. There’s no need to worry much about the actual code messages sent over the MIDI links, because nowadays this is all handled by sequencer or other software running in the PC and by firmware running in the other instruments and keyboards. It’s probably enough to know that most MIDI messages are short commands to allocate a particular instrument to a particular channel, to tell it to start or stop playing a particular note, to change the instrument’s attack/decay or other performance parameters, and so on. As mentioned earlier, these commands are generally in the form of three-byte messages, although some configuration and/or The rest of the circuitry outside IC1 is mainly used to condition the incoming and outgoing MIDI messages. This is necessary because the MIDI system uses current-loop transmission and requires all inputs to be provided with high-voltage isolation using an optocoupler. OPTO1, a 6N138 highspeed device, provides the necessary isolation for the MIDI input jack CON2. It also acts as a current-to-voltage converter so that incoming MIDI messages are converted into voltage levels to feed pin 12 of IC1. By the way, don’t be tempted to try substituting another optocoupler for OPTO1. Most other optocouplers don’t have the switching speed of the 6N138 and won’t give reliable transfer of MIDI signals. Two of the inverters inside IC2 (a 74HC04 hex inverter) are used to take the incoming MIDI messages from pin system management messages are only one or two bytes long. Using a PC-based music editing and sequencer program, and perhaps with a MIDI music keyboard to feed in the actual notes, you can assemble a complete sequence of MIDI commands to play a piece of music – eg, on the “instruments” in a synthesiser. The synthesiser can then be made to “perform” that piece of music simply by sending the sequence to it, via the MIDI link. When you’re happy with the result, you can save the sequence on disk as a MIDI music file. These have a standardised format and are identified with a “.MID” extension. Discs with collections of pre-composed MIDI music files are also available and you can download them from the internet as well. It’s important to realise that although a MIDI music file may look superficially similar to a .WAV file of a digital sound recording, it’s really quite different. It’s more like an electronic equivalent of sheet music – simply a sequence of detailed instructions describing how to play the music. In this case, it’s instructions for electronic instruments rather than for human players. Finally, if you do want to delve more into the technicalities of MIDI, you’ll find quite a bit of useful reference information on the MIDI Manufacturers Association website at www.midi.org/techspecs There are also some very helpful detailed explanations at home.roadrunner. com/~jgglatt/tech/midispec 6 of OPTO1 and convert them back into current-loop form to drive the MIDI THRU output jack (CON3). Three of the remaining inverters are then used to convert the outgoing MIDI voltagelevel signals from pin 10 of IC1 into current-loop form to drive the two MIDI OUT jacks CON4 and CON5. The remaining inverter is used to drive LED4, which blinks to indicate activity on the MIDI output jacks. LED3, which is connected in series with the output load of OPTO1, provides the same kind of activity indicator for the MIDI IN and MIDI THRU jacks. The two remaining LEDs in the circuit, LEDs1 & 2, are driven directly from pins 15 & 16 of IC1. These are used to indicate the USB status of IC1 and hence the status of the interface as a whole. When the interface is correctly enumerated and configured for October 2011  75 3 1 2 LED1 IC1 PIC18F14K50 X1 CON3 5 4 4 2 LED3 MIDI IN/THRU K A MIDI THRU MIDI IN K 5 220 220 220 220 CON4 LED4 MIDI OUT CON5 4 5 4 2 2 MIDI OUT1 MIDI OUT2 A Fig.2: here’s how to install the parts on the PCB. Make sure that IC1, IC2 and OPTO1 are correctly orientated and check that all sockets are flush against the board before soldering their leads. use, these LEDs blink alternately at about 1Hz. Power supply As mentioned earlier, the interface circuit receives its power from the host PC via the USB cable, so it’s a “bus powered” device. IC1 is powered directly from the Vbus line (pin 1 of CON1), while IC2 and OPTO1 receive their power via Q1, an IRF9540 Pchannel Mosfet used here as a switch under the control of IC1 via pin 14 (RC2). The idea behind this is that all buspowered USB devices must reduce their total current drain to a very low level when the host PC sends them to allow manual resetting of the PIC, if this should ever be needed. The only other item that we haven’t as yet mentioned is CON6, a 6-pin SIL pin strip which provides an ICSP (In Circuit Serial Programming) interface. This allows the PIC to be programmed in-circuit using a programmer like Microchip’s PICKit3. Construction 22pF 330 330 220 220 D1 4148 11101132 1102 © IC2 74HC04 CON2 5 ETA MIDI M BSU 10 F 220 OPTO1 6N138 12MHz K A 100nF 2.2 22pF LED2 K A 470 470 4 1 100nF 10k CON6 ICSP 47 33k CON1 USB IN 220 220 Q1 IRF9540 S1 470nF RESET into suspended mode. It does this by simply not sending them any “stay awake” token packets for a period of 3ms or more. In this circuit, as soon as IC1’s USB module senses that it should enter suspended mode, it turns Q1 off and thereby switches off the power to IC2 and OPTO1. When the PC directs IC1 to “wake up”, it switches Q1 back on again and restores power to IC2 and OPTO1. The average current drawn by the interface circuit from the host PC via the USB cable when it’s not suspended and operating is around 22mA. Crystal X1 on pins 2 & 3 of IC1 is the resonator for the PIC’s main clock oscillator, while switch S1 is provided All the components used in the USB MIDI-Mate are mounted on a single PCB coded 23110111 and measuring 117 x 102mm. This mounts inside a standard low-profile plastic instrument case measuring 141 x 111 x 35mm. The Type-B USB connector CON1 used to connect the interface to the host PC is mounted in the centre along the rear edge of the board, with LEDs1 and LED2 on one side and S1 on the other. The four 5-pin DIN sockets used for the MIDI jacks (CON2-CON5) are spaced along the front edge of the board, with LED3 and LED4 in the centre. All connectors and LEDs (together with S1) are accessed via matching holes in the rear and front panels. Fig.2 shows the parts layout on the board. Fit the wire links, resistors and capacitors first, then fit Mosfet Q1. The latter comes in a TO-220 package and mounts flat on the top of the board at upper left, with all three leads bent downwards by 90° about 6mm from its body. Its tab is then fastened to the board using an M3 x 6mm machine screw, washer and nut, after which the leads are soldered to their PCB pads. Capacitor Codes Value 470nF 100nF 22pF µF Value IEC Code EIA Code 0.47µF 470n 474 0.1µF 100n 104    NA   22p   22 Resistor Colour Codes o o o o o o o o No.   1   1   2   2   9   1   1 76  Silicon Chip Value 33kΩ 10kΩ 470Ω 330Ω 220Ω 47Ω 2.2Ω 4-Band Code (1%) orange orange orange brown brown black orange brown yellow violet brown brown orange orange brown brown red red brown brown yellow violet black brown red red gold brown 5-Band Code (1%) orange orange black red brown brown black black red brown yellow violet black black brown orange orange black black brown red red black black brown yellow violet black gold brown red red black silver brown siliconchip.com.au OPTO1 into their respective sockets. All three are orientated with their notched ends to the left. Installing the board into the recommended case is straightforward. Fig.3 shows the drilling templates for the front and rear panels. Once the holes have been drilled, reamed and filed to shape, download the two panel artworks (in PDF format) from the SILICON CHIP website and print them out. The labels can then be laminated and attached using doubled-sided adhesive tape. Cut out the holes in the labels using a sharp hobby knife. That done, the PCB assembly can be lowered into the bottom half of the case along with the front and rear panels. It’s secured using four 6mm-long self-tapping screws, which mate with four of the moulded mounting pillars. Your USB MIDI-Mate is now complete and ready for use. There are no adjustments or setting up needed; if you have assembled it correctly, it should be ready for use immediately. This view shows the assembled PCB, ready for installation in the case. Note how the four LEDs are mounted (see text). The USB connector (CON1) and the four DIN sockets (CON2-CON5) can now go in. Make sure they all sit flush against the PCB before soldering their pins. You can then fit the three sockets for IC1, IC2 and OPTO1, followed by pushbutton switch S1 and the 6-pin SIL strip (CON6). The four LEDs are next on the list. The two red LEDs between the MIDI sockets should first have their leads bent down through 90° some 5mm from their bodies. These LEDs are then installed so that the horizontal sections of their leads are 11mm proud of the board (use an 11mm-wide cardboard spacer to set this). Similarly, the red and green LEDs adjacent to the USB connector (CON1) Fig.3: this drilling template for the front and rear panels can be downloaded (in PDF format) from the SILICON CHIP website. Use a small pilot drill to start the holes before enlarging them to the correct sizes (see text). have their leads bent down through 90° about 3mm from their bodies. These LEDs are then installed 7mm proud of the board. If you are building the USB MIDIMate from a kit, the PIC18F14K50 microcontroller will have been preprogrammed with the correct firmware. However, if you’re building the project from scratch, you’ll either have to purchase a programmed PIC­ 18F14K50 from SILICON CHIP Publications or program it yourself. If you do elect to program it yourself, the firmware (2311011A.hex) can be downloaded from the SILICON CHIP website. The PCB assembly can now be completed by plugging the two ICs and 25 20.5 A 16 Plug and play As soon as you connect the USB MIDI-Mate to a PC running Windows XP (SP3), Vista or Windows 7, Windows should detect it and go through the USB enumeration process before finally indicating that the device is ready to use. If you then glance at the rear of the interface, you should see that LED1 and LED2 are blinking on and off alternately. This indicates that the USB MIDI-Mate is enumerated, “awake” and ready for business. You can also confirm that everything 16 12 A B B 20.5 A A 30.5 15.5 FRONT PANEL 134.5 8 9 44 B 12.5 11.5 B 11.5 REAR PANEL 11.5 49.5 30.5 C 6.5 HOLES A: 16.0mm DIAMETER; HOLES B: 3.0mm DIAMETER; HOLE C: 4.0mm DIAMETER siliconchip.com.au 24.5 10 ALL DIMENSIONS IN MILLIMETRES October 2011  77 MIDI THRU MIDI OUT MIDI OUT USB IN/OUT USB STATUS LED2 RESET LED1 USB MIDI MATE MIDI OUT USB MIDI MATE MIDI IN SILICON CHIP SILICON CHIP MIDI IN/THRU Fig.4: these front and rear panel labels can be down­loaded in PDF format from the SILICON CHIP website. They should be laminated and attached to the panels using doublesided adhesive tape. Fig.5: when connected to a PC, the unit should appear in Device Manager as a “USB MIDI Interface”. Fig.6: in Windows XP, “USB Audio Device” should be listed here as one of the MIDI Music Playback devices. Fig.7: “USB Audio Device” should also appear in this list when the Hardware tab is clicked (XP). is correct by checking the Device Manager settings. For both XP and Windows 7, launch Device Manager (via the Control Panel) and expand the “Sound, video and game controllers” listing. You should see “USB MIDI Interface” listed – see Fig.5. If you then right-click this entry and click Properties, you should see a dialog telling you that “This device is working properly”. Note that if you are using Windows XP, it may be necessary to allow the operating system to search the Internet for a suitable driver to install when the interface is initially connected. Once it’s installed, it should show up in Device Manager. In addition, if you open Control Panel, double-click “Sounds and Audio Devices” and then click on the Audio tab, you should see “USB Audio Device” listed as one of the MIDI Music Playback devices (see Fig.6). If you now click on the Hardware tab, you should find the “USB Audio Device” listed there as well. If you select this and click on the Properties button, its Location should be shown as “Location 0 (USB MIDI Interface)”. And in the Device Status box, you should again see the message “This device is working properly”. loaded for free – “Notation Player” and “Anvil Studio 2011”. Notation Player is a MIDI music player application that can be downloaded at no cost from www.notation. com It not only lets you play virtually any MIDI music file but also shows the file’s musical notation on the screen while it’s playing. Anvil Studio 2011 is a bit more elaborate. It’s not only a MIDI music player but a recorder and sequencer as well. Written by Willow Software, it can be downloaded free from www. AnvilStudio.com As well as displaying a MIDI music file’s notation on the screen, Anvil Studio 2011 will also let you check your MIDI OUT and MIDI IN connections via the USB MIDI-Mate, show- 78  Silicon Chip The software to use Since the USB MIDI-Mate is compliant with the USB and MIDI specifications, it works fine with any of the common MIDI music player and sequencer applications. While developing and testing the project, we used two applications that can be down- siliconchip.com.au Helping to put you in Control Control Equipment 4-20mA Current Source provides a cheap 2 wire 420mA signal to test PLCs, indicators or other controllers. Can also be used with a potentiometer to provide a remote setpoint. KTC-266 $79.00+GST The PCB assembly is secured inside the case using four self-tapping screws which go into integral pillars. ing you the MIDI messages on-screen at the same time. This is very handy for troubleshooting MIDI cables and instruments, etc. Assuming that you have a synthesiser or other MIDI instrument connected to the USB MIDI-Mate, getting it to “play” should now simply be a matter of starting up your player or sequencer application, loading a MIDI file and then clicking on the “Play” button. While the file is playing, LED4 on the front panel should blink as the MIDI messages stream out to the synthesiser. Similarly, if you have a MIDI music keyboard or other controller, you’ll now be able to hook its MIDI OUT to the MIDI IN jack on the USB MIDIMate and record your own music to the computer’s hard disk – after clicking on the sequencer program’s “Record” button, of course. And that’s really all there is to it. With the USB MIDI-Mate and a suitable application like Notation Player or Anvil Studio 2011, your computer will have everything it needs to become a powerful MIDI music player and/or sequencer. The rest is up to you and your musiSC cal creativity. Industrial Pushbutton Indicators 22mm dia. Fitted with interchangeable contact block and 24V or 240VAC LED bulbs. Red, green, white and yellow available. HER-221 $11.95+GST Temperature Humidity Transmitter 420mA or 0-10V outputs. Fitted with remote sensors on 1.5m cable RHT-040 $279.00+GST 24V Surge Suppression Terminals Protect your 4-20mA signals with these DIN rail terminal fitted with a 1KA/2KA MOV. TRM-160 $3.00+GST Bidirectional Brushed Motor Speed Controller Supports USB, serial, analog input and RC interface. Suitable for 12/24VDC motors up to 12A. POL-1379 $49.95+GST Load Cell Amplifiers Compact and easy to use these are available for load cells with 1,2 or 3 mV/V output. Select 0-10V or 4-20mA outputs. AXS-501 $99.00+GST 30A Relays fitted with 2 DPDT contacts. Available with 12VDC, 24VDC, 24VAC and 240VAC coils HER-030 $7.95+GST The two USB Status LEDs, the USB socket and the Reset switch are accessed via the rear panel. siliconchip.com.au Contact Ocean Controls Ph: 03 9782 5882 www.oceancontrols.com.au October 2011  79 Need to upgrade from Protel Autotrax or Easytrax? CadSoft EAGLE could be the answer By NICHOLAS VINEN If you are new to PCB design or you are an old fogey stuck in a time warp with DOS and Protel Autotrax or Easytrax, now is your chance. Now you can get CadSoft EAGLE which works under the Windows, Linux or Mac operating systems. You can even get a limited version (EAGLE Light) which is available for non-profit use at no charge. You can then give DOS the flick. I F YOU ARE a rank beginner but reasonably familiar with Windows (or Linux or Mac) software which makes extensive use of the graphical interface, then CadSoft EAGLE is reasonably easy to learn. And if you are a long-time fan of Easytrax or Autotrax, you will find much that is similar in Eagle, with drop-down menus, component libraries, schematic editor and so on. Some of the contributed projects published in SILICON CHIP have been designed with Eagle, especially using How To Obtain CadSoft Eagle CadSoft EAGLE is available from Element14 (au.element14.com) or from the CadSoft website (www.cadsoftusa.com). There are four versions with some options: (1) EAGLE light: one schematic and up to two layers per board; maximum dimensions 100 x 80mm. Free for non-profit use or evaluation purposes. Or $54.45 with fax and telephone support. (2) EAGLE Hobbyist: 99 schematics and up to six layers per board; maximum dimensions 160 x 100mm. For non-commercial use only. US$125. (3) EAGLE Standard: 99 schematics and up to six layers per board; maximum dimensions 160 x 100mm. Price varies by number of users and options. $553.34 for one user with schematic and PCB layout, $830.00 with auto-router. (4) EAGLE Professional: 999 schematics and up to 16 layers per board; maximum dimensions 1.6 x 1.6m. Price varies by number of users and options. $1106.67 for one user with schematic and PCB layout, $1660.00 with auto-router. Discounts are available for educational users. Note: prices do not include GST. 80  Silicon Chip the free version which can cope with a maximum PCB size of 100 x 80mm. If you want more CAD power, upgrades are reasonably priced and within the hobbyist’s reach. But EAGLE is also a serious design package which can be used on a commercial scale. It can accommodate multiple large, complex boards with many surface-mount and through-hole parts, based on circuits spread over many sheets. Features EAGLE’s primary parts are the schematic (circuit) editor, PCB layout editor, component library edit­or, autorouter and CAM (computer aided manufacturing) facility. It also has a “script” feature which adds a number of very useful options, such as making mass changes to boards and schematics. The first step in any PCB design is to draw the circuit and you do that using the schematic editor (see Fig.1). siliconchip.com.au The main controls are arranged in a toolbar down the left side of the screen, although you can move it about if you wish. The toolbar includes buttons to add a component, move it, rotate it, duplicate it, delete it, change its name (designator) and value, swap sub-components (eg, op amp sections) and pins, route nets and so on. There are 36 standard tools. There is also a “command line” at the top of the window where commands can be typed. This gives you access to more advanced options (eg, rotating components by angles smaller than 90°). But all the most common commands are available via the toolbar, menus or keyboard shortcuts (which can easily be customised). Component libraries One of the biggest obstacles to starting out with any CAD package is gathering together a comprehensive set of component libraries. You will need resistors, capacitors, diodes, transistors, ICs, inductors, transformers, relays, pushbuttons, switches . . . the list goes on. It’s frustrating if you must spend a lot of time adding components to the library before you can draw a circuit. Fortunately, EAGLE comes with a large number of component libraries (314 at last count!). Some of these are manufacturer-specific (eg, one contains around 200 Analog Devices ICs) while others are generic, eg, common diodes and transistors. Then there is the “rcl” library which includes most common types of resistors, capacitors and inductors (through-hole and surface mount). This makes for a great start. Inevitably, you will need to add library elements for special purpose ICs and so on. But there are many EAGLE libraries available free on the internet too. For example, libraries with Microchip and Atmel microcontrollers can be found quite easily and installing them is just a matter of downloading the file(s) into the right directory. Adding custom parts is pretty straightforward. The library editor interface is similar to that of the PCB editor (described later). You can copy an existing part into your own library (with a couple of clicks) and then modify it. Since there are so many existing parts, quite often that’s all you need to do. You can also make a part siliconchip.com.au Fig.1: the schematic (circuit) layout editor, showing a portion of the SILICON CHIP DAC circuit (September-November 2009). The toolbar is at the left and the V+ power supply net is highlighted using the “show” tool (eye icon). Fig.2: the PCB layout editor showing the board for the circuit of Fig.1. You can see that the tracks forming the V+ net are also automatically highlighted. As with the circuit editor, there is a toolbar on the lefthand side but it has more and different buttons. from scratch based on a dimensional drawing in a data sheet. EAGLE components consist of three basic pieces. The first is the footprint (ie, how it appears on the PCB) and this can often be copied verbatim from the “reference packages” library, which contains around 1000 common component footprints. The second piece is the symbol, shown in the circuit diagram. The simplest method for custom ICs is to just draw a box and then arrange pins around it. Finally, there is the component entry itself which ties one or more October 2011  81 supply pins are placed separately. This can look a bit strange but makes the wiring less cluttered. In some cases, the power supply pins can be dropped on top of one of the other sections (op amp, logic gate, etc) which makes for a neater result. Unfortunately, the EAGLE libraries do handle power pins inconsistently; some parts have separate power pins and for others they are fixed. But you can use the library editor to change them to suit your needs. Nets Fig.3: using the Design Rule Check feature on a PCB layout. You define the design rules (in this case, track-to-track clearance) and it flags any violations. symbols to one or more footprints. If a component has multiple symbols these are postfixed with letters (eg, IC1A, IC1B etc). If there are multiple footprints, they have different suffixes. For example, “LM358” could have DIP8 (LM358N) and SOIC8 (LM358M) footprints. Each symbol/footprint combination can have its own pin mapping, avoiding the need to create different symbols just because the footprint pin configurations differ. This doesn’t quite work if the packages have extra electrical connections (eg, multiple ground pins or a conductive tab). In general though, the system works well. Perhaps the biggest limitation of EAGLE’s component system is that component footprints can’t be modified in the PCB as you design it. The pad sizes and shapes can be overridden but it is an all-or-nothing deal so if one particular resistor needs smaller pads or a different pad spacing, you have to create a new library element. We found that it is possible to work around this by creating a few different versions of common parts. With so many libraries in the system, one invaluable feature is the component search. When adding a component you just type a few letters, such as “diode” or “tl07*” and press enter. The list of available components then shows just those which match. This is generally a much faster way 82  Silicon Chip of finding the right component than wading through the library hierarchy. Schematic editor Drawing the circuit is just a matter of importing the components you need and wiring them up. One handy feature is the automatic component numbering. For example, the first resistor you place is named R1, the second R2 and so on. You can change these to whatever you like but component names must always be unique. This makes sense but it can be a pain if you need to renumber them. One possibility is to ignore component names initially and then use one of the provided scripts to automatically renumber them based on their location on the PCB, eg, left-to-right and top-to-bottom. That’s a time saver! There are 128 scripts like this provided with the program and more can be created or downloaded. For parts with multiple sub-sections (eg, digital logic ICs or dual/quad op amps), they are placed individually but their name (designator), value (component type) etc are linked. Sections within an IC can be swapped in the circuit with a couple of clicks as can interchangeable pins (eg, inputs to a logic gate). This is very handy during the layout stage as you can easily adjust the connections to simplify the routing. For many of these ICs, the power A net is a set of component pins which are electrically connected. It can have a name (eg, “GND” or “VCC”). A “netlist” consists of one or more nets and together with a list of components, defines a circuit. Why “net”? Well if you drew lines between all pins that are to be joined, the resulting set of crossed lines would look something like a net. To define the nets for a circuit, you draw lines between pins to form either nets (thin lines) or buses (thick lines). Buses collapse multiple nets into a single visual representation, reducing clutter on the circuit diagram. Rather than drawing a line from one pin to another to put them in the same net, you can connect them to separate lines but then set those to be the same net. Nets can be labelled on the schematic and you would certainly do so if using this technique, otherwise it’s unclear which pins are in which nets. Connecting pins to a power supply symbol (eg, GND or VCC) automatically changes the net name to match the power supply. Therefore any pins connected to the same power supply symbol are automatically part of the same net. There is a clever feature which allows some component pins to be automatically connected. Say you have an IC with VCC and GND pins. By default then, these are automatically connected to the VCC and GND nets. Unfortunately this doesn’t always work; some parts may have pins labelled VDD and VSS but you may need to connect them to VCC and GND. In this case, you can simply add explicit power pins and wire them up as necessary. We prefer this approach as it’s harder to make a mistake. EAGLE includes a basic circuit error checker (“ERC”). It can’t detect all problems but it can spot obvious siliconchip.com.au ones. This includes unconnected inputs or power supply pins, shorted power supply rails, nets with only one pin in them (or none), nets with open collector and push-pull outputs joined, multiple push-pull outputs joined (sometimes valid, sometimes not) and so on. One handy feature is the ability to copy and paste sections of the circuit, for cases where similar circuitry is repeated. In fact, EAGLE can apply most of its commands to a selected portion of the circuit or PCB which can be a real time saver. PCB layout Having drawn a circuit, you can then proceed to the PCB layout. All the components automatically appear outside the board outline with a yellow “rat’s nest” of lines showing which pins/pads are to be connected, according to the circuit. Components and tracks snap to a grid which may be set in imperial or metric units and you can swap between two different grids (eg, coarse and fine). At this point, if any parts are in the wrong package, changing to an alternative package is simple. This is handy for changing the pin spacing for passive components as necessary. You can also alter the names (designators) and descriptions (type/value) during layout. One very nice feature is the ability to turn off component names and values en masse, greatly reducing the visual clutter. Once the layout is complete you can turn them back on and move them to their final locations. All changes made during layout are automatically mirrored on the circuit diagram; there is no need to synchronise them separately. This is convenient but you must be careful when making changes to the circuit once the board is laid out. For example if you delete a connection between components, the corresponding PCB track will automatically be deleted (“ripped up”). Sometimes this is what you want but if you’re just trying to rearrange the nets on the circuit, it’s best to draw the new connection before deleting the old one so you don’t have to redraw the track afterwards. It’s also very easy to highlight a net or component in either the circuit or PCB layout and have it light up in the other (see Figs.1 &2). This makes tracsiliconchip.com.au Fig.4: this shows how the component symbols and footprints are linked in the library editor. In this case, we have a 7-segment LED display symbol with two package variants. ing tracks and identifying components a breeze. Routing Routing involves connecting all the appropriate component leads together using tracks (representing copper on the final board). This is a similar process to drawing nets, ie, you draw lines on the PCB but this time they are not conceptual but actually define the physical layout. The end result of the routing process is a PCB pattern. EAGLE has an auto-router which is present in the free version (EAGLE Light) but if you want it in the full version, it costs extra. It is basic but certainly does the job. You can assign the “cost” of tracks on different layers, vias etc and it will find a way to connect all nets (if possible) within the design rules (ie, without violating manufacturing restrictions like track widths and clearances). While it’s quite capable, we still prefer to route PCBs manually. The auto-routed layout is a good starting point but it doesn’t do much “glossing” (minimising tracks lengths, rounding corners etc). It also doesn’t use thicker tracks where higher currents will flow because it doesn’t know; it’s also unaware of the need for star earthing etc. In short it’s handy but won’t do the PCB layout work for you. Manual routing can be quite quick and easy since there are various shortcuts. For example, while drawing a track, right-clicking the mouse cycles through the various track and corner styles (right angle, 90°, rounded, snaking etc). If you change layers while routing, a via is automatically added. You can also change the track size and miter (corner diameter) as needed. Newer versions of EAGLE also have a “follow-me router” mode which is a hybrid between manual and automatic routing. Tracks in EAGLE are shown in a transparent manner so you can easily see bottom layer tracks, even if they are covered by top layer tracks or polygon fills. Polygon fills As well as connecting components with tracks, you can use polygon fills. You draw an outline, consisting of a series of line segments and then an area of copper is created inside, joining together any contained pads. This can make better use of the available area on the PCB, allowing for higher currents than with a simple track. Actually, polygon fills are usually assigned a net and in this case they will only connect pads and tracks assigned to that net. Other pads and tracks within the drawn outline are automatically routed around, with a clearance as defined in the design rules October 2011  83 Fig.5: we “ripped up” all the tracks on the PCB by selecting them and doing a group operation, then ran the auto-router. It managed to route most of the tracks. We could route the rest manually or else change the auto-router parameters to make it try harder and repeat the process. (see below). This makes them a very convenient way to connect a number of nearby pads. Polygons can be hidden using the “ripup” command (normally used to delete track sections) and then reinstated using the “ratsnest” command. This is convenient since sometimes it’s easier to work on the board without the polygon fills in place. The “ratsnest” command also re-draws the lines which show which pads are yet to be connected together. It’s called a “rat’s nest” because it can look rather messy! It can be turned off if these lines get in the way (via the View menu). Design rule checking With any PCB layout, you need to be sure that the parts and tracks are arranged in such a way to minimise manufacturing faults or construction problems, ie, components on the same side do not overlap, all nets are properly connected with no short circuits and all manufacturing rules are observed. This includes minimum hole sizes and separation, minimum track and pad clearances, minimum track widths and so on. EAGLE’s default rules are quite sensible but you may need to customise them to suit your PCB manufacturer. The rules include: • Which layers can be connected by 84  Silicon Chip vias (buried, through and blind); • Wire, pad, via and SMD pad clearances (individually settable); • PCB edge clearances for tracks and holes; • Minimum track width, hole size, blind via size and ratio; • Via pad to hole ratio (“restring”); • Supply layer connection restrictions; • Solder mask and solder paste mask clearances; and • Part grid alignment, track angles and miscellaneous. These are all easy to configure. Once you have set these you can run a Design Rule Check (DRC) at any time. Any rule violations are listed in a box and if one is selected, the offending location is shown and highlighted (see Fig.3). You can then elect to fix it, ignore it or approve it. Approved errors are moved to a separate list and are not shown unless you explicitly select them. One nice aspect of EAGLE’s DRC feature is that the violations are easily visible but they do not add a lot of visual clutter, so you can continue layout and then come back to fix violations later. Manufacturing Once the layout is complete and error-free, the board can be made. The CAM (Computer Aided Manufacturing) processor creates the necessary files. It supports many different output formats and is very flexible. The most commonly used output formats are Gerber, Excellon and Postscript. In each case, you need to produce multiple files: the copper pattern (more than one for multi-layer boards), the solder mask pattern(s), silkscreen overlay(s), drilling data and so on. Each component footprint consists of pads or polygons which exist on a particular “layer” (this is also true of board elements like tracks, vias and free text). There are about 50 possible layers, including those for top/bottom copper, pads, vias, board dimensions, component outlines, names, values and so on. In the CAM processor, you select which layers go into which output files. For example, the silkscreen layer usually combines the component outlines, names and values for one side of the board, as well as the “documentation” layer (text, etc). Each file produced normally has a different extension. Usually the copper, solder mask and silkscreen layers are saved in Gerber format while the drill data (positions and sizes) can be either Gerber or Excellon. Just about any PCB manufacturer will accept these files. Alternatively, you can output to Postscript files, print them and etch the board yourself. The CAM processor configuration can be saved to a preset (“job”) and several are provided by default, which you can customise if necessary. It’s then just a matter of loading the “job” and clicking the “Process Job” button to produce the correct set of output files for manufacture. Conclusion CadSoft EAGLE is an affordable, fast, easy-to-use circuit editor and PCB layout package. It doesn’t have a huge number of features but it certainly includes everything you need for regular PCB layout tasks. We found it pleasant and intuitive to use. Its interface is very similar regardless of the operating system used (Windows, Mac OSX and Linux) and all files are fully compatible. Probably its greatest strength is in the ability to start with the free version and then upgrade later when you need more capabilities. You can “try before you buy” so why not give it a try! SC siliconchip.com.au SILICON SILIC CHIP siliconchip.com.au YOUR DETAILS NEED PCBs? Order Form/Tax Invoice You can get the latest PCBs direct from SILICON CHIP! See p41 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 Tick here if you'd like us to automatically renew your subscription when it elapses q q q q q q q q q q q q q q q q q q q q q q q q q q    (ie, 6 month, 12 month or 24 month). We'll renew until you tell us to stop! 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 Embossed "SILICON CHIP", securely holds 12 months+ of issues Available in Australia only.......................................................................................$14.95 (P&P is $10.00 per order; buy five or more in one order for FREE P&P) P&P RATES: 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 To eMAIL (24/7) Place silicon<at>siliconchip.com.au Your with order & credit card details siliconchip.com.au Order: OR FAX (24/7) This form (or a photocopy) to (02) 9939 2648 with all details 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 AC MACHINES.................................................................................................$66.00 AMATEUR SCIENTIST CD NEWEST Version 4.0..............................................$62.00 AUDIO POWER AMPLIFIER DESIGN – SELF .................SAVE! Was $114.00 $81.00 BUILD YOUR OWN ELECTRIC MOTORCYCLE .... ................................$47.95 $40.00 DVD PLAYERS AND DRIVES ..........................................SAVE! Was $85.00 $71.00 ELECTRIC MOTORS AND DRIVES.......................................................$60.00 $51.00 NEWNES GUIDE TV & VIDEO TECHNOLOGY...................SAVE! Was $58.00 $49.00 OP AMPS FOR EVERYONE..........................................SAVE! Was $110.00 $100. 00 PIC IN PRACTICE............................................................................................$60.00 PIC MICROCONTROLLERS - KNOW IT ALL................................ SAVE! Was $83.00 PIC MICROCONTROLLER - PERSONAL INTRO COURSE................................$60.00 PRACT. GUIDE TO SATELLITE TV (7th edition)..............................................$49.00 PRACTICAL RF HANDBOOK ............................................SAVE! Was $73.00 $61.00 PRACT. VAR. SPEED DRIVES/POWER ELECT...................SAVE! Was $88.00 $73.00 PROG. 32-BIT MICROCONTROLLERS IN C .......................SAVE! Was $94.00 $79.00 PROGRAMMING AND CUSTOMIZING THE PICAXE ....................................$65.00 RADIO, TV AND HOBBIES ON DVD-ROM .......................................................$62.00 RF CIRCUIT DESIGN.........................................................SAVE! Was $74.00 $63.00 SELF ON AUDIO (2nd edition).........................................SAVE! Was $82.00 $69.00 SMALL SIGNAL AUDIO DESIGN.....................................SAVE! Was $103.95 $88.00 SOLAR SUCCESS – GETTING IT RIGHT EVERY TIME.....................................$47.50 SOLAR THAT REALLY WORKS .......................................................................$42.50 SWITCH. POWER SUPPLIES A-Z (inc CD-ROM).SAVE! Was $108.00 $91.00 TV ACROSS AUSTRALIA ................................................SAVE! Was $39.95 $39.00 USING UBUNTU LINUX...................................................................................$27.00 #10% discount offer does not apply to online edition subscribers nor to website orders OR PAYPAL (24/7) OR Use PayPal to pay silicon<at>siliconchip.com.au PHONE – (9-5, Mon-Fri) OR MAIL This form to PO Box 139, NSW 2097 October Collaroy 2011  85 Call (02) 9939 3295 with your credit card details *ALL ITEMS SUBJECT TO AVAILABILITY. PRICES VALID FOR MONTH OF MAGAZINE ISSUE ONLY. ALL PRICES IN AUSTRALIAN DOLLARS AND INCLUDE GST WHERE APPLICABLE. 10/11 Last month we introduced our new Hifi Headphone Amplifier which features very low distortion and noise. It can even drive efficient 8-ohm speakers. This month, we show you how to build and test it. By NICHOLAS VINEN Hifi Stereo Headphone Amplifier, Pt.2 T HE ASSEMBLY of the Hifi Stereo Headphone Amplifier is straightforward, with all the parts mounted on a single PCB coded 01309111 and measuring 198 x 98mm. Apart from the PCB, there is no other wiring. Fig.9 shows the parts layout on the board. Before starting assembly, it’s a good idea to test-fit the larger components (eg, the jack socket, heatsinks, RCA sockets and so on) to check that their mounting holes are large enough. That done, begin by installing the 10 wire links using 0.7mm-diameter tinned copper wire or component pig86  Silicon Chip tail off-cuts (don’t forget the one near CON3). Once those are in, install the resistors, noting that two (both 100Ω just below the RCA sockets) have ferrite beads on their leads. Check each resistor with a DMM set to Ohms mode before soldering it into place. Follow with the 14 1N4004 diodes, taking care to ensure they are all correctly orientated. In each case, the stripe faces to the left or the bottom of the board. The four BAT42/BAT85 small-signal Schottky diodes (D15D18) near IC1 (upper-left) can then go in. Their orientations vary so take care. If you are using sockets for IC1-IC3, install them now with the notches to the right as shown. Alternatively, you can solder the ICs direct to the board with the same orientation. The MKT and ceramic capacitors are next on the list, followed by the 20 small-signal transistors. There are four different types so be sure to install the correct type at each location. Use a small pair of needle-nose pliers to crank the transistors leads so that they mate with the board holes and take care to ensure that each transistor is correctly orientated. siliconchip.com.au 680 + TINNED COPPER WIRE SOLDERED TO POT BODY 22 F 220 F + 4004 220 F D15 + D9 4004 220 F 1k reifilpmA enohpda e H ifi H 22 F + + The two air-core inductors (L3 & L4) siliconchip.com.au + + + 4004 4004 Q24 TIP32 4004 10nF 10nF 22 220 68 BC549 Q4 Q2 1.8k 1.8k Q9 2.2k Q8 BC549 + 2.2k + D7 BC328 Q26 TIP31 1.2 1.2 1.2 1.2 Q12 TIP32 4004 BC328 Q25 100nF D3 4004 150nF 150nF L4 4.7 H 10 POWER LED A K TINPLATE SHIELD C D6 + 220 F BC559 Q5 Q7 Q3 Q1 BC559 1.1k 100 910 100nF Q21 220 F L3 4.7 H 10 4004 220 F 100nF + 4004 12V AC INPUT Q11 CON4 HEADPHONE OUTPUT 7912 7812 TP1 BD139 30k D4 CON3 4004 47 F Q10 22 D8 D5 4004 TP2 CS D2 4004 1102 D1 * 2200 F BC338 10k TP3 TIP31 1.2 1.2 1.2 1.2 BC559 220pF 680pF VR2 500 22 + + 220 F 43 47 10 10k 10k 68 1.8k 1.8k 2.2k 47 F Q22 VR1 2x10k LIN 680 22k + 43 Q14 68 100 TP4 + Winding the inductors 2.2k Q23 Installing the LED POWER SWITCH F1 CON3b Before installing the 3mm blue LED, you need to bend its leads down by 90° exactly 4mm from the rear of the lens. Be sure to bend the leads in the right direction though, so that the longer anode lead goes through the hole marked “A” on the layout diagram. Once the leads have been bent down, solder the LED in place with the horizontal section of its leads 6.5mm above the PCB surface (a cardboard spacer can be used to set the height). This ensures that it will later line up with its front panel hole and will be in line with the centre shaft of the adjacent switch (S1). BC559 BD139 The two 500Ω trimpots and the fuseholder clips can now go in. Check that the small fuse clip retention tabs are towards the outside before soldering the fuse clips, otherwise you won’t be able to fit the fuse later on. That done, fit PCB pins at test points TP1-TP4 plus another two to support the tinplate shield between inductors L3 & L4. Once they’re in, fit the electrolytic capacitors but leave the two 2200µF filter capacitors out for the time being. 2.2k BC549 BC338 10k 220 F Q6 BC559 BC559 220pF VR3 500 2.2k 22 + * 2200 F 220 BC559 Q17 Q20 BC549 680pF 47 F 220 F D11 2.2k + 910 LEFT IN Q19 Q13 BC559 1.1k Q15 68 100 2.2k 100nF SC Note: Use 105° capacitors BC549 220 F BC559 2.2k BC559 L1 Hifi Headphone Amplifier © 2011 Q18 2.2k 47 10 10k 10k FERRITE BEADS 100 CON1 01309111 220 F D13 100k BC549 Q16 100pF 10k D12 47 F 4004 L2 D14 100nF IC3 LM833 100pF + 470nF 10k 100pF 4004 RIGHT IN 100 CON2 10 K A 100nF IC2 LM833 D10 D17 BAT42 100k 100 100k 100nF 22k D16 IC1 LM833 10 100pF BAT42 D18 100k BAT42 470nF BAT42 S1 01309111 * 1A FAST BLOW 10nF 22k * WHEN DRIVING LOUDSPEAKERS, INCREASE RATING OF F1 TO 2A & REPLACE THESE CAPACITORS WITH 4700 F 25V Fig.9: follow this PCB overlay to assemble the headphone amplifier. Note that the specified case has no ventilation, so we recommend the use of 105° electrolytic capacitors for long-term reliability. are wound on small plastic bobbins. It is much easier to wind them if you make a winding jig, as shown in the adjacent panel. To wind the first coil, first secure the bobbin to the jig with one of its slots aligned with the hole in the end cheek. That done, feed about 20mm of a 1m-length of 0.8mm-diameter enamelled copper wire through the October 2011  87 A Winding Jig For The Inductors ➊ ➋ The winding jig consists of an M5 x 70mm bolt, two M5 nuts, an M5 flat washer, a piece of scrap PC board material (40 x 50mm approx.) and a scrap piece of timber (140 x 45 x 20mm approx.) for the handle. The flat washer goes against the head of the bolt, after which a collar is fitted over the bolt to take the bobbin. This collar should have a width that’s slightly less than the width of the bobbin and can be wound on using insulation tape. Wind on sufficient tape so that the bobbin fits snugly over this collar. Next, drill a 5mm hole through the centre of the scrap PC board material, followed by a 1.5mm exit hole about 8mm away that will align with one of the slots in the bobbin. The bobbin is then slipped over the collar, after hole, then carefully wind on 20.5 turns before bending the end down so that it passes through the opposite slot in the bobbin. Trim the “finish” end of the wire to 20mm (to match the start end), then secure the winding with a layer of insulation tape and remove the bobbin from the winding jig. A 10mm-length of 25mm-diameter heatshrink tubing is used to finally secure the winding. Slip it over the outside and gently heat it to shrink it down (ie, be careful to not melt the bobbin). The second coil is wound in exactly the same manner. Once it’s finished, scrape the enamel off the leads on both inductors and tin them before fitting them to the PCB. Completing the PCB assembly The PCB can now be completed by fitting the remaining large items, starting with the SPDT power switch. Make sure it sits flat against the PCB and is at right-angles to it before soldering 88  Silicon Chip ➌ which the PC board “end cheek” is slipped over the bolt. Align the bobbin so that one of its slots lines up with the exit hole in the end cheek, then install the first nut. The handle is then fitted by drilling a 5mm hole through one end, then slipping it over the bolt and installing the second nut. its pins. The power socket can then go in, followed by the RCA sockets (CON1 & CON2). Use a red RCA socket for CON1 (right) and a white RCA socket for CON2 (left). Be sure to push the sockets all the way down onto the board, so that their plastic locating tabs go into the corresponding holes, before soldering their pins. The tinplate shield between the two inductors can now be installed. This shield measures 35 x 15mm and can be cut from the lid of a large Milo tin using tin snips. File the edges smooth after cutting, then temporarily position it between the two PC pins and mark their locations. That done, hold the shield in an alligator clip stand and melt some solder onto either side at the marked locations. It may take 10 seconds or more to heat it enough for the solder to adhere. Finally, melt some solder onto the tops of the two PC pins before fitting the shield in position and remelting the solder to secure it. Preparing the potentiometer The 16mm dual-gang potentiometer (VR1) may need to be modified before installing it on the board. Take a look at the pot – the flat section of the shaft must extend all the way back to the threaded mounting bush. If not, this flat section must be extended. To do this, lightly clamp the tip of the shaft in a vice with the flat section facing upwards and use a file to extend this section back to the threaded bush. Once that’s done, cut the shaft to a length of 7mm and file off any burrs. It’s also necessary to remove a small area of the metal passivation layer on the top of the pot body (use a file), after which the pot can be soldered to the PCB. The metal body of the pot must be earthed. This is done by first soldering an 80mm-length of tinned copper wire to an adjacent pad immediately below the pot (ie, between it and the adjacent 220µF capacitor). This wire is then looped across the top of the pot, pulled down and soldered to the topright pad on the PCB and to the pot’s body (ie, where you exposed the bare metal earlier). Mounting the heatsinks The two regulators and six power transistors are mounted on six large flag heatsinks. These have two posts which pass down through the PCB for support. Start by loosely fitting the 7812 and 7912 regulators to their heatsinks as shown in Fig.10(A). Note that, in each case, the regulator’s metal tab must be isolated from its heatsink using an insulating bush and silicone washer. That done, fit the 7812 regulator assembly through the lower set of holes just above CON3 and D3 (see Fig.9). If the heatsink has “solderable” pins, flip the board over and solder one, then double-check that it is sitting perfectly flush with the board before soldering the other. Since you have to heat up quite a bit of metal, it could take 15 seconds or more before the solder adheres to the post. Alternatively, if the heatsink doesn’t have “solderable” pins, use pliers to bend the tabs outwards far enough so that it is secured to the board. Having secured the heatsink, check that the insulating washer is properly siliconchip.com.au The PCB assembly is a neat fit inside the recommended Altronics case. Note how the body of the volume control pot (top, left) is earthed using a length of tinned copper wire. This wire is looped across the top of the pot’s body and is terminated in solder pads on either side (see Fig.9). aligned with the regulator and tighten the mounting screw. The regulator’s leads can then be soldered. Repeat this procedure for the 7912 regulator. The two TIP32 power transistors (Q12 & Q24) are mounted in identical fashion to the regulators. By contrast, the heatsinks for the two TIP31 power transistors (Q11 & Q23) have the BD139 VBE multiplier transistors mounted on the other side. Fig.10(B) shows the mounting arrangement. Be sure to insulate all the transistors from the heatsinks using silicone washers and insulating bushes as necessary. You can now fit the 6.35mm jack socket. The type we used does not sit right down on the board due to the shape of its pins but rather sits above the board by about 4mm. If your jack socket does not have “necked” pins, you will either need to extend them or its front panel hole will have to be lowered by 4mm when you drill it later. Finally, fit the two 2200µF capacitors. As mentioned in Pt.1, if you use 4700µF 25V capacitors (ie, for more output power), they must be no taller than 30mm and no more than 16mm in diameter, otherwise the assembly will not fit into the specified case. Test & adjustment The assembled board can now be tested. First, turn both trimpots and the volume control potentiometer fully anti-clockwise, then clip a multimeter siliconchip.com.au set it to its highest AC amps mode across the fuseholder (without the fuse in place). The easiest method is to use alligator clip leads. Next, connect the 12VAC plugpack and apply power. You should get a reading of 120mA ±20mA (no op amps installed) or 160mA ±20mA (op amps installed). If the current does not fall inside this range after about a second, switch off the plugpack at the wall and check the board for faults such as solder bridges between pads and tracks. Assuming it’s OK, switch off, install the op amps if they aren’t already on the board and check the current consumption again (ie, it should be 160mA ±20mA). Now turn the power off, install the 6021 TYPE TO-220 HEATSINK M3 x 10mm SCREW M3 NUT FLAT WASHER SILICONE INSULATING WASHER (A) 7812 & 7912 REGULATORS, ALSO TIP32 TRANSISTORS INSULATING BUSH PC BOARD fuse and connect a multimeter set to volts/millivolts mode between TP1 & TP2. That done, switch on and check the reading – it should be very close to 0mV. Now slowly adjust VR2 clockwise. At first nothing will happen but eventually the reading should start to rise. Adjust it for a reading of 28.5mV. This sets the quiescent current in the left channel to 47.5mA. Note that this reading may slowly rise as the transistors warm up so leave it on for a few minutes and then re-adjust it. Once that’s done, switch off and connect the multimeter between TP3 & TP4. VR3 can now be adjusted for a reading of 28.5mV, to set the quiescent current in the right channel. 6021 TYPE TO-220 HEATSINK M3 NUT SILICONE INSULATING WASHERS BD139 INSULATING BUSH M3 x 10mm SCREW FLAT WASHER TIP31 (B) PC BOARD Fig.10: follow this diagram to install the regulators and output transistors on their heatsinks. Make sure that the metal tabs of all devices are isolated from the heatsinks using insulating washers and bushes as required. Note that the heatsinks should be either soldered or clamped to the PCB before soldering the device leads, to avoid stress fractures. October 2011  89 A CL 208 78.5 Drilling the case 23 5.25 D FRONT PANEL B 40 40 REAR PANEL 10 C 4.5 A 20 A ALL DIMENSIONS ARE IN MILLIMETRES 53.5 45.5 CL 77.5 11 8 HOLES A: 8.0mm DIAMETER HOLE B: 6.0mm DIAMETER HOLE C: 4.0mm DIAMETER HOLE D: 11.00mm DIAMETER CL CL The final test is to connect a signal source and headphones and slowly turn the volume up. If you hear clear, undistorted sound from both channels then the board is working properly. Provided the quiescent current is set correctly for both channels, the idle current will be about 340mA (AC RMS), giving a power consumption of about 4W. With headphones, this does not usually increase but it may be higher when driving loudspeakers, depending on the volume level and speaker efficiency. Fig.11: the drilling templates for the front & rear panels. Start each hole with a small pilot drill and then enlarge it using larger drills and a tapered reamer as necessary. The rectangular cut-out is made by drilling and reaming a 6mm hole in the centre and then shaping it using a flat needle file. Be sure to correctly position the templates before drilling the holes. 90  Silicon Chip A half-size 1-unit steel case (Altronics H4995) is used to house the PCB assembly. Other cases are also suitable provided the PCB fits, although you will probably have to chassis-mount the RCA input sockets and power connector. If chassis-mounting the RCA connectors, it will be necessary to use shielded cable to connect them to the PCB. The drilling templates for the Al­ tronics case are shown in Fig.11. Disassemble the case entirely first, by removing all the screws. It separates into three pieces: the aluminium base (and rear panel), the front panel and the steel lid. Remove the feet as well and place them and the screws into the provided snap-lock plastic bag for safe-keeping. Next, download and print out the drilling templates and attach them to the front and rear panels. Use a punch to mark the centre of each hole. Alternatively, you can start the holes with a small bit (say 1mm) and a handdrill. Either way, drill pilot holes (eg, 1.5mm) in each location before enlarging them to size using larger drills and a tapered reamer. The hole which must be the most accurately placed is that for the power switch. The LED leads can be bent to compensate for any inaccuracy in its mounting hole position and those for the output socket and volume control can just be made slightly oversize. Note that the hole for the power LED is drilled to 4mm to suit a plastic LED clip. The rectangular cut-out for the power socket is made by first drilling and reaming a 6mm hole in the centre before carefully enlarging it to a rectangular shape with a flat needle file. Once the drilling has been completed, download the front and rearsiliconchip.com.au TABLE 1 Sound Maximum Recommended Pressure Level Exposure (per 24 hours) 88dBA(SPL) 4 hours 91dBA(SPL) 2 hours 94dBA(SPL) 1 hour 97dBA(SPL) 30 minutes 100dBA(SPL) 15 minutes 103dBA(SPL) 7 minutes 106dBA(SPL) 3 minutes 109dBA(SPL) 1 minute 112dBA(SPL) 30 seconds 115dBA(SPL) 15 seconds panel labels (in PDF format) from the SILICON CHIP website and print them out. These labels can then be trimmed and laminated before affixing them to the panels using double-sided adhesive tape. The holes are cut out using a sharp hobby knife. Mounting the board The PCB assembly is mounted on the same machine screws that secure the rubber feet to the case. Remove the supplied short machine screws from the feet and insert M3 x 15mm screws instead, then re-attach them to the base. Once they’re all in place, slip three M3 flat washers over each screw thread, then fit a Nylon nut/ washer combination over the top, with the larger “washer” section at the top (note: if you can’t get these, use separate Nylon nuts and washers instead, siliconchip.com.au Another view inside the completed unit. Make sure that the screws used to secure the lid clear the underside of the PCB – see text. Note that the PCB shown here is a prototype and differs slightly from the final version shown in Fig.9. with the washers on top). Next, undo the two rear two screws until only a tiny bit of thread is sticking out above the Nylon washers (say 1mm), then introduce the board by pushing the RCA sockets and DC input connector through their respective holes. It’s then just a matter of dropping the front of the board down onto the screw threads, after which you can re-tighten the rear mounting screws. The lid is held in place by two screws on each side and these should just clear the underside of the PCB. Temporarily fit these screws (ie, without the lid) to check this. If any of screws do foul the PCB you will need to remove it and add more M3 flat washers under the Nylon nuts. Once it’s correct, fit M3 nuts to all four screws to secure the PCB in place, then remove the nuts and washers from the jack socket and volume control pot. The front panel can then be attached by slipping it into place and installing the two screws at the bottom. Once it’s secured, push the plastic LED clip into place and push the LED into the clip from the back. The assembly can now be completed by reinstalling the washers and nuts for the jack socket and volume control, attaching the knob and fitting the lid. Using it Finally, here are a couple of tips for using the headphone amplifier. First, always turn the volume knob right down before donning the headphones and then turn it up to a comfortable level. If you don’t do that, you risk hearing damage. This particularly applies if somebody has left the volume control turned fully up or if the signal source is much louder than it was the last time you used the headphone amplifier. Similarly, do not listen at high volume levels for long periods. This is especially critical with a headphone amplifier as it’s easy to expose yourself to damaging sound pressure levels without too much apparent discomfort (and without anyone else noticing). Table 1 shows the recommended maximum exposure periods for various sound pressure levels (SPLs) ranging from 88-115dBA. In short, don’t make a habit of listening to loud music SC via headphones. October 2011  91 WANT TO SAVE 10%? S C (PRINT EDITION) AUTOMATICALLY QUALIFY FOR REFERENCE $ave SUBSCRIBERS* CHIP BOOKSHOP 10% A 10% DISCOUNT ON ALL BOOK PURCHASES! SILICON ILICON HIP (*Does not apply to website orders) SELF ON AUDIO by Douglas Self 2nd Edition 2006 $69.00 PROGRAMMING and CUSTOMIZING THE PICAXE By David Lincoln (2nd Ed, 2011) $65.00 See Review A great aid when wrestling with applications for the PICAXE series of microcontrollers, at beginner, intermediate and advanced April 2011 levels. Every electronics class, school and library should have a copy, 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. 474 pages in paperback. along with anyone who works with PICAXEs. 300 pages in paperback SMALL SIGNAL AUDIO DESIGN By Douglas Self – First Edition 2010 $88.00 PIC IN PRACTICE 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. by D W Smith. 2nd Edition - published 2006 $60.00 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. AUDIO POWER AMPLIFIER DESIGN HANDBOOK PIC MICROCONTROLLER – your personal introduc- by Douglas Self – 5th Edition 2009 $81.00 tory course By John Morton 3rd edition 2005. $60.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. 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. PRACTICAL GUIDE TO SATELLITE TV OP AMPS FOR EVERYONE By Garry Cratt – Latest (7th) Edition 2008 $49.00 By Carter & Mancini – 3RD EDITION $100.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. Substantially updates coverage for low-speed and high-speed applications, and provides step-by-step walk-throughs for design and selection of op amps. Huge 648 pages! PROGRAMMING 32-bit MICROCONTROLLERS IN C By Luci di Jasio (2008) $79.00 NEWNES GUIDE TO TV & VIDEO TECHNOLOGY By KF Ibrahim 4th Edition (Published 2007) $49.00 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. 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. USING UBUNTU LINUX RF CIRCUIT DESIGN by J Rolfe & A Edney – published 2007 $27.00 by Chris Bowick, Second Edition, 2008. $63.00 Ubuntu Linux is a free and easy-to-use operating system, a viable alternative to Windows and Mac OS. Introduces Ubuntu, tells how to set it up, covers the various Open Office applications and gives troubleshooting hints and tips. Highly recommended. 222 pages in paperback DVD PLAYERS AND DRIVES by K.F. Ibrahim. Published 2003. $71.00 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. 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. PRACTICAL RF HANDBOOK See Review Feb 2004 by Ian Hickman. 4th edition 2006 $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. ELECTRIC MOTORS AND DRIVES PRACTICAL VARIABLE SPEED DRIVES & POWER ELECTRONICS Se By Austin Hughes - Third edition 2006 $51.00 Intended for non-specialist users of electric motors and drives, filling the gap between academic texts and general "handbooks". Explores all of the widely-used modern types of motor and drive including conventional & brushless DC, induction motors, steppers, servos, synchronous and reluctance. 384 pages, soft cover. e Review Feb An essential reference for engineers and anyone who wishes 2003 to design or use variable speed drives for induction motors. by Malcolm Barnes. 1st Ed, Feb 2003. $73.00 286 pages in soft cover. BUILD YOUR OWN ELECTRIC MOTORCYCLE AC MACHINES by Carl Vogel. Published 2009. $40.00 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, single-phase motors, synchronous machines and polyphase motor starting. 160 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; OR FAX (24/7) OR NZ – $12.00 PER BOOK; PAYPAL (24/7) REST OF WORLD $18.00 PER BOOK PHONE – (9-5, Mon-Fri) eMAIL (24/7) OR To Call (02) 9939 3295 with Your order and card details to Use your PayPal account silicon<at>siliconchip.com.au Place 92  S ilicon C hip with order & credit card details (02) 9939 2648 with all details silicon<at>siliconchip.com.au with order & credit card details Your Or use the handy order form on P105 of this issue Order: 1-13 See Review March 2010 OR MAIL Your order to PO Box 139 siliconchip.com.au Collaroy NSW 2097 *ALL TITLES SUBJECT TO AVAILABILITY. PRICES VALID FOR MONTH OF MAGAZINE ISSUE ONLY. ALL PRICES INCLUDE GST WANT TO SAVE 10%? S C (PRINT EDITION) AUTOMATICALLY QUALIFY FOR REFERENCE $ave SUBSCRIBERS* CHIP BOOKSHOP 10% A 10% DISCOUNT ON ALL BOOK PURCHASES! SILICON ILICON HIP (*Does not apply to website orders) SELF ON AUDIO PROGRAMMING and CUSTOMIZING THE PICAXE By David Lincoln (2nd Ed, 2011) $65.00 by Douglas Self 2nd Edition 2006 $69.00 See 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. 474 pages in paperback. Review A great aid when wrestling with applications for the PICAXE series of microcontrollers, at beginner, intermediate and advanced April 2011 levels. Every electronics class, school and library should have a copy, along with anyone who works with PICAXEs. 300 pages in paperback SMALL SIGNAL AUDIO DESIGN PIC IN PRACTICE By Douglas Self – First Edition 2010 $88.00 by D W Smith. 2nd Edition - published 2006 $60.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 introduc- AUDIO POWER AMPLIFIER DESIGN HANDBOOK tory course By John Morton 3rd edition 2005. $60.00 by Douglas Self – 5th Edition 2009 $81.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. "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. OP AMPS FOR EVERYONE PRACTICAL GUIDE TO SATELLITE TV By Carter & Mancini – 3RD EDITION $100.00 Substantially updates coverage for low-speed and high-speed applications, and provides step-by-step walk-throughs for design and selection of op amps. Huge 648 pages! 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. PROGRAMMING 32-bit MICROCONTROLLERS IN C By Luci di Jasio (2008) $79.00 NEWNES GUIDE TO TV & VIDEO TECHNOLOGY 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 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. USING UBUNTU LINUX by J Rolfe & A Edney – published 2007 $27.00 RF CIRCUIT DESIGN Ubuntu Linux is a free and easy-to-use operating system, a viable alternative to Windows and Mac OS. Introduces Ubuntu, tells how to set it up, covers the various Open Office applications and gives troubleshooting hints and tips. Highly recommended. 222 pages in paperback DVD PLAYERS AND DRIVES by K.F. Ibrahim. Published 2003. $71.00 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 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. See Review Feb 2004 PRACTICAL RF HANDBOOK by Ian Hickman. 4th edition 2006 $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. ELECTRIC MOTORS AND DRIVES By Austin Hughes - Third edition 2006 $51.00 PRACTICAL VARIABLE SPEED DRIVES & POWER ELECTRONICS Se Intended for non-specialist users of electric motors and drives, filling the gap between academic texts and general "handbooks". Explores all of the widely-used modern types of motor and drive including conventional & brushless DC, induction motors, steppers, servos, synchronous and reluctance. 384 pages, soft cover. e Review Feb An essential reference for engineers and anyone who wishes 2003 to design or use variable speed drives for induction motors. by Malcolm Barnes. 1st Ed, Feb 2003. $73.00 286 pages in soft cover. AC MACHINES BUILD YOUR OWN ELECTRIC MOTORCYCLE 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. by Carl Vogel. Published 2009. $40.00 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; eMAIL (24/7) To silicon<at>siliconchip.com.au Place siliconchip.com.au with order & credit card details Your Order: 1-13 See Review March 2010 OR FAX (24/7) Your order and card details to (02) 9939 2648 with all details OR NZ – $12.00 PER BOOK; PAYPAL (24/7) Use your PayPal account silicon<at>siliconchip.com.au OR REST OF WORLD $18.00 PER BOOK PHONE – (9-5, Mon-Fri) OR MAIL Your order to PO Box 139 Call (02) 9939 3295 with 2011  93 Collaroy NSW 2097 with order & credit card details October Or use the handy order form on P85 of this issue *ALL TITLES SUBJECT TO AVAILABILITY. PRICES VALID FOR MONTH OF MAGAZINE ISSUE ONLY. ALL PRICES INCLUDE GST Vintage Radio By Maurie Findlay, MIE Aust, VK2PW A look at the Radiola Model 573-MA Receiver to Australian technicians at the time and were much smaller than their predecessors which had octal and other plastic bases. They were of all-glass construction, with seven pins at one end providing all the connections. Circuit details Manufactured in the early 1950s, the AWA model 573-MA is a 5-valve superhet, designed for the 540-1600kHz broadcast band. It features an attractive plastic case and a large straight line dial with stations for all Australian states clearly marked. B EFORE THE INTRODUCTION of television to Australia in 1956, radio and gramophone records were a prime source of entertainment. Typically, a household would have a radio and maybe a gramophone in the lounge room and the family would gather in the evening to listen to the radio or records. With the war some years away and economic conditions improving, the dream of having several radios in the household became a reality for many. In addition to mains receivers, there were battery-powered portable sets 94  Silicon Chip but these were expensive to run and a good many did not work all that well. The Radiola Model 573-MA operates from mains power and requires only 40W. Furthermore, this set has a very effective inbuilt antenna and can be shifted around to wherever there is a power outlet without having to install an antenna wire. This could be the kitchen, the bedroom or the outside workshop. The set was manufactured by Amalgamated Wireless (Australasia) Ltd and the valves by their associated company, AWV. The valves were new Fig.1 shows the circuit diagram of the set. It’s a superheterodyne design with five valves: a frequency changer (V1), an intermediate frequency (IF) amplifier (V2), a detector/audio amplifier (V3), an audio power amplifier (V4) and a rectifier (V5). It’s pretty much a standard line-up for medium-wave receivers designed at the time. There are a few special features about the design. These include a ferrite rod antenna, a neutralising circuit for the IF amplifier, simple rather than delayed AGC (automatic gain control) and a negative feedback circuit with associated treble cut and boost. The frequency changer is a 6BE6 which has a simplified geometry in order to fit all the connections within the 7-pin limitation (the screen grid serves as the plate for the local oscillator). This valve actually provides more conversion gain when used on the broadcast band than some earlier octal based types. Intermediate frequency (IF) amplification at 455kHz is achieved using a 6BA6 which is a variable-mu pentode with AGC applied to the grid. It also has the potential for higher gain than earlier octal-based valve types. Again, looking at the circuit, early versions of the set used a cathode bias resistor without a bypass capacitor in order to reduce the gain. Later models included the bypass capacitor as well as a neutralising circuit. The detector/amplifier stage (V3) is a 6AV6 which has two diodes and a triode in the one envelope. One diode detects the 455kHz intermediate frequency signal and at the same time provides the AGC voltage. The other diode is not used and is simply connected to earth. The triode section siliconchip.com.au Fig.1: the circuit is a fairly standard superheterodyne design with five valves: a frequency changer (V1), an intermediate frequency (IF) amplifier (V2), a detector/ audio amplifier (V3), an audio power amplifier (V4) and a rectifier (V5). Give your lighting projects a Give your lighting projects a SEOUL LED Dazzler Kit (As seen in SC Feb’11) Drive up to 3 powerful P7 LEDs Or most other high power LEDs Includes all parts and PCB LEDs not included KIT-LED_DAZZLER $39.95 + GST P7 Power LED 10W Pure White Emitter Approx. 900lm <at> 2.8A Ideal for torch applications PCB available to suit W724C0-D1 $16.00+GST P4 Star 4W LEDs Power LEDs mounted on 20mm Star PCB. Various Colours available. Pure White W42182 $3.90+GST Nat. White S42182 $3.90+GST Warm White N42182 $3.90+GST P3-II Star 2W LEDs Power LEDs mounted on 20mm Star PCB. Various Colours available. Pure White WS2182 $2.95+GST Warm White NS2182 $2.95+GST P5-II RGB Power LED High power RGB LED mounted On 20mm Star PCB Drive each colour <at> 350mA Ideal for wall wash applications F50360-STAR $14.95+GST SMD RGB LED General purpose RGB LED in PLCC-6 package Drive each colour <at> 20mA SFT722N-S $0.95ea+GST Channel Lighting Modules 12v Operation, Cool White Ideal for Sign illumination 3 LED – 41lm min. 21H0007 $2.70ea+GST 4 LED – 55lm min. 21H0008 $3.60ea+GST VOLUME DISCOUNTS APPLY provides substantial audio gain and is a commonly-used circuit. The grid return resistor (R9) is 10MΩ while its plate load resistor (R12) is 0.22MΩ. The the 6AQ5 valve (V4) is the fasiliconchip.com.au miliar beam-tetrode in miniature form. It provides gain and the audio power to drive the loudspeaker. R14, a 47kΩ resistor in the grid circuit, is there as a precaution against parasitic oscilla- AUSTRALIAN DISTRIBUTOR Ph. 07 3390 3302 Fx. 07 3390 3329 Email: sales<at>rmsparts.com.au www.rmsparts.com.au October 2011  95 Despite the set’s age (about 60 years), the chassis is still in good condition. It was one of the first Australian-made sets to use the new 7-pin “miniature” valves (also Australian-made). tions at frequencies outside the audio range. The valve must be operated in a linear mode for low distortion and negative bias is provided via R17, a 150Ω resistor in the supply line. V5, a type 6X4, rectifies the AC output of the transformer to provide 240V DC for the plate of the 6AQ5. It also provides, via dropping resistor R16 (5kΩ), 165V DC for the screen of the 6AQ5 and the plates of the other valves. A special feature of the 6X4 is that it has insulation between the heater and cathode elements, designed to TABLE 1: DC RESISTANCE OF WINDINGS Ferrite Aerial Assembly: Primary (L1) Secondary (L2) <1Ω 1Ω Oscillator Coil (L3) 3.5Ω IF Transformer Windings Power Transformer (T2): Primary 15Ω 50Ω Secondary 350Ω Loudspeaker Transformer (T1): Primary 525Ω or 430Ω Secondary <1Ω The above readings were taken on a standard chassis but it should not be assumed that a component is faulty if a slightly different reading is obtained. 96  Silicon Chip withstand the high-tension (HT) voltage. The heater can be operated from the same supply as the heaters for the other valves, ie, with one end connected to earth. Restoration The old Radiola Model 573-MA receiver pictured here originally came to me complete in its plastic case and with a copy of the AWA service data. This included the specifications, circuit diagram, alignment procedure, a table showing the resistance of the various coils and transformers, and a table of the valve socket voltages. Bearing in mind that the set was nearly 60 years old and might have had all sorts of faults, there was no question of immediately plugging it into 230VAC and switching it on. Nothing in the service data described how to get the chassis out of the plastic case but after observation and some thought, I began by removing the knobs by pulling them straight out from the front. The back of the case proved more elusive. It is held by two screws, recessed at the top and another two screws towards the back and underneath the case. In the process of removing the back, the brackets holding the back broke away from the case. They were later repaired using epoxy cement and 3mm screws, just to make sure. At this stage, the chassis was still firmly attached inside the front of the case by another two screws underneath the case. These were also removed and the metal chassis was then slid out of the case to reveal a broken dial cord. Fortunately, the service data includes a diagram which shows how to string the cord and attach the pointer. A thorough visual check above and below the chassis revealed nothing out of order, apart from a generous layer of dust. As far as reasonably possible, this was carefully removed with a soft brush Next, using a digital multimeter, the resistance of the primary winding of the power transformer was measured (see the manufacturer’s table “DC Resistance Of Windings” reproduced here). This was within specification. The next measurement, the resistance between the primary and the chassis, was of the utmost importance. It was greater than 10MΩ which is very good. In addition, the resistance of the primary of the loudspeaker transformer winding was measured to ensure the safety of the 6AQ5. If this winding goes open circuit, the screen grid of the valve will draw excessive current. Next, the resistance between the siliconchip.com.au high-tension line and the metal chassis was measured. It was more than 0.5MΩ which suggested that the electrolytic capacitors were possibly in reasonable condition and that it may be safe to switch on the mains power. The 573-MA was originally fitted with a 3-pin plug and a 2-wire figure-8 power flex. This is simply not satisfactory for safety these days. So, before switching on, a 3-core flex was fitted and the earth wire securely attached to the metal chassis. This was done by crimping the earth wire to an eyelet lug which was then secured using a machine screw, nut and shakeproof washer. Do not rely on a solder joint to the chassis. In addition, a cable clamp was fitted to secure the mains flex in place, along with a grommet where the cable exits the metal chassis. This ensures that the outer insulation of the mains cord is not damaged by external strain. With the above precautions, a fault in the primary power circuit will either cause the earth leakage circuit breaker at the switchboard to disconnect the power or will cause the fuse to blow, thus ensuring safety. Surprise, surprise. With the power applied, the set worked perfectly, receiving all local and one or two distance stations in daylight! Not a single component was changed and not a single adjustment moved. What a contrast with the recent experience with the Hotpoint J35DE receiver (SILICON CHIP, July-September 2011) The service data states that “all adjusting screws are sealed”. Except for the aerial trimmer (C3, 27pF), it means exactly what it says. Performance I was left no alternative but to resort to the “big guns” in the form of laboratory instruments to get some quantitative idea of performance. The signal gathering performance of the ferrite rod antenna is not easy to measure, It’s basically a function of the volume of the rod and the “Q” factor. The reddish-brown metal plate at the front of the set is used as a crude baffle for the oval-shaped loudspeaker It is possible to arrange a known field strength using a signal generator and an inductor placed at a specified distance from the ferrite rod. However, this is fairly cumbersome and is hardly justified when weak station performance has been demonstrated. The manufacturer’s alignment table states “a coil comprising three turns of 16-gauge DCC wire and about 12 inches (30cm) in diameter should be connected between the terminals of the test instrument, placed concentric with the rod aerial and distant not less than 1 foot from it.” No expected sensitivity figures or settings of the AWA modulated oscillator are given. My aim was to measure the bandwidth of the intermediate frequency (IF) channel and the overall audio response of the set. To do this, a laboratory RF signal generator and an audio signal generator were pressed into service. Unfortunately, the AWA arrangement would make it very difficult to maintain constant coupling between the RF generator and the ferrite antenna. To circumvent this, I simply wound three turns of hook-up wire around the end of the ferrite rod. The relative signal strength was measured using a digital multimeter connected between the junction of R3 and R18 and earth. Obviously, the circuit was detuned but this does not make any difference to the intermediate and audio response. For most local stations, without the signal generator connected, the meter read about -4V. Bear in mind that the ferrite rod antenna is directional and has least signal gathering capacity when pointed end-on in the direction of the station. However, the reserve of sensitivity is considerable and when turning the chassis around while tuned to local stations, the minimum pick-up orientation is usually noticed only by a slight increase in background noise. Why simple AGC? This brings me back to an interesting point about the circuit: why did the designer choose a simple automatic gain control system when the usual delayed AGC system would have involved only a couple of inexpensive components? I believe that the answer is related to the ferrite rod antenna and its proximity to the power transformer. When the set is tuned away from a station, hum TABLE 2: SOCKET VOLTAGES Valves 6BE6 Converter 6BA6 IF Amplifier 6AV6 Detector/Amplifier 6AQ5 Output 6X4 Rectifier siliconchip.com.au Cathode To Chassis Volts – 1.5 – – 250 Screen Grid To Chassis Volts 85 85 – 165 – Anode To Chassis Volts 165 165 80 240 235/235 AC RMS Anode Current mA 2 4.5 1 20 – Heater Volts 6.3 6.3 6.3 6.3 6.3 October 2011  97 All parts under the chassis are easy to access. The original 2-core power cable was replaced with a 3-core cable so that the chassis could be earthed. can be heard in the speaker. But tune to even a very weak station and the hum immediately stops. Had delayed AGC been incorporated, hum would be present on weak stations. Another design feature of the set, unusual for the 1950s, is the negative feedback and tone control system. The feedback is taken from the secondary winding of the output transformer, via C22, R11 and R10 in series and developed across R8 (100Ω) at the lower end of the volume control (R7). In addition, the junction of R10 and R11 is connected via C18 to one end of the tone control potentiometer R13 (100kΩ). Its moving arm (wiper) is earthed, while the other end is connected to the plate of V3 via C19 (0.01µF). When the set is first switched on, C19 bypasses the plate of the 6AV6, resulting in severe treble cut. However, with R13 fully rotated, C18 (0.25µF) is connected to ground, reducing the negative feedback at higher audio frequencies and hence providing treble boost. Very clever! The tone control is the small knob at the front left of the set, while the volume control is the larger concentric knob behind it. The on/off switch is operated by the tone control. When you first switch on, you make the decision: leave it with a “mellow” tone or rotate the knob fully and be able to understand speech! Audio response The measured centre frequency of the IF amplifier is very close to 455kHz Fig.3: this graph shows the audio response of the set at switch-on and with the tone control turned fully clockwise (the on/off switch is integrated with the tone control). RADIOLA MODEL 573-MA AUDIO RESPONSE dB 0 FULLY CLOCKWISE –2 –4 TONE CONTROL POSITIONS –6 SWITCH ON –8 100 98  Silicon Chip 1k 10k and the -6dB bandwidth is 7kHz. The overall audio response with the tone control fully clockwise is only -2dB down at 3kHz. Although this is poor compared with modern digital or FM sets, it still makes for pleasant listening. The response curves are reproduced in Fig.3. The audio power output is a little less than 1W RMS at the point of clipping when fed into a 3-ohm resistive load. I double checked this and also checked the emission of the 6AQ5, as the service data sheet claims 3W undistorted. Even so, the 1W of audio is more than enough for the sensitive permanent-magnet speaker which is mounted on a metal plate. This certainly does not provide a good baffle for the lower audio tones. So, 60 years later, are there any improvements to be made to the circuitry? Answer: none that would make a really worthwhile improvement. However, over-coupling of the 1st IF transformer and damping of the primary of the second IF (see SILICON CHIP, September 2011) would extend the audio response. In addition, the current drain and hence heat dissipation could be reduced by slightly increasing the value of the back bias resistor (R17, 150Ω). Finally, capacitors C17 (0.1µF), C23 (25µF electrolytic) and C25 (25µF electrolytic) were replaced in the interests SC of long-term reliability. siliconchip.com.au 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 silicon<at>siliconchip.com.au MPPT solar charger needs adjustments I recently built your MPPT Solar Charger (SILICON CHIP, February 2011) and I have noticed that at the start of each day it goes straight to float charge. This is even if I have used substantial battery power the night before. In order to make it do the full charge regime I have to switch open the connection between battery and controller to fully de-energise it for 30 seconds so that it starts afresh and bulk charges when the Sun comes up. I have also noticed that if I switch on a big load during the day, so much so that the voltage drops to below 12.45V (even down to 12.0V for a few minutes), it still will not go to a bulk charge. This is not right. I am using two 40W amorphous panels in parallel and a 12V 110Ah SLA battery. Is there any updated software yet to fix this problem? (B. H., via email). • We have not upgraded the software since there are no problems that we know of. Bulk charge occurs if the battery drops below 12.45V. It is how the battery voltage is monitored and the set-up adjustments that affect this reading. Failure to start the bulk charge after a night-time period could just mean that the VR3 adjustment needs altering. This adjustment sets the voltage that is detected by microcontroller IC1 (ie, it sets a divided down value of the battery voltage). If VR3 is set to give a higher voltage than it should, IC1 will not detect the 12.45V low battery voltage correctly and bulk charge will not begin. Alternatively, the 5V supply might not be exact as set by VR1. Check the set-up as detailed on page 48 of the February 2011 issue for VR1 and VR3. If the adjustments are correct, try setting VR3 so that the TP1 voltage is a little lower than the calculated voltage of 0.3125 x the measured battery voltage. In addition, the compensation adjustment at VR2 for battery temperature can affect the charging voltage. Lightning trigger for digital cameras I read with interest the project on the Lightning Detector in the July 2011 issue by John Clarke. I will be keen to purchase a kit and see how this works. Has SILICON CHIP ever had a Lightning Trigger project for digital cameras? I have checked the archive list and there appears to be no project of this nature listed. I would suspect that this would make an interesting project and would be extremely popular. I have seen results from triggers that have been purchased overseas showing stunning lightning shots. Is this a project that SILICON CHIP might consider in the future for the popular Canon, Nikon and Pentax cameras? (R. H., Woomera, SA). • That’s an interesting question. Given that a lightning detector would have to operate the “shutter” on a digital camera, how could any digital camera be fast enough to take a picture of a lightning flash which lasts about 200 milliseconds? We understand that most lightning photos were taken by cameras with the shutter open. Having said that, it would be simple enough to add a shutter release Mosfet to the Lightning Detector. Incidentally, there is no kit for this project but SILICON CHIP can supply the PCB for $25 plus $10 for postage and packing. Digital tacho faulty but not on YouTube! Your circuit for the Digital Tachometer (SILICON CHIP, April 2000) has a problem and it cannot be functional without alteration. I have seen videos of this tachometer on YouTube. I was amazed at how this circuit is working fine over there and not with me. It has lethal circuit mistake that could have fried this circuit. I assumed people at YouTube must have done some alteration to the existing diagram to make it functional. The LM358 is driving the RB0/INT pin of the PIC16F84A at 12V! This will kill the microcontroller and fry the 7805 regulator. My unit has burnt out the 7805 regulator and LM358 op amp and the PIC16F84A is now faulty even though the programmer is able to burn it, erase and reprogram it. It is not even able to light up an LED properly. (U. F., Karachi, Pakistan). • There is nothing incorrectly de- False Readings From Digital Tachometer I am having some problems getting my Digital Tachometer (SILICON CHIP, April 2000) to work correctly. The bargraph and digital display is operating and the mode functions all work. It is set up for a 4-cylinder 4-stroke engine and is attached to the ignition coil. My problem is that when it is wired to the car the RPM readout is siliconchip.com.au much too high and is very unstable. The tacho shows 1600-2200 RPM when the car’s true revs are actually 800 RPM (idling). As the revs go higher it gets worse, showing 6400-7300 RPM when the true figure is 2400 RPM. I am unsure what is causing the problem. Do I need different resistors? Have I put something in the wrong place? (T. D., via email). • The tachometer is false-reading due to ringing from the ignition coil signal. You can fix this by increasing the 0.056µF (56nF) capacitor at the ignition coil input of the tachometer, following the 22kΩ 1W resistor. The capacitor may need to be increased to 100nF or 150nF to prevent the false triggering. October 2011  99 Modifying A Speed Controller For Low-Voltage Motors I am investigating the use of the 20A 12/24V DC Motor Speed Controller (SILICON CHIP, June 2011) with 4-6V Faulhaber motors. These motors can provide sufficient torque for one of my applications at steady DC voltages of around 0.5V, with currents of less than 0.5A. Would it be safe to use the unit for my Faulhaber motors or alternatively, can it be simply modified to be safe? I should mention that the Faulhaber motors use ironless rotors to reduce inertia. (A. T., via email). • The minimum voltage that the circuit can run at correctly is 7V, although it may run at lower voltages depending on the particular TL494 (IC1). In this case, the LM2940CT-12 regulator should be omitted and a link connected in its place (between the IN and OUT pads on the PCB). signed in the circuit. The output from the LM358 does drive the PIC RB0 input but this is via a 2.2kΩ resistor that limits the current into the PIC input. So with the LM358 powered from 12V, the RB0 input is clamped to just over 5V with the internal clamping diodes across the supply rails within the PIC. This prevents any damage to the PIC chip. If you are experiencing an overheated 7805 regulator there is probably a short circuit on the PCB. If you have an overheated LM358, check that it is inserted correctly. We have not experienced any problems with this project and it has been sold as a kit since April 2000. The problems you are experiencing could arise from missing wire links, shorts between component pads with solder bridges, incorrectly orientated components or problems with the 7-way pin headers and plugs. OBDII interface software problems I have constructed the OBDII Interface (SILICON CHIP, February 2010) and I’m having trouble getting the software to communicate with the unit. I am using a Netbook running Windows 7 and I have purchased the RS232to-USB converter cable. The cable 100  Silicon Chip The output from the controller to drive the motor would then range from 7V to 0V. The lower voltage settings would produce 7V pulses to the motor. This means that at 3.5V average there will be a 50% duty pulse at 7V peak. Whether this is suitable for the motor we are not sure but the windings will run hotter due to the higher pulse current. It may be wise to change the 1kΩ resistor at the lower end of the speed pot to a larger value that restricts the pulse width to rather less than 100% when the pot is adjusted to full speed. A 4.7kΩ resistor or higher might be suitable. The Mosfets will be driven into saturation with gate voltages down to 6V, especially at the low currents the motors will be drawing, so there is no need for logic-level Mosfets. In software installs without trouble and is assigned to COM4 on the PC. However, the software will not recognise the hardware and the result is about the same when using all three of the suggested software packages. According to the scope grabs that I have taken, 5V logic data appears on pin 12 of the MAX232 IC (into the processor) and RS232 data does appear on pin 14 of the MAX232 IC . This seems to indicate to me that the hardware is working OK but the software won’t recognise the response. The RS232 Rx and Tx LEDs flash as well. The scope grabs were taken when attempting to “start polling” in the OBD v1.5.0 software with the unit powered up but not connected to a vehicle (the symptom is the same when connected to a vehicle). Note that the baud rate and related settings on COM4 in the software have been confirmed as correct. I tried loading the software and cable onto my desktop PC running Windows XP but the result is the same. I would appreciate any suggestions you may have. (J. B., Beaumaris, Vic). • The interface will report an error when not connected to the OBDII port of a vehicle. Most vehicles will require that the engine is running before communication will occur. Also make sure the vehicle is OBDII-compliant. Possibly the problem is with the fact, you really only need one Mosfet for your application. As an alternative to the changes mentioned above, the motor speed controller circuit could be run from 12V as normal but with supply for the motor coming from a lower voltage source such as 1.5V or 3V. To do this, the on-board 20A fuse would be removed and the 12V supply connected between the +12V and 0V inputs on the controller. The lower voltage supply for the motor would connect between the 0V and the M+ terminals on the controller via an in-line fuse. The motor terminals would connect to the M- and M+ terminals on the controller. That way the motor is not presented with high-voltage pulses but only the maximum voltage provided by the dedicated motor supply. OBDII plug. Make sure the pins within the plug are orientated correctly with respect to the plug shell. Some of the OBDII plugs are supplied with the pins oriented 180° from the correct position. This is mentioned in the article where the pin section of the plug is required to be removed and rotated by 180°. Compare the OBDII shell and pins against the supplied drawings. Speed control wanted for large pedestal fan I am restoring an old (circa 1950s) “Airspeed” industrial fan or “air circulator”. This is a large 3-bladed fan that stood on a tall pedestal and would have moved air on a factory floor or similar. The fan has a single high speed and I am keen to put in some sort of speed control. I recently bought a Jaycar kit based on your 10A Universal Speed Controller for Power Tools (SILICON CHIP, February 2009). On opening the kit however, I discovered that it is not suitable for a “shaded pole motor or an induction motor” which is probably what is used in my fan, so I will use it for my drill press. The problem is, Airspeed (formerly based in St Leonards in Sydney) have gone out of business and I can’t get any information on my fan. The motor siliconchip.com.au bears the following information: Built under licence to GEC. Type BS 2505. V 220/240. Phase 1 C/S50. H.P. 1/4 Amps 2.3. RPM 1425. Insul class E. My question is, is this a shaded-pole motor and therefore unsuitable to use with the universal 10A speed regulator I’m building? If so, can you tell me what sort of speed-control device I might build. (T. C., via email). • Your fan motor is almost certainly a standard induction type. The clue is the speed – 1425 RPM. These large pedestal fans are used by the thousands right throughout industry and all over the world. While there are induction motor speed controllers available, they would almost certainly be worth more than the fan itself. Nor do we have a suitable project which will do the job. Sorry. Incidentally, your drill press is also likely to use an induction motor, especially if it has belt drive via stepped pulleys which can provide a range of fixed speeds. RCD tester calibration May I suggest a project to check the calibration of RCD testers. The cost of a calibration check by calibration facilities is not usually an economical proposition. Thousands of electricians need a reliable means of checking the accuracy of these testers. (N. P., Whangarei, NZ). • We agree that the cost of calibrating of an RCD tester would probably be uneconomic, relative to the price of the tester itself. However, we would be very loath to design a suitable project and we would doubt its legality, even it were a relatively simple exercise. Upgrading an analog insulation tester I am looking at your Digital Insulation Meter from the June 2010 issue and note the comment that earlier “models” couldn’t quite hack the voltage at lower load resistances. I actually built the Altronics 500V – 1000V Megohm Meter (dated 2004). What I like about this unit is the analog meter and for this type of measurement the moving pointer tells me more than the digital readout. Anyway, the Altronics unit also suffers from a weak output and I would like to upgrade it. The simplest way to do this seems to be to just drop in the HV generator from your June 2010 design. Would that be sensible? The Altronics unit uses a very similar HV generator to the one you used in your October 2009 design. The issue I am uncertain about is the 10MΩ dropper from the HV supply in the Altronics and early SILICON CHIP designs is not present in the June 2010 unit. Instead, there is a 100nF capacitor to earth – presumably to limit the leakage current? Would that work OK? I would like to keep the analog metering. (J. K., via email). • You should be able to upgrade your 2004 Megohm Meter just by replacing its existing HV generator section with the one used in the June 2010 Insulation Meter, as you suggest. You should connect its output to the positive test terminal via the same 4.7kΩ 5W resistor we used in the June 2010 design, rather than via a 10MΩ resistor as in the original design. DYNE INDUSTRIES PTY LTD Now manufacturing the original ILP Unirange Toroidal Transformer - In stock from 15VA to 1000VA - Virtually anything made to order! - Transformers and Chokes with Ferrite, Powdered Iron GOSS and Metglas cores - Current & Potential Transformers DYNE Industries Pty Ltd Ph: (03) 9720 7233 Fax: (03) 9720 7551 email: sales<at>dyne.com.au web: www.dyne.com.au Please note, however, that if you give the generator the same three voltage ranges (1000V/500V/250V), you’ll need to provide a third trimpot in the metering circuit to adjust the full-scale meter reading on the extra range. Speed controller for variable solenoid drive I was looking at your June 1997 Motor Speed Controller to pulse a vacuum/boost solenoid which in turn controls a butterfly fitted with Issues Getting Dog-Eared? Are your SILICON CHIP copies getting damaged or dog-eared just lying around in a cupboard or on a shelf? Can you quickly find a particular issue that you need to refer to? REAL VALUE AT $14.95 PLUS P & P Keep your copies of SILICON CHIP safe, secure and always available with these handy binders Available Aust, only. Price: $A14.95 plus $10.00 p&p per order (includes GST). Just fill in and mail the handy order form in this issue; or fax (02) 9939 2648; or call (02) 9939 3295 and quote your credit card number. siliconchip.com.au October 2011  101 Next Month In SILICON CHIP: November 2011 Measuring Loudspeaker Performance With A DIY Microphone And Your PC’s Sound Card Following this month’s article on measuring the performance of audio equipment using a sound card and an audio analyser software package, we follow with an article focussed on the measurement of loudspeakers. The method uses your PC’s sound card, a DIY electret microphone and software from www.fatpigdog.com Zener Diode Tester Adaptor For A DMM Normal diodes are easy to test with the ohmmeter range on a typical digital multimeter but how do you test zener diodes which have have breakdown voltages up to 60V or more? This convenient battery-powered tester lets you check zener diodes rated from 2.2V up to 100V and you read the result from your DMM. Low-Noise Preamplifier & 3-Input Selector Intended for use with the Ultra-LD Mk.3 amplifier modules, this low-noise preamplifier will have remote control of volume with a motorised potentiometer and selection of up to three line-level inputs using the same remote control. The selector employs relay switching. The preamplifier is an improved version of the circuit used with the 20W Class-A stereo amplifier described in the August 2007 issue. Unfortunately, the Geiger Counter which was to have been featured in this (October) issue has had to be postponed. Note: these features are in preparation for publication and barring unforeseen circumstances, will be in the issue. ON-SALE: Wednesday, 26th October 2011 a vacuum solenoid. It runs at 2kHz. In order to work, it must have an adjustable frequency and from memory, down to approximately 20Hz. Can this circuit be modified to do this? I have a device that used to do this function but it is kaput. It is used as a demonstration of an active exhaust at car shows. (K. D., via email). • The Motor Speed Controller from June 1997 (Jaycar KC-5225) has now been superseded by the updated design in the June 2011 issue. This later version is similar to the earlier circuit and it now includes frequency adjustment over quite a wide range. If you require a lower frequency than it is presently capable of, you can increase the 100nF capacitor at pin 5 to a larger value, say 470nF. Note that it is unusual for solenoids to be affected by the driving frequency, with these two provisos: (1) low frequencies (eg, 20Hz) could cause the solenoid to “chatter” on and off; and (2) if the frequency is too high, the solenoid impedance may mean that the available voltage drive may not be sufficient for effective drive. It would be more usual to control the unit using a variable pulse width at a fixed frequency, to vary the solenoid opening. In other words, just use the controller without any modifications. More volume wanted from sound card I use headphones when talking on Skype but I find that the volume is too low from the PC sound card and I can’t adjust it any higher. Have you ever published a project to amplify the sound from a PC sound card or could you suggest any other amplifying system that would suffice? (P. R., via email). • As you suggest, one way to provide for more sound from your headphones is to add an amplifier between the computer sound output and the headphones. The Champ 0.5W amplifier (SILICON CHIP, February 2004) would be suitable. Jaycar sell this as a kit (KC5152) as does Altronics (K2115). This amplifier runs from a 4-12V supply and a 9V 200mA DC plugpack could power it. Commercially-made headphone amplifiers are also available (eg, Jaycar AA0400). Another way would be to simply use more sensitive headSC phones. 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 Competition & Consumer Act 2010 or as subsequently amended and to any governmental regulations which are applicable. 102  Silicon Chip siliconchip.com.au MARKET CENTRE Cash in your surplus gear. Advertise it here in SILICON CHIP ELNEC IC PROGRAMMERS High quality Realistic prices Free software updates Large range of adaptors Windows 95/98/Me/NT/2k/XP C O N T R O L S Tough times demand innovative solutions! CLEVERSCOPE USB OSCILLOSCOPES 2 x 100MSa/s 10bit inputs + trigger 100MHz bandwidth 8 x digital inputs 4M samples/input Sig-gen + spectrum analyser Windows 98/Me/NT/2k/XP IMAGECRAFT C COMPILERS ANSI C compilers, Windows IDE AVR, TMS430, ARM7/ARM9 68HC08, 68HC11, 68HC12 GRANTRONICS PTY LTD www.grantronics.com.au FOR SALE questronix.com.au – audiovisual experts solve home, corporate security and devotional installation & editing woes. QuestAV CYP, Kramer TVone (02) 4343 1970 or sales<at>questronix. com.au PCBs MADE, ONE OR MANY. Any format, hobbyists welcome. Sesame Electronics Phone (02) 8005 6732. sesame<at>sesame.com.au www.sesame.com.au SILICON CHIP PCBs: Silicon Chip Pub­ lications can supply PCBs for recent (and not so recent) projects described in the magazine. See our advert on page 41 for further details. Phone ( 02) 9939 3295 or email silicon<at>siliconchip. com.au LEDs! Nichia, Cree and other brand name LEDs at excellent prices. LED drivers, including ultra-reliable linear driver options. Many other interesting and hard-to-find electronic items! www.ledsales.com.au siliconchip.com.au THE ULTIMATE PORTABLE AIR BAND, FM/AM/LW & SHORTWAVE RECEIVER! Perfect for aviation enthusiasts – the amazing Tecsun PL660 Listen in to VHF aircraft frequencies plus plus NDB NDB signals signals on on long wave, PLUS long PLUS ICAOwave, and VOLMET ICAO and VOLMET broadcasts on HF broadcasts HFget (SSB) – andon you your AMget (SSB)favourite – and you & FM stations too! AM & FM stations ONLY 179 $ INC P&P HUGE LCD Display Direct Frequency Entry Inc. rechargeable batteries! Exclusive to Avcomm. Call now – (02) 9939 4377 Made in Australia, used by OEMs world-wide splat-sc.com For more details visit www.avcomm.com.au Battery Packs & Chargers Mikrotik OmniTIK U5-HnD The Perfect Outdoor Access Point OmniTIK is a weatherproof outdoor AP with dualpolarised omni antennas – the perfect companion for our SXT or for any other 5GHz 802.11a/n standard device. Weatherproof, durable and ready to use. It has five 10/100 Ethernet ports, PoE support and a built-in 400mW 802.11a/n wireless radio. It supports Nv2 TDMA technology with up to 200Mbit aggregate throughput. LED signal indicators on it’s back are fully customisable, show Ethernet activity or wireless signal – or any other information from RouterOS. The USB port gives the ability to connect a 3G modem or a storage drive. The OmniTIK runs RouterOS with all it’s features. Siomar Battery Engineering www.batterybook.com Phone (08) 9302 5444 www.wifiproducts.com.au 1800 546 656 EIGHTEEN YEARS OF SILICON CHIP back issues plus six years of Electronics Australia. All in good order. Phone Kenneth Lloyd on 07 3623 6431 (Qld). MAXIMITE BREAKOUT BOARD: 10 channels, 2 relays per board. 2 boards can be cascaded to get all 20 channels. Each channel can be configured as Digital In, Digital Out or Analog In, Screw terminals. More information www.hamfield.com.au TRIAGE TECHNICAN ELECTRONIC GOODS - SYDNEY Jaycar sells 10’s of millions of dollars of equipment every year. A very small percentage of this is either faulty, “apparently” faulty or perfectly ok but returned as faulty when there is in fact no fault. Even though the percentage is quite small, it still adds up. We are looking for experienced people with a technical background to quickly establish the status of returned goods. Such a person could be looking for an interesting and challenging job that has great variety. A suitable person could be currently working, currently retired (but bored!) or semi retired. The ideal candidate will preferably be able to effect minor repairs on the spot if needed but will not be required to make major complex repairs. It will be important to make quick decisions as to the salvageable status of returned goods. The candidate will work with minimal supervision in a pleasant environment. People who require flexible working hours will be considered. Salary will be commensurate with experience etc. Please email us your applicaton & CV in PDF format to tmartin <at> jaycar.com.au October 2011  103 Do you eat, breathe and sleep TECHNOLOGY? Opportunities exist for experienced Sales Professionals & Store Management across Australia & NZ Jaycar Electronics is a rapidly growing, Australian owned, international retailer with more than 60 stores in Australia and New Zealand. Due to our aggressive expansion program we are seeking dedicated sales professionals to join our retail team to assist us in achieving our goals. We pride ourselves on technical expertise from our staff. Do you think that the following statements describe you? Please put a tick in the boxes that do:  Knowledge of core electronics, particularly at a component level  Retail experience, highly regarded  Assemble projects or kits yourself for your car, computer, audio etc  Have energy, enthusiasm and a personality that enjoys helping people  Opportunities for future advancement and development  Why not do something you love and get paid for it? Please email us your applicaton & CV in PDF format, including location preference. We offer a competitive salary, sales incentive and have a generous staff purchase policy. Applications should be emailed to jobs <at> jaycar.com.au Proposed Format&Jaycar forElectronics KitStop is an Equal 3cm OpportunityAds Employer actively promotes staff from within the organisation. Silicon Chip Magazine October 2011 Advertising Index Agilent Technologies.................... OBC Altronics.............................loose insert Avcomm......................................... 103 Digi-Key Corporation.......................... 3 Dyne Industries.............................. 101 Emona Instruments.......................... 59 Geoff Coppa.................................. 104 Grantronics.................................... 103 Hare & Forbes.................................. 33 Harbuch Electronics......................... 10 HK Wentworth.................................... 8 Instant PCBs.................................. 103 Jaycar ................... IFC,49-56,103,104 Jimojo............................................ 103 Keith Rippon.................................. 104 Kenneth Lloyd................................ 103 Kitstop............................................ 104 LED Sales...................................... 103 LHP.NET.AU................................... IBC KIT ASSEMBLY & REPAIR KEITH RIPPON KIT ASSEMBLY & REPAIR: * Australia & New Zealand; * Small production runs. Phone Keith 0409 662 794. keith.rippon<at>gmail.com GEOFF COPPA KIT ASSEMBLY AND TROUBLE SHOOTING SERVICE. Phone Geoff on 0414226102. coppamitchell2<at>bigpond.com Microchip Technology....................... 11 www.iinet.net.au/~worcom WORLDWIDE ELECTRONIC COMPONENTS PO Box 631, Hillarys, WA 6923 Ph: (08) 9307 7305 Fax: (08) 9307 7309 Email: worcom<at>iinet.net.au CUSTOMERS WANTED: Truscotts Electronic World – large range of semiconductors and passive components for industry, hobbyist and amateur projects including Drew Diamond. 27 The Mall, South Croydon, Melbourne. Phone (03) 9723 3860. www.electronicworld. com.au Quest Electronics........................... 103 RF Modules................................... 104 Rohde & Schwarz.............................. 9 Modules 546 Kits, and Boxes Innovative & affordable projects for hobby, school & industry Sesame Electronics....................... 103 Silicon Chip Binders....................... 101 FK182 12 Channel 16 Programme AVR Controlled Light Chaser www.kitstop.com.au electronics-the fun starts here Silicon Chip Bookshop................ 92-93 Silicon Chip Order Form.................. 85 Silicon Chip PCBs..................... 41,103 Silicon Chip2011 Binders October H Each binder holds up to 12 issues H SILICON CHIP logo on spine & cover Price: $A14.95 plus $A10.00 p&p per order. Available in Australia only. Buy five & get them postage free. Classified Ad Rates: $29.50 (incl. GST) for up to 20 words plus 85 cents for each additional word. Display ads: $54.50 (incl. GST) per column centimetre (max. 10cm). Closing date: 5 weeks prior to month of sale. To book, email the text to silicon<at>siliconchip.com.au and include your name, address & credit card details, or fax (02) 9939 2648, or phone (02) 9939 3295. 104  Silicon Chip Prime Electronics............................... 5 RMS Parts....................................... 95 Shop on-line at: WANTED Ocean Controls................................ 19 Silicon Chip Subscriptions............... 71 Siomar Battery Engineering........ 7,103 Soundlabs Group............................... 6 Splat Controls................................ 103 Switchmode Power Supplies............ 61 Tekmark............................................. 6 Truscotts Electronic World............. 104 Wiltronics......................................... 70 Worldwide Elect. Components....... 104 siliconchip.com.au LHP.NET.AU THE SMART CHOICE INFOMON COOLING FRIDGE - FREEZER Silent Sine Wave Generator $799 2kVA also available: $499 LED 12vdc Bright Lights Great for camping tent, caravan etc.5m Roll easily cuts to size. Waterproof + adhesive back fast easy installed. Day Night Hi Res SONY Chip CCD Camera Protect your battery from overcharging. PLUS: LCD display shows you the amount of power you are using and producing. Also lets you know battery VDC and Batt capacity Pecentage. 240VAC Power, 4.4KVA: This is one tough Fridge Built to Last. Latest technology interface + Design Great for mobile remote use. Micro Computer Temp Control energy saving system so it does not stress out your batteries. 45L was $1499 NOW $ 499 80L was $1899 NOW $ 599 FREE BONUS : Insulation Cover, Wall charger and cigarette adaptor. Battery Charge Controller From $89 Dome or bracket style Solar Panels BEST PRICES IN AUSTRALIA! 20w . . . . $59 Each solar 50w . . . . $150 panel 80w . . . . $250 features 100w . . . $300 a 25 year power SPECIAL O 120w . . . $350 FFER for warranty. S IL ICON 200w . . . $599 FREE CDHIP READERS: AUSTRALELIVERY IA WIDE! Folding Solar Panels REDUCED! NOW ONLY $88 $38 Complete DVR CCTV PACK IR Indoor/Outdoor Cameras All come in a carry bag, regulator, cable and leads -- READY TO USE! 60 watt . . . . $199 80 watt . . . . $350 100 watt . . . $399 120 watt . . . $499 160 watt . . . $599 200 watt . . . $699 ONLY $49 Stainless Steel Cooktop 60cm, 4 burner JUST $99 gas with auto ignition And Stove 60cm electric fan-forced oven with temperature, timer control AMAZING $299 REVERSE CAMERA KIT Infomon Wind Turbines One of the most technologically advanced Wind Tubines on the market. Sold in over 70 countries across the world!!! For those who want to generate some serious power we have a 1000 watt system complete kit with stand and controller Dont Pay over $2000 WAS $1199 SALE $999 LIMITED STOCK! 4 Cameras 8 Cameras & DVR Kit & DVR Kit $369 $799 Also 16 ch DVR and Cameras Includes cable, 7" LCD monitor PLUS Camera 6m pole included WAS $169 WIRELESS KIT: $199 Special WINTER CLEARANCE SAUNA! SPA WITH HEATER Infrared Room Computer touch control pad Complete with pumps, filtration system Radion Heater Huge 4 - 6 people spa with recliners 100% AUSTRALIAN OWNED Company and AUSTRALIAN APPROVED CLEARANCE SALE $3899 NOW ONLY $99 ONLY $999 2011  105 5/110 Station Rd, Seven Hills NSW 2147 (Mon-FriOctober 9am-5pm) Phone (02) 9620 9011 www.lhp.net.au siliconchip.com.au