Silicon ChipMarch 2011 - Silicon Chip Online SILICON CHIP
  1. Outer Front Cover
  2. Contents
  3. Publisher's Letter: Power factor correction gizmos do not save power
  4. Feature: Microchip’s New PIC32 Microcontroller by Geoff Graham
  5. Feature: Community TV Station TVS by Barrie Smith
  6. Project: The Maximite Computer, Pt.1 by Geoff Graham
  7. Project: Universal Voltage Regulator Board by Nicholas Vinen
  8. Project: Mains Moderator: Stepping Down The Volts by Leo Simpson
  9. Salvage It! – A Vacuum Pump From Junk by Neno Stojadinovic
  10. Project: 12V 20-120W Solar Panel Simulator by John Clarke
  11. Project: Microphone To Neck Loop Coupler For Hearing Aids by John Clarke
  12. Review: The Atten ADS1102CA Digital Storage Oscilloscope by Mauro Grassi
  13. Vintage Radio: The STC A5150 5-valve mantel clock radio by Rodney Champness
  14. Book Store
  15. Advertising Index
  16. Outer Back Cover

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

You can view 35 of the 112 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 "The Maximite Computer, Pt.1":
  • Maximite PCB [06103111] (AUD $15.00)
  • PIC32MX695F512H-80I/PT programmed for the Maximite/miniMaximite (V2.7) (Programmed Microcontroller, AUD $30.00)
  • CP2102-based USB/TTL serial converter with 5-pin header and 30cm jumper cable (Component, AUD $5.00)
  • MaxiMite Firmware v4.1, documentation, libraries, sample software, serial port driver and sprint/font editor (Free)
  • MaxiMite Microcomputer PCB pattern (PDF download) [06103111] (Free)
Articles in this series:
  • The Maximite Computer, Pt.1 (March 2011)
  • The Maximite Computer, Pt.1 (March 2011)
  • The Maximite Computer, Pt.2 (April 2011)
  • The Maximite Computer, Pt.2 (April 2011)
  • The Maximite Computer, Pt.3 (May 2011)
  • The Maximite Computer, Pt.3 (May 2011)
Items relevant to "Universal Voltage Regulator Board":
  • Universal Voltage Regulator PCB [18103111] (AUD $5.00)
  • Universal Voltage Regulator PCB pattern (PDF download) [18103111] (Free)
Items relevant to "Mains Moderator: Stepping Down The Volts":
  • Mains Moderator lid panel artwork and warning label (PDF download) (Free)
Items relevant to "12V 20-120W Solar Panel Simulator":
  • 12V 20-120W Solar Panel Simulator PCB [04103111] (AUD $10.00)
  • Solar Panel Simulator PCB pattern (PDF download) [04103111] (Free)
Items relevant to "Microphone To Neck Loop Coupler For Hearing Aids":
  • Hearing Loop Receiver/Neck Loop Coupler PCB [01209101] (AUD $10.00)
  • Hearing Loop Receiver/Neck Loop Coupler PCB pattern (PDF download) [01209101] (Free)
  • Hearing Loop Neck Loop Coupler panel artwork (PDF download) (Free)

Purchase a printed copy of this issue for $10.00.

siliconchip.com.au March 2011  1 CCD Cameras ExView HAD Colour CCD Camera - Pro Style Pre - Catalogue A high performance colour CCD surveillance camera which captures detailed flickerless video footage even in the lowest of light levels. Features auto iris control, auto white balance, 2 stage automatic gain control and back light compensation. • Sony ExView 1/3" HAD CCD Sensor • 380TVL, 500 x 582p resolution • Minimum illumination: 0.05 lux • Shutter speed: 1/110,000 (sec) QC-3298 WAS $249.00 Also available: Hi-Res ExView HAD Colour CCD Camera (470TVL) QC-3299 Was $349.00 Now $229.00 Save $120.00 Hi-Res Day/Night Colour CCD Camera - Pro Style 129 00 $ SAVE $120 00 Colour by day, black and white by night. This high-resolution CCD camera is perfect for use with infra red illuminators. • 1/3" Sony Hi-Res SuperHAD CCD Sensor • Auto Iris Control • 470TVL resolution • Minimum illumination: 0.2 lux • Day / Night changeover level: 3 lux QC-3301 WAS $299.00 Also available: Day/Night 520TVL Colour CCD Camera QC-3307 Was $299.00 Now $199.00 Save $100.00 199 $ 00 SAVE $100 00 2 h c Mar 011 Colour CCD Camera in Metal Case with Sony Sensor • 1/4" Sony CCD Sensor, resolution: 380 TV Lines • Dimensions: 36(W) x 36(H) x 15.9(D)mm 00 $ QC-3494 WAS $99.00 Also available: Colour CCD Pinhole Camera SAVE $30 00 in Metal Case Sony Sensor and Audio QC-3496 Was $99.00 Now $59.00 Save $40.00 69 3-Outlet Mains Power Meter 59 00 $ SAVE $40 00 Remote Control Mains Outlet Switch any mains appliance rated up to 10A on or off remotely. Control up to three separate devices and switch them individually. Includes 3 mains outlets and 1 remote control. • Automatic battery voltage detection • Manual charge current adjustment • Discharge button • LED charge status indication • Reverse polarity, shortcircuit and overload protection MB-3630 WAS $59.95 39 95 $ SAVE $20 00 Universal Programmable Balanced Battery Charger This camera uses a Sony colour CCD sensor. It is mounted inside a diecast metal case and is ideal for use in retail stores & homes etc. Features adjustable focus lens and audio output. Requires a 12VDC regulated power supply. Automotive Blade Fuse Current Meter • Range: 30m $29 95 • Frequency: 433.92MHz SAVE $10 00 • Max Power: 2400W (10A) • Remote size: 100(L) x 35(W) x 20(H)mm MS-6140 WAS $39.95 12V Ni-Cd/Ni-MH Charger Recharge your cordless power tools or radio controlled models when mains power is not available. Great for building sites or out on the oval with your model plane etc. Includes leads, clips and connectors. Visit our website for full features & specs. The quick and easy way to measure current in automotive circuits. Simply plugs into blade type fuseholder and displays the current draw on the LCD display. • Peak hold and data hold • 3.5 digit display • Measurement range: 0 - 80A • Dimensions: 112(L) x 45(W) x 33(D)mm QP-2257 WAS $99.00 Battery Chargers Simply plug an appliance into each sender unit, enter your local electricity price and monitor the usage on the LCD of the receiver unit. You can also monitor the cumulative usage via the memory as well as the greenhouse emissions. It also has a clock and alarm function. Receiver requires 3 x AA batteries. • Data displayed: time, temperature, line voltage, current & power, total power cost, greenhouse gas emissions in kg. $79 95 • Transmission range: 30m • Dimensions: SAVE $20 00 Sender: 58(W) x 125(H) x 48mm Receiver: 100(W) x 130(H) x 36(D)mm MS-6116 WAS $99.95 VIFA Car Speakers Vifa coaxials will add true high fidelity to your car audio system. All feature the legendary Vifa silk dome tweeters, strontium magnets and composite diaphragms. Available in 2 or 4-way configuration. Vifa 6 x 9" 4 Way Car Speakers Vifa 5" 2 Way Car Speakers • Power handling: 150WRMS • Power handling: 60WRMS • Nominal impedance: • Nominal impedance: 4 ohms 4 ohms • Frequency response: 50Hz - 20kHz $69 00 • Frequency response: • Sensitivity: 87.9 dB SPL <at>1W, 1m 35Hz - 20kHz CS-2393 WAS $99.00 SAVE $30 00 • Sensitivity: Vifa 6.5" 2 Way Car Speakers 90 dB SPL <at>1W, 1m • Power handling: 80WRMS CS-2397 WAS $189.00 • Nominal impedance: 4 ohms • Frequency response: 45Hz - 20kHz $149 00 $99 00 • Sensitivity: 86.3dB SPL <at>1W, 1m SAVE $40 00 CS-2395 WAS $129.00 SAVE $30 00 To order call 1800 022 888 www.jaycar.com.au Prices valid until 23/03/2011. While stocks last. No rainchecks. Savings are based on ORRP. Charges Li-Ion, Li-Po, Ni-Cd, Ni-MH and lead acid batteries. Particularly suited to radio control hobbies, Li-Po batteries are balance-charged so there's no risk of damage or explosion from incorrect charging. It can be powered with a mains plugpack or directly from a 12V battery or any other DC source from 10 - 18 volts. Charging capacity: • Up to 15 Ni-Cd or Ni-MH cells • 2, 3, 4, 5 or 6 cell Li-Po packs • 2 - 20V lead-acid • Charge current: 0.1-5.0A • Discharge current: 0.1-1.0A • Microprocessor controlled • Delta V charging detection • 2, 3, 4, 5 and 6 cell balanced charging outputs • Dimensions: 132(L) x 82(W) x 28(H)mm MB-3632 WAS $99.95 79 95 $ SAVE $20 00 Protek 608 True RMS DMM with PC Interface If you're looking for a DMM with data storage and logging capability, this meter is for you! This powerful meter has enough features to replace your bench multimeter. Features 50,000 count display, conductance measurement, low-voltage measurement, auto power off etc. RS-232 cable and software, carrying case and holster included. Suitable for lab, development and testing applications. See website for full specification. • Category: Cat III 600V • Windows NT and XP compatible • Ave/RMS: True RMS $249 00 • Dimensions (with holster): SAVE $50 00 216(H) x 104(W) x 58(D)mm QM-1292 WAS $299.00 Buy a Gift Card today! Contents Vol.24, No.3; March 2011 SILICON CHIP www.siliconchip.com.au Features 14 Microchip’s New PIC32 Microcontroller Name something that’s useful, gives you more than you are likely to need and is low cost. It’s the newest processor in Microchip’s stable – by Geoff Graham 24 Community TV Station TVS If you watch digital TV, you may have come across a “community” channel. Here’s a look at Sydney community station TVS – by Barrie Smith The Maximite Computer – Page 30. 71 Salvage It! – A Vacuum Pump From Junk Every techie needs a vacuum pump. Here’s how to make a serious vacuum pump and add a vacuum tank for almost nothing – by Neno Stojadinovic Pro jects To Build 30 The Maximite Computer, Pt.1 Here’s a powerful microcomputer with so much potential that you will think of uses we haven’t even dreamed of. Use it to log data, detect intruders, monitor water levels and for a thousand and one other chores – by Geoff Graham 38 Universal Voltage Regulator Board This regulator board can be built in both dual-rail and single-rail configurations, with output voltages ranging from ±5V to ±24V – by Nicholas Vinen Universal Voltage Regulator Board – Page 38. 66 Mains Moderator: Stepping Down The Volts Excessive mains voltages (eg 250VAC or more) can spell an early death for appliances rated to work at 220VAC. We show you how to reduce the mains voltage to a safe level for your equipment – by Leo Simpson 74 12V 20-120W Solar Panel Simulator Easy-to-build device allows solar charge controllers to be tested without a solar panel. It also allows the MPPT (maximum power point tracking) circuitry of such devices to be tested, to ensure maximum output – by John Clarke 86 Microphone To Neck Loop Coupler For Hearing Aids Simple project allows hearing-impaired people to hear conversations in noisy environments, even if their hearing aid has been switched from microphone mode to T-coil mode to pick up loop signals – by John Clarke Special Columns 12V 20-120W Solar Panel Simulator – Page 74. 74. 45 Serviceman’s Log PC faults & the Christchurch earthquake – by the Serviceman 59 Circuit Notebook (1) PICAXE-Based Data Logger; (2) A Low-Distortion Sinewave Oscillator; (3) Using Transistors To Monitor Temperature; (4) A 48-LED Chaser 98 Vintage Radio The STC A5150 5-valve mantel clock radio – by Rodney Champness Departments   2   4 65 97 Publisher’s Letter Mailbag Order Form Product Showcase siliconchip.com.au 104 Ask Silicon Chip 107 Notes & Errata 110 Market Centre Microphone To Neck Loop Coupler For Hearing Aids – Page 86. March March 2011  1 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 Mauro Grassi, B.Sc. (Hons), Ph.D 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 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 Recommended and maximum price only. 2  Silicon Chip Publisher’s Letter Power factor correction gizmos do not save power The first week of February caused a certain amount of excitement in the SILICON CHIP offices. This was triggered off by the Seven Network’s Today Tonight feature item on the Earthwise Power Saver on Monday January 31st. This was immediately followed by a number of emails from concerned readers, suggesting that we do a thorough debunking of this product as we had with other power factor correctors (SILICON CHIP, November 2007 & May 2008). However, I had not had a chance to respond to those emails when I was approached by Today Tonight for an interview on the topic. Apparently, a number of viewers had phoned the station to state that the product was “a load of rubbish” (or words to that effect) and that Seven should contact SILICON CHIP to find out the real story. “Would you mind doing an interview on the topic?” asked the Channel Seven researcher. How could I say “No’? And thanks to those readers for making the suggestion. Today Tonight immediately sent out a crew and I prepared a demo to show what the product was supposed to do and how it could not save consumers money. The interview was done in great haste, with reporter Rodney Lohse in Brisbane via mobile phone while I was in our editorial offices. Being asked not to look at the camera but at a point on a bookshelf (to simulate talking to the interviewer) was distinctly odd, I can tell you. As it turned out, probably due to programming constraints, Today Tonight did not run the whole interview but I was glad to get across the message that any device based on power factor correction could not save power and would result in no saving for the consumer. You can read the transcript at: http:// au.todaytonight.yahoo.com/article/8756894/consumer/power-saving-ideas The matter did not end there though because Channel Nine’s A Current Affair had run a segment on a very similar product on the same night as Today Tonight’s feature item. They also had received trenchant criticism from viewers and presumably, having seen my debunking of the concept on Tuesday, 2nd February, had decided to investigate further. They then asked the promoter to run through the demo again but this time showing readings in watts (power) rather than amps (current). This time the result was very different and the promoter was depicted in his self-induced destruction. Having obtained such a damaging video, reporter Damian Murphy also visited our offices for an interview and a somewhat more detailed demonstration of power factor correction. This was supposed to go to air on Friday, February 6th but again, extended reporting on the aftermath of Cyclone Yasi meant that it was not featured. They duly apologised. However, A Current Affair did include a brief quote from an Emeritus Professor of Electrical Engineering and his words effectively administered the coup-de-grace to the product concept. Well done. Several concerns still remain though. For example, on the Earthwise Power Savers’s site it is possible to read an “independent report” which endorses the Powersaver product: http://www.earthwisepowersavers.com.au/public/pdf/ INDEPENDENT.pdf It compares the energy consumption at different times of the year and makes no attempt to show differences with the device switched in or out. As such, the report is simply invalid. Secondly, promoters of these sorts of products make outrageous claims about the quality of the electrical supply to homes. On the Earthwise Power Saver site you can see such drivel as: “up to 30% of the billable electricity consumed in homes and businesses is non-productive and unusable. What this means is continued on page 111 siliconchip.com.au siliconchip.com.au March 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”. Air-rifle is a restricted import In your February 2011 edition on page 99 in the ‘Ask SILICON CHIP’ pages there is a letter (from R. K.) titled “Using the Beam-Break Trigger With An Air-Rifle”. The letter describes an Airsoft gun capable of firing 6mm pellets at 240 feet/sec. As well as being a subscriber to your magazine I also work for the Commonwealth organisation that regulates the importation and exportation of goods into and out of Australia. Whilst we could argue over the merits of the prohibition on such goods that is not the central issue. It has been my experience that such items (1) generally fail the legislative requirements for importation (see URL); (2) the importer fails to seek the requisite permission to import said goods; and (3) the importer fails to declare the importation of such goods and or produce the permit at the time of importation. Of course, it is entirely possible that R. K. did obtain such a permit. CUSTOMS ACT 1901 – SECT 233: Smuggling and unlawful importation and exportation: (1) A person shall not: (a) smuggle any goods; or Improving wireless broadband reception Wireless broadband is increasingly popular and in most cases a very satisfactory solution where flexibility is required. I am a volunteer with Beyond Disability, a charity that provides computers, technical support and a Bigpond wireless broadband connection to the disabled for a nominal fee. We chose wireless as it is simple to administer as our users’ circumstances change. In 95% of cases all goes well but the other 5% have difficulties due to poor reception in “difficult” areas or even buildings. 4  Silicon Chip (b) import any prohibited imports; or (c) export any prohibited exports; or (d) unlawfully convey or have in his or her possession any smuggled goods or prohibited imports or prohibited exports. Lastly, the possession of such goods is also an offence whether or not the individual concerned actually imported them. It has also been my experience that persons regularly purchase goods via the internet without even considering the legality of what they may be doing – they may be completely unaware of any prohibitions or restrictions. Unfortunately this is not a defence – see http://www.customs.gov.au/webdata/ resources/files/ImportingSoftAirBB. pdf Name & address supplied but withheld at writers’ request. (2) Highest daily output (cloudless day): 21kWh. At peak sunlight, 10am to 2pm, with a few clouds which occasionally shade the system, the output will go to a maximum of 3kW when the sun first hits the cooler panels. After a few minutes this settles to 2.6kW when panel temperature increases. On a completely cloudless day the maximum output does not exceed 2.6kW. There are some ambitious claims made by certain installers. At present the Queensland Government is paying 44c per kWh for excess generation. In light of recent severe weather events one wonders how long this will continue. Ray Sonter, Bundaberg, Qld. Grid-connect solar system results I am busy writing a submission for the Senate Inquiry into rural wind farms. Otherwise I might be spending a bit of time trying, politely, to set the words down to point out to some of SILICON CHIP’s contributors that perhaps they might like to think carefully about the social justice, indeed the injustice, of their being involved in the solar PV feed-in tariff scheme. They I had a 3kW grid-connect solar panel system installed three months ago, on a north-facing roof at 15 degrees. While it is early days and the weather has been less than friendly, here are some observations: (1) Lowest daily output (raining all day): 3kWh. We are a technically able group but need advice on the practical solutions to poor reception – preferably at the lowest cost. We know that we could install outdoor Yagi arrays but this isn’t feasible or economic in many circumstances. It would be really useful to have an article that covers the reception issues for wireless broadband and the potential solutions. For instance, we have found that the simple add-on indoor 5dB antennas don’t seem to do much but what about a glass mounted (through the glass) 9dB type car aerial? This has the advantage of being external (just) Solar gross feed-in tariffs rob other consumers to the building and yet involves minimal installation work. I’m sure there are many possibilities; it’s just that we don’t have the resources or the necessary technical knowledge to know which would be the best options to trial. I should mention in our location reception of Telstra’s Next G is basically good but we still find “pockets” where even a mobile phone won’t connect within the building. Apart from our direct interest, I’m sure this would be of interest to the wider readership of SILICON CHIP. Malcolm Fowler, Mount Eliza, Vic. siliconchip.com.au MICROCHIP ADVERT siliconchip.com.au March 2011  5 Mailbag: continued Confusion about the merits of power factor correction After watching the Seven Network’s Today Tonight (February 2nd, 2011) and seeing Leo Simpson discredit the makers of Earthwise Powersavers, I would like to know why you made an untrue statement, that because it is saving power doesn’t mean anything and for any difference you have to save amps? Well as an electrical engineering student at university, I know that P = VI so therefore saving power is saving amps since the voltage isn’t changing. I’ve never bought your magazine before and don’t think I will in the future if the editor goes on TV saying untrue statements like this. (M. R., via email). Leo Simpson replies: unfortunately, you need to do more course work and also listen to the program more carefully. I stated that there was no point in reducing amps (ie, the current) and that what was important might like to think twice about rattling off performance data in SILICON CHIP’s letters columns about their rooftops’ solar PV system. As an example, have a look at: http://thegwpf.org/opinion-pros-acons/2309-ross-clark-how-to-warmyour-mansion-with-other-peoplesmoney.html Those graphs and my letters which you very kindly published (SILICON CHIP, January & March 2010) demonstrate the intermittent nature of the electrical garbage that comes from wind-farms, and are just as applicable to the power coming from rooftop solar panel installations. The resulting electrical noise input to the grid is even more pointless. And regarding the letter that requested a comment on the idea that those so connected might further optimise their financial returns by purchasing power from the grid when prices are low, storing it in a battery for use during the day, and thereby sell more of their generated PV solar power at the higher tariff? Well, a rort 6  Silicon Chip was the watts (ie, power consumed). In the case of reactive loads, P = VI.cos(ϕ) where ϕ is the phase angle between voltage and current. When you correct for the power factor of an inductive load such as a motor, you reduce or eliminate the phase angle between voltage and current and you may also reduce the current. However, this does not reduce the overall power consumption since energy meters only respond to the product of voltage and in-phase current, as you say, P = VI. So the paradox is that you can reduce the current but that has no effect on the energy consumption that the consumer pays for. In fact, the practical result is that the power consumption may actually rise very slightly. This was demonstrated on a similar item on the Nine network’s “A Current Affair” on Friday, February 4th, 2011. Unfortunately, due to programming constraints, the Channel 7 item did not show the actual demby any other name is still a rort, only in this case, even more so. It would seem that lead-acid batteries have an operational efficiency of the order of 45-50% (see for example, Stevens and Corey 1996, available for viewing at: http://www.scribd.com/ doc/47637136/Stevens-Batt-Effic-athigh-SOC-SANDIA So even presuming that the PV power returned to the grid fully offsets the greenhouse gas emissions of that which might be otherwise used during the day, we still have the very uncomfortable fact that twice the “dirty” or “black” power has been consumed than would otherwise have been. I do agree with the approach you took with the last line of the January 2011 editorial, suggesting that we should consider nuclear power. The alternatives are looking more and more useless, if that’s possible, each passing day. Paul Miskelly, Mittagong, NSW. Comment: we have always been of the opinion that all these govern- onstration that I prepared for them and that greatly reduced the overall information that I had provided. Power factor correction is of no benefit to domestic consumers. Nor does it do anything to “clean up” the voltage waveform as the promoters implied and nor is the waveform as distorted as their video clips purport to show. Power factor correction has been a feature of large industrial plants, such as rolling mills, for probably more than 100 years. Power factor correction using high-voltage capacitors has been in use for at least 60 years. Before high-voltage capacitors became available, power factor correction was done using large synchronous motors. If you complete your degree course, perhaps you might find out more on this topic. We must emphasise that power factor correction and power factor correction using capacitors is certainly not a new technology, as implied by the promoters of these products. All these power factor correction gizmos promoted to domestic consumers have no benefit. ment-sponsored initiatives to cut greenhouse gases have been a gross misallocation of taxpayer funds and that they do very little to mitigate greenhouse gases. Still, it seems as though nuclear power may be back on the agenda. On February 4th, the Federal Energy Minister, Martin Ferguson, was reported as stating that Australia could be considering nuclear power in as little as four years. That is not to say that any concrete decision will be made in that time but at least it does indicate that there might be a significant shift in the political thinking on this topic. Re-using microwave oven transformers I have some comments on the recent letter about there being no point in rewinding microwave oven transformers (SILICON CHIP, January 2011, Mailbag, page 10). These transformers run with the core quite saturated (typically with 1.5A magnetising current) to provide some degree of voltage regulation. They also have magnetic shunts fitted siliconchip.com.au e r o SOLAR ENERGY st.com.au THE SMART CHOICE Solar Panels Each solar panel features a 25 year power warranty. 20w . . . . $80 50w . . . . $150 80w . . . . $250 100w . . . $300 120w . . . $399 200w . . . $599 Grid Inverters CEC APPROVED 5KW $2499 2KW $1499 Folding Solar Panels 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 SSPPEC SSIILLIICCOOENNCIICAALL OOFFFFEERR ffoorr CHHIIPP RREEAADE F FR DERRSS:: RE EE ED D E E L I L V I V E AAUUSSTTRRAAL ER RY Y LIIAA W WIIDDEE!! Silent Sine Wave TV Plasma Mounting Brackets Generator From $35 inc delivery Full movement brackets $55 240VAC Power, 4.4KVA: $799 2kVA also available: $499 Infomon Wind Turbines One of the most technologically advanced Wind Tubines on the market. Sold in over 70 countries across the world!!! We have 2 models to choose from: Portable 500W Wind Turbine kit - complete with controller and tower for fast easy set up SALE Was $1599 NOW ONLY $699 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 SALE $1199 LIMITED STOCK March 2011  7 5/10 Station Rd, Seven Hills NSW 2147 (Mon-Fri 9am-5pm) Phone (02) 9620 9011 www.solarenergystore.com.au siliconchip.com.au Mailbag: continued Variac approach for hot-wire cutter I see you had another hot wire cutter for Styrofoam in the December 2010 issue of SILICON CHIP. My father made a much simpler one from a Variac and a 240V/12V 100VA transformer. You probably are well aware that a transformer can put out its rated secondary current at much lower than usual primary voltages. By using a length of resistance wire not much longer than the thickness of the Styrofoam, he only had to set the Variac to 12-24V to do the job. You might say that the set-up is for the same reason. They are designed for intermittent use and will get very hot if used continuously. To use them in an application where they run continuously the primary voltage must be reduced to around 120VAC and the magnetic shunts removed. Two identical transformers with their primary windings in series is the usual method of re-deploying these transformers, but this means twice the size and weight of a single transformer and potentially twice the rewinding effort. A 60-watt incandescent light bulb (if you can still get one) can be used in series with the primaries when experimenting with the phasing of the secondaries. There is a very good article on reusing microwave oven transformers in the book “Radio Projects for the Amateur – Volume 4” by Drew dangerous because the output of a Variac is not isolated but Dad was on the ball with mains wiring etc so he had a cover over the Variac terminals with a standard 3-pin socket on it. As the transformer had the usual 3-pin plug and lead, it could be plugged into a power point as usual with a 12V halogen lamp on the secondary to make a handy work light. Jeff Paterson, East Burwood, Vic. Comment: there is no problem using a Variac in conjunction with a step-down transformer, as the latter will provide full isolation from the mains supply. Diamond, which is available from the WIA bookshop for around $25. There is also a very good article on rewinding transformers in Volume 2 of the same series. The secondaries of microwave oven transformers carry very dangerous voltages and tests and modifications should only be carried out by suitably experienced people and even then extreme care is required. I have been reading your magazine for many years now (in fact I started reading “Electronics Australia” in 1969) and I especially enjoy “The Serviceman’s” column. Reading your magazine and building projects has given me much practical knowledge (something I find lacking in recent graduates) but I find there is not much to learn from many of your microprocessor-based projects without extensively commented source code. How about a return to your fine tradition of education with more “how it works” information together with these projects? Mike Hammer, Mordialloc, Vic. Comment: we have a section on how it works in every project article. We would like to do more on the details of software but space is quite limited. Appeal for replacement of SILICON CHIP magazine collection My step-father is an avid fan of SILICON CHIP and buys it religiously. He spends all of his spare time making little electronics projects from the magazine. His collection of SILICON CHIP and “Radio Wave” magazines dated back to 1938. Sadly, he lost all of his magazines in the recent floods at Theodore, Queensland. I was hoping that some of your readers may have old magazines that they no longer need and would be willing to pass on to him. I would be happy to arrange postage. I can be contacted at mullerjanelle<at> gmail.com Janelle Muller, Normanton, Qld. Comment: unfortunately, we think there would be plenty of readers who have lost their collections due to floods and other disasters. But at the same time, there are plenty of other readers who want to give their old magazines away, due to restrictions on space. We are happy to provide address or email details in the magazine for other readers who have lost their collections of SILICON CHIP in the recent floods and cyclone. Hakko FX888 Hakko FX951 Hakko FR803B General purpose soldering iron Advanced lead-free soldering iron Hot Air SMD Rework Station • • • • Compact Lead or lead-free solder Excellent thermal recovery With tip conical shape T18-B, cleaning sponge and wire • Heating element and tip in one • With sleep mode, auto shutdown, lock out card, quick tip replacement. Proudly distributed in Australia by HK Wentworth Pty Ltd 8  Silicon Chip • Digital station with 3 steps temp profiles • Vacuum pickup • Adjustable 100o-450oC • Optional stand, pre heater and vice www.hakko.com Ph: 02 9938 1566 sales<at>hkwentworth.com.au siliconchip.com.au Another approach to a PC bench power supply Reading your article on the cheap high-powered bench power supply made from an obsolete computer PSU, I was struck by the fact that you had several warnings about the mains voltage in there. Thinking for a few minutes revealed a far safer option to turn a computer PSU into a bench supply. Grab a metal case large enough to hold the PSU, a PC board, some meters, switches and connection posts. Cut a hole in the back of the case to mount the PSU, connect the PSU to the PC board along with as many of the drive connectors as can fit. Fit the board into the case and connect any meters, switches and the connection posts. Close the case up and you have a cheap bench supply with a replaceable PSU that is far safer to build and still far cheaper than what can be bought over the counter. You can have switches that isolate the various outputs as well as an overall main switch. Meters can be fitted to show volts and current output which would be of great use to those that require the readings. Best of all, if the PSU packs it in, you can simply replace it as for a computer rather than having to spend time modifying another PSU. Brad Coleman, Burpengary, Qld. Comment: your approach is quite practical although it does require a lot more work. However, the big drawback is the need to find a suitable metal case as these can be expensive. Of course, you could use the PC case itself but we once took this approach with an audio amplifier (Ultra-LD Amplifier, SILICON CHIP, May 2000) and were roundly criticised by some readers because it did not look good enough. LED Lighting - Saving Energy & the Environment ecoLED Tube The friendlier alternative to fluorescent lamps No mercury, no lead, environmentally friendly Less power, Longer life, Less maintenance Can retrofit T8 Fluorescent Lamps No strobing, no flicker, no buzzing, no irritation Half the power, energy cost saving Longer life, very low maintenance Flexible LED Lights RGB Multi-colour, White, Warm White. 24VDC. Cut to length. Remote controls for colour & dimming. With waterproof seal and adhesive taping (non-seal version also available) More information on 4-valve radio sets In recent issues of SILICON CHIP, there have been some interesting 4-valve radios described in the Vintage Radio column. It would have been interesting to have had actual sensitivity and distortion figures measured for the sets featured, to see if these odd circuit designs really worked as well as more mainstream designs. In the article about the Astor DL 4-valve radio in the October 2010 issue, Rodney Champness states that AGC could have easily been provided. I disagree. Because positive IF feedback is used it would have been tricky to also have AGC with this set. Simple AGC would have reduced the gain too much at medium signal strength, as the positive IF feedback would also be reduced. Delayed AGC would have worked but would have required several extra components for the separate AGC circuit. The extra IF loading of the delayed AGC diode would also cause extra distortion for medium-strength signals. To enable full output from the speaker, the IF amplifier should only have fractional AGC applied. In the actual circuit, the positive feedback will only work with the volume control cranked up, so it must have been of marginal usefulness. This “austerity” design gets its feedback, positive and negative, without using any extra siliconchip.com.au Cove lighting Bar lighting Console Kickboard lighting Colour changing & effects via remote control. Sets the mood & atmosphere for your venue. Website: www.tenrod.com.au E-mail: sales<at>tenrod.com.au Sydney: Melbourne: Brisbane: Auckland: Tel. 02 9748 0655 Tel. 03 9886 7800 Tel. 07 3879 2133 Tel 09 298 4346 Fax. 02 9748 0258 Fax. 03 9886 7799 Fax. 07 3879 2188 Fax. 09 353 1317 March 2011  9 Mailbag: continued Helping to put you in Control New Catalog Out Now Gearhead Stepper Motor We now have a series of Frame 34 gearhead motors for control applications where high torque is required (up to a whopping 120Nm). MOT-150,152 and 155 Priced from $395+GST Horizontal Stainless Steel Float Switch Can be used in fresh and marine applications. Switch up to 100V 0.5A. HES-104 $19.95+GST PCB Power Relays These SPDT relays feature a contact capacity of 20A 250VAC, 20A 30VDC HER-055 $3.95+GST Loop Powered Indicator. Programmable 5 digit process meter which provides a simple, in-loop display of a process variable. Powered off the 4-20mA loop. AXI-001 $129 +GST Digital Pressure Transmitter. Great economical pressure transmitter with inbuilt indicator and 4 to 20 mA output (3 wire). Selectable display units. AXS-105 $229+GST Linear Actuator. Uses a 12V DC gearmotor and a worm drive to move a 250mm shaft back and forth along its length. The actuator features position feedback and a dynamic load rating of 50 kg. POL-2311 $135.00+GST ISEE-ModbusTCP Software. New low cost SCADA package OCS-015 $149.00+GST New Catalog Out Now. Ph: 03 9782 5882 www.oceancontrols.com.au 10  Silicon Chip NBN is far too expensive I refer to letters on the subject of the National Broadband Network in the January 2011 issue. Messrs Budde & Hackett are entitled to their opinions but I must strongly disagree with them. Labor’s incarnation of the NBN is wrong, flawed and profoundly suspect on numerous levels. For instance, just consider cost and ownership and as an analogy ponder this: Would you pay $1300 for a plasma TV, $3000 for wall mounts and then still agree to rent it for around $1900 per year? “Absurd”, you would say. Well, the figures and the proportions are from components, which is quite clever. The receiver could have been designed as a reflex circuit with rather better performance, eg, the AWA Radiola Model 517-M (1948 but used pre-1939 valve types), which had delayed, fractional AGC on the 6A8G converter and 6G8G reflexed IF/AF stages, a 6V6 output valve and a 5Y3 rectifier. Curiously, in a later issue of SILICON CHIP (December 2010), the Philco 40-40 has a very similar circuit to the Astor’s, again without AGC, but is reflexed (and is without the positive and negative feedback). The most satisfactory designs use only fractional AGC on the reflex stage. It is interesting to speculate on how the Philco 40-40 was designed. The 6F7 may have been chosen because, as a triode-pentode, it offered the possibility of another amplifying stage without the expense of another valve. It was used in a number of Australian radio sets from 1934-39 but was rarely used after that. The octal version, the 6P7G, was also used in some Australian radio sets in 1939-41 (eg, Astor 910 “Mickey”). (See www.radiomuseum. org, which is a goldmine of information on vintage electronics). I suspect that the 6F7 was first tried as a normal IF with the triode as plate detector and AF. The normal AGC circuit would not be possible with the plate detector. The 6F7 triode has a low gain, probably only about five, and the AF gain of the pentode as a the NBN implementation Study. $13 billion is the hardware, $30 billion (ie, 70% of $43 billion) is civil works and $19 billion is the current revenue from about 10 million premises. Proposed NBN rent figures are not much cheaper than current. Messrs Budde & Hackett would provide a greater service to SILICON CHIP’s readers by advising of the hardware costs (in bulk quantities) of single-mode and multi-mode fibre, optical switches and routers for same and other necessary hardware, plus other pertinent information that the government is not divulging. J. M. Williams, Carrara, Qld. reflex amplifier would be a good deal better, about 15, leading to the final circuit as built. Alternatively, the distortion of the 6F7 triode plate detector may not have been judged acceptable or the circuit may have been too unstable, leading to the use of a diode detector. Having used a 7-pin socket for the 6F7, it was probably easier to retain it for the 6B7. The circuit drawing of the Philco is badly drawn and very hard to read. Mr. Champness remarks that the second IF transformer is shown as slug-tuned in both primary and secondary but there appears to be a dotted line between the slug tuning symbols implying that they are mechanically connected. Usually in this type of IFT, with only one tuned winding, both coils are wound on the same former and the same slug tunes both. Curiously, the secondary is shown tuned in the diagram but I thought that most single-tuned detector IFTs had the primary tuned. It would make more sense to have the secondary tuned if using a plate detector, as a step-up of the IF voltage could be made by using more turns on the secondary winding. With a diode or grid detector, the load on the secondary means that it is better to have the primary tuned. Another interesting receiver from the same period, the Kreisler 510 of 1939, used an EBL1 output valve with signal diodes and used the 6F7 as IF and first AF with the usual 6A7 siliconchip.com.au converter and an 80 rectifier making up a 4-valve receiver with 5-valve performance. The EBL1 being a European valve does not appear to have been available in Australia after 1939. The European-designed output valves EL3, EL3NG, EBL1 and others had a higher gm than the American 41, 42, 6F6G and 6V6G types that were usually used in Australia and would have been better suited to 4-valve receivers with their limited AF gain. Robert Bennett, Auckland, New Zealand. Incompetent electricians raise questions about training Your letter on the possible incorrect installation of solar systems in the January 2011 issue (page 10) highlights a general deficiency in trade training. The following record of events demonstrates that qualified trades-people did not know how to carry out basic fault-finding on a hot-water system. The circuit is a simple series one comprising the element, an adjustable thermostat and a non-self-resettable (high temperature) safety thermal cut-out. The last two are contained in a single unit which attaches to the side of the tank. Our Dux hot water system sprang a leak. A new unit was installed but then began a succession of disasters requiring seven further call-outs over a period of six weeks: Visit 1: the hot water system was replaced. The original Dux M + J tariff (2 element) HWS was replaced with single element (J tariff) HWS. Visit 2: no hot water. The electrician reset something in the corridor cabinet (it is in a block of apartments). It is a bit hard to know what exactly was done here as I did not talk to the person involved. I was not expecting continuing problems. Visit 3: no hot water. The non-selfresettable thermal cut-out was reset. Every electrician/plumber subsequently just reset this cut-out without finding out why it tripped. Visit 4: no hot water. The thermostat was replaced. At this stage, the most reprehensible action of the whole debacle occurred. The thermostat was replaced but the installed device subsequently proved to be the wrong device (from an airconditioning unit!) and a defective device. It contained no thermostat and just had a non-self-resettable thermal cut-out. This device was installed by the Dux plumber. The installed device could only overheat and cut-out every time. The device was so loose in its mounting we were fortunate it did even this. Visit 5: no hot water. The heater element was replaced. The faulty thermostat could again only overheat and cut out. Visit 6: no hot water. The J tariff timer was suspected and ETSA were called. ETSA confirmed the timer was OK. The faulty non-self-resettable thermal cut-out was reset but again, it could 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 only overheat and cut out. Visit 7: no hot water. The temperature on the thermostat was adjusted. The electrician/plumber did not even notice there was no thermostat behind the screwdriver adjuster. The faulty thermostat was reset but again, it could only overheat and cut out. Digital Storage Oscilloscopes ADS1022C • 25MHz Bandwidth, 2Ch • 500MSa/s • USB Host & PictBridge $399 ADS1062CA • 60MHz Bandwidth, 2Ch $627 25MHz 60MHz • 1GSa/s • USB Host & PictBridge Inc GST Inc GST ADS1102CA • 100MHz Bandwidth, 2Ch • 1GSa/s 100MHz • USB Host & PictBridge $836 Inc GST For full spec sheets and to buy now online, visit 36 Years Quality Service siliconchip.com.au www.wiltronics.com.au Ph: (03) 5334 2513 Email: sales<at>wiltronics.com.au March 2011  11 Mailbag: continued Mains voltages may be higher than you think Our church has a largish pipe organ with 2500 odd pipes. A few years ago, a decision was made to improve the bass end of the instrument, boosting the 16-foot ranks and providing two new 32-foot stops as well. Space was at a premium and as bass in organs translates to large pipes, electronic generation was investigated. The church finally settled on a system devised by Petersons of the USA. All went well for a few months, with a very satisfying merging of the two different means of tone generation. But then output transistors in the power amplifiers began failing. As you can imagine, the organists were not amused, especially as the instrument is also part of an organ school. Initially the faulty amplifiers went back to the US with no argument from Petersons. But after several failures the firm asked for more detailed information about the installation and that is where I came in. The installation by the profession- al organ firm who look after maintenance and tuning of the instrument, seemed to have been done precisely in accordance with maker’s instructions. Speaker impedances were spot on, with the specified cable gauge and run lengths used. Earths were OK too but the DC voltage across the output transistors was higher than that specified on the maker’s circuit diagrams. So at random times over a period of several days, I had a look at the mains voltages at the relevant power points feeding the electronic pipes. These were consistently in the high 250VAC range. Like many others, I had thought that Oz had adopted the 230VAC international standard so, on that basis, these voltages were way out of tolerance. A phone call to the local supply authority, soon put me right about that! At least here in the ACT, 240VAC is still the mean standard. The American equipment was designed for 115V and the autotransformer supplied was designed to have 230VAC on its input terminals. So we obviously had a problem. Visit 8: no hot water. Dux electrician identifies the wrong thermostat and that it contained only a non-selfresettable thermal cut-out and replaces it. The system finally works. It is hard to know exactly what the original fault on the new HWS was but the eventual replacement of the element and thermostat cured the problem. John Dainty, Bedford Park, SA. 5-axis hot-wire cutter can produce complex shapes Your magazine has been of great interest to me for many years. Just recently two friends and I have installed Ultrasonic Anti-Fouling units on our boats, as per instructions supplied in your magazine (September & November 2010). Now is the time to wait to see if it works. Another article which prompted me to write was the hot wire cutter in 12  Silicon Chip December 2010 issue and the followup letter in February 2011 on page 98. I thought it could be of interest that one can take this type of cutting 3D shapes even further. The basic idea is to be able to make any shape of a model which was designed in 3D CAD. Conventional 4-axis hot-wire cutting is well established, especially in the signage industry. The advantage of using hot wire to do 3D shapes against conventional 3-axis milling is that it is The technical branch of the power supplier did however agree to put a data logger on our supply for a week. This showed that although the supply was still within the -6% to +10% tolerances for a 240VAC supply, the average voltage we were receiving was closer to 250V than 240V. They agreed to adjust things at the substation and now our voltages are much more acceptable and we have had no further amplifier failures. All that was about four years ago. With imported electronic equipment now manufactured for a supply voltage of 115V and/or 230VAC, I would suggest that if readers think they are having too frequent equipment or even lamp failures, a check of supply voltages may be in order. For those readers interested, David Burger has drawn a chart which shows some of the supply voltage differences and tolerances to be expected around the country. Google ‘What is the AC consumer supply voltage in Australia?’ It is quite enlightening. Bruce Bowman, Ainslie, ACT. Comment: for more information on this topic, see the article on the Mains Moderator on page 66. silent and there are no dust particles of foam floating everywhere. The accompanying photo shows the hull of a small model boat being cut. Practically any 3D convex shape can be cut, in the same way one can peel a potato with a knife. If it was required, one could add a sixth axis output to control the angle of the frame holding the hot-wire perpendicular to the direction of travel over the surface. However, one can get away with 5-axis control only, since small variations in frame angle do not affect the resulting shape. That’s provided the frame is large enough and the hot wire is in the plane derived from the “pretend” end face of the end mill used in CAD/CAM to generate the CNC code driving this type of machine. Having a 5-axis router and Camworks CAD/CAM software allowed me to do this test. This type machine and software did allow me to make many items. One of siliconchip.com.au the products which was developed some 10 years ago is depicted on my website www.soloray.com.au Michael Haber, Constitution Hill, NSW. Domestic lighting restrictions in new building code The letter from Alex Brown in the February 2011 issue about the new building code raises real issues regarding lighting. Our home is less than five years old but it would be a problem to get within the new limits for lighting power usage as quoted in that letter, using incandescent globes. The building is about 160 square metres inside. If built now, it would be allowed 800 watts of fixed lighting. We have a total of about 1.4kW of fixed lighting inside and six outside lights of 60W each and all of these are still original. As well, we have a heat lamp/exhaust fan fitting in the bathroom in which the four heat lamps add up to 1kW. This, when converted to fluoro lighting, can be reduced to fall within the new building regulations except for the heat lamps but will still leave the problem of how does one calculate the allowance? Is it on a per fitting for the area it is to light basis or is it a total for the building? If per fitting then the pantry will be lit by less than a 5-watt globe while the external ones would have the largest globes and so on. As well, it was explained to me many years back by an eye specialist that, in order to get correct lighting on your work etc, you need to be no more than 1.5m from a fluoro light and preferably just one metre due to the rapidly reducing intensity of the light. As a result, the fluoro over my office desk was lowered to be only slightly more than a metre above the desk so I could once again see clearly and do my work. The only real alternative then becomes LED lighting. Otherwise, a lot of power points are needed for all the pluggable lights as this way we can by-pass the regulation on fixed lights and still have light as and where needed. This is not as safe as hard-wired installations are. Just look out for all the cords laying on the floor. Another point is just how the total is calculated. Is it on the maximum allowed in a fitting or is it on the actual globes installed? This will affect the way the total is calculated and therefore who is liable to correct the situation. Should the wise men decide to reduce the number of power points per dwelling to some strange formula that has no real meaning in life then the retailers will only clap their hands as the extra number of pluggable power boards etc needed to overcome the problem will definitely have a beneficial effect on their bottom line. So is it the regulators only or is big business also working on a way to profit from over-regulation? Or am I getting too cynical in my old age? Jan Boers. Cookernup W.A. Comment: as we stated last month, this regulation is misguided. It is probably aimed at reducing the excessive numbers of halogen down-lights that seem to the fashion SC in houses with low ceilings (2.4 metres). siliconchip.com.au Save Up To 60% On Electronic Co Components New ET-Easy T A Arduino Stamp Includes ATMega168 with Installed Bootloader Direct USB Program Download Up to 22 I/O Points, 10-Bit ADC Included Compact, Easy to Use and Program Only $24.90 Ultrasonic Range ge F Finder ind der Only $14 $14.90 90 Ideal for use on Robots and Water Tanks Measures from 3cm to 3m High Accuracy Ready to Run, No Set-Up Required 10A 1 10 A So Solar ar Regulator for Lighting Only O Onl nly ly $$36.90 36.90 Hig Efficiency PWM Charging High Cha es Batteries During Daylight and Charges Switches Lights on at Night Sw S wii Suitable for 12V and 24V Systems S uitt LED D Status Indication for Charging, Low Battery etc We aare re e yyour ourr on ou oone-stop one ne-stop sh shop for Microcontroller Boards, PCB Manufacture aand Electronic Components www.futurlec.com.au March 2011  13 Name something which is very useful, where you get more than you will ever likely need and at a cost that is trivial. Enter the newest processor in the Microchip stable:      The Microchip PIC32 By Geoff Graham H ere is a scenario that will be familiar to anyone who has built a few projects based on microcontrollers… You have selected a chip (probably one that you are familiar with) and as you add more and more features, you realise that it will not have enough capacity for what you want to do. So, it is out with the catalog to find another chip that is a few rungs up on the capacity ladder and redesign the project to use that. Then later, possibly on a new project, you would find yourself running out of capacity again… and it would be back to the catalog again. After a few cycles of this, the idea occurred to me, why not just pick the biggest, meanest and fastest chip that I could find and never again worry about running out of capacity? How hard could it be to use one of these things anyway? Well, the answer turns out to be – not very hard at all! In fact, using one of these high powered chips is just as easy as using the simple 8-bit chips 14  Silicon Chip that most of us are used to. So, this is what this article is about: to introduce you to the most powerful chip that Microchip makes and show how easy it is to use this monster, for even the simplest of tasks. Just to set the scene, the chip that we are talking about costs only US$8.75 in one-off quantities and contains the same 32-bit central processor design that powered huge business minicomputers just 15 to 20 years ago. The PIC32 The current top of the range microcontroller from Microchip is the PIC32MX795F512H-80I/PT (I will call it the PIC32 for short). It has a 32-bit processing core running at 80MHz, 512KB of flash memory and 128KB of RAM with built in USB, Ethernet and CAN networking. You might think that all this power and capability would involve a much greater complexity and cost when compared to their simpler 8-bit brethren. This is not so and is partly because Microchip want to make it easy for you to use the chip. Microchip can see the future in these products so they make available cheap development hardware, good compilers and extensive software libraries. All this is with the intention of making it easier for engineers to design these microcontrollers into future products, which Microchip hope will in turn result in orders for thousands of chips. You may be only planning to use a few chips, or even one but you too can benefit from this marketing push. In fact, in many ways, it is easier for a hobbyist or small scale developer to utilise the 32-bit chips than it is to use the old 8-bit chips. You do not have issues with odd architectural limitations, the speed of the chip can overcome inefficiencies in your code and you do not waste time counting bytes to fit into a limited memory space. Marvellous that this chip is, it is still not the best choice in every circumstance. Many times a microcontroller siliconchip.com.au This is the official diagram for the PIC32 chip and if it looks complex, that is because it is! There is a lot packed away inside the chip which means that you can reduce the number of support chips to a minimum. (Courtesy Microchip) is just used as a replacement for hardwired logic and in such a simple application you are better sticking with simple 8-bit chips. A good example is the Ultrasonic Cleaner described a few months ago in SILICON CHIP. However, if you are embarking on a project with moderate complexity for example including USB, graphics or some heavy calculations then you would be much better served by going with this powerful chip. You might feel that this enormous power will be wasted on a modest project but that is not the point. At such a cheap price it does not matter if most of the chip’s capacity is idle. The important point is that you have a single platform that will handle almost anything that you can throw at it; no more trying to squeeze code into a limited space, no more counting I/O pins just to discover that you will be a few short and no more desperate searching of the catalog. The only significant issue is that the PIC32 comes in surface mount TQFP packages. But we have an easy way siliconchip.com.au around that problem, which we will describe later. The details During the rest of this article I will be comparing the PIC32 to the 8-bit 18F4550 microcontroller. This is quite a powerful chip used in several SILICON CHIP designs and in itself is many times more powerful than the simpler chips used for logic replacement duties. As mentioned before, the PIC32 chip that we are looking at has 512K of program memory, 128K of RAM and runs at 80MHz. 512K of program memory is a lot and depending on how you use it you will have about 10 times the capacity of the 18F4550. Elsewhere in this issue we put this power to work, with the “Maximite”, a microcomputer with a BASIC interpreter, video output, USB and a FAT16/32 file system and only uses one third of the 512KB available. Similarly, 128K of RAM is huge compared to the 2K provided in the 8-bit chip. The PIC32 runs at 80MHz and will execute one instruction for (almost) each clock cycle, so it is executing one instruction every 12 nanoseconds - very fast indeed. For comparison, the 18F4550’s clock can run at 48MHz but it can only execute an instruction every four cycles. Coupled with the fact that the 32-bit instruction set is more efficient, this means that the PIC32 will run least 10 times faster. So, 10 times more capacity and speed. What does this mean in practice? It means that you do not need to optimise the code, worry too much about speed or limit yourself in the number of features that you want to include. It also means that you can include sophisticated libraries like the TCP/IP protocol stack, a web server, USB protocol etc without hitting limits Tandem Computers built in the 80’s and 90’s used multiple MIPS CPUs and were widely used in banks and large businesses for reliable and high capacity data processing. The PIC32 actually has more processing capacity than the core CPU powering this computer system! March 2011  15 +3V 47 F 6V 100nF 10 F 16V 100nF 47 F 6V 100nF 2 47 Vdd 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 Vcap 1 3 46 4 45 5 44 6 43 7 42 8 9 10 11 PIC32MX795F51211-80I/PT Vss (64-PIN PACKAGE) 41 40 39 Vdd Vdd 12 38 37 35 15 34 10 100nF 33 Vdd 16 Vss 36 14 AVss 13 AVdd 100nF Vss 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 With a 32-bit core you can manipulate numbers up to 4,294,967,295 (ie, over 4 billion) using a single instruction. Most of the data that you will want to process (be it seconds, cycles etc) will be more than 255 and less than 4 billion, so 32-bit arithmetic is very handy and makes writing software for the PIC32 much easier than with an 8-bit chip. Lest you think that a 16-bit microcontroller will be OK, just consider that they can only natively work with numbers up to 65,535; still rather limiting. 32-bit also implies many other features including a larger memory address range, more efficient memory access, more CPU registers for efficient processing, a more powerful instruction set and sophisticated handling of interrupts. A tour of the chip 100nF 100nF 0V Fig.2: the schematic for the breakout board is simple and consists mostly o f decoupling capacitors for the power supply. The four capacitors depicted in the top left of the diagram are mounted on top of the board and the rest are underneath (see the text). related to capacity or speed. As an example, in a recent project I needed the micro to calculate the time of the local sunrise and sunset given the latitude/longitude and date of the year. This involved the tilt of the earth and its orbit around the sun and used quite complex 3D calculations with double precision floating point numbers. The result, which would have been beyond the practical capacity of an 8-bit chip, used only 5% of the PIC32’s program memory and executed seemingly instantly. 32-bit core The PIC32 is described as having a 32-bit processing core (or CPU). But just what does that mean? The processing core used by Microchip is a MIPS Technologies design. MIPS first developed their processor design in the early 1980s. It went on to become the central processing core of many of the advanced computers of the 1990s from companies such as Silicon Graphics, Pyramid and Tandem. It has been improved and extended since then and is now one of the top processor cores powering the more powerful microcontroller chips. 16  Silicon Chip This demonstrates a recent trend where companies that specialise in the development of processor cores and instruction sets licence their design to chip manufacturers such as Microchip. This is because it is extremely difficult for manufacturers to develop the processing core and supporting technologies (compilers etc) on their own and consequently it is much easier to adopt a proven design like the MIPS. The MIPS core is available as a 32 or 64-bit design and Microchip chose to implement almost the entire 32-bit core in their chip. The term 32-bit means that each instruction is 32 bits (4 bytes) in size and arithmetic operations (add, subtract etc) are carried out using 32-bit arithmetic. This last point is important as 8-bit microcontrollers use just eight bits for arithmetic operations and so they are limited to manipulating numbers up to a maximum of 255 in a single cycle. The C compiler or assembler writer for an 8-bit processor will get around this by using multiple instructions to handle a larger number but this is slow and inefficient, especially where multiply and divide are concerned. Other than features like speed, capacity and processing power the PIC32 also has plenty of I/O and other peripherals integrated onto the chip to make the developer’s life easier. The chip is available in 64 and 100-pin packages. Some of these pins are used for power, ground, clock etc with the result that you have 48 I/O pins available (on the 64-pin package). When various peripherals are enabled (for example, Ethernet or USB) they will take over some of the I/O pins, so the number available for general use is normally less than 48. However, if that is not enough you To program the PIC32 you will need a programmer. This is the PICkit 3 from Microchip and it offers exceptional value, being not only a programmer but also a debugger, allowing you to trace program execution and examine individual memory locations and registers inside the chip. (courtesy Microchip) siliconchip.com.au can always use the 100-pin package which has 78 I/O pins available. The outputs can be of the conventional type where the chip can source or sink 18mA but they can also be configured for an open-collector output which makes it easy to interface with chips running at 5V. When configured as digital inputs, most pins are 5V tolerant and have a Schmitt trigger input to reduce issues with pulses that have a slow rise or fall time. 16 of the I/O pins can be configured as analog inputs and the analog to digital converter itself is very fast with speeds of up to a million samples per second. The USB interface can operate in a number of modes. These are a device mode where the chip acts like a peripheral to a host computer; a host mode where the chip acts as the computer and can communicate with things like USB sticks or printers or the On-TheGo mode where it can dynamically switch between device and host mode. The Ethernet interface supports 10/100 speeds but it does not include the analog circuitry to drive the normal twisted pair Ethernet cable. This means that you need an external chip (called a physical interface or PHY) to complete the Ethernet interface. Microchip recommend a number of chips and they are reasonably simple to use with the PIC32. An integrated Controller Area Network (CAN) module supports CAN 2.0B networks and can be used to interface to modern vehicles using the CAN protocol and ODBC-II. CAN networking is also used in marine instrumentation, medical equipment and other areas. The chip also includes the many standard peripherals that you have come to expect on a microcontroller. These include multiple timers, serial interfaces such as I2C, SPI and UART, parallel interfaces, DMA, real time clock, etc. We do not have the space to go into the details so you should consider downloading the “PIC32 Family Reference Manual” from microchip. com to find out more. All this capability consumes about 120mA at 3.3V with everything running at full speed. But you can leave parts of the chip turned off and when you throttle back the clock speed (all under program control) the current will drop to as little as 1 or 2mA. siliconchip.com.au Fig.1: the breakout boards that we purchased for less than $1 each. They take the closely-packed pins of the chip and bring them out onto a 0.1” grid. This turns the chip into an easy-to-use assembly that you can plug into a breadboard or solder to. Using the PIC32 The first requirement for most developers is to identify the compiler and development environment that they can use. As mentioned before, Microchip wants you to use the chip so they make it as easy as possible to develop software for the chip. The full Microchip C compiler for the PIC32 costs about $1,000 but they also provide a free version (called the “Lite” version), which is exactly the same but with a few of the optimisations disabled. The missing optimisations do not make a huge difference in the speed or size of the resultant program and, as you have a chip which is 10 times better in most aspects, you will not notice this difference. When you install Microchip’s free development environment (called MPLAB) you also automatically install the PIC32 C-Compiler. This will run in full evaluation mode for 60 days before it switches to the “Lite” version. Either mode is fine so you do not have to do anything. This software package also includes an assembler for anyone that might want to write in assembler but with something of this sophistication, the C language is the only way to go. And sorry, if you are a fan of BASCOM, Pascal or other languages, they are currently not available for the PIC32. As part of the C compiler you also get an extensive software library which includes functions for dealing with most of the hardware features of the chip. For example, you generally only need a couple of lines in your program to set up a peripheral. These functions simply call the software library which does the hard work. If you want to use some of the more sophisticated features of the chip you can download libraries from Microchip containing a full TCP/IP protocol stack, web server, FTP client, USB protocol stack, FAT file systems for SD cards and more. All of these have been written and tested for the PIC32 and are free. You will also need a programmer to load your compiled code into the chip. The PIC32 series is programmed using the ICSP interface on the chip and arguably the best programmer for this job is the Microchip PICkit 3. This costs just US$45 from (microchipdirect. com) and for what it does, represents great value for money. The PICkit 3 was described in the July 2010 issue of SILICON CHIP and not only does it program your chip, it also acts as a full function debugger. Using it you can set a breakpoint in your code and when the program stops at this point you can examine variables, hardware registers, etc. You can then single step the processor through your code while watching exactly what it is doing. It is like having a window into the inside your chip. Prototyping with the PIC32 The one issue with the PIC32 is that it comes in a TQFP surface mount package with pins that are very fine and close together. This might sound like a “deal breaker” but it is not. You can purchase “breakout” boards March 2011  17 Fig.3. The completed breakout board showing the PIC32, the header pins and four of the decoupling capacitors mentioned in the text. The chip was hand soldered to the board and if you look closely you can see that the result is quite reasonable. Fig.4. The underneath of the breakout board showing how we soldered the decoupling capacitors as close as possible to the chip. We used the centre copper pad for the 3.3V supply and the track running around the periphery for the ground. The resistor is used for additional noise reduction in the power supply to the analog portions of the chip. that take the fine pitch leads from the chip and spread them out to standard inline pins with an easy to use 0.1 inch pitch. Fig.1 shows an example of a breakout board that we purchased from futurlec.com for $1 (part code: 64PINLQFP). You can also find these and similar boards on eBay – look for a board that is suitable for 64-pin TQFP or LQFP packages with pin spacing of 0.5mm. With the PIC32 chip mounted on the breakout board you can treat the board/ chip combination as a large plug-in chip. You can plug it into a motherboard, wire wrap to it or solder direct to the solder pads or header pins. This approach also makes prototyping with a breadboard easy. We sat our breakout board beside the breadboard and used jumper leads from the breakout board to the breadboard. Fig.6 illustrates this setup. The result is that you can completely test your design on a breadboard before you start building the finished product. The jumper leads that we used are 12cm long and have a male pin at one 18  Silicon Chip end and a female socket at the other. Ours came from schmartboard.com (part 920-0023-01) but you can also buy them from sparkfun.com or make up your own using a female socket (Jaycar HP1260) and pins taken from a header strip (Jaycar HM3211). Soldering the Chip The first step in assembling the breakout board is to solder the PIC32 chip to the board. SILICON CHIP has described this process a number of times and if you scan the Internet you will find numerous techniques for soldering surface mount components using heat sources from a hot air gun to an electric frying pan and most of these will work. However, for just one chip it is easier to simply solder it using a soldering iron and that is the method that we will describe here. This process might sound complicated but it is not and when you have done it once you will wonder what all the fuss is about. First you need three tools: a A temperature controlled soldering iron with a small chisel tip (0.8mm is optimal), a magnifying loupe with a power in the range of x5 to x15 (x10 is about best) and a liquid flux. You can buy the flux from Jaycar (Cat NS3036) or Altronics (Cat H1650) and you will find the magnifying loupe at any good optical supplier or on eBay. When you solder the chip you should melt the solder onto the soldering iron tip and carry it via the iron to the joint. When you do this the flux in the core of your solder will evaporate, so you need the separate liquid flux which should be applied liberally over the solder pads and the legs of the chip before you start. First position the chip accurately on the board and then, while holding it down with a matchstick, apply some flux and then solder one or two pins at opposite corners of the chip. Keep an eye on the alignment during this step and if it has slipped you should correct it before moving on. Then, liberally apply the liquid flux on all of the pins. With the alignment correct and the pins covered in flux you can then progress steadily around the chip soldering all the pins. The secret to the technique is to only use a little solder, just wet the iron. If you have a visible blob then you have too much. If in doubt, start with a small amount of solder and work your way upwards. As you look through the magnifying loupe, the soldering iron tip will look like a huge bar of metal the width of three or four pins on the chip. You should place it on the pins and press Parts List (for the breakout board) 1 Breakout board for 64 pin TQFP package. (Available from futurlec.com; part code 64PINLQFP.) 1 Dual row header pins (Jaycar HM3212 or Altronics P5410) Semiconductors 1 PIC32MX795F512H-80I/PT microcontroller. Capacitors 2 47F 6V Tantalum 1 10F 6V Tantalum 5 100nF Monolithic Resistors (0.25W 5%) 1 10 siliconchip.com.au +3V Vdd 2 x AA CELLS RD1 10k 7 1 2 MCLR 3 4 16 5 15 6 ICSP CONNECTOR (FOR PICKIT3 OR SIMILAR) 0V 49 A 64-PIN QFP PIC32 MOUNTED ON A BREAKOUT BOARD  LED K PGD 100 PGC Vss (BREAKOUT BOARD) LED K A Fig.5: the schematic for the breadboard test setup. We powered ours from two AA cells but you could also use a 3.3V power supply. With the program loaded and running the LED will flash – not much but it does show that the chip is running a program. the pins gently down onto the solder pads for one or two seconds. Encouraged by the liquid flux, the solder will quickly flow off the iron and onto the pins and solder pads. However, because you have only a limited amount of solder on the tip, it will not form a bridge between pins even though your iron is soldering three or more pins at the same time. The reason for the chisel tip on the soldering iron is that this tip will hold the solder while you carry it to the joint. A very fine tip cannot hold the solder which defeats this technique. Another benefit with the chisel tip is that you can turn it sideways and then you can solder just one pin at a time. However, this does take a very steady hand and a better magnifying device such as a wide field microscope. Even better, if you have an iron with a “wave soldering” tip as described in the December 2010 issue of SILICON CHIP you could use that soldering technique. While you are soldering don’t worry if you do form a bridge, just reduce the amount of solder that you are using and carry on around the chip. Later you can come back and use desoldering braid to suck up the excess solder that formed the bridge. You do need to be careful when using desoldering braid as it tends to suck up all the solder, including the solder joining the pins to the PC board pads. This will leave you with an open or intermittent joint that will be very hard to find later. The force applied when using desoldering braid can also bend the pins (they are very thin) and push them out of alignment. Use the braid sparingly and check and resolder the joints if necessary. A similar technique (often called the blob solder method) was described by Nicholas Vinen in the October 2009 issue of SILICON CHIP. In this you start by using excess solder and rely on the desoldering braid to remove the excess later. This works just as well so you can use whichever technique suits you. When you have finished you should use a multimeter set to the continuity (beeper) range to check for shorts between any two pins. Also, check that there is continuity from each pin header pad to the pin on the chip. You could find a few hidden shorts or open pins so don’t skip this step. Because the PIC32 chip and breakout boards are so cheap you should consider buying two or three of them Fig.6. This is the completed breakout board running the test program. We used jumpers to connect the PIC32 to the breadboard and two AA batteries for the power supply. Cost of the parts is about $12! siliconchip.com.au March 2011  19 Purchasing the PIC32 You can purchase the PIC32 direct from Microchip in the United States for US$8.75, even if you are buying just one chip. Their website is www.microchip.com and the chip you need to purchase is the PIC32MX795F512H-80I/PT. Microchip’s freight charges are reasonable but if your order value is less than $25 they will charge a $5 handling fee – so it is worth purchasing a few of the chips or something else at the same time. At the time of writing SparkFun (www.sparkfun.com) have a limited quantity of this chip on special for $7.95 and their freight/admin charges are even more reasonable. so that you are not too concerned if you do ruin one. This is where Murphy’s Law will come in – if you do buy some spare chips you will probably find that your first effort will be completely successful! Finishing the breakout board Once the PIC32 chip is in place you can then solder the pin headers around the periphery of the breakout board. These are dual row pins that are snapped off to the appropriate length from a single 40 pin length (Jaycar HM3212 or Altronics P5410). You also need to solder a number of decoupling capacitors to the reverse of the board. These are important because at full speed the PIC32 draws about 120mA with significant high speed spikes in the current draw. Unless the decoupling capacitors are present the chip will hang or crash when you configure it for high speed operation. These capacitors need to be mounted as close to the chip as possible so you should solder them to the reverse side of the header pins. Fig.4 shows our completed breakout board with the capacitors mounted on the reverse side. The table below lists the values and locations of these capacitors for a 64pin PIC32 chip. Capacitor Between Pins 100nF monolithic or ceramic 10 9 100nF monolithic or ceramic 19 20 100nF monolithic or ceramic 26 25 100nF monolithic or ceramic 38 41 100nF monolithic or ceramic 57 25 10µF monolithic or ceramic 56(+) 25(-) The 10F capacitor is used to smooth the internal 1.8V voltage regulator for the central processing core. This must have a low series resistance and for that reason we have specified a Tantalum type. This is polarised so make sure that you solder the positive leg to pin 56. To make it easier to deliver power to the assembly you should join all the power pins together as shown in Fig.2 and Fig.4. These are pins 9, 20, 25 and 41 for Vss (ie, ground) and pins 10, 26, 38 and 57 for Vdd (ie, +3.3V). Pin 19 (Avdd) should connect to Vdd via a 10 resistor as this will provide additional decoupling for the analog circuitry. We used the copper pad in the centre of the breakout board for Vdd and the copper track running around the edge of the board for Vss. Our breakout board also had positions for four extra capacitors between the centre copper pad and the track running around the edge. You should install a 47F 6V Tantalum into two of these locations and, on the theory that you cannot have too many decoupling capacitors, we also put 100nF monolithics into the two remaining locations. The resultant assembly will run at the full speed of the chip (80MHz). Not bad considering that the chip is mounted on a general purpose test setup and not a purpose designed PC board. The Test Set-up For out test setup we simply used jumper leads to connect the header/ chip combination to a breadboard. Fig.5 shows the schematic and Fig.6 shows the complete test setup. The PIC32 will run on any supply voltage from 2.3V to 3.6V and this makes it ideal for running from a couple of AA batteries. We had the chip happily running at 80MHz with the battery supply and it makes for an easy test setup. The test circuit is very simple; it just flashes a LED off and on. But in getting this to work you will have jumped over many hurdles in correctly connecting up the chip, running the compiler and programming the chip. In programming circles this is called a “Hello World” program. Its objective More resources If you would like an easy introduction to the PIC32 then the book “Programming 32-bit microcontrollers in C. Exploring the PIC32” by Lucio Di Jasio (ISBN: 0750687096) would be an excellent choice. The author focuses on the PIC32 so everything in the book is relevant and he takes the reader on a journey from the basic to the complex without confusing you or leaving you alone in the deep end. During the journey he explores almost every aspect of the chip so you can keep the book on your bookshelf as a handy reference. The book has plenty of examples and does not assume that you are a proficient C programmer. It even includes a brief tutorial on the language and all his examples are complete and ready to run. This book is available from the SILICON CHIP bookstore. 20  Silicon Chip If you don’t want to solder your own chip to a breakout board you can purchase one of many pre assembled development boards that are available. A good example is the “USB 32-Bit Whacker” (illustrated below) from www.sparkfun.com This includes a PIC32 chip with 512KB program space and 32KB of RAM. It can be powered via the USB connector and the chip is pre programmed with a boot loader so that you do not need a programmer. All you need is a computer and an USB cable to load your programs. It makes all the I/O pins available on a 0.1-inch grid of solder pads around the edge. You can solder pin headers to these pads and use the assembly in the same manner as the chip and breakout board combination that we described. siliconchip.com.au Test Program 1: // Configure for 20MHZ using the 8MHz internal oscillator 2: #pragma config FNOSC=FRCPLL, FPLLIDIV=DIV_2, FPLLMUL=MUL_20, FPLLODIV=DIV_4 3: 4: #include <plib.h> // include PIC32 peripheral library 5: 6: main() { 7: int i; 8: 9: SYSTEMConfigPerformance(20000000); // optimise for speed 10: mPORTDSetPinsDigitalOut(BIT_1); // make RD1 (LED) an output 11: 12: while(1) { 13: mPORTDToggleBits(BIT_1); // flip the LED off/on 14: for(i=0; i<416000; i++); // 250mS delay at 20MHz 15: } 16: } Line 1: Line 2: Line 4: Line 6: Line 7: Line 9: Line 10: Line 12: Line 13: Line 14: Comments start with a double slash (//) This sets the configuration parameters for the chip (sometimes called the “fuses”). The first entry (FNOSC=FRCPLL) sets the clock source to the internal oscillator (8MHz) via the phase locked loop (PLL). The second entry causes the oscillator to be divided by 2 before being applied to the PLL. The third entry sets the PLL multiply ratio to 20. This means that the internal oscillator after being divided by 2 will be multiplied by 20 thereby giving an output from the PLL of 80MHz. The last entry causes the PLL output to be divided by 4 before being used by the core processor, which therefore runs at 20MHz. By varying this last entry you can change the core speed with DIV_1 giving 80MHz and DIV_2 giving 40MHz. This includes standard code that defines the library functions that we will use. The program starts running at the beginning of the function main(). The curly bracket marks the beginning of the function and the closing bracket on line 16 marks the end. We define an integer variable for later use. Note that all integers default to a signed 32-bit number (ie, it can be -ve or +ve). This calls a library function to optimise the chip for the clock speed that we are running at (20000000 Hz). The optimisations include setting up the instruction cache and wait states for memory access. This calls another library function to set RD1 as an output. RD1 is pin 49 on a 64 pin chip. This sets up an infinite loop so the LED will keep flashing forever. We call another library routine to toggle the state of the RD1 output from high to low or vice versa. This is where the LED is turned on or off. This is a delay routine to prevent the LED from flashing too fast. Running at 20MHz, counting to 416000 takes about 250ms. is not to do anything useful but to simply check and prove that all the components are working correctly, With this running you can then move on to something more serious (and hopefully, useful). Running the test program The “Test Program” panel above lists a program that will make a LED flash in the test setup. To compile this program you will need to install the latest version of Microchip’s MPLAB and start it up. As explained previously, it is available as a free download from Microchip (microchip.com). Once MPLAB is installed you should select Project->Project Wizard to step you through setting up a new project. You will have to tell the wizard what chip you are using (PIC32MX795F512H) and select the active siliconchip.com.au toolset (Microchip PIC32 C-Compiler). Add a new file to your project (eg, test.c) and type in the test program (without the line numbers). You should now be able to compile it simply by pressing F10. The final step is to connect your programmer, enable it, program the PIC32 and tell MPLAB to run the program. You should then be rewarded with the LED steadily flashing off and on. Because the program is so simple there is little to go wrong with it but there are many other factors that might trip you up the first time – after all this is the purpose of a test program like this. Firstly the compiler should tell you if it has found a mistake in the program but some mistypes can slip through, so recheck what you have entered. When you enabled the programmer it should have told you if it could see the PIC32 – if this failed you should check the power supply, the cables/ connections and your soldering. If the programmer completed its job without complaining but the LED did not flash you should check that all the capacitors are present and that power and ground is present on all the pins listed earlier. It is also possible that the PIC32 cannot run because of noise on the power supply leads and you could try shortening the jumper leads and/or adding some more decoupling capacitors on the underside of the breakout board between Vdd and Vss. The test program runs the chip at a slow speed (20MHz) so you should not have too much trouble getting the chip to run. So, now that you have the chip up and running, what are you going to do with it? Whatever you choose – it is unlikely that this chip will limit your SC ambition. March 2011  21 SILICON CHIP If you are seeing a blank page here, it is more than likely that it contained advertising which is now out of date and the advertiser has requested that the page be removed to prevent misunderstandings. Please feel free to visit the advertiser’s website: dicksmith.com.au SILICON CHIP If you are seeing a blank page here, it is more than likely that it contained advertising which is now out of date and the advertiser has requested that the page be removed to prevent misunderstandings. Please feel free to visit the advertiser’s website: dicksmith.com.au Community TV station If you watch digital TV in mainland capitals, you may have come across a “community” channel. In Sydney it’s a station called TVS, which has a range of interesting programs, quite different to those on main-stream stations. So what is TVS and who are the people behind it? I n a number of ways, the operation of “free to air” televi- off site. The TVS HQ is purely a digital centre which pulls sion station TVS, or Television Sydney as it is properly all the elements together, plots the program output and then called, is far ahead of the major free-to-air broadcasters sends the output via microwave to a dish at nearby Horsley in its takeup of digital technology. All programming, ad- Park, then onto the Broadcast Australia transmitter at Gore verts, station IDs etc are digitised and merged to provide a Hill, near North Sydney. programming stream that runs 24 hours a day, seven days a week. In the early morning hours the operation runs without Startup TVS commenced initial tests in November 2005 and human help. TVS emanates from within the Werrington campus of the launched an analog service in February 2006, on UHF chanUniversity of Western Sydney (UWS) – but it is not part of nel 31 The digital service began on March 1 2010. Previously there had been a community broadcaster on channel 31 but the university. Stroll into the featureless building on campus and you that had been off air for two years, prior to the arrival of TVS. The initial TVS board comprised a group called Educationenter the TVS suite of rooms. But there are no studios, no cameras, no lights, no announcer’s booth and no rows of al Training Corporation, a joint venture between UWS and Metro Screen, a video training centre, on-air monitors, cosseted by technicians. plus a production group called Slice-TV. In fact, all TVS programming is made by Barrie Smith 24  Silicon Chip siliconchip.com.au David Hill, ex-chairman of the ABC, was the original convener of the board and then former GM of Seven Network Queensland, came in as the initial CEO. Henri de Gorter, the Program Manager, was hired from the beginning. Right from the start, the channel was a fully digital and server-based station. This was enabled due to the co-operation with a company called Playbox, who supply automated, software-based broadcasting solutions. Playbox has its R&D centre in Sofia, Bulgaria. Staffing The station runs 24 hours a day, seven days a week. The permanent staff consists of de Gorter, Operations Manager Ian Sneddon plus a programming assistant, an operations assistant and a promotions producer. Added to this is the UWS-appointed CEO, Rachel Bentley. The five full-time staff (plus the CEO) is augmented by four part-timers, who work in the evenings from 4pm as presentation coordinators. This is ‘prime time’, when most of the ad revenue is generated; at 10.30 or 11 at night these operators go home and the station continues running automatically. Programs are produced off-site and supplied in a variety of formats and then fed into the servers by volunteers who come in on occasional days. This group also takes care of TVS’ YouTube presence on the Web. It may not look much like a TV station . . . because TVS is nothing like a “normal” TV station! Audience feedback Since going digital TVS has become available to a greater spectrum of the available audience. Previously, with analog transmission, it was found that the audience peaked at about around 1.1 million viewers a month in 2009. Since then it declined but with the advent of the digital signal, has come back to about that level. Many potential viewers are still unaware that the broadcaster has added a digital signal, on digital Channel 44. Most current TV sets, set top boxes and PVRs do not sense the arrival of a new station unless a new scan is conducted. Also some older SD set top boxes can pick up all of the new channels, including TVS and some of the ABC channels. Programming Approximately 45% of TVS programming is produced in Sydney or NSW. Some programs are made by people and groups in Nowra, Bowral, Bathurst and similar places, so most producers can see their programs going to air from their home town — or they can go to the Web site and view the video stream. Another 35 per cent of programming comes from the other states. Most of it can be summed up as “niche” programming. The automotive programs are highly popular: Four Wheel Drive, Classic Restos, Gasoline, Drive It and Cruisin’. One of the lifestyle programs — Living on the Coast — comes from Nowra and is, in Henri de Gorter’s opinion, “one off the best programs you’ll ever see and every bit as good Channel Nine’s GetAway but without the advertorial TVS outputs a digital signal with a bit rate of 6.5Mbits /second using QPSK modulation. Power output: Digital – 800W (ERP 3.5kW) Analog – 20kW (ERP 548 kW) Digital signal: 536.625MHz (Ch29) [Logical Channel Number 44] Analog signal: 548.25MHz (Ch31) siliconchip.com.au Operations Manager Ian Sneddon checks the two Playbox digital servers, each with seven Terabytes capacity, used as playout machines. March 2011  25 There’s a wide variety of special interest and “niche” programming on TVs that the major networks wouldn’t touch – ranging from foreign language/foreign interest news programs from Deutsche Welle and Al Jazeera as seen above to an extensive library of old movies, including many of the classics. content! We can’t have anything like that on a community station. The government does not allow it.” Then there’s the staple fare of every community station: old movies … Vincent Price, Bela Lugosi et al. Some years ago, one supplier delivered to TVS about 800 movies for its library. Plus there are old 50s and 60s TV series like I Love Lucy, Beverly Hillbillies and a current Sunday night favourite: One Step Beyond. Some English language programming is derived from Al-Jazeera out of Qatar plus Deutsche Welle, the worldwide news program from Germany. Advertising TVS is allowed to sell up to seven minutes per hour of commercial content. Labelled ‘sponsorship’, every time a commercial is aired, an ID appears on the top left corner of the screen saying ‘Sponsor’. The regulations state that anyone who advertises must carry this ID. TVS does not make programs and has a licence to air its programs in NSW only. So if a producer can deal with any of the other states or overseas entities, it can do so. It’s up to the producer to make a program within the guidelines and make a dollar out of it later. No charge is made by TVS to air the program, nor is the producer able to charge for the use of its material. Any ad revenue gained from a sponsor is shared with the producer. There are also some popular “golden oldies” shown such as The Beverly Hillbillies and I Love Lucy from the 1950s and 60s. 26  Silicon Chip An interesting facet of the regulations requires TVS to show a billboard at the program’s beginning, giving credit to the advertiser. So you know the show has advertising — not advertorials. Funding Funding mainly comes from adverts, while an ongoing effort is made to seek grants or donations from -minded people who may be able to support the channel. Initially, TVS received a grant of $600,000 to help in the digital startup. This was granted to all community broadcasters, as part of the granting of the licences from the Federal government. Added to this, the station is “very happily supported by the University of Western Sydney, who supply a lot of ‘in kind’ support.” As de Gorter says: “Currently we’re sitting in this marvellous building here. Without them we wouldn’t have a channel.” There is a community broadcast channel in every capital city except Hobart. Added to this is a number of smaller stations, in some of the country regions. TVS is not allowed to form a network but there is an alliance, the Australian Community Television Alliance, a loose membership of the five channels. Output Currently the station is outputting its digital signal in Shelf Life, hosted by Drs Milissa Deitz and Rachel Morley (UWS School of Communication Arts) deals with writers and books. siliconchip.com.au TVS carries programming that could be considered “home made” but is quite professional in style and content. Strike Zone (at left) is hosted by full-time fishing journalist Al McGlashan. Adrian’s Reptile World, hosted by Adrian Hemes, is recorded in the field and shows reptile natural habitats. 16:9 format and SD resolution (920x576i). Any increase in quality will depend on government action in its run up to a full digital service in Australia and the cut off of analog in 2012. At that time there will be a re-allocation of all the frequencies when this changeover is made. The licence that TVS has at moment is current only until 2013 and allows only one service. The signal from Gore Hill extends as far north as Gosford, west to Katoomba, and as far south as Bowral. The station would like to fill in the ‘holes’, as do the mainstream broadcasters, with translators at Kings Cross, North Head and the Central Coast. “People may find that their antennas are pointing to a repeater and we have to explain that our transmission is from Gore Hill, the Broadcast Australia tower near North Sydney”, de Gorter adds. For example, in Sydney’s Northern Beaches area the reception pattern is highly variable: this writer can receive only a snowy picture while, nearby, others (including editor Leo Simpson) pick it up very clearly. All antennas in these examples are pointed south towards the North Head repeater and all receive the station as an analog signal from Gore Hill. Another staff member, only 1km away but with an antenna aimed towards the Central Coast, cannot receive TVS at all. However, the reality is that not much will happen until analog is closed down (planned for 2013) and frequencies reallocated. TVS needs it to increase its audience: “We’re a Sydney station and we should have the same reach as everyone else”, de Gorter stresses. Two edit suites run G5 Macs and use Final Cut Pro software to edit station promotional clips. TVS ingests the media — tape or DVD —and encodes it to MPEG. siliconchip.com.au Future plans The biggest push for TVS is to be competitive in the broadcast television world and to generally improve the quality of the programs. The station does not want to change the content. As de Gorter says “The eclectic mix of programs we have is what makes us popular. If we went down the path of sanitising our programs, then people would stop watching us. Unlike the other channels where they have a budget and buy programs from distributors, we’re pretty much March 2011  27 reliant on what comes in the door — and we work with our producers. “So we get all sorts of programs. What we would like to see is that, while we don’t want to change the content, we’d like to see it presented 16:9 wide screen with good audio and reasonable lighting. Later on we would like to do outside broadcasts. For his part, Ian Sneddon is working very hard to get more paths in and out of the station: “We only have one path out of here so we need another path. Plus we need an incoming path. Program assembly The whole area occupied by TVS would be roughly that of a suburban house, in a series of connecting rooms. One room, barely larger than the average living room, houses a series of desktop stations. TVS uses a program called CaptureBox to accept the media — tape or DVD —and encode it to MPEG. These files are then loaded onto the server. Most of the Beta formats, such as Betacam, Digi Beta etc can be handled, but not Betamax Most of the material TVS receives is on Mini DV cassettes, a consumer format. As Ian Sneddon explains: “This is where we insert all the in and out points as data, stored along with the programming. When the programrs make up their list they know the running times of the programming, ads etc. At 4.30 each afternoon the list runs out and the next day’s list is loaded up.” The equipment room houses two Playbox digital servers, each with seven Terabytes capacity and used as playout machines. The output leaves as a Serial Digital Interface (SDI), passes through an MPEG encoder, sent to the microwave link at Horsley Park and then on to Gore Hill. The Web presence relies on Apple Xserve servers to host the TVS Web and the program Web streaming. TVS was the first FTA station in the country to stream its signal live and can only do so because it owns Internet rights to its programs. Most commercial stations cannot do that because they don’t have streaming rights. Further along a hallway are two edit suites, running G5 Macs and using Final Cut Pro software. These are used for editing station promotional clips. Rounding out the tech side for the operation is a 50kVA Data display of all the in and out points of programming.This list is made up each day and triggers the playout. 28  Silicon Chip siliconchip.com.au Left: the theoretical TVS signal strength across the Sydney area. Due to Sydney’s hilly topography, some areas are marginal at best and others have no reception at all. generator, ensuring an Uninterrupted Power Supply (UPS). As Sneddon says: “If we lose power you won’t notice anything, other than the lights will go down momentarily because they’re not on UPS. Then you hear the noise of the generator starting up. We can run for probably up to an hour.” There is no booth announcer. All voice overs are prerecorded. At the Gore Hill transmitter an audio loop runs music when a server goes down. Hiccups Sneddon explains that, “if there are problems, generally I will get a call from the people who run the transmitter. “The system is very reliable. The guy who put it together, Les Fisher, from Digital Space Media, did a fantastic job and we work with the software people to develop it further. There is inbuilt redundancy but problems can still happen … “I remember about a month ago I got a phone call while I was having coffee in Balmain. It was the transmitter at Gore Hill and they said we had gone off air — one of our servers had failed. So with my iPhone I used an app to get into the desktop at UWS to switch to the other server and get us back on air. “Most stations are manned when they’re on air and there is always someone watching. But we don’t have that. So we use other ways.” SC Custom Battery Packs, Power Electronics & Chargers For more information, contact SIOMAR BATTERY ENGINEERING Phone (08) 9302 5444 or email mark<at>siomar.com www.batterybook.com siliconchip.com.au March 2011  29 Presenting: The Maximite Part 1 – by Geoff Graham There’s on often-quoted cliché in advertising which says “its use is limited only by your imagination . . .” Well, here is a project that goes way beyond your imagination because you, like us, will have only scratched the surface of uses. We’re pretty proud of this one: a powerful but very economical microcomputer which has so much potential that you will probably think of uses we haven’t even dreamed of! R emember the very early days of personal computers when the most common answer to “but what can it do?” was “oh, it can store recipes and track you household finances”. It was pretty lame back then, especially when personal computers cost up to ten thousand dollars. But The Maximite can do that. Or it can detect intruders. Or measure 30  Silicon Chip voltages. Or sense water levels. Or log phone numbers. Or teach children computers and programming. Or . . . OK, you get the picture, we’re sure. Of course, that’s only half the story. It can also act on those inputs and do something, such as turn on lights or video recorders. Irrigate a field or greenhouse. Dial a phone number and play a message. Control a website. Launch a first-strike nuclear missile. . . If you think we’re being a bit over the top, we are. However, the simple truth is, with appropriate programming (and what better way to learn than with the Maximite!) this powerful little micro CAN do all of those things and just about anything else you can think of. We’re extremely confident that the Maximite will spawn its own army siliconchip.com.au Inside The Maximite case. There’s not a great deal to it as all of the “smarts” is in that PIC32 chip in the centre. Also seen in this shot is the memory card slot on the front panel which can be used to drive The Maximite or to save data. of users and supporters, along with Maximite software, simply because it is so versatile and so simple to build. Best of all, it’s cheap to build – almost bubble-gum cheap! So what is the Maximite? Elsewhere in this issue we described the incredible new Microchip PIC32 processor. . . and now we put it to practical use. It is the heart of the Maximite – a complete computer based on a single chip. On the one hand it is a full-featured micro computer with keyboard input and a video output with extensive graphics capabilities to a TV or VGA monitor. It runs a powerful BASIC interpreter and can save and load programs and data to and from a low-cost SD memory card. At the same time Processor: it has 20 I/O (input/ Clock speed: output) lines that can RAM: be a mix of analog inSoftware: puts or digital input/ I/O outputs. Video output: You can measure Audio: voltages, temperaInterfaces: tures, frequency and Power supply: record the data to the Size & weight: SD card, all under program control. You can also detect switch or contact closure and respond by activating relays, turning on lights or whatever. You can connect it to a larger computer via USB and upload or download programs and data. You can also pop the SD card out and read the data on your desktop computer where you can load it into a spreadsheet such as Excel for further analysis. The Maximite will automatically load and run programs from the SD card so you can use it as a stand-alone computer without keyboard or video display. But, if you do connect a video display, you can display readings, draw graphs or do whatever you need to do to display data for your application. Finally, all inputs and outputs are optional. You can ignore the external monitoring and control function and use it as a general purpose computer to balance your cheque book (or similar) or you could ignore the keyboard and video facilities and use it as a dedicated embedded computer or controller. Putting it to use On one level you can consider the Maximite to be a modern incarnation of the Tandy TRS-80 or Commodore 64 computers of yesterday. Using it like this The Maximite will take you on a nostalgic trip into the days where computers were much simpler. You just plug the Maximite into a 9V power source and you will be immediately presented with the BASIC interpreter’s prompt. You can then experiPIC32MX795F512H-80I/PT (or PIC32MX695F512H-80I/PT) ment with various 80MHz commands or type in 128K (internal) a program and save MMBasic (similar to Microsoft BASIC) it to the SD memory 20, individually configurable card. Monochrome standard VGA or composite video The BASIC lan500mV for amplifier, sound card, etc, or hi-z speaker guage, which is an SD, MMC or SDHC card; USB 2.0 and IBM keyboard acronym for Begin9V DC <at> ~150mA ner’s All-purpose 155 x 92 x 29mm; 150g Symbolic Instruc- At a glance . . . siliconchip.com.au March 2011  31 From the rear (again with lid removed) this shot shows the VGA and keyboard sockets, multi-way I/O connector (black) and at the right, the USB and DC power sockets. tion Code, is a standard in the computer industry and was designed to be very easy to learn. So this provides an excellent way to get into programming. Maximite BASIC is also largely compatible with Microsoft BASIC so there are many programs on the Internet that you can load and run (some may possibly need a few modifications but that’s not too unusual with downloaded programs!). While being easy to use, Maximite BASIC is also very powerful. It uses floating point for numbers, has long variable names, extensive string handling, file input/output and multidimensional arrays of numbers and strings. With its 128KB of RAM the interpreter can handle programs of up to 1000 lines and thanks to the fast PIC32 chip it will run through your program at speeds up to 30,000 lines per second. If all this sounds like double-Dutch to you, then you are a perfect Maximite candidate. Build one and learn! Apart from this, the great strength of the Maximite is its ability to interact with the external world. On the back panel are 20 input/output signal lines which can be used to monitor and control most things with electrical inputs and outputs. The Maximite could form the centre of an intelligent burglar alarm, a flexible oven controller or a data logging system 32  Silicon Chip monitoring the operation of your car’s engine. It could control the climate in a greenhouse by opening panels and turning on fans and irrigation systems in response to temperature, humidity and sunlight. Because it is so inexpensive the Maximite can be used for quite simple projects – for example, a smart battery charger/monitor or simply controlling a fan or pump. At this level it can be thought of as something like a PICAXE chip on steroids. Back to the Maximite: by attaching a few external components, students can also interact with physical objects beyond the keyboard and video display. For example, it would be easy for a student to connect up a temperature sensor and a fan and write a simple program to turn on the fan at a certain temperature. Just imagine: light a match under the sensor. . . and the fan would come on and blow out the match! Magic? No. Maximite! Educational tool The video interface on the Maximite will generate either a standard computer VGA signal or a composite video signal for use with a TV set. The VGA connector is mounted on the PC board and is available on the back panel of the Maximite’s box while the composite video is available as a pair of header pins that can be wired to a panel mounting RCA socket. The VGA output uses the standard scanning frequencies of 31.5kHz horizontal and 60Hz vertical and should work with any monitor, no matter how old. The output is scaled for a 4:3 aspect ratio and most people will have an old one of these monitors lying unloved in a cupboard since whiz-bang LCD monitors came out (it will also display on an LCD monitor!). The character set The Maximite will also make a great educational tool. Its simplicity and ease of use make it ideal for young students who need to get something happening within a short time. They can plug it in and within seconds be experimenting with a programming language. And with SD card storage they can then take their creation away to be continued on another day. Old timers who did indeed “cut their teeth” on the TRS-80 and Commodore 64 etc, will remember with horror the power failures which lost perhaps days of programming because then, there was no such thing as “easy” storage. Floppy disks (what are they?) were around but incredibly expensive and hard disks were still only a twinkle in their creator’s eyes! Video output siliconchip.com.au REG1(IC2) 7805 D2 1N4004 S1 CON1 + -- GND 330 F EXT POWER 9-15V DC EXT OUT IN K A PWR SOURCE JP1 REG2 (IC3) LM1117T–3.3 OUT IN USB 10 F 16V GND 47 F 6V +5V CON2 1 2 3 4 19 AVdd USB TYPE B 35 34 36 37 56 ICSP CONNECTOR 1 10 26 38 57 Vdd Vdd VddVdd VddVdd Vdd Vusb SDO2A Vbus OC3 D– SS2A D+ 7 PGD 5 PGC 47 16 6 47 CON3 47 PROGRAMMING HEADER LED1 +5V PS2 KEYBOARD A 15 58 61 A OC2 K K RC14 RC13 5 54 2 1 KEYBOARD DATA RB9 RB7 IC1 PIC32MX795F 512H-80 I/PT OR PIC32MX695F 512H-80 I/PT RD6 RB6 RB5 RB4 RE7 RE5 RD7 RE4 +3.3V RE3 3x 33k RD3 SD CARD SOCKET CARD PRESENT CD 52 9 1 2 3 4 5 6 7 8 WP CON9 CARD ENABLE RD11 RD10 RD4 RD9 RD8 RE0 53 2011 RB13 RB12 RB11 RB10 OSC1 RD5 OSC2 Vss 9 SC  RB15 60 SDO3A DATA 32 TO CARD CLOCK TO CARD SCK3A 29 DATA FROM CARD SDI3A 31 CARD WRITE PROTECT 49 AUDIO OUT 48 1k Vss 20 Vss 25 I/O 5 22 I/O 4 18 I/O 3 17 I/O 2 13 I/O 1 CON8 1 12 +5V I/O 20 2 3 4 5 6 +3.3V 3 I/O 19 7 8 2 I/O 18 9 10 11 12 1 I/O 17 64 I/O 16 13 14 63 I/O 15 15 16 62 I/O 14 17 45 I/O 13 19 20 44 I/O 12 21 22 23 24 43 I/O 11 42 I/O 10 30 I/O 9 28 I/O 8 27 I/O 7 24 I/O 6 25 18 26 23 39 X1 8MHz 7805 40 Vss 41 MAXIMITE MICROCOMPUTER Fig.1: we said The Maximite was pretty simple and this complete circuit diagram proves it. Just about everything you need in a microcomputer is integrated into the one mighty chip, the PIC32 (see article elsewhere in this issue). siliconchip.com.au 14 15 RE0 RE6 55 13 CON6 5.6k JP2 3 4 12 VERTICAL SYNC VIDEO SELECT RE2 ACTIVITY KEYBOARD CLOCK 11 K 59 PGEC1 CON7 6 8 PGED1 LED2  SD CARD  D1 1N4148 CON5 A 1k MCLR S2 4 680 6 50 COMPOSITE VIDEO HORIZONTAL SYNC RF1 LOAD FIRMWARE 3 VIDEO Vcap 10k 2 120 100nF MCLR 6 1 7 2 8 3 9 4 10 5 4 x 100nF +3.3V +3.3V 10 F 16V CON4 10 100nF +3.3V VGA CONNECTOR (FRONT VIEW) 22pF 22pF LEDS GND IN K A D1 A K K OUT LM1117T 1 IC1 D2 A GND OUT GND OUT IN March 2011  33 CON4 VGA CONNECTOR (IC1) SDO2A OC3 SS2A RC14 120 6 A 50 1k 8 48 D1 1N4148 K JP2 VIDEO SELECT 6 1 7 2 8 3 9 4 10 5 11 12 13 (IC1) SDO2A OC3 SS2A VIDEO 6 50 15 RC14 1k 48 CON5 COMPOSITE VIDEO OUT H/V SYNC 8 14 120 680 120 * JP2 VIDEO SELECT * IN PLACE OF D1 HORIZ SYNC RF1 59 VERT SYNC RF1 Fig.2a: you have the choice of displaying the Maximite’s output on a standard VGA computer monitor (we’re sure you’ll have one lying about), or . . . includes the full upper and lowercase set with 80 characters per line and 36 lines per screen. The composite video output is a standard 625-line, 50Hz signal suitable for use on any TV set or monitor that will accept a PAL input (ie, any TV set used in Australia, New Zealand, the UK and many other parts of the world). It also has the full character set but displays 50 characters per line with 18 lines per screen. A jumper on the PC board will switch between VGA and composite. This jumper is detected at power up and the timing of the video system is configured accordingly. You could, if you wished, use a switch to select the type of display at power up. Both outputs are monochrome and have graphics capability. Under control of your BASIC program you can turn on and off any pixel, draw lines, circles, and boxes, and place text anywhere on the screen. Note that because the Maximite’s pixels are not exactly square the circle will be more of an oval. There are many cheap VGA and composite monitors now available (especially on eBay) with screen sizes of 5 to 7 inches. These are intended for use in cars but they also make an excellent display when you are using the Maximite as an embedded controller. For example, if you have built an intelligent irrigation controller based on the Maximite you could include a screen that would show a graph of the rainfall, temperatures and the amount of irrigation delivered. The remarkable aspect of the video signal is that it is generated entirely in the PIC32 using nothing but the standard peripherals integrated inside the chip. The method used is based on a technique described by Lucio Di Jasio in his book “Programming 32 bit 34  Silicon Chip microcontrollers in C”. It uses a DMA (Direct Memory Access) controller to transfer the pixel data from memory to an SPI (Serial Peripheral Interface) controller which then clocks out the video with the required timing. The output is sharp and rock solid: you could not get better even if you were using a dedicated VGA controller. Other than servicing an interrupt this method entirely bypasses the PIC32 CPU which only has to write the pixel data to a defined part of memory and it will then magically appear on the video monitor. This leaves the CPU free to run at full speed interpreting the user’s BASIC program. Keyboard and USB The keyboard interface is quite straightforward. You can plug in a standard IBM PS2 compatible keyboard with a 6-pin MINI DIN connector and anything you will type will go straight to the BASIC interpreter. All the standard keys will work including the numeric keypad, shift and caps lock. The USB interface emulates a serial COM connection over USB. This means that you can open a serial emulator on 59 . . . Fig.2b: or even using an old TV set with composite video input (most TVs do). Millions of these are thrown out every year as people update! your computer and anything you type will be received by the Maximite, just as if it was typed on the keyboard. Both USB and the keyboard will operate simultaneously and in parallel. This allows you to have both of them connected and anything typed on either one will be received as if from a single stream. Similarly, any output from the BASIC interpreter will be sent out over the USB interface as well as the video interface, although graphic output (lines, circles etc) will only be displayed on the video output. You can plug in or unplug the keyboard, video and USB at any time and it will not affect a running program. The USB interface provides an easy way to enter and run programs without having to connect a monitor. Using this interface you can even edit your program on your PC (using something like notepad) then copy it via the USB interface into the Maximite’s memory for testing. The USB interface is handy in another couple of cases. Firstly, it makes it possible to build a stand alone controller (such as the irrigation controller This not only reminds us that The Maximite uses a standard (IBM-style) keyboard, it also shows us just how tiny The Maximite is in comparison! siliconchip.com.au proposed earlier) and using the USB interface you can plug in a laptop and download history or other data from the BASIC program running on the Maximite. Secondly, the USB interface allows the Maximite to act as a peripheral to a desktop computer running Windows or a similar operating system. A simple program running on the Maximite could measure a series of voltage and digital inputs and send the values over the USB interface. A program running on the larger computer would see a series of readings and could interpret them and take action as required. The communication could also be two way, certain codes arriving from the USB interface could be a signal to the program running on the Maximite to change the state of its digital outputs. This allows you to easily control external electrical systems from a desktop computer, something normally not easy to do. The USB interface also has one more function. It will enable you to update or “re-flash” the firmware running on the PIC32 by uploading the new firmware from your Windows computer. With something as complex as the Maximite there are bound to be some undiscovered bugs lurking in there and this feature will allow you to load the latest and greatest firmware version, even though your chip is firmly soldered to the PC board. Maximite BASIC Arguably the core of the Maximite is the BASIC interpreter (called MMBasic) which was specially written for the Maximite. It is a full implementation of the BASIC language with over 120 commands, functions and operators. Because of its size we can only provide a brief overview here however the SILICON CHIP website has the “Maximite User Manual” available for download and that provides much more detail. All numbers within MMBasic are saved and manipulated as floating point values. Floating point is similar to how a scientific calculator handles numbers and allows you to multiply, divide and use mathematical functions without accidently creating nonsense results. MMBasic is also proficient at handling strings of characters which you can join and pull apart in various ways. Variables in MMBasic can be either a number or a string and a variable name siliconchip.com.au MMBasic, specially written for the Maximite, should be familiar to anyone who has ever used used BASIC as it is a full implementation of that language. can be up to 32 characters long. You can also define arrays of numbers and strings with up to eight dimensions. In addition to the Microsoft BASIC constructs MMBasic implements a number of modern programming structures documented in the ANSI Standard for Full BASIC (X3.113-1987). These include the DO WHILE … LOOP and the structured IF .. THEN … ELSE … ENDIF statements. These newer constructs make it easier to write programs that have fewer bugs and are easier for others to understand. MMBasic has a number of special commands and functions for dealing with the external I/O pins on the Maximite. Using the SETPIN command you can set an input as an analog (ie, voltage) input, as a counting input or as a digital input/output. The PIN() function will return the value of an input and the PIN()= statement will set an output. For example, the following fragment of code will set an output (eg, an alarm) high if an input voltage strays outside of the range of 2V ±0.5V. SETPIN 1, 1 ‘ pin 1 is input SETPIN 2, 8 ‘ pin 2 is output V = PIN(1) ‘ get the voltage IF V < 1.5 OR V > 2.5 THEN PIN(2) = 1 ‘ output high ENDIF The apostrophe (‘) starts a comment and everything after it on that line is ignored. You can also set up to 20 interrupts on either the rising or falling edge of a signal at the input pins. When an interrupt event occurs the program will branch to a section of code specific to that interrupt and return to the main program when finished. This makes it much easier to handle intermittent events such as when a button has been pressed. For timing you can set an interrupt to occur every so many milliseconds, you can also time events using the TIMER function which returns the number of milliseconds since it was reset and for general timing you can halt the program’s execution for a number of milliseconds using the PAUSE command. MMBasic runs at about 30,000 lines per second, although that will vary considerably depending on the type of statements being executed. Regardless it allows your programs to respond quickly to external events, typically in less than a millisecond. This means that you can monitor and react to most electrical and mechanical events, such as ignition pulses in a high speed engine and still get useful work done. External input/output We have touched on the external input/output capabilities a number of times but it is worth going into some detail as that is where much of the Maximite’s utility comes from. Firstly all 20 external input/output pins can be configured as digital inputs or outputs. As a digital input anything above 2.5V will return true (or the number 1) and anything below 0.65V will return false (number 0). The maximum input voltage is 3.3V but to handle voltages higher than that, a couple of resistors are all that is required to drop the voltage. All inputs are Schmitt Trigger buffered so that they will switch cleanly if the input voltage is in the range between the high and low input levels. When configured as an output, a pin will source or sink 10mA to 18mA, depending on the required drive voltage on the output pin. This is enough to drive a LED or a reed relay and heavier loads via a transistor buffer. In future we will describe a circuit for this and other aspects of input/output buffering. Pins 11 to 20 have the special capaMarch 2011  35 50 times a second, while still doing other work like scaling the data and checking for alarms. And, with a cheap 2GB SD card, you will be able to sustain that speed for over 100 hours before you run out of space; not bad at all. When power is applied to the Maximite the first thing it will do is check to see if an SD card is installed and, if it is, look for a program in the root directory with the special name of AUTORUN.BAS. If that file is found it will be loaded and the program will be automatically run without prompting from the keyboard (which does not have to be connected). This allows the Maximite to be used as an embedded controller without an attached keyboard or video display. Prototyping with The Maximite is a breeze! All I/O pins are brought out to a multi-way connector on the rear panel. Standard patch leads can therefore be used. Added to that is the ease of connection to a standard PC and voila! bility of working with 5V circuits. They will tolerate 5V as an input and can be configured as open collector outputs to drive 5V circuits. Pins 1 to 10 can be configured as analog inputs and will measure and return the precise voltage at the input in the range of 0V to 3.3V. For inputs higher than this a simple voltage divider can be used. The accuracy of the measurement is mostly dependent on the accuracy of the 3.3V supply to the PIC32 but the specified regulator has a tolerance of ±1% so it will be reasonably accurate. By calibrating the reading within your BASIC program you can achieve an accuracy far better than that. This is like having a ten-channel digital voltmeter and with the addition of suitable input circuitry, these inputs and be used to measure voltage, current, temperature, acceleration, pressure and more. The firmware also implements a simple form of noise reduction when making voltage measurements. Ten readings are taken (over 10µs) and the two highest and lowest readings are discarded before averaging the remaining six readings to give the final value. In addition to being normal digital inputs pins 11 to 14 can be configured to measure frequency, period or just count the number of cycles of the input. Frequency measurement can be up to 200kHz and the returned value will have a resolution of 1Hz. When measuring period, the value 36  Silicon Chip will be returned as the number of milliseconds between cycles. When set as a counting input, the value returned will be the number of low to high transitions on the input since the counter was last reset. The counting inputs can react to very fast signals on their input (less than 10ns) and operate independently of the main program (ie, they do not slow it down or hinder its operation). Memory card The memory card facility allows you to save programs and data and reload them later. MMBasic will work with MMC, SD or SDHC cards formatted as FAT16 or FAT32 and with a capacity of up to the maximum that you can buy (which is currently 32GB). The file system and file format is fully compatible with Windows, Macintosh and Linux computers so you can pop the card into your desktop computer to access the data recorded on it. Commands within MMBasic allow you to create or delete files, navigate through sub directories, save programs and load and run a program. When saving data to an SD card the WRITE command makes it easy to save the data in an Excel spreadsheet compatible format for later analysis. Typically the Maximite can measure a voltage and save the value to the SD card in under a millisecond. In a real life scenario that means that you should be able to log data from all 10 analog inputs and save it to the SD card Audio The Maximite also has the facility to generate an audio output. This is not a musical facility but it is enough to generate a sequence of attention getting tones. The sound output is made available on a 2-pin header on the PC board which can be wired to a panel mounting connector. The sound command in MMBasic generates a square wave and, under program control, you can specify the frequency (from 20Hz to 5KHz) and the duration (in milliseconds). The tone is generated as a background task and will not delay the program which will continue running after initiating the sound. Low power requirements The power supply for the Maximite can come from the USB interface or an external 9V DC plugpack. With some restrictions (due to heat dissipation) the power supply voltage can range up to 15V. This means that the Maximite can also be powered from a car battery in automotive applications, for example, monitoring and logging data related to the vehicle’s engine and sensors. The current draw is about 140mA but this will increase if you are using the digital outputs to source current. With this operating current it is possible to power the Maximite from batteries during a power interruption. For example, six AA rechargeable batteries could keep the Maximite running for 7 to 10 hours; enough to survive a typical blackout. Circuit details The circuit diagram of the Maximite siliconchip.com.au is shown in Fig.1. The amazing thing about this is that everything we have been discussing, the VGA controller, keyboard input, computer running BASIC, voltage measurement, etc is accomplished with just one chip. That is a high level of integration. At the top right hand section of the diagram is the video output. The components and values shown in Fig 1 are chosen to allow you to switch between VGA and composite video output. This involves some compromises, in the case of VGA the black level is not truly black and for composite the white level is not as bright as it could be. However the resulting video is perfectly acceptable and can be corrected by adjusting the monitor to suit. If you want a perfect picture all the time you can permanently configure the video for either of the standards as shown in Fig 2a and 2b. Fig.2a shows the circuit for VGA output only. In this setup the horizontal and vertical synchronisation pulses are generated separately and are wired direct to the output connector. The video signal is generated on pin 6 and is clamped to approx 0.7V by R3 and D1. It is then connected in parallel to the red, blue and green inputs of the monitor on CON4 creating a monochrome image. Fig.2b shows the video circuitry when it is setup for composite output. In this configuration both the horizontal and vertical sync pulses are generated on pin 50 of the PIC32 and are mixed with the video from pin 6 to create the composite video signal across the 120 resistor installed at D1. When a 50composite input is connected to CON5 the output voltage will be the standard 0.5V peak to peak. The 1kresistor connected to pin 8 is used in both configurations and is one of the most important features of the video controller. This feeds the horizontal sync pulse back to the SPI interface of the PIC32. This signal is used by hardware in the SPI interface to trigger the start of the video stream relative to the horizontal sync pulse and eliminates timing variations that would occur if the video stream was triggered via the firmware alone. The result is that the video output is rock solid, something that is not easy to accomplish in a microcontroller that has a lot of other duties in addition to generating a video output. On power up the firmware will check JP2 and accordingly configure the timsiliconchip.com.au ing for VGA or composite. This jumper is connected to pin 48 on the PIC32 which has its internal pull-up resistor enabled. If JP2 is open the voltage on pin 48 will be high and VGA selected. If a jumper is placed on JP2 the voltage will be low and composite timing will be selected. Sound output Returning to Fig 1, pin 49 of the PIC32 is the sound output. This signal is reduced to 0.5V peak to peak by a 5.6k and 1k resistive divider to make it suitable for a normal amplifier’s auxiliary input (for example, the input to amplified speakers). You can also drive a high impedance speaker or transducer directly with this output and in that case you would omit the 1kresistor and replace the 5.6kwith a wire link. CON8 provides access to the external input/output pins that are supported by the Maximite. PINs 1 to 10 are connected to I/O ports on the PIC32 that can be switched to analog inputs while PINs 11 to 20 are connected to I/O ports capable of working with 5V circuits. The 8MHz crystal connected to pins 39 and 40 is used to generate the main clock for the chip. It is divided by 2 inside the PIC32 then multiplied by 20 to give the 80MHz CPU clock. This is further divided by 2 to give the peripheral clock of 40MHz. Continuing in a clockwise direction around the PIC32 in Fig 1, the memory card interface uses a total of seven input/output signals. The firmware running on the PIC32 communicates with the card via the SPI (Serial Peripheral Interface) mode which is supported by all MMC/SD/ SDHC cards. This standard requires four signal lines (card enable, data in, data out and clock) with two of them pulled high by the 33kΩ resistors. The card detect and write protect signals are generated by contact closures in the card holder and are pulled high by resistors integrated in the PIC32. An IBM compatible keyboard is connected directly to pins 54 and 55 of the PIC32. The IBM standard requires that a pull-up resistor is used to hold the signal lines high when they are not being used. These resistors are integrated in the PIC32 and enabled by the firmware. Indicator LEDs Pin 61 of the PIC32 is used to drive the memory card activity LED. The firmware pulls that pin high when it is reading or writing from the card. Pin 58 drives the front panel LED which is normally illuminated but can be turned off or on under control of the BASIC program. When you are loading a new version of the firmware via USB this LED will flash to show that the device is in the boot-load mode and is ready for the firmware to be uploaded. The PIC32 can also be reprogrammed via CON3 which will accept an ICSP programmer/debugger like the PICKit 3. Normally you would only use this feature if you were developing and testing a new version of the firmware. Pin 47 on the PIC32 is another pin that is pulled up to 3.3V by an internal resistor and is used to detect if the bootload button is pressed. This is checked on power up and is used to enable firmware updates via USB. Last on our tour around the PIC32 is the USB interface. This is quite straightforward, pin 35 is the 3.3V supply for the USB transceiver integrated into the chip while pins 36 and 37 are the data lines. The firmware can tell if the USB is connected to a host by monitoring the voltage on pin 34. There are two power supplies, +5V provided by REG1 (7805) and +3.3V from REG2 (LM117T-3.3). Jumper JP1 allows you to power the Maximite from the USB 5V supply provided by the host if that suits your requirements. The keyboard is the only component that requires a 5V supply and is one of the main reasons REG1 is present. REG2 (the 3.3V regulator) is also supplied by REG1 and this means that its output voltage is very steady over a wide range of input voltages. This provides a stable reference for the ADC (Analog to Digital Converter) resulting in consistent voltage measurements. The schematic shows a number of capacitors on REG2’s output. These are decoupling capacitors situated near the power supply pins on IC1 and are critical in providing glitch- free power for the chip. Next month: construction! So that is the Maximite. As there is so much information to digest in one sitting, we’ll leave the construction details to next month. In the meantime, gather the components you need – you’ll find it easiest with the kit from Altronics (Cat K-9550) – and get ready to start your Maximite micro computer together. SC March 2011  37 Universal voltage regulator By NICHOLAS VINEN For any time you need low-voltage regulated supply rails M OST PROJECTS REQUIRE some form of voltage regulator. The Universal Power Supply project from August 1988 has been so popular, the kit is still on sale some 23 years later! Basically, that design allowed you to build one of four different voltage regulator configurations on a single PC board. It could be configured in both split (positive & negative) rail and single rail versions and could be used with a variety of power transformers, with or without centre-taps. It could also be set up for a variety of output voltages, depending on the regulator(s) used. In view of its popularity, we thought it was time to make some improvements. Accordingly, we have made the following tweaks to improve the original design: (1) Designed a smaller PC board; (2) Added terminal blocks for inputs and outputs; (3) Made it easier to build; (4) Made better provision for regulator heatsinks; (5) Added LED indicators/bleeders for both rails; (6) Added reverse-biased diodes at the output for regulator protection; and (7) Made provision for a wider range of electrolytic capacitor sizes. Universal regulator This project is called a “Universal Regulator” because it’s so flexible. Most commonly, it will be used to convert the AC output from a transformer 38  Silicon Chip (or an AC plugpack) to a regulated DC output. It can also be used to regulate an unregulated DC input voltage or it can be used to step-down a DC input voltage to a lower (regulated) output voltage. As with the original design, the unit can be built in both dual-rail and single-rail versions. The output voltages can range from ±5V to ±24V at currents of up to 1A per rail. It all depends on the transformer and the regulators used. Because this board can generate split (ie, positive and negative) rails, it is ideal for powering op amp circuits. It is also very handy for circuits which only require a positive supply (eg, +12V), in which case some components can be omitted. Transformer labelling Before going further, let’s take a closer look at how transformers are marked. Sometimes you will see a transformer labelled as “9 + 9” or “2 x 9”. This usually means that it has two 9V separate windings which can be connected in series or parallel. If you connect them in series, you have an 18V transformer with a centre tap. If you connect them in parallel and in phase, you have a 9V transformer with twice the current rating of the centre-tap configuration (if they are in anti-phase, you will get no output). A “9-0-9” label implies two 9V secondary windings with a fixed centre tap. These can not be connected in parallel because they will be in antiphase and so there will be no output. If a transformer has a VA rating (and most do), you can calculate the maximum theoretical output current by dividing the secondary voltage into that figure. So for example, a 60VA transformer can provide 2A if its secondary is 30V (60 ÷ 30) or 5A if its secondary is 12V (60 ÷ 12). Some transformers have multiple secondary taps so you can select the best combination for your circuit. Different configurations As with the previous design, the PC board can be built in any of four different configurations according to which parts are installed. The circuit diagrams for these configurations are shown in Figs.1-4. To generate split rails (eg, ±15V), it is a good idea to use a centre-tap configuration, as shown in Fig.1. The transformer secondary windings are connected to a bridge rectifier with the centre tap to ground. The peak rectified DC voltage is the transformer secondary voltage multiplied by 1.414, minus one diode drop (about 0.7V). In the example shown, a 15V-0-15V transformer results in about 20.5V across each filter capacitor, which is then regulated to ±15V using 7815 and 7915 3-terminal regulators (REG1 & REG2). The average filtered voltage will probably be slightly higher than this for light loads on the outputs and lower under heavy load. In this siliconchip.com.au REG1 7815 D1 A T1 INPUT 1 15V 230V K IN D4 A A K K D2 0V K A A A GND C1 2200 F 25V 20.5V 100nF A R1 D3 3 R2 CON1 C2 2200 F 25V 20.5V IN 100 F 25V UNIVERSAL REGULATOR OUTPUT 3 +15V 2 0V 1 –15V CON2 D6  LED2 A K OUT K A K 7815 7915 LEDS D1-D6: 1N4004 A K A 100nF REG2 7915 SC D5 K GND 2011 K  LED1 100 F 25V 2 15V N OUT IN GND IN OUT GND IN GND OUT TAPPED TRANSFORMER SECONDARY, DUAL OUTPUT CONFIGURATION Fig.1: the circuit for use with a centre-tapped transformer to generate split rails. Diodes D1-D4 form a bridge rectifier, while capacitors C1 & C2 filter the rectified AC. Regulators REG1 & REG2 provide a steady output voltage while LED1 and LED2 indicate operation. Different output voltages are obtained by changing the transformer and regulators. REG1 7812 D1 A T1 INPUT 12V 230V 0V 1 K K IN D4 A A K K OUT A GND 15.5V C1 2200 F 25V  LED1 100 F 25V 100nF OUTPUT 3 +12V 2 2 0V 3 1 D2 A A R1 D3 A CON2 A UNIVERSAL REGULATOR K 7812 LED D1-D5: 1N4004 SC D5 K CON1 N 2011 K K A GND IN GND OUT UNTAPPED TRANSFORMER SECONDARY, SINGLE OUTPUT CONFIGURATION Fig.2: this version of the circuit is used to derive a single, positive output voltage from a transformer with no centre tap. As in Fig.1, it uses a bridge rectifier but in this case ground is connected to its negative end and the negative regulator components are omitted. configuration, each filter capacitor is charged at twice the mains frequency (ie, at 100Hz). Note that while the circuit diagrams show a specific transformer and regulator combination, along with the expected filtered DC voltage, these are just examples and other combinations can also be used, as explained later. If a negative output voltage is not required, the centre-tap configuration is no longer necessary. Fig.2 also uses a bridge rectifier for full-wave rectification but the components for the negative output are removed. There is no centre tap connection from the siliconchip.com.au transformer but otherwise the circuit is identical to that of Fig.1. It is also possible to derive a positive single-rail output using a transformer with a centre tap – see Fig.3. In this case, only two rectifier diodes are needed. Note that the rectified output voltage is a little over half that which would be achieved by using the same transformer in the circuit of Fig.2 and ignoring the centre tap (ie, leaving the centre tap disconnected). Finally, in Fig.4, we show how it is possible to derive split rails from a transformer with no centre tap. This circuit is mainly used with AC plugpacks as they generally lack a centre-tap connection. The diodes are arranged to form a full-wave voltage doubler, which essentially consists of two half-wave rectifiers with opposite polarity. Because of this alternating halfwave rectification, the filter capacitors (C1 & C2) are each charged at 50Hz. This means that the ripple voltage on C1 and C2 is roughly twice that of the circuit shown in Fig.1. As a result, the ripple current through the capacitors is also doubled and that means that less current is available (see Fig.6). However, it is still possible to get a March 2011  39 A REG1 7812 K IN K D1 A T1 12V 0V 230V 12V C1 2200 F 25V 15.5V A 1 A GND D4 INPUT OUT K  LED1 100 F 25V 100nF D5 K 3 +12V 2 2 0V 3 1 CON1 N CON2 7812 LEDS D1, D4, D5: 1N4004 A SC 2011 OUTPUT A R1 UNIVERSAL REGULATOR K GND IN K A GND OUT TAPPED TRANSFORMER SECONDARY, SINGLE OUTPUT CONFIGURATION Fig.3: as with Fig.2 this version is used when a single, positive output voltage is required but this time the transformer has a centre tap. As a result, only two diodes (D1 & D4) are required to form a full-wave rectifier. K A T1 15V 230V 0V N INPUT 1 REG1 7815 K A IN D1 D2 A OUT A GND C1 2200 F 25V 20.5V 100nF OUTPUT +15V 2 2 0V 3 1 –15V A R1 R2 C2 2200 F 25V 20.5V 100 F 25V 100nF UNIVERSAL REGULATOR D6 A K K A 7815 7915 LEDS D1-D2, D5-D6: 1N4004 K CON2 OUT REG2 7915 A K A  LED2 GND IN 2011 D5 K 3 CON1 SC  K  LED1 100 F 25V IN GND IN OUT GND IN GND OUT UNTAPPED TRANSFORMER SECONDARY, DUAL OUTPUT CONFIGURATION Fig.4: this version allows a split rail output to be derived from a transformer without a centre tap. This circuit is often used with AC plugpacks, with diodes D1 & D2 used as a full-wave voltage doubler. The circuit of Fig.1 is preferred for use with chassis-mount transformers. full 1A output using this configuration, depending on the particular transformer and output voltage combination. Obtaining other voltages Note that it is possible to use the circuit shown in Fig.4 to generate a single output voltage which is twice that of the circuit shown in Fig.2. This is achieved by using pin 1 of the output connector as ground for the load. The voltage across pins 1 & 3 is then double the usual output voltage. That is why the circuit is known as a “voltage doubler”. As mentioned, the centre tap of a 40  Silicon Chip transformer may be ignored and the transformer is then treated as having a single secondary winding with a voltage that is the sum of the two individual windings. This means that you can derive three different positive DC voltages from a centre-tapped transformer: about 1.4 times the secondary voltage (as shown in Fig.2), half that figure (as shown in Fig.3) or twice that figure (as shown in Fig.4). Dual-output configuration Now that we have had a look at the various circuit configurations, let’s take a closer look at how they work. Fig.1 shows a dual-output (±15V) configuration based on a centre-tapped transformer, a bridge rectifier (D1-D4) and a couple of 3-terminal regulators. As shown, a 15V AC sinewave is applied to pin 1 of CON1 by the transformer. At the same time an identical sinewave is applied to pin 3 but is 180° out of phase. In other words, the voltage at pin 3 is inverted compared to the voltage at pin 1. When the voltage at pin 1 is rising, the voltage at pin 3 is falling. As the voltage at pin 1 approaches its positive peak, diode D1 becomes forward siliconchip.com.au Fig.5: this scope grab shows the operation of the circuit depicted in Fig.1 but with an 18V-0-18V transformer and a 150Ω load on each output (drawing 100mA from each). Channels 1 and 2 (yellow and green traces) show the secondary voltages while channels 3 and 4 (blue and pink) show the voltages across C1 and C2. With a 50Hz mains voltage, the ripple voltage for each capacitor is at 100Hz. The average rectified voltage is 25.38V, close to what we would expect (19V x 1.414 - 2 x 0.7 = 25.47V). biased and so capacitor C1 is charged to this peak voltage (or close to it). Similarly, as the voltage at pin 3 of CON1 approaches its negative peak, diode D3 becomes forward biased, charging capacitor C2 to the peak negative voltage. Ten milliseconds later, the voltages are reversed. Diodes D2 and D4 are now forward biased and both capacitors are recharged but from the opposite winding. This process repeats 100 times a second since the mains frequency is 50Hz (in some countries, 60Hz). The resulting filtered supply rails then supply positive and negative regulators REG1 and REG2. These vary their transconductance so as to maintain a steady voltage at their output pins, as determined by an internal voltage reference and divider network. In this case, we are using 7815 and 7915 regulators to derive +15V and -15V outputs respectively. Want ±12V output rails instead? No problem, just substitute 12V regulators (eg, 7812 & 7912) instead, although for a given current drain, their dissipation will be somewhat higher. If this is a problem, substitute a transformer with a 24V centre-tapped (CT) secondary for the 30V CT unit shown. Similarly, by changing the transformer and the regulators, you can get ±5V or ±9V outputs instead. siliconchip.com.au Fig.6: now we are using the circuit of Fig.4, with a single 18V secondary winding and the same 100mA drain on each output. Channel 2 (green trace) now shows the current through the transformer’s secondary. The capacitors are recharged alternately at 50Hz and the ripple voltage has more than doubled compared to the configuration of Fig.1. The average rectified voltage is lower as well (24.85V). The diodes only conduct about 20% of the time, resulting in a low power factor. The 100µF capacitors on their outputs are not strictly necessary but they result in lower noise voltages at the outputs. They also improve the regulators’ load transient response – if a sudden change in load impedance results in a change in the output voltages, current flows into or out of these capacitors as necessary to compensate, thus reducing the voltage variation. The 100nF capacitors in parallel do the same but they have lower impedance at higher frequencies (due mainly to their lower dissipation or power factor) and so help with more rapid load transients. LED1 and LED2, in combination with their current-limiting resistors R1 & R2, serve three purposes: (1) they provide a visual indication that the circuit is operating; (2) they provide the regulators with a minimum load; and (3) they help to discharge all the capacitors when the AC supply is removed. Finally, diodes D5 & D6 protect the circuit in case of asymmetric loads. Such loads can pull the positive rail negative or the negative rail positive during switch-off or over-current conditions. D5 & D6 clip these transient voltages and prevent damage to the regulators and filter capacitors under such conditions. D5 & D6 also overcome the bootstrapping problems that can occur with certain brands of regulators (mainly L78xx types). Single rail configurations The circuit of Fig.2 is similar in many ways to Fig.1 but lacks the negative regulator and its corresponding negative output rail. It also uses a transformer without a centre-tap but retains the bridge rectifier. Note that in this case, we are using a 7812 3-terminal regulator to derive a +12V output rail. Accordingly, a transformer with a 12V secondary has been specified. If you wanted a +15V output, then its just a matter of using a 15V transformer and substituting a 7815 regulator. Fig.3 also has a +12V output but uses a 24V centre-tapped transformer (12V-0V-12V) and a full-wave rectifier (D1 & D4). As before, it’s easy to get a +15V output – substitute a 30V centre-tapped transformer and a 7815 regulator. Half-wave rectifier As with Fig.1, Fig.4 provides dual (±15V) outputs. In this case though, an untapped transformer is used and diodes D3 and D4 are removed, since there is no transformer secondary winding to drive them. As a result, diodes D1 & D2 function as half-wave rectifiers for their respective positive and negative rails. March 2011  41 4004 R2 SC + 100 F R1 + 4004 2 G 1 + 0V – D4 1102 © SC 3 - rotalug eR lasr evinU Fig.7: this PC board overlay diagram corresponds with the circuit of Fig.3. All the negative regulator components may be omitted, along with diodes D2 & D3. The other way of regarding Fig.4 is as a conventional half-wave voltage doubler circuit which has been “centre-tapped” at the junction of the two 2200µF capacitors. Either way, the result is the same. Because D1 & D2 function as halfwave rectifiers, the ripple voltage superimposed on the DC supply rails will be 50Hz. As a result, for a given current drain, the ripple voltage will be slightly more than twice the 100Hz ripple obtained if the bridge rectifier circuit of Fig.1 is used. This may (or may not) be a problem, depending on the application (see Fig.6). Selecting a transformer Either a chassis-mount mains transformer or a plugpack can be used, as long as it has the correct voltage and current ratings. AC plugpacks are typically available with 9V, 12V, 15V, 16V or 24V output and power ratings up to about 24VA. These are suitable for regulated output currents of about 350mA for a split rail output or 700mA for a single voltage output. If you want to use a chassis-mount mains transformer, you must take proper precautions to make your project safe and to avoid getting an elec42  Silicon Chip G 4004 + DC OUTPUT 2 0V 1 – rotalug eR lasr evinU 1 4004 4004 2 3 D1 11130181 + + C1 2200 F + 100 F D2 + 1102 © SC LED1 REG 1 100nF C2 2200 F - rotalug eR lasr evinU + 100 F REG 2 R1 + 100nF 3 2 – + G 0V 1 – R2 LED2 Fig.8: this PC board overlay diagram corresponds with the circuit of Fig.4. All components are installed except for diodes D3 & D4 although it won’t hurt to put them in. tric shock. These include but are not limited to: earthing the transformer frame, the metal case and any exposed metal (eg, screw heads), proper colour coding for the wiring, an appropriate fuse, insulating mains connections within the case and so on. If you are uncertain as to what precautions to take or don’t have the necessary experience, don’t mess with mains power! It’s quite easy to calculate the appropriate transformer voltage to use for a given output voltage or voltages. However, to save time, we have provided some tables to help you select a transformer. It’s just a matter of using Table 2 to select a transformer for Fig.1 (tapped secondary) or Fig.4 (untapped secondary). Similarly, use Table 3 to select a transformer for Fig.2 (untapped secondary) or Fig.3 (tapped secondary). Note that you may use a transformer with a higher voltage rating than suggested but this will increase regulator dissipation and may require larger heatsinks (which will be discussed later). In some cases, where the output current is moderate (say <250mA), it is possible to use a transformer with DC OUTPUT C1 2200 F CS n© I 2011 DC OUTPUT 3 D1 18103111 CON2 2 4004 - 3 Fig.6: this PC board overlay diagram corresponds with the circuit of Fig.2. This is the only version for which a wire link is necessary. Note that quite a few parts are omitted for this version as there is no negative output voltage rail. LED1 REG 1 100nF CON1 AC INPUT 1 11130181 + + 4004 CS © D5 4004 LED2 D5 18103111 D4 1102 Fig.5: this PC board overlay diagram corresponds with the circuit of Fig.1. All components are installed. Refer to Table 2 for the values of resistors R1 & R2. Capacitors C1 & C2 are typically 25V types but a higher rating is sometimes necessary (see text). n© I 2011 D3 4004 + CON2 – 3 4004 - rotalug eR lasr evinU – 0V D2 R1 D5 © REG 2 100nF 1 + 100 F CON2 C2 2200 F G 2 REG 1 100nF D6 D4 + 100 F 4004 C1 2200 F LED1 4004 + 2 + D1 4004 1 CON1 D3 3 11130181 + + (LINK) SC 1102 D2 + CON1 4004 100 F R1 AC INPUT 4004 + AC INPUT 3 REG 1 100nF CS n© I 2011 DC OUTPUT 2 C1 2200 F 18103111 CON2 4004 D1 LED1 D5 4004 CON1 AC INPUT 1 11130181 + + D6 CS 4004 18103111 n© I 2011 a slightly lower voltage rating than is indicated in these tables. For example, a 12V AC plugpack can be used to obtain ±15V regulated outputs at low current. This is because a transformer typically provides more than its rated voltage when it is lightly loaded. Plugpacks tend to have worse voltage regulation than stand-alone transformers so this comment particularly applies to them. In other words, their output voltage will be even higher when they are lightly loaded. Note that for transformers with secondary voltages above 16VAC (or above 30V AC with a centre tap), you must increase the voltage rating of the large input filter capacitors to at least 35V. If you can’t get 35V capacitors, use 50V types instead. There is enough space on the PC board to fit most brands of 2200µF 50V capacitors but if necessary, use a smaller value (say 1500µF). A multi-tapped transformer like the Jaycar MM2005 is a good choice for powering the Universal Regulator board because it can be configured with a single secondary winding of 9V, 12V, 15V, 18V, 21V, 24V or 30V or alternatively with a centre-tapped secondary winding of 18V (9-0-9), siliconchip.com.au These two photos show the fully-assembled PC board for the version shown in Fig.1 (circuit) and Fig.5 (parts layout). The other three versions use fewer parts. 24V (12-0-12) or 30V (15-0-15). Its secondary current rating (2A) is sufficient for virtually any configuration shown here. As stated previously, this board can also be used to regulate DC voltages. In this case, use the circuit of Fig.1 or Fig.3 depending on whether a negative voltage input is required. The transformer is, of course, deleted. In either case, connect the supply ground to pin 2 of CON1. The supply rail(s) to be regulated then go to pin 1 (positive) and, in the case of Fig.1, to pin 3 (negative). When used in this manner, the maximum regulated output voltage is the minimum input voltage minus 3V. So to obtain a regulated 12V output, the input must be at least 15V. Of course, you would have to use 7812 and 7912 regulators in Fig.1. If the supply is an unregulated DC plugpack, its output will probably be several volts higher than nominal with light loads. So for applications which don’t require a lot of current, you may find that a 12V DC plugpack supplies a high enough voltage for a regulated 12V output but you will have to check. driving a handful of op amps), heatsinks will not be necessary. Having said that, it’s always a good idea to do the calculations for your application to be sure. If the regulators overheat they will shut down and the output voltage will drop dramatically. As a result, damage is unlikely but the circuit will not work correctly. First, calculate the dissipation in each regulator. To do this you need to know the average input voltage to the regulators, which we shall call “Vin”. A reasonable estimate can be calculated as: (secondary winding voltage) x 1.414 - 0.7V. You also need to know the peak current drawn from each output which we will designate as “Iout”. If we designate the regulator’s output voltage as “Vout”, then the dissipation in the regulator is simply (Vin - Vout) x Iout. For example, if a 15-0-15 (30V centre-tapped) transformer is used to provide a regulated ±15V at 100mA, the dissipation in each regulator will be roughly (20.5 - 15) x 0.1 = 0.55W. This is below 0.6W so no heatsinking is necessary. Conversely, if the dissipation is over 0.6W, refer to Table 4 as a guide for heatsink selection. Heatsinks Construction Regulating DC For low-current applications (eg, Parts List 1 PC board, code 18103111, 71 x 35.5 2 3-way terminal blocks, 5.08mm pitch 4 M3 x 15mm tapped Nylon spacers 4 M3 x 6mm machine screws 2 TO-220 heatsinks (optional) 2 M3 x 10mm machine screws, nuts and shake-proof washers for heatsinks (optional) 10mm length of 0.71mm tinned copper wire Semiconductors 1 78xx positive linear regulator (REG1) 1 79xx negative linear regulator (REG2 – optional) 6 1N4004 diodes D1-D6) 1 5mm red (LED1) 1 5mm green LED (LED2) Capacitors 2 2200µF 25V* electrolytics 2 100µF 25V electrolytics 2 100nF MKT (code 100n or 104) Resistors (0.25W, 1%) 2 2.2kΩ 2 680Ω 2 1.5kΩ R1 & R2 – see Tables 1 & 2 * Note: a higher voltage rating is necessary for transformers with secondaries over 16V Building the PC board is easy. The Table 1: Resistor Colour Codes o o o o siliconchip.com.au No.   2   2   2 Value 2.2kΩ 1.5kΩ 680Ω 4-Band Code (1%) red red red brown brown green red brown blue grey brown brown 5-Band Code (1%) red red black brown brown brown green black brown brown blue grey black black brown March 2011  43 Table 2 – Selecting A Transformer For Dual Rail Outputs Output Voltage Tapped Secondary Untapped Secondary Regulator(s) R1 & R2 ±5V 12V AC (6-0-6) 6-9V AC 7805, 7905 680Ω ±6V 15V AC (7.5-0-7.5) 9V AC 7806, 7906 680Ω ±8V 15V AC (7.5-0-7.5) 9V AC 7808, 7908 680Ω ±9V 18V AC (9-0-9) 9V AC 7809, 7909 680Ω ±12V 24V AC (12-0-12) 12V AC 7812, 7912 1.5kΩ ±15V 30V AC (15-0-15) 15V AC 7815, 7915 1.5kΩ ±18V 30V AC (15-0-15) 15V AC 7818, 7918 1.5kΩ ±20V* 36V AC (18-0-18) 18V AC 7820, 7920 2.2kΩ ±24V* 40V AC (20-0-20) 21V AC 7824, 7924 2.2kΩ * Increase voltage rating of 2200µF capacitors to 35V or higher Table 3 – Selecting A Transformer For A Single Output Voltage Output Voltage Untapped Secondary Tapped Secondary Regulator Resistor R1 5V 6V 6-9V AC 12V AC (6-0-6) 7805 680Ω 9V AC 15V AC (7.5-0-7.5) 7806 680Ω 8V 9V AC 15V AC (7.5-0.7.5) 7808 680Ω 9V 9V AC 18V AC (9-0-9) 7809 680Ω 12V 12V AC 24V AC (12-0-12) 7812 1.5kΩ 15V 15V AC 30V AC (15-0-15) 7815 1.5kΩ 18V 15V AC 30V AC (15-0-15) 7818 1.5kΩ 20V* 18V AC 36V AC (18-0-18) 7820 2.2kΩ 24V* 21V AC 40V AC (20-0-20) 7824 2.2kΩ Table 4: Heatsink Selection Guide Dissipation Maximum Thermal Resistance Suggested heatsink <0.6W 45°C/W None 0.6-2W 20°C/W Micro/mini flag (Jaycar HH5502, Altronics H0630) 2-4W 12°C/W Large flag (Jaycar HH8504, Altronics H0637) 4-8W 6°C/W U-shaped (Jaycar HH8511, Altronics H0620) >8W 48 ÷ dissipation in Watts board is coded 18103111 and measures 71 x 35.5mm. Before starting the assembly, it should be checked for hairline cracks or under-etched areas in the copper and repaired if necessary. Figs.5-8 show the various configurations, so choose the one that’s relevant for your application. If you are using the configuration shown in Fig.2 (positive output only, no centre tap), start Finned diecast aluminium heatsink by installing a wire link in place of C2. Do not install this link for any other configurations though. Now install the resistors. Use Table 2 or Table 3 to select the correct values for resistors R1 & R2. If in doubt, use 1.5kΩ for both. R2 may be omitted if the negative output is not used. Follow with the 1N4004 diodes. These must all be correctly orientated, Issues Getting Dog-Eared? as shown on the parts layout diagrams. If some are not used for your chosen configuration you may omit them, although it doesn’t hurt to install all six. Next, fit the two 100nF MKT capacitors. They can go in either way around. Follow with the LEDs, ensuring that the flat sides are orientated as shown on the relevant overlay diagram. After that, mount the two 3-way screw terminal blocks with their entry holes facing outwards. The electrolytic capacitors can now be soldered in place, starting with the two smaller ones. They must all be correctly orientated. The stripe on the body indicates the negative side and these all face towards the bottom of the board. Make sure that the voltage ratings of C1 and C2 are sufficient for your application (see above). If the regulators require heatsinks, it is best to fit them before the regulators are mounted (if possible). For larger heatsinks which may interfere with the PC board, crank the regulator legs slightly with small pliers so that the tabs line up with the edge of the board. The regulator packages can then be pushed down onto the board, with the tab facing the edge, and soldered into place. Finally, complete the board assembly by fitting tapped spacers to the four corner mounting holes. These can be secured using M3 machine screws. Smoke test If you are using a chassis-mount transformer, check that it has been correctly installed and that there are no exposed mains terminals before applying power. To test the unit, connect the transformer secondary leads to CON1, switch on and check that LED1 & LED2 light. Assuming the LEDs do light, use a DMM to check the voltage(s) at CON2 to ensure that they are correct. If not, switch off and check that the correct regulators have been used. If there is no output at all, check that the regulators and diodes are orientated correctly. Once you have confirmed that the output voltages are correct you can SC wire up the outputs. Keep your copies safe with our 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 ring (02) 9939 3295 and quote your credit card number. 44  Silicon Chip siliconchip.com.au SERVICEMAN'S LOG PC faults & the Christchurch earthquake The 7.1 magnitude earthquake that struck Christchurch, New Zealand last September caused widespread damage to buildings and infrastructure. It also took out a lot of PCs due to both impact damage and power surges. In the electronics/computer repair game, it’s interesting to note the damage patterns resulting from certain natural events. For example, whenever we have a good lightning storm, there is always a flurry of power-supply related jobs coming through the workshop. The major earthquake we had here in Christchurch last year was no exception. It happened at 4.35am and we lost power straight away. I immediately clambered over the wreckage of my house contents in pitch blackness to find my LED torch, which I knew lived on my workstation. The torchlight revealed the destruction. In my corner of our home office, my Acer 24-inch flat panel had fallen face-first onto my ageing ergonomic keyboard and had smashed it. Miraculously, the monitor itself was undamaged (and unmarked), although I had to wait until power was subsequently restored to confirm this. siliconchip.com.au My PC’s tower case which sits on the desk hadn’t moved at all and nor had stacks of items on the upper shelf. On the other hand, out in my garage workshop, a 90kg drill press had been thrown two metres from its bench onto my radio-controlled model aircraft, destroying everything in its way. It was a Saturday morning and as the day wore on, the work phones remained silent. Most people had far more serious issues than broken electronic gear or computers that no longer worked, such as houses broken in half or brickwork chimneys lying on their lounge room floor. In the meantime, I had visions of my client’s computers chucked every which way at my workshop across town. It was likely that I was going to have to break some very bad news to a lot of people and I felt sick just thinking about it. I spent the day cleaning up the Items Covered This Month • • • • PC faults after the Christchurch earthquake Aircraft flap actuator Mobility scooter repairs Intermittent car radio mess at home and making some metal brackets to secure our bookshelves. After all, there was no point simply standing them up again if an aftershock, which we were experiencing every few minutes, was going to send them toppling back over. When power was finally restored at 6.30 that evening, I hit the power buttons on all the electronic equipment in my house. Miraculously everything still worked except for my computer. The monitor was fine but the machine itself was dead. The next day, one of my staff made it through the cordons to the workshop and reported back that the total damage was a screwdriver on the floor. And so, with that off my mind, I decided to take a look at my PC to determine why it wouldn’t power up. The first place to look was the power supply but with March 2011  45 Dave Thompson: Our New Serviceman Following the retirement of our long-standing serviceman, the column will now be taken over by Dave Thompson, who lives in Christchurch, New Zealand. Dave’s first venture into electronics occurred in 1969 when he pulled apart the brand new 7-transistor radio given to him for his seventh birthday. From there, he moved onto radio-controlled model aeroplanes during his teens, including giant-winged slope soarers, free-flight gliders and even a pulse jet speed model. All this set him up for an apprenticeship and an 11-year career as an Avionics Engineer with Air New Zealand, before moving onto to various other jobs. He currently runs a repair company called PC Anytime in Christchurch, NZ, specialising in computer repairs and service (including monitors and printers). Servicing Stories Wanted We also welcome reader contributions for Serviceman. It doesn’t matter what the story is about as long as it’s in some way related to the electronics or electrical industries, to computers or even to car electronics or electrics. We pay for all contributions published but please note that your material must be original. Send your contribution by email to: editor<at>siliconchip.com.au and be sure to include your full name and address details. the nearest replacement at my workshop, I decided it would have to wait. On Monday morning, the phones started ringing in earnest. I was expecting that most of the problems would be due to impact damage, caused either by computers falling off desks or having something fall on them. However, while we did get a few of those, the vast majority were machines not powering up, just like mine. It transpired that eyewitnesses had reported several reasonably large electrical-type explosions at local power stations, which gave off an intense blue/white light. What’s more, those awake at the time the quake hit reported several severe power surges just before the power finally gave out, no doubt as emergency breakers kicked in (or out as the case may be). These surges apparently took out the power supply in my PC (and all those others), although it’s interesting to note that my wife’s machine was spared. Ironically, my machine had an expensive modular supply, while hers is a standard, garden-type unit. Being less than a year old, it was fed back through the manufacturer’s warranty system and was replaced with a shiny new one. It was something they really didn’t have to do but was just one of the many acts of kindness I experienced in the aftermath of the quake. Repairs to the majority of the ma46  Silicon Chip chines we saw would ultimately be covered by the earthquake commission, as long as owners had some form of household insurance. For those that didn’t, we tried replacing power supplies and other dead hardware under manufacturer’s warranties and in most cases these were honoured, again a very kind gesture when they could have just as easily said “no”. Machines that had suffered impact damage were assessed and reports raised accordingly, though owners without any form of insurance had to spring for the whole cost of repair or replacement. This was often quite expensive, especially in the case of laptops which required chassis and/ or screen replacements. We reduced our normal charges when we could, passing on some of the goodwill we experienced, but many had to forgo repairs because they simply couldn’t afford the cost. Aircraft flap actuator In 1981, I was a second-year avionics engineering apprentice working for our national carrier. As far as technicians go, the guys there were regarded as among the best around and what they didn’t know about avionics wasn’t worth knowing. I couldn’t believe my luck; my electronics hobby was becoming my profession. However, all that was still more than three years away and in 1981, the gaps in my knowledge were still vast. As part of our apprenticeship, we were rotated every few months to different specialist workshops such as Instruments, Electrical, Radio/Radar and Simulators for experience. This story comes from my time in the electrical workshop, where I was involved in component overhaul. After a few months of starter relays and similar simple repairs, I was entrusted with a “real” job, a flap actuator, which is a 24V motor with a planetary gearbox attached. As its name implies, this device is used to raise and lower the aircraft’s flaps. The unit in question had come in with the complaint that it was low on power, stalling and popping the circuit breakers whenever it was operated. This was odd because these actuators can usually move mountains; describing them as powerful is like calling Claudia Schiffer “presentable”. Anyway, as with any job coming through the workshops, we initially did some tests to confirm the fault, although we already knew this actuator was faulty because it had been replaced and the replacement unit operated normally. At switch-on, a serviceable unit draws up to 1500A peak current before falling back to a more reasonable level, depending on load. What’s more, it’s capable of delivering so much torque that we had half a large room specially adapted to house the torque test rig. Sure enough, this actuator didn’t sound right – it was running slower and drawing more current than it should and when under load, it quickly sagged and popped the test-rig breakers. Fault confirmed. Given the job of fixing it, I disassembled it as per the standard procedure. A large circlip holds the bearing and seal assembly at the output of the gearbox and this has usually bedded well into its slot. As a result, it needs considerable coaxing to remove it, all the while trying to avoid it “pinging” off and hitting some poor guy working nearby. With the unit reduced to spare parts, the next step was to give it a thorough cleaning. This involved using various highly inflammable and nasty chemicals to strip away the grease and bakedon dirt accumulated over months of normal service. Once everything had dried out, the armature was tested and it passed siliconchip.com.au ACOUSTICS SB without fault. The stator didn’t fare so well. A resistance test measured far outside the acceptable range and an insulation test also failed, indicating a breakdown somewhere inside the windings. As a result, it was sent off to another department for rewinding if deemed salvageable or disposal if judged beyond repair. I ordered a fresh coil assembly from stores and within a few hours the unit was back together and ready to test. This time it pulled as expected, with all measurements within acceptable limits. The completed job was then duly signed off by myself, my foreman and one of the workshop’s two quality assurance (QA) engineers. After that, it was packed up and returned to stores, ready for re-deployment. Unfortunately, that wasn’t to be the end of the story. Several weeks later, I sensed something was going on in the boss’s office; there was a flap on about something (no pun intended) and all the chiefs and QA guys were huddled in earnest conversation, looking over my way every now and then. From their manner, I knew I was involved and sure enough, I was soon summoned and told I would shortly be interviewed by air safety inspectors about the flap actuator I had repaired. Apparently, it had failed in flight the previous day. My heart sank and I had visions of being consigned to permanent bird-strike engine clean-up detail before my career had even started. My foreman told me not to worry and to just tell it how it happened. Besides, he reasoned, if anyone was going to be blamed, it wouldn’t be me; whoever signed off the work would ultimately be responsible because I was a lowly apprentice and they should have checked everything I did. That may have been so but I certainly didn’t want anyone getting into trouble over something I might have missed. It turned out that the actuator had failed because that bearing/seal retaining circlip had come adrift. It had found its way into the gearbox, jamming it, damaging other parts and stalling the actuator before the breakers finally opened to prevent further damage. However, not only was the actuator now damaged beyond repair (at a cost of many thousands of dollars), so was the gearbox (at many more thousands of dollars). However, that paled into insignificance when one thinks of the possible consequences. Fortunately, a manual flap winding handle in the cabin meant that the crew could still position the flaps and land safely. Aircraft safety incidents like this are always thoroughly investigated, the cause determined and the blame (if any) apportioned accordingly. This investigation concluded the circlip had been assembled correctly but was likely faulty and had failed under duress, effectively exonerating all of us. In most service work, if you mess up, at worst you might get an irate client or damaged hardware. In aircraft work, the stakes are much higher. I learned a very valuable lesson; double or triple-check everything potentially hazardous – it might just save someone’s life. CEILING & IN-WALL TWO-WAY SPEAKERS SUPERIOR SOUND QUALITY AND PERFORMANCE dynamica Mobility scooter repairs My Dad taught me an enormous amount about servicing over the years, even though he wasn’t a professional serviceman as such. What he did do was custom-make siliconchip.com.au March 2011  47 Serr v ice Se ceman’s man’s Log – continued all sorts of electronic and mechanical gadgets from scratch, as well as repair anything brought into his workshop by friends and business owners. There was hardly anything he wouldn’t take on (including jobs rejected by other servicemen) and this gave him (and eventually me) experience with a vast array of devices and technologies. Dad has now retired and because failing sight and dexterity means he can no longer tinker as well as he used to, I often step in to help him fix whatever he can’t, er, fix. Dad has to use a mobility scooter to go longer distances these days, though he can still wobble around his workshop without one. His first scooter needed some minor work and although relatively sophisticated, it still used an analog control circuit and he was able to configure it how he wanted it. Some time ago, he acquired another scooter but it came with suspected electrical issues. And just like the old days, he would disappear into his workshop for hours on end in order to get it going again. Eventually, after repairing whatever needed repairing and tarting it up, he flicked that scooter on, making a tidy sum in the process. The profits were invested in (you’ve guessed it) more dead scooters and he was soon repeating the process. However, his latest acquisition quickly went wrong. This one was a real bar48  Silicon Chip gain and we soon discovered why. It had “died” and “Brother-in-Law Incorporated” had already tried fixing it, leaving it in a right mess. On the assembly side, many of the screws were stripped, while others had their fibre-glass anchors or posts cracked or snapped off. The batteries were ruined and the numerous plugs, most of which are unnumbered 2, 3 or 5-pin types, had been plugged into the wrong locations. As a result, it was highly likely that some of the components, or even the motor speed controller, had been damaged. In fact, the main fuse had blown, which didn’t bode well. Despite trawling the internet, I was unable to source any circuit diagrams for the scooter. Luck was with us though – one of Dad’s other yet-to-besold units was the same brand and despite a few minor cosmetic differences, the handle-bar mounted controller “plugged and played” with this one. So simply comparing the two wire by wire should soon have the problem sorted – or so we thought. It was a good theory and it might even have worked if the circuit boards and all the looms were identical but they weren’t. Fortunately, however, the main 20-pin plug that connects the lights, motor, motor-speed controller and batteries in the “bottom half” of the scooter to the electronics/control- ler in the “top half” was the same in both units. This meant that the various switches and pots on the two controllers did the same things. Eventually, using common sense and some educated guessing, we managed to rewire the nonworking controller so that it closely mirrored the working one. We then replaced the main fuse, held our breaths and turned the key. The controller LEDs lit up as expected and the various switches all seemed to work their related peripherals. Unfortunately, we also heard a series of loud beeps and these were in recurring patterns of long and short bursts. The handbook that came with the working scooter indicated that these beeps meant that “a problem was occurring”. Now I’m not one to boast, but we had figured that much out already. Beeping aside, we also had no motion. Everything else worked, so we had obviously wired those systems up correctly, but something in the motor management system wasn’t quite right. We knew that the bottom end was fine, so the fault just had to lie in the controller itself but where? Tracking down the faulty part without a circuit diagram would be too much of a hit or miss affair, while simply adopting a blanket approach and replacing every part on the PC board would be very time consuming. In short, I needed a circuit diagram and the only way to get one was to laboriously trace the circuit out. I made hand-drawn diagrams of all the connections and then spent my spare time over the next few days tracing out the PC boards. Eventually, I was able to create a circuit diagram on my computer using schematic software (I use a program called Diptrace). That done, it soon became evident one of the quad comparators in the circuit, an LM339N, wasn’t working correctly. Also one of the transistors, handily unmarked, appeared open circuit. With some difficulty, I desoldered and replaced them with new components. The LM339 was easy enough and from the circuit I pegged the transistor to be a PNP type, so I substituted a 2N5401. continued on page 96 siliconchip.com.au TV & Projector Brackets Plasma TV Bracket 90 Degree Swivel Suitable for LCD and plasma TVs from 32 to 60" and weighing up to 80kg. It's flexible, with a range of rotation of 90° from the twin 500mm extension arms, and allows a tilt of ±15°. The mounting plate allows for mounting on either 450 or 600mm stud centres and it allows for ±2° lateral roll to ensure the TV is perfectly level after installation. • VESA standard compliant • Solid steel construction 00 • Mounting hardware & $ instructions included $ SAVE 50 00 CW-2828 WAS $199.00 149 Heavy Duty Ceiling Projector Mount 89 00 $ SAVE 30 This is the heavy duty ceiling mounting bracket for unusual or odd sized projectors. This bracket does not affix to the top of the projector like many models but provides a secure platform for ANY projector with a width of 34 to 47cm and a weight of not more than 15kgs. CW-2818 WAS $119.00 $ 00 12" Foldback Speaker Rated at 300WRMS this wide range speaker is ideally suited for use as a foldback speaker on stage or as reinforcement in an existing system. The box features a 4 ohm, 12" sub-woofer for rumbling bass and a horn tweeter to give crisp, clear mid range and high frequencies. FREE speaker Enclosure Size: 650(W) x cover to suit with 330(H) x 440(D)mm every purchase CS-2516 WAS $169.00 valued at $24.95 Pre - Catalogue March 2011 7" LCD Monitor Surveillance Kit with 2 x CMOS Cameras Simple, cost-effective surveillance solution for small scale indoor applications such as shops and small offices. Powered from one plugpack and all power and video is run along a single integrated cable. The LCD monitor also has an audio input to add a microphone if required. Kit contains: 7" LCD monitor or monitor/DVR, 2 x CMOS colour cameras, 2 x 18m cables, mains adaptor, remote control & mounting brackets. • Dimensions: 186(W) x 86(H) x 30(D)mm QC-3640 This system allows you to monitor and record 4 locations at your home or office. This great value digital video recorder (DVR) package can store over 150 hours of video on the installed 250GB hard drive. Recording set-up is simple and various trigger modes can be set across the day including timer, motion detection, and manual recording. The system comes complete with: • 4-channel DVR with 250GB HDD, USB port, and 1 x composite video output • 4 x weather resistant colour day/night cameras • Plug-in interconnection cables 00 $ • Remote control • Mains adaptor and user manual SAVE $200 00 QV-3063 WAS $599.00 399 In-Car Entertainment For Kids Headrest with built in 7" Monitor and DVD player DEAL BUY BOTH FOR $418 & SAVE $50 Will not only play DVDs, but also your video files such as DivX, MPEG4, etc and play videos on your USB stick or SD card. Connect an Xbox360® or Playstation3® via the AV input. Includes in-built games system (games CDs included), two game controllers and IR remote control. • Supports infrared earphones • Supports USB/MS/ MMC/SD card • Screen dimensions: 7inches • Resolution: 1440 x 234 (16:9/4:3 selectable) $ • Power: 12VDC • Headrest dimensions: 280(W) x 200(H) x 110(D)mm QM-3776 269 00 199 00 $ SAVE $40 00 If you're in dire need of more screen real estate and don't want the hassle of a big bulky secondary monitor that needs its own power supply and display cable, this USB monitor is perfect. It's great if you're busy playing a game and still want access to your IM program like MSN or Skype. It has a nifty little rotatable screen and the display can be adjusted accordingly for portrait or landscape view. 219 $ 00 7" TFT Colour Monitor with Headrest 2.5" LCD Electronic Door Peep Hole Viewer 7" USB Plug and Play LCD Monitor Eliminate the small and distorted fish eye view that a traditional door peep hole provides with our electronic door peep hole viewer. With its big 2.5" LCD screen and a built in distortion compensation feature, you are able to see the person clearly on the other side of the door by a simple press of a button. The camera is no bigger than an original fish eye viewer and looks the same as a peep hole viewer from the outside. It is very simple to install without compromising door security. Comes complete with an installation tool and AA batteries. • Measures: 146(W) x 90(H) x 30(D)mm QC-3267 SAVE $50 00 199 00 $ If you already have a DVD player or other video source in the car, such as the QM-3776 (above) you can set this up as a second or third monitor. This model features a 7" TFT screen, with two composite video inputs and IR remote control and is identical in appearance to the QM-3776 making them an excellent "pair" for a complete in-car video entertainment system. • Screen dimensions: 7 inches • Resolution: 1440 x 234 (16:9/4:3 selectable) • System: NTSC/PAL • Power: 12VDC • 2 composite video inputs • Headrest dimensions: 280(W) x 200(H) x 110(D)mm • Dark grey leather-look upholstery QM-3766 Professional H.264 DVR Recorders Available in two models: 8-Ch Professional H.264 DVR with 500GB HDD Cat. QV-3044 WAS $1499.00 NOW $1299.00 SAVE $200.00 16-Ch Professional H.264 DVR with 1TB HDD Cat. QV-3045 WAS $1999.00 NOW $1799.00 SAVE $200.00 www.jaycar.com.au 199 00 $ PORT MACQUARIE NOW OPEN! State of the art in digital video surveillance. Using the Techwell H.264 chipset and compression algorithm, a real-time operating system, video and audio encoding/decoding, hard disk recording and multi-stream networking. Featuring both DVR and digital video server capabilities, archive to DVD/CD or external USB mass storage device. Use either stand-alone or to build a powerful surveillance network. Suitable for banks, telecommunications, transportation, factories, warehouses, etc. FROM 1299 00 $ SAVE $200 00 To order call 1800 022 888 Prices valid until 23/03/2011. Limited stock on sale items. No rainchecks. All Savings are based on Original RRP REECE PLUMBING LAKE RD BLACKBUTT RD 129 00 $ • Compatible with Windows 2000/XP/Vista/7 • Dimensions:188(L) x 114(W) 35(H)mm QM-3748 WAS $269.00 Budget Four Channel Digital Video Recorder Shop 7/148 Lake Road Port Macquarie 2444 Ph: (02) 6581 4496 2 Wireless 3 Outlet Mains Controller Simply plug in any mains appliance rated up to 10A and use the remote to turn each one on or off individually, or control all of them together. One of the outlets also has an LED night light that's also operated with the remote. Real benefits for the elderly or disabled. The 3,000,000 candlepower provides 20min of continuous light for any outdoor activity. Rechargeable via mains or car cigarette lighter socket (both included). Ideal for rescue, shooting, fishing or boating. • Remote battery included • 433MHz • Remote measures: 125(W) x 45(H) x 17(D)mm. MS-6142 WAS $44.95 • Built-in SLA battery • Locking on/off switch • High impact rubber lens protector • LED map light • Size: 210(L) x 150(Dia)mm ST-3301 Replacement globe SL-3221 $5.95 34 95 $ Also available: SAVE $10 00 Spare Mains Outlet with Light MS-6143 $17.95 Mains Single Outlet/Light with Remote MS-6145 $24.95 A handy option if you only want to control one appliance CREE® LED Downlight Kits Featuring Cree® XR-E LEDs from 110 to 400 lumens, these offer comparable light to a 50W halogen downlight but at just 10% the power consumption! Life expectancy is over 50,000 hours. Power supply included. Power & Renewable Energy 3,000,000 Candlepower Rechargeable Halogen Spotlight 1 x CREE LED Downlight Kit • Over 110 lumens • Power: 1.3W • White beam 45° • Size: 60 x 45mm (45mm cutout) ZD-0370 WAS $49.95 39 95 $ 4 x CREE LED Downlight Kit SAVE $10 00 • Over 400 lumens • Power: 4.3W $99 00 • White beam 45° • Size: 90 x 110mm (77mm cutout) SAVE $30 00 ZD-0372 WAS $129.00 Wind Generators 200W 12VDC • Number of Blades: 3 • Included: generator, blades, tail, hub, nose cone, external charge controller MG-4520 WAS $399.00 Low Frequency Inverter Sinewave 1200W Suited to commercial applications, this sine wave low frequency inverter uses low frequency switching with large toroid output transformers to give ultra-robust performance and surge ratings much higher than conventional switchmode inverters. This results in lower standby power, lower heating and less wasted energy from the batteries. Being a pure sine wave, you can connect any device or appliance to the output even delicate electronics and equipment with variable speed motors. It also features a Green Power function - this is automatic load sensing which allows the inverter to remain in standby mode until an AC load is turned on. This conserves battery power as the inverter uses only about 10% of normal power when in standby mode. The amount of standby power required to start the inverter is user-adjustable. 349 $ SAVE 50 $ 00 Check out our new 300W lightweight Wind Generators! 300W 12VDC MG-4580 WAS $599.00 NOW $549.00 SAVE $50.00 300W 24VDC MG-4582 WAS $599.00 NOW $549.00 SAVE $50.00 Features: moulded, compact, efficient blade design, are lightweight, have neodymium magnets, and the charge controllers are built into the generator heads. • Number of Blades: 3 Spare parts available. • Included: generator, blades, See our catalogue or tail, hub, nose cone Limited website for more Stock details 500W 24VDC • Number of Blades: 3 • Included: generator, blades, tail, 00 $ hub, nose cone, charge controller MG-4540 WAS $999.00 SAVE $150 00 849 Better, More Technical Softcover, 201 pages, 280 x 200mm BE-1538 Now you can recharge AA or AAA alkaline batteries 10-20 times depending on their quality, age and condition as well as recharge Ni-Cd or Ni-MH batteries. LEDs indicate charge status and the on-board electronics prevent overheating or overcharging. • Charges up to 4 x AA or AAA alkaline, Ni-Cd or Ni-MH batteries • Microprocessor controlled to prevent overcharging • Individual charge circuits for each cell • Safety timer cutout 95 • Mains powered $ • Dimensions: 71(W) x 118(H) x 30(D)mm MB-3568 49 Wind / Solar LED Garden Lights SAVE $200 00 With two sources of alternative energy available, you'll be able to always keep these weatherproof garden lights shining. The power generator has a 200mW solar panel and a wind generator that both recharges the built-in rechargeable battery to power the lights at night. Renewable energy is expanding at an unprecedented rate. Solar panels are now commonplace and can be seen on suburban rooftops, factories and shops. Wind farms are a growth industry and small scale wind generators are commonly available, not to mention biofuels and micro hydro systems. This book explains renewable energy in an easy-to-read and understand format. 00 Alkaline / Ni-Cd / Ni-MH Battery Charger 899 00 $ Renewable Energy Design, Installation & Use As well as the 200W model we now have a super-compact 300W version, and a big 500W unit for those who want to generate some serious power. All models feature external charge controllers with three-phase AC output, so you can install a long cable run without worrying about DC voltage drop. NOTE: All wind generator models are supplied without mounting tower and associated mounting hardware. WARNING: These wind generators are suitable for permanent terrestrial installations ONLY! 14 95 29 95 MASSIVE SAVINGS With 5VDC output at 1.0A, this little AC power adaptor can to charge pretty much any mobile phone or USB device, including all iPods® and iPhone® models. Also features worldwide voltage input making it great for travellers. Just connect your USB charging cable (not included) and away you go. • Input voltage: 100-240VAC, 50/60Hz • Output: 5VDC, 1.0A • Dimensions: 40(dia) x 27(L)mm $ MP-3455 $ • Dimensions: 465(L) x 280(W) x 120(H)mm MI-5180 WAS $1099.00 Mini USB Power Adaptor - 1A 38 95 • Weatherproof • 12 metre cable • Includes 3 x LED spotlights • Dimensions: 430(L) x 70(W)mm • Blade diameter: 300mm MG-4560 WAS $99.95 89 95 $ SAVE $10 00 $ Powertech Monocrystalline Solar Panels Great new prices As strong and tough as the better known brands, but at a more attractive price. • Sizes range from 5 watts to a massive 175 watts • For full technical spec ask in-store or visit online • QC tested - all come with test certificate • 20 year limited warranty 12V 5 Watt 12V 10 Watt 12V 20 Watt 12V 40 Watt 12V 65 Watt 12V 80 Watt 12V 120 Watt 24V 175 Watt CAT ZM-9091 ZM-9093 ZM-9094 ZM-9095 ZM-9096 ZM-9097 ZM-9098 ZM-9099 WAS $39.95 $89.95 $129.00 $249.00 $399.00 $449.00 $695.00 $949.00 NOW $34.95 $64.95 $119.00 $225.00 $359.00 $429.00 $639.00 $899.00 SAVE $5.00 $25.00 $10.00 $24.00 $40.00 $20.00 $56.00 $50.00 All Savings are based on Original RRP Limited stock on sale items. To order call 1800 022 888 3 Home Alarm Systems 4 Zone Security Alarm with 2 Wire Technology All system components (sensors, sirens) are connected to the control unit via a two core flat wire. The unit has a built- in keypad with status LED & three modes of operation (Home, Out, Off). All sensors and sounders are line protected so any attempt to interfere will sound the alarm. Supplied with: • Four-Zone system to set up multiple zones which can be monitored or enable independently (i.e. upstairs/downstairs or house & garage etc.) • Main control unit • Two PIRs • Four door or window contact switches • External switch • External siren/strobe included • 240VAC adaptor • 50m two-core flat wire clips • Screw/wall plugs • Main unit: 160(H) x 185(W) x 35(D)mm LA-5475 2.5" CCTV Field Monitor 99 00 $ SAVE $50 00 • 10 programmable zones • 4 access levels • Walk test mode • Events memory in keypads • Programmable timers for entry, exit and alarm duration Both kits come with the following: • 1 x control panel • 1 x Bellbox • 1 x 12V 1.2Ah backup battery 149 00 $ Dramatically reduce the cost of your next CCTV installation. Run composite video and power from CCTV cameras over distances up to 500m on UTP - no coax or separate power supplies required. Suitable for cameras that operate on 12VDC <at> 350mA max. With a built in DSP, it eliminates any interference picked up within the length of the cable providing you FROM with crystal clear video images. 95 $ 59 SAVE $30 00 4-Channel CCTV Video/Power Processor • Dimensions: 145(L) x 80(W) x 28(H)mm QC-3265 WAS $299.00 NOW $229.00 SAVE $70.00 The Digitech handheld micro inspection camera allows you to perform a detailed visual inspection in hard to reach areas. Its pistol grip design and detachable 2.4GHz monitor make it easy to locate and diagnose the unreachable. Requires 4 x AA Batteries. Camera: • Image sensor: CMOS • Resolution: 704 x 576 pixels • Dimensions: 186(W) x 41(H) x 145(D)mm (Excluding gooseneck) Monitor: 00 $ • LCD Screen Type: 2.5" TFT-LCD • Effective pixels: 480 x 240 SAVE $50 00 • AV output for recording • Dimensions: 100(W) x 70(D) x 30(H)mm QC-8700 WAS $249.00 199 Biometric Fingerprint ID Access Control Control a single door or use multiple units on a site connected to a PC via an RS232, RS485 or Ethernet connection. Up to 500 users can be enrolled and each have access restricted to certain times. Software included. • 12VDC 3A relay output • Requires 9VDC <at> 500mA • Dimensions: 180(L) x 00 $ 82(W) x 55(H)mm $ SAVE 300 00 LA-5121 WAS $499.00 Also available Universal RFID/Fingerprint Access Controller LA-5122 WAS $299.00 NOW $159.00 SAVE $140.00 199 Wireless Digital Mini DVR Systems These mini DVR systems operate on the 2.4GHz digital band which means stable, interference free transmissions. No cabling means easy set up. Great for a wide range of applications. Two models are available, both include one colour outdoor day/night camera with motion sensor, a ball & socket mounting bracket, and utilise channel hopping to prevent interference. Both have easy to navigate system settings, manual recording, schedule recording or record with motion detection. Both use SD cards (not included) to store FROM video and playback is via the SD card to a PC. 299 $ 00 QC-3630 2.4GHz Digital Wireless Receiver with Camera QC-3630 $299.00 2.4GHz Digital Wireless Display/ Receiver with Camera and Integrated 7" LCD QC-3632 $399.00 Additional or spare camera: QC-3634 $189.00 www.jaycar.com.au QC-3632 Limited stock on sale items. All Savings are based on Original RRP LA-5562 shown Alarm with LED Controller 1 x Reed switch, 2 x PIR sensors, 1 x 50m cable LA-5560 $299.00 Alarm with LCD Controller 2 x Reed switch, 4 x PIR sensors, 2 x 50m cable LA-5562 $399.00 FROM 299 00 Spare controllers and sensors also available: LED Remote Controller LA-5561 $49.95 LCD Remote Controller LA-5563 $69.95 PIR Sensor LA-5564 $29.95 $ Professional Cameras 550 TVL ExView Colour CCD - Pro Style A high resolution Sony ExView HAD CCD-equipped camera to dramatically improve low light performance. Ideal for use with infrared illuminators & features high speed electronic shutter, back light compensation & 3 stage automatic gain control. • Sensor resolution (H x V pixels): 752 x 582 • Resolution: 540 TVL • Power: 24VAC/12VDC • Weight: 500g QC-8622 WAS $299.00 249 00 $ Also available: SAVE $50 00 Pro 550TVL Dual Voltage CCD Camera QC-8623 WAS $399.00 NOW $349.00 SAVE $50.00 Camera Lenses These high quality C mount lenses have been carefully selected to match our range of professional cameras. Mounting adaptors included. 4mm Lens 80˚ viewing angle QC-3315 WAS $24.95 NOW $19.95 SAVE $5.00 6mm Lens 53˚ viewing angle QC-3316 WAS $24.95 NOW $19.95 SAVE $5.00 8mm Lens 40˚ viewing angle QC-3317 WAS $24.95 NOW $19.95 SAVE $5.00 19 95 ea $ SAVE $5 00 Security 2-Wire CCTV Video/Power Processor Two types available: Single Channel CCTV Video/Power Processor • Video output 1Vp-p 75-ohm • Dimensions: 110(L) x 72(W) x 28(H)mm QC-3263 WAS $89.95 NOW $59.95 SAVE $30.00 Fully configurable and programmable, these wired alarm kits give you complete control over a professional system for home or business. Each comes with a central controller and the sensors you need to get a basic system up and running, then you can add sensors and functionality as required. Up to four remote keypads can be installed at up to 100m range and each can be named for easy identification. Handheld Micro Inspection Camera The smallest and lightest CCTV monitor on the market. Setting up and debugging CCTV and surveillance systems has never been easier. Rechargeable and ultra-portable. Complete with BNC cable, instruction manual and charger. • Pixel: 480 x 234 • Power: 5VDC • Video input: PAL • Dimensions: 85(L) x 64(W) x 20(D)mm QM-3821 WAS $149.00 Accessories sold separately Extra PIR with dual-element passive infra-red intrusion detector LA-5476 $29.95 A long range curtain lens with a vertical beam LA-5473 $6.95 Pet Alley Lens - Allows pets to move around in a protected area without setting off the alarm LA-5471 $6.95 10 Zone Wired Alarm Kits 4 Travel Companion! DEAL BUY BOTH FOR $158.95 & SAVE $40 7" TFT LCD Widescreen Colour Monitor A truly versatile monitor with low power consumption, wide viewing angle and NTSC and PAL compatibility. Suitable for in-car entertainment, use it to watch DVDs, PS2®, XBOX®, etc. Unit comes with an adjustable swivel bracket with double sided tape for adhesion on clean flat surfaces. A very slim and small infrared remote control is included. • Power input: 12VDC • High resolution wide screen format • Ideal for rear seat passengers $ QM-3752 Auto & Outdoors With improved heat sinks and upgraded low-profile chassis design, each model delivers surprising grunt and performance in a sleek and compact package that fits neatly under a car seat. All include gold plated power and speaker terminals and variable low pass filters. Our class AB amps come with variable high pass filters and pass through RCAs; while our class D subwoofer amps feature variable subsonic filter, phase shift and master/slave operation. Having the kids watching DVDs in the back of the car is all very nice, but you don't want to be blasted with endless episodes of Spongebob Squarepants or The Wiggles for hour after hour. Add a pair of wireless headphones and enjoy automotive bliss. Soft cushioned earpads for comfort, switchable between channel A and B. Save energy with one of these solar spotlights! When darkness falls, the spotlight switches on automatically. They use high-powered LEDs and a built-in solar panel to charge the internal batteries during the day and allows the system to operate during the night. Solar Powered LED Spotlight with Passive Infrared Motion Sensor • 30 LEDs • Illumination duration: 20, 40, or 90 sec. PIR controlled • PIR Sensing range: 00 $ 15 metres $ SAVE 30 00 SL-2718 WAS $99.00 69 Solar Powered LED Spotlight • 30 LEDs • Illumination 00 $ duration: 10 hours SL-2716 SAVE $50 00 WAS $149.00 38Ch 0.5W Transceiver This lightweight hand-held transceiver is suitable for all professional and recreational activities such as hiking, boating, kayaking, building sites, IT-cablers, electricians, inter-car road trip communication or farming, etc. Open field transmission range is up to 5km, with typical city range up to one kilometre. • Covers Australian 38 UHF CB channels and repeaters • Green backlit LCD screen • 0.5W maximum RF output • Range up to 5km $39 95 • No licence required • Requires 4 x AAA $10 00 • Dimensions: 105(H) x SAVE 60(W) x 35(D)mm DC-1023 WAS $49.95 59 49 Solar Lighting Kit 45W Solar Lighting Kit Just add a battery and you have a complete solar-powered lighting setup. With 45 watts output, it's enough to run auxiliary lights on a farm shed or holiday house. A variety of output options including a 5V USB port and a 12V cigarette lighter socket. Panels, mounting hardware, lights, cable, junction box and charge controller included. Power output: 15 watts per panel, Nominal voltage output: 14.5VDC Outputs: 3V, 6V, 9V, 12V, 5V USB. Panel dimensions: 925(L) x 315(W) x 22(D)mm 399 00 $ SAVE $100 00 4 x 100WRMS Class AB Amplifier Dimensions: 436(L) x 235(W) x 58(D)mm AA-0453 WAS $299.00 NOW $249.00 SAVE $50.00 FROM 129 00 $ SAVE OVER 15% Vifa Subwoofers • Accuracy of .04mg/L 95 $ • Backlit LCD $ • Requires 3 x AAA batteries SAVE 10 00 QM-7296 WAS $69.95 Also available: Replacement mouth piece QM-7297 WAS $9.95 $ NOW $6.95 SAVE $3.00 SAVE $10 00 2 x 150WRMS Class AB Amplifier Dimensions: 376(L) x 235(W) x 58(D)mm AA-0452 WAS $229.00 NOW $199.00 SAVE $30.00 1000WRMS Linkable Class D Subwoofer Amplifier Dimensions: 306(L) x 178(W) x 58(D)mm AA-0455 WAS $369.00 NOW $329.00 SAVE $40.00 Don’t get behind the wheel if you're over the limit. Test yourself first with your own breathalyser. It takes a reading in less than five seconds and can sound an alarm at a preset level. 95 4 x 50WRMS Class AB Amplifier Dimensions: 316(L) x 235(W) x 58(D)mm AA-0451 WAS $199.00 NOW $169.00 SAVE $30.00 500WRMS Linkable Class D Subwoofer Amplifier Dimensions: 232(L) x 178(W) x 58(D)mm AA-0454 WAS $249.00 NOW $219.00 SAVE $30.00 LCD Alcohol Tester 99 $ 2 x 80WRMS Class AB Amplifier Dimensions: 266(L) x 235(W) x 58(D)mm AA-0450 WAS $149.00 NOW $129.00 SAVE $20.00 39 95 Solar Powered LED Garden Lights Recommended battery: 15 - 45Ah MP-4554 WAS $499.00 Also available 10W Solar Lighting Kit MP-4552 WAS $219.00 NOW $149.00 SAVE $70.00 Limited Stock Wireless Stereo Headphones • Driver diameter: 27mm • Nominal impedance: 32 ohms • Frequency response: 120Hz - 20kHz $ • Sensitivity: 100dB AA-2047 Also suits our Headrest DVD Monitor on Page 1 159 00 Solar Powered LED Garden Spotlight • 11 LEDs • Illumination duration: 10 hours SL-2714 WAS $59.95 Response Precision Car Amplifiers Please note: this product is intended to give an indicative reading only and is carries no guarantee of accuracy. Jaycar accepts no responsibility for any consequence arising from the use of this device. These premium range Vifa car subwoofers produce genuine high fidelity sound quality. With dual voice coils, high power handling and die-cast aluminium chassis, they don't just deliver brilliant low-register bass clarity but also thump tremendous SPLs like only Vifa speakers can. 10" or 12" models available. 00 $ 10" Subwoofer $ 200WRMS <at> 2 x 4 ohms SAVE 20 00 CS-2351 WAS $249.00 229 12" Subwoofer 250WRMS <at> 2 x 4 ohms CS-2353 WAS $299.00 269 00 $ SAVE $30 00 Wireless Weather Stations Perfect for the enthusiast forecaster or professional alike, they utilise a collection of wireless environmental sensors that transmit data to a base station to keep you updated on current and future weather conditions. Both will measure indoor/outdoor temperature, humidity, rain, wind speed, wind chill, and displays the date/time. Both feature: 00 $ • Display in Celsius or Fahrenheit SAVE $50 00 • Records all min/max values with time and date of their recordings • Storm warning alarm • Solar powered sensors 99 Wireless Weather Station - Basic • Wireless transmission range 50m XC-0346 WAS $149.00 Touchscreen Wireless Weather Station with Computer Interface • Touch screen LCD panel, LED backlight • Connect to your computer through USB, download, store and analyse weather data • Weather forecast tendency arrow 00 • Wireless transmission range 50m $ XC-0348 WAS $199.00 SAVE $50 00 XC-0346 XC-0348 149 Better, More Technical All Savings are based on Original RRP Limited stock on sale items. To order call 1800 022 888 5 Camping Gear - 12VDC Camping Shower Portable Stove Stainless Steel Travel Mug Wash away the cares of the day with a warm bucket of water and this excellent camping shower. Simply plugs into your car's cigarette lighter and away you go. Pump, tubing, showerhead, hanging hook, carry bag and 4.8m power cable all included. YS-2800 95 $ Cooks, warms or reheats at up to 125°C. Deep lid design, with a case made from durable ABS plastic and carrying handles. • Measures: 265(L) x 180(W) x 155(H)mm YS-2808 This handy travel mug has a builtin, thermostatically controlled heater and will maintain one of four selectable preset temperature settings ranging from room temp to very hot. 95 $ • Holds 500ml 24 49 95 $ Modified Sinewave Inverters These inverters will produce mains power from your vehicle's battery. A 150W inverter will run some laptops, lights, small TVs & recharge batteries. Inverters 300W & above will also recharge power tools, run fluorescents & larger FROM style TVs. Take your creature comforts with 95 $ you when you go bush or on any road trip. 150W 12VDC to 230VAC MI-5102 $49.95 49 NEW prices 300W 12VDC to 230VAC MI-5104 WAS $79.95 NOW $69.95 SAVE $10.00 Features a super powerful 12V 100Watt Halogen globe. A switch for dim lighting to conserve power when high brightness is not required, and twin fluorescent globes for reading or as a work light. The spotlight is powered by a rechargeable 12V 7Ah battery that can be charged either at home or in the car. • Battery: 12V 7Ah SLA • Lens Diameter: 180mm • Supplied with mains, in-car charger and carry strap. ST-3308 WAS $89.95 69 95 $ SAVE $20 00 Ideal for use in caravans, boats, 4WDs and cars. This 12V auto work lamp draws a little over an amp and is supplied with 4.5m power cord and a cigarette lighter socket for easy connection. 95 600W 12VDC to 230VAC MI-5108 WAS $199.00 NOW $169.00 SAVE $30.00 800 Watt 12VDC to 230VAC MI-5110 WAS $249.00 NOW $199.00 SAVE $50.00 • Length 320mm ST-3032 WAS $17.95 1000 Watt 12VDC to 230VAC MI-5112 WAS $329.00 NOW $299.00 SAVE $30.00 12 $ SAVE $5 00 E-Charger Power Bank 12V/USB Charger 1500 Watt 12VDC to 230VAC MI-5114 WAS $499.00 NOW $449.00 SAVE $50.00 This unit is designed for use on 12V vehicles and will assist if the starter motor turns the engine over too 95 $ slowly to start. With a USB and a female automotive accessory socket , this unit also SAVE $35 00 serves as a back-up device for other equipment such as mobile phones, PDAs and iPods®. See our website for full specifications. 34 2000 Watt 24VDC to 230VAC MI-5116 WAS $599.00 NOW $549.00 SAVE $50.00 BIG Savings on Inverters 10 Million Candle Power Spotlight with Fluoro Reading Light 12V Auto Work Light 400W 24VDC to 230VAC MI-5107 WAS $139.00 NOW $99.00 SAVE $40.00 Pure sinewave inverters also available. See in-store or on website. • Includes 1.5m detachable 12V power lead with cigarette lighter plug GH-1301 Save Over 20% • Mains Powered MB-3597 WAS $69.95 Budget DVR Kits with Colour Cameras Ideally suited to smaller surveillance installations around the home or office. These 4 channel systems can store over 150 hours of video on the 320GB HDD. Recorded video is indexed in an event log and can be viewed via a computer or FROM external monitor. Complete with weather resistant IR cameras, cables, remote control and mains adaptors. 00 $ DVR Camera • 4 x camera inputs • CMOS sensor, 350TV lines SAVE OVER • 1 x composite video output QV-3024 shown • Inbuilt infrared illumination 20% • MJPEG compression • Day/night operation • SATA hard drive interface • 320GB Seagate SV35 Surveillance Hard Drive Two models available: 4 Channel DVR Kit with 2 IR Cameras QV-3020 WAS $499.00 NOW $379.00 SAVE $120.00 4 Channel DVR Kit with 4 IR Cameras QV-3024 WAS $599.00 NOW $499.00 SAVE $100.00 379 www.jaycar.com.au Limited stock on sale items. All Savings are based on Original RRP Handy for 4WD and camping use, this three metre extension cord retracts into its rugged housing to keep it protected and tangle free. • 5 amp fuse • Power indicator PP-1990 WAS $16.95 12 95 $ SAVE $4 00 Colour CCD Reversing Cameras Mini Colour CCD Reversing Camera Suitable for larger vehicles like trucks, buses and trailers where getting a clear view of the surroundings can be difficult or impossible. This uniquely designed reversing mini-camera uses a mounting bracket for easy vehicle attachment and combines power/video into one lead. • Waterproof (IP68) colour CCD camera • Image sensor:1/4" colour CCD • Power supply: 9-12VDC • Camera size: 18mm (Dia) QC-3727 WAS $249.00 149 00 $ SAVE $100 00 Flush Mount Colour CCD Reversing Camera This camera is specifically designed for rear-view systems in cars and trucks.It comes with a detachable video and power lead so you can easily run the cable back to the monitor. An image reversal lead is fitted and the camera will operate in 'reverse mode' or ' normal mode', depending on how it's wired up. • Resolution: 380 TV lines 00 $ • Sensor: 1/4" CCD colour sensor • Viewing angle: 150 deg SAVE $100 00 • Supply voltage: 12VDC <at> 75mA • Measures 22(dia) x 40(L)mm Ready for caravans QC-3728 WAS $249.00 149 Network DVR with 10" Monitor & Camera Kit This surveillance package offers exceptional value for money. It includes 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 18 cables and power supplies. Everything you need in one box! Recording can be started manually, by programming or by triggered alarm conditions. The main feature is the Smart Phone support and the iPhone® app you can download from iTunes® to view live or recorded footage*. Monitoring may be done real-time on a monitor, LAN network, via internet or Smart Phone. The DVR functions can be controlled by mouse or the IR remote control. • DVR dimensions: 208(L) x 85(W) x 242(H)mm $ • Camera dimensions: 115(L) x 45(H)mm 699 00 *App is free for single use and may incur a charge for multi-user QV-3030 WAS $799.00 SAVE $100 00 Camping & Security 400W 12VDC to 230VAC MI-5106 WAS $139.00 NOW $99.00 SAVE $40.00 29 Retractable Cigarette Lighter Extension Cord 6 Gas Soldering Iron Kit Everything you need to solder, silver solder, braze, heatshrink or strip paint etc. Refillable with stand, extra tips, 95 $ torch and cutting attachment. 29 SAVE $10 00 • 3 soldering tips • 1 torch attachment • 1 rope cutter • 178mm long TS-1112 WAS $39.95 Engrave your valuables for security or insurance. The tiny diamond coated tip spins at 10,000 RPM so you can personalise tools, sporting gear, toys, security ID on valuables etc. Engraves glass, ceramics, metals and plastics. Batteries 95 $ and case included. Tip is replaceable. • Size: 160(L) x 15(Dia)mm TD-2468 Replacement tip sold separately Cat TD-2469 $6.95 Atmel 328 Development Module 19 An electronic tool kit with all the essentials - cutters, pliers, Phillips head, slotted, Pozidriv, nut drivers etc. screwdrivers etc. Ideal kit for computer service people. See website for full contents. • Case size: 220(L) x 130(W) x 45(D)mm TD-2457 • Case size: 210(L) x 140(W) x 38(D)mm TD-2107 9 $ 95 • 99.8% Isopropyl Alcohol • 250ml Bottle NA-1066 8 $ 95 Cyanoacrylate, better known as super glue is tenacious in sticking skin together, and has been exploited as an alternative to surgical sutures. Debonder will quickly and painlessly separate skin stuck with super glue. $ 95 30 Piece Electronic Tool Kit All the bits you need for your rotary tool to grind, polish, cut, sand or clean. All housed in a durable case with transparent lid and carry handle. See website for full contents. The most useful service aids you can have around. Use as head cleaning, surface cleaning and prep, contact cleaning, stain removal in the laundry etc. It's also a medical-grade surface disinfectant. Easy to use pump pack spray bottle & dries quickly. Super Glue Debonder 20ml 4 60 Piece Rotary Tool Bit Set 19 95 $ Isopropyl Alcohol 99.8% Spray ProtoShield Basic for Arduino • Yellow solder mask • Mounting pads for: reset button, power on LED and current-limiting resistor & power supply capacitors • Size: 59(L) x 53(W)mm $ 45 XC-4214 39 Solder Flux Gel Paste 10g Syringe A mildly activated, resin-based flux formulation developed for a wide range of applications, leaving a pin-probeable residue. Very low post-process residue, which remains clear and probable even at the higher temperatures required for lead free solders. • 10g syringe • Superior wetting • Suitable for lead-free solders • Reduces or eliminates voiding NS-3039 The ProtoShield Basic is a low-cost Arduino prototyping shield that enables you to make more durable projects. It fits directly onto an Arduino or Freeduino compatible board and has a large area in the middle where you can solder on your own parts. The PCB surface is gold-plated for maximum durability. A copy of the exact Arduino Duemilanove board. It contains the AT Mega 328 microprocessor with a boot loader program so that you can communicate with it at switch-on. It has the standard I/O and is 100% compatible with the original Arduino concept. It contains some documentation and assembly instructions. 95 $ XC-4210 Tools/Test Handy Service Aids! Micro Engraver 29 95 1 20ml bottle with applicator NA-1501 WAS $3.95 SAVE $2 00 Chip Quik SMD Removal Kit Chip Quick is a low melting point solder product that maintains the molten state of a row of pins. It even works $29 95 on PLCC chips. Essential rework tool for anyone who uses SMD components. 1cc lead-free alloy SAVE $10 00 kit will remove 8 - 10 SMD PLCC chips. NS-3050 WAS $39.95 $ Savings on Test Equipment! Semiconductor Component Analyser Digital Lightmeter Intelligent semiconductor analyser that offers simple identification and testing of a variety of 2 or 3-pin devices. Type and lead identification as well as forward voltage, test current and other parameters for transistors. A handy lightmeter for photography, lab work, architectural, engineering and construction. 3 ranges to .01 to 50,000 lux. Battery and sensor cover included. • Automatic type identification of BJTs, Darlington, MOSFETs, JFETs, triacs, thyristors, LEDs, diodes and diode networks • Gain and leakage current measurement for BJTs • Silicon and germanium detection for BJTs • Forward voltage and test current 00 $ • Dimensions: 100(W) x 71(H) x 27(D)mm $ QT-2216 WAS $99.00 SAVE 20 00 79 Coax Cable Tester Simply connect it to the F-connector and it will give you an audible signal and a red/green go/no go signal to tell you if there's a short, an open in your cable or connectors. The F-connector is removable, so you can fit an adaptor for different types of connectors. • Machined from aluminium • Requires 1 x AAA battery • 100mm long QP-2289 WAS $36.95 29 95 $ Just crank the handle for 10 seconds to provide power for approx 10 minutes operation. Ideal for electrical emergencies on the car or boat. The unit also has provision to be powered by 2 x CR2032 batteries for those days when kinetic energy is not available. SAVE $5 00 • Measures 0.01 to 50,000 Lux • 1999 Count LCD • Battery: 1 x A23 (12V) • Dimensions: 188(L) x 64(W) x 24.5(D)mm QM-1587 WAS $49.95 • No batteries required 95 $ • Data hold $ • 10A current SAVE 35 00 • Display: 4000 count • Dimensions: 152(L) x 78(W) x 45(D)mm QM-1547 WAS $79.95 44 12VDC Voltage Polarity Easy Tester 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. 95 $ • Dimensions: 51(L) x 44(W) x 29(H)mm QP-2215 WAS $24.95 SAVE 7 $ 00 Better, More Technical Cat III Dynamo-Powered DMM 44 95 $ All Savings are based on Original RRP Limited stock on sale items. 19 SAVE $5 00 Mini Non-Contact IR IP67 Thermometer Ultra compact, non-contact thermometer. IP67 rated so is ideal for industrial and lab applications. LCD readout gives temperature in Celsius or Fahrenheit. Batteries and lanyard included. • Measurement range: -33 - 110°C (-27 - 230°F) • Accuracy: ±1°C 95 $ • Response time: 1 second • Size: 82(L) x 17(Dia) $ SAVE 10 00 QM-7218 WAS $39.95 29 To order call 1800 022 888 7 USB Optical Mouse with Number Keypad 3 Speed Belt Drive Turntable with Analogue and USB Audio Output This handy turntable is perfect for playing old vinyl records. You can also make back-up copies in a convenient digital format via the USB connection. The turntable plays singles, EPs, albums and even your old 78s. • Analogue or digital audio output • 33/45/78 rpm • 240 volt powered • Magnetic cartridge • NAB centre adaptor GE-4059 00 $ WAS $79.00 • Measures: 67(W) x 110(L) x 20(H)mm XM-5138 WAS $37.95 SAVE 40 USB Powered Extension Lead with 4-Port Hub Extend your printer or any other USB device as far as 10 metres away from your PC. A 4-port hub adds extra flexibility. Powered by USB from the host computer. XC-4122 WAS $49.95 19 95 $ SAVE $18 00 Slides into the PCMCIA slot of a laptop and utilises biometric technology to identify authorised users of the computer. Mainly intended for laptops but can be used on any computer with a PCMCIA slot. Software included. 00 Keyboard, Mouse, Monitor Lead for P/S2 Switchbox Combined Keyboard, Mouse and Monitor lead to provide a neat connection between your computer and PS/2 Switchbox (XC5066). A considerable saving compared to buying three separate cables. • Dimensions: 90(L) x 54(W) x 4.8(H)mm XC-4843 WAS $129.00 SAVE $10 00 Just touch the top and your USB hub will rise from the surface of your desk to do your bidding. Touch it again and it lowers itself back into place and out of the way. It has 3 USB 2.0 ports and also acts as a cable grommet to keep all your computer cables neat and tidy. • Powered by USB • Mounting hole: 75mm • Mounting depth: 70mm • Diameter: 92mm XC-4877 WAS $29.95 59 00 $ SAVE $70 00 9 $ 95 SAVE $20 00 USB to 1080p HDMI • 1 metre • Colour coded connectors • Ferrite suppression on monitor lead WC-7570 WAS $19.95 SAVE $10 00 Excellent for on-the-go online video conferencing or chatting. It has a built-in microphone to keep setup to a minimum. Comfortably mounts on top of a thin LCD laptop screen. Buy a • Lightweight • backlight button • Charges via USB XC-4894 WAS $99.95 Gift Card today! 19 95 $ SAVE $10 00 39 95 $ SAVE $60 00 Silicone Hard Drive Protectors 8-Port Hub Switch High performance 8 port, 10/100/1000 N-Way switch increases network performance and reduces congestion. The switch also supports auto-negotiation which allows each port to be operated at a different speed while maintaining maximum throughput. Plugpack included. Max cable length: 100 metres Transmission speed: 10/100/1000Mbps Size: 180(W) x 103(D) x 27(H)mm YN-8087 WAS $99.00 79 $ SAVE $20 00 Clip this onto the end of an old IDE hard drive and the drive can then be used in our SATA docks or inside personal computers that lack IDE data and power connectors. A simple method for upgrading IDE drives. Compatible with: Maxtor, Samsung, IBM, Hitachi, Seagate Hard drives. 95 $ 8 Dimensions 3.5" 158 x 118 x 33mm 2.5" 107 x 80 x 18mm XC-4650 00 IDE to SATA HDD Upgrade Panel Provides a layer of cushion against shock and impact for either a 3.5" or 2.5" hard disk drive (HDD). They are a two piece design with the smaller piece removable to enable the HDD to be plugged into one of our HDD docking stations, and the larger piece stays on which keeps most of the HDD still protected. Supplied in a pack of two, designed for a 3.5" $ 95 and 2.5" HDD. Dimensions: 120(W) x 25(H) x 62(D)mm XC-4970 WAS $24.95 3.5” shown only 14 SAVE $10 00 Security Accessories Savings Large Alarm Sticker Dummy IR Camera For trucks, caravans, houses, offices and factories where a larger and more prominent deterent sticker is required. Visible deterrence is an important aspect of security. This dummy camera looks totally convincing - it has genuinelooking IR LEDs and a real LED that adds to the illusion. Add a couple of warning signs and your place looks like it has CCTV surveillance. • Requires 2 x AA batteries • Mounting hardware included • Dimensions: 175(L) x 85(Dia)mm LA-5325 WAS $24.95 • Sticks to outside of window • Measures: 120 x 80mm LA-5102 WAS $2.95 1 $ 95 SAVE $1 00 Oval Car Alarm Window Sticker 19 95 $ SAVE 5 2 www.jaycar.com.au No one will know that you don't have the full system. Looks like the real thing and the bad guys will move on to an easier target. Kit includes siren cover, strobe and alarm warning label. LA-5130 95 $ WAS $49.95 39 SAVE $10 00 Ideal for cars & trucks and tells would-be thieves that the vehicle is protected. Sticks to the inside of the window and measures approximately 60 x 23mm. Packet of 2. $ 95 LA-5104 WAS $3.95 SAVE $1 00 $ 00 Make Your Home Look Alarmed Limited stock on sale items. All Savings are based on Original RRP IT & Comms Listen to your iPod® or MP3 player without missing a call from your mobile phone. It connects to the headphone jack of your iPod® or music source and will cut out the music to allow the call. Supplied with a 1.5m USB lead, 730mm sound source interface lead and bud-style earphones. 9 $ 95 Tiny 300k Notebook USB Webcam • Driverless, plug and play • Dimensions: 28(W) x 59(H) x14(D)mm QC-3231 WAS $29.95 39 95 $ 3-Port Motorised Retracting USB Hub PCMCIA Fingerprint ID for Laptops 39 $ A combination USB keypad and mouse. Simply plugs into the computer's USB port and gives you a full function numeric keypad and mouse. Lead length 700mm. USB Powered! 8 Pre-Catalogue Clearance Sale Buy Now & Save $$$ Over 20 to 80% OFF ALL Listed Items Listed below are a number of discontinued (but still good) items that we can no longer afford to hold in stock. We need more space in our stores! You can get most of these items from your local store but we cannot 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 disappointment. Sorry NO rainchecks! Audio & Video Products Pre-Catalogue Sale Product Description AV Sender Dual Channel AV Sender/Receiver 2.4GHz Bluetooth Stereo Adaptor Cable - Audio Supra 8 GA High Performance Tin Plated OFC Black Cable - Audio Supra 8 GA High Performance Tin Plated OFC Red Cable - Coax 75R RG6 Belden Cable - Microphone 2-Core Screen Black Cable - Microphone 2-Core Screen Pro Black Cable - Speaker 4 Core Twisted Cable - Speaker Red & Blue 2 Core Twisted Cable - Speaker Red & White 2 Core Twisted Cable - Speaker Supra Classic 2 Core OFC Cable - Speaker Supra Classic 2 Core OFC with Halogen Free Jacket Cable - Speaker Supra High Power OFC Screened Cable - Speaker Supra Rondo 2 Core Twisted OFC Cable - Speaker Supra Rondo 4 Core Twisted OFC Cable - Speaker Supra Screened Loudspeaker Cat-6 200MHz Solid Strand UTP Network Cable Crossover Inductor 1.6MH Distribution Amplifier 4 Output Video Distribution Amplifier Dual Output Video Mini LCD Screen Speaker Speaker Grille Clamp Kit - Pk.4 Speaker Grille Clamp Kit / ‘T’ nuts Transmitter - 2.4GHz Wireless Headphone USB Video Splitter Two Output Wall Plate Double HDMI Socket Automotive & Outdoor Products Product Description 2.5V 1W Torch Globe Bi-Pin Type 24V Jaffle Iron 24V Portable Stove 3 Way Speaker Crossovers 5” Car Speaker Grille - Pr 5” Speaker Grille Cable Automotive 25A Red Charger - Car 12VDC suit UHF CB Transceiver Charger - Car Mobile Phone Charger - Mains Suit UHF CB Transceiver Cliplights - Low Voltage Outdoor Lighting System Fixed Attenuators Halogen Globe 12V 50W Halogen Globe MR16 51mm 12V 20W Halogen Globe MR16 51mm 24V 50W Kit - Add-On Regulator For 12V Battery Chargers Kit - Variable Boost for Turbochargers Light-Sensitive Switch 240VAC 10A Mini Blade Fuse 3A Pink with Lamp Indicator Mini Blade Fuse 5A Orange with Lamp Indicator NE-2 90 Volt Neon Lamp with 150K Resistor - 100 pack PAR-56 Black Can Light Piezo Horn Tweeter - 400W Self Contained Solar Lighting System Shielded VHF UHF Diplexer for Digital TV White 19 LED Indicator Replacement Globe for Cars Yellow 19 LED Indicator Replacement Globe for Cars Cat No Original RRP $ Special Price $ AR-1838 AR-1836 AR-1854 $99.95 $76.95 $69.95 $59.00 $40.95 $35.00 $41.95 $25.00 $44.95 WH-3059 $3.50 $1.50 $2.00 WH-3058 WB-2008 WB-1532 WB-1533 WB-1760 WB-1750 WB-1751 WB-1720 $3.50 $1.75 $5.50 $4.40 $2.30 $1.35 $1.35 $1.80 $1.50 $0.30 $1.90 $2.00 $1.00 $0.50 $0.50 $0.90 $2.00 $1.45 $3.60 $2.40 $1.30 $0.85 $0.85 $0.90 WB-1721 WB-1722 WB-1723 WB-1724 WB-1725 WB-2028 LF-1340 QC-3439 QC-3438 AS-3024 AX-3530 AX-3542 AA-2035 QC-3435 PS-0286 $5.95 $13.95 $5.95 $9.95 $7.95 $1.95 $9.95 $119.00 $89.00 $6.95 $1.95 $4.70 $99.95 $59.95 $29.95 $2.00 $7.00 $1.70 $4.00 $3.00 $0.40 $1.00 $89.00 $39.00 $2.00 $0.50 $1.50 $49.00 $29.00 $12.00 $3.95 $6.95 $4.25 $5.95 $4.95 $1.55 $8.95 $30.00 $50.00 $4.95 $1.45 $3.20 $50.95 $30.95 $17.95 Cat No Original RRP $ SL-3212 YS-2806 YS-2807 CX-2621 AX-3600 AX-3516 WH-3081 DC-1016 MB-3546 DC-1014 SL-2810 LT-3051 SL-2741 SL-2729 SL-2737 KA-1795 KC-5438 AA-0326 SF-5050 SF-5052 SL-2689 SL-2974 CT-1934 MP-4551 LT-3080 ZD-0311 ZD-0317 $1.20 $39.95 $49.95 $57.50 $9.95 $8.50 $1.50 $14.95 $19.95 $14.95 $1.75 $9.95 $7.95 $7.45 $8.95 $27.95 $19.95 $9.95 $1.25 $1.25 $22.50 $58.95 $29.95 $189.00 $69.95 $24.95 $17.95 $0.07 $12.00 $15.00 $40.00 $6.00 $3.00 $0.70 $2.50 $12.00 $2.50 $0.50 $3.00 $3.00 $3.00 $2.50 $20.00 $15.00 $3.00 $0.40 $0.40 $3.00 $39.00 $20.00 $99.00 $39.00 $15.00 $6.00 $1.13 $27.95 $34.95 $17.50 $3.95 $5.50 $0.80 $12.45 $7.95 $12.45 $1.25 $6.95 $4.95 $4.45 $6.45 $7.95 $4.95 $6.95 $0.85 $0.85 $19.50 $19.95 $9.95 $90.00 $30.95 $9.95 $11.95 Cat No Original RRP $ Special Price $ Save $ SL-3153 GG-2312 GH-1255 ST3--160 ST-3162 ST-3066 ST-3886 GH-1025 $22.95 $49.95 $79.95 $2.95 $2.95 $9.95 $19.95 $79.95 $9.00 $40.00 $15.00 $0.72 $0.72 $1.80 $10.00 $15.00 $13.95 $9.95 $64.95 $2.23 $2.23 $8.15 $9.95 $64.95 Special Price $ Save $ Save $ General Consumer Products Product Description 26W Compact Red Fluoro Light 6.5L Auto Rubbish Bin Deluxe Houseplant Watering System Glow Stick 6-inches Red Glow Stick 6-inches White LED Pen Glowlight Blue LED Recessed Light - Blue Magic Wave Speaker FM Radio Be sure to check out the full range of Clearance lines in-store or on the Web. Many items only have one or two units in a couple of stores and you can get a fantastic bargain if you ask. *Off Original RRP. Limited stock, no rainchecks, may not be available at all stores – call your local store to check stock details. Valid till 23rd March 2011 or while stocks last! Pedometer with Alarm and Radio Pink BBQ Tool Set Remote Command-A-Man Solar Powered Calculator with 3 Port USB Hub Spare R/C Helicopter Torch - Mini LED Blue Torch - Mini LED Red Wireless LED Wall Light XC-0327 GG-2307 GT-3170 XC-4846 GT-3219 ST-3380 ST-3384 ST-3178 $12.95 $24.95 $9.95 $29.95 $29.95 $4.50 $4.50 $29.95 $4.00 $10.00 $1.00 $9.00 $15.00 $1.50 $1.50 $10.00 $8.95 $14.95 $8.95 $20.95 $14.95 $3.00 $3.00 $19.95 Original RRP $ Special Price $ Save $ $0.25 $0.25 $0.25 $9.95 $9.95 $1.00 $6.95 $6.70 $4.95 $3.50 $4.50 $11.95 $7.95 $9.50 $24.95 $17.95 $4.95 $5.95 $99.00 $3.50 $28.00 $9.95 $9.95 $14.95 $16.95 $14.95 $16.95 $0.25 $29.95 $29.95 $29.95 $5.95 $24.95 $7.95 $24.95 $29.95 $24.95 $24.95 $19.95 $54.95 $12.95 $12.95 $12.95 $19.95 $19.95 $19.95 $6.95 $34.95 $4.20 $19.95 $19.95 $4.95 $3.95 $2.95 $2.95 $2.95 $4.45 $4.45 $4.45 $19.95 $0.40 $0.40 $0.07 $0.07 $0.07 $1.90 $3.00 $0.40 $4.00 $1.70 $3.00 $2.00 $3.00 $3.00 $0.80 $0.90 $6.00 $4.00 $1.70 $2.00 $30.00 $2.00 $8.00 $4.50 $5.00 $10.00 $9.00 $10.00 $10.00 $0.03 $12.00 $12.00 $12.00 $1.70 $15.00 $4.00 $4.00 $9.00 $6.00 $8.00 $12.00 $15.00 $5.00 $5.00 $4.00 $9.00 $9.00 $8.00 $3.00 $20.00 $2.00 $9.00 $8.00 $1.30 $1.30 $1.30 $1.30 $1.30 $1.50 $1.50 $1.50 $4.50 $0.09 $0.05 $0.18 $0.18 $0.18 $8.05 $6.95 $0.60 $2.95 $5.00 $1.95 $1.50 $1.50 $8.95 $7.15 $8.60 $18.95 $13.95 $3.25 $3.95 $69.00 $1.50 $20.00 $5.45 $4.95 $4.95 $7.95 $4.95 $6.95 $0.22 $17.95 $17.95 $17.95 $4.25 $9.95 $3.95 $20.95 $20.95 $18.95 $16.95 $7.95 $39.95 $7.95 $7.95 $8.95 $10.95 $10.95 $11.95 $3.95 $14.95 $2.20 $10.95 $11.95 $3.65 $2.65 $1.65 $1.65 $1.65 $2.95 $2.95 $2.95 $15.45 $0.31 $0.35 Hardcore Products Product Description Capacitor MKT 27N 100V Capacitor MKT 5N6 63V Capacitor MKT 8N2 100V Capacitor SMD Tantalum 220N 35V - Pk10 Capacitor SMD Tantalum 330N 35V - Pk10 Choke RF Axial 0U47H Collimator 25 Degree Connector BNC Plug Line For Digital Coax Gold Connector Push In-Sure 2 port Connector Push In-Sure 3 port Connector Push In-Sure 4 port Connector XLR 4-Pin Silver Amphenol Connector XLR 5-Pin Black Nexus Connector XLR 5-pin Female Chassis plug Connector XLR 5-pin Female Locking Chassis plug Connector XLR 5-Pin Silver Amphenol Diplay Panel 2Digit LCD - BARGAIN Epoxy Repair Putty 28g Fuel Cell Proton Exchange Membrane (PEM) - 300mW Futaba Servo Horn 3pc Set IC Command Control Decoder ZN409CE LED - Lens Luxeon Narrow Beam LED - Lens Luxeon Wide Beam LED 1W Luxeon Star Module Amber LED 1W Luxeon Star Module Green LED 1W Luxeon Star Module Red LED 1W Luxeon Star Module Royal Blue LED 3mm Yellow LED 3W Luxeon Star Module Amber LED 3W Luxeon Star Module Blue LED 3W Luxeon Star Module Green LED 5mm Clear LED Edixeon 3W Star Module White LED Flexible Strip 3 SMDs Blue LED Globe Mini Edison 6V LED Lamp MR16 12V 20xGreen LED Lamp MR16 12V 20xRed LED Lamp MR16 12V 20xYellow LED Lamp MR16 1W Luxeon White 12VAC LED SMD Module Strip 3x10 Pink 12VDC LED Super Bright 1 Watt Star Module - Blue LED Super Bright 1 Watt Star Module - Red LED Super Bright 1 Watt Star Module - Warm White LED Super Bright 3 Watt Star Module - Blue LED Super Bright 3 Watt Star Module - Red Master / Slave DC Switcher Single 240V GPO w/- Extra Switch Single Stage Classic Style Universal Joint (Female) Socket IC W/Wrap Machine 18Pin Switch - 12V Illuminated Momentary Red Switch - 12V Illuminated SPDT Momentary Green Switch - Mini Rocker Green DPST 6A 240VAC Switch - Mini Rocker SPST 6A 240VAC Illuminated Switch - PCB Keypad SPDT Momentary with Green LED Switch - PCB Keypad SPDT Momentary with Red LED Switch - PCB Keypad SPDT Momentary with Yellow LED Switch - PCB Tactile SPST with Blue LED Switch - PCB Tactile SPST with Green LED Switch - PCB Tactile SPST with Red LED Tip 2mm to Suit SMD Soldering Iron - Pk 2 Trimpot vertical mini 100K 10mm Trimpot vertical mini 2K 10mm Cat No RM-7090 RM-7050 RM-7060 RZ-6522 RZ-6524 LF-1508 HP-1294 PP-0654 HM-3260 HM-3262 HM-3264 PP-1044 PP-1078 PS-1079 PS-1076 PP-1072 QP-5514 NA-1520 ZM-9080 YG-2758 ZK-8827 ZD-0422 ZD-0420 ZD-0401 ZD-0402 ZD-0400 ZD-0406 ZD-1750 ZD-0434 ZD-0438 ZD-0436 ZD-1779 ZD-0532 ZD-0474 ZD-0300 ZD-0322 ZD-0323 ZD-0324 ZD-0340 ZD-0464 ZD-0506 ZD-0500 ZD-0510 ZD-0526 ZD-0520 AA-0230 PS-4044 YG-2606 PI-6494 SP-0750 SP-0753 SK-0989 SK-0985 SP-0776 SP-0775 SP-0778 SP-0617 SP-0616 SP-0615 TS-1701 RT-4043 RT-4035 Pre-Catalogue Clearance Sale 9 Buy Now & Save $$$ Over 20 to 80% OFF ALL Listed Items Listed below are a number of discontinued (but still good) items that we can no longer afford to hold in stock. We need more space in our stores! You can get most of these items from your local store but we cannot 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 disappointment. Sorry NO rainchecks! IT & Comms Products Product Description 2-Port PS2 KVM Switch 802.11n 4-Port Wireless Router Adaptor Null Modem Adaptor Socket D9 Serial - Socket PS2 Antenna - 2.4GHz Ceiling-Mount Antenna - 2.4GHz Wall-Mount Panel Antenna - 3.5GHz Flat Panel 12dB with Bracket ATA133 IDE Internal Cable 900mm Black Compact UPS 600VA 375W Digital Mobile Microscopes FME adaptor for Sierra 3g cards Lead PS2 Plug - 2 Socket Lightning Protector for 2.4GHz Systems Rhinestone USB Keyboard USB OTG Data Storage Bridge Wafer Card Emerald Wafer Card Fun Wafer Card Silver Original RRP $ YN-8097 YN-8303 PA-0883 PA-0947 AR-3271 AR-3275 AR-3274 PL-0974 MP-5220 QC-3246 AR-3314 PL-0877 AR-3278 GH-1899 XC-4962 ZZ-8820 ZZ-8806 ZZ-8810 59.95 $79.95 $8.95 $8.95 $49.95 $89.95 $119.95 $35.00 $119.00 $249.00 $14.95 $12.95 $89.95 $59.95 $59.95 $14.95 $12.95 $19.95 Cat No Original RRP $ WB-1592 LA-5210 LA-5361 QC-3423 $0.95 $79.95 $199.00 $49.95 Special Price $ $25.00 $40.00 $1.30 $0.60 $13.00 $25.00 $44.00 $7.00 $69.00 $99.00 $10.00 $4.00 $25.00 $35.00 $15.00 $7.00 $9.00 $8.00 Save $ $34.95 $39.95 $7.65 $8.35 $36.95 $64.95 $75.95 $28.00 $50.00 $150.00 $4.95 $8.95 $64.95 $24.95 $44.95 $7.95 $3.95 $11.95 Security & Surveillance Products Product Description Alarm Cable 6 Core Alarm Caravan 2 Zone 12V Alarm Panel 8-Zone 2-Partition Balun Cat 5 S-Video Special Price $ $0.40 $49.00 $99.00 $15.00 Save $ $0.55 $30.95 $100.00 $34.95 Camera - CCD Colour Pro Style Camera - CCD IR Colour IP57 Hi-res 480TVL Sony Camera - CCD Mini Colour Pinhole 350TVL Sony Camera - CCD Pro Colour Hi-res 520TVL Sony Camera - IR Colour IP57 Kit 2Wire Camera - Underwater Day/Night Colour Sony Sensor Camera - Zoom Colour 352X 480TVL Long Range Video Transmitter RFID Access Control Key Fob to Suit Module AA-0210 RFID Keypad Access Controller Solar Wireless Bellbox Siren/Strobe QC-3309 QC-3495 QC-3496 QC-3307 QC-3266 QC-3492 QC-3502 QC-3425 AA-0211 LA-5123 LA-5307 $179.00 $299.00 $99.00 $299.00 $149.00 $249.00 $599.00 $179.00 $16.95 $169.00 $199.00 $79.00 $149.00 $59.00 $199.00 $69.00 $79.00 $499.00 $49.00 $3.00 $50.00 $79.00 $100.00 $150.00 $40.00 $100.00 $80.00 $170.00 $100.00 $130.00 $13.95 $119.00 $120.00 Tools, Test & Power Products Product Description Cat No Battery Bank with Alligator Clips and Switch Battery Lithium Button 3V CR927 Battery Ni-Cd 4/5 Sub C 1.2V Bottle Opener with LED Torch and Knife Fast Ni-MH Battery Charger Kit Heavy Duty 70 Amp Battery Power Selector Polarity Checker Power Supply SMPS 5VDC 2A 2.5mm Plug Power Supply SMPS 6VDC 1.66A 2.5mm Plug Replacement Batteries for iPods TV/Video Resolution Chart Two Speed ‘T’ Bar 4.8 Volt Cordless Screwdriver Original RRP $ MP-3071 SB-2528 SB-1618 TH-1901 KC-5453 MB-3672 QP-2214 MP-3230 MP-3232 SB-2570 BJ-6025 TD-2492 $9.95 $3.35 $9.95 $11.95 $42.95 $99.95 $11.95 $23.95 $23.95 $23.95 $9.95 $29.95 Special Price $ Save $ $6.00 $0.50 $6.00 $3.00 $30.00 $39.00 $5.00 $8.00 $8.00 $8.00 $8.00 $12.00 $3.95 $2.85 $3.95 $8.95 $12.95 $60.95 $6.95 $15.95 $15.95 $15.95 $1.95 $17.95 Be sure to check out the full range of Clearance lines in-store or on the Web. Many items only have one or two units in a couple of stores and you can get a fantastic bargain if you ask. *Off Original RRP. Limited stock, no rainchecks, may not be available at all stores – call your local store to check stock details. Valid till 23rd March 2011 or while stocks last! Mini Apache 2 Ch IR Helicopter Interactive Music Quiz Test your family and friends music knowledge with this interactive music quiz that you control! Game options include 'name that track', 'beat the intro', 'name the artist' and 'sing the next line'. Or make up your own game 95 $ the possibilities are endless! 29 • Speaker console with four team buzzers and LCD points display • Quizmaster controller with music start/stop button, points buttons, crowd sound effects, three music distortion buttons and volume control • MP3 player (not included) connection to the Quizmaster controller • Requires 3 x AA batteries • Suitable for ages 8+ GE-4233 WAS $39.95 SAVE $10 00 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 quick-launch keys, plus controls for multimedia use. No software or drivers are needed just plug in the USB receiver and off you go. Requires 2 x AA batteries. 00 • Microsoft Windows XP $ MCE/ Vista compatible SAVE $20 00 • 2.4GHz • 10m range • 19mm optical trackball & mouse keys • USB dongle receiver • Dimensions: 180(L) x 50(W) x 30(H)mm XC-4940 WAS $89.00 69 www.jaycar.com.au Mini 2 Ch IR Apache Helicopter with robust moulded plastic construction to take the inevitable bumps and occasional crash. • 20 minute charge gives about 10 minutes flying time (recharges directly from the remote unit) • Requires 6 x AA batteries • 160mm Long • Suitable for ages 10+ GT-3273 WAS $29.95 24 95 $ SAVE $5 00 20W Folding Solar Charger Take your solar power with you wherever you need it. Folding to a compact bundle, this versatile monocrystalline solar charger will fit anywhere, but expands to a full size 20 watt solar charger. It has a robust nylon fabric enclosure and cigarette lighter socket for powering whatever you need. Also includes utility loops so you can tie it up in a convenient place to catch maximum sunlight. Two lead sets are included - one with a cigarette lighter plug and another that terminates to alligator clips. Ideal for camping, 4WD, boating, caravans or motorhome holidays. • Dimensions: Open: 965(L) x 362(W)mm Folded: 375(L) x 120(W) x 45(D)mm ZM-9122 WAS $299.00 269 00 $ SAVE $30 00 Limited stock on sale items. All Savings are based on Original RRP Retractable Car Phone Charger Handy in-car phone charger with retractable lead to avoid messy and tangled wires. Includes 6 plugs to fit all the latest popular models including the latest Nokia mobile phones. Fits any standard cigarette lighter socket. Extends to 700mm. Plugs Included to suit: Nokia, Sony Ericsson, Samsung, Siemens, LG and others Specifications: Input: 12-24VDC, Output: 5VDC, 500mA MB-3579 WAS $19.95 14 95 $ SAVE $5 00 Networking USB 2.0 Servers Hardwired PC peripherals can be difficult to FROM share from one computer to the next. Plug 95 $ this device into your router with the supplied Cat 5 cable then plug in SAVE $20 00 a USB powered product and computers will be able to see and use your USB peripherals from any computer. 1 Port USB 2.0 Network Server YN-8400 WAS $79.95 NOW $59.95 SAVE $20.00 4 Port USB 2.0 Network Server YN-8404 WAS $99.00 NOW $69.00 SAVE $30.00 59 Pre-Catalogue Sale Cat No 10 5.5" B&W Monitor Surveillance System Quick and simple! Consisting of a 5" B&W surveillance monitor, two cameras, and two dummy cameras, you can keep an eye on your premises. The real cameras simply plug in with their 10m lead, and the dummy cameras look identical. Great 'all round' package to get your surveillance requirements sorted, all for a great price. • Monitor: 158(W) x 150(H) x 202(D)mm • Cameras: 36(W) x 27(H) x 15(D)mm excluding stand & lens • Camera stands are approximately 28mm high QC-3446 WAS $169.00 99 $ 00 SAVE $70 00 B&W Bullet CCD Camera This quality CCD camera is weatherproof for mounting under eaves, pools, driveways or pathway monitoring. Suitable for both professional and domestic installations. Supplied with a quality swivel mounting base and mounting hardware. Also ideal for low light level surveillance. 00 $ • Image sensor: 1/3" Sony B&W CCD Pre-Catalogue Sale • Resolution: 510(H) x 492(V) 380 TV Lines • Weight: 295g • Dimensions: 89.5(L) x 28(Dia)mm QC-3467 WAS $99.00 Limited Stock 69 SAVE $30 00 Mini Portable Security Recorder With a built-in sensor just connect this unit to a standard camera with composite video and the unit will record audio and video to an SD card. The AV input/output sockets connect to an external monitor (not included) for on-screen menu or use the front panel for full playback functions. • 5VDC plugpack and AV cables included • Requires 2 x AA 00 $ batteries for portable use $ QV-3094 WAS $349.00 SAVE 200 00 Note: SD Card not included 149 Clip-On CCD Reversing Camera Compact reversing camera with a variety of mounting options: number plate holder, flush or surface mounted, with screws or with double-sided tape (included). It also includes a bracket for mounting to roof racks on commercial vehicles. • Camera size: 25 x 25mm 00 $ Limited Stock QC-3729 SAVE $150 00 WAS $249.00 99 RGB Video Balun Send RGB up to 300m without signal degradation. Ideal for LCD projectors, monitors, plasma screens, etc. One required at each end. No power required. • 3 x RCA to RJ-45 connectors. • Video input: 1V p-p • Bandwidth: DC to 8MHz • Dimensions: 110(W) x 77(D) x 24(H)mm Ideal for QC-3429 WAS $79.95 home theatre! 24 95 $ SAVE $55 00 B&W CCD Camera in Metal Case with Audio This camera utilizes a Samsung 1/3" CCD Image Sensor to produce high quality pictures, even in very low lighting conditions. The camera is supplied in a diecast metal case, and uses an onboard Electret Microphone for Audio and small metal mounting bracket. • 380 TV Lines 00 $ • 92° lens angle • Size 39(L) x 39(W) SAVE $20 00 x 26(H)mm QC-3474 WAS $69.00 Limited Stock 49 Colour Camera Kit with 2-Wire Connection A simple 2 wire combined arrangement for power and video make this system a snap to install. The main unit will automatically sense signal cable tampering or incorrect wiring and alert you with a warning signal. Kit includes dome camera, system unit, 25m of connecting cable, and mains adaptor. • CMOS sensor • 360 TV lines QC-3264 WAS $129.00 69 00 $ SAVE $60 00 Also available: Outdoor (IP56) IR Colour Camera Kit with 2-Wire Connection QC-3266 WAS $149.00 NOW $89.00 SAVE $60.00 2MP Mini Digital Spy Recorder The ultimate in discrete portable photo and video recording. From business meetings to outdoor sports activities - its applications are endless. Supporting up to 8GB of memory, it includes a 2GB MicroSD card, case, lanyard, two mounting brackets, software, USB and mains plugpack. Rapport CCTV Field Tester Designed with portability and the professional CCTV engineer in mind, this is an advanced piece of test equipment with a variety of functions. As well as performing multimeter functions, it will test the quality of a video image signal and display it on the 3.5" LCD. • Rechargeable Li-Po battery • CCTV video monitor • Video signal generator • Digital multimeter • Input voltage: 12VDC • Charging time: 6 hours • High speed recording and fast response • Low light recording $89 00 • Manual and sound activated recording functions SAVE $60 00 • Supports AVI & JPEG formats • Rechargeable Li battery lasts for 2 hours of non-stop recording • Measures: 55(H) x 20(W) x 28(D)mm QC-8001 WAS $149.00 Buy a Mini Digital Spy Waterproof Case Recorder and receive a FREE Waterproof Case QC-8002 $39.95 valued at $39.95 4 Channel Mobile DVR with 250GB HDD Multimeter specifications: Dimensions: 88(W)125(H) x 40(D)mm QM-3823 WAS $799.00 749 00 $ SAVE $50 00 UHF Baby Monitor Transmitter Partner this unit with one of our UHF transceivers and know exactly when your baby is awake, needs changing or feeding. With voice activation (VOX), whenever you're needed, you'll be alerted on the remote unit. • Keypad lock to keep prying fingers out • Rechargeable batteries and charger included • 38 channel 00 $ • Up to 500m range • Unit 140mm high SAVE $49 00 DC-1024 WAS $69.00 This stand alone 12V, four channel digital video recorder (DVR) is the ideal solution for mobile security and surveillance applications. It provides real-time monitoring and digital recording for up to four cameras. Supplied with infrared remote and video editing software. MPEG4 recording format. • 250GB HDD included Massive Savings! • Four camera inputs • Analogue and VGA video output • Motion detection recording • Operating voltage 12 to 24VDC (suitable for cars, boats 00 $ trucks and buses) • Dimensions: 200(W) x 70(H) x 258(D)mm SAVE $800 00 QV-3093 WAS $1399.00 599 20 DOME Cameras on Sale!!! Low Cost Colour Mini Dome Camera - Sharp Sensor This tiny camera is excellent value for money and has specifications comparable to some higher priced dome cameras. • 1/4" Sharp CCD Sensor 00 $ • 350TVL resolution • Min illumination: 1 lux SAVE $30 00 • Lens: 3.6mm (92°) • Dimensions: 72(dia) x 52(H)mm Limited Stock QC-3291 WAS $89.00 59 Better, More Technical Colour CCD Dome Camera with Sony Sensor Dome Style Colour CCD Camera A high quality colour CCD dome camera with 350TV line resolution and 1/3" Sony sensor chip. The camera features auto white-balance and shutter speeds from 1/50 to 1/100,000 of a second and is compact enough to be installed in the smallest of rooms or corridors. Requires a 12VDC regulated power supply. A high quality colour CCD dome camera with 480 TV Line Resolution, utilising a 1/3" Panasonic sensor chip. The camera features auto white-balance and shutter speeds from 1/50 to 1/100,000 of a second. Requires a 12VDC regulated power supply. • Dimensions: 108(W) x 81(D)mm dome-hemisphere Limited Stock QC-3318 WAS $179.00 59 00 $ SAVE $120 00 All Savings are based on Original RRP Limited stock on sale items. Limited Stock QC-3498 WAS $279.00 129 00 $ SAVE $150 00 To order call 1800 022 888 CIRCUIT NOTEBOOK Interesting circuit ideas which we have checked but not built and tested. Contributions from readers are welcome and will be paid for at standard rates. 330Ω 4.7 µF 10k +5V IRD1* +V 1 3 1 λ 11 18 17 2 5 INPUT 4 4 INPUT 3 3 INPUT 2 2 VR2 10k 10 INPUT 1 9 VR1 10k IN5 RESET IN4 IN0 IN3 IN7 IN6 IN2 ADC2 IN1 OUT0 ADC0 22k ICSP CON 10k 6 4.7k 5 15 6 14 SDA SCL 8 Vdd A2 IRD1 3 2 A1 IC2 24LC256 A0 1 WP 1 7 OUT1 OSC2 OUT7 OSC1 OUT6 OUT3 OUT4 SER.IN 0V 8 3 13 12 2 21 4 22 6 Vdd RS LCD MODULE SER.OUT 2 4 ADC3 ADC1 4.7k 16 Vss IC1 PICAXE 28X1 OUT2 7 INPUT GNDS 100nF 20 10k OUT5 0V 19 28 27 (JAYCAR QP-5512 OR SIMILAR) EN D4 D5 D6 D7 D3 D2 D1 D0 11 12 13 14 10 9 8 7 GND 1 CONTRAST 3 VR3 10k R/W 5 23 24 25 26 * JAYCAR ZD-1952 PICAXE-based data logger This circuit is a simple 4-channel data logger with infrared remote control and a 2-line LCD driven by a PICAXE 28X1 microcontroller (IC1). Each channel has an analog input with 10-bit (5mV) resolution. The logged data is stored in a low cost 32KB serial EEPROM (Electronically Erasable, Programmable Read-Only Memory) IC (IC2). The channels are sampled at a configurable interval which can range from a few seconds up to about 18 hours. The logged data can be downloaded to a PC via a serial port. The microcontroller communicates with the EEPROM IC using the 2-wire I2C (Inter-IC Communications) protocol. Each reading takes up two bytes, so if all four channels are used, 4096 intervals worth of data can be stored. The signals for analog inputs 1 and 2 can be attenuated using trimpots VR1 and VR2 respectively. This alsiliconchip.com.au lows signals to be logged that may be in excess of 5V. Inputs 3 and 4 do not have such provision but it could be added if necessary. While logging, the LCD displays the last readings taken and a countdown to the next reading. It is also used to display menu options which can be selected using a universal infrared remote control. The menu options include: start/stop logging, download data, clear data, change logging interval, apply scale factor to data, change number of channels, ADC input calibration and internal timing adjustment. The software provided is set up to suit a Cobalt PLAU0067 remote control but can be changed to suit virtually any universal remote. The easiest way to do this is to uncomment the line which causes the logger to immediately go to the infrared keycode checking routine when power is applied. This displays the code for each button press on the LCD and this code can then be programmed in for future use. Data is downloaded to a PC using the in-circuit serial programming (ICSP) header. This interface does not support RS-232 signal levels so it may not work with some serial ports but most USB-to-serial port adapters should be suitable. The serial port on the PC must be set up as 9600 baud, eight data bits, no parity bit, one stop bit (9600-8-n-1). Hyperterminal or other similar software can be used. The software (PICAXE_Data_Logger.bas) is available from the SILICON CHIP website. Phillip Webb, Hope Valley, SA. ($45) Editorial comments: the ADC0-3 pins of IC1 could be damaged if a voltage outside the range of 0-5V is applied to an analog input with a low source impedance (depending on the positions of VR1 and VR2). It is good practice to insert a series resistor of 2.2-4.7kΩ between each analog input and the signal source to limit fault currents to a safe level. March 2011  59 Circuit Notebook – Continued Sinewave oscillator has low distortion This circuit generates a sinewave at 30Hz-72kHz with around 0.001% (-100dB) total harmonic distortion plus noise (THD+N). The output amplitude is adjustable over a range of about 0-2V RMS and a second output is provided for connection to a frequency counter. At its heart is a Wein bridge oscillator, driven by JFET-input op amp IC1a (half of an OPA2134). The frequency range is selected with a 2-pole, 3-way switch which connects different sets of capacitors to the bridge. The options are 30-720Hz (with the switch as shown), 300Hz7.2kHz and 3-72kHz. Fine frequency adjustments are made using potentiometer VR1, a dual-gang linear type. With a traditional Wein bridge oscillator, one end of the bridge is connected to ground. Instead, in this circuit it is driven from IC3a’s pin 1 output. This keeps the sinewave symmetrical about ground, reducing the common mode distortion from IC1a (see Linear Technology application note AN43 for more details). The resulting waveform is attenuated by potentiometer VR3 and then buffered by op amp IC1b. It is AC-coupled and further attenuated (by 0, 20 or 40dB) according to the position of switch S2. The output impedance is between 9Ω and 90Ω depending on the position of S2. The frequency counter output is buffered by a simple NPN emitter-follower and then AC-coupled to CON1. The key to low distortion is the optical amplitude stabilisation. The generated sinewave is also applied to the non-inverting input (pin 3) of op amp IC2a. IC2a and IC2b, in combination with diodes D1-D2 and some resistors, form a precision rectifier. Its output is fed to a low-pass RC filter comprising a 1kΩ resistor and 4.7µF capacitor with the resulting voltage tracking the average amplitude of the sinewave. This voltage drives a voltageto-current converter consisting of a 10kΩ resistor and op amp IC3b. Since IC3b’s non-inverting input (pin 5) is tied to 0V, as the sinewave amplitude rises, IC3b sinks more current, keeping its inverting input (pin 6) at 0V. As the current increases, so does the voltage drop across the 10kΩ resistor. Therefore, the current through LED1 is proportional to the sinewave amplitude. LED1 emits white light and is optically coupled to light-dependent resistor LDR1. This is accomplished by filing its lens flat, placing the LDR in direct contact with it and using black heatshrink tubing to hold them close together. This tubing also prevents outside light from reaching the LDR. As LED1’s brightness increases, LDR1’s resistance drops (see graph), reducing the gain of the amplifier involving op amp IC1a. This negative feedback means that the amplitude reaches a steady state since any further increase would only reduce the amplifier’s gain. For the circuit to oscillate, the closed loop gain must be three. The gain is determined by the minimum current through LED1, the corresponding resistance of LDR1 Alex S is this m um and thus the on winner th’s gain of the Peak At of a amplifier built las Instrum Test around IC1a. ent In this case, the minimum LED current is 1mA, as set by 4.7V zener diode ZD1 and the 4.7kΩ resistor, which form a simple current source. Referring to the graph we can see that LDR1’s minimum resistance is just over 2kΩ. The gain with LED1 at 1mA is the total resistance of VR2 and LDR1 divided by 1.5kΩ. So stable oscillation will be obtained with VR2 set to around 2.5kΩ. Small changes to the position of VR2 will result in changes in the stable sinewave amplitude. Ideally, the capacitors in the Wein bridge network should be selected from a large batch, using a capacitance meter. Polypropylene or polystyrene capacitors will result in lower distortion than polyester types due to their better linearity. In addition, the oscillator stability will also benefit from the use of a goodquality dual-gang pot with accurate tracking for VR1 (eg, conductive plastic or Cermet types). The power supply provides regulated ±12V rails from four 9V batteries. The regulators could also be fed from rectified and filtered 12VAC from a mains transformer or plugpack. It is also possible to run the circuit from ±9V or ±15V (the latter may result in slightly lower distortion). Alex Sum, Eastwood, NSW. Editorial comments: for the 90Ω and 900Ω resistors, constructors can use two or more standard value resistors in parallel (eg, 91Ω||8.2kΩ and 910Ω||82kΩ). C h o o s e Yo u r P r i z e There are now five great reasons to send in your circuit idea for publication in SILICON CHIP. We pay for each item published or better still, the best item in “Circuit Notebook” each month will entitle the author to choose one of four prizes: (1) an LCR40 LCR meter, (2) a DCA55 Semiconductor Component Analyser, (3) an ESR60 Equivalent Series Resistance Analyser or (4) an SCR100 Thyristor & Triac Analyser, with the compliments of 60  Silicon Chip Peak Electronic Design Ltd. See their website at www.peakelec.co.uk So now you have even more reasons to send that brilliant circuit in. Send it to SILICON CHIP and you could be a winner. You can either email your idea to silchip<at>siliconchip.com.au or post it to PO Box 139, Collaroy, NSW 2097. siliconchip.com.au FREQUENCY RANGE 1nF VR1a 50k 2.2k S1a 10nF VR1b 50k 100nF S1b 100k 4.7 µF 10nF 3 1.5k 8 1 IC3a VR3 10k VR2 5k +12V 100nF 1 IC1a 2 6 4 LDR1 λ 900Ω λ K 3 +12V IC3b 100nF 5 –12V 4.7k 2 K ZD1 4.7V S3a 3 5 K 7 IC2b 4 –12V 1k 10k +12V OUT 4.7 µF 47 µF 100nF POWER D1, D2 A 47 µF 100nF IN –12V OUT K A REG2 7912 ZD1 K B E A GND IN C GND OUT K 7912 7812 BC548 LED GND S3b A 10k GND 18V BATTERY 6 D2 BAT46 A REG1 7812 IN K 1 IC2a 1k A D1 BAT46 8 10Ω 1k +12V 1.5k OUTPUT RANGE 90Ω IC1: OPA2134 IC2, IC3: TL072 A 6 7 CON2 –12V LED1 –12V OUTPUT S2 2 4 18V BATTERY 100 µF 7 IC1b 100nF OUT TO COUNTER CON1 4.7k –12V 8 5 Q1 BC548 E 100k 100nF OUTPUT LEVEL C B 100nF FREQUENCY 2.2k +12V 1nF IN GND IN OUT 100k 20k 10k LDR RESISTANCE 1.0k 100Ω 0.1 1.0 LED CURRENT in mA siliconchip.com.au 10.0 Above: this graph shows a plot of the frequency spectrum of a 1.5kHz sinewave. The distortion is mostly third harmonic and at .0011% THD+N it is just 11 parts per million. March 2011  61 Circuit Notebook – Continued 1k +7.2V CON2 +12V +12V 4.7k K 100 F A ZD1 7.2V 330nF 33k 68k CON1 + 430k 100k B (PNP) – 1 F C IC1a 4 VR1 10k 470 F VR2 100k K CON3 Vt* 100 1 DMM – 6.8k 10k 47k K C B (NPN) IC1: LM358 D1 + A +  LED2 ALTERNATIVE TEMPERATURE SENSORS 5 VR3 10k 6 IC1b 10 K 1M DIODE K A A E – 1k 7 B 6.8k C Q1 BD139 E D2 A BD139 LEDS Using transistors to measure temperature Since a transistor’s base-emitter voltage varies with temperature, it can be used as a thermometer. Diodes can also be used for the same purpose. This circuit shows how a transistor such as the BC549 (NPN) and BC559 (PNP) or diodes like the 1N4148 and 1N4004 can be used to switch on a fan at a specific temperature. Each junction has different characteristics so the circuit incorporates several adjustments to allow it to be trimmed to suit a particular device. The selected device is connected to CON1 and a 68kΩ resistor from the +7.2V rail drives about 0.1mA through it. The voltage developed as a result of that current (typically 0.5-0.6V) is filtered by a 1µF capacitor and is fed to the inverting input, pin 2, of op amp IC1a. The base-emitter (or diode) voltage is reduced as temperature rises but we want an output that increases with temperature, so op amp IC1a is configured as an inverting amplifier. It subtracts the 62  Silicon Chip ZD1 A D1, D2: 1N4004 ETC. K A K base-emitter voltage from a reference voltage supplied by trimpot VR1 to its non-inverting input (pin 3). IC1a then amplifies the difference between the voltages according to the gain set by trimpot VR2. Normally, trimpots VR1 & VR2 would be set so that the temperature coefficient of the output voltage from IC1a is 10mV/°C. So for a temperature increase of 50° C, for example, the output voltage would increase by 500mV. Since the temperature coefficient of P-N junctions is usually around -2mV/°C, the gain of IC1a needs to be set by trimpot VR2 to about -5. With the values shown, the adjustment range is -4.3 to -5.3. Once calibrated, the output at CON3 is typically accurate to within ±5°C over a range of about 0-100°C. The output voltage of IC1a is also applied to the non-inverting input (pin 5) of op amp IC1b which is configured as a comparator, to act as a thermostat. The voltage at the inverting input (pin 6), is set by trimpot VR3 and has a range of about 0-0.83V (0-83°C). When the temperature exceeds CON4 + 12V/ 200mA FAN – K – * Vt = 400mV FOR 40°C, 1000mV FOR 100°C 0V  LED1 8 2 3 E A K A B C E this threshold, the output of IC1b goes high, turning on NPN transistor Q1. This allows current to flow through a small 12V fan (or a 12V piezo buzzer, etc) connected to CON4. When Q1 is on, LED2 is lit. Diodes D1 & D2 absorb any inductive spikes or back-EMF from the fan motor. The 1MΩ resistor between pins 5 & 7 of IC1b provides hysteresis to prevent rapid switching at the threshold. The supply voltage is nominally 12V but can be up to 15V, allowing operation from a 12V battery or similar supply. The +7.2V reference is derived from the main supply using ZD1, a 1kΩ current-limiting resistor and a 100µF filter capacitor. To calibrate the circuit, attach the sensor to CON1 and place a DMM across CON3 (in Volts mode). Adjust VR1 so that the DMM reads 0V at room temperature. You will need to measure the room temperature and note it. Next, heat a bowl or saucepan of water so that it is at least 30°C above room temperature, as measured by the same thermometer. You then use the PN junction sensor to monitor siliconchip.com.au 4.5V BATTERY 14 +V S2 OUT7 OUT6 OUT5 OUT4 13 12 11 10 9 OUT3 8 OUT2 S1 7 OUT1 6 OUT0 A IC1 PICAXE18M2 4 A RESET LED1 λ K 3 OUT8 IN12 OUT9 OUT10 OUT11 10k OUT14 10k 0V 5 OUT15 A λ K A A K A λ K A λ K K A λ LED8 λ λ A K λ K A λ A LED41 λ K K A A λ K K A λ λ A K λ λ A K LED48 λ K K 17 18 LEDS 9-16 1 LEDS 17-24 2 LEDS 25-32 15 LEDS 33-40 16 6x 270Ω LEDS K A PICAXE-based 48-LED chaser This circuit uses the new PICAXE18M2 chip to create a 48-LED light chaser. The 18M2 has 14 digital outputs and these are all used to drive the LEDs. A switch (S1) and a pushbutton (S2) are connected to the two remaining pins, which can only be used as inputs. These could be used to control the chaser pattern although the sample software provided only implements a simple chaser pattern. More complicated patterns can be made by changing the software and S1 or S2 could be used to select between several different patterns. The LEDs are arranged in six groups of eight. Each group has a the water temperature and adjust VR2 to set the gain. For example, for a temperature that’s 30°C above ambient, adjust VR2 to give 300mV. VR1 is then readjusted so that the reading equals the actual water temperature multiplied by 10mV, eg, for a water temperature of 50°C, the reading should be 500mV. siliconchip.com.au common cathode driven by one of the OUT8-OUT11 or OUT14-15 pins. For each group of eight LEDs there is a common 270Ω currentlimiting resistor at the cathode end. The anodes of each group are driven by pins OUT0-7. The LEDs can be lit individually despite sharing the anode pins with five other groups because only one set of cathodes is driven low at any one time. When a cathode is not being driven, it can either be held high or set to high impedance. Similarly, anodes which are not being used can either be held low (0V) or set to highimpedance mode (ie, configured as an input). In some cases, one or more LEDs may be reverse-biased but no current will flow since the reverse voltage is below 5V. Pins 2 & 3 of IC1 are typically used Finally, determine the temperature (in degrees Celsius) at which to switch on the fan (or other load) and multiply this by 10mV. Connect a multimeter between pin 6 of IC1b and ground and adjust VR3 to get the required reading. Petre Petrov, Sofia, Bulgaria. ($40) for in-circuit serial programming but in this case, pin 2 is used to drive one of the common cathodes. As a result, it will be necessary to use a switch to disconnect that pin from the LEDs if you wish to add an incircuit programming connection. It is possible to modify the software so that multiple LEDs can light at one time but if you do, be sure to check that the per-pin or total current limits for IC1 are not exceeded. Also, if multiple LEDs from a single group are lit at once, it will affect their brightness since they share current-limiting resistors. Two sample programs for this circuit are available from the SILICON CHIP website (LED_Chaser_18M2. zip). S. Grundy, Otago, New Zealand. ($45) Circuit Ideas Wanted Do you have a good circuit idea? If so, sketch it out, write a brief description of its operation & send it to us. Provided your idea is workable & original, we’ll publish it in Circuit Notebook & you’ll make some money. We pay up to $60 for a good circuit so send your idea to: Silicon Chip Publications, PO Box 139, Collaroy, NSW 2097. March 2011  63 So the cover price rose on February 1 . . . and you missed out on getting in at the old price? Bugger! Sorry, there's nothing we can do to ease the pain – but there is something you can do. If you take out a subscription now, it will cost just a tiny bit more than before – but even at the increased cover price, your monthly copy of SILICON CHIP, posted right into your letterbox, actually costs less than the old price over the counter! LOOK AT THE ADVANTAGES OF GETTING YOUR SILICON CHIP BY SUBSCRIPTION: q  q  q  q  q  It's cheaper – you $ave money! (You will actually get 12 issues for the price of less than 11!) 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 are for Australian subscriptions. For other countries, please refer to page opposite. 64  Silicon Chip siliconchip.com.au SILICON SILIC CHIP Order Form/Tax Invoice 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 siliconchip.com.au YOUR DETAILS This form may be photocopied without infringing copyright. Your Name_________________________________________________________ (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    (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 AC MACHINES................................................................................................$66.00 AMATEUR SCIENTIST CD NEW! Version 4.0.................................................$62.00 AUDIO POWER AMPLIFIER DESIGN – SELF ................ new low price! ......$114.00 BUILD YOUR OWN ELECTRIC MOTORCYCLE .............. .................................$47.95 DVD PLAYERS AND DRIVES ....................................... new low price! ........$85.00 ELECTRIC MOTORS AND DRIVES..................................................................$60.00 ELECTRONIC PROJECTS FOR CARS (2003) – last few, shop-soiled – now... $2.95 NEWNES GUIDE TO TV AND VIDEO TECHNOLOGY...... new low price! ........$58.00 OP AMPS FOR EVERYONE............................................ new low price! .....$119. 00 PERFORMANCE ELECTRONICS FOR CARS....................................................$19.80 PIC IN PRACTICE.......................................................... new low price! ........$60.00 PIC MICROCONTROLLERS - KNOW IT ALL...................................................$90.00 PIC MICROCONTROLLER - PERSONAL INTRO COURSE...............................$60.00 PRACTICAL GUIDE TO SATELLITE TV (7th edition)......................................$49.00 PRACTICAL RF HANDBOOK ......................................... new low price! ........$73.00 PRACT. VARIABLE SPEED DRIVES/POWER ELECT....... new low price! ........$88.00 PROGRAMMING 32-BIT MICROCONTROLLERS IN C..... new 32-bit edition! .$94.00 RADIO, TV AND HOBBIES ON DVD-ROM ......................................................$62.00 RF CIRCUIT DESIGN..................................................... new low price! ........$74.00 SELF ON AUDIO (2nd edition)....................................... new low price! ........$82.00 SOLAR SUCCESS - GETTING IT RIGHT EVERY TIME.....................................$47.50 SOLAR THAT REALLY WORKS ......................................................................$42.50 SWITCHING POWER SUPPLIES A-Z (inc CD-ROM)...... new low price! ......$108.00 TV ACROSS AUSTRALIA .............................................. new low price! ........$39.95 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) Call (02) 9939 3295 with your credit card details MAIL OR This form to PO Box 139, March 2011  65 Collaroy NSW 2097 *ALL ITEMS SUBJECT TO AVAILABILITY. PRICES VALID FOR MONTH OF MAGAZINE ISSUE ONLY. ALL PRICES IN AUSTRALIAN DOLLARS AND INCLUDE GST WHERE APPLICABLE. 03/11 Steppin’ down da volts . . . Do you have excessive mains voltage at your place? In some parts of Australia the mains voltage can be above 250VAC and that can spell early death for imported appliances rated to work on only 220VAC. In this article we show you how to reduce the mains voltage to a safe level for your equipment. by Leo Simpson 66  Silicon Chip siliconchip.com.au D espite most people still believing Australia’s mains voltage is 240VAC (we get emails and letters telling us we’re wrong!) according to Australian Standard AS:60038 the “official” mains voltage is 230VAC – and has been for more than a decade. However, in many parts of Australia the supply is still nominally 240VAC; indeed in parts of Western Australia and many mining towns it is even higher at around 250VAC – and sometimes even more. There are several reasons for this but primarily it’s because a higher voltage is fed into the network at the substation so that at the end of (often very long) supply lines, with their inevitable I2R losses, there is sufficient voltage to do the work required. That’s fine if you are at the far end of the line but if you’re at the near end, you cop that excess voltage. It’s long been the bane of people with incandescent light globes (the globe life is dramatically reduced) but now that the government has banned those globes, that problem obviously would have gone away. (Oh yeah? Believe that and I have this big steel bridge over Sydney harbour that I can sell you real cheap!). 220V equipment Problems caused by excess voltage have been the case for many years but with so much imported electronic equipment, rated for only 220VAC, there is a big problem of reduced reliability at those elevated voltages. The higher voltage can be a problem for two reasons: higher power dissipation and greater risk of catastrophic breakdown. For example, if your equipment is rated for an input voltage of 220VAC and it is actually being fed 250VAC, that amounts to a 13.6% increase in voltage. But because power, for typical loads, is proportional to the square of the voltage, the increase in power dissipation over the rated voltage is up to 29%. That’s a very large increase and if you are in an area where the ambient temperature regularly tops 40°C or more, that can mean that your equipment could easily expire. Even if your mains voltage is around 240VAC, that still represents an increase in power dissipation of 19% (compared to running at 220VAC) which is still pretty significant, essiliconchip.com.au pecially in equipment which has a tendency to run hot even at its rated input voltage. circuit, is dangerous unless it is unequivocally proven otherwise! Reducing dissipation So for the purpose of this article, we decided to take a readily available step-down transformer with a range of secondary voltage taps and show how to connect it to reduce 250VAC to 220VAC (or pretty close to that figure). Also for the purpose of this article, we decided to limit the power of our notional load to no more than 450W. Typical examples of electronic equipment which would be under this power limit would include most large screen plasma and LCD TVs and video monitors, most PCs and most audio amplifiers. If in doubt about how much power an appliance uses, check the nameplate or failing that, the owner’s handbook. The reason for the limit of 450W is that we wanted to use a small transformer rated at 60VA, with a multitapped secondary. This type of transformer is commonly available (eg, from Altronics [Cat M-6674L] or Jaycar [Cat MM-2005]). They have a number of secondary voltage taps between 9V and 30V and the rated secondary current is 2A. That last figure is significant because it sets the maximum power of the appliance we want to drive. To explain this point, if you have a 450W appliance rated for a 220V input, its nominal current drain will be 2.045A; close enough to 2A as to be an insignificant difference. The transformer is wired as shown in the diagram of Fig.1. In this case, Maybe you don’t have a problem with the level of the mains voltage itself. But there is another good reason to run a key (expensive!) appliance such as a large screen TV or such like from a lower voltage: it reduces the internal power dissipation and therefore causes it less stress – which in turn should prolong its life. Either way, the method we are describing for reducing the mains voltage is the same; using a step-down transformer. More specifically, we are going to show how to connect a step-down transformer as an “auto-transformer”. While this allows the input voltage to be reduced, it does not provide any voltage isolation between the input and output as does a normal transformer. However, first we need to emphasise the point about electrical isolation. If you connect an appliance via a conventional step-down transformer with completely separate primary and secondary windings, there will be electrical isolation between the 230VAC mains supply and the circuity of the appliance, making it “safer” to work on if you are doing a repair. But no such isolation is provided when you connect an appliance to the 230VAC mains supply via an autotransformer. The answer to this problem is simple: always assume a circuit, any Our Mains Moderator FUSE S1 T1 0V BRN POWER OUTLET A 30V* E BRN S2 E N BLU FUSED IEC INPUT CONNECTOR NEON ILLUMINATED SWITCH TRANSFORMER CORE & FRAME SC 2011 N BRN A 240V BLU BLU * OR OTHER TAP AS REQUIRED --- SEE TEXT MAINS moderatoR Fig.1: the circuit is pretty simple but is capable of taming a 250V AC supply down to a much more healthy 220V AC. Because it is so simple, don’t be complacent or sloppy when it comes to wiring. Even 220V can ruin your whole day! March 2011  67 we have shown the full 30V secondary winding connected in series with the 240V primary winding of the transformer. In effect, this gives a 270V primary winding and we “tap off” the output across the 240V winding, giving a step-down effect. Now, if 250VAC is applied to the input, via the IEC socket, the output will be 250/270 x 240 = 222V. This would be ideal if you have a 220VAC appliance and your mains voltage typically hovers around 250VAC. Alternatively, if your mains voltage is typically around 240VAC or a little more and you want to reduce it to around 220VAC , you would use the 20 or 21V secondary tap of the transformer, giving a ~261V total primary winding, with the same output connections as before. In this case, the output will be 240/261 x 240 = 220.7V. Transformer current We mentioned previously that we wanted to use a standard transformer with a 2A multi-tapped 30V second- ary. This would set the limit on the maximum load. And while the current of a 450W 220V appliance will nominally be 2.045A, the current drawn from a 250VAC mains supply will be somewhat less. To be precise, it will be 240/270 x 2.045 = 1.82A. (This assumes an “ideal” transformer with no quiescent magnetising current). This current will flow in the transformer’s 30V secondary and while it is less than the 2A rating, it will be somewhat more than 1.82A because we are using a “real” transformer with its associated losses. Hence, to run a 450W 220VAC load, the suggested transformer will actually be running fairly close to its maximum ratings. In theory, you could apply the same method to drive a much bigger load. So if you had a 250VAC mains supply and wanted to drive a 1000W 220VAC load, with a nominal current of 4.5A, you would choose a transformer with a 30A 5A rating (ie, 150VA or more) and connect it the same way as shown in our diagrams. By the way, we mentioned incandescent globes earlier; this project would be ideal for them (up to the 450W rating, of course). Unsuitable loads While we are suggesting this auto-transformer connection to drive electronic appliances, we are not recommending it for any heating or motor-driven appliances such as power tools, fridges, freezers and so on. The main reason for this caution is that motor driven appliances typically have very high starting surge currents which will overload the transformer. Wiring it up We installed our demonstration unit in a sealed plastic IP65 case measuring 171 x 121 x 80mm (Jaycar Cat HB-6254). With the exception of the transformer (which is earthed) everything is mounted via Nylon 3mm screws and nuts, for safety. Ensure that the earth lug under the T1 HEATSHRINK SLEEVES ON ALL SECONDARY LUGS (THESE ARE AT MAINS POTENTIAL) 0V COVER WITH SILICONE SEALANT, ETC 21V 24V 30V 15V 9V 12V E WARNING: LIVE WIRING A' All sections of this circuit, including transformer secondary, operate at mains voltage. N 18V HEATSHRINK SLEEVES HEATSHRINK SLEEVES S1 OVERALL HEATSHRINK SLEEVE E A N Fig.2: here’s the “works” of the (POWER OUTLET) Mains Moderator we built. Use 3mm Nylon screws and nuts to mount everything except the transformer (which is earthed). If you wish to use a different transformer tap to achieve a different output voltage, move the wire connected to the 30V tap ONLY (ie, leave the 0V tap where it is!). 68  Silicon Chip siliconchip.com.au And here’s the internal photo While the wiring in this photo is correct, you should find it a little easier to follow that in the diagram at left. Don’t take any shortcuts with insulation and wiring dress – it is still a mains device after all. mains transformer screw makes good contact with the transformer body by scraping away any passivation which may have been used on the body. We used a fused IEC male chassis connector (screw mounting, not snapin) mounted on the end and a standard single 240V switched GPO (power point) mounted on the side of the case. Also included was a 250VAC 10A SPST switch with inbuilt neon illumination and a short length of insulated terminal strip to terminate some of the wires. A length of 3-way terminal strip is used simply to allow two mounting holes – one position is unused. You will need to make cut-outs in the case for the IEC socket and the switched GPO (general purpose outlet) as well as drill holes for the SPST switch, transformer mounting feet, rubber feet for the case, two holes for the insulated terminal block etc. We siliconchip.com.au mounted the switched GPO so that its two securing screws are attached to the bottom section of the case – see the photos. Note that you will need to make irregular cut-outs in the top and bottom sections of the case to clear the rear terminal section of the switched GPO. The SPST switch requires a 20mm mounting hole with a small notch on the right-hand side. It is a snapin mount switch and you may need to slightly chamfer the inside of the 20mm hole to allow the snap-in lugs to lock properly into place. All the wiring details are shown in Fig.2 and note that all wiring is run in 250VAC-rated wire. Let’s just briefly summarise the main points of the wiring, assuming that all the hardware items have been installed in the case. (1) A brown wire is run from the Active terminal of the IEC connector to the top zinc-plated terminal of the SPST switch. Then a brown wire is run from the centre terminal of the switch to a connector on the insulated terminal strip. This same terminal also connects to the 0V secondary tap on the transformer. (2) Another brown wire runs from the 30V terminal on the transformer to the Active (A) connection on the switched GPO. This same connection also terminates the brown wire from the 240V primary of the transformer. (3) A blue wire is run from the Neutral terminal of the IEC connector to another terminal on the insulated terminal strip (leave one terminal between Active and Neutral unused). (4) This Neutral terminal is also used to terminate the blue wire from the 240V secondary of the transformer and a blue wire to the Neutral connection on the switched GPO. March 2011  69 (5) As well, you need run a blue wire to the third (brass-plated) terminal of the SPST switch. This is necessary to power the inbuilt neon lamp. (6) Once the wiring to the SPST switch is complete, it should be fitted with a suitable length of heatshrink sleeving to shroud the whole assembly. (7) On the same theme, as each wire is soldered, it should have a short length of 5mm heatshrink sleeving applied. The exceptions to this are the two green/yellow wires which terminate at the Earth terminal on the IEC connector. (8) One of those green/yellow wires earths the frame of the transformer while the other runs to the Earth connection on the switched GPO. (9) All the unused terminals on the transformer should be fitted with short lengths of heatshrink sleeving. Use short cable ties to anchor the wiring, as shown in the photo and diagram. (10) Finally, there is an exposed mains metal strip on the back of the IEC input socket (it connects the Active pin to the fuse). For maximum Parts List – Mains Moderator 1 IP65 case measuring 171 x 121 x 80mm (Jaycar HB-6254). 1 9-30V, 60VA 2A multi-tapped transformer (Jaycar MM-2005) 1 male chassis IEC connector with integral fuseholder 1 M205 2A fuse 1 IEC mains lead with 3-pin plug 1 single switched mains outlet 1 red neon illuminated SPST switch (Jaycar SK-0962) 1m 3-core mains flex 1 3-way 15A mains-rated insulated terminal block 1 5mm crimp-type eye lug (earth connection to transformer) 4 rubber feet Heatshrink sleeving 3 100mm cable ties 1 transformer warning label Screw and nuts 10 Nylon M3 x 15mm screws, nuts and shakeproof washers (to mount IEC socket, insulated terminal block, GPO and rubber feet) 2 M4 screws, nuts & shakeproof washers (to mount transformer) 70  Silicon Chip You’re going to have to perform a bit of minor surgery on the side of the case (both top and bottom) to accommodate the power outlet, along with the holes in the end for the IEC mains input connector and the neon switch. Note how the power outlet mounts low down on the side of the case (not in the centre!) to give its mounting screws something to hold onto. safety, cover this with insulation – preferably, a thin bead of silicone sealant. When all your wiring is complete, check it very carefully against the photos and the diagram. Then fit a 2A fuse in the IEC connector and insert an IEC power lead. Do not connect any load to the GPO. Apply power and switch on. The neon should illuminate. If not, disconnect the IEC power lead and find your mistake. If the neon did light up, you can then use your multimeter to check that the transformer is wired correctly to reduce the mains voltage. It is possible that you may find that the transformer is actually boosting the voltage rather than reducing. This is not necessarily an error on your part but can be because there is no convention as to how mains transformer primary and secondary windings are phased. So if your mains voltage is around 250VAC, for example and you have wired the transformer as shown in this article, then the output voltage at the switched GPO should be close to 220V. If, on the other hand, the output voltage is closer to 270VAC, then you should switch off, unplug the IEC power lead and swap over the 0V and 30V wires from the secondary of the transformer. Now try it with a load connected and everything should be working correctly. As we mentioned earlier, an incandescent light globe, mains rated of course (say about 60W or so), is ideal as a load for checking. No misteak misstake error! Finally, we should make a couple of points. You may wonder why we refer to the “240V” primary of the transformer and to “250VAC” ratings when we made such a point of the official mains voltage in Australia being 230V. It is not a mistake, nor a contradiction – it’s simply because that is how transformers are labelled (manufacturers have been a bit slow to catch up!). Also, throughout this article we have referred to a switched GPO. GPO is “electrician talk” for General Purpose Outlet. Mere mortals know them as “power points”. We deliberately used a single outlet, rather than the doubles more commonly available (and usually cheaper!), to minimise the risk of someone – who didn’t realise the significance of, or reason for, the circuit – plugging in something “extra” and exceeding the 450W rating. If you had a specific application you could, of course, use a double outlet SC but bear our reasoning in mind. siliconchip.com.au Salvage It! BY NENO STOJADINOVIC A Vacuum Pump from Junk Every young techie needs a vacuum pump. They rate alongside the air compressor, multimeter and soldering iron as one of the most useful tools to take their place in the arsenal. This guide will show you how to make a serious vacuum pump for next-to-nothing. Add a vacuum tank for much the same price and you are loaded for bear. I t used to be that every young scientist needed a vacuum pump. There was metal to sputter, glass envelopes to evacuate when producing X-ray tubes and investment to ‘debubble’ when making castings. Nowadays, there are commercial products available to replace these venerable old staples but hobby scientists have compensated by expanding the scope of their activities. I don’t sputter my own telescope mirrors but I do pot my own coils and ultrasonic transducers and use vacuum to remove all air bubbles from the resin. I don’t make X-ray tubes but I do make robot parts with ‘prepreg’ carbon fibre that uses a process called vacuum bagging to mould the material. And call me funny but I find a strange fascination with the science of refrigeration. In refrigeration systems the flow rate and pressure can be considered analogous to current and voltage in electronic circuits. With the advent of LP gas as a refrigerant and cheap manifold gauges, I find a lot of tech heads like me sitting around watching ice form on their home made evaporator coils. Where do you get it? Vacuum pumps live in the bottom of every refrigerator, except they are cleverly disguised as refrigeration compressors. Countless refrigerators siliconchip.com.au are thrown out due to gas leaks, faulty thermostats or some other minor fault, leaving a perfect compressor that is just ripe for a new purpose in life. Refrigeration compressors of this type are commonly referred to as “sealed units”, and are a simple piston pump running in an oil bath for longevity. Liberating the compressor is simple enough but it needs to be approached with a bit of caution. Most discarded fridges I’ve seen are devoid of gas but the gas lines can possibly be still under pressure and may also be partly full of refrigeration oil. Thus it is important to put on goggles before you begin, and don’t point the pipes at yourself as you’re cutting them. So to begin: peer under old fridges until you find a compressor that doesn’t have capacitors near it. (It’s not difficult to drive a capacitor motor but there are plenty available that don’t STARTING SOLENOID ACTIVE RUN EARTH NEUTRAL START MOTOR CONNECTION (MOTOR CASE) COMMON T THERMAL OVERLOAD SWITCH Fig.1: Wiring diagram for a typical fridge compressor. Note the overtemperature cutout. use them at all, so I avoid the capacitor jobs as a needless complication). Cut all of the gas lines to the compressor, leaving a handy length to work with. Use a pair of side cutters or a tube cutter to sever the lines, as a saw will introduce fragments of metal into the compressor. Cut the electrical connections, unbolt the compressor and the prize is yours! Test drive Firstly, find out if it runs. Most simple compressors use a split phase start winding which is energised by a solenoid that is connected in series with the main, or “run” winding. When the motor is first started, the main winding draws a large current. As the solenoid is connected in series, the heavy current creates a magnetic field that pulls the contacts shut and thus energises the start winding. As soon as the motor is up to speed, the current in the main winding dwindles and the solenoid drops out, thus cutting off power to the start winding. Hopefully, fig.1 should make it all clear. Once you’ve got it wired up, just stand back and plug it in. Quiet fridge-type hum good, flames bad! Once you have a good one up and running, partially block the thick pipe near the top of the compressor. You should feel a bit of suction but don’t March 2011  71 MAINS EQUIPMENT Take extra care when salvaging any old 240VAC mains equipment. Be aware that insulation may have broken down, previous repairs may be “dodgy” ...and mains voltages can kill. Remember that old adage: “If in doubt, don’t!” block the pipe completely, because if you do, the compressor oil will froth up inside the housing and then squirt violently out of the other pipe. If all is well, power it all down and get cracking to change the oil. The oil is drained by undoing the service plug and just letting it pour out. Of course, we don’t have to say that it must be disposed of properly . . . Once it’s all gone, the compressor can be refilled by pumping the new oil into the vacuum (thick) pipe. It is possible to get many different grades of vacuum oil, mostly selected for intended vacuum level and type of pump, but for most jobs I use standard air compressor oil. It is available at most places that sell air compressors and comes in a handy squeeze bottle that allows you to partially fill the compressor before your wrists give out. Then you can use the compressor itself to suck the rest in – just block off the service port and stick the vacuum pipe into the oil bottle. Stop the pump Here’s what you’re looking for. It almost certainly won’t look as pristine as this (in fact, it will probably be at least a bit rusty and/or covered with grease and dust). But most fridges these days have a compressor looking something like this one. every now and again to check if the oil level has reached the level of the service plug and once it’s oozing out you are done. Pull Vacuum Vacuum pumps require you to learn a new vocabulary and some new physical principles. First of all, if you convince all of the air molecules in a container to vacate the premises, you will have yourself an absolute vacuum. Fig.2: a compressor with the lid cut off. Gas enters the stub of pipe near the bottom of the figure and exits through the long thin pipe that loops across the top. This pipe always exits into an equally thin pipe on the outside of the housing. The compressor is normally suspended from three springs but these are disconnected in the photo. 72  Silicon Chip The gauge pressure, relative to atmosphere, will be -101kPa or -14.7psi if you’re over 45 years old. Americans will say -30in Hg, while Europeans will say minus one bar or possibly -760mm Hg. I buy little vacuum gauges on eBay (see Fig.5) and they can tell you that the typical home-made vacuum pump will pull better than -25in Hg if allowed to run for a while. Remember that below certain vacu- Fig.3: the casing itself. The loop at the bottom is a heat exchanger and leads out to two thin pipes near the bottom of the casing. Gas is drawn directly into the casing and the inlet port can just be seen at the top of the figure. Inlet gas is hot and not very dense so it always flows through large diameter pipe. The service port can be seen at right. siliconchip.com.au You will inevitably draw impurities into the pump while it’s on evacuation duty and some of them can be explosive when subsequently in contact with compressed air. And following on from that, vacuum pumps will be damaged if you allow them to suck up crud. The cure is to use a separator. They are commonly used in distillation (especially the moonlight kind) so look them up or else drop me a line and I’ll show you how to build one out of an old Primus bottle. Fig.4: a reservoir tank made from a 9kg gas If you want to suck up large bottle, adapted to a standard air line fitting. quantities of liquid, dust etc, It is worth knowing that most pipe fittings in it is best to use a large vacuum Australia have a BSP (British Standard Pipe) tank as a reservoir. Old gas botthread. This includes air lines, refrigeration, tles can be found at most dumps, plumbing, irrigation, etc so it is fairly well universal. BSP fittings will even screw into most and it is a simple matter of buying a matching fitting to convert American (NPT) fittings. Note though that gas it to a vacuum tank – see Fig.4. lines use a tapering thread (BSPT) while most other pipes use a parallel thread (BSPP). Places that sell barbecues are a gold mine of fittings, valves um levels you are not so much pump- and hoses that can be re-purposed ing air as convincing air molecules to for our warped needs. Once you’ve float into your pump. evacuated the tank, you’ll be amazed Once it’s all up and running, I like at the sheer power of a measly one bar to solder a hose barb onto the vacuum of (absent) air. line to suit the job at hand, perhaps build it into a handy tool box so I can Politically correct message about refrigerant carry it around, all nice and neat. Note that standard compressed air Most of the fridges I’ve seen at the hoses and fittings work just as well un- local dump have been very obviously der vacuum as they do under pressure. empty of gas; it seems nobody treats You will find that the pump ejects malfunctioning whitegoods very well an oil mist while it’s running. I catch and broken pipes are common. I even the oil in a can and run a hose to the found one that was riddled with bulvacuum line so I can draw the oil back let holes! in once a bit has collected. It is environmentally unfriendly and illegal to release refrigeration gas to Care and feeding the atmosphere, so if you can’t find a First and foremost, don’t ever use ‘pre mauled’ unit, the next best thing your vacuum pump as a compressor. is to go and visit your local refrigera- Fig.5: you’ll find many vacuum gauges on eBay, new and used, ranging from next-to-nothing to next-to-ridiculous. This one, for example, was brand new and about $25 plus postage. Most common are the combined vacuum/ boost gauges intended for automotive use – they’re fine for our purposes and often the cheapest (sometimes <$10). tion mechanic. Refrigeration repair is yet another industry that has been hit hard by cheap imported goods and many people lug in a fridge only to be told that a repair would cost more than a new one. Suddenly you have a fridge waiting for you and the mechanic will suck all of the gas out for a small fee. Even better is that mechanics are generally friendly folks and have all sorts of goodies for the likes of us. How about a 12V fridge compressor? (They are very common in caravan units). Or else maybe a complete condensor unit? They are those boxes that you see on the sides of buildings used for coolrooms and split system air conditioners, and they are full of goodies. I got a working unit for $10. SC WARNING: Use a full face shield when evacuating glassware. Glass will eventually weaken and implode when subjected to vacuum, causing shards to explode outwards. Issues Getting Dog-Eared? REAL VALUE AT $14.95 PLUS P & P Protect your investment with these handy binders. Each one holds one year (12 issues) safely and securely with “easi-wire” insertion. Price just $14.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 ring (02) 9939 3295 [9AM-5PM Mon-Fri] and quote your credit card number. Available in Australia only (ie, not available for export). siliconchip.com.au March 2011  73 12V 20-120W Solar Panel Simulator By JOHN CLARKE How do you test or develop a solar charge controller such as the unit described in SILICON CHIP last month? You could use a solar panel but then you are at the whim of the weather and time of day. Also you would need several panels of different sizes to test it properly. This device solves all those problems. T HIS SOLAR PANEL Simulator allows charge controllers to be tested without a solar panel. A simulator is handy because a solar cell panel will not always provide power and will certainly not deliver its full power output at all times. It is only around noon on a sunny day that the solar panel will deliver its rated power. In other conditions (eg, cloudy days), the panel delivers less than full power, while at night it will not deliver any power at all and may even draw power from the battery (unless precautions are taken). So when the Sun is not shining, an alternative source of power is necessary if you wish to test a charge con74  Silicon Chip troller such as the SILICON CHIP unit described last month. This is where this Solar Panel Simulator comes in handy. It can not only deliver power when required but can also deliver full power for as long as is necessary, regardless of the amount of sunlight. Typical system Solar panels are becoming increasingly popular for charging batteries and supplying power to equipment where mains power is not available. A typical system comprises the solar panel, a solar charge controller and a battery. The charge controller ensures that the battery is correctly charged and is a necessary part of the system. Without it, the battery may be overcharged by the panel, resulting in shortened battery life. Basically, this device can be set up to simulate a 12V solar panel rated anywhere from 20-120W. It can be used to ensure that the charge controller’s MPPT (maximum power point tracking) circuit is operating correctly and features adjustable open-circuit output voltage, adjustable voltage drop with current slope, an adjustable current limit threshold and an adjustable current limit slope to set the short-circuit current. Maximum power transfer For a solar panel simulator to be siliconchip.com.au SOLAR PANEL POWER CURVE SIMULATION (120W PANEL) 24V OPEN CIRCUIT VOLTAGE (Voc = 21.8) 22V VOLTAGE DROP WITH CURRENT SLOPE (VR3) 20V 17.8V 16V CURRENT LIMIT THRESHOLD (VR2) 14V 12V CURRENT LIMIT SLOPE (VR4) 10V 8V 6V 18V 17.2V 16V 14V 12V 10V 8V 6V 4V SHORT CIRCUIT CURRENT (Isc = 7.14A) 6.74A 2V 0V MAXIMUM POWER POINT 20V MAXIMUM POWER POINT 0 0.8 1.6 2.4 3.2 4.0 4.8 5.6 6.4 7.2 8.0 SHORT CIRCUIT CURRENT (Isc = 2.56A) 4V 2V 0V 2.32A OUTPUT VOLTAGE 18V OPEN CIRCUIT VOLTAGE (Voc = 21.4V) 22V OUTPUT VOLTAGE 24V SOLAR PANEL POWER CURVE SIMULATION (40W PANEL) 0 0.4 OUTPUT CURRENT (AMPS) Fig.1: the current/voltage curve for a typical 120W solar panel. VR1 in the simulator is used to set the open circuit voltage while VR2, VR3 and VR4 adjust the other parameters as shown. of any use, it must duplicate a solar panel’s characteristics. This is of particular importance when testing MPPT (maximum power point tracking) devices. MPPT charge controllers are designed to control power delivery to the battery so that the solar panel is always delivering the maximum possible power. To explain, standard charge controllers (ie, those without MPPT) incorporate a relay or solid-state switch to directly connect the solar panel to the battery. However, this does not fully utilise the power available from the solar panel when charging. To illustrate this, take a look at Fig.1 which shows the voltage/current curve for a typical 120W solar panel. As can be seen, its output follows a curve that ranges from maximum voltage when the output is open circuit (Voc) to maximum current when the output is shorted (Isc). For a 120W panel, Voc is typically 21.8V, while Isc is typically 7.14A. The maximum power delivered by the panel occurs at 17.8V for a current of 6.74A (ie, 120W). However, a charge controller that connects the solar panel directly to the battery will deliver 7.1A at 12V, siliconchip.com.au 0.8 1.2 1.6 2.0 2.4 OUTPUT CURRENT (AMPS) Fig.2: the current/voltage curve for a typical 40W solar panel. The simulator can also be adjusted to match this curve (or the curve for any other panel rated from 20120W using trimpots VR1-VR4. 7.05A at 13V and about 7A at 14.4V, equivalent to 85.2W, 91.7W and 101W respectively. As a result, utilisation of the available power from the solar panel is only 84% or less, depending on the battery voltage. The charge controller subsequently disconnects the solar panel when the battery is charged to prevent overcharging. By contrast, when an MPPT charge controller is used, the solar cell is loaded so that it delivers 6.74A at 17.8V, to obtain the full power from Main Features • • • • • • • Simulates 12V solar panels, 20W to 120W Can be run from a 24V battery or supply Adjustable open circuit voltage (Voc) Adjustable voltage drop with current Adjustable current limit threshold Adjustable current limit slope sets short circuit current Additional over-current protection the solar panel (120W). An efficient switchmode converter reduces this voltage so that it is suitable for charging the battery. If the battery voltage is 13V, then the charging current would be close to 9.3A, assuming a very efficient converter. Note that this 9.3A charging current is significantly higher than the panel delivers at 17.8V (the maximum power point) and is also higher than the 7.05A that the panel could deliver if connected directly to the battery. The SILICON CHIP Solar Panel Simulator duplicates the power curve of the solar panel. This allows you to check that the MPPT feature in the Solar Charge Controller is in fact drawing maximum power from the panel. A simple alternative In order to duplicate a solar panel power curve, the Solar Panel Simulator must allow adjustment of several of the curve’s parameters. These are the open circuit voltage (Voc), short circuit current (Isc), voltage drop with current, current limit threshold and the current limit slope. A simple solar panel simulator could be made using a variable voltMarch 2011  75 age is Vmp, then the series resistance would be calculated as (Voc – Vmp)/ Isc. For a 120W panel, the result is (21.8V - 17.8V)/7.14A = 0.56Ω. The power dissipation in this resistor at full power would be 7.14A2 x 0.56Ω = 28.56W (ie, I2R). Of course, if the output is shorted, this resistor needs to be able to dissipate power from the 21.8V power supply source at 7.14A, which is 156W. Normally, the output would not be shorted but if connected directly to a battery under charge, the output could be as low as 12V. In this case, the dissipation would be (21.8V – 12V) x 7.14A = 70W. POWER RESISTANCE POWER SUPPLY WITH CONSTANT CURRENT (ADJUSTABLE LIMIT) 12V BATTERY NON-IDEAL SOLAR PANEL SIMULATOR VOLTAGE DROP DUE TO RESISTANCE OPEN CIRCUIT VOLTAGE MAXIMUM POWER POINT Simulating a 40W panel CURRENT POWER SUPPLY LIMIT CURRENT Fig.3: the basics for a simple solar panel simulator. All that is required is a power supply with adjustable voltage and current limit (constant, not foldback) and a power resistor. However, as shown, such a simulator does not emulate the current/voltage curve of a solar panel very accurately. Q1, Q2, Q3 +24V F1 R1 + R2 SERIES ELEMENT + R5 Q4 OVERCURRENT LIMIT ERROR AMP ZD1, VR1, IC1a REFERENCE IC1b MINIMUM LOAD R6 CURRENT CONTROL 0V R3 + R4 SOLAR PANEL SIMULATOR OUTPUT IC1c, IC1d, VR2, VR3, VR4 – Fig.4: the block diagram for the Solar Panel Simulator circuit. The output voltage is controlled by up to three Mosfets (Q1-Q3) which are driven by error amplifier IC1b. The current control block provides feedback to the error amplifier and the reference block allows the open circuit output voltage to be adjusted. Q4 provides short circuit protection. age power supply with an adjustable current limit, in combination with a suitable series resistance. Fig.3 shows the details. In this case, the current limiting must be constant. Foldback current limiting can not be used, as this reduces the current as the output voltage drops. In operation, the power supply would be set for the solar panel’s Voc 76  Silicon Chip (open circuit voltage) and the current limit would be set for the appropriate Isc (short circuit current). The series resistance in the positive supply provides the necessary voltage drop. In practice, this resistor is chosen to drop the voltage to the maximum power point voltage for the panel at the maximum power point current. If the maximum power point volt- The corresponding figures are much lower if simulating a 40W solar panel. A typical 40W panel has a Voc of 21.4V and an Isc of 2.56A, while its maximum power point is at 17.2V and 2.32A. In this case, a 1.64Ω series resistor would be required and this would dissipate 10.75W at full power. If the output is short circuited, the dissipation in the resistor would be 54.8W. And when directly charging a battery at 12V, the dissipation would be (21.4 - 12) x 2.56A = 24W. Unfortunately, the simulator depicted in Fig.3 is not ideal because the current slope is not easily adjustable and its maximum power point is not correct. The current limit could be reduced to bring the maximum power point to the correct position but this also reduces the short-circuit current. In addition, making a resistor that will effectively dissipate the power required over a long period of time is not an easy task. A better simulator Instead of using a resistor, a better approach is to use a regulated linear supply designed with deliberately poor regulation. That’s because to simulate a solar panel, the voltage must drop under load – normally an undesirable characteristic for such a supply. The simulator is then completed by adding current limiting with an adjustable slope. Fig.4 shows the block diagram of the Solar Panel Simulator. Its input voltage is 24V so it can run from a 24V battery if necessary. The series element provides a voltage drop and is controlled to maintain the correct output voltage by error amplifier IC1b. siliconchip.com.au This op amp compares the output voltage to a reference voltage and controls the series element. When no current is drawn from the output, no voltage appears across resistors R3 and R4 and the current control output is at 0V. At the same time, resistors R5 and R6 divide the output voltage and drive the non-inverting input of the error amplifier (IC1b). As a result, the output voltage from the simulator is maintained so that the voltage on IC1b’s non-inverting input equals the reference voltage. When the simulator’s output supplies current, a voltage drop appears across R3 and R4. The current control block senses this and, in response, increases the voltage at the lower end of R6. As a result, the voltage at the non-inverting input of IC1b increases and so IC1b adjusts the series element resistance to reduce the output voltage (ie, to bring the non-inverting input voltage back to the reference voltage). As a result, the output voltage drops as the load current increases. This same current control block also has a second section which monitors the current through R3 and R4 but this only has an effect at higher current levels. This is configured to reduce the output voltage more dramatically and provides the steep reduction in voltage that occurs at currents above the maximum power point. Fuse F1 and the over-current limit circuit (based on transistor Q4) protect against excessive current flow should the output become shorted. If there is more than 0.7V across resistors R1 and R2, transistor Q4 conducts, in turn reducing the drive to the series element and thus preventing a higher current flow. Circuit details Refer now to Fig.5 for the full circuit details of the Solar Panel Simulator. Note that there are two different ground symbols used, one for the input power supply ground and one for the output ground. In order to simulate a 120W solar panel, three P-channel Mosfets (Q1Q3) are connected in parallel as the series control element. These Mosfets share the power dissipation, which can total more than 171W, ie, Vin x Isc where Vin is the input voltage (24V) and Isc (for a 120W panel) is 7.14A. A single IRF9540 Mosfet can dissipate 140W at a case temperature of siliconchip.com.au 25°C but must be derated at 0.91W/°C above 25°C. Under normal conditions, when providing the maximum power from the Solar Panel Simulator, the total dissipation in the Mosfets is (24V - 17.8V) x 6.74A = 42W, which is shared evenly. Note that either one or two of these power Mosfets can be omitted to simulate smaller panels. A quad op amp (IC1a-IC1d) controls the Mosfets. This device is powered from the 24V supply rail via diode D1 and a 100Ω resistor (on pin 4). Zener diode ZD5 (30V) protects the IC from over-voltage transients, while a 10µF capacitor filters the supply. Diode D1 provides reverse polarity protection. Zener diode ZD4 and its associated 1.2kΩ resistor generates a 9.1V rail. This is then fed to trimpot VR1 and buffered by voltage-follower stage IC1a to provide a variable 0-9.1V reference for IC1b. IC1b is the error amplifier and it monitors the simulator’s output voltage via a 100kΩ resistor to its pin 5 (non-inverting) input. The applied voltage is divided using a 47kΩ resistor which is connected to IC1d’s pin 14 output. IC1d’s output is at 0V when there is no current flowing through the Mosfets. IC1b’s pin 7 output drives the gates of the paralleled power Mosfets via separate 2.2kΩ resistors. These resistors isolate the gate capacitances from the op amp’s output to avoid oscillation. Zener diodes ZD1-ZD3 (18V) protect the Mosfets from excessive gate-source voltages. IC1b ensures a constant set output voltage from the simulator. For example, if VR1 is set so that the output voltage is 21.8V, the voltage at pin 5 (with no current flow in the output) will be 21.8V x 47kΩ/(47kΩ + 100kΩ) = 6.97V. As a result, IC1b controls its output so that its pin 6 inverting input is also 6.79V. It functions as an “error amplifier” because it amplifiers the error, or difference, between the target voltage (as set by VR1, via IC1a) and the actual output voltage (after division). Its gain is set to 100 by the 100kΩ and 1kΩ feedback resistors. Because its gain is so high, when IC1b’s pins 5 & 6 are at 6.97V, the output of IC1a is close to 6.97V (actually, about 7.11V). IC1b’s output will be about 3V below the input supply voltage. This is just low enough to Parts List 1 PC board, code 04103111, 99 x 76mm 1 diecast aluminium box, 119 x 94 x 57mm 2 IP65 cable glands for 4-8mm diameter cable 1 heatsink (see Table 1) 2 2-way PC mount screw terminals with 5.08mm pin spacing 2 M205 PC mount fuse clips 1 M205 fuse (F1) (see Table 1) 3 TO-220 Insulating bushes and Silicone insulating washers 4 15mm M3 tapped Nylon spacers 4 M3 x 12mm countersunk Nylon screws 4 M3 x 6mm machine screws 3 M3 x 10mm machine screws 3 M3 nuts 1 100mm length of 0.7mm enamelled copper wire 1 4m length of 0.315mm Nichrome resistance wire 2 10kΩ horizontal mount trimpot (VR1, VR3) 1 100kΩ horizontal mount trimpot (VR2) 1 2kΩ horizontal mount trimpot (VR4) Semiconductors 1 LM324 quad op amp (IC1) 3 IRF9540 P-channel 100V 23A Mosfets (Q1-Q3) (see Table 1) 1 BC557 PNP transistor (Q4) 1 1N4004 1A diode (D1) 1 1N4148 switching diode (D2) 3 18V 1W zener diodes (ZD1ZD3) (see Table 1) 1 9.1V 1W zener diode (ZD4) 1 30V 1W zener diode (ZD5) Capacitors 1 10µF 35V PC electrolytic 3 10nF MKT polyester (code 10n or 103) Resistors (0.25W, 1%) 3 100kΩ 1 47kΩ 4 10kΩ 3 2.2kΩ (see text & Fig.5) 1 1.2kΩ 2 1kΩ 2 100Ω 3 10Ω (see text & Fig.5) Selected 5W resistors (see Table 1) March 2011  77 R1* 24V INPUT Q1 IRF9540 F1 + S + ZD1 R2* – OUTPUT D 18V 1W A K CON1 10k G B A 10Ω C E D1 1N4004 Q4 BC557 – 2.2k CON2 Q2 IRF9540 K S D ZD2 100Ω 18V 1W K A V+ K 1.2k A ZD5 30V 1W G 10Ω 10 µF 35V 2.2k R5 100k Q3 IRF9540 S D ZD3 18V 1W K A +9.1V ZD4 9.1V 1W O/C VOLTAGE K 3 VR1 10k A 2 10Ω 4 IC1a G 2.2k 1 10nF 11 100k 1k 6 5 D2 1N4148 10 CURRENT LIMIT THRESHOLD VR3 10k 9 1k IC1c 8 A K 7 IC1b 10k 12 R6 47k 14 IC1d 100k IC1: LM324 10nF VR2 100k 100Ω VR4 2k 13 10k 10nF * SEE TEXT VOLTAGE DROP WITH CURRENT CURRENT LIMIT SLOPE 10k R3* R4* D1 A SC 2011 SOLAR PANEL SIMULATOR D2 A K B ZD1–5 A IRF9540 BC557 K K E G C D D S Fig.5: the complete circuit for the solar panel simulator. IC1b forms an error amplifier which controls Mosfets Q1-Q3 to set the output voltage. IC1d monitors the current through the output using resistors R3 & R4 and, together with IC1c, controls IC1b so that the output voltage behaves like a solar panel. The Mosfets and zener diodes highlighted in yellow (and their associated 10Ω and 2.2kΩ resistors) are necessary to simulate higher-power panels – see Table 1. turn the Mosfets on and so a small amount of current flows through the 10kΩ resistor across the output. This system provides negative feedback, so that the correct output voltage (as set by VR1) is maintained, even though the characteristics of the Mosfets can vary with temperature and other factors. If the output voltage drops, IC1b’s output goes lower and 78  Silicon Chip increases the drive to Mosfets Q1-Q3 to maintain the target output voltage. So this part of the circuit behaves like a linear regulator. Resistors R3 and R4, in combination with amplifier IC1d, monitor the current through the load. This feeds back into the output voltage since IC1d’s output is connected to the lower end of the voltage divider made up of R5 & R6. The higher the output current, the greater the voltage across R3 & R4 and thus the greater the voltage at the pin 14 output of op amp IC1d. This in turn increases the voltage at the non-inverting input of error amplifier IC1b. As a result, the error amplifier’s output increases and this throttles back the Mosfets to reduce the Solar Panel Simulator’s output siliconchip.com.au voltage. Trimpot VR2 sets the gain for IC1d and thus controls the rate at which the output voltage drops with increasing current. Op amp IC1c sets the current limit and also controls the rate at which the output voltage drops off when it is reached. At low currents, IC1c’s output is lower than the voltage at the junction of resistors R3 & R4 and so diode D2 is reverse biased. As a result, it does not affect the error amplifier’s input voltage. IC1c is configured with a much higher gain than IC1d (about 100). The current limit threshold, as set by trimpot VR3, holds the output of IC1c low until a preset current is reached. Above that point, IC1c takes over from IC1d due to its high gain. Basically, VR3’s setting determines the current at which the output voltage begins to steeply decline. When the set level is exceeded, IC1c controls the error amplifier via diode D2 and a 10kΩ resistor, dramatically reducing the simulator’s output voltage due to its high gain. The actual rate of voltage drop with current is set by adjusting IC1c’s gain using VR4. Construction The circuit is easy to build, with all parts mounted on a PC board coded 04103111 and measuring 99 x 76mm. This board is mounted on 15mm tapped spacers inside a diecast aluminium box measuring 119 x 94 x 57mm. Note, however, that additional heatsinking for the Mosfets is necessary – see photos & Table 1. Note also that, depending on the solar panel being simulated, some parts may not be required. Table 1 summarises the parts needed to simulate various solar panels and their corresponding heatsink requirements. Before mounting any parts, check the PC board for broken tracks and Fig.6: follow this overlay diagram to build the PC board. Mosfets Q1-Q3 are lined up along the edge of the board as they require a large heatsink. Some of the components (R2, R4, Q2-Q3, ZD2-ZD3 and some 10Ω and 2.2kΩ resistors) are only required for simulating larger solar panels – see Table 1 below. Table 1: Mosfets & Current Sensing Resistors Solar Panel Short Circuit Current & Fuse Rating (F1) Resistors R1 & R2 Resistors R3 & R4 Mosfets & Zener Diodes Required Heatsink <2A 0.47Ω 5W (R1) 0.22Ω 5W (R3) Q1 & ZD1 2.1°C per watt 2-4A 0.22Ω 5W (R1) 0.1Ω 5W (R3) 1.4°C per watt 4-8A 0.22Ω 5W (R1) 0.22Ω 5W (R2) 0.1Ω 5W (R3) 0.1Ω 5W (R4) Q1& Q2 ZD1 & ZD2 Q1, Q2 & Q3 ZD1, ZD2 & ZD3 for shorts between tracks and pads. Check also that the hole sizes are correct for each component to fit neatly. The screw terminal holes are 1.25mm in diameter compared to the 0.9mm holes for the ICs, resistors and diodes. Larger holes again are required for the fuse clips – test fit these clips to ensure that the holes are correct. Begin the assembly by installing the wire links, then install the resis- 0.7°C per watt tors. Table 2 shows the resistor colour codes but you should also check each one using a DMM before it is installed. The values for resistors R1-R4 must be selected according to the panel to be simulated – see Table 1. Note that R2 & R4 are not needed to simulate panel current ratings of less than 4A. Resistors R1 & R2 are chosen so that the current limit is greater than the short circuit current for the solar panel Table 2: Resistor Colour Codes o o o o o o o o o siliconchip.com.au No.   3   1   4   3   1   1   1   3 Value 100kΩ 47kΩ 10kΩ 2.2kΩ 1.2kΩ 1kΩ 100Ω 10Ω 4-Band Code (1%) brown black yellow brown yellow violet orange brown brown black orange brown red red red brown brown red red brown brown black red brown brown black brown brown brown black black brown 5-Band Code (1%) brown black black orange brown yellow violet black red brown brown black black red brown red red black brown brown brown red black brown brown brown black black brown brown brown black black black brown brown black black gold brown March 2011  79 INSULATING WASHER INSULATING BUSH M3 x 15mm SCREW M3 NUT TO220 DEVICE (HEATSINK) PC BOARD BOX SIDE Fig.7: Mosfets Q1-Q3 must be electrically isolated from the case using silicone insulating washers and insulating bushes. After mounting each device, use your DMM (set to a high Ohms range) to check that its metal tab is indeed isolated from the case. A finned heatsink is necessary to keep the Mosfets cool. Table 1 shows the Mosfets required and the corresponding heatsink requirements for different output currents. Note that the Mosfets must be electrically isolated from the case – see Fig.7 above. under simulation. If both resistors are used, they should be stacked, one on top of the other – see photo below. Extra mounting holes are included for the second resistor. If both R3 and R4 are used, they are mounted side-byside on the PC board. Diodes D1 & D2 and the zener diodes are next on the list. These must be mounted with the orientations shown. Install zener diodes ZD1-ZD3 as required, as indicated in Table 1. ZD4 and ZD5 are required in all cases. IC1 can now be soldered into place (pin 1 at top right), followed by the capacitors. Make sure that the electrolytic type is orientated correctly. The trimpots can then go in, followed by the two 2-way screw terminal blocks. Be sure to mount latter with their entry This close-up view shows the PC board with all Mosfets, zener diodes and resistors installed. holes facing outwards. Follow these with the fuse clips for F1. Make sure that these are orientated correctly, with the end stop toward the outside of the fuse for each clip. If this is not done, you won’t be able to install the fuse later on. The PC board assembly can now be completed by installing Mosfets Q1Q3 – see Table 2. Each of these devices is installed with its metal tab facing outwards and with the mounting hole centre in each tab about 21mm above the PC board. Final assembly The PC board can now be mounted inside its box. Start by placing the board inside the case and marking out the positions of the four mounting holes. These should then be drilled using a 3mm drill. Countersink the holes on the outside of the case, then install the four 15mm x M3 tapped spacers and temporarily secure the board in place. Next, mark the mounting holes for the Mosfets, then remove the PC board and drill the holes to 3mm. That done, use an oversize drill to remove any metal swarf so that the area around each hole is perfectly smooth. This is necessary to prevent punch-through 80  Silicon Chip siliconchip.com.au of the insulating washers when the devices are secured to the case. Once the mounting holes have been drilled, you can use the case as a template to mark out the corresponding holes in the selected heatsink (refer Table 1 to select a suitable heatsink). Once that’s done, the Mosfets and the heatsink can be fastened to the side of the case as shown in Fig.7. Note that it’s necessary to isolate each device tab from the case using an insulating washer and insulating bush. Once they have been installed, use a DMM (set to Ohms) to confirm that the metal tabs are indeed isolated from the case. If a low-resistance reading is measured, loosen each device in turn until the fault clears and check for puncture marks or holes in the silicone washer for the faulty assembly. Make sure the Mosfets are securely attached to the heatsink (or side of the box) to ensure that the heat is efficiently transferred. Finally, you will need to drill holes in either side of the case, near the screw terminal block, to accept the external wiring connections. These can be secured using cable glands. Setting up The step-by-step setting-up procedure is as follows: (1) Set trimpots VR3 & VR4 fully clockwise and install fuse F1. (2) Apply 24V to CON1 and adjust VR1 for the correct solar panel open circuit voltage at the output (CON2). (3) Attach a variable resistive load made from Nichrome wire to the simulator’s output (see adjacent panel and Table 3 for the details on making this load). (4) Adjust this resistance to give the maximum power point. This resistance value can be calculated by dividing the maximum power point voltage by the maximum power point current. Table 3 shows some typical values for various panels. (5) Adjust VR2 for the correct output voltage at the maximum power point. (6) Adjust VR3 slowly anti-clockwise until the voltage suddenly drops, then Making An Adjustable Load From Nichrome Wire An adjustable load is necessary to test and calibrate the simulator and this can be made using Nichrome wire. Table 3 shows the load resistances required for maximum power from a number of typical solar panels ranging from 40W to 120W. Each resistance is used to load the Solar Panel Simulator at the maximum power point for a given panel size. A lower resistance is then required to check the current limit threshold and the current slope. Note that it is not necessary (nor desirable) to short circuit the output of the Solar Panel Simulator. The slope of the current limit can be checked against the graph for that panel by loading the simulator with resistances above 0Ω. Nichrome wire can dissipate about 50W per metre before it becomes red hot. Assuming a diameter of 0.315mm, it has a resistance of about 13.77Ω per metre. As a result, you may need to use several paralleled strands of Nichrome wire to share the current and reduce heating to an acceptable level. A variable resistance can be made by first connecting the 0V output of the Solar Panel Simulator to one end of the wire. A flying lead with a clip can then be used to connect the positive output to various points along the wire. The wire itself should be wrapped around insulating material such as a length of timber. Alternatively, it can be suspended on a board between two points. Note that the resistance wire will become hot in use and could scorch any timber that it comes in contact with if left on for long enough. For this reason, keep it clear of any combustible material, do not touch it during operation and do not wrap it around plastic pipe or conduit. Table 3: Test Load Resistance Required For Setting The Maximum Power Point Panel Rating Maximum Power Point Load Resistance Required For Maximum Power Nichrome Wire (0.315mm diameter at 13.77Ω/m) 40W 17.2V <at> 2.32A 7.41Ω 65W 17.2V <at> 3.78A 4.55Ω 80W 17.6V <at> 4.55A 3.87Ω 120W 17.8V <at> 6.74A 2.64Ω 2 x 1080mm-long parallel strands 2 x 991mm-long parallel strands 2 x 843mm-long parallel strands 2 x 767mm-long parallel strands back off slightly in the other direction. (7) Reduce the load resistance (ie, by sliding the clip along the Nichrome wire) until the output voltage falls to 10V (but don’t go lower as this greatly increases the dissipation). (8) Check the voltage/current graph for your panel to determine its output current at that voltage and adjust VR4 to match this current. This gives the correct current slope for the simulator. For example, for a 120W solar panel, the output current at 10V is typically about 7A – see Fig.1. For a 40W panel, the corresponding figure is about 2.45A. Note that this adjustment is not particularly critical. To measure this current, simply connect your DMM (set to Amps) in series with the load. Alternatively, you can calculate the required voltage drop across R1 (or R1 & R2) and adjust VR4 to give this voltage. Once the adjustments have been completed, the Solar Panel Simulator SC is ready for use. Issues Getting Dog-Eared? Keep your copies safe with these handy binders. REAL VALUE AT $14.95 PLUS P & P 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 March 2011  81 SILICON CHIP If you are seeing a blank page here, it is more than likely that it contained advertising which is now out of date and the advertiser has requested that the page be removed to prevent misunderstandings. Please feel free to visit the advertiser’s website: www.altronics.com.au/ SILICON CHIP If you are seeing a blank page here, it is more than likely that it contained advertising which is now out of date and the advertiser has requested that the page be removed to prevent misunderstandings. Please feel free to visit the advertiser’s website: www.altronics.com.au/ SILICON CHIP If you are seeing a blank page here, it is more than likely that it contained advertising which is now out of date and the advertiser has requested that the page be removed to prevent misunderstandings. Please feel free to visit the advertiser’s website: www.altronics.com.au/ SILICON CHIP If you are seeing a blank page here, it is more than likely that it contained advertising which is now out of date and the advertiser has requested that the page be removed to prevent misunderstandings. Please feel free to visit the advertiser’s website: www.altronics.com.au/ Hearing-aid wearers often have difficulty understanding conversations in noisy environments, especially if they have switched their personal hearing aid from microphone mode to T-coil mode. This projects solves that problem. By JOHN CLARKE Microphone To Neck Loop Coupler For Hearing Aids I N ORDER TO LISTEN to a hearing loop via a hearing aid fitted with a T-coil, the wearer needs to switch off the inbuilt microphone receiver. Instead, the hearing aid is switched to T-coil mode so that it can receive and process signals from the hearing loop. Such loops are often installed in public buildings, churches and halls. However, while this allows signals from the hearing loop to be heard, it prevents the user from hearing ambient sounds. It also prevents them from hearing other people around them, making conversation difficult. This Microphone to Neck Loop Coupler is the answer to this problem. It comes in two parts: (1) a small battery86  Silicon Chip powered unit that can be slipped into a shirt pocket; and (2) a wire neck loop coil that the user wears around . . . well, yes . . . their neck. This neck loop plugs into the battery-powered unit via a 3.5mm mono jack socket. The battery-powered unit has an inbuilt electret microphone, a microphone preamplifier and an amplifier to drive the neck loop. In use, the microphone picks up local sounds (or conversations) and sends them to a neck loop. The neck loop then couples the signal into the hearing aid via its T-coil. A volume control allows the level to be adjusted to suit the listener’s requirements, or it can be turned right down (or the unit switched off) to eliminate ambient sound. In summary, this unit can be thought of as a personal version of the much larger inductive loop systems installed in public places. It can operate in parallel with such systems or on its own. Presentation As shown in the photos, the preamp/coil-driver unit is housed in a small hand-held case. A power switch, power indication LED, volume control and 3.5mm jack socket are located on an end panel, at the top of the unit. Power comes from a 9V battery and the current consumption is around 10mA. This should give up to 40 siliconchip.com.au +8.7V 10k 470 µF 100 µF 10k K K IC1: TL072 470 µF A 100k 5 6 10k IC1b 7 10Ω 4 15nF IC1a 2 1 470 µF 10 µF VR2 10k LOG 1k 2.2k VR1 10k LEVEL 100nF 3 VOLUME 2 6 1 IC2 LM386N 5 7 10 Ω 1W 100 µF 10Ω 10 µF TO NECK LOOP 3.5mm JACK SOCKET 10 µF 47nF ELECTRET MIC (WITH PINS) 1N4148 1N5819 SC 8 4 + – 2011 27k 220pF 2.2nF 10 µF 9V BATTERY 8 3 10k ELECTRET MICROPHONE D2 1N4148 A ZD1 4.7V 1k 100k + S1 K λ LED1 A K A POWER +4.05V D1 IN5819 POWER 150Ω +8.1V NECK LOOP DRIVER AMPLIFIER A A K A LED K ZD1 K K A Fig.1: the circuit uses a microphone preamplifier stage (op amps IC1b & IC1a) to drive an LM386N audio amplifier (IC2). IC2 in turn drives a neck loop via a 3.5mm jack socket, with VR2 acting as the volume control. hours of use before the battery needs changing. The power LED also functions as a rough battery-level indicator. Its initial brightness when power is applied is dependent on battery voltage. Once power has been applied, the LED brightness is automatically reduced to conserve the battery (more on this later). Circuit details Take a look now at Fig.1 for the circuit details. It uses a TL072 dual op amp, an LM386 audio amplifier IC, an electret microphone and a few sundry bits and pieces. Signals picked up by the microphone are fed to the non-inverting input of IC1b via a 15nF capacitor. IC1b is the microphone preamplifier and is wired as a non-inverting stage with a a gain of about 5.5 as set by the 10kΩ and 2.2kΩ feedback resistors. The 15nF capacitor and 100kΩ load resistor at the pin 5 input set the low frequency roll-off to about 100Hz. As shown, the 100kΩ resistor connects to a supply that’s nominally at 4.05V, as set by two 10kΩ divider resistors across the 8.1V supply rail. This is siliconchip.com.au bypassed using a 100µF capacitor. The supply for the electret microphone is via another 10kΩ resistor from this 4.05V source. The low frequency roll-off for IC1b is 7.2Hz, as set by the 2.2kΩ resistor at pin 6 and the 10µF capacitor to ground, while the high-frequency roll-off starts at around 7.2kHz. IC1b’s output appears at pin 7 and is fed to the pin 3 (non-inverting) input of IC1a via a 10Ω stopper resistor. IC1a is also wired as a non-inverting amplifier and its gain is adjustable via 10kΩ trimpot VR1. In its minimum position, the gain is 101 as set by the 100kΩ and 1kΩ resistors, while its low-frequency roll-off is 16Hz due to the 1kΩ resistor and 10µF capacitor. At the other extreme, when VR1 is set to 10kΩ, the gain is about 10 and the low-frequency roll-off is at 1.45Hz. The high-frequency roll-off for this stage is set by the 220pF capacitor across the 100kΩ feedback resistor. This rolls off frequencies above about 7.2kHz. Following IC1a, the signal is AC-coupled via a 10µF capacitor to a 10kΩ volume control pot (VR1). This sets the signal level applied to audio power amplifier stage IC2 (LM386). IC2 can provide up to about 14mA RMS into a 43Ω load. This load consists of a 10Ω resistor at the output (pin 5) plus the neck loop itself, the latter consisting of a 150mm-diameter 4-turn wire loop in series with a 33Ω resistor. IC2 has a gain of 20 and is powered from an 8.7V supply rail which is applied to pin 6. This is bypassed with a 470µF capacitor. A separate 10µF supply bypass capacitor at pin 7 removes supply ripple from the amplifier’s input stages. At the output, a Zobel network comprising a 10Ω resistor and 47nF capacitor prevents amplifier instability. The output appears at pin 5 and drives the neck loop via the aforementioned 10Ω 1W resistor and a series 100µF capacitor. This capacitor provides lowfrequency roll-off for signals below 37Hz (assuming a 43Ω load), as well as removing DC from the signal. Power supply Power for the circuit is derived from a 9V battery, with diode D1 providing protection against a reverse polarity March 2011  87 TO NECK LOOP LED1 S1 CON1 150 100 F 10 F 470 F 10 ELECTRET MIC 15nF 2.2k VR1 10k 100k 9V BATTERY 10 F + 10k 10k IC1 TL072 470 F 100k 1k 1k 27k D1 220pF 10 2.2nF + 10k 100 F 10  1W 4.7V 470 F 10 F 47nF IC2 LM386 D2 ZD1 4148 RELPU O C/REVIE CER P O OL 10190210 100nF 10 F 5819 VR2 10k LOG K 10k A connection. D1 is a Schottky type, so the voltage drop across it is only about 0.3V. Switch S1 provides power on/ off switching. LED1 is used to indicate both power status and battery condition. It works like this: when power is first applied, current for the LED flows through 4.7V zener diode ZD1, the 1kΩ resistor and the 470µF capacitor (which is initially discharged). If the 9V battery is fresh, it provides 8.7V at the anode of LED1 (due to the drop across D1). Further voltage drops of 1.8V and 4.7V take place across LED1 and ZD1 respectively, leaving 2.2V across the 1kΩ resistor. As a result, 2.2mA flows through LED1 and the LED lights. At lower battery voltages, there is less voltage across the 1kΩ resistor, so less current flows and the LED is dimmer. For example, at a battery voltage of 7V, there is only about 0.2V across the 1kΩ resistor and so the current is reduced to just 0.2mA and the LED barely lights. Regardless of the battery voltage, 88  Silicon Chip Fig.2: follow this parts layout diagram and the above photo to build the unit. The assembly is straightforward but take care not to get the ICs mixed up and make sure that all polarised parts are correctly orientated. Power comes from a 9V battery. when the LED lights the 470µF capacitor quickly charges. As a result, the LED current is progressively reduced and the LED automatically dims to conserve battery power. The 27kΩ resistor across the 470µF capacitor ensures that the LED stays lit but at reduced brightness, to indicate that the power is on. Basically, the 470µF capacitor is included only to provide battery voltage indication at power up. When the power is subsequently switched off, diode D2 discharges the 470µF capacitor. This ensures that the battery condition indicator circuit is ready the next time power is applied. Power amplifier IC2 is powered directly from the 8.7V rail, while IC1 is powered from this rail via a 150Ω resistor, giving a rail of about 8.1V. A 470µF capacitor on pin 8 of IC1 filters this 8.1V rail and prevents instability. Construction The Microphone To Neck Loop Coupler is constructed on a PC board coded 01209101 and measuring 65 x 86mm. This is housed in a remote control case measuring 135 x 70 x 24mm. Separate labels attach to the top end panel of the case and to the front. Note that the same PC board was used for the Hearing Loop Receiver described in the September 2010 issue (the two circuits are almost the same). As a result, there are a few unused component holes in the PC board for the Microphone To Neck Loop Coupler project (the unused component positions are for extra parts used in the Hearing Aid Loop Receiver). The PC board is designed to mount onto integral mounting bushes in the base. Before installing any of the parts, check that the top edge of the PC board is correctly shaped at the corners, so that it fits into the case. If not, it can be filed to shape using the PC board overlay outline as a guide. Begin construction by checking the PC board for any defects and repair these if necessary. Check also that the PC board mounting holes are correct; siliconchip.com.au Fig.3: the neck loop is made using a 750mm-length of 4-core cable. This is wired to form a 4-turn loop and connected to a 500mm-length of single-core microphone cable. The other end of this cable is then wired to a 3.5mm jack plug, with a 33Ω resistor in series between the inner wire and the plug tip terminal. 33  RESISTOR BETWEEN INNER WIRE & PLUG TIP TIP WIRE ENDS JOINED TO FORM 4-TURN LOOP, THEN EACH JOINT COVERED WITH INSULATING TAPE OR HEATSHRINK SLEEVING SECOND 3.5mm PLUG COVER PUSHED UP TO ENCLOSE THE CABLE JOINTS 500mm LENGTH OF SHIELDED CABLE 3.5mm JACK PLUG LOOP MADE FROM 750mm LENGTH OF 4-WAY TELEPHONE CABLE PLUG COVER LOOP ENDS JOINED TO INNER CONDUCTOR AND OUTER SHIELD OF CABLE, THEN COVERED WITH INSULATING TAPE SLEEVE they should be 3mm in diameter, as should the holes for the battery leads Fig.2 shows the parts layout on the PC board. Start the assembly by installing the resistors. Table 1 shows the resistor colour codes but you should also use a DMM to confirm each value as it is installed. Once these are in, install the diodes, taking care to orientate them as shown. Next, install the two PC stakes at the bottom lefthand corner (for the battery leads), then install the two ICs. Be careful not to get the ICs mixed up and be sure to install them the right way around. The ICs can either be soldered directly to the PC board or mounted via sockets. The capacitors are next on the list. Take care with the polarity of the electrolytics and make sure that no capacitors are higher than 12.5mm, otherwise the lid of the case will not fit correctly. Trimpot VR1, switch S1, potentiometer VR2 and the 3.5mm mono socket can now all be installed. That done, install LED1. This mounts horizontally, with its leads 6mm above the PC board and its anode lead to the left. To do this, first bend its leads down by 90° about 12mm from its body (make sure it is orientated correctly). That done, cut a 6mm-wide cardboard spacer, then push the LED’s leads down onto this before soldering them. The board assembly can now be completed by installing the electret microphone. Make sure it is correctly orientated – its positive side goes towards the top and its face must be no higher than 12mm above the PC board. the top end panel of the case and drill out the holes for the power switch, indicator LED, the pot and the 3.5mm socket. The PC board can then be secured to the base of the case using four M3 x 5mm screws into the integral mounting bushes. The case lid also requires a small cut-out to clear the pot shaft plus a small hole for the microphone. This latter hole is drilled by first fitting the label to the lid, then drilling a 3mm hole in the position indicated, so that it is centred over the microphone. A Table 2: Capacitor Codes Fitting the battery connector The battery connector is installed by first passing its leads through the battery compartment of the case, and then looping them through the holes in the PC board – see Fig.2. This anchors the leads which can now be soldered to the PC stakes (watch the polarity). Once that’s done, attach the label to Value 100nF 47nF 15nF 2.2nF 220pF µF Value 0.1µF .047µF .015µF .0022µF   NA IEC Code EIA Code 100n 104   47n 473   15n 153   2n2 222 220p 221 Table 1: Resistor Colour Codes o No. Value o   2 100kΩ o   1 27kΩ o   4 10kΩ o   1 2.2kΩ o   2 1kΩ o   1 150Ω o   1 33Ω* o   2 10Ω * attached to jack plug – see Fig.3 siliconchip.com.au 4-Band Code (1%) brown black yellow brown red violet orange brown brown black orange brown red red red brown brown black red brown brown green brown brown orange orange black brown brown black black brown 5-Band Code (1%) brown black black orange brown red violet black red brown brown black black red brown red red black brown brown brown black black brown brown brown green black black brown orange orange black gold brown brown black black gold brown March 2011  89 Here’s another view of the fullyassembled unit. Note that you will have to make cut-outs in the end panel and in the case lid to clear the pot shaft. The completed unit is lightweight and can be easily clipped onto clothing or slipped into a pocket. The loop is worn around the neck and couples signals into the hearing-aid’s T-coil. 3mm LED bezel can then then fitted to this hole, to provide a neat appearance. Making the neck loop The top panel of the unit provides access to the 3.5mm jack socket, the volume control and the power switch. Also present is the power indicator LED. How To Make Your Own Labels If you are building this project from a kit, then the labels will probably be supplied. If not, the labels can be downloaded as PDF files from the SILICON CHIP website and printed out onto photo paper with a peel-away adhesive backing or onto clear plastic film. If you are using clear plastic film (eg, overhead projector film), you can print the label as a mirror image so that the ink is at the back of the film when it is placed onto the panel. Wait until the ink is dry before cutting the label to size. The film can then be affixed in place using an even smear of neutral-cure silicone. If you are affixing the label to a black panel (eg, if using the specified case), use coloured silicone such as grey or white so that the lettering will stand out. The holes in labels can be cut out using a sharp hobby knife after the silicone has cured. 90  Silicon Chip The neck loop is made using a 750mm-length of 4-core telephone cable. Alternatively, you can use RJ11 4P4C extension cable if you want black (telephone cable is usually white). Fig.3 shows how the cable is wired to form a 4-turn loop. This is then connected to a 500mm-length of white or black single-core microphone cable. A 3.5mm jack plug and a 33Ω resistor are then fitted to the other end of this cable, so that it can be plugged into the microphone pick-up/amplifier unit. Testing To test the unit, apply power and check that the power LED lights. If it does, check that there is about 8.1V between pins 4 & 8 of IC1 (assuming a 9V battery supply). Similarly, IC2 should have about 8.7V between pins 4 & 6. If this all checks out, plug the neck loop into the socket and check the performance of the unit. To do this, you will need either a hearing aid with a T-coil or a hearing loop receiver such as the one described in the September siliconchip.com.au Parts List 1 plastic case, 135 x 70 x 24mm (Jaycar HB5610 or equivalent – see text) 1 PC board, code 01209101, 65 x 86mm (or use 01209102 to suit Altronics H0342 case) 1 end panel label, 55 x 14mm 1 front panel label, 67 x 49mm 1 miniature PC-mount SPDT toggle switch (S1) 1 3.5mm PC-mount stereo socket 1 3.5mm stereo line plug 1 3.5mm line plug for neck loop ‘Y’ covering 1 10kΩ horizontal trimpot (VR1) 1 10kΩ log potentiometer, PCmount, 9mm square (VR2) 1 knob to suit potentiometer 2 DIP8 IC sockets (optional) 1 10mm OD PC-mount electret microphone 1 3mm LED bezel 1 9V (216) alkaline battery 1 750mm length of 4-way white or black sheathed flat modular telephone wire 1 500mm length of white or black sheathed single-core shielded cable 1 9V battery clip 2010 issue of SILICON CHIP. Note that this receiver needs to be at right angles to the loop. So for a horizontally mounted loop, the receiver is held in the vertical plane. Trimpot VR1 is simply adjusted for best results, so that the volume control (VR2) works over its range without excessive levels at full volume. Another method of checking the unit is to plug headphones into the outlet socket and check that the microphone sound is amplified. Loop orientation In operation, the neck loop signal is magnetically coupled to the T-coil. However, because the loop is worn around the neck, it is not orientated in the optimum position for the hearing aid to receive the field. In addition, the T-coil is not exactly perpendicular to the neck loop and so the signal level is not as high as it would otherwise be. This has been taken care of in the design of the Microphone To Neck Loop Coupler circuit. Basically, it has siliconchip.com.au 2 PC stakes 4 M3 x 5mm screws Semiconductors 1 TL072 dual op amp (IC1) 1 LM386 1W amplifier (IC2) 1 4.7V 1W zener diode (ZD1) 1 1N5819 1A Schottky diode (D1) 1 1N4148 switching diode (D2) 1 3mm red LED (LED1) Capacitors 3 470µF 16V PC electrolytic 2 100µF 16V PC electrolytic 4 10µF 16V PC electrolytic 1 100nF MKT polyester 1 47nF MKT polyester 1 15nF MKT polyester 1 2.2nF MKT polyester 2 220pF ceramic Resistors (0.25W, 1%) 2 100kΩ 1 150Ω 1 27kΩ 1 33Ω 4 10kΩ 2 10Ω 1 2.2kΩ 1 10Ω 1W 2 1kΩ Miscellaneous Heatshrink tubing enough gain to drive the loop so that a satisfactory level is obtained in the hearing aid. However, if the neck loop is plugged into an MP3 player or similar, the signal may not be sufficient for satisfactory sound levels to be heard. In some cases, it may be simply a matter of adjusting the volume on the MP3 player but that’s by no means guaranteed. Note that if you do intend plugging the neck loop into a stereo outlet (eg, an MP3 player), you will need to install an additional 33Ω resistor in the jack plug. This extra resistor goes between the loop and the ring connection of the jack plug and is necessary to provide stereo-to-mono mixing of the signal. Give your lighting projects a SEOUL AS FEATURED IN ZZLER SILICON CHIP LED DA 11) (P24, FEBRUARY 20 Acriche A4 4W Pure White AC LED Mounted on PCB No Electronics Needed, Just add power AW3231-240V $16.00 +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 Top View SMD White LED High Brightness pure white LED in small PLCC package Great for strip lighting Typical luminous intensity 1600mcd KWT803-S $0.30ea+GST Belt clip Finally, if you require a belt clip for the unit, take a look at the Altronics H0349. It’s on their website at www.altronics.com.au We have also produced a slightly modified PC board pattern (01209102) to suit the Altronics H0342 SC hand-held case. AUSTRALIAN DISTRIBUTOR Ph. 07 3390 3302 Fx. 07 3390 3329 Email: sales<at>rmsparts.com.au www.rmsparts.com.au March 2011  91 The Atten ADS1102CA Digital Storage Oscilloscope “Hands-On” Review by Mauro Grassi. This affordable dual-channel DSO has many features found in more expensive oscilloscopes, with a wide analog bandwidth of 100MHz, a colour LCD screen and good connection options. It is light, portable and very quiet in operation. T he prices of entry-level DSOs have fallen in recent years and many have features previously found only in more expensive models. One of the most affordable in its class is the Atten ADS1102CA, a dual channel model with an analog bandwidth of 100MHz and a colour TFT LCD screen. While the higher bandwidth of this DSO makes it substantially more expensive than, say, 20-25MHz or even 50-60MHz models, it still represents very good value for the combination of software and hardware features that it has. the resolution of the screen won’t matter particularly, because you’ll be looking for qualitative features of the waveform (and any quantitative features can be measured). On the plus side, the display is bright and can be read well over a range of viewing angles. 1GS/s but this only applies if using one channel. If using two channels, you need to halve this rate (and the rate of 500MS/s applies only if the timebase is faster than 50ns per division). Each knob is “digital” and responds to turning and pressing. There are two other, smaller, knobs on the front panel. One is used to set the trigger level and Front panel layout is grouped with the buttons associated The front panel of the ADS1102CA with the triggering menus. The other is mimics other DSOs we have reviewed. a so-called “universal” knob, used to The layout of the controls is logical, change different settings depending on with buttons grouped according to the context and it lights up when it can function. be used to change a setting. There are dedicated offset and ampliThe six menu buttons are laid out in LCD screen tude (vertical scale) knobs for each of two groups of three; there is a dedicated The screen is a 64K colour (16-bit), the two analog channels, and another help button and illuminated buttons for 5.7 inch TFT LCD with a resolution pair for the horizontal timebase. The each channel. In addition, five context-sensitive of 320 x 234 pixels (close enough to timebase can be varied between 2.5ns QVGA at 320 x 240 pixels). You can and 50s per division. The real time buttons run down the right hand side vary the brightness of the LCD and its sampling rate of the ADS1102CA is of the display that correspond to the menus displayed on the intensity, as well as choosscreen. The menu system ing the look of the grid. is simple to use and apThe rendering can be in pears and disappears as vector or “dot” mode and Input channels: 2 required. It is hiearchical you can enable timed or Analog Bandwidth: DC to 100MHz and in some cases encominfinite persistence. While Sampling Rate: 1GS/s (single channel) passes more than one on the screen is big, its resoluMemory Depth: 40Kpts screen page. You move tion is relatively low – the Vertical Sensitivity: 2mV/div (at x1) from one “page” to the major compromise with next using the lowest of this model. Vertical Resolution: 8 bits the five buttons. A colour screen is conLCD Display: 5.7inch 16-bit colour TFT QVGA, The menu display dissiderably more attractive 320 x 234 pixels appears when a timeout than a monochrome display Size and Weight: 305 x 154 x 133mm; 2.3kg period expires without though and in most cases, Specifications At A Glance: 92  Silicon Chip 305mm x 154mm x133mm siliconchip.com.au user input and this can be set from two to 20 seconds (the timeout can also be disabled). There is a dedicated button, just above the five context sensitive buttons, that can be used to make the menus disappear instantly. When the menus are visible, you can still see 10 of the 12 timebase divisions of the waveform display (and always eight vertical divisions). As mentioned, some of the pushbuttons are illuminated, usually green but some change colour; the RUN/STOP button is green when running and red when stopped. Each of the two channels has an illuminated button that is lit green when the channel is enabled. Pressing this button also brings up the options for that channel. Analog input connectors There are BNC connectors for each of the two analog channels that accept (passive) probes, as well as an external trigger input. The ADS1102CA is supplied with two passive 100MHz probes Fig.1: this screen grab shows the 1kHz square wave used for probe compensation. The frequency counter is in use showing the frequency is very close to 1kHz. The voltage scale is shown as 56mV per division (on the “fine” setting) which makes the amplitude around 170mV (or 340mV peak-to-peak). Note that the ADS1102CA can also perform a self test and self calibration procedure. siliconchip.com.au with switchable x1 or x10 attenuation, although the settings allow for x10 and x1000 probes as well. The ADS1102CA has a 1kHz compensation output, for calibrating the probes. You connect the probe to the compensation output and adjust its trimmer capacitor until the “square” wave looks square (see Fig.1). Apart from the two BNC sockets for the two Fig.2: this shows the cursors being applied to a simple sinusoid. The cursors are in the time domain (horizontal axis) and you can position them anywhere on the screen using the “universal” knob. In this case we can accurately read the time difference between the two cursors as 4.12s. The cursor time positions are also shown. March 2011  93 analog channels, there is a third BNC socket for an external trigger input. Signal-coupling Pressing the channel button allows you to vary the coupling for that channel (AC, DC or GND), as well as to apply bandwidth limiting. The GND coupling simply connects the channel to a GND reference. This oscilloscope’s inputs have a fixed 1M impedance and are rated for 400V (CAT II). There is no 50 input option. Bandwidth limiting Each of the two analog channels can be bandwidth-limited to 20MHz. This is a good idea when you want to ignore very high frequencies as it reduces noise (ie, above the 20MHz cutoff frequency). If you know beforehand that your signals are below 20MHz, you should enable this. Note that although this is a 100MHz oscilloscope, this requires the probe to be used in its x10 setting. The bandwidth is only 10MHz if you use the probe in the x1 setting and so the inputs are essentially always bandwidth-limited in this case. In the menus for each channel you can also choose whether the vertical knob for each channel works in “fine” or “coarse” mode; in the latter, the knob follows the common 1-2-5 sequence while in fine mode, there are many more intermediate steps. Pressing the vertical scale button toggles between the two modes. The “fine” mode is good for using the available screen area most effectively. The offset knob, when pressed, sets the GND reference for the channel at 0V (centred vertically on the display). From there you can move it up or down as necessary to position the trace on the display. Trigger options You can trigger on an edge or pulse width, on the AC line (50Hz in Australia, New Zealand and the UK etc), or via an external input. The edge triggering can function in video, slope or the so called “alternative” mode. The latter makes the trigger alternate between the two channels, which can be very useful for stabilizing waveforms of very different frequencies. The trigger options are comprehensive, allowing you to choose the pulse width, edge polarity, to sync on odd or even video fields etc. If in doubt, you can always use the AUTO SET feature which has its own button. This sets the parameters automatically to obtain the best display. In this DSO, the AUTO SET feature can be customised so that it optimises the display for one or many cycles of a waveform. A nice feature of the AUTO SET is that it can be undone, if you decide it’s not exactly what you were hoping for. All the usual modes are available and you can display traces in XY or YT mode. The latter is the usual time on the X-axis and voltage on the Y-axis mode, while the former plots the channels against each other and Fig.3: screen grab showing the FFT (green trace) applied to a square wave (yellow trace). The FFT trace can be displayed either superimposed on the main display, or in a split screen mode (as shown here). In this shot, the frequency domain stretches over the whole analog bandwidth of 100MHz. The vertical scale is in dBVrms, decibels with respect to 1V RMS. 94  Silicon Chip is useful for seeing phase differences among other things; the display will be a Lissajous figure. Acquisition and triggering You can easily set up the triggering by using the “SET TO 50%” button. This has the effect of setting the trigger point to half of the signal amplitude. This is a good starting point for then customising the trigger condition. Noise reduction The ADS1102CA can average up to 256 waveforms in real time and display the result, reducing the effects of noise. You can also enable a digital filter which can be configured to work as a low pass, high pass, band-pass or band-reject filter, with configurable cutoff frequencies. Peak detect sampling can also be enabled, to see very fast glitches in a waveform. The peak detect mode will trigger on glitches down to a mere 10ns. MATHs functions This oscilloscope has the basic MATHs functions that would be of the greatest use: you can add, subtract and multiply two waveforms and display the result. You can also perform an FFT (Fast Fourier Transform) on a waveform and have it displayed on the screen. The FFT can work in one of four modes, each suited to a particular task: Rectangular, Hamming, Blackman and Hanning. The FFT has a 10 x digital Fig.4: all the measurements which can be displayed for a waveform, shown at once. The waveform itself will be concealed behind the measurements display but you can see all the vital statistics. When a measurement is unavailable, it is shown as a string of asterisks. The frequency counter is shown at the bottom right corner and is separate to the measurements. siliconchip.com.au zoom (in the frequency domain) and you can choose to have the FFT superimposed on the main display or appear separately in a split screen configuration. See Fig.3. Cursors There are two vertical and two horizontal cursors that can be used to measure parts of a captured waveform, with up to two cursors used on a waveform at any one time. The cursors can be applied to the MATHs waveform, as well as to a previously “stored” waveform (one of the so-called “reference” waveforms). This is useful if you wish to examine in detail a portion of a waveform. Each cursor can be positioned using the “universal” knob. It can work out the difference between the two cursors, or get the reading at that point. The back panel houses only the pass/fail out socket and RS-232 and USB ports. Mains power connects via an IEC socket under the rear. difference, time between first falling edge of first waveform and last falling edge of second waveform, etc. Automatic measurements Counter You can enable measurements on a waveform from a comprehensive set; they are displayed superimposed on the LCD, as shown in Fig.4. The following are among some of the measurements: frequency, amplitude, RMS voltage, positive pulse width, fall time, duty, overshoot, true RMS, mean voltage. When you select to display “All Measurements”, the measurements are in three groups. You can choose to enable or disable all the voltage, all the time or all the “delay” measurements. The first two are self-explanatory. The “delay” measurements include phase Although you can measure the frequency of either of the two channels, for best accuracy you can use the built in frequency counter with up to 6 significant figures of resolution. Pass/Fail mask The ADS1102CA has a simple pass/ fail feature that is very useful for testing hardware. You can define a “pass mask” and get a simple PASS/FAIL response for input waveforms (see Fig.5). If the incoming wave falls outside the mask, you can configure a PASS or FAIL response. The results are tallied and displayed. Fig.5: the PASS/FAIL feature. Given a waveform, in this case a simple sinusoid, a PASS/FAIL mask can be created (shown in blue). Subsequent waveforms can be compared against this mask. If they lie outside of the mask, you can configure the oscilloscope to produce a FAIL response. This makes repetitive testing easy. The number of pass/fail results are shown on the display. siliconchip.com.au Delayed mode If you enable the “Delay” option in the timebase menu, the display changes to a split screen, with the lower half of the screen displaying a “zoomed” are of the waveform (you reach this mode by pressing the “Hori Menu” button just below the timebase knob). You choose the zoom area (which is shown in the top half of the screen) by using the timebase knob and its smaller, offset knob to move horizontally in the time domain (see Fig.6). This can be useful for going back and forth in time from the trigger point and it allows you to see more detail of the waveform. USB host port The front panel also has a Type A USB host port that can be used to Fig.6: the delayed mode allows you to scroll back and forth and zoom in on a waveform in the time domain. Here the top half of the display shows the actual waveform, and the non blue area represents the selected portion of the waveform that is displayed in the bottom half of the display. We can see better detail of this “square” wave’s rise time. The waveform rises 4.40V within a 1us or so. March 2011  95 Serr v ice Se ceman’s man’s Log – continued from p48 This time, after everything had been plugged back in, there were no beeps and the scooter moved accordingly when the controls were operated. The lack of circuit diagrams can be a real hindrance in service work. If Dad buys another mobility scooter to fix, I hope he gets one with the same electronics as the one we’ve just repaired, otherwise I foresee more headaches. Intermittent car radio This next story is from F. W. of Airport West, Victoria, who recently locked horns with an intermittent car radio problem. Here’s his story . . . In 2001, I bought a 1988 Nissan Skyline R31 GTS special vehicle which was in a run-down state and in need of some major rebuilding. My licensed aircraft engineer background enabled me to do most of the work myself and I literally rebuilt most of the vehicle. Among other things, this involved rebuilding the engine, transmission and differential, plus the complete removal of the dashboard and instrument panel to replace a leaking heater core. The rebuild took about four months and when it was finished, the car started and ran perfectly. However, there was a puzzling fault in the vehicle’s radio. The car had the original radio/tape deck in it and the radio had intermittent reception. For example, if I started the car in the garage, the reception would perfect on both AM and FM. However, as soon as I had been driving for some time, the reception would suddenly fade away to almost nothing, sometimes with some static. Because the unit only had a tape deck and I wanted to play CDs, I decided to scrap it and fit a more modern radio with a CD player. At the same time, I was also hopeful that this would cure the reception problem. And so a new Panasonic radio/CD player with all the bells and whistles was fitted and it initially appeared to work fine. Unfortunately, as soon as the car was driven on a warm day the reception disappeared, just as it did with the old radio. The time had come to really sort this problem out! With the engine running, I checked the supply line to the radio and found this to be at about 13.5V, as expected. The earth connections were then checked and these also proved to be OK. Next, I removed and carefully inspected the roof-mounted antenna. I also checked the continuity of the antenna cable, checked for shorts between its inner core and the braid and checked the earth connection on the roof. No faults were evident. And then something strange happened. With the advent of winter, the problem suddenly disappeared and was all but forgotten until the following summer when it just as suddenly reappeared. By now it was beginning to dawn on me that the problem was temperature-related but what could it be? I would like to say that the problem was found by my years of troubleshooting expertise. However, it came down to a simple car wash to find the fault. I was at my local car wash and wanted to listen to some music from the radio while the car was being hosed. As a result, I turned the volume up so I could hear it with the windows up. As I washed around the roof-mounted antenna, the volume of the radio varied up and down dramatically. I then found that moving the antenna by just a small amount duplicated this effect so when I got home, I removed the antenna and repeated all my previous antenna checks. To my amazement, I found nothing. It was only then that I thought to look down into the hole in the roof where the antenna fitted. When I did, I noticed the end of a screw which held the central internal mirror base to the roof. This screw was too long and was within a bee’s whisker of touching the antenna base. Obviously, as the car roof heated up, it expanded just enough to allow this screw to touch the antenna’s base. I fitted a shorter screw to the mirror base and the problem was solved. The mirror was one thing that I had not removed during the rebuild so I suspect it was like that from new. SC Atten ADS1102CA Digital Storage Oscilloscope: continued from page 95 connect a USB flash drive. This allows you to store waveforms, settings and take screen grabs. You can also connect a PictBridge compatible printer directly using a Type B USB socket on the back panel. There is a dedicated button for printing screen grabs on the front panel. You set the printing mode (ink saver on/ off), layout (portrait/landscape) and paper size in the menu system. This bypasses the need for a PC to print; you can obtain a hardcopy immediately from your printer. The USB port also allows you to connect this DSO directly to a PC and use the supplied Windows software suite, EasyScope, to control the oscilloscope. The only other connectors on the 96  Silicon Chip back panel are the IEC power socket, a serial port and an additional BNC connector that is used for pass/fail testing, as described earlier. Note that the firmware can also be upgraded using a USB flash drive. Customisation options Interestingly, the waveform interpolation can be switched between sin(x)/x (commonly used and optimal for reconstructing waveforms) and linear (linear interpolation simply connects points using a straight line). There is also a comprehensive help guide in a number of languages, including Chinese, Japanese, Arabic and Russian (as well as English!) and a selection of up to four “skins” which vary the look of the display. In summary, the Atten ADS1102CA DSO is a portable, affordable DSO with many good features and is very capable. It is supplied with two switchable x1-x10 passive probes, good for 100MHz, user manual (CD), Windows EasyScope software (CD), IEC power cable and USB cable. Where from, how much? The ADS1102CA is available from from Wiltronics (www.wiltronics. com.au). It costs $A760 plus GST. Contact: Wiltronics Research Pty Ltd, Unit 4, Corner Ring Road & Sturt St, Ballarat Vic 3350. Phone (03) 5334 2513 or Free Call 1800 067 674. Email: SC sales<at>wiltronics.com.au siliconchip.com.au PRODUCT SHOWCASE Recessed wall plates suit power, AV, comms, home theatre etc WES components’ new recessed wall plates solve a major problem for electricians, comms and audio installers and handymen, when space just isn’t available for standard surface-mount outlets. Compatible with all major brands of wall outlets, they are suitable for use in 70mm or 90mm plaster board wall cavities (brick models coming soon). They can be used on new installations or retrofitted to existing plates and allow the appliance (eg, large-screen TV, dishwasher, oven, etc) to be installed virtually right on the wall. They’re also great for bedside tables and other furniture where you need an outlet behind but don’t want a gap back to the wall. Easy to install, they’re made of a high quality heatresistant plastic with metal bracket. Contact: White in colour, WES Components the trade price is 138 Liverpool Rd, Ashfield NSW 2131 $26.95 (inc. GST) Tel: (02) 9797 9866 Fax: (02) 9716 6015 Website: www.wes.net.au [Cat WP-REC1]. Opus One Wizard touchscreen controller – now $400 off! It’s much more than just another remote control device: it can virtually automate your home – even 100 devices or more. Home theatre, screens, security systems, air conditioners, lighting, blind controllers . . . literally, anything with an infrared or RS-232 interface can be controlled from the Opus One Wizard touchscreen. The 3.5-in TFT screen has an extensive selection of pre-loaded icons. Simply choose the ones you want and it communicates with those devices. And the best part: right now the Opus One Wizard from Altronics (Cat A 0979) has a Contact: massive $400 saving, Altronic Distributors Pty Ltd which means home PO Box 8350, Perth Busn Centre, WA 6849 automation just beTel: 1300 780 999 Fax: 1300 790 999 came a whole lot less Website: www.altronics.com.au expensive! siliconchip.com.au Fluke’s “Stik” thermometers – tougher & safer than glass! New “Stik” digital thermometers from Fluke Calibration are tougher and safer than mercuryfilled glass thermometers, so are intrinsically safe in potentially explosive atmospheres. Although mercury-filled glass thermometers are accurate and repeatable, they are fragile and pose the risk of a mercury spill, which can endanger the environment and human health. The 1551A and 1552A “Stik” Thermometers provide a highly precise and durable digital replacement for mercury-in-glass thermometers. They are more durable and can be used reliably outdoors or on the production floor. The 1551A covers a temperature range of -50°C to 160°C, while the 1552A ranges from -80°C to 300°C, with an accuracy of ±0.05°C. The stainless steel probe and digital readout are fixed together and calibrated as a system. The accuracy specification is easy to understand since it includes all uncertainty components, including drift, for up to one year. Unlike competitors, the large backlit LCD display rotates through 90°, making it easy to read from any angle. Data logging to internal memory of Contact: up to 10,000 time- Fluke Australia Pty Ltd stamped measure- Unit 26, 7 Anella Ave, Castle Hill, 2154 ments is optionally Tel: (02) 8850 3333 Fax: (02)-8850-3300 Website: www.fluke.com.au available. Rugged 750 Lumen Torch uses a single CREE MC-E X-Lamp LED As the power of LEDs continues to increase, they’re finding their way into more and more applications that were once the domain of incandescent globes. This new LED torch from Jaycar Electronics has a single MC-E CREE X-Lamp giving a maximum output of 750 lumens (with high, medium and low output settings) and is of rugged aluminium construction, sealed against the elements at both ends with silicone gaskets. This is the kind of torch you need for serious outdoor activities: camping, boating, emergency rescue departments, police, military . . . you name it. It takes four “D” cells. Available now Contact: from all Jaycar Jaycar Electronics (all stores) s t o r e s ( C a t S T- PO Box 107, Rydalmere NSW 2116 3451), it’s priced at Order Tel: 1800 022 888 Fax: (02) 8832 3188 $99 ($NZ119). SC Website: www.jaycar.com.au March 2011  97 Vintage Radio By RODNEY CHAMPNESS, VK3UG The STC A5150 5-valve mantel clock radio Clock-radio mantel receivers were all the rage in the 1950s. This month, we take a look at the STC (Standard Telephones & Cables) A5150 clock-radio which used a conventional 5-valve superhet circuit but was housed in a rather unusual cabinet. M ANTEL RECEIVERS for use in the kitchen had become quite popular by the late 1940s, with both economy 4-valve units and more upmarket 5-valve units being sold. However, as that market became saturated, manufacturers looked at adding extra features to keep buyers interested. Electric clocks had by then been around for some time, so the manufacturers hit on the idea of incorporating them into mantel receivers. One result of this was that such sets could now also be used as bedside receivers, since they invariably included an alarm system. So instead of the user being awoken by an alarm clock, they could instead by roused by the radio automatically switching on. 98  Silicon Chip In addition, the clock typically switched a mains socket on the back of the chassis. A bedside lamp could then be plugged into this socket, the idea being that the lamp would switch on at the same time as the radio. Another common feature was the “sleep” or “slumber” mode. This typically allowed the user to leave the radio on but to set it so that it would automatically turn off up to an hour later. Of course, this all worked as long as the mains power didn’t go off during the night! The STC A5150 clock radio STC’s A5150 clock radio was first produced in 1955. It is a typical 5-valve mantel/bedside receiver with an in-built Smiths electric clock. As an aside, it’s worth noting that most manufacturers built two versions of their mantel receivers during this period – one with a clock and a cheaper version without a clock. As far as I can determine, the receiver-only version of this unit was designated the A5140, which came out in 1954. A feature of the A5150 is its unusual but interesting plastic cabinet. In fact, it looks like two cabinets grafted together! The lefthand end of the cabinet carries a large rectangular dial scale, while the tuning gang is on the chassis immediately behind the dial. The tuning control is at the righthand end of the cabinet and this drives a long brass shaft which runs right across the chassis and through a bracket mounted on one end of the gang (see photo). This shaft then drives the dial drum and the dial pointer via a dial cord assembly. It’s an unusual arrangement but is still very effective. The loudspeaker is located immediately behind the dial. This was a fairly common arrangement in mantel receivers as it saved quite a bit of space. The loudspeaker has an oval-shaped frame and is a permanent magnet type with a 3Ω voice coil. The clock is mounted to the extreme right of the cabinet and it’s interesting to note that the same cabinet was used for the A5140, ie, the model without the clock. In fact, the A5140 has the speaker mounted where the clock goes in the A5150. This got it out from behind the dial and presumably resulted in slightly better sound quality. Only the front escutcheon differs between the two models; the rest of the cabinet is identical. Inside, the chassis is quite tightly packed with components in some places, although access isn’t difficult. All the controls for the receiver come out at the righthand end of the cabinet. This frees up the front of the set for the siliconchip.com.au Fig.1: the circuit is a fairly conventional 5-valve superhet design, although the valve types differ from those generally used by other manufacturers. dial scale and the clock and ensures that the controls are well spaced. Circuit details Let’s take a look now at the circuit – see Fig.1. It’s a 5-valve superhet design and is a typical STC radio circuit for the era. However, it’s slightly different to the run-of-the-mill circuits from other manufacturers, the differences relating mainly to the valves used. The antenna section employs two tuned circuits: (1) a fixed tuned circuit which includes the primary of the antenna coil; and (2) a variable broadcast-band tuning circuit which tunes from 530-1620kHz. The fixed tuned circuit is broadly tuned below the broadcast band and ensures good performance with the shorter antennas that were commonly used in the 1950s and 1960s. These antennas usually consisted of a 7-metre length of wire that was run around the picture rail in the room. The oscillator circuit is quite conventional. However, unlike other circuits, it doesn’t have an oscillator blocking capacitor as the tuning capacitors in this section do that job. The 47kΩ oscillator grid leak resistor is wired across the tuned circuit. siliconchip.com.au The converter valve (V1) is a 12AH8 and is rarely seen in sets other than STC models. It is similar to a 6AE8 or 6AN7 but also has a 12V centre-tapped heater which makes it more versatile, particularly for car radio work. The 455kHz signal at the plate of the 12AH8 is fed to the first IF (intermediate frequency) transformer and then applied to V2, a 6BA6 IF amplifier stage. The amplified IF signal is then applied to the second IF transformer and fed to a detector diode in V3. Valve V3 is shown on the circuit as a 6AT6, although the higher gain 6AV6 was also used in some chassis and is in fact fitted to this particular set. The resulting audio signal from the detector is fed via resistor R7 (at the bottom of the second IF transformer) to volume control P1. It is then fed via a capacitor to the grid of V3 and This view shows the set before restoration. The restored cabinet (see facing pages) came up quite well although it does have a couple of small cracks due to heat from the valves. March 2011  99 This is the underside of the chassis before restoration. Note the crude (and now unacceptable) method used to “anchor” the mains cord. The latter will be replaced with a correctly anchored 3-core flex so that the chassis can be earthed. amplified. The amplified plate signal is then AC-coupled to the grid of V4 (a 6CH6), which is a high-gain pentode audio output valve. V4 in turn drives a 6kΩ speaker transformer. Most speaker transformers have either a 5kΩ or 7kΩ plate impedance winding which suits valves such as the 6AQ5 and 6M5 respectively. The 6CH6 is slightly different in its characteristics and has higher gain as well. The circuit shows a resistive divider across the speaker transformer’s secondary which applies negative feedback to the grid of the 6AT6 (V3), ie, via the volume control and gridcoupling capacitor. In this set though, the negative feedback had been left disconnected (more on this later). Delayed AGC As with most similar sets of the era, the circuit has delayed automatic gain control (AGC). The AGC diode in the 6AT6 (ie, at pin 5) operates at a fixed bias and so this diode does not conduct until the applied IF signal rises above this level. Note that the AGC diode is fed via a mica capacitor from the plate of the 6BA6 (V2), so that it receives a larger signal than is fed to the detector diode. This results in a simple but very effective delayed AGC system. Power supply The power supply is conventional for the era and is based on a 6X4 full100  Silicon Chip wave rectifier (V5). Note that there are no filter chokes as by this time the latest (higher capacitance) electrolytic capacitors and cheap carbon resistors were more than adequate for filtering the high-tension (HT) line. The back bias for the circuit is generated across resistor R13 (330Ω) and is between 14-16V. In addition, three parallel 5.6kΩ resistors (R14, R15 & R16) act as part of a decoupling circuit between the plate circuit of the 6CH6 and the HT rail to the rest of the receiver. Finally, a 2.5V bias voltage for V1, V2 & V4 is derived from a voltage divider across the back-bias resistor (R13). Clock interface The clock is plugged into the chassis via a 4-core lead. It is a synchronous clock, so its timing is locked to the mains frequency. In operation, the receiver can be switched on or off using the “AutoOff-Manual” switch. In the “Auto” position, the clock mechanism closes a set of contacts at the set time to switch the radio on. In addition, if a lamp is plugged into the outlet socket at the back of the radio, this will come on as well – or at least, that’s what the circuit shows. In this particular receiver, however, no lamp socket has been fitted. Either that, or all traces of it have been removed by a previous restorer or serviceman. One advantage of a valve clock-radio is that it comes up to volume much more gradually as the valves warm up than a solid-state device. This makes it much more pleasant to use as a bedside alarm. Restoring the cabinet Unfortunately, the set featured here had not had an easy life and its cabinet looked quite neglected. In particular, a previous owner had obviously used the set as entertainment while they did painting. As a result, numerous spots of blue and white paint adorned the cabinet and the clock face, along with several sticky tape tracks. Before restoring the chassis, it was necessary to remove both the chassis and the clock mechanism. This is done by first pulling off the three control knobs, removing the cabinet back (it’s held on by four screws) and unplugging the clock mechanism. The chassis can then be removed by undoing four screws from the cabinet bottom, after which the clock mechanism is removed by undoing four nuts (one at each corner of the mounting plate) and removing the three knobs on the front of the mechanism. It might sound like a complicated disassembly procedure but it’s quite straightforward in practice and is certainly much easier compared to many other clock-radios of the 1950s. Once all the parts had been removed, the cabinet and all six knobs were washed in soapy water. A nailbrush was used to get most of the muck siliconchip.com.au off both the inside and outside of the cabinet and was also used to scrub the flutes of the knobs to rid them of years of accumulated grime. The cabinet and the knobs were then rinsed with clean water and set aside to dry. The next job was to clean the paint spots and sticky tape remains off the cabinet. I used a small single-sided razor blade to scrape the worst of the muck off, at the same time taking care not to scratch the plastic. The cabinet itself is white on the outside while the inside had been painted black. However, it had not been masked properly when this was done and so I also spent some time scraping away several areas of overspray. Once this had all been done, the cabinet looked quite reasonable despite two small cracks in the plastic on the top. These had obviously occurred due to heat from the output valve and the power transformer. Fortunately, they were not too obvious and were not worth fixing. Cracks or distortions in the plastic due to heat from adjacent parts were common in many mantel receivers. In this set, STC had endeavoured to minimise the problem by gluing a couple of pieces of metallic foil to the top underside of the cabinet, the idea being to reflect the heat back and disperse it as much as possible. This technique was only partly successful, as the cracks indicate. Finally, the cabinet restoration was completed by polishing it with automotive cut and polish compound. This brought up the lustre quite well but this particular cabinet is still not in pristine condition despite the restoration work. Heat damage is the main problem. Chassis restoration Unlike the cabinet, the chassis was in really good condition. There were no signs of rust but it did have a coating of accumulated dust and some wax on the top side. After removing the valves, the chassis was dusted down using a small paintbrush. The wax spots were then lifted and scraped off using a flatbladed screwdriver after which the chassis and most of the other abovechassis components were wiped with a kerosene-soaked rag to remove any remaining gunk. Once this had been done, the chassis looked quite respectable. siliconchip.com.au These two photos show the chassis before restoration (top) and after restoration (bottom). A kerosene-soaked rag is good for getting rid of the gunk. Next, the valves were cleaned with soapy water. I don’t dunk them in the water though; instead, I gently rub the valve envelopes with a soapy finger to remove any grime. The valve markings were left alone though, since they are all too easy to remove. Once the valves were clean, I rinsed them with clean water and stood them on their pins to let them dry. Clean valves look great in a receiver and this one was no different. Note, however, that octal valves must be cleaned in a slightly different way, to ensure no muck gets down into the base. Now that everything was clean, the various pulleys and shafts were given a drop of oil to ensure they all operated smoothly. The tone control switch and all valve sockets were then sprayed with Inox to lubricate them and clean any corrosion off the contacts. Fixing the circuit It was now time to work on the circuit. I began by replacing the AGC bypass capacitor (C3), along with C18, C19, C20 & C22 in the audio section, as leakage in any of these will cause problems. This turned out to be a wise move because they were all quite leaky, particularly C3 and C19, the most critical items. These paper capacitors were all replaced with polyester units with similar voltage ratings. The only paper capacitor left in the set is C17, the back bias filter. Next, I checked the resistors to make sure that they were all close their marked values. These were all OK except for R5, the screen resistor to the March 2011  101 The clock mechanism plugs into the chassis via a 4-way socket adjacent to the power transformer. Unfortunately, it no longer works because the teeth are missing from one of the gears, just after the motor. 6BA6, which was open circuit and had to be replaced. My guess is that this resistor’s failure was the reason the set had been taken out of service many years ago, its owner deciding that it simply wasn’t worth fixing. Further checking also revealed that the negative feedback line from the bottom of resistor R17 (on the speaker transformer secondary) to resistor R18 was missing. In fact, it was impossible to determine whether this wire was ever there or not. As a result, I fitted a wire so that I could easily join these two resistors together later on. That way, I would be able to quickly check the receiver’s performance with and without the feedback. The speaker transformer was in good order with both windings showing continuity. However, I was disappointed to discover that the clock is beyond repair. The teeth have worn off one the gears, just after the motor, which means that the mechanism is unable to rotate. I also encountered problems with the mains cord. The original has been anchored by tying a knot in the lead just inside the chassis but that’s completely unacceptable these days. Unfortunately, it’s impossible to fit a 3-core mains lead complete with cable clamp at its present entry point, as this will interfere with the speaker transformer. One way around this would be to drill a hole in the chassis straight through the ARTS&P sticker and fit 102  Silicon Chip a 3-core mains lead there. However, I don’t want to do that as it would spoil the authenticity of the restoration. At the time of writing, I’ve yet to solve this problem but I’ll probably end up moving the speaker transformer so that I can install and secure the new mains cord in the current location. A 3-core lead will enable me to earth the chassis, in the interests of safety. Leakage checks My next step was to check the mains transformer. This was done by checking the isolation between its frame and the primary and secondary windings using a 1000V insulation tester. This revealed no signs of any insulation breakdown. In fact, I’ve found the mains transformers in old radios to be remarkably reliable although the occasional one is defective. However, just because faulty mains transformers are rare, it doesn’t mean that we can be complacent. They should all be tested using a high-voltage insulation meter before power is applied, as the consequences on not doing this could be fatal. A resistance check between the HT line and the chassis also showed very little leakage. I then connected my electrolytic capacitor reformer to the HT line and set it to the 250V range. After a few minutes, the voltage on the HT line rose tp about 250V, indicating that the electrolytic capacitors had reformed. By then turning the reformer off and on a few times, I could see that the capacitors charged within a second or so, so they were probably OK. Getting it going Once all the above tests had been completed, the valves were reinstalled and the set switched on. The HT line and several other voltages were then monitored as the set warmed up and these all proved to be correct. What’s more, there were no signs of any trouble with any of the valves, such as internal sparking. Once the set had warmed up, there was a slight hum from the speaker and this indicated that the audio stages were probably working. However, I was unable to hear any stations, even after tuning right across the dial. I fired up my signal tracer and this detected RF signals at IF and signal frequencies, so those sections seemed to be working correctly. It was then that I discovered that the 6AV6 wasn’t lighting up, so I wriggled it in its socket and shortly afterwards was rewarded with noise from the speaker. Obviously the Inox hadn’t quite cut through the corrosion on the valve sockets until I wriggled the valve. I then tried tuning the set again and this time stations came in right across the dial. It was now time to try the negative feedback circuit. I connected it and was immediately disappointed with the quality of the sound. I looked at the audio waveform from the signal siliconchip.com.au generator’s detected RF signal on the oscilloscope and I could see that the resulting sinewave was much less distorted when the feedback was disconnected. What’s more, there was no sign of any supersonic oscillations and the bias on the 6CH6 was normal. In the end, I left the feedback disconnected in order to extract the best performance from the receiver. Alignment By now, the performance of the receiver was quite good. Even so, it was worth checking the alignment to ensure that the receiver was operating to its full potential. I began by connecting the output of my Leader LSG11 signal generator to the antenna terminal. The tuning gang was then closed and I tuned the signal generator across the likely IF frequency of 455kHz and adjusted its output level to get a reasonable signal through the receiver. The set gave its best response at around 455kHz, so I adjusted all four IF transformer tuning cores with an insulated alignment tool (a modified plastic knitting needle can also be used for this job) to peak the response. As I did so, I kept reducing the generator’s output so that the signal was a little noisy as each coil was peaked. This method ensures that the IF stage is correctly adjusted for peak performance on weak signals. Having done this, the performance was quite good and it was time to align the receiver’s front end. This alignment can be done with instruments connected to the audio output or to the detector. However, I find that I can accurately align receivers by listening for the best quality audio signal with the lowest input signal practical. The front-end alignment was out a little so I fed in a 600kHz signal from the generator and adjusted the oscillator coil until this signal was heard at the 600kHz marking on the dial. I then tuned to the high-frequency end and found that a 1400kHz signal from the generator was heard slightly further along than its correct location on the dial. This was corrected by removing a couple of turns of wire from the wiretype trimmer capacitor. The final step in the alignment was to adjust the antenna circuit. Tuning to the low-frequency end of the dial, I found that I needed to adjust the tuning slug considerably to get the siliconchip.com.au The chassis is a neat fit inside the plastic case. The case has cracked in a couple of places due to heat build up, despite the valves being some distance away from the sides and the top. best sensitivity. I then tuned to the high-frequency end and found I had no adjustment available, as the trimmer capacitor was missing from the set! As a result, I connected a trimmer that I had available but found that even with the trimmer adjusted to minimum, I couldn’t peak the performance at that end of the dial. In the end, I found that I had to compromise with the low-frequency core adjustment by moving it slightly off peak performance. This then allowed me to adjust the trimmer for good performance at the high-frequency end of the dial. I suspect that the problem is connected with the padder capacitor used in this set. This has a value of 475pF which is quite a bit higher than the usual value of about 425pF. However, if I were to change the value of the padder, many of the dial markings would be incorrect, so I left it alone. Because of this, I had to accept that I couldn’t tune the set for maximum output. However, it is still a good performer and the quoted sensitivity of 10µV means it is no slouch in this aspect. Odds & ends The previous owner had altered the mains input wiring by bypassing the on-off switch on the clock. However, even though the clock no longer worked, this switch could still do its job so I rewired it back in series with the mains supply. Before plugging the set into the mains, I clipped my multimeter test leads to the switch contacts and checked its operation. To my surprise, I found that it was quite intermittent. My first thoughts were that the contacts must be dirty so I cleaned them with some fine wet and dry paper. Unfortunately though, that didn’t fix the problem, the multimeter intermittently varying from zero ohms to open circuit when the switch contacts were closed. I eventually tracked the problem down to a well-disguised dry joint on one of the switch terminals. This dry joint had obviously been there from the time the radio was made, although it may not have started giving problems until some years later. It also explains why the previous owner had bypassed the switch. As a final check, I decided to measure the set’s power consumption. The clock mechanism drew just 1.25W while the total power consumption with the receiver operating was 36W. Summary The circuit of the STC A5150 clockradio is quite conventional and it works well, although there are some problems with the negative feedback network and the alignment of the antenna tuned circuit. Despite these problems, the sensitivity and the audio quality are both quite good. It’s a shame that the clock has a worn out gear, although a friend has indicated that he has a clock that may suit the set. As stated earlier, STC did things a little differently. The A5150 is certainly not the most awe-inspiring receiver around but it is still an interesting set that I am happy to have in SC my collection. March 2011  103 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 High mains voltage an equipment hazard A mate of mine commented about the mains being slightly high at 257VAC. We really should look at a project to stabilise the AC or limit potential rising AC voltages. I remember many years ago a device with two transformers connected back-to-back, ie, 240V : 24 : 24 : 240V and it had some sort of simple ferroresonant 24V DC circuit which affected the 240VAC output. OK, so it was not rocket science and but it sure took care of the ups and downs. (R. B., via email). • Ferro-resonant AC voltage regulators are still be best way to go, particularly as they also have the benefit of cleaning up the AC waveform to some extent. We are not sure whether you can still purchase such products but they would be very expensive. We have also seen AC voltage regulators that were based on servo-controlled Variacs. They work extremely well but they have a relatively slow response to sudden changes in the mains voltage. Again, such a product is likely to be very expensive. Most equipment should be able to handle wide variations in the mains voltage but that is clearly not always the case which is why we have produced the Mains Moderator project featured on page 66 of this issue. age. This circuit draws 20µA. Second, the Battery Guardian from May 2002 which performs the same function but with larger batteries and larger loads. Its current drain is 2.5mA. Monitor for lithium-ion battery wanted Battery eliminator for vintage radio I am looking for something to monitor a Li-ion battery and to disconnect the load if the battery falls below 10V. I did find the Universal Voltage Switch project (from SILICON CHIP’s Performance Electronics for Cars, 2004) but it required an additional 12V supply. I need something that operates off the monitored battery only. (M. B., Bedale, UK). • The Universal Voltage Switch project is not really suitable for disconnecting a battery because it uses a relay to do the switching and this would tend to discharge the battery itself, even without considering the load the battery is connected to. We have published two battery protectors in SILICON CHIP: first, the Micropower Battery Protector from July 2004 that can be set to switch off power from the battery at a preset volt- Have you ever described a battery eliminator for vintage battery sets? I have sets that need 1.5V and 90V. and another that requires 2V and 135V. At the moment, I am using a series of 9V batteries but for 135V, 15 batteries is a bit over the top. I would prefer a supply that runs off batteries; maybe a gel cell. (P. C., via email). • We described a Valve Preamplifier power supply in November 2003. This could produce up to around 260V DC, although the voltage can be adjusted with a trimpot from between 39V to above 260V. The lower voltages can be obtained from cells as these presumably would require more current. Ultrasonic Cleaner Makes “Snufferling” Noise My Ultrasonic Cleaner project (SILICON CHIP, August 2010) does not work. No bubbles. The power LED is on. There is 5V between pins 1 & 8 and 5V on pin 4 which drops to zero when the button is pushed. The timer works and the running LED flickers a bit as it is mainly on. The gate voltages are 1.3V and the Mosfets are hot. With an ambient temperature of 30°C, Q1 is 70°C and Q2 is 77°C. The tranny frame is 49°C. My CRO is no good for high voltages, so I looked at the transformer primary between each drain and earth. The frequency in both modes is about 40MHz. The transducer makes a weak “snufferling” noise. 104  Silicon Chip Any suggestions, please. (P. L., via email). • The Mosfets and transformer should not run hot. Check that the transformer is wound correctly and that the zener diodes and diodes are oriented correctly. The cleaner works best from a 12V lead-acid battery so that the transducer can be driven with maximum peak power. If gate voltages are only reaching 1.3V this would prevent their turning on. Presumably this value is a multimeter DC measurement instead of an oscilloscope measurement. The frequency of operation should be between 20kHz and 40kHz rather than the quoted 40MHz. Programmable ignition system on Ducati V-twin Could you let me know if there is a workaround to let me get a signal to the coil driver from the first input signal from the two Hall Effect sensors (HKZ 101) that I am using to trigger a pair of Programmable Ignition Systems (SILICON CHIP, March, April & May 2007)? The system is fitted to a kick-start VTwin Ducati and runs two completely independent ignition systems; one for each cylinder. The systems appear to work OK but I have no way to turn the engine at a constant >72 RPM prior to the first cylinder firing. I neglected to properly comprehend the implications of a minimum input frequency of 0.6Hz. I figure I could most probably put a pulse generator on the input to the Programmable Ignition System, to make three or four pulses, triggering from the Hall Effect sensors and activated and deactivated by a start/run switch. I guess I would have to keep the siliconchip.com.au Noisy Transformer In Class-A Stereo Amplifier I recently built the 20W Class A Amplifier from a kit supplied by Altronics. Overall, the kit was very good; the instructions and diagrams excellent. It went together well. The design is amazing. Well done. Unfortunately, the power transformer has a loud audible buzz as soon as the bias current is set to specification. This is clearly audible over quiet music, even with the lid on the chassis. It makes it difficult to enjoy the obviously extraordinary design. In your distortion measurements, you did not include the nett effect of mechanical – including transformer buzz. This must be taken into consideration when discussing the effective distortion and signalto-noise ratio. This transformer is a real problem. I contacted Altronics and they gave me a copy of an explanatory letter pulse frequency below the minimum advance RPM setting and also fast enough to avoid retarding the first output signal too much. Or possibly I could run a separate start ignition that just uses the Hall Effect sensors and the coil drivers and bypasses the Programmable Ignition System until switched to the run position. Either way, they don’t sound like an elegant way to address the problem. If you have any suggestions, I would be happy to hear them. (D. D., via email). • You could use a disk that has twice as many trigger lobes (evenly-spaced). That way there would be a wasted spark on the exhaust stroke but the minimum RPM would be halved. In addition, we recommend that you set the low speed response (Response to low RPM setting) for use at the kick start RPM. That way, timing is solely set by the Hall Effect disk positioning. The ignition will then fire when the Hall effect is triggered and so will fire more reliably compared to the normal settings. Solar/electronic remote gate opener I would like to make a solar and electronic property gate opener, either with sliding or 2-panel swing gates. Have you ever produced a project of siliconchip.com.au from SILICON CHIP. Where do I go from here? Should I use a higherspec transformer, one that is better made, one that is not working as hard? Is the prototype power transformer better than what is being shipped in the kits? (J. R., via email). • We can assure you that the buzzing from our prototype transformer was quite low – as indicated in the letter you received from Altronics and signed by Leo Simpson. Clearly your transformer is noisier. One possible way to quieten the buzzing from the transformer windings is to fill the centre of the toroid with potting compound, while still leaving a clear centre hole for the mounting bolt. This method is used by Harbuch Electronics (Phone 02 9476 5854) on some of their toroidal transformers. this nature or will you do so in future? (B. V., Drysdale, Vic). • We published a garage door opener in April & May 1998. The mechanical details could possibly be adapted to a gate opener but the electronics for this project is now outdated. Suitable remote controls are available from Oatley Electronics (www. oatleyelectronics.com) as a kit. Alternatively, the rolling code transmitter and receiver from August and September 2009 could be used. We also had an article on remote-controlled gates in the August 1997 issue. Adapting the CDI to wasted spark operation I found your article on how to build “A High-Energy Capacitor Discharge Ignition System” published in the September 1997 issue. My questions are: (1) Can the circuits be modified to work with a “trigger wheel” sensor on a 6-cylinder engine with COP coils (six coils)? (2) Can two more coil circuits be added and use “wasted spark” to fire all six coils, two at a time 180° apart? (D. W., Hong Kong). • The Multi-Spark Capacitor Discharge Ignition was designed for single coil ignition systems with a distributor for the spark. Ignition systems with In fact, this has been discussed with Altronics as has the possibility of using a physically larger transformer. Our suggestion is that you try the potting method. By the way, we do consider mechanical noise in assessing amplifier performance. It is only in the case of the 20W Class-A Amplifier that buzzing from the power transformer is ever an issue. This is because of the high fixed load on the transformer. Another solution would be to put the transformer in a separate case, as we did for the earlier 15W ClassA Stereo Amplifier featured in the July & August 1998 issues of SILICON CHIP. However, we are reluctant to advocate this approach because it can cause hum problems due to induction into nearby signal sources such as DVD or CD players. multiple coils and a crankshaft position sensor are not particularly suitable for this CDI system. It should be possible to use the coil driver signal from the multi-coil ignition to trigger a single CDI unit to drive one coil. A wasted spark system is suitable if the two cylinders are 180° apart and where the CDI has a separate high-voltage capacitor to charge each coil. The coil driver signal for each of the two coils would need to be ORed so that firing occurs with both coil driver signals. With a 6-cylinder engine and wasted spark, three CDI units would be required, one for each set of coils. DAB+ tuner regulator runs too hot I have built the DAB+/FM Stereo Tuner and I like it a lot. I had one difficulty which maybe some other constructors might encounter. The Tuner would work as expected for 15 minutes or more but after a while would start distorting. When I removed the cover of the tuner it would work as expected for 30 minutes or more then start distorting as before. After a fair bit of ferreting around I came to the conclusion that REG1 was getting too hot. So I used a bit of scrap U-shaped aluminium about 7cm long March 2011  105 Adapting A PC Power Supply As A Car Battery Charger I was reading your article on the ATX power supply that you converted to a bench power supply in the January 2011 issue. I have a room full of these things and no car battery charger. After doing a Google search I found a circuit that used an ATX power supply with a DC-DC converter. My question is how do I strip down an ATX power supply to make a DC-DC converter to up the output voltage of the ATX power supply so that I can charge a 12V car battery? (T. V., via email). • Ideally, to use a PC supply as a battery charger, you would modify the feedback loop to bring the +12V output up to say +15V. Most likely this would not take any components outside of their ratings (the output filter capacitors are probably rated for 16V). This can then be stepped down easily to an appropriate voltage for charging a 12V lead-acid battery. In fact, if we got really clever we could control the feedback ratio somehow, in order to make the PC supply do all the work of actually regulating the charge voltage and current. Then the only additional circuitry required would be to monitor the charge state and control the power supply. Unfortunately doing this requires very specific knowledge about the design of the power supply and so the changes required for each model would be different. Our likely approach to take is to drive a DC/DC converter from the This photo shows how the main regulator should be fitted with a bigger heatsink. A 0.47Ω resistor can also be connected in series with the 9VAC supply – see text. to make a bigger heatsink. This solved the problem – no distortion and REG1 warm instead of darn hot. I am using an internal 9V toroidal transformer which has a slightly higher voltage than the AC plugpack which came with the Jaycar kit, however the problem was also evident with the plugpack. The transformer is wired the same way as the plugpack (this is preferable because it results in less heat in REG1 due to half-wave rectification). The ambient temperature was no more than the mid-twenties so I think on hot days other constructors may also encounter this problem, even if the tuner works perfectly well at moderate 106  Silicon Chip temperatures. (B. D., via email). • A number of readers have experienced similar problems and it is related to the input voltage to the regulator and the fact that we used half-wave regulation from the AC plugpack. This was necessary because AC plugpacks have only a single secondary winding and we needed positive and negative DC supply rails. This means that while the average DC input voltage to REG1 is relatively high at around 9-10V it needs to be this high to cope with the 50Hz ripple voltage of about 3V peak to peak. So for the regulator to work well, it must have a minimum DC voltage of about +12V output of the supply, to step that voltage up or down as appropriate to charge the battery. This requires extra componentry but it is the only approach we can think of that will work with any model of supply. The DC/DC converter would be adjusted by a microcontroller in order to provide 3-stage charging for the battery. Note that a PC power supply does contain a number of chokes and transformers, high and low-voltage electrolytic capacitors and so on which are all useful in such a circuit and you could possibly salvage some of them to use in our proposed project. However, you would need detailed knowledge of the particular PC power supply to work out which components could actually be used. 9V. At this voltage and with a current drain of up to about 800mA (depending mainly on the brightness of the LCD panel), the regulator is working well within its ratings, with the small heatsink that we specified. The problem is that the voltage from AC plugpacks with a nominal voltage rating of 9VAC can be considerably more than 9V. We have run a series of tests on the prototype and have come up with a solution which should work well in a range of situations. The first step is to stand the regulator (REG1) up so that it is vertical, to allow the fitting of a larger flag heatsink. The one we suggest is the type 6021 heatsink (Jaycar HH-8504 or equivalent). Second, we suggest connecting a 0.47Ω 5W wirewound resistor in series with the 9VAC output of the plugpack. The accompanying photo shows the arrangement, with the wirewound resistor connected to an insulated terminal block. Note that you will need to bend one of the fins of the heatsink to avoid contact with the adjacent terminal block on the PC board. These two measures will considerably reduce the operating temperature of the regulator. Note that if you have low mains voltage, say around 230VAC, then the series resistor may not be necessary. So if readers experience problems with REG1 running too siliconchip.com.au How To Dim A Switchmode Halogen Transformer I am trying to reconfigure your “Automatic Table Lamp Dimmer” featured in the July 2005 issue. I’d like to re-rate it to 400W. What Triac upgrade would you suggest? I don’t necessarily need the IR remote (IC2) but would rather operate it simply from a wallplate switch. I want on/off with a 4-second dwell each way and minimum brightness at an RMS voltage of 100V and maximum brightness at 200V RMS. I gather this is a leading edge trim. What modifications would be required to apply to dimming electronic switchmode transformers for hot, they should first fit the suggested larger flag heatsink and check its operation. If it still seems to be a trifle too warm, then fit the series 0.47Ω 5W resistor. Possible dry joint on Venice 7 module I am having trouble with the DAB+ Digital Radio Receiver, in particular the Venice 7 board. It appears to have cold joints. When you turn it on, you get distortion on both the FM and DAB+ channels. If you squeeze the Venice 7 board and the metal shield box on the board, the distortion disappears and you get perfect audio. Release the pressure and the distortion returns. This all started happening after 30 minutes of perfect operation. Before that, if you used the remote to turn the unit into standby, you got clicks downlights, ie, my desired application. (S. J., Wollongong, NSW). • The Dimmer will operate with a lamp of 400W but the Triac will require heatsinking. Changes to operate between 100V and 200V with just a switch would require software changes and a substantial rewrite would be necessary. The TouchLight Dimmer from the January & February 2002 issues may be more suitable. However, you cannot use a dimmer with electronic switchmode transformers for 12V downlights unless the switchmode transformer is specified as a dimmable type. and hisses shortly after the flash of the “ACK” LED. I don’t know if this is related or a separate fault. Any help would be appreciated, especially, if need be, on how to remove the metal lid of the Venice 7 module so that I can resolder the joints. (D. P., Werribee, Vic). • It does sound like you have a dry joint somewhere in the Venice 7 module although that is not certain. It could also be a bad joint on one of the pin header connectors (either on the Venice 7 module or the main board). We wouldn’t rule out the possibility that when you press down on the Venice 7 module, it is actually flexing the main board, resulting in what you observe. Try slightly flexing the main board during operation to see if this has the same effect on the symptoms, eg, press down near the Venice 7 module but not actually on it. If this changes the behaviour then Notes & Errata 6-Digit GPS Clock, May-June 2009: with some PIC16F877A chips, the local time offset and other data stored in the EEPROM could become corrupted during power down. As a result the clock would not come up with the correct local time when it was powered up again. Merv Thomas VK6BMT Ben Rampling VK6IC discovered that this was due to a hitherto undiscovered bug in the firmware: the brown-out detector inside the 16F877A was not being enabled. Once the configuration bit BODEN was set, the problem no longer appeared. The firmware has therefore been revised accordingly, and the latest version (‘V5’) will be available very soon on the SILICON CHIP website (0410509E). that suggests that it is something on the main board itself. You may want to also try pressing gently around IC3, IC4 & IC5 to see if the problem might be in that section. The clicks and hisses you describe may be a symptom of the same problem. If your checks confirm that the problem is indeed in the Venice 7 module, we suggest that you remove it and reheat all the solder joints on the pin headers. If that doesn’t fix it, then reheat all the pin header joints on the main board and all the solder joints in the analog section, that is, IC3, IC4, IC5 and all the surrounding components. We realise that you would need to . . . continued on page 111 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. siliconchip.com.au March 2011  107 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 108  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) Call (02) 9939 3295 with with order & credit card details OR MAIL Your order to PO Box 139 MarchCollaroy 2011  109 NSW 2097 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 Silicon Chip Magazine May 2010 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! IMAGECRAFT C COMPILERS ANSI C compilers, Windows IDE AVR, TMS430, ARM7/ARM9 68HC08, 68HC11, 68HC12 GRANTRONICS PTY LTD www.grantronics.com.au FOR SALE 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 PCBs MADE, ONE OR MANY. Any format, hobbyists welcome. Sesame Electronics Phone (02) 9593 1025. sesame<at>sesame.com.au www.sesame.com.au FREQUENCY COUNTER HP5315A, 100MHz, 8 digit, 2 channel, period/ratio/ totalise, exc condition, $300 ONO. Eenquire jcdrisc<at>tpg.com.au Melbourne. Hurry - stocks are limited. Call Avcomm now - (02) 9939 4377 Made in Australia, used by OEMs world-wide splat-sc.com For more details visit www.avcomm.com.au Modules 537 Kits, and Boxes Innovative & affordable projects for hobby, school & industry Shop on-line at: www.kitstop.com.au electronics-the fun starts here Audio Amplifier Projects 2Watts to 100Watts RCS RADIO/DESIGN is at 41 Arlewis St, Chester Hill 2162, NSW Australia and has all the published PC boards from SC, EA, ETI, HE, AEM & others. Ph (02) 9738 0330. sales<at>rcsradio.com. au; www.rcsradio.com.au May 2010 terrystransistors.com.au: genuine MJE15030/31 BD139/40 2SA970 BF469/470 MJE340/50 MJL4302A MJL4281A ON<at>$9.20 MJL21193/4 MJL1302A MJL3281A 2SA1085 MPSA42 Cheap postage. 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 CLASSIFIED ADVERISING RATES Advertising rates for these pages: Classified ads: $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. 110  Silicon Chip Yes, it’s true! Don’t let its tiny size fool you. This powerhouse receiver covers the AM, FM, LW and entire SW bands from 35 to to30MHz 3.5 30MHz– –andandhashasgenuine genuinedigital Digitalsignal Signalprocessing! Processing! Exclusive to Avcomm, the Tecsun PL-310 DSP normally sells for $90.00 (plus p&h) but if you say you saw it in SILICON CHIP, Avcomm will give you an amazing10% off! 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 WOW! A QUALITY DSP HF COMMUNICATIONS RECEIVER FOR 10% OFF? KIT ASSEMBLY KEITH RIPPON KIT ASSEMBLY & REPAIR: * Australia & New Zealand; * Small production runs. Phone Keith 0409 662 794. keith.rippon<at>gmail.com WANTED WANTED: EARLY HIFIs, AMPLIFIERS, Speakers, Turntables, Valves, Books, Quad, Leak, Pye, Lowther, Ortofon, SME, Western Electric, Altec, Marantz, McIntosh, Tannoy, Goodmans, Wharfedale, radio and wireless. Collector/ Hobbyist will pay cash. (07) 5471 1062. johnmurt<at>highprofile.com.au WANTED: A 4:3 43-inch LED television or suggest company who can custom build one. Sydney 0407013975 or email angelosoccio2000<at>yahoo.com.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, siliconchip.com.au Battery Packs & Chargers Siomar Battery Engineering www.batterybook.com Phone (08) 9302 5444 Issues Getting Dog-Eared? Keep your copies safe with these handy binders Price: $A14.95 plus $10.00 p&p per order (includes GST). Buy five & get them postage free! Just fill in and mail the handy order form in this issue; or fax (02) 9939 2648; or phone (02) 9939 3295 and quote your credit card number. Available in Australia only. South Croydon, Melbourne. Phone (03) 9723 3860. sales<at>electronicworld. com.au PRODUCT IDEAS WANTED: we are a distributor of automotive electrical accessories and are currently looking for new items to add to our range of Australian-made products. We are interested in products at all stages of development; whether an idea, partially or fully developed. We can provide assistance and funding for development and testing of suitable products. If you have a product which you think may be suitable, please send information to auto_elec_ideas<at>bigpond. com All enquiries and submissions will be treated confidentially. All enquiries will receive a reply. siliconchip.com.au Publisher’s Letter – continued from page 2 that even though you pay for all of your energy, you only use around 70% of it. This un-used, non-productive energy wastes money and also shortens the life of inductive equipment such as motors, HVAC equipment, pumps, and major appliances”. The energy retailers would rightly be peeved at this because firstly, the claims are rubbish and second, they are conscientious in ensuring that the harmonic content of the mains waveform is kept below defined limits. Nor can the installation of capacitors do anything to clean up the mains waveform. Thirdly, the energy retailers might also be very concerned with the concept of installing large capacitors across the consumer mains supply. Such capacitors could cause undue loading on their tone signalling systems. In fact, I would not be surprised that if they found it was a problem, they would immediately disconnect the offending premises until said capacitors were removed at the owners’ expense. As I said on the Today Tonight segment, “There are no easy ways to save power”. If there were, we would be doing it. Leo Simpson Ask SILICON CHIP – continued from page 107 remove the main board from the case to do the latter but I think it’s best to rule out these joints as possible problems before doing anything like removing the radio module shield. Editor’s note: feedback from the reader has confirmed that the fault was in the pins on the Venice 7 module. Confusion between Dolby Digital and DTS Recently, I dusted off my Denon DVD 3300 player and connected it to my hifi system and tried to play DTS and Dolby Digital at the same time. I noticed that on the disc menus it has them separate. I was hoping to have both DTS and Dolby Digital on the player’s display at the same time but this doesn’t seem possible. Why? The Denon DVD 3300 player was reviewed as a player for the audio­ phile and it was very pricey at the time I bought it. It is still much better than most medium-priced players of today. With the Denon player, Dolby Digital sounds much better than DTS; more hifi. Is it possible to purchase a DVD these days so that DTS and Dolby Digital can be played at the same time or is Dolby Digital separate for those who don’t have DTS? (D. S., via email). • DTS (formerly Digital Theater Systems) and Dolby Digital are two competing and incompatible surround sound systems. It is not possible to have both systems operating simultaneously, even if a DVD was encoded with both systems. There’s a lot more information on this topic on Wikipedia. iPod feed for 12V amplifier I run a 12V bus in my house and am interested in the 12V Stereo Amplifier described in May 2010. Would it be possible to adapt the project so that it would accept an input from an iPod or equivalent? Modern car radios have such a facility as a Line input. (I. C., Longwood East, Vic). • To connect an iPod to the 12V Stereo Amplifier you need a cable with a stereo 3.5mm phono plug on one end and two RCA plugs on the other. You also need a 10kΩ resistor to ground for each channel, to provide a DC load. The phono plug goes into your iPod’s headphone output, while the RCA plugs go into the corresponding input sockets on the amplifier. SC March 2011  111 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 Jaycar Electronics is an Equal Opportunity Employer & actively promotes staff from within the organisation. Advertising Index Altronics...................................... 82-85 Amateur Scientist CD..................... IBC Australian Valve Audio................... 110 Avcomm......................................... 110 Dick Smith................................... 22-23 Digi-Key Corporation.......................... 3 Dyne Industries................................ 11 Emona Instruments.......................... 45 Grantronics.................................... 110 Futurlec............................................ 13 Hare & Forbes.............................. OBC High Profile Communications......... 110 HK Wentworth.................................... 8 Instant PCBs.................................. 111 Jaycar .......................... IFC,49-58,112 Keith Rippon.................................. 110 Kitstop............................................ 110 LED Sales...................................... 110 Microchip Technology......................... 5 Ocean Controls................................ 10 Quest Electronics........................... 110 into RF? DOWNLOAD OUR CATALOG at www.iinet.net.au/~worcom There’s something to suit every radio frequency fan in the SILICON CHIP reference bookshop RF Circuit Design – by Chris Bowick A new edition of this classic RF design text - tells how to design and integrate RF components into virtually any circuitry. $ 75 Practical RF H’book – by Ian Hickman A reference work for technicians, engineers, students and the more specialised enthusiast. Covers all the key topics in RF that you $ need to understand 90 Practical Guide To Satellite TV – by Garry Cratt The reference written by an Aussie for Aussie conditions.Everything you need to know. $ 49 You’ll find many more technical titles in the SILICON CHIP reference bookshop – see elsewhere in this issue 112  Silicon Chip WORLDWIDE ELECTRONIC COMPONENTS PO Box 631, Hillarys, WA 6923 Ph: (08) 9307 7305 Fax: (08) 9307 7309 Email: worcom<at>iinet.net.au Silicon Chip Circuit Ideas Wanted Do you have a good circuit idea? If so, sketch it out, write a brief description of its operation & send it to us. Provided your idea is workable & original, we’ll publish it in Circuit Notebook & you’ll make some money. We pay up to $100 for a good circuit idea or you could win some test gear. Silicon Chip Publications, PO Box 139, Collaroy, NSW 2097. RCS Radio..................................... 110 RF Modules................................... 112 RMS Parts....................................... 91 Sesame Electronics....................... 110 Silicon Chip Binders.................... 44,81 Silicon Chip Bookshop............ 108-109 Silicon Chip Order Form.................. 65 Silicon Chip Subscriptions............... 64 Siomar Battery Engineering...... 29,111 Solar Energy Store............................ 7 Soundlabs Group............................. 13 Splat Controls................................ 110 Tenrod Australia................................. 9 Terry’s Transistors.......................... 110 Truscotts Electronic World............. 110 Wagner Electronics.......................... 47 Wiltronics......................................... 11 Worldwide Elect. Components....... 112 PC Boards Printed circuit boards for SILICON CHIP designs can be obtained from RCS Radio Pty Ltd. Phone (02) 9738 0330. Fax (02) 9738 0331. siliconchip.com.au siliconchip.com.au March 2011  113