This is only a preview of the November 2013 issue of Silicon Chip. You can view 23 of the 104 pages in the full issue, including the advertisments. For full access, purchase the issue for $10.00 or subscribe for access to the latest issues. Items relevant to "Build A GPS Tracker & Record Your Journeys":
Items relevant to "Dual-Channel Audio Delay For PA Systems":
Items relevant to "SiDRADIO: Integrated SDR With DVB-T Dongle, Pt.2":
Purchase a printed copy of this issue for $10.00. |
siliconchip.com.au
November 2013 1
BIRTHDAY
SPECIALS!
NOVEMBER EDITION
Online & in store
Prices valid until 23/11/2013
LCD Display Modules
Dot Matrix Alphanumeric Module
• Large character size LCD
• Module size: 122(W) x 44(H) x 13(D)mm
QP-5520 WAS $24.95
A wide range of compact alphanumeric LCD modules
suitable for a myriad of uses. See website for datasheets.
• 2 lines x 16 characters
• 5V powered
$
Backlit LCD with
SIL Connection
SAVE $3
• 96 inbuilt ASCII characters
• 92 special letters
• 8 custom characters
• Module size: 66(W) x
26(H) x 12(D)mm
QP-5512 WAS $19.95
$
17
• Module size: 85(W) x
30(H) x 13(D)mm
• Viewing display area:
65(W) x 16(H)mm
$
Without Backlight
QP-5517 WAS $14.95 NOW $12.95 SAVE $2
With Backlight
QP-5518 WAS $19.95 NOW $17.95 SAVE $2
FROM
13 95
SAVE $2
10%
OFF
13 95
FROM
Simple and easy to install self-powered meters with voltage or current display. The voltmeter has a
simple 2-wire connection, and the current meter has 4-wire connection with an included current shunt.
$
• Auto zero calibration, easy to read red LED display
• Cut-out size 42 x 23mm
SAVE $5
1995
NOTE: When connecting the ammeter QP-5588 it is essential that the wiring instructions
provided with the product are followed, or the meter may be destroyed.
QP-5586
Take the frustration out of
removing Molex connector pins
with these time saving tools.
$
13 95
Each
SAVE $4
Male Pin Extractor
TH-1730 WAS $17.95 NOW $13.95 SAVE $4.00
A simple and effective tool to straighten and
aligning bent IC pins. Accommodates
standard ICs from 8 to 48 pins.
TH-1814 WAS $11.95
8
$ 95
SAVE $3
Female Pin Extractor
TH-1732 WAS $17.95 NOW $13.95 SAVE $4.00
Switchmode Power Supplies
This range of switchmode power supplies offers higher efficiency and reliability. Features
overload protection and current limitation, strong down terminals and strong metal case.
Limited stock. Be quick!
WAS
MP-3103 $54.95
MP-3106 $69.95
MP-3109 $74.95
$79.95
$84.50
$109.00
$219.00
NOW
$42.95
$54.95
$59.95
$62.95
$67.50
$87.00
$175.00
SAVE
$12.00
$15.00
$15.00
$17.00
$17.00
$22.00
$44.00
ATTENTION KIT BUILDERS
Canʼt find the kit you are looking for?
Try the Jaycar Kit Back Catalogue
Our central warehouse keeps a quantity of
older and slow-moving kits that can no
longer be held in stores. A list of kits can be
found on page 79 of our catalogue or our
website. Just search for “kit back catalogue”.
To order call 1800 022 888
20%
OFF
MP-3106
$
FROM
4295
SAVE $12
NOTE: These are not stand alone units. They have exposed 240V
terminals. They are meant to mount inside secure, earthed cabinets.
2 Silicon Chip
Without Backlight
QP-5515
WAS $15.95 NOW $13.95 SAVE $2.00
With Backlight
QP-5516
WAS $17.95 NOW $15.95 SAVE $2.00
SAVE $2
Universal IC Pin Straightener
MP-3108
MP-3121
MP-3110
MP-3118
FROM
$
LED Voltmeter 8 - 30V DC QP-5586 WAS $24.95 NOW $19.95 SAVE $5.00
LED Ammeter 0 - 50A DC QP-5588 WAS $39.95 NOW $34.95 SAVE $5.00
Pin Extractor Tool
25W 24V
40W 24V
60W 24V
60W 5V &
12V Dual Output
120W 12V
150W 12V
240W 13.8V
• Alphanumeric, 2 line LCD
• Module size: 85(W) x 30(H) x 13(D)mm
• Viewing display area: 65(W) x 16(H)mm
Self-Powered LED Panel Meters
Ask for your FREE Led Tester when you
spend $100 or more from our
AA-0274
Birthday Flyer. Please
quote IFC OFFER*
(AA-0031) to receive
the offer. *IN STORE ONLY
• Built-in EMI filter
Dot Matrix Alphanumeric Module
95
SAVE $2
Wide Viewing Angle LCD
BIRTHDAY BONUS!
2195
MP-3108
Mini Breadboard
One terminal strip supplied
which gives 30 holes x 10
(300 holes in total).
Breadboard
• 840 tie points
• Size: 65(W) x
175(L)mm
PB-8814 $19.95
$
SIGN UP NOW
AND START
EARNING
POINTS!
Solder Fume Extractor
Designed to remove dangerous solder
fumes from the work area. Suitable for
use in production
lines, service
$
95
centres, R&D
workbenches
SAVE $20
or the hobbyist.
49
• ESD safe
• Size: 260(H) x 200(W) x 170(D)mm
TS-1580 WAS $69.95
Deoxit ProGold Contact
Cleaner & Rejuvenator
Breadboards
• Size: 39(W) x
87(L)mm
PB-8832 $9.95
REWARDS
FROM
995
This product will not only clean, but it will
help restore equipment to its
original condition, improving
its performance.
Aerosol NS-1434 $24.95
Kit
NS-1436 $24.95
$
2495
EACH
siliconchip.com.au
www.jaycar.com.au
Savings off original RRP. Limited stock on sale items.
Contents
SILICON
CHIP
www.siliconchip.com.au
Vol.26, No.11; November 2013
Features
16 Raspberry Pi XBMC Solution For Multimedia
Add element14’s XBMC solution to your Raspberry PI to build a low cost, highperformance media centre for video and audio files – by Ross Tester
20 DRM Digital Radio: What It’s All About
DRM (Digital Radio Mondiale) is a new long-distance digital radio standard for
the long-wave, medium-wave, shortwave and VHF bands. We take a look at
the basics of DRM and explain how it works – by Jim Rowe
64 Using the SiDRADIO to receive DRM30 broadcasts
Want to receive DRM30 broadcasts? All you need is our SiDRADIO, a PC
running SDR# and some additional decoding software – by Jim Rowe
84 Review: Gratten Spectrum Analyser & Signal Generator
Build A GPS Tracker & Record
Your Journeys – Page 24.
Capable of working at the frequencies used by mobile phones, cordless
phones, WiFi networking and so on, these two test instruments offer
impressive performance, build quality and value for money – by Jim Rowe
Pro jects To Build
24 Build A GPS Tracker & Record Your Journeys
This easy-to-build gadget precisely records where your car, boat or plane has
travelled over time. By teaming it with Google Earth, you can then see your trips
accurately mapped onto the surface of the Earth – by Geoff Graham
36 Dual-Channel Audio Delay For PA Systems
Is the combined sound from the front and rear speakers of your PA system out
of sync & muddied? This unit can delay the sound from the front speakers by
up to 640ms or more to greatly improve intelligibility – by Nicholas Vinen
72 Alscolyser: For Accurate Alcohol Analysis
Simple system accurately measures the amount of alcohol in a drink before it
ever reaches your mouth, stomach, kidneys or whatever! It can also be used to
check the accuracy of cheapie breath alcohol analysers – by Allan Linton-Smith
Dual-Channel Audio
Delay For PA Systems – Page 36
Alscolyser: For
Accurate Alcohol
Analysis – Page 72.
78 SiDRADIO: Integrated SDR With DVB-T Dongle, Pt.2
Second article shows you how to fit the various metal shields and complete the
assembly by installing it all in a plastic instrument case – by Jim Rowe
Special Columns
46 Circuit Notebook
(1) 24-Hour Mode For Nixie Clock; (2) Intelligent Drill Battery Charger; (3) FailSafe Starter For Induction Motor Speed Controller
57 Serviceman’s Log
Office computers can take some sorting out – by Dave Thompson
90 Vintage Radio
The Australian 123 & Dutch 283A “twin” receivers – by Rodney Champness
Departments
4 Publisher’s Letter
6 Mailbag
83 Product Showcase
siliconchip.com.au
96 Online Shop
98
99
103
104
Subscriptions
Ask Silicon Chip
Market Centre
Notes & Errata
Note: due to space constraints, Tiny Tim Amplifier Pt.2 has been held over until December.
SiDRADIO: Integrated SDR With
DVB-T Dongle, Pt.2 – Page 78.
November 2013 1
THUR 14 TH - SAT 16 TH NOV 2013
Engineers File Set
Second Cut
6 piece
Pin Punch Set
• 200mm hardened and tempered files
• Second cut: Flat, 1/2 Round, Round,
Square, Triangular
• Includes carry case
• Ø3, 4, 5, 6, 7, 8mm
• 150mm length
$
22
150mm / 6”
19.80
$
31.90
• Metric, inch & fraction
• 4-way measuring
• Includes battery
$
16.80
$
(P365)
GSK-3
Gravity Feed Spray Gun Kit
HVLP spray gun system
Standard pot with 1.7mm nozzle
Small pot with 1.0mm nozzle
Pressure regulator
with gauge
$
99.00
$
79
• 20 metre x Ø10mm
• Reinforced PVC hose,
300psi
• Includes wall
mount bracket
$
110.00
$
89
(H052)
RAV2.75/36
Air Compressor
•
•
•
•
205 L/min pump
36 litre tank
100psi pressure
2.75hp, 240V motor
$
418.00
$
352
200mm / 8”
$
49.50
$
35
(M739)
Hex Keys with Ball End
Long Series
Imperial Set (H800)
• 9 piece
• 1/16” - 3/8”
Metric Set (H801)
• 9 piece
• 1.5 - 10mm
$
Metric & Imperial
Drill Gauge
• Stainless steel
• 1 - 13mm
• 1/16 - 1/2”
16.50
$
12 EACH
$
$
•
•
•
•
275
•
•
•
•
200 x 125mm capacity
Swivel Head 45º
3 blade speeds
1/2hp, 240V motor
$
594.00
$
495
(B003)
300mm
$
55.00
Horizontal
400mm
$
66.00
Horizontal
600mm
$
88.00
Horizontal
1000mm
•
•
•
•
105.60
Code
M733
M734
M735
M736
M737
Resolution: 0.01mm/0.0005”
Metric/Imperial conversion
Zero setting
Includes: 2 metre scale connecting
cables & 2 x AAA batteries
3-Axis DRO
108.90
$
92
$
154.00
$
(M731)
130
(M732)
HM-10
Mini Mill Drill
Tilting Head
•
•
•
•
•
$
Dovetail column
2 speed gearbox
Head tilts ±45°
350W 240V motor
Travels:
(X) 225mm
(Y) 100mm
(Z) 190mm
869.00
$
825.00
749
749
(M150)
(L194)
M-52G
Turret Milling
Machine
AL-336D DELUXE
Centre Lathe
•
•
•
•
•
•
3-Axis digital readout
NT30 horizontal & vertical
Swivel table left & right
Tilting head ±90º
1.5kW / 2hp 415V motors
Includes: collet chuck
set, drill chuck, X-axis
power feed & light
• Travels: (X) 600mm,
(Y) 200mm, (Z) 340mm
300 x 900mm capacity
2-Axis digital readout
Hardened & ground bed
38mm spindle bore
2hp 240V motor
Includes: 3 & 4-jaw chucks,
faceplate, dead centres,
work light, steadies, foot
brake, splash tray & stand
4,279.00
$
$
37
$
46
$
56
$
74
$
89
$
LCD Display Units
180 x 300mm turning capacity
20mm bore, 80mm 3 jaw chuck
Electronic variable speed
0.25kW, 240V motor
$
$
Horizontal
(D070)
AL-30 Mini
Bench Lathe
•
•
•
•
•
•
44.00
79
(C327)
BS-5S
Swivel Head
Band Saw
$
99.00
$
Price
200mm
3-13mm or 1/8”-1/2”
Diamond wheel
Split point
80W, 240V motor
$
(D138)
$
Scale Type Length
Vertical
2-Axis DRO
EDBD-13
Drill Sharpener
319.00
•
•
•
•
• Metric/Imperial conversion
• With data output • Zero setting
• Includes LR44 battery & mounting brackets
$
16mm drill capacity
2MT, 16 spindle speeds
Swivel & tilt table
1hp, 240V motor
$
12
(M988)
SBD-20B
Bench Drill
•
•
•
•
16.50
$
(S344)
AR-2
Air Hose Reel Retractable
25
(M738)
(F100)
•
•
•
•
31.90
Aluminium Digital
Scale Units
$
3,949
6,039.00
$
(L682D)
5,489
(M163D)
Specifications & Prices are subject to change without notification. All prices include GST and valid until 16-11-13
NSW
2 Silicon Chip
QLD
VIC
WA
(02) 9890 9111
(07) 3274 4222
(03) 9212 4422
(08) 9373 9999
1/2 Windsor Rd,
Northmead
626 Boundary Rd,
Coopers Plains
1 Fowler Rd,
Dandenong
41-43 Abernethy Rd,
siliconchip.com.au
Belmont
www.machineryhouse.com.au
11_SC_DPS1_301013
$
$
Digital Calipers
IS O N S A L E
RAIN
FREE
Order Online
Or In Store
CHECKS
SAUSAGE
T
AKEN
until 4.00pm Saturday
SIZZLE
16th November 2013
35-200
Combination Set
20-114
Outside Micrometer Set
22-145
Depth Micrometer
22-146
Depth Micrometer
• Cast iron ground finished
• Metric & imperial rule • 300mm / 12”
• 4 piece set
•
•
•
•
•
•
•
•
•
•
•
•
$
97.90
$
82
0-100mm range
0.01mm accuracy
0.01mm resolution
4 piece
$
160.60
$
(Q200)
136
$
Resolution
(Q114)
Price
149
168
$
228
Code
106
(Q145)
• LED lighting
• Extends from 193 - 805mm
• Includes 3 x AG13 batteries
• 2 x LED light
• 50 x 80mm mirror
• Extends from
290 - 870mm
• Includes battery
0.01mm/0.0005”
$
176.00
$
(Q1851)
0.01mm/0.0005”
$
198.00
$
(Q1861)
$
0.01mm/0.0005”
$
269.50
(Q1871)
$
16.50
14
$
(M0006)
16.80
38.50
$
29
$
(H880)
49
• 1800 x 750 x 900mm
• 1000kg load capacity
• Heavy duty steel
fabricated frame
• High density laminate top
$
319
•
•
•
•
$
Work Bench .......................... (A420)
Backing Panel....................... (A426)
4 x Single Prong Hook ......... (A440)
4 x Double Prong Hook........ (A442)
1 x Triple Prong Hook .......... (A444)
1 x Spanner Holder .............. (A446)
1 x Screw Driver Holder ....... (A448)
Plastic Buckets..........................
• 8 x (110 x 105 x 50mm) ..... (A430)
• 8 x (140 x 105 x 75mm) ..... (A432)
• 6 x (220 x 140 x 125mm) .... (A434
PACKAGE DEAL
811.80
595
$
45
$
(P354)
140
SAVE
216
$
797.50
759
(C340)
715.00
$
RRP
siliconchip.com.au
(H045)
• 760 x 1mm steel capacity
• Cast iron construction
• Handle operates
all functions
231
S TO:
GAIN ACCES OS
119
CM-760
3-in-1 Pressbrake
297.00
(K030)
(P355)
348 L/min V twin pump
58 litre tank
120psi pressure
2.2hp, 240V motor
$
(S820)
√
√
√
√
√
√
•
•
•
•
$
ST-275
Cold Saw Stand
$
20
SUPER 12
Air Compressor
1,309.00
$
(P351)
143.00
$
(M697)
(S816)
$
16.80
24.20
$
• 15M x Ø9.5mm
Polyurethane hose
• Wall or ceiling mount
• 232psi / 16Bar pressure
• Includes dusting gun
$
1,089
$
AR-P10
Air Hose Reel Retractable
90 x 50mm capacity
Ø275 x 32mm blade
42rpm blade speed
1.3hp 240V motor
$
(M0009)
5/16”
19.80
$
CS-275
MetalMaster
Cold Saw Bench Model
(A420)
IWB-40
Industrial Work Bench, Backing Panel
& Storage Accessories Package
$
3/16”
165.00
$
385.00
$
$
(P350)
16.80
• 70mm in length
53.90
• 12.5mm camera with 1M cable
• LED lighting
• Includes 2M ext. cable,
magnetic pick up,
mirror tool & carry case
(H875)
IWB-40 Industrial Work Bench
$
$
NIC
Portable Video Inspection Camera
64.90
$
36
19.80
$
Number Punches
5/16”
42.90
$
• Genuine Hickory Handle
• 5 x Ø45mm Heads
(Copper, Steel,
Aluminium, Pu, Nylon)
• Genuine Hickory Handle
• Fabricated Steel body
• Press fit nylon faces
$
$
• Mirror extends 240 - 920mm
• Pick up tool extends
165 - 695mm
• 3.6kg fixed
& swivel head
• 2.3kg fix head
magnetic pick up tool
(M0008)
• 70mm in length
Soft Face
Hammer
(Q146)
4 Piece Telescopic
Inspection Set
$
Letter Punches
Dead Blow
Hammer
145
19.80
$
3/16”
171.60
$
2 x LED Light
Telescopic
Inspection Mirror
150mm / 6”
0-100mm range
±0.005mm accuracy
100mm base
0.01mm resolution
$
1 x LED Light
Telescopic Magnetic
Pick up Tool
200mm / 8"
300mm / 12”
126.50
$
Coolant Proof Digital Calipers
Range
0-50mm range
±0.004mm accuracy
100mm base
0.01mm resolution
649
(S650)
+
ONLINE PROM RS
FE
EXCLUSIVE OF DERs
OR
ur
yo
K
TRAC
NEWSLETTERS
ASES
LATEST RELE
S
ON
TI
TI
COMPE
$7OU0NT VFORUCHEERSE
DISC
UP
.au/SIGN
November
use.com2013 3
machineryho
Note: Discount vouchers are valid for online purchases only
11_SC_DPS2_301013
E V E RY T H IN G
SILICON
SILIC
CHIP
www.siliconchip.com.au
Publisher & Editor-in-Chief
Leo Simpson, B.Bus., FAICD
Production Manager
Greg Swain, B.Sc. (Hons.)
Technical Editor
John Clarke, B.E.(Elec.)
Technical Staff
Ross Tester
Jim Rowe, B.A., B.Sc
Nicholas Vinen
Photography
Ross Tester
Reader Services
Ann Morris
Advertising Enquiries
Glyn Smith
Phone (02) 9939 3295
Mobile 0431 792 293
glyn<at>siliconchip.com.au
Regular Contributors
Brendan Akhurst
Rodney Champness, VK3UG
Kevin Poulter
Stan Swan
Dave Thompson
SILICON CHIP is published 12 times
a year by Silicon Chip Publications
Pty Ltd. ACN 003 205 490. ABN 49
003 205 490. All material is copyright ©. No part of this publication
may be reproduced without the written consent of the publisher.
Printing: Hannanprint, Noble Park,
Victoria.
Distribution: Network Distribution
Company.
Subscription rates: $105.00 per year
in Australia. For overseas rates, see
our website or the subscriptions page
in this issue.
Editorial office:
Unit 1, 234 Harbord Rd,
Brookvale, NSW 2100.
Postal address: PO Box 139,
Collaroy Beach, NSW 2097.
Phone (02) 9939 3295.
Fax (02) 9939 2648.
E-mail: silicon<at>siliconchip.com.au
ISSN 1030-2662
Publisher’s Letter
Hybrid cars may not endure
Here is a forecast: hybrid electric cars, as we presently
know them, will be a rarity in a few years time! In fact,
they might eventually be as rare as electric cars. Taking
the last part of my statement first, electric car sales are
going nowhere. While I happen to think that the Nissan
Leaf is an attractive proposition (see the Publisher’s Letter,
October 2012), the fact is that very few have been sold
either in Australia or elsewhere. And while there are many
more hybrid electric cars on sale with brands like Honda,
Lexus and Toyota, their overall sales are in the minority.
It is not hard to see why. Hybrid cars do not have range problems like electrics
but often cost a significant amount more than equivalent petrol or diesel-engined
cars and that can be more than the overall savings in fuel economy over the life
of the car, say 10 years. So whether or not prospective car purchasers carefully
consider the economics of a hybrid, the result is that not many are sold.
But that is not the reason for my forecast. The reason is that General Motors in
the USA has just cancelled production of its Malibu hybrid for 2014. The Malibu is
sold in Australia in petrol or diesel-engined form but not as a hybrid. The American hybrid version combined a 2.4-litre 4-cylinder petrol engine, electric motor
and a large lithium-ion battery pack that reduces space in the boot and adds to the
vehicle’s weight.
It cost significantly more than the equivalent 2.5 litre petrol-engined equivalent
with stop/start technology but was found to give the same fuel economy. Ergo,
there was no economic reason to continue the hybrid model. Mind you, stop/start
technology is a form of hybrid, sometimes referred to as “micro hybrid”.
This decision by General Motors has a number of interesting consequences,
apart from the potential overall direction of hybrid sales. First, large lithium-ion
batteries in cars might not be a part of our motoring future. The stop/start technology in the Malibu uses two standard lead acid-batteries. One is the regular battery
which starts the engine and runs all the associated electronics such as the ECU,
fuel injection, ignition etc. The second battery recharges with regenerative braking
(as with the battery in a full hybrid car) and powers the vehicle’s systems while
the engine is stopped.
So at one fell swoop, GM has eliminated the expensive lithium-ion battery, all
its charging electronics, high-voltage cabling and the risk of fire. So think about
this: if other car manufacturers take the same approach and elect not to use large
lithium batteries in future vehicles, it may mean that continuing development of
these batteries will not be rapid as it otherwise might have been. It also means that
there is still a long-term future for the tried-and-true boring old lead-acid battery.
Who would have thought of that?
Furthermore, if you are an investor you will possibly conclude that the future
market for lithium batteries may not be as hot as once thought or that the demand
for lithium (with only a few countries having a monopoly on the production of
lithium ore) might not be as high and lead prices will get a lift on the London
Metals Exchange.
In any case, it is probable that conventional petrol or diesel-engined cars can
still get considerable improvements in fuel economy. This may not be via further
improvements in engine efficiency but achieved simply by making cars lighter;
they are much heavier than they were 30 years ago.
Whatever happens, it seems as though hybrid cars as we now know them might
be a technological dead-end.
Leo Simpson
Recommended and maximum price only.
4 Silicon Chip
siliconchip.com.au
Value Instruments:
The quality you expect
at an unexpected price.
High quality = high price? Not with our Value Instruments.
Value Instruments are versatile T&M instruments for everyday lab use.
I Quality T&M solutions engineered by Rohde & Schwarz
I Accurate, reliable, easy to use
I Comprehensive support thanks to the extensive service and technical
support network
www.rohde-schwarz.com.au
Find the right tool here:
www.rohde-schwarz.com/value
siliconchip.com.au
November 2013 5
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”.
Supplier-driven technology is not
what the customer wants
It was interesting to read the Serviceman’s remarks in the September
2013 issue about the apparent decline
in desktop computers and the rise of
tablet type devices.
Out of all of my friends – personal
and small business users – only one
gives the time of day to tablet technology. The others prefer desktop
machines and in some cases laptops.
They would not been seen dead with a
tablet, especially one with an outboard
keyboard and stand to make it imitate
a laptop (why not use a real laptop?).
They and I believe that the tablet is a
most impractical way of getting work
done and not very good at enabling fun
either. In particular, the ‘soft’ keyboard
drastically reduces typing speed and
the touch screen rapidly becomes
smeared and unsightly.
The vast majority of the hundreds
of thousands of small businesses rely
on their desktop machines and would
not dream of trusting a tablet to meet
their requirements. For one thing, a
tablet is much much easier to steal
or even to lose in the usual cluttered
small business office.
I believe that what we are seeing
here is what I call ‘supplier-driven
demand’. By that, I mean that the supplier decides what it wants to sell us
rather than the other way round. For
many years the old IBM PC standard
has developed and enables original
assembly and easy practical repairs
at home by anyone with reasonable
care and manual skills. More and
more people were building their own
computers and many still do. This
was great irritation to profit-hungry
international companies and the result
has been that the consumer is driven
by them more and more to buy items
that are packaged in such a way that
self-assembly or component level repair is not possible.
Supplier-driven technology operates with software too. When Windows
8 was announced, suddenly you could
not buy any machine that was not
preloaded with Windows 8, whether
you wanted it or not. But without
exception, all of my acquaintances
hate it!
It is the same in other areas of life.
Nearly every restaurant has loud and
often unsuitable ‘background’ music
pounding your ears while you are
trying to enjoy a sociable meal. I have
yet to find anyone who wants that.
It’s what the supplier decides to give,
irrespective of the customer’s wishes.
And the appalling movement towards
‘pop-up’ adverts intruding on TV
watching on the free-to-air service is
another example of what we all don’t
want and the supplier determines that
we will all get.
To finish on a positive note, I must
congratulate your cartoonist who always manages to capture the moment
with splendid detail. His depiction of
Dave Thompson is excellent.
Alan Ford,
Salamander Bay, NSW.
Lithium polymer drill packs
have elaborate electronics
I always enjoy SILICON CHIP articles
on salvaging defunct equipment and
found food for thought in the October
2013 issue “Fire Up Your Cordless
Drill” article. Ironically, I bought two
24V DSE battery packs for $3 each
when DSE closed out the line a few
years ago, then stripped them down
and used the cells to revive some of
my collection of old cordless drills,
including two Black & Decker 7.2V
units which are decades old.
Later, I was given a Ryobi lithium
drill kit, comprising two 18V 1.4Ah
batteries, a fast charger and a 2-speed
drill. I find this unit superior to any of
the nicad-based units I have owned.
Included are two photos, obviously
not to the same scale. One shows the
→
6 Silicon Chip
siliconchip.com.au
INSPIRING SMART
SYSTEM INNOVATIONS
SPECIAL OFFER AUS/NZ:
During November 2013, quote code
“SCNOV” for a 10% discount on Altium
Designer new licenses or upgrades!
Support for Flex and Rigid-flex Design. Altium Designer helps you navigate the
process of creating new and innovative electronics using Flex and Rigid-flex circuits.
Enhanced Layer Stack Management. A layer stack manager allows for the definition
and naming of primary and sub-stacks on a circuit board for use in a Rigid-flex circuit design.
Support for Embedded Components. Embedding important components within
the layers of a circuit structure creates faster, more reliable products that are smaller
and have lower production costs.
For further information, contact Altium on +61 (2) 9410 1005 or email sales.au<at>altium.com.
siliconchip.com.au
www.altium.com
November 2013 7
Mailbag: continued
Query on solar
panel regulator
I am writing about the the 2N3055 power transistor used as in the 72V Solar Panel Battery Charger/
Regulator, as featured in the September 2013 issue.
The picture of the 12/24V regulator intrigued me
because it’s a long while since I’ve seen a 2N3055
used in anything. Unfortunately, in this case, I think
it’s being misused.
The article says a 2N3055 was chosen because
“it does have a high voltage rating for this mode of
operation – 95V”. That didn’t match my memory
and my trusty Motorola Power Device Data book
agreed. According to the specifications in the data
book, the maximum Vceo is 60V – well below the
95V mentioned in the article.
Looking at the other potentially relevant voltage
rating, Vcb is 100V – but that’s not relevant because
the emitter is more negative than the base in this application. Vcer is 70V but that’s still on the low side
and there’s no low-impedance base-emitter path so
it’s not applicable.
Actually, I’m surprised that the primary side
switcher uses a linear series regulator. While this is
simple, it also the most wasteful of power. It would
seem more efficient to run the switcher off a second
rectifier on the 12V windings, with a series regulator for bootstrapping only. In either case, something
like a TIP31C would seen a better choice as a pass
transistor.
Peter Jeremy,
Killarney Heights, NSW.
Comment: there is no doubt that the 2N3055 is a
very old transistor. Evidently, Oatley Electronics
has reasonable stocks of this device and decided it
would be suitable for the design.
Furthermore, while a switching regulator circuit
would have been more efficient, the current drain
to the SG3535 is quite low, so the overall circuit efficiency is not reduced by much.
The transistor ratings in the Philips data show
Vcbo (open emitter) as 100V and Vce as 70V. That
is with a 100Ω resistance between base and emitter.
So the voltage rating is closer to 70V than the 95V
figure quoted in the article.
However, the operation of Q1 has it start to conduct
to clamp the emitter at 0.7V below the base that is
at 10V. The voltage at the collector is going to be the
solar panel voltage minus the drop across the 1.2kΩ
5W resistor.
Assuming a supply current of more than 10mA,
the voltage between collector and emitter is the
panel voltage minus the emitter voltage of 9.3V and
the 12V across the 1.2kΩ resistor. So the transistor
should be just safe to use when the panel has 90V
across its terminals.
8 Silicon Chip
siliconchip.com.au
internals of a Ryobi 18V 1.4Ah 5-cell
lithium battery pack and the other, the
controller in a much more compact
Taurus 3-cell 10.8V 1.3Ah pack. The
Taurus, which I bought more recently
for about $70 from Aldi, came with
two battery packs.
As you can see from the photos,
the battery packs include elaborate
electronics. So far as I can tell from the
markings on the 16-pin chip visible on
the Taurus controller, it is an S-8254A,
described in a Seiko data-sheet as “a
protection IC for 3-serial or 4-serial-cell
lithium-ion/lithium polymer rechargeable batteries”. The 28-pin chip on the
Ryobi controller is marked “HA1930”
and is possibly an OEM version of
a PIC16F88N-series controller. Both
boards are doubled-sided, with what
are probably power switching components on the reverse; the Ryobi unit
even has an aluminium heatsink.
The Taurus battery has only three
external connectors (not visible in the
photo), whereas the Ryobi has five (all
visible in the photo) though only four
are used by the charger.
The battery packs for both the Taurus
(above) and Ryobi (right) drill kits
contain eleborate electronic circuitry
to control charging.
I have not attempted to reverse engineer the circuits but infer that the cell
balancing is done by the battery packs
themselves. In the case of the Ryobi,
the charger contains an elaborate electronics module with a switchmode
power supply and has several status
LEDs. I suspect that there might be
a serial data link between the Ryobi
battery and the charger.
The Ryobi drill has only two con-
Micronix Handh eld
Spectrum Analyzer
> NOW RealTime & Conventional Sweep
> Large colour display
> Battery operation
> Built in measurement functions
> Auto tune mode
> 3.3GHz and 8.5GHz models available
For further information contact Vicom
on 1300 360 251 or visit vicom.com.au
www.vicom.com.au
siliconchip.com.au
HIGH VALUE
FROM VICOM
November 2013 9
New in AUSTRALIA
and NEW ZEALAND
EASY PLC’s starting from under $50 !!! Conditions apply!
Economic crisis ? Not with our prices!!!
Our Aim: Highest Quality, Lowest Price!
GOLD finished circuit boards, NXP (former PHILIPS) ARM M0 and M3
processors, 105C rated capacitors; high quality terminals
12-24V DC or 110-240V AC models,
Ideal for Electricians, Service (wo) men, OEMs, cars and trucks,
Home Automation, Hobbyist, Schools, TAFE,…
GSM, SMS, ETHERNET, MODBUS Master/Slave,
Analogue Inputs/Outputs, built in RTC, up to 100h backup !
Up to 96 DI, 90DO, 44 AI and 18 AO, PWM, up to 60 kHz counters,
10A rated relays (transistor 0.3A) DIN rail or wall mount
EASY to program (Function block) LADDER coming soon!
CE certified, RoHS, all test certificates available on request.
For the price of our ELC 6 (picture above on left) you hardly even will find a single standard
timer on the market, BUT we offer 4 inputs, 2* 10A (res. load), 2A (ind. load) relay outputs,
RTC, 35 different function blocks, Modbus RTU support, you even can connect it to a HMI !
FREE SOFTWARE with simulator NO restriction!
Visit
www.xlogic.com.au
Mailbag: continued
nectors to the battery pack. The drill does not behave like
any of the old nicad-powered units I have used. It does
not gradually ‘grind to a halt’ under load when the charge
is low. Instead, it simply stops, undoubtedly due to the
protection built into the battery pack.
Similarly, even though it has quite a lot of torque, if very
heavily loaded with a full charge, it does not labour much
MASSIVE
E
SAL ROM
F
S
RUN V 1st
O
N
TO th
20
DE C
like nicad-powered drills. Once again, it just stops.
All of this is consistent with all I have read about lithium
cells, including articles in SILICON CHIP. They cannot be
mistreated as nicads can without serious consequences, so
manufacturers using them in consumer products, whether
computers, phones, or cordless drills, have to build-in
‘smarts’ to manage the cells.
Suppliers of packs for RC model aircraft take a riskier
approach, presumably because every gram counts, and so
omit the controller in favour of a lighter ‘multi-connector’
for an external charge controller. One assumes they get
away with this because the model aircraft community
generally is well informed about the issues and prioritises
light weight over reliability and even safety.
So I infer that your efforts to ‘scour the shelves at a
couple of major hardware chains’ looking for a charger
multi-connector have been based on a wrong assumption.
Of course, my selection of two examples from the many
brands on the market does not prove anything but it does
imply that the design paradigm for lithium battery packs
for cordless drills is different to that for nicads despite
their similar external appearance, especially given that the
examples are not expensive ‘up-market’ brands.
Peter Bennett,
Macarthur, ACT.
Software fix for 12-digit
frequency counter
There is a small problem with the 12-Digit 2.5GHz Frequency Counter (December 2012 & January 2013) that I have
recently constructed. While checking a 77.5kHz signal, I
noticed that the last digit (LSD) was cycling up and down
and sometimes the second last digit was also changing.
Looking at the data-sheet for IC14 (74AC163), when
the Parallel Enable (PE) pin (pin 9) is pulled low, a clock
pulse is still required to load zeros into the counter. For
input frequencies above 2MHz this will probably always
occur but for low frequencies this will be random, and so
often the LSD will not be reset and the new count will be
added to the least significant digit.
A software solution is to temporarily enable the 1MHz
period count, to clock IC14. This can be done by setting
the -FREQ/PERIOD line high, and also the SEL I/P CHAN
Test Equipment Sale!
Big Name Brands at Bargain Prices!!!
Agilent, Fluke, FLIR, Extech, Ideal
Test & Measurement
And many more at savings up to 50%
Clearance Sale on New and Ex-demo Stock
Accessories on sale too!
Visit this link now and grab a bargain:
www.triotest.com.au/shop/en/303-clearance-items
Or call us on 1300-853-407 for immediate assistance
PS: All stock is subject to prior sale, so be quick!
10 Silicon Chip
siliconchip.com.au
A low (so it does not interfere) for
about 1μs. I have not checked what
happens with the Channel B input for
frequencies above 100MHz.
I added some code to the firmware
which was easy to do (even though I
do not know PIC assembler well), since
your code is very well documented.
The codes seems to work for me.
A better solution would probably
be to add some extra gating so that the
Reset Decades 1&2 signal is routed to
the -SR pin, pin 1.
Peter Urban,
Seven Hills, NSW.
Jim Rowe comments: Peter Urban is
correct – the least significant digit will
tend to have increased ‘bobble’ when
measuring very low frequencies. I did
miss that note in the 74AC163 datasheet about the PE-bar pin not actually
performing a parallel load ‘reset’ when
it’s pulsed low – it only prepares the
chip to do the parallel loading/resetting on the arrival of the next clock
pulse (a hidden trap for the unwary.)
My thanks to Peter Urban for finding
this little bug and also for working out
siliconchip.com.au
ADS-B antenna amplifier
should be workable
I have been following your series
on getting the best out of ADS-B
reception and note that you have
correctly concluded that the higher
and clearer the antenna is located,
the more likely it will pick up the
widest possible range of aircraft
transmissions. Of course, having the
antenna elevated means that there is
going to be some significant loss in
the feed line, because of its length,
a way to compensate for it by putting
some extra code in the firmware. This
is obviously the way to go, because the
alternative of adding an extra chip
would be messy.
Comments about
Bush radio features
I was very interested to read the
review by Leo Simpson in the September 2013 issue on the modern
Bush TR82DAB radio and also the
even if you use high quality coax.
A low-cost solution could be to
insert a common “satellite line amplifier” into the cable and a compatible power inserter at the receiver
end. With usually about +20dB of
gain, they do a good job of keeping
the 1080MHz signal levels up in the
usable range. There is some increase
in the noise level though, as these
are fairly low cost devices.
Eric Fien
Mt Kembla, Vic.
article by Ian Batty in the Vintage
Radio column about the classic Bush
TR82C Mk2 model. Concerning Mr
Simpson’s review, I would just make
the following points:
(1) On page 29, it is stated “. . . this
TR82DAB model is the only DAB+
radio available in Australia which
features AM as well as FM stereo reception . . .” I don’t think this is quite
correct. There is another radio selling
in Australia which also has reception
November 2013 11
Mailbag: continued
Driving economically
may hold up traffic
sources to ensure that they are aware
of all that is going on around them –
left/right mirrors, rear view mirror,
blind spots and instruments, as well
as the view out the front window.
Yet how often do you see drivers
not attending to these tasks, totally
unaware of their surroundings? How
often do you see drivers travelling
at excessive speed or too close to
another vehicle? Is it really too difficult to maintain your awareness of
your surroundings and speed without fixating on one instrument – the
speedo? Too many drivers have little
enough skill as it is, without suggesting that technology can make up for
that lack of skill.
The car manufacturers and the
safety experts push and applaud
technology as the solution to our
road safety problems, yet the biggest
problem cannot be solved by technology: The Nut Behind The Wheel.
If you add the use of technology
to “improve” fuel economy/driving
practices, then you also need to ad-
I read and enjoyed the evaluation
of emerging consumer technology in
the Head-Up Display (HUD) article
and Publisher’s Letter in the October
2013 issue.
As the article indicated, while it’s
a good start, it’s more of a technical
novelty at this time rather than a
necessary practical solution. As a
professional technologist and experimenter of over 40 years, with
a particular interest in automotive
and embedded electronics, I have to
wonder at times at the use of technology for technology’s sake.
To champion the use of a HUD, so
as not to have to glance at the speedo,
may have its place in a fighter aircraft
cockpit where the pilot’s skills and
airspace are not in question but it
would not seem to have the same
equivalence in the driving seat of a
motor vehicle on a crowded road.
Learner drivers are taught to
observe information from multiple
on all three bands – the Sangean DPR45. It has a recommended retail price
of $219.00, and is currently available
from some of the larger electrical appliance stores, and new from eBay
at less than this amount. This radio
may be checked out on the internet
at: www.sangean.com.au/images/PDF/
digital_flyers/DPR-45.pdf
(2) At the top of the same page, the
header says “. . . classic 1960s styling
. . .” Mr Batty’s article indicates that
the first model, the TR82, came out
in 1959 (although his article is about
dress the issue that you are but one
driver on the road.
I think also that if you were to research a technology article on traffic
controls and traffic flows, you would
find that road-sensor-actuated traffic
signals actually require a vehicle to
trigger them, which is not going to
happen when drivers slow prematurely to “save fuel”.
The premature slowing of vehicles
approaching controlled intersection
also interferes with other vehicles
entering turning lanes and their respective separate road sensors. This
then becomes an example of technology (traffic controls) being defeated
by driver self-interest.
I acknowledge that the Editor, in
advocating reasonable and economical driving practices, is not advocating self-interested driving techniques and nor do I. Unfortunately,
a significant proportion of drivers
are not technology aware or skilled
enough in the first place to make use
of added technology without impacting negatively on other road users.
Gary Brewer,
Croydon Hills, Vic.
the later TR82C Mk2 from the early
1960s). If the original 1959 mouldings
for the case have been used for both
the TR82C MK2 and the modern DAB+
radio, wouldn’t the header be more
accurate if it read “. . . classic 1950s
styling . . .”?
IN STOCK NOW
Check out our
SUPER SPECIAL
BUNDLE PRICES
For more information & to shop online,
visit www.wiltronics.com.au
Ph: (03) 5334 2513 | Email: sales<at>wiltronics.com.au
Raspberry Pi is a trademark of the Raspberry Pi Foundation
12 Silicon Chip
siliconchip.com.au
siliconchip.com.au
November 2013 13
gazine November 2013
W
NE
THE KSM-30S DIY SOUND
RECORDER SPEAKS FOR ITSELF
Design your own seasonal and promotional
greeting cards. Add your own sound effects
to models and art installations.
KSM-30S
FEATURES
30second recording time.
Robust sound output.
Simplified recording control.
Modular construction with
separate battery board.
40mm Speaker
$8.77 inc. GST
Microphone
Plus $3.60 P & P
Recording Switch
Playback Switch
Go to: www.kitstop.com.au for more details and 10+ pricing
KSDVM-30 ULTRA-COMPACT
4.5-30VDC Digital Panel Meter
Keep an eye on your battery charge and
discharge cycles with this affordable meter
The KSVDM-30 features: Bright 0.36”
Red LED Digits, Snap-Fit Housing, Range
optimized for solar, automotive and trucking
applications
$6.70 inc. GST
$8.70 inc. GST
KSR-504
ULTRASONIC
Plus $4.60 P & P
Great for robots and people
sensing. Use it with the
KSM-30S sound Module
*Arduino Friendly
2Channel UHF Remote Control
Fully
Assembled
Our KSRC2 set wirelessly controls
appliances, lighting, scoreboards &
models over 40metres. Its two RX
relay outputs are rated to 500Watts.
Affordable at
$22.33 inc. GST
Plus $7.50 P & P
Buy this pair
of DC-DC
Converters for
only
KS2596
BUCK (DOWN) 3A
DC-DC Converter
$13.87 inc. GST
Plus $4.60 P & P
Input Voltage: DC 4V to 35V
Output: DC 1.5V to30V (adj.)
COMPACT 52mm x 20mm x 15mm
This is just a little note of appreciation for your
magazine. I subscribed to Electronics Australia in the
early 1970s then put it aside and came back to SILICON
CHIP a few years ago.
I enjoy the eclectic mix of articles. Practical articles
like the recent ones about lithium batteries, digital
television, radio microphones, and SD memory cards,
help to fill in knowledge about common technology.
Also I like the Vintage Radio section. It reminds me
of my days building valve equipment in the 1960s.
The construction projects are interesting, even if
you don’t build them, for what you can learn about
current technology in chips, circuit techniques and
construction methods.
Paul Howson,
Warwick, Qld.
I enjoy reading SILICON CHIP every month and over the
years have built several of your projects. Keep up the
good work.
Rod Peeler,
Hampton Park, Vic.
for only
KSR-501 PIR
Note of appreciation for SILICON CHIP
Plus $4.60 P & P
This pair
of sensors yours
Adjustable Delay, 3 wire
connection. 4.5v to 12v
operation. TTL output
Goes with the KSM-30S
sound module
Mailbag: continued
KS2577
BOOST 3A (UP)
DC-DC Converter
Input Voltage: DC 3V to 30V
Output: DC 4V to35V (adj.)
COMPACT 52mm x 20mm x 15mm
www.kitstop.com.au
P.O. Box 5422 Clayton Vic.3168 Tel:0432 502 755
Comments on GPS
timebase accuracy
I refer to the letter and comments on the accuracy of
your GPS Timebase on page 4 of the April 2013 issue.
It’s not surprising that you achieved agreement between
your GPS-Based Frequency Reference and the 12-digit
counter driven by a GPS timebase. I looked at the revised
online circuit diagram (September 2011) and concluded
that the Frequency Reference would slavishly follow the
same deviations as the GPS timebase. I have not read the
original article, as it was published before I became a
subscriber, so I do not know what range of ‘pull’ the ladder DAC was expected to exert on the reference crystal.
For argument’s sake, I am assuming it is in the order of
1ppm as I believe the full range of pull on a crystal can be
typically 20ppm up to 100ppm. This means a single step
of the DAC will change the frequency by about four parts
in 109 which is pretty crude. I think the 10µF capacitor
and 3MΩ resistor are supposed to smooth this but I cannot see how. The output of IC13a through the 1kΩ resistor
would totally swamp any effect they may have so I think
they are useless or there’s an error in the circuit diagram.
My conclusion is that the difference of three parts in 1010
was not an absolute measure, just a difference between two
sources of unknown accuracy over a long period of time.
My reading on errors in GPS is that it could be typically
five metres and up to 15 metres in error. The most likely
culprit here is ionospheric conditions which change all
the time. As we do not have access to the equivalent of a
WAAS signal, there is no way to know if this is happening. I read in the specifications of one GPS module that
the 1pps GPS signal is only as good as the GPS position
calculation. The satellites cruise at 20000km above Earth
For more details, email us at info<at>kitstop.com.au
14 Silicon Chip
siliconchip.com.au
so five metres is nearly three parts in 107. Admittedly,
using a 1000-second measurement period would reduce
this to three parts in 1010 but this is an artificial way to
claim better accuracy.
No-one wants to wait over a quarter of an hour for a
reading. To take it to extremes, why not measure over
14 days (if the counter allowed) and claim an accuracy
of three parts in 1013? No, what is required is a highly
accurate and stable 1pps signal where the length of each
second is accurate. As an aside, what happens to the GPS
timebase if something happens to the signal during or at
the end of measurement? For example, a passing aircraft
may reflect or mask the signal for a second or two. Does it
‘lose’ a pulse? That would definitely be bad for accuracy.
An accuracy approaching one part in 1011 could be
achieved in a 1pps signal and I suggest it would make
the counter a whole lot more useful. The main reason
for counting over 1000 seconds is to mitigate the effect
of the GPS jitter. How much better if you could feed in,
for example, a 144MHz signal and read it off accurate to
the last Hertz in one second? The GPS-based Frequency
Reference is a good starting point; all that is needed is to
modify it suitably.
In fact, it can be simplified somewhat by adding a second CPU equivalent to the PIC16F628A to do much of the
hard work. If the GPS unit’s 1pps signal were fed to RB0
and RB3 reconfigured as a pulse width modulated (PWM)
output fed through a filter to pin 3 of IC13a, then IC5-IC9
and IC12 are unnecessary, as software can replace them.
Although the PWM provides only 10 bits of accuracy,
suitable dithering of the signal over a 1-second time-frame
will provide a correction signal orders of magnitude better
than provided by the ladder DAC. Since the CPU is being
driven by the 10MHz crystal, it can utilise an internal timer
and software to compare the differences between the GPS
and the crystal. However, some circuitry may be required
to derive the 1pps output (I am not sure if the CPU could
produce a signal of the required quality).
To achieve the desired accuracy, the reference would
need to be running for a few days at most. I think anyone
who was interested in such a piece of equipment would
expect to leave it running all the time, perhaps with battery back-up. In that time, ionospheric errors will average
out and the crystal will settle down. The CPU would have
the capability in software to average over a time period of
days rather than seconds. Also, the CPU could measure the
crystal frequency drift that occurs with ageing, and could
provide a progressive first order correction along the way.
I once worked in a laboratory where our very expensive
5MHz crystal drifted about three parts in 1012 per week,
but after a 3-month bedding in period it was very consistent, so it was possible to apply a correction if needed. We
measured the frequency against an atomic standard each
week and applied a manual correction to the control voltage each day. This task can now be offloaded to the CPU.
In case the CPU is not up to all the additional tasks
required, there are plenty of more powerful alternatives
out there. I think I see a project coming up.
Alan Cashin,
SC
Islington, NSW.
siliconchip.com.au
November 2013 15
Rasberry Pi
by Ross Tester
from
In the May 2013 issue of SILICON CHIP, we introduced the Raspberry Pi.
Here we go one step further and add element14’s XBMC solution, which
allows you to build a low cost, high performance media centre by
connecting up your Pi, plugging in to your TV and adding your own content.
I
f you haven’t heard of the Raspberry Pi, welcome back from your
trip to outer Mongolia or Mars
(although we’re not sure you didn’t
have your eyes and ears tightly closed
while you were there!).
This tiny (85 x 56mm) single-board
computer really is setting the world
abuzz, if not on fire!
If you want to know more, we
suggest you refer to that May article,
which explains in some detail
how to set up and use the Raspberry Pi.
XBMC
Some weeks ago, element14
suggested we might like to have
a look at their packaged XBMC
solution. Now before we get
too far ahead of ourselves, the
name: XBMC. It was originally created as a media centre application
for the original Xbox game console,
16 Silicon Chip
named “Xbox Media Centre” but is
today officially available, under the
name “XBMC” as a native application
for Android, Linux, BSD, Mac OS X,
iOS, and Microsoft Windows operating systems.
It is the Linux iteration that we are
interested in here; the name given to
this interface is Raspbmc,
or Raspberry Pi Media
Centre.
If you’re still none the wiser,
perhaps you’ve heard of Apple TV?
Raspberry Pi/XBMC is quite similar
and although it is not quite as fast as
Apple TV2, it is significantly cheaper
(and you don’t have to jailbreak it!).
It is capable of 1080p video, though
a lot of reports suggest 720p is a lot
more reliable.
What can it do?
A Media Centre, as its name suggests, brings all your various media together into one, easily manageable collection – then makes
the selection and playback of
that media much simpler than
selecting it manually.
What media? Basically, anything that you either have in your
collection or anything you want to
add to your collection. Naturally,
that normally means videos (movies,
tv programs, action cam clips and so
siliconchip.com.au
on) and music (whether downloaded
or ripped from your CD collection).
Many people prefer to place a copy
of their original music or DVDs on a
hard disk to preclude damage to the
CD, DVD etc – and this is precisely
what XBMC is superb at managing.
The legalities of doing this are a
bit grey but providing you own the
original (ie, it’s not a pirate copy) we
don’t imagine there could be too much
difficulty.
Downloading TV programs and
other video sources are not quite so
legally vague – all we’ll say is that if
you do have lots of video and audio
files, you need something like XBMC
to manage it!
erful Pi for use with XBMC.
No HDMI on your TV?
You don’t have to use the HDMI
output (especially if you don’t have an
HDMI input to your TV set!) because
the Pi module also has a composite
video (RCA) output and audio via a
3.5mm stereo jack socket. However, no
cables are supplied for these outputs
(most hobbyists will have a junk box
full of ’em!).
Other software is available as (typically free) downloads should you need
it but what’s in the box is usually
enough to connect you to your Raspberry Pi module and get you on your
merry way.
We are assuming that you have
already played with your Raspberry
Pi module enough to have a basic understanding of how it works and what
it does. Implicit in this is that you also
have a 5V, 700mA (or greater) USBtype power supply. A lot of people
power the Pi from their TV set USB
output, as these generally can supply
up to 1A.
As video is more demanding than
audio or other files, you need to use
fast, high quality media. Class 6 SD
cards are minimum; class 10 would be
better. Similar comments apply to any
flash memory sticks – don’t expect a
$2 special to perform very well (it may
not even work at all!) – go for known,
high performance brands
If you want to connect a USB hard
drive to the Pi for large data storage, it
too should be pretty high specced and
will need to have its own supply, as
the Pi module probably cannot deliver
enough power to run one.
First time setup
Even if you haven’t played with the
Raspberry Pi before, first time setup is
a breeze. Once connected (and that’s
dead easy) the Raspberry Pi XBMC
What’s in the box?
does just about everything for you.
You’ll receive a 4GB class 4 SD card
First, connect the Raspberry Pi
(with Raspbmc preloaded onto it), a
module via its two (supplied) cables
3m Cat5e Ethernet cable (to connect
to an HDMI (TV) input and to your
the Raspberry Pi module to your nethome network. As mentioned earlier,
work), a 1m HDMI cable (to connect
if you don’t have a TV with HDMI,
the module to your TV set via a spare
you’ll need to use composite video out
HDMI input) and last (but certainly
(RCA socket) and audio out (3.5mm
not least!) a nifty little Wireless Keysocket) instead.
pad and Touchpad, claimed to be the
Next, plug the supplied SD card
world’s smallest! All of this has a
into its socket on the underside of
retail price of $69.30, with
the PCB and the wireless
free delivery.
keyboard dongle into one of
Note that this does not
the USB ports on the board.
include the Raspberry Pi
Note that the mini keyboard
itself – if you don’t have
needs charging before it will
one already, you can order
work (a USB cable is supplied
it at the same time from elewith the keyboard) and don’t
ment14 for $41.85 (512MB,
forget that there is a power
Model B) or $53.90 with an
switch on the mini keyboard
8GB SD card pre-installed
which must of course be
with NOOBS. The earlier
turned on! The mini key256MB Model A is much
board gives you both a “QWcheaper ($29.70) but we
ERTY” keyboard (albeit, one
would strongly suggest you Setup is simple: just plug in the leads, insert the SD card and for micro-sized fingers) along
choose the newer, more pow- WiFi dongle and apply power.
with a trackpad mouse which
siliconchip.com.au
November 2013 17
for example, is a great service but it’s
restricted to the UK. However, there
are work-arounds which fool iPlayer
into believing you’re firmly ensconced
within the sound of Bow Bells.
See our article “Cheap and Cheerful
Smart TV” in the July 2013 issue of
SILICON CHIP for more details.
You’ll also be able to access weather,
RSS feeds, news services . . . in fact,
the sky is literally the limit.
Conclusion
And here’s the setup, ready to run. The Raspberry Pi has a power lead on the
left, the HDMI cable emerging from the bottom, an ethernet cable on the right
and the wireless keyboard dongle fitted to one of the two USB ports top right.
The SD card containing the firmware plugs into a socket underneath at left.
Once you get this far, apply power and after some delay, you should see the user
interface screen (below). This is an actual “live” (ie, off-TV) shot.
also has a “wheel” function.
Finally, connect power. The Raspberry Pi automatically boots (the
firmware is on the SD card) and you
should see the “Raspbmc” logo on your
TV screen. The first time you do this
takes a little time as it has to set up
the system; subsequent boots should
be quicker.
The Raspbmc screen
On your TV you should see a “user
interface” screen as shown at right.
This will allow you to browse your
videos, music and other media – once
they are added, of course.
From here on in, it’s pretty self explanatory. For instance, if you want
to add videos/movies/etc, you’d click
on <Videos>, <Files>, <Add Videos>,
<Browse> and you should now see
all the videos on either your SD card
or USB hard disk drive if you’ve fitted one.
Note our earlier comments about
USB hard disks – the Raspberry Pi
doesn’t have enough power available
to run a hard disk – you need one
which has its own power supply.
If you want to add audio files, it’s the
same process but obviously you would
select <Audio> instead of <Videos>.
If your files are stored somewhere
else on your home network, Raspbmc
can find them for you and manage
them in the same way – you’d select
18 Silicon Chip
<Windows Network (SMB)> and go
from there.
Internet services
Assuming you have an internet
service (broadband, obviously), by
selecting <Video Add Ons> Rasbpmc
allows you to install popular addons – YouTube, for example. There’s
a range of other services available but
not all will work in Australia without
some mucking around. BBC iPlayer,
We have barely scratched the surface
of the Raspberry Pi/XBMC. The more
you use it, the more you’ll find it can
do. And when you’re not using it for
XBMC, you can learn more about this
popular little computer.
Despite the fact that the XBMC kit
has little documentation, there are
several excellent “startup” guides
on the net which go into much more
detail than we’ve had space for here.
And given the unbelievable popularity
of the Pi around the world, you’ll find
an enormous amount of information
available for the asking. There are
many Raspberry Pi forums including
some which specialise in XBMC. Your
best friend Google will steer you in the
right direction.
There’s also a lot – a lot – of Raspberry Pi add-ons available to make
your Pi experience even more rewarding. Some of these are available from
element14 (www.element14.com) and
some are from other suppliers. Again,
Google Raspberry Pi.
SC
The first time you apply power and run Raspmc (it’s on the SD card supplied
with the XBMC kit and loads automatically) from there on, it’s up to you just
how far you take your Raspberry Pi XBMC. If you have a large collection of
videos and/or audio files (or even grandpop’s 5,000 slides of his 1960 European
Vacation to scan and store!) you’re probably going to want to add a USB hard
disk or large flash drive to hold it all.
siliconchip.com.au
Fig.1 (above): the blue areas of this map show the countries that are currently broadcasting
regular DRM services, while those countries that are either conducting trials or have decided
to become involved in DRM are shown in yellow.
DRM
Digital
Radio
What It’s All About . . .
You have heard about DAB+ digital radio which has about the same
line-of-sight range as FM transmissions. Now there’s DRM which
stands for “Digital Radio Mondiale”. It’s the new international
standard for long-distance digital radio broadcasting on the long
wave, medium wave, shortwave and VHF bands. In this article, we
explain the basics of DRM and how it works. And elsewhere in this
issue we tell you how to receive and decode DRM signals using your
PC with our SiDRADIO.
By JIM ROWE
20 Silicon Chip
siliconchip.com.au
DRM (Digital Radio Mondiale) TRANSMISSION MODES, OPTIONS & CHARACTERISTICS
VARIANT
TYPICAL USES
MODE
A
LF & MF GROUND-WAVE,
26MHz BAND LINE-OF-SIGHT
B
MF & HF TRANSMISSION
ON SKY-WAVE
DRM30
C
D
DRM+
E
DIFFICULT SKY-WAVE
CHANNELS ON HF
NVIS SKY-WAVE (HIGHEST
DOPPLER & DELAY SPREAD)
VHF TRANSMISSIONS IN
BANDS ABOVE 30MHz
SIGNAL BANDWIDTH
OPTIONS (kHz)
MSC QAM
CODING OPTIONS
MAX. ROBUSTNESS
(4.5, 5)
16-QAM
13.1 kb/s
16.4 kb/s
9
64-QAM
19.7 kb/s
30.9 kb/s
10
16-QAM
14.8 kb/s
18.4 kb/s
(18, 20)
(4.5, 5)
64-QAM
22.1 kb/s
34.8 kb/s
16-QAM
10.2 kb/s
12.8 kb/s
9
64-QAM
15.3 kb/s
24.1 kb/s
10
16-QAM
11.6 kb/s
14.6 kb/s
(18, 20)
64-QAM
17.5 kb/s
27.4 kb/s
16-QAM
9.2 kb/s
11.5 kb/s
64-QAM
13.8 kb/s
21.6 kb/s
16-QAM
19.3 kb/s
24.1 kb/s
64-QAM
28.9 kb/s
45.5 kb/s
16-QAM
6.1 kb/s
7.6 kb/s
64-QAM
9.1 kb/s
14.4 kb/s
16.2 kb/s
10
20
10
20
100
APPROXIMATE AVAILABLE BIT RATE
MIN. ROBUSTNESS
16-QAM
13 kb/s
64-QAM
19.5 kb/s
30.6 kb/s
16-QAM
99.4 kb/s
186.3 kb/s
4-QAM
37.2 kb/s
74.5 kb/s
Fig.2: DRM transmission modes, coding options and available bit rates. The ‘main service channel’ or ‘MSC’ (ie, the digital
audio channel itself) of both DRM30 and DRM+ signals is generally modulated onto the RF subcarriers using quadrature
amplitude modulation (QAM).
D
RM HAS BEEN developed and
is being promoted by the DRM
Consortium, an international not-forprofit group which has over 93 member
organisations in 39 countries. Many of
the members are broadcasters but there
are also many transmitter and receiver
manufacturers, as well as broadcasting
standards bodies.
The aim of the Consortium is to support and spread a digital broadcasting
system suitable for use in all of the
frequency bands up to VHF band III.
You can find more about the DRM
Consortium at www.drm.org
By the way, ‘mondiale’ means ‘world
wide’ in French and Italian.
There are two main variants of
DRM. First, there is DRM30, intended
specifically for use on the traditional
low, medium and high-frequency
(shortwave) bands below 30MHz and
the existing AM broadcasting channels within them. The other variant is
DRM+, intended for use at VHF and
in particular for FM broadcast Band II
(87.5-108MHz).
Both variants use orthogonal frequency division multiplexing (OFDM)
for reliable transmission and digital
compression/coding for high spectrum
efficiency. They can also carry digital
data services along with the audio
signals, such as station names, time,
date and program information.
DRM30, DRM+ and DAB+
So where does DAB+ fit into this
siliconchip.com.au
proposed DRM future? After all, we’ve
now had digital radio broadcasting in
Australia for the last four years or so
using the DAB+ system but it’s been
confined to the larger cities and their
suburbs.
There is no definitive answer as
yet. It looks as if DRM30 is likely to
become the world standard for digital
radio broadcasting below 30MHz but
DRM+ might well end up competing
with DAB+ in the VHF and UHF bands.
This is quite possible, because DRM+
is being promoted as a replacement
for analog FM broadcasting in the
88-108MHz band while DAB+ is now
firmly established in the 174-240MHz
band (Band III).
We’ll just have to wait and see what
happens. One possibility is that receivers able to receive both DAB+ and
DRM+ may become popular.
So what’s the difference between
DRM and DAB+? In fact, there are
many similarities and not many differences. Both are digital audio broadcasting systems which use OFDM
– the technique of modulating digital
information on an array of closelyspaced RF subcarriers, instead of a
single main carrier.
This is exactly the same kind of
modulation used in DVB-T television,
wireless LANs (IEEE 802.11a, g & n)
and ADSL broadband over copper
telephone lines. Each carrier is 90° out
of phase (ie, orthogonal) with its neighbours on either side, to reduce mu-
tual interference. And both DRM and
DAB+ use a digital signal processing
(DSP) coding/compression algorithm
known as MPEG-4 High Efficiency Advanced Audio Coding v2 (HE-AAC v2)
to process the digital audio samples for
modulation of the multiple-frequency
OFDM subcarriers.
The differences between the two
systems are rather more subtle. DAB+
appears to use 1536 subcarriers trans
mitted in parallel, each with a bandwidth of 1kHz and spaced apart by
the same figure. This gives a DAB+
subcarrier ‘block’ a total bandwidth of
1.537MHz. However, since this block
can convey as many as 16 different
high quality digital audio signals as
well as their accompanying data,
DAB+ signals tend to be grouped
together in ‘multiplexes’ whereby the
separate broadcasting signals are effectively mixed together into a single
DAB+ subcarrier block for transmission. The individual signals are separated again in the receiver.
In contrast with this DAB+ multiplexing system, DRM30 has been
designed specifically for use in the
AM bands below 30MHz. As a result,
its individual broadcasting signals are
generally encoded so that each one fits
neatly into the 9kHz or 10kHz channels traditionally used in this part of
the spectrum. DRM30 is also capable
of encoding into 18kHz or 20kHz
channels, for higher quality or greater
reliability.
November 2013 21
MSC
SDC
MODES A – D
(DRM30)
FAC
FAC
FAC
TRANSMISSION
FRAME (400ms)
TRANSMISSION SUPER-FRAME (1200ms)
MSC
SDC
MODE E
(DRM+)
FAC
FAC
FAC
FAC
TRANSMISSION
FRAME (100ms)
TRANSMISSION SUPER-FRAME (400ms)
Fig.3: how the three data channels are grouped into the data stream transmitted in DRM30 and DRM+ digital broadcasting. DRM30 modes group
the data into 1200ms-long ‘super frames’ consisting of three frames 400ms
long, while DRM+ groups the data into 400ms-long super frames each
consisting of four frames 100ms long.
Similarly, DRM+ is designed to encode single mono, stereo or surround
sound signals into a channel 100kHz
wide, making it compatible with the
FM channel structure used in the Band
II VHF spectrum.
Modes, bandwidth
& QAM options
To achieve the desired level of performance on the bands below 30MHz,
DRM30 broadcasters use four different
encoding modes designated “A”, “B”,
“C” and “D”, while DRM+ broadcasters use a fifth encoding mode designated (you guessed it!) “E”.
Each of these modes is designed to
achieve the best performance in a different broadcasting application, as you
can see in the table of Fig.2. You’ll also
note from this table that the ‘main service channel’ or ‘MSC’ (ie, the digital
audio channel itself) of both DRM30
and DRM+ signals is generally modulated onto the RF subcarriers using
the quadrature amplitude modulation
(QAM) system.
DRM30 broadcasters have the option of choosing either 64-QAM or 16QAM coding, while DRM+ broadcasters can use either 16-QAM or 4-QAM.
The idea behind this is that 64-QAM
CURRENT DRM30 TRANSMISSIONS IN THE SOUTH PACIFIC
TIME (UTC)
TIME (EAST)
FREQUENCY
BROADCASTER
TARGET AREA
04:59 – 06:50
14:59 – 16:50
11675 kHz
RADIO NEW ZEALAND
PACIFIC
06:51 – 07:58
16:51 – 17:58
9890 kHz
RADIO NEW ZEALAND
TONGA
07:59 – 10:58
17:59 – 20:58
9890 kHz
RADIO NEW ZEALAND
PACIFIC
10:59 – 12:00
20:59 – 22:00
9890 kHz
RADIO NEW ZEALAND
PACIFIC
15:51 – 17:45
01:51 – 03:45
7330 kHz
RADIO NEW ZEALAND
COOK ISLANDS
17:46 – 18:35
03:46 – 04:35
7330 kHz
RADIO NEW ZEALAND
COOK IS, SAMOA, TONGA
18:36 – 18:50
04:36 – 04:50
9630 kHz
RADIO NEW ZEALAND
COOK IS, NIUE, SAMOA, TONGA
18:51 – 19:35
04:51 – 05:35
9630 kHz
RADIO NEW ZEALAND
19:36 – 20:50
05:36 – 06:50
15720 kHz
RADIO NEW ZEALAND
SAMOA, NIUE, TONGA
20:51 – 21:50
06:51 – 07:50
17675 kHz
RADIO NEW ZEALAND
SOLOMON IS, SAMOA, NIUE, TONGA
21:51 – 04:58
07:51 – 14:58
11675 kHz
RADIO NEW ZEALAND
PACIFIC
01:00 – 03:00
11:00 – 13:00
19000 kHz
RADIO AUSTRALIA
PACIFIC
07:00 – 09:00
17:00 – 19:90
7410 kHz
RADIO AUSTRALIA
SW PACIFIC
SAMOA, NIUE, TONGA
09:00 – 11:00
19:00 – 21:00
9475 kHz
RADIO AUSTRALIA
SW PACIFIC
11:00 – 13:00
21:00 – 23:00
6080 kHz
RADIO AUSTRALIA
WEST PACIFIC, PNG
13:00 – 15:00
23:00 – 01:00
9890 kHz
RADIO AUSTRALIA
PACIFIC
15:00 – 17:00
01:00 – 03:00
5940 kHz
RADIO AUSTRALIA
SE ASIA
17:00 – 19:00
03:00 – 05:00
9475 kHz
RADIO AUSTRALIA
SE ASIA
14:00 – 18:00
24:00 – 04:00
5845 kHz
BBC WORLD SERVICE
SE ASIA
Fig.4: current DRM transmission times & frequencies in the South Pacific area.
With the exception of a BBC World Service transmission, they all come from
Radio Australia and Radio New Zealand.
22 Silicon Chip
can encode 64 points in its amplitude/
phase or ‘I/Q’ ‘constellation’, allowing the subcarriers to carry six bits
of information in each digital sample
or ‘symbol’ and hence a higher total
bit rate. However, the 64 points in a
64-QAM constellation are inevitably
closer together in both amplitude and
phase, making it more susceptible
to data corruption due to noise and
interference.
By contrast, 16-QAM has only 16
points in its amplitude/phase constellation, so the individual points are
further apart – making it more suitable
for noisy conditions, even though it
can encode only four bits of information in each digital symbol (and hence
a lower overall bit rate).
The 4-QAM option available for
DRM+ takes this trade-off even further,
allowing it to encode only two bits
per digital symbol and hence a lower
overall bit rate again. But that’s not
really too much of a problem when
DRM+ signals are encoded into a
100kHz wide channel, as you can see
from Fig.2.
DRM’s three data channels
Each DRM broadcasting signal consists of three basic data channels: (1)
the Main Service Channel or ‘MSC’,
which generally carries the encoded
digital audio data; (2) the Fast Access
Channel or ‘FAC’, which carries a set of
data parameters allowing the receiving
decoder to quickly confirm things like
the modulation system being used in
the DRM signals; and (3) the Service
Description Channel or ‘SDC’, which
carries ‘advance’ information like
audio and data coding parameters,
program service labels, the current
time and date and so on.
Fig.3 shows how the three data
channels are grouped into the data
stream transmitted in DRM30 and
DRM+ digital broadcasting. DRM30
modes group the data into 1200ms-long
‘super frames’ consisting of three
frames 400ms long, while DRM+
groups the data into 400ms-long super
frames each consisting of four frames
100ms long.
In both cases, the SDC data is
transmitted across all subcarriers for
a period of two symbols at the start of
each super frame. For the rest of each
super frame, the FAC data is transmitted using a specific sub-group of
subcarriers during each transmission
frame, while the coded audio data in
siliconchip.com.au
there are only a few DRM broadcast
signals in our vicinity (ie, the South
Pacific). In fact there are no DRM+
signals at all and only a few DRM30
signals – mainly those being broadcast
by Radio Australia from Shepparton
in Victoria and Radio New Zealand
International (RNZI) in Rangitaiki, in
the North Island.
It’s true that the BBC directs a
DRM30 broadcast into the South-East
Asian area for a couple of hours each
day (12pm – 2:00am EAST), from their
transmitter in Thailand. However you
may not be able to find this signal
(5845kHz) unless you have a really
good HF antenna – a very high longwire antenna, for example.
You’ll find a list of current DRM30
broadcasts by Radio Australia and
RNZI in Fig.4, which gives times in
UTC and EAST (Eastern Australia
Standard Time), together with the
frequencies in use.
How to identify DRM signals
Fig.5: a DRM signal at 15,720kHz, as depicted in the waterfall display of the
software program SDR# (running on the SiDRADIO described in the October
& November 2013 issues). The DRM signal appears as a rectangular block.
the MSC channel is transmitted using
all the remaining subcarriers, in parallel with the FAC data for the rest of the
super frame.
DRM status world wide
While we haven’t heard much about
DRM in Australia, it’s now well established in the UK, many European
countries, Canada, India and Russia. It
is also in Australia and New Zealand,
although you’d be excused for not
being aware of this. Radio Australia
broadcasts DRM30 on shortwave for
three hours per day, while Radio
New Zealand International broadcasts
DRM30 for 20 hours per day (mainly
to the Pacific Islands).
To get a better idea of the current
state of DRM broadcasting world
wide, refer to the map in Fig.1. The
countries which currently broadcast
regular DRM services are shown in
blue, while those which are either
conducting trials or have decided to
become involved in DRM broadcasting are shown in yellow. As you can
see, DRM is already well established.
In fact the Digital Radio Mondiale
Consortium claims that there are now
over 120 regular DRM services in over
24 different countries and that ‘half
siliconchip.com.au
the world’s population’ is now in a
position to receive DRM (if they had
receivers, that is).
Actually, receivers capable of receiving DRM are in short supply and
most DRM reception to date seems to
have been achieved using PC-based
SDRs. However, European manufacturers like Morphy Richards have
been producing DRM30 receivers and
the Chinese firm Chengdu NewStar
Electronics is cranking up production of its DR111 DRM30 receiver. No
doubt many other firms in China will
follow suit.
DRM30 signals in our vicinity
As mentioned earlier, currently
Sorting Out The Jargon
Don’t get DRM (Digital Radio Mondiale) confused with DMR. DMR
stands for Digital Mobile Radio, which
is a protocol for narrowband mobile
communications.
Also note that the term DRM is also
universally used as the acronym for
Digital Rights Management, a class
of technologies used to fight copyright
infringement of digital content.
So how can you identify a DRM
signal when you’re searching for one?
If you’re using a conventional analog
shortwave receiver, it will sound a bit
like a ‘white noise’ signal – just a lot
of hissing, whether you’re searching
in AM or SSB/USB mode.
On the other hand if you’re using
an SDR with a spectrum display (such
as SDR# running on units like the
SiDRADIO), a DRM signal will look
like a rectangular ‘block’, as shown in
the top area of Fig.5. The DRM signal
shown here is not very strong and as a
result, its top surface ‘dances around’
with variations in the individual subcarriers. If the signal were stronger,
the top surface of the block would be
smoother.
Note that the ‘width’ of the block
will depend on the DRM signal’s bandwidth. Most DRM30 signals seem to be
10kHz wide, ie, they occupy 10kHz of
the spectrum.
Waterfall plot
The other thing to note is the waterfall plot in the lower area of Fig.5.
As you can see, a DRM signal tends to
display as a wide vertical ‘band’, quite
different from the much narrower and
varying width ‘sound track’ display
produced by an analog AM signal.
The band will be fairly solid if the
DRM signal is reasonably strong but
will tend to have diagonal bands if the
SC
signal is weaker.
November 2013 23
Precisely record & plot
your journeys with this
GPS Tracker
By GEOFF GRAHAM
This little gadget will precisely record where your
car, boat or aeroplane has travelled over time. Using
software such as Google Earth you can then see your
trips mapped onto the surface of the Earth with a
resolution of just a few metres. It’s a great device for
off-road drivers, sailors, farmers and grey nomads
and can record a lifetime of travelling onto a single
SD card.
24 Silicon Chip
siliconchip.com.au
All the parts mount
on a single PCB. The
GPS module can be
seen sitting over the
SD card socket on the
left, the power supply
is on the top right
of the board and at
the far right are the
connectors for power,
the optional inputs
and the USB socket.
T
HIS PROJECT was originally created for a couple who were going
to do the “grey nomad” trek anticlockwise around Australia in a 4WD
and caravan around Australia. Why
anticlockwise? Because it’s shorter,
as you are driving on the left side of
the road and on the inside of a circle!
During their journey, they wanted
a foolproof method of recording their
route without the complications of
keeping a log or constantly running a
laptop computer with a GPS dongle.
This GPS Tracker is the result.
Basically, it’s a small box that can
be wired to the vehicle’s ignition and
then forgotten. Each time the vehicle
is used, the GPS Tracker automatically
records the time, date and the route
taken on its SD card. This SD card can
be removed later and inserted into a
computer so that the stored history can
be displayed in Google Earth or some
other mapping software.
If you are not a grey nomad, this device can be used for many other tasks
– from farmers wanting to know which
paddock they ploughed (and when)
to boaties or fishermen who would
like to know where they have been
in the past. It could even be installed
in the family car – imagine being able
to see precisely the route taken on a
particular day some time in the past!
But there’s more! The GPS Tracker
can also record points of interest (POI)
and automatically build a spreadsheet
that records a diary of your vehicle’s
business and private use in a format
that (hopefully) not even the tax department could argue with.
A lifetime of detailed travel data can
siliconchip.com.au
Main Features
•
•
•
Records the route, time & date on an SD card each time the vehicle is used.
•
Record formats: Google Earth KML, GPS Exchange, raw NMEA data & two Microsoft
Excel compatible formats.
•
Can record POI locations in a spreadsheet called LOG.XLS and can record a travel diary
with private & business entries in a spreadsheet called DIARY.XLS.
•
When diary recording is turned on, pressing the POI button during a trip means that
the distance travelled (in km) is recorded in the “Business” column of DIARY.XLS.
•
Powered from the vehicle’s 12V battery and can be permanently wired into circuit.
Stored SD card data can be displayed in Google Earth or other mapping software.
Records points of interest (POI) at the press off a button. In Google Earth, each POI
marker is displayed as a yellow pin with an associated time & distance from the start.
be recorded on a single standard SD
card, so the entire history of a vehicle
could be recorded for posterity. This
data could be useful at some time in
the future, especially for a business
vehicle.
File formats
The GPS Tracker can record data
in five different formats: Google Earth
KML, GPS Exchange, raw NMEA data
and two Microsoft Excel-compatible
formats.
The Google Earth formatted file has
an extension of .KML. If you have
Google Earth installed on your computer (PC, Mac, or Linux) you only
need to double click on the file and
it will automatically open in Google
Earth and display the track, with markers showing the start, end and points
of interest (POI).
Google Earth is free and has many
features that assist in displaying your
track. These include the ability to
zoom in and see detail, combine many
separate trips into one overall view
and turn visual features on and off.
The second file format is the GPS
Exchange Format (ie, file extension
.GPX). This is an open XML data
format for the interchange of GPS
data (waypoints, routes, and tracks)
between applications. Many open
applications available on the internet
use this format.
Google Earth also supports this format but its main use is with software
that can automatically work out where
you have taken photographs and insert
the latitude and longitude into the
EXIF data area of the photographs. The
software does this by comparing the
date and time that your photograph
was taken with the date and time in
the GPX format file.
The third file format supported is
the raw NMEA (National Maritime
Electronics Association) 0183 data
which is stored in a file with a .TXT
November 2013 25
Fig.1: the GPS Tracker can
be configured to record
POI (point of interest)
locations in a spreadsheet
called LOG.XLS which
makes them easy to
reference later on.
it is enabled, the data is saved in an
Excel spreadsheet called DIARY.XLS
(see Fig.2). This spreadsheet includes
the date/time of each trip, the start and
end latitude/longitude, the trip duration and the total kilometres.
If the POI button is pressed during
the trip, the kilometres travelled will
be recorded in the business column;
otherwise they will be recorded in the
private column.
So, all you need do is press the POI
button sometime during each business
trip and your complete travel diary
will be automatically created, ready to
be attached to your tax return.
Design
Fig.2: for the tax man, the GPS Tracker can also be configured to record a travel
diary in another spreadsheet called DIARY.XLS. In this mode, a trip is deemed to
be for business if the POI button is pressed during the journey.
extension. This consists of the RMC
(latitude/longitude co-ordinates) and
GGA (GPS fix) data records as generated by the GPS module. This format
is also used by many applications that
can process and display GPS data in
interesting ways.
You can configure the GPS Tracker
to record the data in one, two or all
three of these formats, with a specified
interval between records. By default,
the GPS Tracker records KML data
once every five seconds and GPX data
once every minute but this, along
with other parameters, can be easily
changed (more on that later).
The POI button
As well as recording the track in the
three formats listed above, the GPS
Tracker can also record data in two
different Excel spreadsheets based
on the POI input. This input would
normally be connected to a switch
that would short the input to ground
when pressed. The switch could be
mounted on the lid of the GPS Tracker
itself or more likely, the dashboard of
the vehicle or boat.
Pressing the switch causes up to
three actions to be carried out. The
first is to insert a marker in the KML
track. In Google Earth, this marker
26 Silicon Chip
is displayed as a yellow pin symbol
with an associated time and distance
from the start. This could be used, for
example, to record the location of a
likely camping spot or the place that
you dropped your lobster pot.
You can also configure the GPS
Tracker to record the date, time, latitude and longitude in an Excel spreadsheet (named LOG.XLS) each time the
POI button is pressed. This is handy if
you want to keep a convenient list of
specific locations (see Fig.1).
For example, if you are a farmer
driving around your property, you
could press the POI button every time
you came across a patch of weeds. You
could then later print out the spreadsheet and give it to a contractor as a
starting list for weed spraying.
Business vs private diary
The second type of spreadsheet file
that can be linked to the POI button
is a business/private travel diary. As
anyone who uses their car for business knows, you have to keep a diary
of your business and private use for
the tax man. This can be very tedious
to say the least but it is necessary so
that you can justify the tax deduction.
Diary recording can be turned either
on or off and is off by default. When
Because of its intended use, the GPS
Tracker was designed to be as simple
and foolproof as possible. As shown
in the photos, it’s housed in a small
ABS case with a power cable (+12V
from the vehicle’s ignition) feeding in
at one end and a slot to insert the SD
card at the other. There are also three
indicating LEDs on the front panel
and that’s it.
The firmware is designed to be as
forgiving as possible and will automatically recover from events such
as loss of the GPS signal and power
failure.
Circuit details
Take a look now at Fig.3 which
shows the complete circuit. It consists
of three main sections: a microcontroller (IC1), a GPS module and a
switching power supply.
The microcontroller used is a PIC32MX250F128B, the latest variant
from the Microchip PIC32 stable. This
was chosen because of its performance
– it has a 32-bit processor, the clock
runs at 40MHz and it has a large integrated flash memory (128KB).
When you think of it, the microcontroller has quite a heavy workload.
Primarily, it must implement a full
FAT16 or FAT32 file system on the SD
card, with the ability to create subdirectories and navigate through them. It
also must be fast enough to close any
open files and flush the data to the SD
card if the power fails.
But the best features of this highperformance chip are that it is cheap
and comes in a standard 28-pin DIP
package that can plug into an IC socket.
Power supply
The GPS Tracker is intended to be
siliconchip.com.au
siliconchip.com.au
November 2013 27
A
ZD1
16V
1W
K
A
K
D1 1N4004
S1
S1, S2 OPTIONAL – OFF BOARD
1W
10 µF
25V
GPS TRACKER
82Ω
A
8.2k
27k
A
D3
FASTRAX
UP501
GPS RECEIVER
MODULE
1
LED1
6
5
4
3
2
POWER
1PPS
B/UV
Vin
GND
TxD
RxD
CERAMIC PATCH ANTENNA
A
D2
1N5819
A
CON6
100nF
G
S
82Ω
1F*
5VW
K
A
5
4
LED3
FAULT
K
λ
K
K
λ
λ
K
A
A
A
K
D1, D2, D4
22pF
22pF
X1
8.00MHz
82Ω
9
10
17
11
18
A
ZD1
AVss
27
OSC1
28
AVdd
K
Vss
8
23
Vss
19
K
A
Vcap
D+
D–
Vbus
RB3
RPA4
SCK2
RPB5
RB2
RB13
S3
BOOTLOAD
10k
CARD ENABLE
20
21
22
15
7
10k
6 5
1
2 3
4
MC P1 63 0 1
10 µF
25V
CARD W/P
12 DATA FROM CARD
26 CLOCK TO CARD
14 DATA TO CARD
6
24 CARD PRESENT
3
2
1
100nF
LEDS
PGEC3
PGED3
MCLR
VUSB
IC1
PIC32MX250PIC3 2 MX250F128B
13
Vdd
OSC2
RB8
RB4
RB9
B14
RB7
RPB1
RPB0
100nF
+3.3V
* SUPERCAP
47Ω
D4
Q1
1N5819
IRF540,
STP16NE06,
D
ETC.
2x
10 µF
25V
16
GPS
3
LED2
VFB
K
100nF
L1 15 µH
K
D3 1N4148
25
10k
GND
IC2
6
MCP SW
16301
BOOST
1
RECORD POI
2
EN
Vin
NEW TRACK
CONTROL
CON2
4700 µF
25V
4
5
Fig.3: the GPS Tracker consists of three main sections – a microcontroller (IC1), a power supply (IC2) and a GPS module. The power supply
is designed to provide a regulated 3.3V supply for up to two seconds after the 12V supply has been removed.
2013
SC
RECORD POI
S2
NEW TRACK
0V
+12V
CON1
POWER 10Ω
3
2
9
1
2
3
4
5
6
7
8
G
4
1
D
WP
CD
5
S
Q1
D
USB
SD CARD
SOCKET
CON4
6
CON3
NC
PCC
4
3
GND
PGD
2
Vcc
1
OPTIONAL
ICSP HEADER
CON5
MCLR
100nF
Fig.4: this is the
default configuration
file created by the
GPS Tracker if a
blank SD card is
used. You can use
any ASCII editor
(Notepad in this
example) to change
the settings to your
preference.
powered directly from the vehicle’s
ignition supply. It can either be hardwired to the fuse block or it can be
powered from a cigarette lighter socket
(ie, via a flying lead fitted with a cigarette lighter plug).
In practice, the power supply must
protect the microcontroller and the
GPS module from spikes and reverse
voltage. It must also keep supplying
power for a short time after the external
supply is removed, to allow data to
be written to the SD card. As a result,
it’s more complicated than a simple
3-terminal regulator circuit.
Transient protection is provided by
a 10Ω resistor and 16V zener diode
ZD1. These serve to clip any transients
while diode D1 (1N4004) provides reverse polarity protection and isolates
the main filter capacitor (4700µF)
from the vehicle supply when power
is removed.
IC2, an MCP16301, is an efficient
step-down voltage regulator. This
supplies the microcontroller, the
GPS module and the SD card with a
regulated 3.3V rail. When power is removed, the charge on the 4700µF input
capacitor will decay and the regulator
will track this falling voltage while still
delivering a stable 3.3V output.
In operation, IC2 can keep its 3.3V
output stable for almost two seconds
after power has been removed.
The microcontroller needs only
about 0.3s to flush its data and close
the files on the SD card, so using a
4700µF capacitor sounds excessive.
However, there’s sufficient space on
the PCB to accommodate it and using
such a high value provides a wide
safety margin that will accommodate
the inevitable reduction in its capacitance due to heat and aging.
When power is removed from the
unit, we need to minimise its current
drain so that the 3.3V supply can be
maintained for as long as possible.
This is achieved by Q1 which immediately disconnects the power to the
LEDs and the GPS module (which is
Fig.5: this is the
directory structure
created to hold the
data. It consists
of three top level
directories (GEarth,
GPX and NMEA)
with sub directories
for each month. A
file is created within
these subdirectories
for each trip.
28 Silicon Chip
not required during shut-down) when
the power is removed.
As shown, Q1 is an N-channel
Mosfet which has its gate connected
to the supply rail (ie, before reverse
polarity protection diode D1). When
the ignition is on, this holds Q1’s gate
at about +9V with respect to its source
and therefore Q1 is turned fully on.
When the ignition is subsequently
turned off, Q1’s gate voltage immediate
ly falls to zero. As a result, Q1 quickly
turns off and in turn removes power to
the LEDs and the GPS module.
The main requirement of Q1 in
this role is that it should have a low
drain-source resistance when turned
on. There are many SMD FETs that
have this feature but it is easier to use
a commonly-available power FET,
even though we are only switching
about 50mA.
New track input
When the input power is removed,
IC1 detects this on its RB7 input (pin
16) and immediately commences its
shut-down routine. This involves terminating the current track and writing
the cached data to the SD card.
RB7 of IC1 is also connected to CON2
to provide the “NEW TRACK” input
but note that a new track is also automatically started if the unit loses power.
Shorting this input to ground signals
that the current trip has finished. When
the short is released, the unit will then
start recording a new track.
This facility is provided so that the
Tracker can be permanently connected
to power if required. The advantage of
this is that there will be no delay in
it recording the current location, as
would otherwise initially occur when
power is first applied. Also, because
of the efficient power supply design,
the GPS Tracker only consumes about
siliconchip.com.au
50mA and that level of permanent
drain is acceptable in a vehicle that’s
driven regularly.
LEDs1 & 2 (green) indicate power
and correct GPS operation respectively. These are connected between
Q1’s source and the microcontroller
which pulls its RB9 & RB4 outputs
low to turn them on.
LED3 (red) is the fault indicator
and its drive arrangement is a little
different. As shown, it’s connected
between the RB8 output and ground.
Normally, the microcontroller turns
LED3 off by pulling its RB8 output
low, which shorts out the LED. This
means that the LED is off as long as the
microcontroller is working normally.
However, if anything goes wrong with
the microcontroller, the LED turns on
to indicate a fault.
The firmware also monitors other
components such as the GPS module
and the SD card and if anything is
wrong, it will turn on the fault LED.
That way, the user is immediately
warned that data is not being recorded
– important in a device that is supposed to work automatically.
GPS module
The GPS Tracker is primarily designed for use with the UP501 GPS
module from the Finnish company
Fastrax. This amazingly small module
is cheap, available from many sources
and plugs neatly into the PCB. However, if you want to use an alternative,
the firmware will also work with the
Globalsat EM-408 module that’s been
used in many of our projects in the
past.
The advantage of the EM-408 is that
it is a little more sensitive and it has
an MMCX connector for attaching an
external antenna. However, it is more
expensive than the UP501 and is difficult to mount securely inside the case.
The UP501 needs a back-up supply
to keep the internal memory of the
module alive when power is removed.
This is important because it can take
a long time for the module to get all
the data it needs from the GPS satellites. Provided the back-up supply is
maintained above 2V, the module will
remember this information and can get
a fix on the satellites and your location
more quickly.
Therefore, a 1-farad super-capacitor
has been included to keep the module’s memory alive for up to a week.
As shown on Fig.1, this is connected
siliconchip.com.au
A typical track as displayed in Google Earth. You can zoom in to see the detail
of the track or you can zoom out as in this image to see the whole route. The
start marker records the start time and date, while the end marker records the
end time, the distance travelled and the duration of the trip.
between the GPS receiver’s VDD_B
pin (pin 5) and ground. On the other
hand, the EM-408 has an internal
super-capacitor, so the external supercapacitor, diode D5 and the associated
47Ω resistor can be omitted if this
module is used.
USB port & ICSP
IC1 provides a USB port at pins 15,
22 & 21 (Vbus, D- & D+ respectively).
This is used only for debugging, as
discussed later.
The PCB layout also has provision
for an ICSP (in-circuit serial programming) connector (CON5) which is
not normally fitted. However, if you
purchase a blank microcontroller, you
can fit this connector and use a programmer such as Microchip’s PICkit 3
to program the chip in circuit.
Configuring the tracker
When the GPS Tracker starts up, the
first thing the firmware does is read its
configuration settings from a file called
“Tracker.txt” in the root directory of
the SD card. If that file is not found
the firmware will automatically create
it using its default settings.
Fig.4 shows the typical contents
of this file and as you can see, the
comments make the file reasonably
self-explanatory. In fact, the best way
to create a custom configuration for
the GPS Tracker is to insert a blank SD
card and let the firmware create the
default configuration file. You can then
edit that file to suit your preferences.
The main parameter that you might
want to change is the time zone that
you are operating in. The GPS Tracker
gets an accurate time from the GPS
satellites but it needs to know your
time zone so that it can convert the
GPS time to local time for time stamping its records.
Another parameter that you might
like to adjust is how often the GPS data
is recorded on the SD card. This can
be independently set for each of the
three main data formats (KML, GPX
November 2013 29
05112131
5819
L1
15 µH
10 µF
LED2
IC1 PIC32MX250F128B
LED3
10k
22pF
100nF
14
CON2
10 µF
10k
10k
82Ω
82Ω
LED1
A
X1
2
100nF
A
22pF
3
A
BOOTLOAD
IRF540
100nF
1
66
CON3
4
S1
CON6 GPS
CON1
GROUND
RECORD POI
NEW TRACK
28
1
Q1
FASTRAX
UP501
GPS RX
1
CON5
(PATCH ANT)
D3
1
SUPERCAP
100nF
82Ω
MULTI - USE
SD
2GB
+
D1
10 µF
4148
1F
GND +12V
10 µF
ZD1
CON4
16V
+
IC2
27k
4700µF 25V
100nF
D4
8. 2k
47Ω
5819
MCP16301
10Ω 1W
D2
4004
GPS Tracker
15
Fig.6: follow this parts layout to build the PCB (note: if you are using the EM-408 GPS module, you
can leave out D4, the 47Ω resistor and the supercap). The completed assembly is mounted in the
bottom of the case, with the three LEDs at bottom left protruding through holes drilled in the lid.
and NMEA) and can be as often as once
a second for accurate recording all the
way up to many minutes if you want
to keep the data files small.
The KLMARK parameter controls
how often (in seconds) a timed marker
is placed on the KML track. This can
be handy for long trips as it gives you
an indication in Google Earth of your
progress during the trip. A setting of
zero will disable this feature.
The parameters POIPIN, POILOG
and POIDIARY are associated with
the POI input and don’t have an associated value. Just their presence in
the configuration file means that that
feature will be turned on.
POIPIN means that a marker pin
will be placed on the KML track when
the POI input is pulled low. POILOG
Capacitor Codes
Value µF Value IEC Code EIA Code
10µF 10µF
10u
106
100nF 0.1µF
100n
104
22pF
NA
22p
22
means that the date, time, latitude and
longitude of the current location will
be recorded in the log file (LOG.XLS)
when this happens.
Finally, POIDIARY means each trip
will be recorded in a travel diary
(DIARY.XLS). If POIDIARY is enabled
and the POI input is pulled low at any
time during a trip, it will be recorded
as a business trip.
Directory structure
Over time, the GPS Tracker can accumulate a lot of data, so a directory
structure is used to make it easier to
locate a particular trip. Fig.5 illustrates
this structure.
Starting with a blank SD card, the
firmware will create three directories
called GEARTH, GPX and NMEA – one
for each of the three data formats to
be recorded. Within each directory,
it will create a subdirectory for each
month. The format of the subdirectory
name is year-month. For example, the
directory “2013-12” will contain the
records for December 2013.
Finally, within these subdirectories,
each trip will be recorded as a separate
file. The file name starts with the day
of the month followed by a sequence
number for that day. So a file with the
name “12--#03.KML” is the third trip
recorded on the 12th day of the month.
If required, the Excel spreadsheet
files (LOG.XLS and DIARY.XLS) will
also be created in the root directory
of the SD card. They just accumulate
data so if you want to reset them, it’s
just a matter of deleting them and the
firmware then recreates these two
.xls files with zero size the next time
it starts up.
The firmware keeps these and
other files open while it’s recording
a journey. This means that you must
not remove the card while it is being
used, as that will result in a corrupted
file system. Instead, you must always
make sure that the power has been
removed for a second or two (or the
NEWTRACK input pulled low) before
removing the card.
The firmware will work with most
SD cards up to 32GB in size and formatted with FAT16 or FAT32. Larger
Resistor Colour Codes
o
o
o
o
o
o
o
No.
1
3
1
3
1
1
30 Silicon Chip
Value
27kΩ
10kΩ
8.2kΩ
82Ω
47Ω
10Ω
4-Band Code (1%)
red violet orange brown
brown black orange brown
grey red red brown
grey red black brown
yellow violet black brown
brown black black brown
5-Band Code (1%)
red violet black red brown
brown black black red brown
grey red black brown brown
grey red black gold brown
yellow violet black gold brown
brown black black gold brown
siliconchip.com.au
device is correctly positioned. In particular, when fitting IC2, take care to
ensure that you identify the faint dot
marking pin 1 of the package.
Once the five SMDs are in place,
continue by fitting the remaining parts,
starting with the low-profile components (resistors, etc) and then moving
on to the taller components. Crystal
(X1) should be installed sitting about
2mm above the PCB, so that its metal
case doesn’t short against the solder
pads underneath. This can be easily
achieved by pushing the crystal down
onto a thick cardboard spacer which
is then removed after the leads have
been soldered.
Note though that the PCBs supplied
by SILICON CHIP should have a solder
mask layer over these pads on the top
of the board, so in this case the crystal
can be pushed all the way down.
A 28-pin DIL socket is used for
microcontroller IC1. Be sure to install
it with its notched end positioned as
shown on Fig.6.
This close-up view
shows how the
UP501 GPS module
and the three LEDs
are mounted. The
LEDs must be 20mm
proud of the PCB so
that they protrude
through the case lid.
cards may also work but we haven’t
tested them. However, we expect that
larger cards will work if reformatted
using the FAT32 file system.
Typically, a track that is recorded
once a second will require about
2MB of storage per 1000km travelled,
although this can vary considerably
depending on your driving patterns.
These days, an 8GB SD card can be
as cheap as $10. So, using 8GB as the
benchmark, you will be able to record
all three data formats at the rate of once
a second for over 1,000,000km. Obviously, storage capacity is not an issue!
Construction
The GPS Tracker is built on a double-sided PCB coded 05112131 and
measuring 137mm x 68.5mm. Fig.6
shows the parts layout.
Most of the parts are through-hole
devices, so the assembly is fairly
straightforward. However, voltage
siliconchip.com.au
Fitting the SD card socket
regulator IC2 and the four 10µF capacitors are surface mount devices (SMDs)
and these parts must be fitted first.
To mount each SMD, first apply
plenty of liquid flux to its PCB pads.
That done, place the component in
position and hold it down with tweezers or a matchstick while you put
some solder on the tip of your iron and
tack-solder one pin (or end). Adjust its
position by remelting the solder and
nudging it slightly if necessary, then
solder the remaining pin(s).
Finally, return to the original pin
and add more solder, to ensure it is
soldered correctly. Don’t worry if you
get a solder bridge between two pins
when soldering IC2. The bridge can
be easily removed after the device has
been fitted using solder wick.
Note that, for performance reasons,
the components around the voltage
regulator are closely packed. Check
Fig.6 carefully to ensure that each
Another part that needs special
treatment is the SD card socket which
is surface mounted. It has two small
plastic posts on the underside that
mate with matching holes in the PCB
to ensure it is correctly positioned.
In particular, make sure that you
find and solder all the SD card socket’s
solder tabs – there are 16 in total.
Two of these are very close together
on the front lefthand corner of the
socket (viewed from the front) and
both should be soldered to the same
solder pad.
Other parts
As shown in Fig.6, the 4700µF
capacitor is mounted side-on against
the PCB. That means that you have to
bend its leads down by 90° before fitting it, so that they pass down through
the PCB pads. Take care to ensure it is
orientated correctly and place a dob of
hot-melt glue or neutral-cure silicone
under the capacitor before pushing it
down into place. This will ensure that
it is held against the PCB and prevent
it later fracturing its PCB pads due to
vibration (the unit is intended for use
in a vehicle after all).
LEDs1-3 are mounted 20mm proud
of the PCB, so that they later protrude
through their respective front-panel
holes. To set the correct height, cut
a 20mm-wide strip of thin cardboard
November 2013 31
This is the level of detail that you can see in Google Earth. The red line is the
track of the vehicle and in this case you can even see what traffic lane it was
travelling in.
and slide it between the legs of each
LED while you solder it into position.
Make sure the LEDs are all correctly
orientated, ie, with their cathode (K)
leads towards the edge of the PCB.
GPS module
The UP501 GPS module plugs into
a 6-pin header socket which positions
the module over the SD card socket
(see Fig.6 and photos). If you are using this GPS module, simply solder
a 6-pin header onto the module. It’s
subsequently plugged into the socket
on the PCB after the initial testing.
Alternatively, if you are using the
EM-408 GPS module, you need to cut
off one of the connectors from the supplied cable and solder the leads to a
6-pin header as shown in Fig.7. This
header is then later plugged into the
header socket on the PCB.
As discussed earlier, if you are using the EM-408, you can leave out the
super capacitor, diode D4 and the associated 47Ω resistor. However, these
parts should be fitted for the UP501.
A problem with the EM-408 is that
BROWN WIRE
770120
(PATCH ANT)
GLOBALSAT EM-408
GPS MODULE (TOP)
1
EN
2
GND
3
RxD
4
TxD
5
Vin
1 2 3 4 5 6
GPS HEADER SOCKET
Fig.7: if you use the EM-408 GPS module, cut off one connector from the
supplied cable and then solder the cable to a 6-pin header as shown here.
This header is then plugged into the GPS header socket on the PCB.
32 Silicon Chip
there’s no easy method of mounting it
securely. One way around this is to sit
the module (with its integrated aerial
facing up) on top of a block of soft foam
which in turn sits on top of the PCB.
Then, when the lid is screwed down,
you will have a “squashed sandwich”
arrangement which will push the module against the lid of the box, thereby
holding it in place.
Alternatively, you may be able to secure it to the top of the SD card socket
using double-sided adhesive foam.
Make sure that the adhesive cannot
come into contact with the SD card
when it is inserted though.
The assembled PCB fits neatly into
the specified plastic instrument case
and is secured at all four corners using
short M3 or self-tapping screws. Fig.8
shows the drilling details for the lid
(to accept the three LEDs), plus the
location of the cut-out required in one
of the end panels to accommodate the
SD card.
The USB connector is used only for
debugging, so there’s no need to make a
cut-out for it in the opposite end panel.
However, you will need to drill a hole
in this panel for the power lead.
A vehicle is a high vibration environment so both the microcontroller
and the GPS module must be secured
to prevent them from vibrating loose.
The best way to do this is to cut two
pieces of high-density foam (the type
used to package heavy appliances) and
glue them to the lid, so that they press
down onto these devices when the lid
is later fastened into place.
Testing
Before plugging in microcontroller
IC1 and the GPS module, you should
first test the operation of the power
supply. To do this, connect the PCB
to a 12V supply and check that there
is 3.3V (3.1-3.45V range) between pins
13 (+) and 19 (-) of the IC socket. At the
same time, the red fault LED should
illuminate.
Next, remove the power and check
that the 3.3V rail remains for a few
seconds (this indicates that the 4700µF
capacitor is doing its job). Wait for this
rail to drop to almost 0V, then complete the PCB assembly by inserting
the microcontroller and GPS module
into their sockets.
Using the tracker
Using the GPS Tracker is as simple
as applying power, inserting the SD
siliconchip.com.au
15.5
A
LH END PANEL
A
www.siliconchip.com.au
A
13
ALL DIMENSIONS IN MILLIMETRES
Fig.8: use these two templates to make the SD card slot cut-out in one of the
end panels of the case and to drill the holes for the LEDs in the lid.
card and checking the three indicator
LEDs. The first of these is the power
LED and it only comes on when the
microcontroller has completed its self
test routine, indicating that both the
power supply and the microcontroller
itself are OK.
The second is the GPS signal LED.
This will be off if the GPS module
could not be detected (ie, disconnected), flashing if the module is in
communication but has not got a fix
on sufficient satellites, and steadily
illuminated if it has a fix and a valid
latitude and longitude.
Note that you need to be a little patient when you first power it up, as it
can take up to 15 minutes for the GPS
module to get its first fix. So place the
device somewhere where it has a clear
view of the sky and give it some time.
The third LED (red) is used to signal
a fault. As explained earlier, this LED
will come on if a fault is detected, including a faulty or disconnected GPS
module, a faulty or unprogrammed
microcontroller or a problem with
the SD card. Note that a loss of the
GPS satellite signal is not counted as
a fault because you may be travelling
through a tunnel and the GPS Tracker
will resume recording when you exit
and the signal is restored.
If the red fault LED is illuminated,
you can deduce the general location
of the fault from the other LEDs. For
example, if the fault LED is on and both
siliconchip.com.au
the green LEDs are on, this indicates
that the microcontroller and GPS are
OK and therefore something must be
wrong with the SD card.
Typical problems with the SD card
include not being inserted correctly,
having the write protect switch in the
on position and a corrupted and/or
incorrect file system on the card. Any
of these will light the fault LED.
When the GPS Tracker is running
normally, the fault LED will be off and
the green power and GPS signal LEDs
will be on. Whenever the tracker saves
an item of information to the SD card,
+
GPS Signal
16
11
35
SILICON
CHIP
4
HOLES A: 3.5mm IN DIAMETER
+
13.5
Power
CL
+
13.5
Fault
TOP HALF OF 1 5 0 x 8 0 x 30mm ABS CASE
(VIEWED FROM OUTSIDE)
CUTOUT
FOR SD
CARD:
27 x 4mm
Fig.9 (above): this front-panel artwork can be
copied, laminated and attached to the case
lid using silicone. It’s also available in PDF
format on the SILICON CHIP website.
the power LED will blink momentarily
to give an indication that it is active
and recording your position.
One point to note is that when you
are testing the unit on the bench, you
will find that it does not record any
data. That’s because it will only record
trips that cover more than 100 metres.
This feature was included to avoid
recording trivial vehicle movements,
like moving a car from the driveway
to the garage.
Installation
Installing the GPS Tracker can be
as easy as securing it to the top of the
dashboard using Velcro (or similar
hook & loop material) and using a
cable with a cigarette lighter plug for
power. For a more permanent instal-
The GPS Tracker sitting on the dashboard of a vehicle. It can be held in place
using hook & loop material (eg, Velcro).
November 2013 33
GPS Tracker Parts List
1 PCB, code 05112131, 137mm
x 68.5mm (available from the
SILICON CHIP Online Shop)
1 ABS box 80 x 150 x 30mm
(Altronics H0218, Jaycar HB6034)
1 front panel label, 71 x 85mm
1 UP501 or EM-408 GPS module
1 8MHz crystal (X1)
1 15µH 2.1A choke (L1) (Pana
sonic ELC09D150F or similar)
1 28-pin narrow DIL IC socket
1 tactile pushbutton switch (S1)
1 2-way screw terminal block,
5.08mm pitch (CON1)
1 3-way polarised male header,
PCB-mount, 0.1-inch pitch
(CON2)
1 Type-B USB socket, PCB
mount (CON3) (Jaycar PS0920, Altronics P1307)
1 SD memory card connector
(CON4) (Altronics P5720)
1 6-pin male header, PCB mount,
0.1-inch pitch (CON5, optional)
1 6-pin male header, PCB mount,
0.1-inch pitch (for GPS module)
1 6-pin header socket, PCBmount, 0.1-inch pitch (CON6)
4 M3 x 5mm machine screws (or
No.4 x 6mm self tappers)
2 momentary pushbutton switches
(optional – see text)
Semiconductors
1 PIC32MX250F128B-I/SP micro
controller programmed with
0511213A.hex (IC1) (available
from the SILICON CHIP Online
Shop)
1 Microchip MCP16301T-I/CHY
switching regulator (IC2)
2 3mm green LEDs (LED1,LED2)
1 3mm red LED (LED3)
1 IRF540, STP16NE06 or
PT3055V Mosfet (Q1) (TO-220
Finding The Parts
As usual, a high-quality PCB for the project can be purchased from the SILICON
CHIP Online Shop at www.siliconchip.com.au. A pre-programmed microcontroller (PIC32MX250F128B-I/SP) can also be purchased from the Online Shop
or you can purchase a blank chip direct from Microchip (www.microchipdirect.
com), element14 (Cat. 2097773/2096412) or RS Components (part 768-0836).
Note that if you purchase a blank microcontroller, you will need a programmer (such as a PICkit 3) to install the firmware. The hex file is available on the
SILICON CHIP website.
The voltage regulator (Microchip MCP16301T-I/CHY) can be purchased on-line
from Microchip Direct or RS Components (part number 770-9476P). element14
also have the 15μH choke and 10μF SMD capacitors (Cat Nos 8094799 and
1845759 respectively), as do RS Components (part numbers 540-8538 and
758-8093 respectively).
Finally, the UP501 GPS module can be purchased from either RS Components
(part 716-5283) or Element14 (part 2113837). If you prefer the EM-408 module, it
can be purchased from Altronics (Cat. K-1131) and from many online parts shops.
lation, it could be placed on the rear
parcel shelf, in the glove box or under
the dashboard and permanently wired
to the vehicle’s ignition supply (ie, the
12V supply that’s available when the
engine is running).
In some locations, such as under the
dashboard, it’s possible that there will
be insufficient signal for the module
to acquire or maintain a reliable satellite fix. To assess this, you can carry
out a simple test. First, place the GPS
Tracker on top of your vehicle with
a clear view of the sky (no trees, tall
34 Silicon Chip
buildings, etc) and leave it for half an
hour or so to get a solid fix and charge
the super-capacitor.
That done, remove the power,
swiftly place it in its intended location
and reconnect the power. If the signal
level is excellent, the GPS module
should regain a fix (indicated by a solid
green GPS LED) within 10 seconds. If
the signal is marginal, it might take
up to a minute or more with the LED
blinking before a fix is found. Anything
between these two is an indication of
the signal strength.
package)
1 1N4745 16V 1W zener diode
(ZD1)
1 1N4004 diode (D1)
2 1N5819 Schottky diodes (D2,D4)
1 1N4148 silicon diode (D3)
Capacitors
1 1F 5V super capacitor, PCB
mount, 5.08mm lead pitch
1 4700µF 25V electrolytic
4 10µF 25V ceramic, SMD 1206
5 100nF monolithic ceramic
2 22pF ceramic
Resistors (0.25W 1%)
1 27kΩ
3 82Ω
3 10kΩ
1 47Ω
1 8.2kΩ
1 10Ω 1W
Note: a kit of parts for this project
will be available from Jaycar, Cat.
KC5525.
If the signal level is inadequate, you
could remotely mount the GPS module
in a location with a better signal and
connect it to the PCB using a 6-core
cable up to 2m long. Note that the
aerial is on the top of the GPS module
and this needs to be aimed straight up
at the sky for best reception (ie, the
module should be horizontal).
If you are using the EM-408, you can
go further and purchase an external
antenna with an MMCX connector
and plug it into the module. These are
available cheaply on eBay and other
on-line sources and they will provide
a strong signal, even in adverse situations. They are also waterproof and
have a magnetic base, so the antenna
can be mounted externally on the
vehicle with a good view of the sky.
If you are using the two optional inputs (POI and NEW TRACK), then you
will have to add momentary pushbutton switches to short them to ground.
The maximum voltage on these inputs
is 3.3V so don’t connect them to the
vehicle’s 12V system (note: if these
switches are mounted remotely from
the case. it may be necessary to connect them using shielded cable to
prevent glitches).
Alternatively, the NEW TRACK input can be connected to the vehicle’s
ignition circuit in order to automatically create a new track each time the
siliconchip.com.au
ignition is switched off (only necessary if the unit’s power supply is not
switched with the ignition). This
involves connecting a diode between
CON2 and the ignition line, with the
diode’s anode going to CON2. This
pulls the NEW TRACK input low each
time the ignition is switched off but
prevents 12V from being applied to
this input (which would damage it).
Fault finding
If you have a problem with your GPS
Tracker, the first thing to do is check
the indicator LEDs. If no LEDs are illuminated it indicates a power supply
problem and you should check the
input supply for 12V and the regulator
output for 3.3V.
If the red fault LED is on but no other
LEDs are illuminated, this indicates
that the microcontroller has a problem.
Most of the time, this will be because
it has been inserted the wrong way
around. If so, reverse it and pray that
it survived. Another possibility is the
10µF capacitor connected to pin 20
of the microcontroller. It must be a
low-ESR ceramic device; anything
else could prevent the microcontroller
from starting up.
If the GPS signal LED does not come
on at all, it indicates that the GPS
module is not communicating. This
could be because it is not plugged in
correctly, the super-capacitor is missing, it is configured for the wrong baud
rate or it is faulty (unlikely).
If you suspect the module, use the
USB connector to connect the GPS
Tracker to a desktop computer. For
Windows, you need to install the
SILICON CHIP USB Serial Port Driver
(available on the SILICON CHIP website)
but this isn’t necessary for Mac and
Linux computers which have built-in
drivers. The installation instructions
are included with the driver.
Next, use a terminal emulator to
open the virtual serial port over USB,
as created by the GPS Tracker on your
computer. When you do, you should
see the NMEA data stream as it is
produced by the GPS module. There
are many free applications that you
can download that can use this data
to diagnose your module. If you are
a 4WD off-road enthusiast you could
connect the tracker to a laptop via USB
and use an application like ExploreOz
which will use the NMEA data stream
to pinpoint your position on a map.
You can also use this facility to
siliconchip.com.au
This view shows a week long camping trip as recorded by the GPS Tracker. If
you are on a long tour, you can use Google Earth to aggregate many individual
tracks over many days to provide a “high-level” view of your progress across
the surface of the earth.
send commands to the module but
you should avoid changing its baud
rate as that parameter will be stored
in its internal memory and will be recalled on power up. That could make
it impossible to communicate with
your module, even after the power has
been cycled.
If the NMEA data is missing and
everything else is OK (including the
supply rail to the module), then the
module is probably faulty.
Firmware updates
For firmware updates, you should
check the author’s website (http://
geoffg.net/tracker.html). To load a new
firmware image, hold down the BOOTLOAD button while applying power to
the GPS Tracker. The power LED will
then flash slowly, indicating that the
unit is in bootload mode.
Next, copy the new firmware file
(it must be called TRACKER.HEX) to
the root directory of an SD card and
insert it into the SD card socket. The
power LED will then flash rapidly as
the image is read from the card and
programmed into the microcontroller’s
flash memory. The whole process only
takes about 10 seconds and when
it is finished, the GPS Tracker will
automatically start running the new
firmware.
If an error occurs, the power LED
will resume its slow flash and the
red fault LED will come on. Possible
causes include: (1) a missing or incorrectly named hex file, (2) a hex file that
is corrupted in some way and (3) a
marginal or noisy power supply. After
you have identified and corrected the
issue, you can run through the bootload process again.
So, there you have it – a versatile
gadget that can record a lifetime’s
worth of travelling. Where are you
SC
going to go with it?
November 2013 35
By NICHOLAS VINEN
Audio delay
for PA systems
If you have ever been in a hall or concert venue which has
multiple speakers, you will know that intelligibility can be a real
problem. This is caused by the different propagation times of the
sounds from speakers near and far away from you. How do you
fix it? By adding an audio delay. This unit does that by delaying
the audio signal from the microphone by up to 640 milliseconds.
But that’s just the beginning of its capabilities. It is actually a
fully-fledged stereo DSP board with a 32-bit processor running at
80MHz and with appropriate software, is capable of providing
other effects such as echo, reverb and compression.
PA SYSTEMS IN HALLS and larger
venues can often present a problem
with intelligibility, especially if you
are sitting up the back. Picture the
situation in a large church, for example. There will typically be a pair of
large column speakers up the front of
the congregation but they cannot be
36 Silicon Chip
turned up enough so that people up
the back can hear the proceedings. So
another pair of column speakers might
be installed half way along or further
back in the church.
That should mean that people up
the back can now hear what’s going on
but now the sound becomes jumbled
because while the sound from the
speakers close to you may be loud
enough, it is actually being muddied
by the delayed sound from the speakers up the front.
The solution is to delay the sound
coming from the rear speakers and that
is what this project does. In practice,
siliconchip.com.au
C IRCULAR STORAGE B UFFER
(1MBYTE)
IC3: 1MB SRAM (OPTIONAL)
8-BIT DATA BUS, 20-BIT ADDRESS BUS
PARALLEL MASTER PORT (PMP)
PIN 20
LEFT
IN
ADC
OUT
C IRCULAR STORAGE
2
I S
DMA1
DELAY
PIN 19
RIGHT
IN
ADC
IC2 (CODEC )
DAC
OUT
IN
DAC
OUT
PIN 12
LEFT
2
I S
B UFFER (127KB)
65024 x
16-BIT SAMPLES
OUT
IN
DMA2
IC1 (PIC 32 MICRO)
PIN 13
RIGHT
IC2 (CODEC )
Fig.1: the basic concept. The incoming audio signal is fed into the analog-to-digital converter (ADC) of CODEC IC2
and the resulting digital data then fed into a circular recording buffer which is 127kB of the static RAM on a PIC32
microcontroller (IC1). The delayed signal is then picked off from within this buffer and converted back to audio by
IC2’s digital-to-analog converter (DAC) section. SRAM chip IC3 is added if you want a delay of more than 640ms.
if the distance between the front and
rear speakers is more than about 10 or
15 metres, an audio delay can be very
worthwhile.
Of course, this means that you need
two separate PA systems: one for the
rear speakers with the audio delay and
one for the speakers at the front of the
hall, church or whatever.
But what if you have a much larger
hall? In that case, you might need to
break the PA installation into three,
with two sets of audio delays. Guess
what? This project can also cater for
that. In the simple mode, with just one
delay required, it can operate in stereo.
If two audio delays are required, it can
operate with two separate channels,
each with their own delay.
Now some PA systems can have
pretty good fidelity, so we wanted to
produce the audio delay(s) while adding very little distortion and noise to
the signal. We also wanted the delay
unit to be cheap and easy to build.
The solution was to combine an
all-in-one audio CODEC chip (digital
COder/DECoder) with a PIC32 micro
controller that has a digital audio
interface. These two chips, plus a
few support components, give a 24bit, 96kHz stereo analog-to-digital
converter (ADC), a similar digital-toanalog converter (DAC) and enough
siliconchip.com.au
processing power and memory for
quite a long delay.
In fact, with its 128KB of internal
RAM, the PIC32 we have chosen can
provide a delay of up to 640 milliseconds. It also has a Parallel Master Port
(PMP) which can interface directly
with a standard static RAM (SRAM)
chip. This allows us to have provision
for up to 1MB of additional RAM to
be used in case even longer delays are
needed – up to six seconds, in fact.
That could be useful in a very large
venue such as a surf carnival, with
speakers spread along several hundred
metres of beach.
We’re using a sampling rate of 48kHz
and a 16-bit voltage resolution, as this
gives near-optimal performance with
the CODEC chip we are using while
keeping memory storage requirements
modest. The ADC performance is the
limiting factor.
By the way, the author has published
two previous audio delay units but
this one has features lacking in those.
For example, the SportSync from May
2011 can be set for a long delay but it
only has one channel (ie, mono) and
its sound quality is not especially high,
being intended for use with AM radio
sports commentary.
The second previous unit, the Digital
Audio Delay from December 2011, only
has digital audio inputs and outputs
while this unit only has analog inputs
and outputs, so they are suited for different purposes.
Note that this is the first microcontroller-based audio delay we have published that does not require an external
SRAM chip thanks to the large 128KB
internal RAM in the PIC32.
Delay concept
The method of providing an audio
delay is very similar to that employed
in the abovementioned projects and
Fig.1 shows the concept. The signal
from the audio mixer is fed at line level
into the analog-to-digital converter
(ADC) of the CODEC. The digital data
is then fed into a circular recording
buffer which is 127 kilobytes of static
RAM on the PIC32 microcontroller. We
can then pick off the output signal from
anywhere within this buffer.
Depending on the sampling rate
(in this case, 48kHz), the difference
between when the data is written and
read out determines the time delay. Of
course, the delayed data signal must
then be converted back to audio by
the digital-to-analog converter (DAC)
section of the CODEC.
So in essence, only two chips are
required: microcontroller IC1 (the justreleased PIC32MX470F512H) and the
November 2013 37
Features & Specifications
•
•
•
•
•
•
•
•
•
•
Adjustable stereo delay of 0-640ms (6s if optional SRAM chip fitted)
THD+N <0.03% (typically <0.02%), 20Hz-20kHz (20Hz-22kHz bandwidth; see Fig.6)
Signal-to-noise ratio typically >76dB
Optimal input signal range 0.5-2V RMS
Output signal 1V RMS
Input impedance 6kΩ (DC), 4kΩ (20kHz)
7.5-12V DC plugpack supply, current drain 60-80mA
Delay adjustment via internal trimpot or external control knob
Uses the latest PIC32 microcontroller
Future expansion can add extra modes such as echo, reverb and compression
stereo audio CODEC, IC2 (WM8731).
An optional static RAM (SRAM) chip
(IC3)is only fitted if you want a delay of
more than 640 milliseconds (see Fig.3).
Circuit description
Fig.2 shows the circuit with IC1 and
IC2. If you look at the PCB for this project, you will notice that there is provision for many more components than
are used in this circuit. One of those is
IC3, which is shown in Fig.3. All the
other “missing” components will be
featured in future projects which will
employ the same core circuit.
So, referring to the top left-hand
corner of the circuit, the unbalanced
stereo audio signal is applied to
6.35mm jack socket CON1. If a mono
plug is used, the signal will be applied
to the right channel input while the
left channel input will be shorted to
ground.
The left and right channel signals
first pass through RC filters comprising
1kΩ resistors and 1nF capacitors, to
remove ultrasonic and RF components
which would interfere with the ADC’s
operation. The signals then go into
adjustable attenuators which consist of
two 5kΩ trimpots, VR5 & VR6. While
these can be individually adjusted,
normally they would be set to give the
same signal level for both channels.
These attenuators are required
because IC2 runs off 3.3V and thus
it can only handle a signal of up to
about 1V RMS (2.828V peak-to-peak)
before clipping. For input signals
below 1V RMS, VR5 & VR6 are set
at maximum. The attenuated signals
are AC-coupled to IC2’s inputs by 1µF
non-polarised capacitors. In order for
the signal handling to be maximised
and for symmetrical clipping in the
38 Silicon Chip
event of overload, the input signals
are biased to half the supply voltage
of 3.3V, ie 1.65V.
This half-supply DC bias comes
from IC2 and is fed to the line inputs at
pins 19 & 20. This voltage also appears
at pin 16 (VMID) where it is filtered by
a pair of external capacitors for noise
and ripple rejection.
IC2 uses crystal X1 (12MHz) to generate an internal clock which is then
divided down to produce the sampling
rate for both its ADC and DAC. These
dividers are configurable and are controlled by microcontroller IC1.
Normally, a 12.288MHz crystal or
similar would be required to get a
sampling rate of 48kHz (by dividing
by 256) but IC2 has a special “USB
mode” designed to operate with a
12MHz clock, as used for USB communications. So we use a 12MHz crystal
which is easier to get.
IC2 continuously samples the two
analog input signals at pins 20 & 19
and converts the voltage levels at
these pins to one of 65,536 possible
values (216) at 20.8μs intervals. These
values are serially streamed out in
digital format from pin 6. Pins 2, 3 &
5 provide the clock signals required to
interpret this data. Respectively, these
are the master clock (MCLK, 12MHz),
bit clock (BCLK, 3.072MHz = 48kHz x
2 x 32 bits) and left/right sample clock
(LRCK, 48kHz).
The master clock is normally used
to synchronise multiple digital audio
devices in a system. In this case, we’re
simply using it as a reference clock for
IC1, as it has a more precise frequency
than IC1’s internal oscillator.
The bit clock (BCLK) is at 64 times
the sampling rate because the audio
data is padded to 32 bits per channel.
We’re only using 16 bits per channel
so half the time, this output will be
zero (low) but the CODEC can be configured for 24-bit operation too, hence
the higher clock rate. This clock is
used by the micro to determine when
a new data bit appears at the ADCDAT
output.
The left/right sample clock indicates the start of a new value being
transmitted on ADCDAT, as well as
allowing the micro to determine which
channel this value is for (low = right,
high = left). Since this changes twice
for each sample, the frequency of this
signal equals that of the sampling rate,
ie, 48kHz.
After receiving this data and delaying it for the appropriate amount of
time, IC1 sends it back verbatim to
IC2’s pin 4, the DAC input data pin.
The same clocks (ie, BCLK and LRCK)
are used to time this data and thus
the DAC and ADC sampling rates are
locked together.
IC2’s internal DAC then converts
the received data to voltages on pins
12 & 13 (LOUT and ROUT respectively). These signals are AC-coupled
using 1µF capacitors and DC-biased
to ground using 47kΩ resistors. The
100Ω series resistors isolate any cable
or load capacitance from IC2’s internal
op amp buffers.
From there, the signals then pass
to the output at 6.35mm jack socket
CON2. As explained, IC2 runs off 3.3V
so the maximum output signal level
is limited to around 1V RMS (2.828V
peak-to-peak). This is sufficient to
drive virtually any amplifier or mixer.
Note that the WM8731 codec has a
“pass-through” mode whereby a direct
analog connection is made from pin 20
(LLINEIN) to the analog buffer feeding
pin 12 (LOUT) and similarly, from pin
19 (RLINEIN) to pin 13 (ROUT). We
take advantage of this if the delay pot
is set at minimum; in this case, there
is essentially no delay and the distortion and noise from the unit drop too.
Microcontroller
As noted above, we chose the
PIC32MX470F512H for a number of
reasons. It is one of the latest PIC32
chips and as such it has two enhanced
SPI peripherals which directly support all the common digital audio
formats, including I2S, left-justified,
right-justified and DSP modes. The
WM8731 CODEC supports all these
modes and we are using left-justified
siliconchip.com.au
4.7Ω
2x
100 µF
1k
1000 µF
2x
100nF
1nF
VR5
5k
MMC
1 µF MMC
20
1 µF MMC
19
1k
CON1
18
17
1nF
25
VR6
5k
26
7
6
3
2
X1
12MHz
MMC
14
HPVdd AVdd
LLINEIN
33pF
10k
DBVdd DCVdd
21
MODE
LHPOUT
LOUT
MICIN
9
100Ω
1 µF MMC
12
10
XTI/MCLK
XTO
1 µF MMC
ROUT
DACLRC
CODEC
ADCLRC
DACDAT
ADCDAT
SCLK
BCLK
SDIN
CSB
CLKOUT
VMID HPGND AGND DGND
15
11
OUTPUT
100Ω
RHPOUT
IC2
WM8731
13
MICBIAS
16
33pF
+3.3V
2x
100 µF
27
1
RLINEIN
FB2
ANALOG
GND
2x
100nF
FB1
8
INPUT
+3.3V
CON2
5
47k
4
47k
24
23
22
28
100nF
22 µF
MMC
DIGITAL
GND
L1 100 µH
+3.3V
+3.3V
4x
100nF
100nF
19
DELAY 1
(VR3)
VR1
10k
(VR4)
VR2
10k
39
40
50
51
42
55
54
48
53
52
21
49
POT1
AUX4
MCS
AUX1
RD
WR
(OPTIONAL)
DELAY 2
POT2
11
33
34
36
37
VBUSON
USBID
VBUS
D–
D+
35
60
61
62
63
64
1
2
3
D7
D6
D5
D4
D3
D2
D1
D0
100nF
56
10 µF
26
10
AVdd
Vdd
CLKI/RC12
CLKO/RC15
SCK1/RD2
RPD3/RD3
RD8
RD7
RD6
RC14
PMRD/RD5
PMWR/RD4
AN8/RB8
AN24/RD1
VBUSON
USBID
VBUS
D–
D+
VUSB3V3
PMD0/RE0
PMD1/RE1
PMD2/RE2
PMD3/RE3
PMD4/RE4
PMD5/RE5
PMD6/RE6
PMD7/RE7
Vcap
AVss
Vdd
10k
57
38
Vdd
Vdd
MCLR
RF1
PGED2
PGEC2
RD0
RC13
RF0/RPF0
RD9/RPD9
RB4
RB3
RB2
RB1
IC1
PIC32MX470PIC3 2 MX470- RB9/PMA7
RB10/PMA13
F512H
RB11/PMA12
RB12/PMA11
RB13/PMA10
RB14/PMA1
RB15/PMA0
RD11/PMA14
RD10/PMA15
RF5/PMA8
RF4/PMA9
RB0/PMA6
RG9/PMA2
RG8/PMA3
RG7/PMA4
RG6/PMA5
Vss
Vss
Vss
20
9
25
7
1
2
59
18
17
46
47
58
43
12
13
14
15
22
23
24
27
28
29
30
45
44
32
31
16
8
6
5
4
3
7.5 – 12V
DC INPUT
K
V+
D1 1N4004
A
K
IN
LED1
5
PGED
PGEC
Fig.2: the basic Stereo Audio
Delay circuit. The incoming
stereo analog signal at
CON1 is digitised by CODEC
IC2 and then passed over
a digital bus to IC1 which
stores it in its 128KB internal
SRAM. This data is later sent
back across the same digital
audio bus to IC2, where the
DAC converts it back into a
pair of analog signals which
are fed to the output (CON2)
41
A
OUT
ADJ
10k
POWER
4
REG1 LM317
3.3Ω
S1
CON3
PGED
PGEC
CON7
A19
A18
A17
A16
A15
A14
A13
A12
A11
A10
A9
A8
A7
A6
A5
A4
A3
A2
A1
A0
D2 1N4004
POWER
A
K
120Ω
LED1
A
1000 µF
λ
+3.3V
D3
1N4004
200Ω
100 µF
K
A
100 µF
K
SC
2013
AUDIO DELAY FOR PA SYSTEMS
siliconchip.com.au
ICSP
SKT
LM317T
1N4004
A
K
OUT
ADJ
OUT
IN
November 2013 39
+3.3V
100 µF
100nF
100nF
11
18
19
20
21
22
A19
A18
A17
A16
A15
A19
A18
A17
A16
A15
23
A14
24
A13
25
A12
26
A11
27
A10
28
A9
39
A8
42
A7
43
A6
44
A5
1
A4
2
A3
3
A2
4
A1
5
A0
A14
A13
A12
A11
A10
A9
A8
A7
A6
A5
A4
A3
A2
A1
A0
Vdd
33
Vdd
IC3
R1LV0808ASB
R1LV0
8 0 8 ASB
GND
12
GND
34
40
6
CS1
41
OE
17
WE
38
NC
37
NC
30
NC
29
NC
16
NC
15
NC
8
NC
7
NC
36
DQ 7
35
DQ 6
32
DQ 5
31
DQ4
14
DQ 3
13
DQ 2
10
DQ 1
9
DQ 0
CS2
MCS
RD
WR
D7
D6
D5
D4
D3
D2
D1
D0
OPTIONAL MEMORY EXPANSION
Fig.3: adding a Renesas R1LV0808ASB 1MByte SRAM chip allows the delay
to be increased from a maximum of 640ms up to a maximum of six seconds.
It runs from the same 3.3V supply as IC1 and is driven by the Parallel
Master Port (PMP) memory interface in the PIC32.
mode as this allows us to set up the
SPI peripheral to ignore the 16 trailing
zeros for each sample.
This PIC32 chip also has four very
flexible DMA (direct memory access)
units. These are used to copy data between other peripherals and/or RAM
simultaneously while the processor is
busy doing something else.
In fact, they are so flexible that for
a simple stereo delay, we just need
to set up two DMA channels, one to
read data from the CODEC and place it
into a RAM buffer and another to read
from a different location in that RAM
buffer and send it back to the CODEC.
The CPU can then go into idle mode
while the DMA and SPI units do all
the actual work! The processor core
only needs to wake up periodically to
check if the delay has been changed via
the adjustment pot (using an interrupt
request [IRQ]) and if necessary, adjust
the DMA memory pointers to suit.
The main delay adjustment pot is
wired to analog input pin 21 of IC1
(AN8). Normally, this is a multi-turn
trimpot so that the delay can be preset
but in some cases, it may be desirable to
have an externally accessible knob and
so 9mm pot VR3 can be fitted instead.
Provision has also been made for a
40 Silicon Chip
second delay adjustment pot (VR2 or
VR4). This allows the unit to provide
two separate delays of the same mono
signal and the delays can be set independently. This could be useful for
a PA system where the speakers are
placed far apart.
IC1 can detect whether VR2 or VR4 is
installed since it has weak pull-up and
pull-down current sources/sinks on
every I/O pin which can be individually enabled or disabled (+250/-50µA).
IC1 turns on the pull-up and pull-down
currents alternately and measures the
change in voltage on that pin.
Without VR2/VR4, the voltage difference will be nearly the supply voltage, ie, 3.3V. If either pot is installed,
the change will be much less and so
the unit knows to operate in dual mono
delay mode.
The MCLK signal from IC2 goes
to pin 39 of IC1, which is the clock
input (OSCI), while the digital audio
data (BCLK, DACDAT, DACLRC &
ADCDAT) connects to pins which are
routed to IC1’s internal SPI/digital audio peripheral #1. This requires the bit
clock to be connected to pin 50 but the
other signals can go to one of several
pins and are routed via its “Peripheral
Pin Select” digital multiplexer.
The rest of the components surrounding the microcontroller are various power supply bypass capacitors,
including a 10µF capacitor at pin 56
(VCAP) which is required to filter the
2.5V core supply. This is derived from
the 3.3V rail by a low-dropout regulator within IC1. There is also provision
for CON7 which is a 5-pin in-circuit
programming header (ICSP), with a
10kΩ pull-up resistor for MCLR-bar
(pin 7) to prevent spurious resets.
IC1 has a separate analog supply
pin (pin 19, AVdd) for its ADC and a
100µH axial inductor is used to filter
this supply. This ADC is used to sense
the positions of VR1-VR4 by measuring the voltage at their wiper(s).
At the time of writing, the PIC32MX470 is so new that it is only
available as engineering samples but
production chips should be available
by the time you read this. As usual,
pre-programmed chips will be available from the SILICON CHIP Online
Shop.
Optional memory expansion
Virtually all of IC1’s 128KB internal
RAM is dedicated for use as a delay
buffer and should be sufficient for most
applications. But if a longer delay is required, IC3 can be fitted as mentioned
above (see Fig.3). This is a Renesas
R1LV0808ASB 1MByte SRAM chip.
It runs from the same 3.3V supply as
IC1 and its memory is arranged as 8
bits x 1048576 (220). This is driven by
the Parallel Master Port (PMP) memory
interface in the PIC32.
The PMP on this PIC32 has 16 address lines (PMA0-15), eight data lines
(PMD0-7) and read/write strobe pins
PMRD/PMWR. These are connected
to IC3’s A0-15 address lines (in no
particular order), DQ0-7 bidirectional
data lines, OE-bar (output enable) and
WE-bar (write enable) respectively.
The PMP can be driven by one or
more DMA channels to allow copying
between internal and external RAM
while the processor is otherwise occupied.
Since a 1MB 8-bit SRAM requires 20
address lines and IC1 only has 16, the
other four are driven by GPIO (generalpurpose input/output) pins 12-15
(RB1-RB4). Thus, the Parallel Master
Port can read or write blocks of 64KB
of memory (216), with the four GPIO
pins selecting one of 16 different 64KB
blocks to access at any given time.
Besides the power supply pins
siliconchip.com.au
Parts List
1 double-sided PCB, coded
01110131, 148 x 80mm
1 ABS plastic instrument case,
155 x 86 x 30mm (Altronics
H0377)
1 set front and rear panel labels
4 No.4 x 6mm self-tapping screws
1 12MHz HC-49 crystal (X1)
1 100µH axial RF inductor (L1)
1 10kΩ multi-turn vertical trimpot
(VR1) OR 1 x 10kΩ 9mm
horizontal potentiometer (VR3)
2 5kΩ horizontal mini trimpots
(VR5,VR6)
2 6.35mm PCB-mount stereo
switched jack sockets
(CON1,CON2) (Jaycar PS0195,
Altronics P0099 or P0073)
1 5-way pin header, 2.54mm pitch
(CON7)
1 PCB-mount SPDT right-angle
toggle switch (Altronics S1320)
1 DC plugpack, 7.5-12V, 100mA+
2 4mm ferrite suppression beads
(which are bypassed with one electrolytic and two ceramic capacitors),
the only remaining pins on IC3 are
two chip select lines, CS1-bar and
CS2. With CS2 permanently tied to
+3.3V, CS1-bar controls whether IC3’s
interface is active and this is driven by
GPIO pin 54 (RD6) of IC1 (active-low).
IC1 can detect whether IC3 is present simply by attempting to use it.
With weak internal pull-downs enabled on the data bus, it will simply
read zeros if IC3 is absent so we just
need to do a test write to verify that it
is connected and operating normally.
If so, the delay adjustment range is set
as 0-6s rather than 0-645ms.
Note that when using a RAM chip
such as this, the order in which the
data and address lines are connected
doesn’t matter. All that really matters
is that when you write data to a particular address and then read that same
address later (ie, all the address lines
are in the same state), you get the same
data back. Any jumbling of the address
or data lines in a write operation is
automatically reversed during a read.
This is in contrast to DRAM (dynamic RAM), where the memory is broken
up into rows and columns, and it’s
much faster to access data sequentially
than at random. SRAM is more akin
to a large register file and in general,
siliconchip.com.au
1 PCB-mount switched DC socket
to suit plugpack
1 M3 x 6mm machine screw and
nut
Semiconductors
1 PIC32MX470F512H-I/PT 32-bit
microcontroller programmed
with 0111013A.hex (IC1)
(available from SILICON CHIP
Online Shop)
1 WM8731SEDS or
TLV320AIC23BIPW 24-bit
96kHz stereo CODEC (IC2)
(element14 1776264)
1 LM317T adjustable regulator
(REG1)
1 3mm blue LED (LED1)
3 1N4004 diodes (D1-D3)
Capacitors
2 1000µF 25V electrolytic
6 100µF 16V electrolytic
1 22µF 16V electrolytic
performance is identical regardless of
the address pattern used during read
or write operations.
Power supply
Toggle switch S1 switches power,
while diode D1 provides reverse polarity protection. A 3.3Ω resistor limits
the inrush current and REG1 provides
a regulated output of 3.15-3.55V
(nominally 3.35V), programmed with
the 120Ω and 200Ω resistors. Diodes
D2 & D3 protect REG1 against its input being suddenly shorted (however
unlikely that is), while the capacitor at
D3’s anode improves high-frequency
supply ripple rejection.
Blue LED1 is the power indicator
and its current-limiting resistor is used
to run it at 0.4-0.8mA, depending on
the incoming supply voltage.
As well as the aforementioned
supply bypass capacitors for microcontroller IC1 and optional SRAM
IC3, there are also a number of bypass
capacitors for IC2. Each of its various supply pins has a 100nF ceramic
and 100µF electrolytic capacitor to
ground. There is also a low-pass filter
for its analog supply pins, to reduce
the amount of supply noise that might
be coupled from the digital circuitry.
This is necessary to get good analog
performance, especially for the ADC.
1 10µF 6.3V 0805 SMD ceramic
4 1µF 50V monolithic ceramic
11 100nF 6.3V 0805 SMD ceramic
2 1nF MKT
2 33pF ceramic disc
Resistors (0.25W, 1%)
2 47kΩ
1 120Ω
3 10kΩ
2 100Ω
2 1kΩ
1 4.7Ω 0.5W 5%
1 200Ω
1 3.3Ω 0.5W 5%
Extra parts for longer delay
1 R1LV0808ASB-5SI 8MBit
3.3V SRAM (IC3) (element14
2068153)
1 100µF 16V electrolytic capacitor
2 100nF 6.3V 0805 SMD ceramic
capacitors
Extra parts for dual mono delay
1 10kΩ multi-turn vertical trimpot
(VR2) OR 1 x 10kΩ 9mm
horizontal potentiometer (VR4)
This filter consists of a 4.7Ω resistor with a ferrite bead over one of its
leads, in series between the digital
and analog +3.3V supplies, with a
1000µF filter capacitor for the analog
supply. There is also a ferrite bead on
the wire connecting the analog and
digital grounds together.
Software
While the software to implement the
delay function is not overly complex,
there is still quite a bit going on. As
usual, the source code will be available for download from the SILICON
CHIP website (free for subscribers, or
for a small fee).
Most of the complexity resides
in the “drivers” which must stream
digital data between the microcontroller and CODEC and between the
microcontroller’s internal RAM and
the external SRAM chip. Circular buffering is used to allow for continuous
recording and playback – for details,
see the article on the SportSync Audio
Delay Module (May 2011).
Construction
All the parts mount on a doublesided PCB coded 01110131 and measuring 148 x 80mm. This fits into a
snap-together ABS plastic instrument
case measuring 155 x 86 x 30mm.
November 2013 41
22 µF
100nF
100nF
IC1
1nF
D2
100nF
+
1nF
PIC32MX470F
1
+
4004
100 µF
1000 µF
+
100 µF
10 µF
100nF
CON3 DC
7.5–12V
1k
INPUT
VR5
5k
D1
4004
120Ω
200Ω
1k
CON1
4004
10k
3.3Ω
CON7
ICSP D3
100 µH
33pF
REG1
LM317
5k
VR6
100nF
IC2
WM8731L
47k
47k
100Ω
100Ω
OUTPUT
100 µF
POWER
100nF
L1
100nF
100nF
2x
1 µF
33pF
S1
+
+
+
1000 µF
CON2
100nF
100 µF
+
X1
100 µF
K A
1
4.7Ω
FB2
100 µF
+
100nF
100 µF+
FB1
+ 100nF
10k
01110131
Stereo Audio Delay/
DSP Board 24bit/96kHz
10k
VR1 VR2
LED1
POWER
IC3
R1LV0808ASB
DELAY 2
DELAY 1
100nF
VR4
1 µF
1 µF
VR3
SILICON
CHIP
© 2013
NOTE: PARTS LABELLED IN RED ARE OPTIONAL – SEE TEXT
Fig.4: follow this parts layout diagram to build the PCB, starting with the SMD ICs and the SMD capacitors. The parts
labelled in red are optional. Install SRAM chip IC3 only if you need a delay that’s longer than 640ms and install VR2
(or VR4) if you want a dual channel delay unit with independently adjustable delays.
Fig.4 shows the parts layout on the
PCB. Don’t worry about the unpopulated pads; as stated above, they are
there to accept extra circuitry to be
described in the future.
Start the assembly by fitting the
SMD ICs. IC1 and IC2 are required
while IC3 (the SRAM chip) is optional.
They are each fitted in more or less
the same manner, as described below.
Note that IC1 and IC2 have very closely
spaced pins (about 0.5mm apart) but
if you are careful, it’s possible to hand
solder these parts reliably.
Begin by placing the IC to be installed alongside its pads and identify
pin 1. In each case, there should be a
small dot or depression in one corner
(you may need to view the part under
a magnifying lens and a strong light
to spot it). This must line up with the
dot and pin 1 marking on the overlay
diagram and this should also be shown
on the PCB silkscreen printing.
Check that the part is the right
way around, then apply a very small
amount of solder to one of the corner
pads. If you are right-handed, it’s
easiest to start with the top pad on the
righthand side. If you are left-handed,
start with the top pad on the left side.
Avoid getting any solder on the adjacent pad.
That done, pick up the IC with a
fine-tipped pair of angled tweezers
42 Silicon Chip
and while heating the solder pad,
gently slide it into place. Don’t take
too long doing this; if you heat the pad
too much it could lift so after a few
seconds, if it isn’t in place, lift off and
wait for the PCB to cool down before
trying again. Once you have placed
it, check the part’s alignment under a
magnification lamp or similar. All the
pins must be accurately centred over
their respective pads.
If they aren’t, don’t panic; it’s just a
matter of re-melting the solder on that
one joint and carefully nudging the IC
in the right direction. You might get it
right first time or it may take several attempts to get it in place, the goal being
to eventually get it properly aligned
without spreading solder onto any
other pins or pads and without heating
the PCB or IC enough to damage them.
If you do get some solder on the
adjacent pin, it’s still possible to adjust
the position but you will now need to
heat both pins to get it to move. Take
care though, because if three or more
pins end up with solder on them, you
will likely need to remove the part,
clean up the pads using solder wick
and then start again.
Once the part is in place, solder the
diagonally opposite pin, then re-check
the alignment under magnification as
it may have moved slightly. If it has,
you can reheat this second pad and
gently twist the IC back into alignment. Once you’re happy, solder the
rest of the pins but don’t worry too
much about bridging them with solder (it’s almost impossible to avoid).
Remember to refresh that first pin you
soldered.
Once all the pins have been soldered, spread a thin layer of flux paste
along all the pins and gently press
down on them with solder wick to suck
up the excess solder. If done correctly,
this will leave you with neatly soldered pins and no solder bridges. Go
over all the pins once with the solder
wick, then check under a magnifier
for any remaining bridges. If there are
any, add a dab of flux paste, then go
back over them with the solder wick.
Once that IC is in place, you can
repeat the above procedure until all
the SMD ICs have been fitted.
By the way, rather than hand-solder
these parts, you could use a home reflow oven (as described in SILICON CHIP
magazine in March 2008). However,
we realise that most constructors won’t
have such a set-up and hand soldering is quite straightforward provided
you follow the above procedure and
have a good magnifying lamp and a
fine-tipped soldering iron.
Once all the ICs are in place, follow
with the SMD ceramic capacitors, using a similar procedure; ie, add solder
siliconchip.com.au
+3.3V
VR3
(ALT TO
VR1)
POT1
VR4
(ALT TO
VR2)
POT2
REPLACING VR1 & VR2 WITH VR3, VR4
Fig.5: potentiometers VR3 & VR4 can
be installed instead of VR1 & VR2 if
you want the delays to be externally
adjustable (refer to the text for the
various options). Don’t install both
VR1 & VR3 or both VR2 & VR4.
This photo shows the completed PCB without the
optional SRAM chip (IC3) and with just VR1 fitted so
that the unit functions as a basic stereo audio delay.
Capacitor Codes
Value
1μF
1nF
33pF
µF Value IEC Code EIA Code
1.0µF 1u
105
0.001µF 1n
102
NA
33p
33
frustrating trying to re-align capacitors
when this happens.
Take care also not to short any
IC pins when soldering in the SMD
capacitors. They are located close to
the ICs for performance reasons.
Through-hole parts
to one pad, then heat this solder and
slide the part into place before soldering the other pad and refreshing the
initial joint. Be careful not to get the
SMD capacitors mixed up.
In each case, wait about 10 seconds
after soldering the first side of the capacitor before applying solder to the
other side. This is necessary because
the solder joint can remain molten for
quite some time. If you try to solder the
opposite pad too early, the capacitor
will move out of alignment and it’s
Proceed now with the low-profile
components such as the resistors and
diodes. Be sure to slip a ferrite bead
(FB1) over one of the 4.7Ω resistor’s
leads before soldering it in place. It’s
best to check each resistor value with
a DMM before fitting it as the colour
bands can be difficult to read. The diodes are all the same type and all have
their cathode bands facing to the top
or righthand edge of the board.
In the case of FB2, slip the bead over
a resistor lead off-cut and then solder
it to the board as shown in Fig.4. You
can also mount axial inductor L1 at
this time. Follow with REG1; bend its
leads down about 6mm from its body,
feed them through the PCB holes, fasten its tab to the PCB using an M3 x
6mm machine screw & nut and then
solder and trim the leads.
The horizontal trimpots can go
in next, followed by the MKT and
ceramic capacitors (disc and monolithic multilayer) and then pin header
CON7 (not required if you have a preprogrammed microcontroller). That
done, solder DC socket CON3 in place,
followed by either VR1 or VR3 (to externally adjust the delay) but not both.
In addition, you can optionally fit
VR2 or VR4 (but not both). As mentioned earlier, if either VR2 or VR4
is fitted, the unit will operate as two
separate mono delay channels.
Now fit crystal X1 and the electrolytic capacitors, taking care to ensure
that the latter are correctly orientated.
Follow with power switch S1 and the
blue power LED (LED1). This LED
should have its leads bent at right
angles 4mm from the base of the lens
and then soldered so that the centre of
the lens (and thus this short lead section) is 6.5mm above the top surface
of the PCB.
This aligns the centre of the LED
Resistor Colour Codes
o
o
o
o
o
o
o
o
o
siliconchip.com.au
No.
2
3
2
1
1
2
1
1
Value
47kΩ
10kΩ
1kΩ
200Ω
120Ω
100Ω
4.7Ω
3.3Ω
4-Band Code (1%)
yellow violet orange brown
brown black orange brown
brown black red brown
red black brown brown
brown red brown brown
brown black brown brown
yellow violet gold brown
orange orange gold brown
5-Band Code (1%)
yellow violet black red brown
brown black black red brown
brown black black brown brown
red black black black brown
brown red black black brown
brown black black black brown
yellow violet black silver brown
orange orange black silver brown
November 2013 43
1
Audio Delay THD vs Frequency
13/09/13 15:33:36
0.5
0.2
THD+N %
0.1
0.05
0.02
0.01
0.005
0.002
0.001
20
50
100 200
500 1k 2k
Frequency (Hz)
with the centre of the switch. When
bending the LED’s leads, pay attention
to the “A” and “K” markings on the
PCB as the longer (anode) lead must
be soldered to the anode pad. You can
accurately set the height of the LED
by cutting a 6.5mm wide cardboard
spacer and pushing the leads down
onto this.
The assembly can now be completed
by soldering jack sockets CON1 and
CON2 in place. Note that if you are
using the type with six pins, you will
also have to file or cut down the tall,
rounded pieces of plastic just behind
the screw threads (see photos), to prevent them from later fouling the case.
Checking it out
If you purchased a blank PIC32
chip, program it now (or purchase a
programmed chip from the SILICON
CHIP Online Shop). Complete kits will
also come with a programmed chip.
The circuit can be powered from a
PICkit3 programmer at 3.3V. In fact,
the whole unit will operate normally
from this supply so you can test the
5k
Fig.6: this graph
shows that the
delay unit should
have little impact
on sound quality,
even when used
with high-quality PA
system (input signal
level is 1V RMS).
The ‘oscillation’
between 0.01% and
0.02% is due to the
beat products of the
48kHz sampling rate
and the input signal
frequency (this is a
form of aliasing).
10k 20k
audio signal path immediately after
programming the chip.
If you don’t have a PICkit3, you will
need to power the unit from a 7.5-12V
DC plugpack. In this case, connect a
voltmeter across the 3.3Ω resistor next
to D1. Small alligator clip leads (or
other test probe clips) are very useful
for this purpose, as you can switch
the unit on while watching the meter
reading and switch it off immediately
should the voltage across this resistor
rise too high.
Expect a reading in the range of
0.2-0.3V, depending on the exact
resistor value and how you have configured the unit. Much less than 0.2V
indicates that there is an open circuit
somewhere while much more than
0.3V indicates a likely short circuit.
If the reading is outside the expected
range, switch off immediately and
check for faults.
The most likely faults would be one
or more pins on an SMD chip bridged
to an adjacent pin or not properly
soldered to the PCB pad. Other possible faults include incorrect device
orientation (primarily ICs, diodes
and electrolytic capacitors) or poor/
bridged through-hole solder joints.
Assuming all is OK, feed a line level
audio signal into the input and connect
the output to an amplifier. You should
hear clear, undistorted audio with no
delay. You can then adjust the delay
pot setting(s) and check that this operates as expected. A fully clockwise setting will give a delay of either 640ms
(no SRAM fitted) or 6s (SRAM fitted).
If you know what signal level will
be applied to the input when the unit
is in use, you can adjust trimpots VR5
& VR6 to suit now. To do this, feed in
a sinewave of the expected amplitude,
then adjust these pots so that the outputs measure just under 1VAC. Any
higher will lead to clipping and distortion. Ideally, you should calibrate
them separately.
If you aren’t sure of the input signal
amplitude, you can wait until you
get the unit “in the field” to set the
level pots. One method is to turn them
clockwise until clipping and distortion start, then back them off slightly.
However, this does risk setting the
level high enough for slight clipping
to occur which may not always be
obvious. If the input signal is under
1V RMS (0dBu = 0.775V RMS), then
you can simply set them both fully
clockwise.
If all else fails, simply set VR5 & VR6
half-way. The unit can then handle
input signals up to about 2V RMS but
if the signal level is significantly lower
than this, the noise and distortion will
be less than optimal.
Case preparation
The front panel of the case needs
holes for the power switch and LED,
while the rear panel requires holes for
the two jack sockets and the DC power
plug. The front and rear panel artworks
(Fig.7) can be used as drilling tem-
SILICON
CHIP
www.siliconchip.com.au
.
AUDIO OUTPUT
44 Silicon Chip
AUDIO INPUT
www.siliconchip.com.au
+
STEREO AUDIO DELAY
POWER
Fig.7: these two
artworks can be
copied and used as
drilling templates
for the front & rear
panels. They can
also be downloaded
as a PDF file from
the SILICON CHIP
website.
7.5-12V DC
siliconchip.com.au
The PCB is fastened
into the case using four
self-tapping screws
which go into integral
pillars. Note that the
front & rear panels are
normally fitted after
the lid has been fitted.
plates. These can also be downloaded
from the SILICON CHIP website in a
single PDF file (free for subscribers).
It’s simply a matter of printing (or
copying) the labels, then accurately
taping them to the panels, drilling a
pilot hole in the centre of each location
indicated and then enlarging each to
size using a tapered reamer. That done,
remove the templates and de-burr the
holes using a counter-sinking tool or
oversize drill bit. Any adhesive residue can normally be cleaned up with
methylated spirits.
Check that the holes are large
enough by test fitting the panels to the
bare PCB. A new set of panel labels
can then be printed onto photographic
paper, attached to the panels using
silicone adhesive and the holes cut
out using a sharp hobby knife.
The assembly can now be completed
by screwing the PCB to the bottom of
the case using four No.4 x 6mm selftapping screws, then placing the lid
on top and snapping the front and rear
panels on. If you have trouble fitting
siliconchip.com.au
the panels over the connectors, enlarge
the offending holes slightly. Note that
the DC power socket is recessed; most
DC power plugs are long enough to fit
through the rear panel.
Using it
All that’s left is to install the unit in
its intended application and set the
required delay. For PA systems, this
can be a simple trial-and-error process
whereby you incrementally increase
the delay to get the best overall intelligibility at various points in the hall
(or venue).
A similar procedure will be required
where the unit is used to provide two
separate delays.
Once adjusted, you can determine
what the delay is actually set to by
measuring either the frequency or the
duty cycle at pins 4 & 5 of CON7. Even
if the pin header is not fitted, you can
simply “poke” probes into the plated
PCB holes.
A PWM signal is provided at each
of these pins and its frequency in Hz
is equal to the set delay in milliseconds (DC = no delay). The duty cycle
varies from 0-99%, with 99% indicating maximum delay (ie, 0.64s or 6s,
depending on whether IC3 is fitted).
If the unit is set up for dual mono
delays, measure pin 4 to determine the
left channel delay and pin 5 the right
channel delay. Note that the accuracy
of these readings depends on the exact
frequency of crystal X1.
What’s coming
That’s all there is for the delay function. In the next instalment, we’ll show
you how to use the same hardware
for echo or reverb. These functions
are especially useful when used in
conjunction with a microphone (for
vocalists) or an electric guitar.
As such, we’ll show you how to wire
the unit up to a pedal, so that the effect
can be switched on and off easily. We’ll
also show you how to reconfigure the
unit to run from a 5V supply, in case
you want to power it from a computer
SC
USB port or similar.
November 2013 45
CIRCUIT NOTEBOOK
Interesting circuit ideas which we have checked but not built and tested. Contributions will be
paid for at standard rates. All submissions should include full name, address & phone number.
9876543210
C B E
B
C
B
B
Q1,Q2
2x
27k
x
x
2
4
7
10
1
5
K
D3
A
6
9
11
O0
Q3-Q12
CC
4
7
x
O3
10
IC1
1
O5 4017B
5
O6
O8
O9
CP0
MR
CP1
Vss
8
14
6
15
9
13
11
24-hour mode for
Nixie Clock
The popular Nixie Clock presented in the July & August 2007
issues of SILICON CHIP displayed
the time in 12-hour mode but it is
a relatively simple modification to
make it work in 24-hour mode. The
above diagram shows the relevant
part of the circuit and the changes
are high-lighted by the pink lines.
The connections that have to be cut
are shown with a red “X”.
Briefly, it involves changing the
connections to the driver transistor
for the “Hours x 10” digit (ND1) and
22k
100nF
C
Q13-Q18
O0
16
3
2
O1
4
O2
7
O3
O4
E
6x
27k
Vdd
10
IC2
1
O5 4017B
5
O6
O7
O8
O9
O5-9
12
CP0
MR
CP1
Vss
8
14
6
15
9
13
11
changing connections to the 4017B
decade counters IC1 & IC2. These
counters will now count to 24 rather
than 12.
To explain further, the connection
to pin 3 of IC1 needs to be disconnected and then connected to pin 4.
Diode D3 needs to be relocated from
the top of the board to the underside,
with its cathode connected to pin
4 of IC1.
Transistor Q1’s collector is disconnected from the “0” on Nixie ND1
and connected to switch the “2” on
and off.
The track from pin 14 of IC1 to pin
11 of IC2 must also be cut. Pin 14 of
Q16
6
Q17
Q1
7 Q1
Q14
4
Q15
Q1
5 Q1
Q13
Q1
3 Q1
Q12
2
Q10
0
Q11
Q1
1 Q1
Q8
Q9
Q6
Q7
C
B
E
2
O2
O7
B
B
3
x
Q3
9876543210
16
x
ND3
(44 x 27kΩ RESISTORS CONNECT BETWEE
BE
NT1
NE-2
E E
Vdd
O5-9
12
46 Silicon Chip
B
O1
O4
CONT
CO
NT
10x
27k
16
3
C
E
E
E
3
ND2
9876543210
x
C
2
Q1–Q18
2N6517/
MPSA44/MPSA42
(Q1–Q44 A
(Q1–Q
Q5
1
ND1
Q2
330k
1W
68k
1W
Q4
68k
1W
Q1
68k
1W
O0
Vdd
O1
O2
O3
O4
IC3
O5 4017B
O6
O7
CP0
O8
MR
O9
O5-9
12
CP1
Vss
8
14
15
13
IC1 is then connected to pin 12 of
IC2 using insulated wire (note: the
original circuit diagram incorrectly
showed this already being the case).
A few of the 44 resistors that connected between the two boards along
the front face need to have one end
moved to a different pad, as shown
on the overlay section. Four of these
resistors will need heatshrink over
them, to prevent them from shorting
to other resistors that they cross over.
These resistors will also need to be
replaced with new ones as the cut
leads will be too short for relocating.
Dennis Mulheron,
Panania, NSW. ($50)
siliconchip.com.au
REG1 LM7805
100 Ω 1W
17.5V DC
FROM CHARGER
PLUG PACK
470 µF
+5V
OUT
IN
GND
470nF
100 µF
100nF
2.0k
–
+
D1
1N4004
A
5.6Ω
1W
K
LED2
λ K
A
15k
3
3.3k
120Ω
100 µF
4
CHARGING
A
λ
LED1
POWER
K
5
1
Vdd
ADC4/P4 P1/ADC1
P3
IC1
PICAXE
-08M2
P2
Vss
CUT THIS
TRACK!
1k
+
7
22k
SER 2
IN
ICSP
PORT
10k
8
EXISTING
CONTACTS
TO DRILL
(CHANGED FROM 2.2k)
P0
6
–
CAL
TEMP
IC2 LM335Z
PL1
SK1
+
VR1
10k
ADJ
–
D
G
Q1
IPP230N06L3
SK2
12V NiMH DRILL BATTERY
S
LM335Z
IPP230N06L3
LEDS
1N4001
A
K
Intelligent drill
battery charger
This charger was devised after the
battery pack in a cordless drill had
to be replaced after very little use.
The factory charger was very basic
and had no means of detecting “end
of charge” for the NiMH battery
pack. Hence, the existing charger
was modified by incorporating a
PICAXE08M2 microcontroller, IC1.
It’s powered by a 17.5V 400mA
plugpack which provides a fullwave rectified AC voltage of about
24V peak. This charges the battery
pack via a series diode (D1) and 5.6Ω
resistor to give a charging current of
about 280mA, which is roughly the
C/10 rate for the replacement cells.
The PICAXE08M2 senses the
temperature of the battery via an
LM335Z sensor which is like a zener
diode with its reverse breakdown
voltage directly proportional to the
absolute temperature. The reverse
PL2
K
A
–
ADJ
+
breakdown voltage increases at a rate
of 10mV/K, so that at 25°C (298K) its
reverse breakdown voltage is 2.98V.
The LM335Z is biased into reverse
breakdown by the 2.0kΩ resistor and
this voltage is read at pin 6 of IC1.
To sense temperature accurately, the
LM335Z must be in close contact
with one of the batteries in the pack.
I put it in contact with the negative
terminal of one of the cells, with
some thermal heatsink paste to assist with heat transfer. A stiff piece
of insulated wire was soldered to
the negative terminal and used as a
clamp to hold the LM335 in place.
The LM335 connects to the battery
pack via a 3.5mm stereo socket (SK2).
VR1 is used to calibrate the device, as
follows: (1) note the battery temperature on a mercury thermometer; (2)
convert this to absolute temperature
by adding 273 and dividing the result
by 100 (eg, 2.93 for 20°C); and (3)
apply power and adjust VR1 to give
2.93V at pin 6 of IC1.
Issues Getting Dog-Eared?
G
LM7805
D
D
GND
IN
S
GND
OUT
Pin 3 of IC1 monitors the battery
voltage via the associated voltage
divider resistors or, when a battery
is not connected, it will sense the
unloaded charging voltage from the
charger. Because the latter is much
higher than the former, this difference is used by IC1 to detect if a
battery is present or not.
Normally, the battery would
connect to its charger via the same
contacts that it connects to the drill.
I preferred not to connect to the
charger this way but rather to make
fresh flying leads and connect the
charger to the battery via a DC power
connector, PL1 and SK1. This allows
Q1 to be in series with the negative
lead. Q1 is controlled by pin 5 of IC1.
In use, IC1 senses if both a battery
and temperature sensor are connected. It will not allow charging
if the temperature is below 0°C or
above 45°C. During charging, the
temperature of the cells will rise
. . . continued on page 48
Keep your copies safe with our handy binders
Order online from www.siliconchip.com.au or fill in and mail the handy order form in this issue or call
(02) 9939 3295 and quote your credit card number.
siliconchip.com.au
November 2013 47
Circuit Notebook – Continued
Fail-safe starter for Induction Motor Speed Controller
The Induction Motor Speed
Controller (SILICON CHIP, April &
May 2012) can be built to serve two
broadly different purposes. The most
popular has been as a pool pump
controller to reduce overall energy
usage and the more specialised use
has been as a speed controller for
machinery such as lathes.
This latter application involves
the RUN input which is connected
to the GND terminal via a toggle
switch (see page 76, May 2012). If
this switch is closed, the motor runs
and when the switch is off, the motor stops. But if the motor is running
and a blackout occurs, the motor will
restart when power is restored. This
could be dangerous or undesirable
since it could happen at any time.
This fail-safe starter circuit prevents
that from happening.
The circuit is powered from the
7V supply which feeds the cooling
fan and REG1 in the Induction Motor Speed Controller. It runs a 5V
Intelligent drill battery charger –
continued from page 47
only gradually. When the cell is fully
charged, the more rapid temperature rise of the cells is detected by
IC1 which then stops the charging
process.
The temperature is checked every
five minutes and if a temperature
rise of three or more “ADC units” is
detected, charging will stop. This
figure was arrived at empirically and
Peter Clark
e
is this mon
th’s winner
of a $150 g
ift vouche
Hare & Forb r from
es
S1 (NC)
+7V
(CATHODE OF
DIODE D6)
TO RUN
TERMINAL
S2
(NO)
TO GND
TERMINAL
100nF
MMC
A
RELAY 1: 5V DPDT
D1
1N4004
(ALTRONICS S4128B
OR SIMILAR)
K
1N4004
68Ω
0.25W
A
K
Telecom relay with DPDT contacts
(eg, Altronics S-4128B) which has
contacts rated for 2A. The relay is
powered via a 68Ω 0.25W resistor.
The +7V rail is obtained by running a lead to diode D6’s cathode,
while the earth connection can be
made at diode D8’s anode. Make
sure that neither these leads nor any
other part of this fail-safe circuit
can come into contact with the highvoltage circuitry in the Induction
Motor Speed Controller.
In use, normally-off (NO) push-
button switch S2 is pressed to energise the relay and start the motor.
One pair of contacts connects the
RUN terminal to GND while the
other pair provides self-latching for
the relay. If a blackout occurs, every
thing stops and cannot start again
when power restored unless switch
S2 is pressed. To stop operation,
normally-closed (NC) pushbutton
switch S1 is pressed to de-energise
the relay.
Peter Clarke,
Woodcroft, SA.
will depend on the particular charger being used. My charger delivers a
slow charge and so the temperature
rise is not as rapid as would occur
if a fast charger were used. Some
experimentation may be required if
your charger delivers a significantly
different charging current.
Ultimately the choice is a compromise. Set it too high to squeeze in
as much charge as possible and you
risk the temperature rise not being
achieved. This could result in overcharge, as the program will default
to a 10-hour charge time. If set too
low, the cells will not be charged to
the maximum possible but otherwise
no damage will be done to the cell.
Note that this charger should also
be suitable for use with Nicad cells.
The software nimhchargersc.bas
is on the SILICON CHIP website.
Jack Holliday,
Nathan Qld. ($70).
co n tr ib u ti on
MAY THE BEST MAN WIN!
As you can see, we pay $$$ for contributions to Circuit Notebook.
Each month the BEST contribution (at the sole discretion of the editor)
receives a $150 gift voucher from Hare&Forbes Machineryhouse.
That’s yours to spend at Hare&Forbes Machineryhouse as you see fit
- buy some tools you’ve always wanted, or put it towards that big
purchase you’ve never been able to afford!
100% Australian owned Established 1930
“Setting the standard in quality & value”
www.machineryhouse.com.au
48 Silicon Chip
150
$
GIFT VOUCHER
Contribute NOW and WIN!
Email your contribution now to:
editor<at>siliconchip.com.au
or post to PO Box 139, Collaroy NSW
siliconchip.com.au
BIRTHDAY
BONANZA!
NOVEMBER EDITION
Online & in store
Prices valid until 23/11/2013
Digital Wireless Receiver DVR with 7" LCD & Camera Kit
A ready to go wireless security solution with minimal setup steps. Complete with a 7" LCD/DVR combo, and
1 x camera to help you monitor the goings on in your office, retail shop or workshop. Up to 4 cameras can be
used. (available separately QC-3677)
NEW
• Motion trigger recording
• Waterproof, 420TVL camera
DIY Easy
• 100m transmission range
Installation!
QC-3675
Also available:
Digital Wireless Receiver DVR with 1 x IR Camera Kit QC-3676 $149.00
Spare Cameras for QC-3675 and QC-3676
QC-3677 $99.00
$
19900
Economy Network 4 Channel DVR Kit with 4 Cameras
An affordable 4 channel digital video recorder with four colour cameras
suitable for home or office surveillance. Connect to a computer
network to view video remotely from anywhere in the world using a
web browser or Smartphone/iPhone® (via free installed app).
Includes 500GB of storage for up to 300 hours of video.
Professional Laser Distance Meter
with Smartphone App
An advanced professional laser distance meter which
can be paired with a Smartphone to email
measurements with a picture or upload
to the cloud. The unit will measure
distance up to 70m, area, and volume
and will store the last 20 measurements
for easy comparison and referral.
• Digitech LDM app available for
Android and iOS devices
• Requires 2 x AA batteries
• Size: 134(L) x 52(W) x
30(H)mm
QM-1624
Cat III True RMS DMM
with Temperature
Uses 10W LED rechargeable
worklight with a handy metal
clamp for quickly turning a
mobile light into a fixed
position light. Recharge with
the supplied mains or car
cigarette lighter charger.
• 4000 count
• Powered by 1 x 9V
battery (included)
• Size: 138(L) x 68(W) x
37(D)mm
QM-1551
• IP65 rated
• 500 Lumen
• Size: 119(H) x
110(L) x
$
117(D)mm
SL-2791
DUE EARLY NOVEMBER
NEW
$
Party Time at Jaycar
BIRTHDAY BONUS!
Ask for your FREE Jaycar Cooler
Bag when you spend $50 or
more from our Birthday Flyer.
HB-5005
NEW
NEW
GPS Data Logger Kit
Records where your car or boat has travelled over
time. Playback on software such as Google Earth. Kit
supplied with silk-screened PCB, enclosure with label,
pre-programmed PIC, GPS module, and components.
• Records route, time and date onto an SD card
(available separately)
• Records POI at the
touch of a button
• 12VDC powered
KC-5525
NEW
7495
5995
$
14900
DUE END of NOVEMBER
2.1 Speaker Subwoofer Package
Combine our 8" subwoofer (CS-2433)
and a pair of 2.5" cube speakers
(CS-2431). Great for a home
theatre or gaming
NEW
console.
CS-2434
8" Active Subwoofer with
Satellite Output
Incorporates 2 x 15WRMS audio output for
satellite speaker connection for true 2.1 stereo
performance. Housed in a black enclosure.
Enhance movie audio and in-game gun battles.
• 8", 30WRMS
• Size: 350(L) x 260(W) x 315(H)mm
CS-2433
39900
44900
10W Rechargeable
Worklight
A powerful true RMS multimeter that
includes non-contact voltage
testing, backlit LCD,
and a carrying pouch.
$
Features an advanced HDR image sensor allowing the capture of
excellent videos in harsh light without washing out the image.
Includes a 1.44" viewfinder for
setting the perfect angle. Includes
4GB SD card which can capture
up to 30,000 images.
$
20900
NEW
HDR Time Lapse Professional Video Recorder
• 1.44" TFT LCD
• Size: 105(H) x 64(W)
x 45(D)mm
QC-8038
NEW
$
• H.264 video compression
• CMOS, 420TVL camera
• Size: 300(L) x 210(W) x
50(H)mm
QV-3048
$
16900
NEW
$
14900
siliconchip.com.au
To order call 1800 022 888
November 2013 49
www.jaycar.com.au
Savings off original RRP
Test & Measurement
Non-Contact Thermometer with
Temperature Comparison
Professional Wind Speed
Meter/Thermometer
• Temperature: -50˚C - 260˚C (-58˚F -500˚F)
• 20:1 distance to spot ratio
• Size: 170(H) x 125(D) x 67(W)mm
$
QM-7211
• Metres/sec; km/hr; feet/min; miles-per-hour; knots
• Cubic metres/minute; cubic feet/minute
• Air temp, 0-50˚C (0.1˚C resolution)
• Vane impeller ball bearing mounted
• 1m vane probe lead
• High accuracy
QM-1646
An easy way to compare the temperature between
surfaces. Simply point the thermometer at a surface and
press the trigger to set a reference temperature. The device
will produce an audible and visual warning if the temperature
has exceeded or dropped below the reference point.
Capable of measuring wind/airflow parameters at
the same time as monitoring temperature.
NEW
$
11900
Digital Light Meter
Cat III 4000 Count Autoranging DMM
A handy lightmeter for photography, lab work,
architectural, engineering and construction.
Measure incident light in 4 ranges from 0.01 to
50,000 lux. Separate Photo Detector.
An accurate and easy to use autoranging DMM. Select the
parameter required and the meter chooses the appropriate
display range. Features temperature, capacitance, data hold
and auto power off plus a backlit display
for measuring in dark places.
$
95
29
• 4000 count
• Size: 150(H) x 70(W) x 50(D)mm
QM-1327 WAS $34.95
• 12V
• 2000 count
• 188mm long
QM-1587
SAVE $5
$
Digital Storage Oscilliscopes
25MHz Dual Channel
Ideal for the advanced hobby user or
technician and is particularly suited to
audio work. See online for more details.
$
• 145mm colour TFT LCD
• Size: 310(W) x 150(H) x 130(D)mm
QC-1932 WAS $499.00
449
00
SAVE $50
100MHz Dual Channel with 7" Screen
Enhanced performance, professional level test instrument
for the technician, design engineer or
development laboratory. Includes
a carry bag. See online for more details.
$
• 178mm colour TFT LCD
• Size: 340(W) x 150(H) x 110(D)mm
QC-1934 WAS $899.00
84900
SAVE $50
3 in 1 Stud Detector with
Laser Level
Roadies Cable Tester
• 9V battery included
• Size: 180mm
long
$
QP-2288
WAS $49.95
SAVE
• Requires 1 x 9V battery
• Size: 190(L) x 98(W) x 35(H)mm
AA-0405
Simply plug the cable under test
and turn the rotary switch. The
LEDs gives an instant go/no-go
status of each conductor path in
the cable. Suitable for any
technician working with cables.
3995
$
$10
4995
Monitor Your Temperature
Quickly and easily checks body temperature. Great test equipment for the home.
Digital Thermometer
Ear Thermometer
Features a soft flexible tip to measure
temperature in a variety of places.
NEW
$
• Size: 130(L) x 25(W) x 15(D)mm
QM-7274
995
Forehead Thermometer
Simply hold the probe end to the forehead
and within 1 second a temperature
reading will be returned.
• Size: 130(L) x 50(W) x 30(D)mm
QM-7271
50 Silicon Chip
$
29
2 To order call 1800 022 888
A quality, intermediate-level clampmeter
with current ranges up to 400 amps AC
and DC.
99
• 4000 count
$
00
• Data hold,
non-contact
SAVE $20
voltage, relative
measurement
• Autoranging
• Diode test
• Jaw opening 30mm
• Size: 198(H) x 66(W) x 36(D)mm
QM-1563 WAS $119.00
Digital Sound Level Meter
Measures sound levels between 30 to
130dB and can be set for fast or slow
responses. Includes data hold and min/
max functions, as well as tripod mount.
Supplied with carry case, wind sock
and battery.
• 210mm long
QM-1589
$
9900
Automatic Upper Arm
Blood Pressure Monitor
This pressure-cuff unit fits on your upper arm.
It will measure 30-280mm mercury,
and 40-195 pulse.
• Displays date/time,
systolic, diastolic and
pulse rate
• Requires 4 x AA batteries
• Size: 125(L) x 83(W) x 153(H)mm
QM-7261
NEW
$
5995
Measures temperature via the ear
canal - an accurate safe and noninvasive technique.
• Size: 155(L) x 35(D) x 33(W)mm
QM-7272
NEW
NEW
95
4995
400A AC/DC Clampmeter
• USB interface
• Includes 2 x 10:1 probes, EasyScope software and USB cable
Indicates proximity when you are near
a stud via its large LCD and shows a
target graphic when you're spot on.
The unit also features voltage
detection and a built-in laser level.
9900
$
3495
QM-7272
shown
Note: This is not a medical diagnostic
device and is intended to provide indicative readings only.
It should be used in conjunction with advice from a doctor
or other clinical professional.
Also available Pill/Medication Container with Alarm
QM-7237 $12.95
siliconchip.com.au
www.jaycar.com.au
Savings off original RRP. Limited stock on sale items
Tool Kits
Long Bit Screwdriver Set
500W 240V Electric Drill
Comprised of a selection of popular slotted, Phillips, Star
and TRI bits. Packed away neatly inside a handy storage
case. See website for contents.
• 22-piece
TD-2114
$
Suitable a variety of tasks around the house or on
the job. Features a forward/reverse switch, lock
setting, and moulded plastic grip. Will accommodate
bits up to 10mm and includes a handy belt clip.
2995
• Mains powered
• Cable length: 1.8m
• Size: 250(L) x 190H) x 65(D)mm
TD-2493
Gaming Console Tool Kit
Includes the tools required to open modern games
consoles or handhelds to clean or repair them. See
online for a full list of contents.
TD-2109 WAS $29.95
$
95
Automotive Crimp Tool with Connectors
24
• Includes male & female bullet
& spade connectors + eyes
and butt joiners.
TH-1848
Portasol Pro Gas Soldering Tool Kit
• 70W, 24VAC
• Size: 146(L) x 115(W)
x 98(H)mm
TS-1440 WAS $299.00
SAVE $30
Limited stock. HURRY!
ABS Instrument Case
Ideal for professionals to carry
around small sensitive devices
including computer, medical,
or engineering equipment.
• Black
• Lanyard included
• Size: 173(L) x 125(W) x
50(H)mm
HB-6389
NEW
$
1995
DUE EARLY NOVEMBER
LED Headband Magnifier
This magnifying headset leaves both hands
free and can be worn over prescription or
safety glasses. Ideal for jewellery, radio
electronics, & camera repair etc.
A universal relay wiring kit for fitting various 12V
devices to your car. It is a complete "ready to use"
harness with fused battery connections, horn relay, incabin toggle switch, and waterproof 2 pin connection.
• Max current rating: 7A (80W)
SY-4079
NEW
$
2995
siliconchip.com.au
To order call 1800 022 888
$
Waterproof ABS Cases - Black
22900
SAVE $70
ABS Instrument Rolling Case
Waterproof ABS cases for storing or transporting
Ideal for the travelling professional.
Smartphones, radios, delicate electronic devices and more.
• Retractable handle
• Waterproof
• Built-in wheels
• Shockproof
• Size: 530(W) x 355(D) x 225(H)mm
• Lanyard included
HB-6387
HB-6421 $14.95
• Size: 182(L) x
120(W) x 42(H)mm
HB-6241
shown
HB-6423 $19.95
• Size: 182(L) x
120(W) x 75(H)mm
NEW
HB-6425 $24.95
• Size: 655(L) X 482(H) X
495(H)mm
DUE EARLY NOVEMBER
$
29
$
$
17500
FROM
1495
Illuminated Gooseneck Magnifier
95
This handy hobbyist's magnifier has a 2 x main
magnifier lens with 5 x insert lens and 2 LED lights,
all mounted on a flexible arm. Can be free-standing
or clamped to a surface up to 38mm thick.
• Requires 3 x AAA batteries
QM-3532 WAS $29.95
• Adjustable head strap
• Built-in LED work light
• 1.5x, 3x, 8.5x or 10x magnification
• Requires 2 x AAA batteries
QM-3511
Universal Relay Wiring Kit with
Switch
13 95
Precision, Japanese manufactured instrument with
excellent temperature stability and anti-static
characteristics. It has a digital temperature
adjustment from 200 to 480˚C at 65W and a
lightweight soldering pencil. See website or
for full specifications.
9900
ABS Tool Cases
$
Goot Soldering Station
This kit contains a Portasol Pro Piezo Gas Soldering Iron, cleaning sponge
and tray, 2.4mm double flat tip, hot
air blow, hot knife tip, hot air
deflector and flame tip.
$
1995
The tool will cut & strip wire, crimp connectors and
also cut a range of metric bolts. Every car
enthusiast should have one of these.
SAVE $5
• Quality
storage case
TS-1318
WAS $129.00
$
NEW
$
1995
PCB not included
SAVE $10
Resistance Wheel
Great for experiments or selecting the best
resistance for a circuit. Select from 36 values
ranging from 5 ohms to 1M ohms.
• Comes complete with
leads and insulated
alligator clips
• Uses 0.25W resistor
with 5% tolerance
RR-0700
$
2995
50x Magnifier to suit iPhone 4/5® + S3
Simply attach it to the back of your phone to see a
greatly magnified view of objects.
• Size: 117(L) x
61(W) x 11(H)mm
QM-3516
$
1995
November 2013 51
www.jaycar.com.au
3
Party Time
Multicoloured LED Party or Stage Lighting Kit
DMX LED Moving Head Spot Light
This stage lighting kit features 4 extremely thin LED PAR lights
with a stand extendable up to 1.8m, 3 modes of operation (DMX,
Master/Slave and sound activation), RGB colour mixing and
advanced LED technology. Each unit features 145 bright red,
green and blue LEDs PAR CAN. Includes a light and stand
carry bag plus a foot controller.
• DMX Channel: 13
• Mains powered
• Light carry bag: 700(L) x
390(W) x 200(H)mm
SL-3467 WAS $399.00
$
• 15W RGBW LED light
• Fan cooled
• Built-in movement macros
• Mains powered
• Size: 249(H) x 173(W) x
173(D)mm
SL-3440 WAS $299.00
34900
SAVE $50
Blue Mini Spotlight with 3W Cree®
Features 74 super bright white LEDs
with adjustable flash rate. Energy
efficient and long lasting suitable for
home parties.
2995
$
SAVE $5
An innovative bracket that allows professional mounting of
flat screen TVs hanging from a ceiling. The heavy duty
280x280mm ceiling mount plate will safely and securely hold
the TV in place so people can comfortably view a program in
a foyer, a medical waiting room, hallway, or at home.
• Tilt and rotate for maximum viewing flexibility
• Solid aluminium and steel construction
• Maximum load: 80kg
• Recommended screen
sizes: 32" to 60"
$
00
CW-2855
Professional Vocal Dynamic
Microphone
A top quality balanced mic suitable for singing and band
work. Supplied with 3 pin Cannon lead and 6m cable.
3995
Buy 2 for $65
SAVE $14.90
Audio Converters
As a way of saying thank you – everyday – we’ve
put together a loyalty programme called Jaycar
Rewards. It’s for our regular customers who love
DIY everything electronic!
The Jaycar Rewards programme will entitle you
to accumulate one point with every dollar spent*
at any Jaycar Store* and be rewarded with a $25
Rewards Cash Card once you reach 500 points.
*Conditions apply, company stores only and only available for retail transactions in
Australia and New Zealand. See website for full terms and conditions.
3 Channel Headphone Amplifier
This economy headphone amplifier is designed to
allow up to three people to
listen to the same music
source on three separate
sets of headphones.
$
2995
• 3.5 stereo to 2xRCA
adaptor included
• Size: 128(W) x 46(H)
x 63(D)mm
AA-0400
NEW
Also available
3 Channel Microphone
Mixer AM-4220 $29.95
$
Analogue to Digital Audio Converter
• 24-bit Audio DSP
AC-1634
• Input: Stereo line in
(dual RCA jacks)
• Output: S/PDIF
TOSLINK optical
& S/PDIF RCA coaxial
• Size: 80(L) x 70(W) x 27(H)mm
AC-1596
DUE EARLY NOVEMBER
NEW
11900
Also available AC3/DTS Digital to Analogue
Converter 2 Channel AC-1658 $99.00
4 To order call 1800 022 888
Give your home theatre
installation a neat finish with
these handy wallplates. Simply
run a pre-made cable within the
wall cavity and plug it into the
back of the wallplate.
VGA, PC Audio, and Composite Audio and Video
PT-0471 $24.95
VGA, USB, and Hi-Fi Audio
PT-0473 $24.95
FROM
HDMI,VGA, PC Audio, and
Composite Video
PT-0475 $29.95
Accepts stereo audio input from 2 x RCA (red/white)
leads and outputs to a high quality
noise free digital format for
connection to a modern
sound system.
This converter will accept input via RCA coaxial, 2 x
SPDIF, or 3.5mm stereo audio and output any of
them to 5.1 channel analogue (6 x RCA).
Multimedia Wallplates
• Size: 116(H) x 75(W) x 12(D)mm
AC3 and DTS Digital to 5.1
Analogue Audio Converter
52 Silicon Chip
SAVE $20
www.jaycar.com.au/rewards
179
$
9900
Register online today by visiting
NEW
$
$
BE REWARDED for your love of electronics
Plasma/LCD TV Ceiling Mount Bracket
• Type: Unidirectional
balanced dynamic
• Impedance: 500 ohm
AM-4096
SAVE $40
• Mains powered
• Size: 240(W) x 200(H) x 310(D)mm
SL-3466 WAS $119.00
3995
Home Theatre
25900
A lightweight, compact and
cool-running blacklight PAR
64 spotlight with 3 operating
modes: sound-active,
automatic and DMX control.
It features 177 UV emitting
LEDs, brightness control,
strobe effect and a built-in
microphone.
• Mains powered
• Size: 140(L) x
120(Dia.)mm
SL-3464
• Mains powered
• Size: 56(Dia.) x 97(L)mm
SL-3471 WAS $34.95
$
PAR 64 2 Channel
DMX Spotlight
LED Strobe Light
This ultra compact mini LED spotlights offer a super
bright precision beam. The mounting bracket makes
this unit suitable for stage lighting
at parties or used on a rotating
mirror ball.
$
Compact, lightweight and cost effective. Integrates a
user selectable 540º pan and 270º tilt, it has 9 gobos
plus open and wheel spin effect.
NEW
$
7995
2495
4 Input HDMI Switcher
This versatile HDMI switcher allows you to expand
your HDTV system and connect multiple devices
such as game consoles or DVD
players to a single HDMI input.
• HDMI 1.4a Compliant
• Supports 3D, HEAC, and CEC
• 4 x HDMI Inputs, 1 x HDMI Output
• Ethernet Port
• Size: 154(W)
x 70(D) x
25(H)mm
AC-1619
$
9900
siliconchip.com.au
www.jaycar.com.au
Savings off original RRP. Limited stock on sale items
Party Time
5 Channel DMX LED
Light Controller
Laser Light Shows
Creates colourful scenes and amazing
lighting effects. Features
six selectable modes
with a combination of
RGB colour mixing,
fading, chasing and
sound control.
• 9V plugpack included
• Size: 252(L) x 122(W) x
46(H)mm
SL-3423
$
Whether staging a dance club, house party, full pro DJ setup or stage production, laser light projectors help
create the perfect atmosphere. They produce truly spectacular lighting effects with
hundreds of twinkling and constantly moving laser lights.
Red & Green Mini Laser Show
8995
DMX Powered Laser Beam
• Mains powered
• Size: 270(L) x 215(W) x
115(H)mm
SL-3439 WAS $99.00
Limited stock. HURRY!
• Laser colour: red, green & yellow
• Sound control: Auto, DMX
512 (7 channels)
• Mains powered
• Size: 363(L) x 143(W)
x 67(H)mm
SL-3451
Features a full colour LED that
adds vibrancy and substance to
each laser pattern. Great for
restaurants, foyers, or
parties.
19900
Limited stock. HURRY!
2 Channel MIDI Mixer with Virtual DJ Software
Mix, play and scratch your own MP3 tracks directly from your PC. The mixer sends MIDI data
from the controller to your DJ software without the inconvenience of
mouse control. It's a fully class-compliant USB MIDI
device complete with Virtual DJ software.
• 2-deck controller
• Mix 2 files in 1 controller
• USB powered
• Size: 358(W) x 260(H) x
45(D)mm
AM-4252 WAS $249.00
$
22900
SAVE $20
Naval Style Comms Speaker
NEW
Gymbol Mount
This small but powerful unit
delivers clear voice from either
VHF, 27MHz or even HF
communications receivers.
Mylar speaker cone,
gasketed bezel and IP65
entry cord.
$
24
95
• 4W, 2.25WRMS
• Naval style light grey
• Size: 66(L) x 66(W) x
55(H)mm
AS-3186
SAVE $10
129
The unit comes with pre-programmed
displays and characters, but with
the use of ILDA (International
Laser Display Association)
software you can add PC
control to create cartoon,
letters, figures or other
characters. Software is not
included.
00
To order call 1800 022 888
22900
SAVE $50
The ideal mixer to learn on. Two channels
each with RCA inputs for CD or other line
level source and a set of phono inputs.
• Level meters on each channel
• 2 band EQ on each channel
• Mic and headphone outputs
• Effects loop
• Line level preamp outputs
• Size: 330(W) x 22(H) x 102(D)mm
AM-4206 WAS $149.00
$
12900
SAVE $20
• 15W, 10WRMS
• Size: 108(L) x
108(W)
x 62(D)mm
AS-3187
• 2 x 100WRMS
• Inputs for Tape, Tuner, AV1, AV2, CD, Phono
• Size: 420(W) x 135(H) x 214(D)mm
AA-0470
Rated at a generous 100WRMS per channel and has a flat
frequency response from 20Hz to 20kHz. Includes remote
control to adjust input source, volume, etc.
$
2995
16900
Dual Channel UHF Wireless Microphone System
OVER
20% OFF
SAVE $20
siliconchip.com.au
$
Stereo Amplifier with Remote Control
4900
Lapel Mic Channel B AM-4059
WAS $29.95 NOW $19.95 SAVE $10
• ILDA software or DMX control
• Mains powered
• Size: 270(L) x 80(W) x 174(H)mm
SL-3438 WAS $279.00
Limited stock. Not available online.
2 Channel DJ Mixer
A powerful waterproof speaker to connect to
CB radios and other communication devices
for clearer audio reproduction.
$
$
SAVE $40
Animation Green Laser Show
NEW
A professional wireless VHF microphone system
with enhanced signal reception. Includes 2
microphones, 1 wireless receiver, and plugpack.
9900
4" Communication Speaker
Wireless Microphone System
• High-precision quartz crystal
locked frequency
• Up to 80m range
• Size:195(L) x 145(W) x 42(H)mm
AM-4071 WAS $69.00
Lapel Mics to suit
Lapel Mic Channel A AM-4057
WAS $29.95 NOW $19.95 SAVE $10
8900
$
$
• Mains powered
• Size: 205(L) x 80(W) x 145(H)mm
SL-3436 WAS $139.00
Limited stock. Not available online.
Red/Green Mini Laser Light
Show with RGB LED
• Mains powered
• Size: 140(L) x 105(W) x
55(H)mm
SL-3453
DJ Equipment
It produces over 100
green patterns with sound
activation or DMX
master/slave control.
$
Create lasers at your next party, concert, or stage
production. This model features an XLR out plug
that allows you to daisy-chain multiple units
together for full DMX controlled ambience.
$
Green DMX
Laser Show
Basic economy model provides
red and green twinkle laser light
display. Sound activated, auto or
remote control with variable
modulation. Manually
controlled only.
Suitable for professional and stage use, this UHF wireless microphone
system features 16 user-selectable channels on each microphone input to
provide interference-free transmission.
• Phase locked loop (PLL) circuitry
• Mains power supply
• 2 microphones included
• Size: 420(L) x 210(W) x 45(H)mm
AM-4120 WAS $299.00
$
Limited stock. Not available in all stores.
24900
SAVE $50
November 2013 53
www.jaycar.com.au
5
Hardcore
PCB Essentials
PCB Etching Kit
Breadboard Jumper Kit
Use to etch a circuit
board. See website for
full product inclusion.
HG-9990 WAS $27.95
Breadboard
• Mounted on a
metal plate
• Rubber feet
• 1680 tie points
• 400 distribution
holes
• 1280 terminal holes
• 3 banana terminals
• Board size: 130(W)
x 178(H)mm
PB-8816
An extra pair of hands and eyes for
those fiddly jobs. Supports PCBs while
soldering etc. Features 90mm
magnifying glass and
two alligator clips.
SAVE $8
• Size: 78(L) x
98(W) x
145(H)mm
TH-1983
11
$
3995
$
• 14 different lengths with 5 pcs each
PB-8850
Use to clean and prep surfaces,
contact cleaning, stain removal etc.
99.8% concentration.
An all-purpose formula
that quickly and easily
repairs objects made
of metals, timber,
ceramics, plastics,
glass, rubber and
much more.
300g Aerosol Can
NA-1067 $9.95
7
NEW
• Fast drying and high
purtiy
NA-1004
$
8
12V Ball Bearing Fans
Suitable for computers, office
machinery, appliances, power untis,
amplifiers etc. Can be mounted on
suction or discharge side.
97 x 94mm Blower Fan
40mm - 3 Wire
50mm - 3 Wire
80mm - 2 Wire
80mm - IP55
120mm - Thin 2 Wire
120mm - IP55
• Long life - 60,000 hours at 25˚C,
30,000 at 40˚C
• Ball bearing: 100,000 hours at 25˚C
Cable Tie Gun
If you have lots of cable ties to tighten and trim,
this tool is for you! Once you have wrapped the
tie around the cable you simply slide the tail into
the gun and pull the trigger.
TH-2600
23 95
7.5A General Purpose Cable Packs
Flexible heavy duty
tinned copper cable
suitable for general
purpose wiring up
to 250V supplied
on an easy to use
handy pack 10m reel.
YX-2532
XC-5054
XC-5055
YX-2513
YX-2523
YX-2518
YX-2522
$
Ideal to use on delicate
electronic, electrical and
mechanical assemblies.
11 50
13
WAS
$29.95
$15.90
$15.90
$19.95
$24.95
$28.95
$36.95
90
80mm - 2 Wire
120mm - 2 Wire
NOW
$26.95
$13.90
$13.90
$17.95
$21.95
$25.95
$32.95
Box of 400 black cable ties in various sizes:
200mm, 150mm & 100mm. Supplied in a
re-usable box with compartment storage.
• Size: 250(W) x
180(D) x
40(H)mm
HP-1216
1995
$
240VAC Ball Bearing Fans WAS
FROM
Cable Tie Box - 400 pieces
$
BUY BOTH (TH-2600
& HP-1216) FOR $35
SAVE $8.90
54 Silicon Chip
• CFC ozone safe
NA-1008
FROM
Mechanical Ventilation
Also available
15A Tinned Handy Packs
Red
WH-3054 $12.95
Black WH-3055 $12.95
Green WH-3056 $12.95
Electronic
Cleaning Solvent
$ 95
10% OFF SELECTED FANS!
Red
WH-3045 $7.95
Black WH-3046 $7.95
Green WH-3047 $7.95
Electronic Circuit
Board Cleaner
Dissolves flux residue and
grime leaving the tracks
and board spotless.
250mL Bottle
NA-1066 $8.95
$ 95
SAVE
$3.00
$2.00
$2.00
$2.00
$3.00
$3.00
$4.00
YX-2508 $36.95
YX-2517 $36.95
7
EACH
6 To order call 1800 022 888
$
SAVE
$4.00
$4.00
An ultra compact 6-way 12VDC touch control panel
to control devices in automotive, camping, or
marine applications. The 6 buttons on the switch
panel control 6 relays in the separate control box
with an included 1m long ribbon cable resulting a
completely waterproof (IP67) switch panel.
• Built-in resettable fuses
• Max current: 10A per
channel, 35A
total
$
SP-0900
NEW
9995
Sealed aluminium enclosures for external use are provided with
flanges and holes for wall mounting. Made from aluminium alloy ADC10 (JIS) and provides protection against dust and moisture (IP65).
FROM
NOW
$32.95
$32.95
6-Way Membrane Switch Panel
with Relay Box
IP65 Sealed Diecast Aluminium Boxes
Box: 90(W) x 36(D) x 30(H)mm
Box: 64(W) x 58(D) x 35(H)mm
Box: 115(W) x 90(D) x 55(H)mm
Box: 171(W) x 121(D) x 55(H)mm
11 50
YX-2532
YX-2508
• Flanged mount
$ 95
1295
PCB not included
Isopropyl Alcohol Spray
Adhesive Turbo Weld
$
19
PCB Holder with
Magnifying Glass
95
Specifically made
$ 95
for breadboards
and consists of
70pcs of single core sturdy wire.
Service Aids
• Non-toxic, colourless,
ultra strong and
versatile
NA-1524
$
HB-5029 $10.95
HB-5031 $11.95
HB-5044 $23.95
HB-5041 $36.95
Light Duty Hook-up
Wire Pack
Quality tinned hook-up wire on
plastic spools. 8 colours - buy one
roll of each colour - Each roll is 25m.
• 8 colours, 25m
roll each
WH-3009
$
3495
HB-5041
1095
HB-5029
siliconchip.com.au
www.jaycar.com.au
Savings off original RRP. Limited stock on sale items
Kits - Build Them!
Kits for Kids
240V 10A Deluxe Motor Speed Controller Kit
KJ-8970
Ref: Silicon Chip Magazine April 2009
The deluxe motor speed controller kit allows the
speed of a 240VAC motor to be controlled
smoothly from near zero to full speed.
The advanced design provides improved
speed regulation & low speed operation.
Also features soft-start, interferences
suppression, fuse protection and overcurrent protection. Kit supplied with all
parts including pre-cut metal case.
KC-5478
Snap-on Project Kits for Kids
Simple snap together electronic project kits are perfect for
young students. Both kits are great educational tools with fun
bright coloured pieces. Suitable for ages 5+.
Snap-on Electronic Kit
• 80 snap on projects
KJ-8970 $19.95
NEW
$
Car and Boat Snap-on Electronic
Project Kit
• Finished project actually moves!
• Requires 2 x AA batteries
KJ-8972 $24.95
FROM
1995
NOTE: Not for use with induction motors.
KJ-8972
NEW
Automatic Headlights Kit for Cars
$
Ref: Silicon Chip Magazine Oct 2013
Like modern cars, this kit will turn your car headlights on
automatically if you forget to turn the lights on when it
gets dark. It can also turn the lights off when you park
to avoid a flat battery. See website for full features.
5995
• Kit supplied with double sided, solder-masked and
screen-printed PCB, die-case cast, buzzer and
electronic components. Cabling not included
KC-5524
Jacob's Ladder MK3 Kit
Ref: Silicon Chip Magazine Feb 2013
A spectacular rising ladder of bright and noisy
sparks for theatre special effects or to impress
your friends. This improved circuit has even
more zing and zap than it's previous design
from April 2007 and requires the purchase of
a VS Commodere 12V ignition coil (available
from auto stores and parts recyclers).
Powered from a 12V 7Ah SLA or
12V car battery.
• Kit supplied with silkscreened PCB, diecast
enclosure (111 x 60 x
30mm), pre-programmed
PIC, PCB mount components
and pre-cut wire/ladder
KC-5520
Battery not
included
$
49
95
Theremin Synthesiser Kit MkII
Ref: Silicon Chip Magazine March 2009
Create your own eerie
science fiction sound
$
effects by simply moving
your hand near the antenna.
Easy to set up and build.
Complete kit contains
PCB with overlay,
pre-machined case and
all specified components.
7495
• PCB: 85 x 145mm
KC-5475
USB Power Monitor Kit
Ref: Silicon Chip Magazine Dec 2012
Plug this kit inline with a USB device to display the
current that is drawn at any given time. Displays
current, voltage or power, is auto-ranging and will
read as low as a few microamps and upto over an
amp. Kit supplied with double sided, soldermasked
and screen-printed PCB with SMD components
presoldered, LCD screen, and components.
KC-5516
• PCB: 65 x 36mm
NOTE: Laptop not included
$
59
95
siliconchip.com.au
To order call 1800 022 888
Ref: Silicon Chip Magazine May 2012
Control induction motors* up to 1.5kW (2HP) to run
machinery at different speeds or controlling a pool
pump to save money. Also works with 3-phase motors.
Full form kit includes case, PCB, hardware and
electronics. Soldering and construction required.
KC-5509
Ref: Silicon Chip Magazine Sept 2013
Cuts off the power between the battery and load
when the battery becomes flat to prevent the
battery over-discharging and becoming
damaged. Suits SLA, Li-ion, Li-Po and LiFePO4
batteries between 6 to 24V. Uses very little
power (<5uA) and handles 20A (30A peak).
Supplied with double sided, soldermasked and
screen-printed PCB with SMDs pre-soldered
(apart from voltage setting resistors) and
components.
• PCB: 34 x 18.5mm
KC-5523
NEW
24900
Learning electronics is fun with this short circuits books
with their own series of construction projects. All books are
geared towards specific levels of electronics knowledge.
• Size: 205 x 275mm
Short Circuits - Volume 1
Acts as an introduction to electronics,
NO previous knowledge of electronics
is needed.
• Softcover - 96 pages
BJ-8502
$
995
Short Circuits - Volume II
Assumes the constructor has the basic
skills and knowledge of electronics. It
contains 20 exciting projects and
introduces the novice to soldering etc.
2995
Speedo Corrector MkII Kit
Ref: Silicon Chip Magazine Dec 2006
When you modify your gearbox, diff ratio or
change to a large circumference tyre, it may
result in an inaccurate speedometer. This kit
alters the speedometer signal up or down from
0% to 99% of the original signal. Kit
supplied with PCB with
overlay and all
electronic
components.
$
5495
BIRTHDAY BONUS!
Ask for your FREE Jaycar
Cooler Bag when
you spend $50
or more from our
Birthday Flyer.
HB-5005
$
Short Circuits Series
Battery Saver Kit
• PCB: 105 x 61mm
• Recommended box
UB5 use HB-6013
KC-5435
9995
Speed Control Kit for Induction Motors
NOTE: *Does not work for motors
with centrifugal switch
$
$
• Softcover - 148 pages
BJ-8504
$
1295
Short Circuits - Volume III
This is the definitive electronics training
manual. After the constructors have built
any or all of the described projects,
there is no reason why they would not
be able to tackle any of the
construction projects published in the
electronis magazines.
• Softcover 128 pages
BJ-8505
$
1495
Short Circuits Book and Parts
Apart from the book, it also
includes baseboard, plenty
of spring terminals and ALL
the components required to
build every project in the
book, INCLUDING the bonus
projects.
39
• Suitable for ages 8+
$
95
KJ-8502
See www.jaycar.com.au/shortcircuits for list of projects
November 2013 55
www.jaycar.com.au
7
Work Lights
Flood & Work Lights
LED Work Lights with Stand
High brightness, long life LED lights suitable for illuminating a garden, hallway
and entry ways. Extremely low wattage keeps running costs down and with an
energy efficiency greater than 90% they are also environmentally friendly.
10W Solar Rechargeable LED Worklight Kit
Perfect for tradesmen this worklight offers recharging via the
supplied solar panel, mains charger, or cigarette lighter socket.
Features a foam grip handle and dust protection cap on the
charge port.
• Burn time: 3hrs, Charge time: 5hrs
• IP65 rated light & ABS carry case
• Efficiency: 90%
• Colour: Warm white
• 50,000 hours LED life
• Includes tripod
• Light Size: 119(H) x 110(L)
x 117(D)mm
SL-2794
DUE EARLY NOVEMBER
• 240V plug-in mains operation
• IP65 rated
• Cool white light
• 120˚ lens angle
269
Lower Hutt NZ
NEW
• IP65 rated
• Colour: Cool white
• 50,000 hours LED life
• Mains powered
• Size: 285(L) x 230(H)
x 145(D)mm
DUE EARLY NOVEMBER
SL-2697
17900
OPENING MID NOVEMBER
Unit 3 & 4,
3 Pretoria St, Hutt Central
Lower Hutt 5010
Ph: 0800 452 922
Also available:2400 Lumen 30W LED Floodlight
with PIR Sensor NEW SL-2698 $139.00
Lighting for all Situations
Flexible 10 LED USB Light
• 10,000 hour led life
• Flexible gooseneck (315mm long)
ST-2807
NEW
$
1990
4 LED Book/Laptop
Reading Light
Illuminate your reading material without
disturbing anyone else. A great travel
companion, just clamp it on.
• Requires 2 x AAA batteries
• Size: 83(L) x 40(W) x
15(D)mm
ST-3206
$
26
"Hockey Puck" Style
Downlight
Features 4 super-bright cool white
LEDs in a diffuser fitting. The diffuser
also acts as a pushon-push-off switch.
Surface mount
(hockey puck style)
or flush mount style.
• 12VDC powered
• 45 Lumens
• Size: 75mm (Dia.) x
25(D)mm
SL-3458
NEW
Note: Laptop
not included
SL-2876
shown
3800 Lumen 50W Work Light NEW
• Module size: 285(L) x 230(H) x 145(D)mm
• Stand size: 370(H) x 360(W) x 220(D)mm
SL-2699 $199.00
High brightness, long life LED work light suitable for use in a warehouse,
automotive workshop etc. They feature a high-strength tempered glass
cover with a high-pressure diecast aluminium shell. Energy efficiency
greater than 90%.
A handy reading assistant for laptops,
Tablets, PCs or books. On/off touch
lamp.
4990
1500 Lumen 30W Work Light
• Module size: 225(L) x 185(W) x 125(D)mm
• Stand size: 350(H) x 210(W) x 210(D)mm
SL-2877 $109.00
00
3800 Lumen 50W LED Floodlight IP65
$
FROM
500 Lumen 10W Work Light
• Module size: 115(L) x 85(W) x 85(D)mm
• Stand size: 350(H) x 210(W) x 210(D)mm
SL-2876 $49.90
NEW
$
$
90
6 x White LED
Awning Light
Provides illumination under a
caravan or boat awning.
• 6 x cool white LED
• 140 Lumens
• Size: 250(L) x
85(W) x 35(H)mm
SL-3459
NEW
$
2690
NEW
$
2490
YOUR LOCAL JAYCAR STORE - Free call Orders: PH 0800 452 922
CHRISTCHURCH
HAMILTON
85 Gasson St
Sydenham, 8023
Ph: (03) 379 1662
92 Commerce St,
Frankton, 3204
Ph: (07) 846 0177
DUNEDIN
HASTINGS
80 Crawford St
Dunedin, 9016
Ph: (03) 471 7934
819 Heretaunga St West,
Saint Leonards, 4120
Ph: (06) 876 0239
GLENFIELD
Lower Hutt
135 Wairau Rd
Wairau Valley, 0627
Ph: (09) 444 4628
Unit 3&4, 3 Pretoria St,
Hutt Central
Lower Hutt 5010
Ph: 0800 452 922
Monday to Friday 8.30am to 5.30pm
Arrival dates of new products in this flyer were confirmed at the
time of print but delays sometimes occur. Please ring your local
store to check stock details. Savings off Original RRP.
56 S
C
ilicon
hip
Prices valid from 24th
October 2013
to 23rd November 2013.
MANUKAU
NEW LYNN
42A Lambie Dr,
Manukau, 2104
Ph: (09) 263 6241
2171 Great North Road,
0600
Ph (09) 828 8096
MT WELLINGTON
PALMERSTON NTH
16-18 Fisher Cres, 1060
Ph: (09) 258 5207
225 Featherston St,
Palmerston North, 4410
Ph: (06) 353 8246
NEWMARKET
WELLINGTON
231 Khyber Pass Rd,
(Cnr Boston Rd) 1023
Ph: (09) 377 6421
264-272 Taranaki St,
Mount Cook, 6011
Ph: (04) 801 9005
TRADING HOURS:
Saturday 9.00am to 5.30pm
NEW ZEALAND OFFICE
Sunday 10.00am to 4.00pm
Postal: PO Box 12241. Penrose. 1642 Auckland
Ph: (09) 258 5200 Fax: (09) 276 1257
Find your Jaycar
Store here
*For late night trading hours &
exceptions check with the
store or on website
ONLINE ORDERS
Website: www.jaycar.co.nz
Email: techstore<at>jaycar.co.nz
Occasionally there are discontinued items advertised on a special / lower price in this promotional flyer that has limited to nil stock in
certain stores, including Jaycar Authorised Stockist. These stores may not have stock of these items and can not order or transfer stock.
siliconchip.com.au
SERVICEMAN'S LOG
Office computers can take some sorting out
Because I no longer have employees, I have
to be careful about the jobs I take on as I
cannot leave the workshop during business
hours. Sometimes though, I get talked into
jobs that I would normally knock back but
this one worked out well.
I
T CAN BE a daunting task for a
serviceman to set up a new office
computer network from scratch. By
the same token, it can be just as tough,
if not tougher, taking over an existing
system or service contract.
Unfortunately, stepping in to replace another technical support company can be a double-edged sword.
Although gaining a new client, especially one with multiple users, can be
a bit of a coup, there’s always a reason
as to why they want you to take over.
Sometimes it’s as simple as the
last serviceman retiring and the only
thing the new guy has to worry about
is filling the departing bloke’s shoes.
Many businesses form long-standing
relationships with their IT provider
and it can be a tense experience for a
new serviceman taking on an unfamiliar office network.
Another reason people change their
IT guy is that the relationship has
broken down, or perhaps they haven’t
met expectations. It can be hard work
building a rapport with any new group
of people, let alone those who may
be wary of a new serviceman poking
around.
It may also be that the blame didn’t
necessarily lie entirely with the ditch
ed service provider. I’ve experienced
several situations where the office boss
or manager had unrealistic expectations of what the serviceman’s role is,
how he or she goes about it and how
much that service should cost. So it’s
quite important to have those boundaries well and truly thrashed-out before
taking on any new role.
A nose for trouble
It’s unfortunate but as any serviceman knows (or eventually learns), we
can’t please everybody all of the time,
no matter how good we are at our
job or how hard we try. I’ve knocked
back several potentially lucrative jobs
and service contracts over the years
because the conversations I’ve had
with the prospective clients indicated
the likelihood of trouble. And while
turning down any business opportunity goes against the grain, especially
given the current state of this industry, sometimes we have to follow our
instincts and in those cases, it meant
me saying “no”.
Recently, I received a call from the
owner of a medical practice who was
given my name by another medical
Servicing Stories Wanted
Do you have any good servicing stories that you would like to share in The Serviceman column in SILICON CHIP? If so, why not send those stories in to us? In 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.
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
Please be sure to include your full name and address details.
siliconchip.com.au
Dave Thompson*
Items Covered This Month
•
Sorting out an office computer
system
• Studio monitor distortion problem (and a door lock problem)
• Toshiba Satellite A660 laptop
computer
*Dave Thompson runs PC Anytime
in Christchurch, NZ.
Website: www.pcanytime.co.nz
Email: dave<at>pcanytime.co.nz
professional I’ve done work for over
the years. This chap was feeling increasingly unhappy with his current
IT provider and was looking to make
some changes. I told him straight away
that, due to my company’s situation,
I was probably not the right man for
the job but after chatting to him on the
phone, we seemed to hit it off and the
more I learnt about his plight, the more
familiar it sounded.
When resetting up his practice
after the quakes, he’d asked around,
sourced a few quotes and pursued
various options for developing his
IT infrastructure. He eventually went
with a company well known for their
slick sales presentations, involving
highly-animated salesmen who use
lots of business buzz words and semitechnical patter to sell their wares.
Long story short, the practice ended
up with a very complicated server and
multi-user workstation package with
all the bells and whistles you could
possibly think of bolted onto it.
Of course, none of it came cheap;
not only did it cost a small fortune upfront but there was also a complicated
4-year service contract with similarly
high prices for times when things
went wrong.
On paper, this system looks very
impressive and ticks all the IT requirement boxes. To those unfamiliar with
such technology, this office set-up
seemed to be a perfect solution for
November 2013 57
Serr v ice
Se
ceman’s
man’s Log – continued
Studio monitor distortion problem
Many years ago, A. H. of Evatt,
ACT tackled a mysterious audio
distortion problem in a studio monitor at a local radio station. He ended
up fixing the electric door lock to
the studio as well. Here’s what happened . . .
It was the practice of the AM
broadcast station where I worked as
a technician to use our B studio on
Mondays. This was to allow maintenance work to be carried out on the
main on-air A studio.
Eventually though, the announcers began complaining that the audio
monitoring in B studio sounded
crook! The problem was, each time
it was checked, it sounded OK to
the technicians. And then a chance
remark by one of the announcers
gave us a clue. If you turned up the
monitor to absolute maximum, the
sound was really distorted.
By contrast, this problem wasn’t
at all evident in the C studio which
used the same model STC mixing
console, a valve-based unit using
EF86s, etc. So what was different?
That’s when I became involved.
During a shift handover, the day
technician briefed me as to what
he had done to try to solve the fault
and asked if I would have a go at it
during the night shift, when things
quietened down. Not doubting my
fellow technician, I nevertheless
went through the basic fault finding
procedure on the console if only to
thoroughly acquaint myself with the
problem and to make sure nothing
had been missed.
First, I placed a record (yes one
of those round black vinyl things)
on the turntable and gradually increased the volume. As I did so, the
anyone with a dozen or so users on
a busy small-business network. My
prospective client was certainly up
with technology to a certain degree but
like many others in similar positions,
he had no real knowledge of exactly
what his system involved, where all
the relevant hardware was located and
how it all worked together.
58 Silicon Chip
audio became very distorted, so the
complaints were well justified.
The problem was where to start
looking. Audio from a record is all
very well for subjective testing but a
constant 1kHz sinewave tone would
be better for troubleshooting. It was
time to drag out our audio signal
generator and hook it up to one of
the inputs to the console.
This gave the same result as before
and the higher the output, the worse
the distortion.
Connecting a scope to the output of the console showed that the
sinewave was clean at all levels.
However, checking the output of the
valve monitoring amplifier revealed
that as the output neared maximum,
the 1kHz sinewave turned into a
1kHz square-wave!
I quickly swapped in the monitoring amplifier from C studio but much
to my surprise, the fault was still
there. That meant that the only things
left in audio chain were the output
cabling and the monitor speaker box.
As a result, I dug out a spare (smaller)
speaker box and connected it directly
to the monitoring amplifier, bypassing the existing cabling and speaker.
That eliminated the fault, with no
appreciable distortion evident even
at high output levels.
So what exactly was wrong? I
did not believe that the monitoring
speaker was faulty. It was a 16-inch
speaker rated at 100W and the monitoring amplifiers had an output of
just 50W, ie, well within the capacity
of the speaker.
I then ran a temporary cable from
the amplifier across the floor directly
to the monitor speaker and again
this proved successful, with no ap-
For example, he knew he was paying a significant monthly fee to have
off-site backups done via a radio
network system but had no idea what
that entailed, where his data was being
backed up to or what would happen
in case of disaster.
Another example was the presence
of an external hard drive plugged
preciable distortion at high levels.
So that left only the speaker cabling
to check.
Unfortunately, it was now necessary to crawl under the desk, to
access the old-style PMG soldered
pin strips. Juggling a lead light in
one hand, I soon discovered that a
cotton-covered cable with a small
tag on it saying “front door lock”
was connected to the same pair of
pins as the monitor speaker line.
When I removed this “lock cable”, the fault disappeared and the
system behaved normally. Conversely, temporarily reconnecting
the lock cable reinstated the fault
condition,with the 1kHz sinewave
input again turning into a 1kHz
square wave. Obviously, the impedance of the lock coil severely
affected the monitoring amplifier.
As a result of fixing this distortion fault, an irritating long-term
problem with the electric door was
also cured. Its unreliability had
been another long-term mystery.
Indeed, on a number of occasions,
the night-time announcer had come
across unauthorised persons, usually drunk, in the studio after hours.
It’s not hard to picture the scenario. It’s a cold winter’s night in
Canberra, and someone who’s had
too much to drink has just been
chucked out of a local pub. And
they need to light a fag and it’s
windy, so they lean against the
door in the alcove and as they do,
the door opens. Why? – because the
announcer in studio B has the monitor full on and there’s just enough
energy to release the door lock.
When did these incidents happen? Only when studio B was being
used on a Monday! So I not only
fixed the audio distortion problem
but fixed the door lock problem as
well. Talk about killing two birds
with one stone.
into a USB port on his server cabinet;
nobody knew what it was there for
or how to access it. Nor were they
prepared to unplug it lest the whole
system fall apart.
Of course, many clients in situations
like this don’t want to know what all
that cabling and complicated-looking
hardware is for and don’t really care
siliconchip.com.au
either, as long as it all works. For many
businesses, off-the-rack solutions
work just fine but this often relies on
people in the office changing the way
they do things in order to conform to
their new IT system rather than the IT
system being designed specifically for
the business.
On the other hand, when I look at
implementing any type of office network, I look at the business and talk to
the people who are going to be using
it in order to determine how they do
things and what their needs are. By
doing this, I can understand exactly
what they want and can then design
a suitable system for them.
At the same time, if I see something I think could help the client
better achieve what they want to do,
I’ll suggest all the different options
available to them. That way, they can
siliconchip.com.au
make a more educated and informed
decision as to which way they want
to go. What’s more, by talking about
things this way with the client, they
usually gain a basic understanding of
their office computer set-up and what
it actually does.
Brick wall
To be fair, this particular prospective client had used his system for
a couple of years without too many
IT hiccups. What was really stirring
things up now was that he needed to
provide his network specifications to a
software developer who was “cutting”
some new code for the practice.
In particular, he was looking at
changing the software the practice
used for making appointments and
managing patient data and the software developer wanted to know what
hardware and software he was already
running. However, he was hitting brick
walls when he attempted to get this information from his current IT provider.
After making several unsuccessful attempts to get this information,
it transpired that the people who
originally installed the system were no
longer with the server company and
the records they’d left behind detailing the set-up were incomplete and
inadequate. The bottom line was that
they couldn’t tell my client anything
about his system other than what they
could glean by remotely accessing it
and having a look around. So the situation was obviously less than ideal as
far as my client was concerned.
At first, the IT company tried to
blame the client, claiming that the
practice would have been given all
the relevant material when the system
November 2013 59
Serr v ice
Se
ceman’s
man’s Log – continued
was installed and if they didn’t have it,
they must have chucked it out or lost
it. My client, who keeps every piece
of paper that crosses his desk, was
equally adamant he hadn’t received
anything like that.
As it stood, every time anyone in the
office needed something like recovering a forgotten password or adding
or changing a user account, they had
to call the IT company. The relevant
information would then be given to
them or one of the company’s technicians would “remote in” to the system
to do the job – all for a fee.
Even the BIOS configuration in the
server and each workstation computer
was password protected, ostensibly to
stop people “fiddling” with it. In practice of course, it also meant another expensive phone-call to IT support was
required if anything needed to be done
at that level. This type of IT business
model is widely used in the industry
and it can certainly stop employees
who don’t really know what they’re
doing (but think they do) from fiddling.
However, it can be an expensive way
of doing things and certainly explains
why those guys drive new cars while
I drive an old Mini!
In the end, by way of a compromise,
the IT company offered to send a technician out to map the entire system
and provide a report, although this
would be done at the client’s cost. By
this time though, my client was not
prepared to entertain the idea, hence
his phone call to me.
First reactions
Based on experience, my first reaction was to walk away for what I
considered two very good reasons, the
60 Silicon Chip
first one being that I don’t like walking into messes like this. If I took this
job on, I’d not only have to deal with
the client’s expectations but also with
the former (and possibly disgruntled)
IT provider to get any details of the
system I couldn’t unravel on my own
– not an ideal situation.
Second, and more significant for me,
I’m now back to running things here
alone. As a result, I no longer have the
luxury of being able to drop everything
and leave the workshop to sort out
emergency on-site problems. While I
could always just shut the door and
go, people turn up to my workshop at
all hours of the day to drop machines
off or pick them up. If they arrive and
find the workshop closed with a note
on the door, I risk losing that client.
After all, I know how I feel if I make
the effort to visit a business that advertises being open certain hours only
to find it closed. I don’t want my own
clients feeling like that.
I talked about this to my prospective client and made it clear that I was
happy to do a one-off mission. I could
go after-hours to map out his system
and then sit down with him and explain what everything did and how
it all worked. However, my current
situation meant that I would be unable
to be his “go to” guy for emergency
call-outs or on-site work.
After chatting to him though, it
quickly became apparent that he was
a very reasonable man. And so, after
some persuasion, I suggested we play
it by ear and see if we could perhaps
work something out for after-hours
scheduled maintenance of his system.
All mapped out
A week or so later, I’d mapped
his system and provided him with a
network map and a clear explanation
of what everything did. That external
USB hard drive sticking out the side of
the server cabinet was placed there to
provide extra disk space because the
server’s two mirrored hard disks were
full. Not only was this a very dodgy
way of adding disk space, it also didn’t
allow for any type of disaster recovery.
As a result, I advised getting two
new and much larger hard drives
for the server. Not only would that
improve the performance but his valu-
able data would be much safer should
anything happen.
The back-up system employed was
also interesting. This system entailed
using synchronising software on the
server to update files in real time to a
remote data storage facility via a radio
network system. I’m still in the dark
as to where this data was going but
I’m pretty sure it wasn’t doing what
everybody thought it should be doing.
That’s because the database for one of
the programs used by the practice is
more than 160GB in size and as this
changes every time appointments are
added or patient records updated, it
would be constantly trying to synchronise via the radio system.
As anyone who has tried to move
large amounts of data via an RF link
will know, it isn’t the fastest method
of doing things, so it was doubtful that
the remote copy of the file was ever up
to date with the local version.
No wonder their bandwidth bills
were huge!
Back-up & spam
The first thing I did was implement
a new back-up system using external
hard drives that one of the staff could
perform at day’s end. While not ideal
due to the large data files, the new
software that’s to be installed in a few
months time will have much smaller
data files, so the back-up system can
easily be modified to suit when the
time comes.
An interesting development was
that on the very day my client sent
a termination of service letter to the
old IT provider, he found he could
no longer send email. I hadn’t been
officially tasked with their office support yet but with no one else to turn
to, muggins was it.
A quick check determined nobody
in the office could send email either,
though incoming mail was unaffected.
I used remote access to pipe into their
network and found their email system
was working as it should, except there
were 7000 plus emails queued to go out
and these were unlikely to be normal
office email correspondence. Opening
a few at random, I could see they were
identical phishing emails; someone
was using the outgoing email server
to send spam!
Now when this type of system is set
up and configured, the person setting
it up needs to be very careful to avoid
just such a situation. By default, the
siliconchip.com.au
system must be locked down to allow
only authenticated users to access the
outgoing email server. Leaving it wide
open is asking for trouble.
It turned out that the internet service
provider (ISP) had disabled port 25 (the
port that outgoing email uses) due to
the sudden huge volume of email traffic
emanating from this server. They had
done this without notification (quite
possibly automatically), which is why
we had no idea it was happening.
It was easy enough to clear the email
queue but as soon as I cleared it, I
could see messages piling up again. A
quick check of the server logs showed
hundreds of failed attempts to log in
to the server starting earlier that day,
all with usernames beginning with A,
then B and so on.
This indicated some kind of “dictionary” style username and password
attack, which uses a barrage of typical
user names (such as Administrator)
and typical passwords (password,
pass123, p4ssw0rd etc,) in an attempt
to log in. It turned out that some of the
existing passwords were insecure and
this attack had struck it lucky, enabling
access to my client’s email server.
The first thing I did was enforce
MEANWELL
DC-DC CONVERTERS
system-wide password changes with
ultra-secure passwords (including
numbers, letters and symbols such
as $, #, !, +, etc). To be sure, I also
prevented the Administrator account
from being able to send email (this
account was the one that had been
compromised and has no reason to
send email anyway).
I also deleted half a dozen user accounts for staff that no longer worked
for the practice. That done, I checked
our server and with no rogue messages
in the queue, put through a request to
the ISP to re-open port 25.
Since then, I have kept a close watch
on things and there have been no further issues. I’d made no configuration
changes while mapping the system
out, so it was obviously a coincidence
that the system just happened to be
compromised when it was.
In the meantime, my new client
is pleased that the system has been
sorted out and the cost of running it
substantially trimmed. We’ll probably
now come to some arrangement so that
I can continue looking after it for him.
Toshiba Satellite A660 laptop
A. P. of Toowoomba, Qld recently
ONLINE &
IN STOCK
> 0.5W to 300W supplies
> Module, Half-Brick, On-Board, PCB and
Enclosed Type models available
> 2 to 3 years warranty
PLACE AN ORDER:
FREE CALL 1800 MEANWELL (1800 632 693)
WWW.POWER-SUPPLIES-AUSTRALIA.COM.AU
VISA AND MASTERCARD ACCEPTED
siliconchip.com.au
resurrected a Toshiba Satellite A660
laptop. Here’s how he solved the white
screen of death . . .
Mac called me to say that the screen
of his Toshiba Satellite A660 laptop
was all white and he had been quoted
a ridiculous amount just to have the
problem looked at. My fee was more
to his liking and on further questioning, it transpired that the webcam and
microphone on his laptop were also
not working. Furthermore, the screen
had not failed suddenly – instead, it
had gone through a period of intermittent operation during which it
was flashing white before becoming
permanently white.
The VGA output of the laptop
was still working fine though, so he
had been getting by with an external
monitor. However, there was a further
problem whereby the computer would
sometimes freeze if it started up with
the external monitor plugged in.
Conversely, plugging the monitor in
after the computer had booted always
worked and so I suspected that this
was probably due a driver problem and
totally unrelated to the other faults.
From the information Mac provided,
I suspected that the LCD panel itself
MEANWELL AC-DC
OPEN FRAME SWITCHING
POWER SUPPLY
> 5W to 300W supplies
> Single, Dual, Triple and Quad
supply models available
> Encapsulated and On-Board
models available
ONLINE &
IN STOCK
YOUR ONE STOP MEANWELL
ONLINE POWER SUPPLY SHOP
November 2013 61
Serr v ice
Se
ceman’s
man’s Log – continued
Helping to put you in Control
FieldLogger 24 VAC/DC Powered
Fully featured data logger
that has 8 universal inputs
and can use Modbus slave
devices for many more.
2 relay outputs & up to
32 configurable alarms.
Ethernet, USB & RS-485
interfaces. Custom web
pages, FTP server, E-mail and SNMP facilities. Internal 512k memory or optional SD
card expansion. Model with 320x240 pixel
colour HMI is also available.
SKU:NOD-002
Price: $999.00+GST
RTD Sensor Head & 50 mm Probe
Aluminium RTD/Pt100
sensor head comes with
a 316 stainless steel
probe. The thread is 1/2”
BSP. Can be fitted with a
4-20 mA “hockey-puck”
transmitter.
SKU:NOS-002
Price:$64.90+GST
Modbus TCP I/O Module
Modbus slave I/O module
over Ethernet, RS-485 bus
or USB. It features: 8 relay
outputs, 4 x opto-isolated
inputs, 3x analog inputs & 4
x input counters. Webpage
feature to view and alter I/O & set up device. DIN rail or Panel mountable, 12 or 24
VDC powered.
SKU:KTA-324
Price:$249.00+GST
Modbus RTU Gateway
Interfaces a Davis Vantage
Pro2 weatherstation to a
Modbus RTU network via RS232 or RS-485 bus. Imperial/
Metric unit selectable. 8-28
VDC powered. Modbus TCP
via Ethernet is also available.
Panel mount or DIN rail mount via clip.
SKU:GWY-141
Price:$159.00+GST
RS-232 to RS-422/485 Converter
2.5 kV optically isolated RS232 to RS-422/485 converter.
12-36 VDC powered. Pluggable screw terminal connections for RS-422/485. DIN rail
mountable via clips, sold separately.
SKU:TOD-002
Price:$139.00+GST
Bipolar Stepper Motor
8-wire NEMA23 industrial
grade stepper motor, ideal
for driving heavier loads.
Has a holding torque of
22.433 kg.cm (2.2 N.m or
311 oz-in). Front and rear
shafts. Other bipolar stepper motors are also available.
SKU:MOT-105
Price: $59.00+GST
DM432 Stepper Motor Drive
Fully digital microstepping stepper motor drive with anti-resonance tuning. Free PC tuning
software. 20-40 VDC powered
with current output of 0.1-2.3 A
RMS. Suits a wide range of stepper motor of NEMA17-NEMA24
frame size.
SKU:SMC-008
Price: $75.00+GST
For OEM/Wholesale prices
Contact Ocean Controls
Ph: (03) 9782 5882
oceancontrols.com.au
62 Silicon Chip
was actually fine and that the fault
was most likely a loose connector.
In this particular Toshiba model, the
LVDS (Low Voltage Differential Signalling) cable that connects the LCD
panel to the motherboard has a spur
to the webcam. If the connector on
the motherboard end of the cable had
eased out of its socket over time, this
would explain the problem with both
the webcam and the screen.
Replacement cables
So a loose connector was one possibility but I also wanted to be prepared
in case the LVDS cable itself was faulty.
Replacement LVDS cables are readily
available on eBay for about $25, so I
promptly ordered one.
When the replacement cable arrived
I collected the laptop from the client
and set to work on it. Powering it up
showed the display fault; the screen
was pure white except for the brief
moments during start-up when the
display format is changed and the
operating system or the BIOS turns the
screen off. I then plugged an external
monitor into the VGA port and was
greeted by the Windows desktop.
Dismantling the laptop was slow
but uneventful, most of the time being
spent coaxing apart the plastic clips
around the edge of the display bezel
and around the keyboard bezel using
the corner of a discarded SIM card.
Fortunately, all the internal machine
screws are identical which means they
can all go into the same tray. This also
later simplifies reassembly.
Once I had removed the “Logic
Upper Assembly”, which contains
the keyboard, trackpad and speakers,
I could see that the plug on the LVDS
cable was still firmly lodged in its
socket on the motherboard. Indeed,
there was an adhesive tab holding it
in place. This did not bode well for
my hypothesis that the LCD panel was
not at fault.
When I finally managed to get the
bezel off the screen, I could see that the
LVDS cable plug that connected to the
webcam/microphone board had come
completely out of its socket. However,
since the webcam/microphone board
is right next to the top edge of the
display, it was quite possible that the
plug had actually come out during my
prying to remove the bezel.
My next step was to re-seat the three
plugs on the original LVDS cable in
their appropriate sockets and fire up
the laptop to see if that had fixed anything. I did this without the battery or
“Logic Upper Assembly” in place, so I
had to plug in the charger and a USB
mouse and keyboard. I also plugged
in an external monitor.
The machine powered up without
complaint and the display came up on
the external monitor but the internal
screen was still white. I wasn’t out of
the woods yet.
The only software on the machine
I could find to exercise the webcam
was Skype. I opened it up and logged
in and was then able to go to “Video
Settings” which showed that the
webcam was indeed working again.
The microphone now worked as well.
Wrong cable
The next step was to replace the
LVDS cable. However, when I unpacked the new cable, I discovered that
I had been sent the wrong one. The one
I had been supplied had an extra plug
at the motherboard end and the spur
to the webcam board was too short.
Nevertheless, the motherboard and
LCD panel plugs on the replacement
cable were the correct kind. I figured
that it might at least be electrically
compatible with the original one and
siliconchip.com.au
so it would be useful for determining
if the original LVDS cable was faulty.
However, when I fitted it, the laptop
just showed a white screen again.
Wrong LCD panel
That was enough evidence for me
to go ahead and order a replacement
LCD panel. Unfortunately, when it
arrived, I found I had been sent the
wrong model!
The replacement panel was not
marked with any text or icons at all
but its LVDS connector was in a different position than the connector on
the original panel. In fact, its location
was so different that the LVDS cable
couldn’t reach between the connector
on the panel and the webcam board.
This was frustrating but once again I
decided to use the incorrectly-supplied
part to help me narrow down the fault.
The LVDS connector on the replacement panel was most likely compatible
with the original, so I plugged the panel
into the original LVDS cable and turned
the laptop on. And voila! – the display
was now perfect, confirming that the
problem had been in the panel after all.
Although the original LVDS cable
still worked, the adhesive tab that held
siliconchip.com.au
the plug into the socket on the LCD
panel had now lost its “stickiness”. As
a result, I decided that it would be wise
to also replace the cable, so I returned
both the incorrectly-supplied LCD
panel and the incorrect LVDS cable
for a refund and ordered the correct
replacements.
When these parts arrived, I lost no
time in fitting them. To my considerable frustration, the display came up
white again! I couldn’t believe it, so
I re-seated the connectors and tried
again but the display was still white!
That took the wind right out of my
sails! Now I didn’t know whether the
second replacement LCD panel or the
second replacement LVDS cable was
faulty, so I swapped the original LVDS
cable back into the unit. And that
finally fixed the problem, resulting in
a stable display.
I couldn’t believe that the second
new LVDS cable could be faulty but
that seemed to be the case. I subsequently returned it to the supplier
who tested it and found that it was
working but generously refunded the
price anyway. Why it refused to work
with Mac’s laptop is anyone’s guess.
As mentioned, the adhesive on the
tab on the connector of the original
LVDS cable had lost its “stickiness”.
This problem was solved by using
some adhesive tape to hold it in place,
after which the laptop was reassembled.
The final task was to fix the problem
of the laptop freezing occasionally
when it was started up with an external
monitor already connected. I had told
Mac that I wouldn’t spend more than
an hour on this part of the job and that
success was not guaranteed.
I visited the Toshiba website and
located the drivers for the laptop. The
media manager was the most likely
suspect – it was well out of date, so
I upgraded it. I also upgraded the
display driver and a couple of other
unrelated drivers.
No more freezing
Following these upgrades, I restarted the laptop five times with the
external monitor attached and it didn’t
freeze once. And although “absence of
evidence is not evidence of absence”,
the allocated time had run out and it
was time to return the laptop to its
owner and collect my well-earned
SC
payment.
November 2013 63
Using the SiDRADIO to receive
DRM30 broadcasts
By JIM ROWE
Guess what! Here’s yet another use for DVB-T dongle-based SDRs
like our SiDRADIO project: receiving DRM30 digital radio broad
casts. All you need is the SiDRADIO with your PC running an
application like SDR#, plus some additional decoding software
which can be downloaded from the internet.
E
LSEWHERE IN this issue, we have
an article on the technology of
DRM digital radio. This second article
shows how to use our SiDRADIO project (also in this issue) to receive and
decode DRM broadcasts. It can also be
used with the SDR (software defined
radio) using a DVB-T dongle described
in the May 2013 issue of SILICON CHIP
along with the LF-HF Up-Converter
described in the June 2013 issue.
If you have already been using your
SiDRADIO-based SDR to receive AM
or SSB signals on the MF or HF bands,
using an app like SDR#, you’ll be
happy to hear that you can use exactly
the same set-up for DRM30 reception
– just by installing some more freelydownloadable software.
That sounds pretty straightforward
but it isn’t quite that easy, unfortunately. Although the additional software you’re going to need for DRM30
reception can be downloaded freely
via the internet, installing it in your PC
64 Silicon Chip
(and configuring it) can be a bit tricky.
In fact, it’s at least as tricky as installing the original RTL-SDR driver
and software components for SDR
reception – if not more so. And some of
the additional software is not well supported by clearly-written installation
and/or operating information, either.
Never fear though because this
article shows how it can be done. I
have spent a fair bit of time and effort
(AKA trial and error) finding out how
to install and use the DRM reception
software successfully and now I have
figured out the best way to do it . . .
The basic idea
To begin, take a look at the flow
diagrams shown in Fig.1. The upper
diagram (A) shows the flow of data in
an SDR set-up using a DVB-T donglebased front end like our SiDRADIO,
hooked up to a PC running the RTLSDR USB driver and an application
like SDR#. This is exactly the same
set-up we presented in the ‘Getting
Into SDR’ article in the May 2013
issue, apart from the SiDRADIO box
replacing the original daisy chain of
an active HF antenna driving an upconverter driving the DVB-T dongle.
In this basic configuration, the digital output stream from SDR# is passed
directly to the PC’s sound card or onboard DACs, and then via internal or
external amplifiers to the speakers.
Now look at Fig.1(B), which shows
the extended configuration needed
for DRM30 reception. As you can
see, it’s exactly the same as (A) right
up to the output from SDR#. Instead
of being passed straight to the sound
card DACs as before, the digital output
stream from SDR# is now fed to the
input of the DRM decoding application
DREAM, via another piece of software
labelled ‘Virtual Audio Cable’.
It’s the decoded output from the
DREAM app which is then passed to
the sound card DACs and used to drive
siliconchip.com.au
Fig.1: this diagram shows the basic SDR configuration at (A) and the revised configuration for DRM30 reception at (B). The
hardware remains the same but you have to add Virtual Audio Cable & DREAM decoding software.
the speakers. In fact, the only difference between the two configurations
is that for DRM30 reception, we need
to install those two further software
components: Virtual Audio Cable and
DREAM.
Virtual Audio Cable is actually a
Windows “miniport” driver written
to conform to Microsoft’s Windows
Driver Model (WDM). It performs the
function of setting up one or more
‘virtual cable’ ports, which allow one
Windows software application to send
a digital audio stream to another application – rather than to a real port
like the inputs of the sound card DACs
or a USB port connected to the input
of external ‘USB speakers’.
So you can think of Virtual Audio
Cable (or VAC) as simply a driver utility, which we use to pass the digital
audio data stream from SDR# directly
through to the input of the DREAM
application, instead of to the sound
card DACs as before.
By the way, VAC was written by Russian programmer Eugene Muzychenko
some years ago and has been updated
and upgraded by him many times.
His latest version is V4.13, which was
released in July 2013. A trial version
of VAC can be freely downloaded
either from his website or from other
download sites such as CNET – more
siliconchip.com.au
about installing this software shortly.
Before we actually get going with the
software downloading and installation, I want to warn you that because of
space limitations, we won’t go through
the steps involved in downloading
and installing the basic SDR software
shown in Fig.1(A). These software
installation steps were all explained
in considerable detail in the May 2013
issue of SILICON CHIP, so if you haven’t
done this as yet you’ll need to refer to
that earlier article.
In the present article, we’re going to
assume that you have already installed
the basic software for SDR and just
want to extend your SDR set-up for
receiving DRM30 as well.
The new software
The first additional software component you’ll need is Virtual Audio
Fig.2: once Virtual Audio Cable is installed,
it should appear in the Audio section of
SDR# (listed here as [MME] Virtual Cable 1).
November 2013 65
Fig.3: you need to download faad2_drm.dll from www.mega.co.nz (see text). This
dll file must then be copied to the folder where you installed DREAM.
Cable. As mentioned above, a trial
version of VAC can be downloaded at
no cost from either Mr Muzychenko’s
website or from the CNET website (see
the Useful Links panel) but be warned
that this version has the irritating
property of injecting a female voice
saying “trial version” into the digital
audio stream from time to time.
This can disrupt DRM decoding, so
I suggest you purchase and download
the fully-functional version online
from his website. It costs between
A$26.50 and A$52.70, depending on
the level of online support you choose.
For most people the Basic Support
version is probably quite sufficient
and this costs A$36.85.
Fig.4: the waterfall display in SDR# when the software is set to tune a DRM30
signal from NZRI centred on 15.720MHz. SDR#’s displayed frequency is
15.715MHz (ie 5kHz below the centre frequency), as shown by the large digits
just above the spectrum display window (see text for explanation).
66 Silicon Chip
VAC4.13 downloads as a compressed zip file. To install it on the
machine you’re using for SDR and
DRM30 reception, unzip the download file into an empty folder on this
machine (C:\Program Files\VAC is a
good choice) and then double-click on
the setup.exe file. It’s then just a matter
of following the instructions.
Note that because VAC4.13 is basically a driver rather than an application, you won’t see any icon for it on
your desktop after it has been installed.
Instead, you will see a ‘Virtual Audio
Cable’ folder in the ‘All Programs’
list and if you select this you’ll see a
number of items including a Control
Panel icon.
This allows you to do all kinds of
highly technical set-up adjustments
but you really don’t need to worry
about this if you’re just going to use
VAC as a single virtual audio cable
between SDR# and DREAM. It automatically sets itself up as ‘Virtual
Audio Cable 1’ during the installation.
If you want to confirm that it has
done this, just go into Start -> Control Panel -> Hardware and Sound ->
Device Manager -> Sound, Video and
Game Controllers, and you should see
‘Virtual Audio Cable 1’ listed.
Next, it’s a good idea to plug the USB
cable from SiDRADIO into the USB
port you’re using for it and then fire
up SDR#. Make sure that you have setup SDR# to work with the RTL-SDR/
USB device and that it’s set initially
for AM reception. Then click on the
Play button at upper left. You should
find that when you tune into an AM
signal, you’ll hear its audio coming
from the PC speakers as usual.
Now click on the Stop button at
upper left and look down SDR#’s lefthand control panel until you find the
Audio control area. Here you’ll find the
Output label, with a text box to its right
showing your current audio controller.
When you click on the down arrow
at the righthand end of this text box,
you should see another option with a
name like ‘Virtual Cable 1’ or ‘[MME]
Virtual Cable 1’ – see Fig.2.
Click on Play again and you’ll see
SDR# begin scanning once again.
There will be no sound coming from
the PC’s speakers because the audio
output from SDR# will now be going
into VAC’s virtual audio cable. So
the silence shows that VAC has been
installed correctly and is ready to do
its job.
siliconchip.com.au
Fig.5: you'll need to fire up SDR# before running the DREAM application to demodulate tuned DRM30 signals. This screen
grab shows the two applications running on a Windows 7 desktop.
Just before you move on to install
DREAM, click on SDR#’s Stop button
and then change its audio output back
to the usual ‘sound card’ setting for
SDR reception. This makes it easier
to search for DRM30 signals, after
DREAM has been installed. Also click
on the USB radio button in the Radio
area at the top of SDR#’s lefthand control panel, so that it becomes SDR#’s
demodulation mode (you can see the
button with a green dot in Fig.2).
Next, move down to the text box
just under the label ‘Filter bandwidth’
(in about the centre of the Radio area),
click in this text box and type in 10000,
as shown in Fig.2 as well.
You will now have set up SDR# for
DRM30 reception, apart from switching its audio output over to VAC and
DREAM once you have found and
tuned in a DRM30 signal. That will
be easy to do later, so for the present
just close down SDR# by clicking on
its red Exit button at top right.
Getting & installing DREAM
Now you can download and install
DREAM, the second item of software
needed for DRM30 reception. Doing
this is more complicated because for
copyright reasons, one component
of DREAM cannot be included in or
with it before downloading. It must
be downloaded separately from a difsiliconchip.com.au
ferent website and then added to the
same folder as the rest of DREAM.
This ‘secret’ component is faad2_
drm.dll, which as the name suggests
is an application extension. It’s a very
important one in fact, because it’s the
MPEG-4 HE-AAC v2 codec which
DREAM needs to decode DRM signals.
The first step is to download the
rest of DREAM, from the www.sourceforge.net URL shown in the Useful
Links panel. You’ll find the latest
version of it there as a zip file, with a
name like Dream-1.17-qt4.zip and a
file size of about 12.8MB (ie, that’s the
name and size of the latest version at
the time of writing).
Download the zip file and unzip it
into a suitable folder on the same PC
you’re using for SDR#. I suggest you
create a folder with the name like C:\
Program Files\Dream\, for example.
You’ll probably need administrator
privileges to do this, especially with
Windows 7.
Once all of the files have been
unzipped into this folder, you’ll find
the DREAM app itself in the folder as
Dream.exe. You might want to create
a shortcut icon on your desktop, with
this exe file as its target. You’ll then
be able to launch DREAM at any time,
simply by clicking on the shortcut.
Before you do this, you need to
download that all-important faad2_
drm.dll file containing the HE-AAC2
v2 codec in pre-compiled form. In
order to download this file you’ll need
to go to the URL shown in the Useful
Links box – the one at the website
www.mega.co.nz with the weird and
wonderful 53-character codeword.
If you go directly to this website
you’ll need to type this full codeword
into your browser very carefully (with
no spaces) or it won’t work and you
won’t be able to download the file.
There is another way to get to it
though, if you find it just too hard to
type it in successfully. That’s to go to
the fourth URL given in the first section
of our Useful Links box – the one at
www.rtl_sdr.com, leading to a tutorial
on using an rtl-sdr to receive DRM.
If you open this tutorial (which
has a lot of useful information, by the
way), you’ll find on about the third
page a paragraph of text about the
faad2_drm.dll, and towards the end
of this paragraph there’s a link called
‘this megaupload link’. If you click on
this link, it’ll take you directly to the
correct download page of the www.
mega.co.nz website, as shown in Fig.3.
You should then be able to download the faad2_drm.dll file just by
clicking on the large red down arrow
in the centre.
Once you have downloaded the
faad2_drm.dll file, it’s simply a matNovember 2013 67
Fig.6: when DREAM is started, it initially has a blank
display, with a level meter to the left.
ter of copying it into the folder where
you have already installed DREAM (eg,
C:\Program Files\Dream\). Then
when you fire up DREAM, it will be
able to find the HE-AAC2 V2 codec it
needs for decoding DRM30 signals.
So that’s the procedure for acquiring
and installing the additional software
needed for using your SDR set-up to
receive DRM30 signals. Now we can
discuss what’s involved in using it
with the SiDRADIO.
Receiving a DRM30 signal
To paraphrase an old saying, the
first step in receiving a DRM30 signal
is to find one. And as noted in our
general article about DRM elsewhere
in this issue, DRM signals are not that
easy to find at present in our region of
the world.
You should refer to the table shown
in Fig.4 of that article and use it to
guide you in searching for one of the
signals at the frequency and broadcasting time shown in the table. Here are a
few tips to make things easier:
(1) Make sure that the LF-HF input of
Fig.7: select these various menus to configure DREAM to
use the demodulated DRM30 audio from SDR#.
your SiDRADIO is connected to the
best HF antenna you can organise – a
long wire mounted as high as possible
outside the house would be ideal. An
active indoor loop antenna might work
but then again it might not.
(2) Initially, you should use SDR#
with its Audio output switched to the
PC’s sound card, with its demodulation mode set to USB (upper sideband)
and its Filter bandwidth to 10kHz, as
noted earlier.
(3) When you are looking for a known
DRM30 signal, set the receiving frequency of SDR# to a figure 5kHz
lower than the listed frequency for
that signal. That’s because the listed
frequency is the centre frequency of
the DRM30 signal block but in upper
sideband mode we have to set SDR#’s
‘local oscillator’ to the bottom of the
signal block – which is in most cases
10kHz wide.
This is shown the screen grab of
Fig.4, where SDR# is set to receive
a DRM30 signal from NZRI centred
on 15.720MHz. SDR#’s receiving frequency is 15.715MHz, as shown by the
Fig.8: this screen
grab shows a
typical display
in DREAM when
a DRM30 signal
in tuned. In this
case, the station is
RNZI and DREAM
indicates that
the signal has a
sampling rate of
15.48kps and was
encoded in mono
using the AAC+
codec. The signal
strength is also
shown.
68 Silicon Chip
larger digits just above the spectrum
display window.
In the centre of the spectrum display
itself, you can see two vertical red cursor lines – one at the lefthand end of
the DRM30 signal block corresponding
to SDR#’s tuning frequency and the
other in the centre of the block where
I had positioned the mouse cursor to
show the centre frequency just before
capturing the screen grab.
(4) When you have managed to find a
DRM30 signal like that shown in Fig.4,
use the tuning and RF gain controls
of the SiDRADIO to achieve the best
possible signal level – using both
the spectrum analyser and waterfall
displays of SDR# to guide you. The
idea is to set SiDRADIO’s RF gain to
about 60% and then carefully adjust
its in-band tuning control until you see
the noise+signal level rising as high
as possible on the spectrum display.
(5) Next, turn up the RF gain control
until the 10kHz-wide band on the
waterfall plot becomes as dense as possible, showing that the DRM30 signal
is at the highest possible strength. You
should end up with a display rather
like that in Fig.4.
At this stage, you will only be hearing a hissing sound from the speakers
because the audio output from SDR#
is still going ‘that-away’. So now you
have found a DRM30 signal, stop SDR#
temporarily while you redirect its audio output to Virtual Audio Cable 1.
To do this, click on the down arrow
at the end of the Output text box in
SDR#’s Audio area and select ‘[MME]
Virtual Cable 1’ (as shown in Fig.2).
Then click SDR#’s Play button to restart
it again. You will now be hearing nothing, since DREAM is not running as yet.
siliconchip.com.au
Next, fire up DREAM. Note that
SDR# must be running before you
do this and it must also be running
all the time you are using DREAM,
because DREAM needs SDR# to provide its demodulated DRM30 signals
for decoding.
You will also need SDR#’s displays
to guide you in making any adjustments that may be needed to optimise
DRM30 reception. So you’ll find it
best to have both applications visible
on your desktop, arranged as shown
in Fig.5. As you can see, the SDR#
display is at upper right on the screen,
while DREAM’s smaller display is at
lower left.
Driving DREAM
When you start DREAM, you’ll see a
largely blank display like that shown
in Fig.6, with a small level meter bar
chart at centre left and a single message
‘Scanning . . .’ in blue in the centre of
the black quadrant at upper left.
You then need to configure DREAM
to take its input signal from the VAC
virtual cable, ie, use the demodulated
DRM30 audio coming from SDR#.
Click on the Settings menu head to get
the drop-down menu shown in Fig.7,
then click on the Sound Card listing at
the bottom of this menu to get a flyout
sub-menu offering a choice of options:
Signal Input or Audio Output.
Clicking on Signal Input will produce another flyout menu with three
options: Device, Channel and Sample
Rate. Click on Device to see a further
flyout menu allowing you to choose
between [default], Virtual Cable 1 or
the name of your PC’s sound card.
At this point, your DREAM display
should be as in Fig.7, with the above
chain of menus. The sound card of the
PC concerned is at the bottom of the
final flyout list, called ‘SoundMAX
Digital Audio’. However, the centre
item here is Virtual Cable 1, which is
highlighted and ticked to show that it
has been selected as the input device.
This is the main step in setting up
DREAM, although if you wish you
can click on the Sample Rate item in
the second-last flyout, to check that
DREAM is set for an input sampling
rate of 48kS/s. If not, select that rate.
You can also go back to the first flyout and select Audio Output, to check
that DREAM is also set up correctly to
feed its own decoded digital audio out
to your PC’s sound card DACs. If that’s
also true, you have now set up DREAM
siliconchip.com.au
Fig.9: the virtual audio cable driver (VAC) must be set to transfer digital audio
samples at up to the same rate as SDR#, ie, 48kS/s. That's done by starting VAC’s
control panel app and checking that the figures for the ‘SR range’ (given in the
summary line for Cable 1) are ‘22050..48000’.
correctly so that it’s ready to roll.
The small level meter display at
lower left in the black quadrant of
DREAM’s display should be displaying a green bar at least halfway up. If
it’s not up this far, go back to SDR#’s
display dialog and move the Audio
Volume slider to the right a little, until
the meter in DREAM does show a green
bar extending up this far.
Now if the DRM30 signal you’ve
tuned to is strong enough, DREAM
should whirr away for a few seconds
and then announce that it has recognised a DRM30 signal. Its display
should look like Fig.8, where the
things to note are the information in
the black quadrant showing that it
has found an RNZI signal from New
Zealand with a program in English,
encoded using the AAC+ codec (AKA
HE-AAC V2), in mono and with a data
rate of 15.48kbps.
This information is also shown more
briefly in the top row of the lower half
of DREAM’s display, labelled as ‘1’.
The other three rows are blank because
the DRM30 signal concerned only had
one service at the time.
Note also that green bar of the level
meter at lower left of the black quadrant is about 3/4 of the way up, showing that the strength of the DRM30
signal being received is fine. Finally,
note the row of three green bars just
below the level meter. These show
that the received signal quality is also
quite good (although varying a bit, as
revealed by the word ‘Varied’ in red
alongside).
You should also be hearing the
decoded DRM30 audio via your PC’s
speakers. This will be the final confirmation that your DRM30 reception
set-up is working correctly.
Troubleshooting
But what if you were unable to get
this far, for some reason? Here are some
troubleshooting tips:
You need to make sure that SDR#
is set for sampling at 48kS/s. You can
Useful Links
(1) For more information about DRM and decoding it via RTL-SDR:
www.drm.org/wp-content/uploads/2013/09/DRM-guide-artwork-9-2013-1.pdf
en.wikipedia.org/wiki/Digital_Radio_Mondiale
en.wikipedia.org/wiki/High-Efficiency_Advanced_Audio_Coding
www.rtl-sdr.com/tutorial-drm-radio-using-rtl-sdr/
sourceforge.net/apps/mediawiki/drm/index.php?title=RTL2832U_Guidance
(2) Websites for downloading Virtual Audio Cable (VAC):
software.muzychenko.net/vac.htm
download.cnet.com/Virtual_Audio_Cable
(3) Website for downloading DREAM, the DRM Receiver application:
sourceforge.net/projects/drm/files/dream/
(4) Website for downloading precompiled faad2_drm.dll:
https://mega.co.nz/#!m5RUHIDQ!SqcGUBSGMFSTAm09XX78RDYRoIJW0T
545QQRJ_dFuE
November 2013 69
What About Direct Sampling?
A few readers have contacted us
since we described the HF Up-Converter for DVB-T dongles in the June 2013
issue, asking us about an alternative
‘direct sampling’ approach to achieving
LF-HF reception. Details of this approach have appeared on a number of
websites, with a particularly informative
one to be found using this URL:
www.rtl-sdr.com/rtl-sdr-directsampling-mode/
Basically, the direct sampling approach involves surgery on the PCB
inside the dongle – see Fig.12:
(1) Break one of the two differential
digital signal paths linking the outputs
of the E4000/FC0013/R820T tuner IC
and the inputs of the RTL2832U COFDM
demodulator IC.
(2) Connect an HF antenna to either
one or both of the freed differential
inputs of the RTL2832U, either directly
or via a suitable HF balun. This allows
the RTL2832U to sample the HF signals
from the antenna directly, without needing an up-converter to shift them up into
the VHF tuning range of the tuner IC.
Apart from the need to perform quite
delicate surgery on the very small PCB
of most DVB-T dongles, this approach
is relatively straightforward. That’s because the developers of SDR# made
provision for it to accept direct sampling
from either the ‘I branch’ or the ‘Q branch’
inputs of the RTL2832U chip, instead of
the usual ‘quadrature sampling’ mode
used when the tuner IC is still in use.
Note: if you open SDR#’s Configure
dialog for the RTL-SDR/USB dongle in
use and click on the down arrow at the
end of the text box below the Sampling
Mode label, you’ll find these other sampling options.
So if you don’t mind the challenge of
microsurgery on a tiny DVB-T dongle
PCB, this direct sampling approach
might be worth a try. Here’s how to do it:
The differential inputs of the RTL2832U chip use pins 1 & 2 (for the I+
and I- inputs) and pins 4 & 5 (for the
Q+ and Q- inputs). In most DVB-T dongles, these pins are connected to the I+,
I-, Q+ and Q- output pins of the tuner
chip, via tiny SMD coupling capacitors.
The easiest way to break one of these
two differential links is to cut the tracks
on the PCB between one pair of these
coupling capacitors and the outputs of
the tuner chip. For example, you can
follow the tracks from pins 1 & 2 of the
RTL2832U chip (the I+ and I- inputs)
to find the coupling capacitors for the
‘I’ channel, and then carefully cut the
tracks leading from these capacitors
back to the tuner chip outputs.
Alternatively, you can follow the tracks
from pins 4 & 5 of the RTL2832U chip
(the Q+ and Q- inputs) to find the ‘Q’
channel coupling capacitors and then
cut the tracks leading from these capacitors back to the tuner chip outputs.
This isn’t as easy as it might sound but
it turns out to be easier and safer than
trying to remove one pair of capacitors
from the PCB – because trying to remove them usually results in lifting their
solder pads as well, together with some
of the tracks leading to them.
It’s also difficult trying to solder wires
directly to pins 1 & 2 (or 4 & 5) of the
RTL2832U. The pins on this chip are
very closely spaced, making bridging
between them almost inevitable.
So our suggestion is to cut the tracks
between the coupling capacitors and
the tuner chip, but leave the coupling
capacitors in place because it’s easier
to solder wires to the RTL2832U ends
of the capacitors than to try soldering
check this simply by looking closely at
the Sample Rate text box in the Audio
area of SDR#’s lefthand control panel,
where you should be able to see 48000
sample/sec displayed in light grey.
If not, stop SDR# and exit from it,
and then use a text editor application
like Notepad to open the file SDRSharp.exe.Config, which you’ll find
in the C:\Program Files\SDR# folder
on your hard disk (or whichever folder
you’ve used to install SDR#).
If you look down through this file,
you’ll see a series of lines starting with
<add key= , followed by a text string
in quotes and then a parameter value.
Find the line which starts like this:
<add key="minOutputSampleRate"
This line should continue and end
like this:
value="48000" />
If it doesn’t, edit the line so that it
looks exactly like this:
<add key="minOutputSampleRate"
value="48000" />
Make sure you copy this line exactly,
noting where the spaces are and where
there are no spaces. Also make sure
the line begins with the ‘<’ character
and ends with the ‘/>’ combination
and save the file again, Now when
you start up SDR#, it should display
48000 sample/sec in its Audio Sample
Rate text box.
You also need to make sure that the
virtual audio cable driver (VAC) is
set for transferring digital audio samples at up to the same rate of 48kS/s.
You can do this by starting up VAC’s
control panel app and checking that
the figures for the ‘SR range’ given
in the summary line for Cable 1 (in
the lower dialog box – see Fig.9) are
‘22050..48000’.
If the maximum figure is not 48000,
you can change it by typing this number into the second text box in the top
row of the ‘Cable parameters’ area at
upper right.
If you’re sure that SDR#, VAC and
DREAM can communicate at the sam-
70 Silicon Chip
BALUN
TO HF
ANTENNA
SOLDER WIRES FROM BALUN
TO ENDS OF COUPLING
CAPS ON RTL2832U SIDE
I+
VHF
ANTENNA
INPUT
TUNER CHIP I–
(E4000, FC0013
OR R820T) Q+
X
X
Q–
1
2
4
5
USB
PLUG
I+
I–
Q+
Q–
REALTEK
RTL2832U
DEMODULATOR
CUT TRACKS BETWEEN COUPLING
CAPACITORS & TUNER CHIP PINS
Fig.12: here's how to modify a DVB-T dongle for direct sampling of LF-HF
signals. You have to cut two signal lines from the tuner chip & connect an
HF antenna to the freed differential inputs of the demodulator.
siliconchip.com.au
them to the pins of the chip itself.
Luckily, even if you damage the PCB
trying to make this mod to the ‘I channel’
(pins 1 & 2) inputs of the RTL2832U chip,
all is not lost because you can try again
with the ‘Q channel’ inputs (pins 4 & 5).
And SDR# is just as happy doing direct
sampling via the Q channel/branch as
it is doing it via the I channel/branch.
But is this direct sampling approach
worth doing? To find out, I modified
one of our dongles and tried it out. The
results were quite good for AM reception on the LF and MF bands, with the
antenna coupled into the RTL2832U
chip directly via a small balun.
I then tried using the front end of the
SiDRADIO to provide some RF gain and
preselection ahead of the RTL2832U
and checked this hybrid approach on the
shortwave bands. The results were not
too bad up to about 9MHz but there were
all kinds of ‘birdies’ and other interference when tuning to higher frequencies.
My impression was that there was
quite a bit of cross-modulation from the
28.8MHz clock oscillator in the dongle,
causing some of these problems.
So overall, I can recommend the direct sampling approach if you just want
to use a spare DVB-T dongle for SDR
reception of the local AM radio signals.
But for more serious reception on the
shortwave bands, our Up-Converter or
SiDRADIO would be far superior.
And don’t forget that once you’ve
operated on a dongle to try out the direct
sampling approach, it would probably
be almost impossible to convert it back
for VHF-UHF reception using the tuner
chip.
pling rate of 48kHz, yet you still don’t
seem to be able to receive a DRM30
signal properly, the most likely cause
is that you are not able to receive
DRM30 signals at a high enough level
to allow reliable decoding.
If this is what is happening, look
carefully at the upper black quadrant
of DREAM’s display – and in particular
at the signal level meter and the three
rectangular ‘LEDs’ just below it. You’ll
probably see the green signal level bar
only extending up by less than half
the range and one or more of the three
signal quality indicators either dark or
red – indicating that DREAM simply
doesn’t have enough to work on.
siliconchip.com.au
Fig.10: if the System Evaluation dialog displays 'No audio decoding' possible, then
signal strength & quality is the likely problem (ie, the signal strength is inadequate
for reliable decoding).
Fig.11: the System Evaluation dialog can also display the decoded constellation
diagrams for the received DRM30 signal’s FAC, SDC and MSC data channels.
To explore this further, click on
the View menu heading at the top of
DREAM’s display dialog and then click
on the 'Evaluation Dialog . . .' line in
the drop-down menu. This will cause
a System Evaluation dialog to be displayed, like the one shown in Fig.10.
If the white window on the right is
virtually empty and has the legend
‘No audio decoding possible’, then
signal strength and quality is almost
certainly your problem.
You can also click on the FAC/SDC/
MSC line in the Constellation section
of the Chart Selector list at centre
left of the System Evaluation dialog.
You’ll then see DREAM’s display of
the decoded constellation diagrams
for the received DRM30 signal’s FAC,
SDC and MSC data channels, plus a
lot of other data as shown in Fig.11.
Above the constellation diagram,
you’ll see a vertical column of six display ‘LEDs’, each with its own label.
Basically, you won’t achieve good
decoding of a DRM30 signal unless all
six of these indicators are GREEN. Even
if the lowest five indicators are green
and only the top indicator labelled
‘MSC CRC:’ is red (as shown in Fig.11),
you still won’t get good decoding and
SC
reception.
November 2013 71
Highly accurate, low cost alcohol analysis . . .
ALs
AL
sCOLYSER
You’ve probably seen a few breath alcohol monitors
in the past but this one is quite different – this
simple system measures the amount of alcohol in
the drink before it ever reaches your mouth (or
stomach (or kidneys, or whatever!).
It determines the percentage of alcohol
in any drink with two very important
parameters: high accuracy and low cost.
Compare it with commercial units
costing tens of thousands of dollars!
by Allan Linton-Smith
The components
of Al’s Alcolyser: a
Digitech Fuel Cell
Alcohol Tester with supplied
mouthpieces (Jaycar QM7302), a
heated Travel Mug (Jaycar GH1301),
an accurate thermometer (or a thermocouple
and DMM), a caulking gun nozzle and some lengths
of plastic tube. The 12V power supply at left is for the Travel
Mug, while the Digitech electronic scale at rear (Jaycar QM7264)
is for accurately weighing the alcoholic drink sample and water.
72 Silicon Chip
ABOUT THAT NAME:
Well, it is an alcohol analyser
designed by Al . . .
so what else would you call it?
siliconchip.com.au
N
ot only is it easy to build, it
works with all drinks (many
analysers only work with specific drinks) and it also works over a
very wide range – from no alcohol at
all (0%) right through to nearly pure
alcohol (95%).
And it can even be used to calibrate
one of those cheapie breath alcohol
analysers as well, so you can be pretty
much assured that when that is telling
you you’re still under the limit, you
ARE under the limit.
One word of warning: if you do happen to earn the attention of the boys in
blue, don’t try to use this as evidence
in a court, because it won’t impress the
magistrate one little bit. As they say
in all good disclaimers, it’s for educational and/or entertainment purposes
only and no responsibility for its use
or consequences of its use will be accepted by the management . . .
Having said that, if you’re accurate
with your samples and temperature,
the accuracy of this simple system will
be right up there with the big boys!
Introduction
This unit uses fuel cell technology
(see panel) to evaluate the alcohol
content of drinks. Not only is it accurate but it is $0000’s cheaper than
most alternatives.
You might think there’s a zero or two
too many there but that’s the amount of
money you’d need to spend on a commercial equivalent (and then spend a
fortune to keep it calibrated).
Not only will it assist makers and
consumers of wines, spirits, liqueurs,
mixers, RTDs (ready-to-drink beverages) and cocktails, it may be used by
those seeking to identify alcohol in
beverages when it is not wanted!
For example, we tested a “lemon,
lime & bitters” (a commonly-ordered
“non alcoholic” drink), bought over a
bar, and this indicated that it contained
over 1% alcohol (from the Angostura
bitters, which contain 44.7% alcohol!).
Our system is quick, easy and
requires minimal training. Part of it
uses a commonly available fuel-cell
meter and a temperature-controlled
travel mug (which heats the sample
to the required temperature) while the
rest is easy to build, requiring only a
drill and a few pieces from your local
hardware store!
How do you measure alcohol?
If you’ve ever dabbled with maksiliconchip.com.au
BREATHE
INTO HERE
(ALCOHOL FREE BREATH!)
MOUTHPIECE
(ALL DIMENSIONS
IN MILLIMETRES)
THERMOMETER
(OR THERMOCOUPLE
AND DMM)
EXIT TUBE
ASSEMBLY
GOES INTO
HOLE AFTER
THERMOMETER
REMOVED
10mm PVC OR
NEOPRENE
FLEXIBLE TUBING
5mm DIAM
x 150 LONG
HEATSHRINK
TUBING
165
105
BREATH TUBES
(SUPPLIED WITH
BREATH ANALYSER)
155
LIQUID
UNDER
TEST
THIS END INSERTS INTO
JAYCAR BREATH ANALYSER
5.0
THERMOSTATICALLY
CONTROLLED TRAVEL MUG
ing home brew, we can hear you saying “that’s easy, just use an alcohol
hydrometer.” But it’s not quite that
simple.
Those instruments are perfectly
good for beer and even wine and
pure spirits. But what if you have to
measure drinks which are a mixture
of alcohol & sugars or juices – such
as “mixers” (eg, a bourbon and cola),
RTDs, ports, liqueurs and cocktails?
Or what if you want to check the
teenagers’ (theoretically non-alcoholic!) fruit punch that might have
some – ahem – surreptitiously added
“extras”? A hydrometer simply won’t
work at all!!
The problem is that sugars add to the
density of a drink. A hydrometer used
for beer and wine works on densities
lower than water but sugars in drinks
are greater than water.
Once you have any significant
amount of sugar in an alcoholic
beverage, your hydrometer becomes
basically useless.
The measurement of alcohol content
is often a problem for makers of fortified wines such as port, sherry, RTDs
and liqueurs or any alcohol which
contains sugars.
Microdistillation
One of the methods used for determining alcohol content relies on micro
This graphical representation of the
photo at left shows how the pieces fit
together to analyse alcohol content.
distillation, where a predetermined
test sample is put into a still and the
condensed alcohol is weighed. This
has to be done by trained personnel
and is expensive!
One of our contacts in the liquor
industry recently paid $14,000 for an
automated instrument of this type!
Other techniques such as infrared
spectroscopy are also very expensive,
typically $25,000 and they have a limited range – you need at least two of
these instruments to cover 0-20% and
20-60% alcohol, whereas ours covers
0-95% alcohol.
Those instruments are extremely
accurate, down to 0.02% and if calibrated correctly will stand up in court.
They are highly recommended if you
have $50,000 to spare!
But if you want something 300 times
cheaper you may want to consider our
setup which is typically accurate to
±0.5% – maybe not accurate enough
for a court of law but more than accurate enough for most users.
How it happened
Necessity being the mother of invention, we wanted to help a friend who
makes wines and other beverages so he
could quickly check the alcohol in his
liqueur, which contained a lot of sugar.
He wanted to know how many
“standard drinks” was in a bottle. (We
November 2013 73
Here’s a close-up
of the heart of
the system, the
Digitech (Jaycar)
QM7302 Breath
Analyser. The
opaque circular
piece at the top
is actually the
breath tube into
which you blow
to get a reading
of blood alcohol
content (%BAC).
We’re using it
in a different
manner than the
manufacturer
intended!
make no comment about his readiness
to allow us to sample his wares. . .)
Accurate breath analysers, incorporating fuel cells are readily and
fairly cheaply available. We thought
we might try the one offered by Jaycar
(QM7302 <at> $119.00) to see if we could
determine the alcohol content of various beverages.
We reasoned that if you bubbled
some (sober) breath through a warm
test sample (body temperature) and
measured the outcome, you would be
able to calculate the alcohol content.
Providing you knew the concentration of that sample you would be able
to convert the reading to the percentage of alcohol by volume (ABV).
It worked well – in fact, much better
than we expected… so here it is!
How it works
This project uses the fuel cell alcohol tester combined with the Jaycar
GH-1301 thermostatically controlled
travel mug (to accurately set the temperature), connected by a short tube.
The operation is very simple: a 1-4g
sample of an unknown alcoholic beverage is made up to 200ml with water
and is placed in the travel mug, which
is set to reach a temperature of 39-40°C
Once the sample solution reaches
40°C you blow into the mouthpiece,
bubbling air through the liquid and
then read the blood alcohol content
(%BAC) from the fuel cell breathalyser.
By referring to a conversion chart
you will be able to convert a %BAC
74 Silicon Chip
reading to %ABV (alcohol by volume)
for your test sample.
Naturally the dilution of the test
sample has to be in the range of the
breath tester which is specified at
0.00-0.4%.
So you will have to make a weaker
solution for strong alcoholic drinks
(1g/200ml) and stronger solutions for
weak drinks (4g/200ml) and then just
read off the chart for that particular
concentration.
We took quite a few measurements
using the Jaycar unit with various
alcoholic solutions to establish the
conversion chart and were happy that
it was accurate and more importantly,
the results were repeatable.
Some losses will occur mainly in
the exit tube where there may be some
condensation. Most of it will be water
but a tiny amount of alcohol is lost
(distillers call this the “angels’ share”).
We could heat the tube to prevent
condensation but we feel this is not
necessary and will complicate the
project.
Those of you who wish to use the
device in the tropics need not worry
too much but may find problems if you
live in Antarctica or high on Everest’s
slopes!
Keeping the exit tube short helps
considerably and we have set up the
chart using a standardised length of
tube because a longer tube will incur
higher losses.
It is easier to take measurements
with a longer exit tube but the results
will be unreliable.
Parts List –
Alscolyser
1 fuel cell alcohol breath tester
(eg, Jaycar QM7302)
1 heated travel mug
(eg, Jaycar GH-1301)
1 105mm length of 10mm PVC or
Neoprene tubing
1 unused caulking gun nozzle
1 150mm x 5mm diameter heatshrink
tubing
1 laboratory (mercury) thermometer
(or thermocouple and DVM)
1 accurate digital scale
(eg, Jaycar QM-7264)
1 12V 3A power supply (with lead and
RCA plug to connect to travel mug)
or use a 12V car battery with the
lighter plug lead which is included
with the travel mug.
Other applications
You can also use the setup to check
and/or calibrate other breath testers.
Many of these are not accurate or they
have changed with age, abuse (or simply don’t work at all!).
If you are using a personal breath
tester, we urge you not to rely on it
before you drive, unless you have had
it checked. Better still just don’t drink
and drive at all!
Even wall-mounted units in pubs
and clubs can be way off unless they
are frequently calibrated according to
the manufacturers’ instructions. (Once
again, that’s why they have those disclaimers!).
We checked a $10 unit and at 0.05%
it gave a reading of 0.04%, and at
0.06%, a 0.0% result – so don’t trust
them!
Calibration for these devices is usually done by putting a standardised
alcohol solution, usually 0.38% ABV
(alcohol by volume), in a calibrating
vessel at 38-40°C.
Then the operator blows into it bubbling air into this standardised mixture
which feeds to the breathalyser via a
short tube.
You can check the 0.05% level by
weighing 2.5g scotch plus 197.5g
water.
We have to hope that the operator is
not too drunk otherwise the machine
will be set incorrectly and will always
read too low! In fact, this applies just
as much to our system – any alcohol
in the operator’s breath will obviously
skew the results.
So beware – there is no guarantee
that any breath analyser, large or small
is correct. Unless, of course, it is one
in one of those vans with flashing red
and blue lights – these are regularly
calibrated and are declared (by law) to
be scientific instruments which means
you can’t argue with their results.
To calibrate another breathalyser
you can compare a reading from the
Jaycar unit to the breathalyser under
test.
You should try different concentrations of alcohol because one reading
is really not enough to verify that it
is working.
Some breath analysers do not have
provision to fit a tube and you only
need blow over the top of it for a few
seconds. To check these you will only
need to aim the exit tube to the receptor and keep it very close.
siliconchip.com.au
This method is also used by various
Police departments to check their hand
held breathalysers and they use rather
expensive devices to do this!
As an aside, this device would have
been very handy a couple of decades
ago when a certain teenager (who must
remain nameless, Craig) developed a
taste for his father’s Jim Beam. Said
father never did work out why said
JB tasted so “weak” until many years
later, son admitted to father that he
used to refill the bottle behind the
bar with water to mask his nefarious
activities.
So if you think your drinks are
being “watered down” at your pub
or club, here’s the way to accurately
check them!
Construction
Cut a piece of tubing to the specified length of 105mm and fit a plastic
mouthpiece (supplied with the Fuel
Cell Alcohol Tester) to each end. Two
mouthpieces are provided with each
breath tester and you can purchase
extra ones separately if needed.
Drill two 7mm holes in the lid of
the mug as per the diagram and seal
the slider with some insulation tape.
One of these holes does double duty
– it’s used for both a thermometer (or
thermocouple) and (when at the right
temperature) for the outlet tube.
Many thermometers and thermocouples will also fit through the outlet
tube anyway, so if yours does the outlet
tube can be left in situ.
Then fit 165mm of 5mm diameter
heatshrink tubing over the end of the
caulking gun nozzle and push it into
one of the holes.
Push your thermometer (or thermocouple) into the other hole.
You are now ready to calibrate and
test!
Operating and calibrating
We have made things pretty easy by
doing all the calculations and conversions for you but we do recommend
a check to ensure the breath tester is
working correctly.
Firstly warm it up by blowing
directly into it to check if the tester
reads zero.
Obviously, you need to be absolutely
stone cold sober for this, otherwise you
will have to wait until you zero it. And
if you remember that your body only
“loses” 0.015% of blood alcohol per
hour, that could be a rather long wait!
siliconchip.com.au
Breath Analysis: the players
There are three major types of breath alcohol testing devices, each based on different
principles. Regardless of the type, each device has a mouthpiece, a tube through which
the person blows air and a sample chamber where the air goes to be analysed.
Older style “Breathalyzer”# – Uses a chemical reaction involving alcohol that produces a colour change
Intoxilyzer – Detects alcohol by infrared (IR) spectroscopy
Alcohol Sensor – Detects a chemical reaction of alcohol in a fuel cell
Breathalyzer
The Breathalyzer device contains:
• A system to sample breath
• Two glass vials containing the chemical reaction mixture
• A system of photocells connected to a meter to measure the color change associated with the chemical reaction
The breath sample is bubbled in one vial through a mixture of sulphuric acid, potassium dichromate, silver nitrate and water. Sulphuric acid removes the alcohol from the
air into a liquid solution and the alcohol reacts with potassium dichromate to produce
chromium sulphate, potassium sulfate, acetic acid and water.The silver nitrate is a catalyst
which makes accelerates the reaction without participating in it. During this reaction, the
reddish-orange dichromate ion changes color to the green chromium ion when it reacts
with the alcohol; the degree of the color change is directly related to the level of alcohol
in the expelled air. To determine the amount of alcohol in that air, the reacted mixture
is compared to a vial of unreacted mixture in the photocell system, which produces a
voltage proportional to the colour change which is calibrated for alcohol concentration.
Intoxilyzer
This device uses infrared (IR) spectroscopy and identifies molecules based on the
way they absorb infrared light.
The various bonds within molecule absorb IR at different wavelengths. In ethanol
the bonds (C-O, O-H, C-H, C-C) absorb the IR light at different wavelengths and these
wavelengths help to identify the substance as ethanol and the amount of IR absorption
tells you how much ethanol is present.
A lamp generates a broadband (multiple-wavelength) IR beam, which passes through
the sample chamber and is focused by a lens onto a spinning filter wheel which contains
narrow band filters specific for the wavelengths of the bonds in ethanol. The light passing through each filter is detected by the photocell, where it is converted to an electrical
pulse and then is relayed to a microprocessor which calculates the BAC based on the
absorption of this filtered infrared light.
In general, the larger table-top units found in Police stations and in some “booze bus”
installations are IR spectroscopy types.
FUEL cell type
Modern fuel-cell technology (the same as which may power our cars and even our
houses some day) has been applied to breath-alcohol detectors. Devices like the one in
our project use this technology.
The fuel cell has two platinum electrodes with a porous electrolyte material sandwiched
between them. As the exhaled air from the breath flows past one side of the fuel cell,
the platinum catalyses the oxidation of any alcohol in the air to produce acetic acid and
in the process moves electrons across the electrolyte.
A voltage is generated between the two electrodes proportional to the amount of
alcohol and this is measured and converted to BAC by a microprocessor.
The protons move through the lower portion of the fuel cell and combine with oxygen
and the electrons on the other side to form water.
# “Breathalyzer” is the registered brand name and trademark of a particular manufacturer (specifically Dragerwerk AG, a German conglomerate). However, like many words in
our language, it has become synonymous with a wide range of breath analysis devices.
We are using the name in this context.
November 2013 75
0.25
CONVERSION CHART FOR JAYCAR QM-7302
FUEL CELL BREATH TESTER
0.2
EXAMPLE:
4g/200ml sweet wine – 0.11% BAC
measures 7.4%
0.15
BREATH
TESTER
READING
%BAC
at 40°C
0.1
0.05
% ALCOHOL BY VOLUME
0
0
0
0
2.5
5
10
5.0
10
20
Then connect the breath tester to the
exit pipe making sure that all connections are secure.
If you have a balance or electronic
scale which is accurate to 0.1g, weigh
out exactly 1.0 gram of scotch whiskey
(blended scotch is always 40% ABV;
you may also use vodka or brandy as
long as the strength is 40%) and make
this up to 200g with water. Ideally, that
would be pure or distilled water but
in most circumstances, ordinary tap
water will be satisfactory.
Note that “normal” kitchen scales
will not be good enough unless they
are accurate to one gram. To maintain
sample accuracy with one gram scales
you should multiply everything by ten
(eg, 10g/2litres).
The Jaycar QM7264 digital scales
we used have a resolution of 0.01g.
Place the alcohol/water mixture
in the travel mug and hook it up to a
power source (12V/3A) or to the 12V
cigarette lighter socket in your car and
set the temperature to 40°C (104°F).
When the sample has reached 40°C
on your separate thermometer you can
pull the plug out because the mug may
exceed the dialled in temperature.
Conversely, if it doesn’t reach 40°C
you may need to set it to a higher
temperature.
You may wish to leave the mug in
its default mode which shows °F, in
which case you can do all your measurements at 100°F
Every time you remove power to the
mug, all settings will be lost.
(Every mug will be different so you
may need to set it a bit higher if it
76 Silicon Chip
7.5
15
30
10
20
40
12.5
25
50
15
30
60
won’t go to 40°C.)
The mug we used is fairly well
insulated so it will maintain the temperature for a few minutes, enough to
do two or three repeats. For accuracy,
you must check the temperature of the
sample between tests with a separate
thermometer such as a digital thermometer or glass thermometer because
the mug is only designed to heat coffee
– it is not super accurate.
Bear in mind that if it is too hot or too
cold your readings will be incorrect.
Follow the instructions provided
with the QM7302 alcohol tester and
warm it up as recommended.
When everything is ready and the
tester beeps for you to “blow” hold
down the button and blow gently and
Do’s and don’ts
• DO read all the instructions which
accompany the tester and the mug.
• DON’T switch on the mug without
liquid
• DO remember temperature is important, so keep the sample as close to
40°C as is possible
• DO give the breath tester time to
recover after four samplings
• DO dry the mug and tubes before
adding the sample
• DO accurately weigh the sample and
water – weigh 1g (or 2g or 4g) then
add water to 200g – ie, 1g sample
+199g water
• DO measure the sample immediately –
if it sits too long alcohol will evaporate.
17.5
35
70
20
40
80
22.5
45
90
SAMPLE
4.0g
2.0g
1.0G
steadily into the mug for six seconds
or until you hear a second beep. Don’t
blow too hard or you may risk blowing
big droplets into the tester.
If all is well, you should get a reading close to 0.20%.
Jaycar’s specifications indicate that
the accuracy of this tester is ±0.008%.
Our measurements of alcohol were
typically accurate to ±0.5%, which is
almost good enough for establishing a
wine alcohol label!
The conversion chart shows how to
calculate the %ABV of a beverage from
a %BAC reading on the Jaycar unit for
1, 2 or 4 gram samples in 200g water.
Note that we have specified grams
of water here instead of the usual “ml”
because you are weighing the sample
on the scale, not measuring it by volume. Of course, 200ml of pure water
will weigh 200g.
Examples
Example 1: a 4.0 gram test sample of
sweet white wine, labelled 8.0%,
gave an average reading of 0.11% so
tracing down we will get a measurement of 7.8% ABV. (yellow line)
Example 2: a 1.0 gram sample of an
unknown spirit gave a reading of
0.215% and again tracing down we
get 70% ABV – quite a strong spirit!!
If you have no idea what the approximate alcohol content is then do
a rough reading using 1g and then
increase it to 2g or 4g to get higher
readings (and hence more accuracy)
on the breath tester.
You may need to do a few practice
runs to be sure, to be sure!
SC
siliconchip.com.au
The Ultimate In
Benchtop Soldering.
With Curie-Heat Technology for
rapid heat up & incredible
temperature regulation
- eliminating component damage
from overheating.
TMT-9000S-2
Thermaltronics® 40W RF Induction
Soldering Station
Revolutionary new soldering station design uses special alloy tips
for incredibly fast start up time (under 10s) & heat regulation.
Cartridge tip design eliminates the need for ceramic elements. Dual
switchable outputs for use with extra handle. Includes 1.5mm
chisel tip for soldeirng between 350° and 398°. Higher temperature
tips available - up to 475°C.
Thermaltronics® are widely used in the medical industry for
servicing sensitive equipment.
T 2020
Add on tips to suit your application...
T 2025 0.5mm Conical Tip.
T 2029 1.5mm Chisel Tip.
T 2034 5.0mm High Temp. Chisel Tip.
More options available - check online.
Check out the YouTube
demonstration video at
the Altronics website.
25.95ea
$
550
$
Consumables for the electronics workbench.
Maintain & Repair
Your Iron Tips
These tip tinners
maintain your soldering iron tips for best
performance! T 1326
model suits regular
tip maintenance,
whilst the T 1328
heavy duty is for recovery of blackened
oxidised tips.
Disperses flux residue
from recently soldered
boards and components. Suits leaded
and lead free use.
Leaves no residue.
300gm.
Removes oil,
grease, dirt and
resin based flux
from boards. Great
for servicing!
420ml.
12.50
$
T 3155
11.95
$
11.95
$
T 3140 300gm
T 1326 Light Duty
T 1328 Heavy Duty
H 1621
Quality Desoldering Braid
7.6 metre rolls! Draws molten
solder away from joins.
Part
ONLY
0.64mm
T 1211
$18.95
1.27mm
T 1213
$18.95
1.9mm
T 1215
$19.50
2.54mm
T 1217
$22.95
3.18mm
T 1219
$23.25
Size
Flux Remover
Circuit Board
Cleaner Spray
Also available in 5 litre tins.
Contact Cleaner
Suitable for cleaning
all non-arcing
contacts, edge
connectors and
switch mechanisms.
Fantastic for
cleaning noisy pots.
350g.
T 3160
15.95
$
75
$
Big 1kg bulk buy!
Silicon Potting
Compound
Seal in circuits
from moisture and
dust. Also provides impact protection. Easy 1:1
mix ratio. 1kg.
H 1650A
12.95
$
SMD ‘Easy Soldering’ Flux Gel
Halogen free flux gel for long term
reliability and ease of soldering. Suits
normal and lead free reflow soldering
processes. 10g syringe.
Available from Altronics & Dealers Around Australia
» Springvale VIC: 891 Princes Hwy » Auburn NSW: 15 Short St » Perth WA: 174 Roe St
» Balcatta WA: 7/58 Erindale Rd » Cannington WA: 6/1326 Albany Hwy
siliconchip.com.au
© Altronics 2013. E&OE. Prices stated herein are only valid for the current month or until stocks run out. All prices
include GST and exclude freight and insurance. See latest catalogue for freight rates. All major credit cards accepted.
H 1640
11.95
$
Leaded Solder Paste
Ideal for use in PCB assembly, prototyping and reflow soldering. 12-14
hour tack line. Meets Bellcore and
IPC requirments. 10g syringe.
Order Today: 1300 797 007
or shop online 24/7 at www.altronics.com.au
November 2013 77
SiDRADIO: an integrated
SDR using a DVB-T dongle
. . . incorporating a tuned RF preselector/amplifier, an
up-converter & coverage from “DC to daylight”
Last month, we introduced our SiDRADIO communications receiver
and described the circuit and PCB assembly. This month, we show
you how to make and fit the various metal shields and complete the
construction by installing it all in a plastic instrument case.
Pt.2: By JIM ROWE
A
S STATED last month, the PCB
assembly and its companion
DVB-T dongle are housed together in
a low-profile ABS instrument case.
Since the case itself provides virtually no EMI shielding (apart from new
front and rear panels which are made
from double-sided PCB laminate), the
fairly high sensitivity of the front-end
circuitry means that extra shielding
must be added to achieve an acceptable level of performance.
In fact, three separate shields are
necessary: (1) a small vertical shield
in the front centre of the PCB (see Fig.6
78 Silicon Chip
in Pt.1 and the internal photos), (2)
a lower horizontal shield and (3) an
upper horizontal shield.
Fig.10 shows the details for the
small vertical shield. It’s made from
0.8mm-thick sheet aluminium or tinplate which is first cut to size and then
bent up in a small bench vise.
A 3.5mm hole near the front of the
mounting flange allows this end to be
secured under the PCB’s front-centre
mounting screw, while a second hole
(at the rear) lines up with a matching
hole near the centre of the PCB.
Once this shield has been made,
secure it to the PCB via its rear mounting hole using an M3 x 9mm machine
screw, lockwasher and nut (feed the
screw up from underneath the PCB).
This not only secures the shield in
place but also ensures that it is connected to the PCB’s earth copper.
Fig.11 shows the dimensions and
cutting details of the lower horizontal
shield but note that this diagram is
drawn half size (50%) for space reasons. This shield is cut from 0.25mm
copper foil or tinplate and requires
a small semicircular cut-out near its
front centre, to provide clearance for
siliconchip.com.au
196
20
134
26
19
3.5mm HOLE
(LINES UP WITH
HOLE NEAR
CENTRE OF PCB)
56
38
ALL DIMENSIONS IN MILLIMETRES
LOWER SHIELD – MATERIAL 0.25mm COPPER FOIL (OR TINPLATE)
70
59
(SCALE: 50%)
UPPER SHIELD IS 195 x 150mm RECTANGLE OF BLANK PCB LAMINATE (OR TINPLATE)
Fig.11: the lower horizontal shield is cut from 0.25mm-thick copper foil
or tinplate and requires a semi-circular cutout as shown so that it clears
the tuning knob. Note: diagram drawn to 50% scale.
3.5mm HOLE
(LINES UP WITH
MOUNTING
HOLE IN FRONT
CENTRE OF PCB)
6
10
the tuning knob (note: PCB laminate
material is too thick for the bottom
shield).
When it has been cut to shape, this
shield can be fitted inside the bottom
of the case and secured using doublesided foam tape. Note that, depending
on whether the case comes from Jaycar
or Altronics, it may be necessary to
cut away a number of central pillars
using side-cutters or a chisel, so that
they don’t foul the shield.
Note also that you must leave a small
area of exposed copper (or tinplate)
near the lower lefthand (front) corner
so that you can solder a short length
of hookup wire to it. The other end
of this wire is then later connected to
the GND terminal pin (TPG2) in that
corner of the main PCB.
The upper horizontal shield is
simply a rectangle measuring 195 x
150mm and is cut from either blank
PCB laminate or tinplate. This is secured inside the top of the case using
double-sided foam tape. As with the
bottom shield, you need to solder a
short length of hook-up wire to it, this
time at the left rear (ie, roughly above
siliconchip.com.au
Fig.10 (left): here’s how to bend and drill the vertical shield
that’s mounted on the main PCB. It’s bent up from 0.8mmthick sheet aluminium or tinplate.
CON3). This wire is subsequently used
to connect the top shield to the PCB
earth copper via TPG3.
Front and rear panels
Although the case is supplied with
ABS front and rear panels, they cannot
be used here as they don’t provide any
shielding. Instead, these panels are
replaced with custom panels made
from doubled-sided PCB material.
These PCB front and rear panels (code
06109132 and 06109133) are available
from SILICON CHIP (see our website)
and are supplied pre-drilled with
red solder masking and silk-screened
lettering for a professional finish (see
photos).
Both panels also have a solder pad
at one end (on the inside) so that they
can be connected via short lengths of
hook-up wire to the adjacent earth
(TPG) pin on the main PCB. This, together with the added shields, ensures
adequate RF shielding for the sensitive
front-end circuitry.
Preparing the case
The upper half of the case needs no
preparation at all, apart from fitting
the upper shield as described earlier.
However, as stated above, it may be
necessary to cut away some central
pillars on the lower half of the case.
In addition, it’s necessary to remove
a 30.5mm long section of the ribs on
either side of the front-panel mounting slot, to provide clearance for the
tuning knob. This can done using a
hand-held rotary tool after first marking the section to be removed, using
the front panel as a guide.
Just remove enough material from
the ribs to bring them down to the same
level as the inside bottom of the case.
Adjusting the rotary switch
Before fitting rotary switch S2 to the
front panel, you first need to trim its
shaft to about 9mm. It then needs to
be converted from a 6-position switch
to a 5-position switch.
That’s done by first rotating the
switch fully anticlockwise and removing the mounting nut and lock-washer.
The indexing plate is then lifted up
and replaced with its pin going into
the hole between the ‘5’ and ‘6’ digits
November 2013 79
Silicon Chip
Binders
REAL
VALUE
AT
$14.95
*
PLUS P
&P
Are your copies of SILICON
CHIP getting damaged
or dog-eared just lying
around in a cupboard or
on a shelf? Can you quickly find a particular issue
that you need to refer to?
Keep your copies
safe, secure and
always available
with these handy
binders
These binders will protect your
copies of S ILICON CHIP. They
feature heavy-board covers & are
made from a dis
tinctive 2-tone
green vinyl. They hold 12 issues &
will look great on your bookshelf.
H 80mm internal width
H SILICON CHIP logo printed in
gold-coloured lettering on spine
& cover
H Complete with wire rods to hold
12 issues.
Order online from www.
siliconchip.com.au/Shop/4
or call (02) 9939 3295 and
quote your credit card number or mail the handy order
form in this issue. *See
website for overseas prices.
80 Silicon Chip
moulded into the switch body.
Check that the switch now has five
positions, then fit a flat washer over
the indexing plate, followed by the
lock-washer. The switch can then be
fitted to the front panel and secured
with its mounting nut.
Once the switch is in position,
cut 12 x 40mm lengths of light-duty
hook-up wire (eg, from a short length
of multi-colour ribbon cable). Remove
about 5mm of insulation from the ends
of each wire, lightly tin the bared ends
and solder two of these wires to the
centre (rotor) lugs on the rear of the
switch. The other 10 wires should
then be soldered to outer lugs 1-5 and
7-11 – see Fig.6 in Pt.1.
Note that these digits are moulded
into the rear of the switch and you
must solder each one to its corresponding number on the PCB (the
switch diagram in Fig.6 is representative only). The rotor connection lugs
are identified as ‘A’ and ‘C’ (the latter
going to the “rotor B” pad on the PCB).
The rear panel carries the two
antenna sockets and has a cutout
to provide access to the USB socket.
Note the two earth leads running
from TPG2 to the rear of the front
panel and to the bottom horizontal
shield. Note also that the mounting
screw used to secure the central
shield near transformer T1 is
fed up from the underside of
the PCB.
Final assembly
Now for the final assembly. The first
step here is to mount the PAL/Belling
Lee socket (CON4) on the rear panel.
This must be fitted with its earth lugwasher, lock-washer and nut on the
inside and orientated so that the earth
lug is at the same level as the rear centre pin. The earth lug must also be to
the right of the centre pin, as viewed
from inside the case (see Fig.6 in Pt.1).
Next, remove the mounting nut
from HF input socket CON3, leaving
the lock-washer in place, then fit the
rear panel over CON3. That done, refit
the mounting nut but don’t tighten it
up fully at this stage. Adjust the panel
so that CON4’s centre pin rests on its
rectangular connection pad on the top
of the PCB just to the rear of RLY1.
The front panel can now be fitted to
the main PCB assembly. First, remove
VR1’s mounting nut but leave the
lock-washer in place, then attach the
panel with VR1’s shaft, LED1 and toggle switch S1 all passing through their
matching holes. VC1’s tuning knob
should also be protruding through its
clearance slot, while the body of rotary
switch S2 should be just resting on the
top of the PCB.
Once it’s in place and lined up
correctly, fit a flat washer to VR1’s
threaded ferrule and then refit its
mounting nut to hold it all together.
The completed assembly can then be
lowered into the case, with the front
and rear panels slipping down into the
matching slots on either side.
During this procedure, make sure
that the end of the earthing wire for
the lower shield is accessible, down
at the front lefthand corner.
Once it’s in place, check that the
main board is seated properly, then
fit the 10 4-gauge x 6mm self-tapping
screws to secure the PCB inside the
case. These screws all mate with
the small mounting pillars that are
moulded into the bottom of the case.
Note that the screw in the front centre position on the PCB also passes
through the front hole of the vertical
shield plate.
The next step is to solder all the
wires from the rear of rotary switch
S2 to their correct terminal pins on the
PCB. It’s just a matter of matching the
pin numbers and letters on the switch
to those on the PCB.
Earthing wires
Next, solder the end of a short piece
of hook-up wire to the earth pad on the
back of the front panel (near S2), then
solder the other end of this wire to the
siliconchip.com.au
adjacent PCB earth pin (TPG2). The
wire from the lower shield should then
also be connected to TPG2. This connects both the front panel and lower
shield to the main PCB’s earth copper.
Similarly, connect TPG3 to the earth
pad just to the right of CON3 on the
rear panel. That done, connect CON4’s
earth lug to its PCB pad using a short
length of tinned copper wire.
The assembly can now be completed
by fitting the control knobs to band
switch S2 and to RF gain pot (VR1) and
then plugging in the DVB-T dongle.
Fitting the DVB-T dongle
As shown in Fig.6 in Pt.1, the DVBT dongle fits into the cut-out at the
righthand end of the PCB, with its USB
plug mating with CON2 at the rear. If
necessary, it can be further secured using hook and loop material (eg, Velcro)
attached to the underside of the dongle
and to the bottom of the case.
The DVB-T dongle’s RF input is
connected to the PCB via a 100-120mm
length of 75Ω coaxial cable fitted with
a PAL/Belling Lee plug (or whatever
plug is needed for your dongle) at one
end. The other end is simply stripped
siliconchip.com.au
and the centre conductor and screening braid soldered to the appropriate
PCB pins.
By the way, if your dongle came
with one of those el-cheapo baby
whip antennas, you can make use of
its antenna cable to avoid having to
make up a new one. Simply cut the
cable about 120mm from the dongle
plug end and connect this end to the
terminal pins on the PCB.
In fact, this is the best way to go if
your dongle uses a small MCX connector for its RF input.
Initial checkout
Your completed SiDRADIO is now
ready for initial testing. All that’s
necessary to do this is to move toggle
switch S1 to its upper position and
then connect CON1 to your PC via a
standard USB cable (ie, with a USB
type A plug at the PC end and a USB
type B plug at the SiDRADIO end).
Provided you have already installed
the RTL-SDR driver and an SDR application like SDR# (see the May 2013
article), Windows should recognise
the dongle as soon as the USB cable
is plugged in. Assuming that’s the
case, connect a suitable VHF/UHF
antenna to CON4 of the SiDRADIO
and fire up SDR#. You should now be
able to see any VHF-UHF signals that
are being picked up by the dongle in
the usual way, ie, just as if the dongle
were plugged directly into the PC’s
USB port.
If all goes well, click on SDR#’s
STOP button and switch on the
SiDRADIO using power switch S1.
Check that LED1 turns on, then check
the output from the DC-DC converter
(IC2) by measuring the voltage between ‘TP 12V’ and ‘TPG4’ on the
PCB (these two test points are just to
the right of the vertical shield plate).
You should get a reading of close
to 12.5V when gain control VR1 is
turned fully anticlockwise, dropping
to around 12.0V when VR1 is turned
fully clockwise.
You should also check the voltages at
the input and output of REG1, located
November 2013 81
Terminal pin TPG3 (to the right of
CON3) is connected to the earth pad
on the rear panel using insulated
hook-up wire, while a second lead
(shown here as the blue wire floating
at one end) must be connected from
TPG3 to the top horizontal shield.
just to the rear of T2. The voltage on its
input pin (on the right) should be very
close to 5.0V, while the output pin (on
the left) should be very close to 3.3V.
If these voltages all measure OK, the
SiDRADIO’s front-end LF-HF circuitry
is probably working correctly. If so,
connect a suitable LF-HF antenna to
CON3, use rotary switch S2 to select a
suitable band (say Band 3, 1-3.4MHz),
and set RF gain pot VR1 to mid-way.
That done, click on the small box just
to the left of the ‘Shift’ label in SDR#
on your PC and set it to make allowance for the 125MHz up-conversion.
Finally, click on SDR#’s ‘Play’ button
again to resume operation.
You should now see a spectrum
display of LF-HF signals and if you
set SDR# to scan in that part of the
spectrum centred on about 1.0MHz,
you should see a number of signal
peaks corresponding to various AM
radio stations. Then if you select one
of these peaks, you should be able to
tune it for maximum signal by nudging
the SiDRADIO’s tuning knob one way
or the other.
Note that the tuning is fairly broad
and not at all critical.
Note also that if the signal you wish
to tune is near the top of the band, you
may need to adjust the small trimmer
capacitors on VC1 to their minimum
settings (ie, fully unmeshed). They’re
easily accessed through small holes
in the top of VC1 and can be adjusted
using a small screwdriver or alignment tool.
You should now find that advancing RF gain control VR1 produces an
obvious effect on SDR#’s display. In
fact, if you turn VR1 up to ‘full bore’,
this may well cause the signal peaks to
rise above the overload level. In most
situations, you’ll rarely need to turn
the RF gain up that far.
Finishing up
There are no further adjustments
and the operation should now be quite
intuitive. All that remains is to solder
the end of the wire from the upper
shield plate copper to terminal pin
TPG3 on the main PCB (near CON3),
after which you can fit the top half of
the case into position and secure it
using the four supplied screws.
You May Need To Install
.NET Framwork 2.0
SOFTWARE DEFINED RADIO, May 2013:
a reader has discovered that the SDR
software combination (Zadig + RTL-SDR
+ SDR#), as described in the May 2013
article, would not run on a PC with Windows XP (SP2) but would run on another
Windows XP/SP2 machine.
The solution was to install Microsoft
.NET Framework 2.0 and reboot.
Newer operating systems may come
with this preinstalled. If you do need to
install Microsoft .NET Framework 2.0, it
can be downloaded from the internet. Note
that this note also applies to the SiDRADIO.
You should also fit four adhesive
rubber feet to the bottom of the case,
so that it won’t scratch any surface it’s
placed on.
With the unit completed, you’re
now free to explore the LF, MF & HF
bands in the same way that you’ve
been exploring the VHF and UHF
bands. And of course, you can return
to exploring the VHF and UHF bands
at any time simply by switching the
SiDRADIO off and clicking again on
the box just to the left of SDR#’s ‘Shift’
label to de-activate the 125MHz frequency offset.
Finally, note that an article on using
the SiDRADIO to receive DRM (Digital
Radio Mondiale) broadcasts in the
shortwave bands is featured elsewhere
SC
in this issue.
Australia’s Lowest Priced DSOs
Shop
On-Line
at
emona.com.au
Now you’ve got no excuse ... update your old analogue scopes!
Whether you’re a hobbyist, TAFE/University, workshop or service
technician, the Rigol DS-1000E guarantee Australia’s best price.
RIGOL DS-1052E 50MHz
RIGOL DS-1102E 100MHz
50MHz Bandwidth, 2 Ch
1GS/s Real Time Sampling
512k Memory Per Channel
USB Device & Host Support
100MHz Bandwidth, 2 Ch
1GS/s Real Time Sampling
512k Memory Per Channel
USB Device & Host Support
ONLY $
Sydney
Melbourne
Tel 02 9519 3933
Tel 03 9889 0427
Fax 02 9550 1378
Fax 03 9889 0715
email testinst<at>emona.com.au
82 Silicon Chip
Brisbane
Tel 07 3275 2183
Fax 07 3275 2196
362
Adelaide
Tel 08 8363 5733
Fax 08 8363 5799
inc GST
Perth
ONLY $
Tel 08 9361 4200
Fax 08 9361 4300
web www.emona.com.au
439
inc GST
EMONA
siliconchip.com.au
PRODUCT SHOWCASE
Dynalink mobile phone
battery bank, FM radio
and Bluetooth speaker
Here’s a highly versatile product
that’s sure to be a hit with anyone using a Bluetooth mobile phone.
In one unit, you get:
• a Bluetooth-connected extension speaker
(and phone extender)
• an auto-seeking FM radio
• a phone charger/battery bank with up to
16 hours operation
• an audio playback unit (from micro SD
cards)
• a hands-free phone for in-car use
That’s one handy little device! After
pairing with your Bluetooth phone in
the normal way, you can not only play
any music stored in the phone but you
also have a full hands-free remote for
your mobile phone calls, which complies with legal requirements. And if
you want it, there’s also an FM radio
built in.
The 2400mAh inbuilt lithium-ion
battery will keep your phone powered
for up to 16 hours, recharging your
phone’s battery as it goes. It can supply
up to 1000mA <at> 5V.
The battery recharges
from any standard or mini
USB socket (cable included) and the
unit accepts micro SD/TF cards to allow “stand alone” audio. Along with
the two 3W speakers, there’s a standard 3.5mm headphone socket – very
handy for use with phones that have
oddball sockets but offer Bluetooth
connectivtity.
It’s small enough to fit in your
pocket at 70 x 125 x 27mm.
The Dynalink D2030 is available
through all Altronics stores and re-
Weller WPA2 Butane Powered
Soldering
Torch
This gas-powered soldering
torch from Weller
is ideal for portable
applications where mains power is either not available
or convenient (power leads across a workshop etc). The
pushbutton piezo ignition uses its own energy to create
a spark and light the torch. The Butane tank will last for
three continuous hours of soldering. Replacement Weller
filtered butane gas BR200 is available for under $11. It
comes standard in a sturdy metal case complete with a
WPT- 2, 2mm chisel soldering tip and a WHC-52, 4.9mm
diameter hot blow tip for heat shrinking. Replacement tips
are readily available for around $13.
At around $185 it
is cheap insurance Contact:
if you are out at sea Apex Tool Group Pty Ltd
or miles from any- 519 Nurigong St, Albury NSW 2640
where travelling in Tel: (02) 6058 0300 Fax: (02) 6021 7403
Website: www.apextoolgroup.com.au
a vehicle.
siliconchip.com.au
sellers. It normally has
a recommended retail price of $74.95
but (just in time for Christmas!) it is
currently on special at $69.95
Contact:
Altronic Distrbutors Pty Ltd
PO Box 8350, Perth Busn Centre, WA 6849
Order Tel: 1300 780 999 Fax: 1300 790 999
Website: www.altronics.com.au
HobbyKing’s
Electric 3D
Helicopter
Kit
When it comes
to helis, size does
matter. The bigger
they are, the better
they fly!
Following current trends, the Assault 700 from HobbyKing uses a DFC (Direct Flight Control) rotor head which
provides crisp, precise flight control with a very low parts
count and easy setup. The DFC rotor head design brings
the rotor disc closer to the main frame, moving the center
of gravity closer to the middle of the heli. This provides
better flight characteristics and more agility allowing for
the ultimate in extreme 3D flight performance!
The Assault 700 DFC is mostly pre-built requiring only
a few hours for final assembly, electronics installation and
setup. The bare kit
(no electronics or Contact:
main rotor blades) HobbyKing
Website: www.hobbyking.com
sells for $214.99
November 2013 83
Test Equipment Review . . .
Gratten GA4063 3GHz Spectrum
& GA1484B 4GHz Signal Generat
The GA4063 Spectrum Analyser features a large colour
LCD and has a basic frequency range from 9kHz to 3GHz.
If you’re in the market for a spectrum analyser or a signal generator
capable of working at the frequencies used by mobile phones,
cordless phones, WiFi networking and so on, don’t restrict your
search to instruments from the USA or Europe. These two new units
from Atten Instruments in China are most impressive in terms of
performance, build quality and value for money.
N
OT LONG AGO, it was almost a
foregone conclusion that if you
wanted a top-quality test instrument,
you had to go to one of the ‘big name’
design and manufacturing firms in the
USA or Europe. And when you found
what you were looking for, you’d end
up paying the proverbial ‘arm and a
leg’ to buy it and get it delivered to
your benchtop.
But things started to change when
84 Silicon Chip
the big US and European firms began
to get their instruments manufactured
in China, to their own designs. Before
long, the Chinese firms acquired a great
deal of expertise from contract OEM
manufacturing, allowing them to expand into designing and manufacturing their own instruments. Soon they
emerged as full-scale global players in
the test instrument market, with brand
names competing directly with those
long established in the US and Europe.
As a result, we now have an expanded range of test equipment makers to
choose from, together with the benefits
of stronger competition in the market,
including prices held in check.
The two instruments being reviewed
here are excellent examples of this.
They are both from Shenzen Atten
Electronics Co Ltd in Shenzen PRC,
which has been producing test instrusiliconchip.com.au
Analyser
or
Review by JIM ROWE
ments for some years using the brand
name “Atten Instruments” but is now
using the name “Gratten Technology”.
But enough preamble – let’s take a look
at the two instruments.
GA4063 Spectrum Analyser
Physically, this is the smaller of the
two, housed in a compact portable case
measuring 400 x 210 x 136mm (W x
H x D) and weighing 7kg. It’s only a
little larger than many of the current
portable DSOs, yet offers a surprising
range of features. For example, there’s
a colour LCD panel with a diagonal
dimension of 212mm and a display
resolution of 800 x 480 pixels.
But that’s only the start. The basic
frequency range of the GA4063 is from
9kHz all the way up to 3GHz, with a
span which can be varied between
100Hz and 3GHz with a resolution of
1Hz, as well as 0Hz (zero span). The
resolution bandwidth (RBW) can be
varied between 1Hz and 3MHz in 1-310 steps, while the video bandwidth
(VBW) can be varied over the same
range and with the same steps (but not
necessarily locked together).
An interesting feature is that the
GA4063 has triggered operation with
zero-span mode. This means that it can
be used like an RF oscilloscope and
can capture pulse patterns in bursts
such as in car key-fobs etc. In addition,
for narrow-band sweeps, it can operate
in FFT mode with a small resolution
bandwidth. This means that intermittently occurring signals anywhere in
the band are captured.
The GA4063 has an input attenuator
range of 0-50dB, adjustable in 10dB
steps. The maximum safe input level
siliconchip.com.au
The rear panel of the GA4063 carries three ports (USB host, Ethernet LAN &
RS-232C), any of which allow the unit to be operated remotely. Also on the rear
panel are three BNC sockets providing a triggering input, a buffered output from
an internal 10MHz reference and an input for an external 10MHz reference.
is +30dBm (7.07V RMS) with the input
attenuator set for -20dB, for frequencies between 2MHz and 3GHz. There’s
also an input preamplifier, covering
the range between 100kHz and 3GHz.
The analyser’s reference level can be
set to any level between -100dBm and
+30dBm, in 1dB steps (setting resolution 0.01dB).
Input VSWR (voltage standing wave
ratio) is less than 1.5:1 between 10MHz
and 3GHz, with 10dB or 20dB input
attenuation – very good for such a wide
frequency range.
The displayed average noise level
(DANL) for the frequency range
10MHz-2.5GHz is -130dBm with the
input preamp off, dropping to -148dBm
when the preamp is turned on. For the
low end (100kHz-10MHz), the corresponding DANL levels are -120dBm
with the preamp off and -130dBm with
it turned on. Similarly, for the high end
(2.5GHz-3.0GHz), the DANL figures
are -120dBm with the preamp off and
-140dBm with it turned on.
Typical phase noise with 10kHz offset from a 500MHz carrier is quoted as
less than -95dBc/Hz, falling to below
-100dBc/Hz at an offset of 100kHz and
to lower than -120dBc/Hz for an offset
of 1MHz.
All of this is pretty impressive
and compares very well with similar
instruments from US and European
makers, costing much more.
Other nice features include a very
flexible graphical user interface with
a choice of ‘hard’ function buttons,
‘soft’ button menus, with a keypad or
a rotary control to adjust settings; the
ability to set up to four measurement
markers; the ability to save traces,
settings or screen images to internal
flash memory; a ‘file manager’ which
allows any of these files to be copied
to a flash drive plugged into the frontpanel USB port and the ability to operate the GA4063 remotely via any of
three ports on the rear panel – a USB
host port, an Ethernet LAN port or an
RS-232C serial port.
Also on the rear panel are three BNC
connectors which provide a triggering input for the GA4063, a buffered
output from the internal 10MHz frequency reference and an input for an
external 10MHz reference.
The GA4063 is also available with
an optional Tracking Generator, with
its output made available at a second
N-type socket on the front panel. The
Tracking Generator has a frequency
range from below 2MHz to 3GHz, with
an output level which can be varied
between 0dBm and -25dBm in 1dB
steps. The output impedance is 50Ω,
the same as the input impedance of
the analyser itself.
Power consumption of the GA4063
is typically 24W from any 100-240V
AC mains supply (50-60Hz).
The GA4063 comes with a User
Manual, a Programming Manual, a
power cable and a small plastic tool
box containing a range of useful accesNovember 2013 85
The GA1484 Signal Generator features a large LCD panel to display the
operating parameters. Its RF output can be adjusted anywhere from 250kHz
to 4.0GHz with a resolution of 0.1Hz and is set using the keypad or varied
using the rotary control at top right.
sories: a number of N-type to BNC and
SMA adaptors, an SMA-SMA coupler,
three signal cables with SMA connectors on each end, a signal cable with
BNC connectors on each end, a LAN
jumper cable, a small whip antenna
with SMA connector, two mains fuse
cartridges and an 80mm CD-ROM with
its labelling in Chinese – so I can’t be
sure of the contents. It may provide
a driver for interfacing the GA4063
with a PC.
GA1484 Signal Generator
The signal generator is somewhat
larger than the analyser, measuring
around 425 x 450 x 145mm (W x D x H)
and weighing around 10kg. Clearly, it’s
intended to be located on a benchtop,
rather than lugged around for mobile
testing. But like the GA4063, it offers a
very impressive range of features along
with performance of a high order.
For a start, there’s a TFT-LCD panel
measuring 178mm (seven inches) diagonally and used to display many of
the operating parameters, along with
the legends for the ‘soft’ function buttons just to the right of the display.
There’s a keypad and a rotary control
to input frequency, output amplitude
and other parameters, plus eight ‘hard’
function buttons which are used to select RF output frequency, output level,
modulation mode and level and so on.
86 Silicon Chip
A further three buttons on the left
select local/remote control, call up a
preset configuration or ask for help
(via the GUI). Three more buttons on
the right control the RF Output (on/
off), modulation (on/off) and the LF
output (on/off).
The main RF output is via a standard
N-type female connector at lower right,
while the internal LF modulation oscillator’s output is also made available
at upper right via a BNC connector.
Before we leave the externals, there
are no fewer than eight BNC sockets
on the rear panel of the GA1484, with
functions as follows: 10MHz internal
timebase output, 10MHz external
timebase input, external trigger input,
sweep signal output, external pulse
modulation input, internal pulse
modulation output, external analog
modulation input and internal trigger
signal output.
Also on the rear panel are the mains
power input, a USB type B host connector, an Ethernet LAN connector and
a GPIB connector. The last three are
for remotely controlling and programming the GA1484 from a PC or other
network controller.
It’s in terms of performance that the
GA1484 is particularly impressive.
Its RF output can be set to any figure
from 250kHz right up to 4.0GHz, with
a resolution of 0.1Hz and a stability of
better than ±1ppm for the ‘A’ version,
or ±0.1ppm for the ‘B’ version. The
frequency can be set directly using
the keypad or varied from the current
setting using the rotary control.
The RF output level can be set to
any figure between -127dBm (100nV)
and +13dBm (1.0V), with a resolution
of 0.01dB and an accuracy of better
than ±1dB. The RF output is via an Ntype socket on the front panel, with an
output impedance of 50Ω and a rated
VSWR of below 1.8:1. The output level
can be set in a range of units: dBm,
dBµV, mV, µV, mVemf or µVemf.
The rated SSB phase noise level at
20kHz offset from a 1GHz carrier is less
than -105dBc/Hz for the ‘A’ model, and
less than -115dBc/Hz for the ‘B’ model.
The residual FM with zero modulation
(CW) is less than 30Hz peak for the ‘A’
model and less than 10Hz peak for the
‘B’ model; this is for a 1GHz carrier
and a bandwidth from 300Hz to 3kHz.
There are four basic modulation
modes: AM, FM, phase modulation
and pulse modulation. In each of these
modes, the modulating signal can be
sourced from either an internal LF
generator or an external source via one
of the rear panel connectors.
When the internal LF generator is
used for AM modulation, the modulation depth can be adjusted to any
level between 0% and 100%, with a
siliconchip.com.au
resolution of 0.1%. The modulation
frequency can be adjusted to any
value between 20Hz and 20kHz, with
a rated distortion of less than 2%
when modulating a carrier of 0dBm to
a modulation depth of 80% at 1kHz.
For frequency modulation, the frequency deviation range can be adjusted
between 20Hz and 100kHz, while the
modulation frequency can be adjusted
between 20Hz and 80kHz. Rated distortion with a modulation rate of 1kHz and
a deviation of 50kHz is less than 1%.
For phase modulation, the modulation frequency can be varied between
300Hz and 20kHz. The phase offset
range can be set between 0 and 10
radians with a modulation rate of below 10kHz, or between 0 and 5 radians
for modulation rates between 10kHz
and 20kHz. Rated distortion with a
modulation rate of 1kHz and an offset
of 5 radians is less than 1.5%.
For pulse modulation, the pulse
width can be adjusted between 400ns
and 2s, while the pulse period can be
varied between 1μs and 2s. The modulation rise and fall times are rated as
less than 60ns, while the carrier on/
off ratio is greater than 60dB.
As well as these standard functions,
the GA1484 offers another very useful
facility: frequency sweeping. Here too
it’s very flexible, giving you the ability
to set the start and stop frequencies, the
output power/amplitude at both the
start and end of the sweep (separately),
the number of ‘dwell’ points between
the two (2 - 100+), and the dwell time
at each point (minimum 1ms).
The spacing can be set to be either
linear or logarithmic. It’s also possible
to sweep through a list of designated
frequencies, instead of a series of
regularly-spaced points.
The GA1484 is supplied with a User
Manual, a Programming Manual and
a power cable.
Fig.1: this screen grab from the Gratten GA4063 Spectrum Analyser shows the
“raw” output spectrum from the 125MHz crystal oscillator in the ‘LF-HF UpConverter For SDRs, as published in June 2013. Note the harmonics up to 1GHz.
Fig.2: the same signal after filtering, before it is fed into the mixer chip. Note
that all harmonics have been attenuated below the -60dBm level.
Trying them out
Thanks to Gratten Technology’s
Australian representatives, Trio Test &
Measurement, we were able to check
out both instruments at the same time.
As a result, we were able to use the
GA4063 to check the performance of
the GA1484, at least for frequencies
below 3GHz, as well as using GA4063
to look at a variety of other signals – eg,
from WiFi routers, 2.45GHz cordless
phones and other devices.
We could also use it to check the
harmonics of the 125MHz crystal
siliconchip.com.au
Fig.3: here the GA4063 Spectrum Analyser is showing the output from the
GA1484 Signal Generator, with the latter set to 920MHz and an output level of
-127dBm (= 100nV).
November 2013 87
The rear panel of GA1484 Signal Generator carries eight BNC sockets: 10MHz internal timebase output, 10MHz
external timebase input, external trigger input, sweep signal output, external pulse modulation input, internal pulse
modulation output, external analog modulation input and internal trigger signal output. Also on the rear panel are a
USB-type B host connector, an Ethernet LAN connector and a GPIB connector, any of which can be used for remotely
controlling and programming the GA1484 from a PC or other network controller.
oscillator in our LF-HF Up-Converter
for SDRs (SILICON CHIP, June 2013) and
also the performance of the LC filter
we used to ‘clean up’ the oscillator
output to get better cross-modulation
performance from the balanced mixer.
We were also able to use the GA4063
with its inbuilt tracking generator to
measure the performance of various
cables over the frequency range 9kHz3GHz, as well as that of the UHF input
amplifier stage in one of the prototypes
of the SILICON CHIP 12-Digit Frequency
Counter (December 2012-January
2013). In short, we gave both instru-
ments a fairly thorough work out.
Our basic conclusion is that both
instruments stack up very favourably
against broadly comparable instruments from the hitherto ‘big name’
manufacturers, in terms of both performance and build quality; especially
when you consider their significantly
lower cost.
The only minor criticisms we could
make with regard to both instruments
is the degree of clarity in their User
Manuals, which does leave a bit to be
desired. A few more chapters in each
manual walking you through various
Fig.4: a sweep over the GA4063’s full frequency range, up to 3.0GHz, with the
Tracking Generator output connected directly to the Spectrum Analyser’s input
via a 1-metre length of RG213 cable, with SMA connectors at each end attached
to N-type/SMA adaptors. Some of the loss at the top end is attributable to the
cable and its connectors.
88 Silicon Chip
common measurement set-ups would
certainly not go amiss.
Overall, both instruments are pretty
good in terms of the English clarity
of their GUIs and menu systems. I
noticed only one small transgression
with regard to the GA4063 Analyser,
when the File Manager is used to copy
screen image files saved in its internal
flash memory to a USB memory stick
plugged into the front-panel socket.
During the ‘paste’ operation, a dialog
flashes on the display with all text
displayed in Chinese – just slightly baffling to those of us not fluent in it. After
a while you get used to it, of course.
Similarly, I did notice that when
you are sweeping with the GA1484,
the main frequency display at upper
left on the screen remains fixed at the
last frequency the generator was set
to before sweeping. The start and stop
frequencies are displayed in small
print over on the right next to their soft
buttons. It would be less confusing if
the main frequency display changed
to either the start or stop frequencies
as well.
My only other criticism is that
whereas the GA4063 comes complete
with a little tool box with some handy
cables and adaptors etc, the GA1484
doesn’t even come with a single output
cable. A bit minimalist . . .
You’ll find further information on
either of these instruments at the Trio
Test & Measurement web site, www.
triotest.com.au Or contact them by
SC
phone at 1300 853 407.
siliconchip.com.au
ALL S ILICON C HIP SUBSCRIBERS – PRINT,
OR BOTH – AUTOMATICALLY QUALIFY FOR A
REFERENCE $ave 10%ONLINE
DISCOUNT ON ALL BOOK OR PARTSHOP PURCHASES.
CHIP BOOKSHOP 10%
(Does not apply to subscriptions)
SILICON
For the latest titles and information, please refer to our website books page: www.siliconchip.com.au/Shop/Books
PIC MICROCONTROLLERS: know it all
Multiple authors $85.00
The best of subjects Newnes authors have written over the past few years,
combined in a one-stop maxi reference. Covers introduction to PICs and their
programming in Assembly, PICBASIC, MBASIC & C. 900+ pages.
PROGRAMMING and CUSTOMIZING THE
PICAXE By David Lincoln (2nd Ed, 2011) $65.00*
A great aid when wrestling with applications for the PICAXE
See
series of microcontrollers, at beginner, intermediate and
Review
April
advanced levels. Every electronics class, school and library should have a
copy, along with anyone who works with PICAXEs. 300 pages in paperback. 2011
PIC IN PRACTICE
by D W Smith. 2nd Edition - published 2006 $60.00*
Based on popular short courses on the PIC, for professionals, students
and teachers. Can be used at a variety of levels. An ideal introduction to the
world of microcontrollers. 255 pages in paperback.
PIC MICROCONTROLLER – your personal introductory course By John Morton 3rd edition 2005. $60.00*
A unique and practical guide to getting up and running with the PIC. It assumes no knowledge of microcontrollers – ideal introduction for students,
teachers, technicians and electronics enthusiasts. Revised 3rd edition focuses entirely
on re-programmable flash PICs such as 16F54, 16F84 12F508 and 12F675. 226 pages
in paperback.
OP AMPS FOR EVERYONE
By Bruce Carter – 4th Edition 2013 $83.00*
This is the bible for anyone designing op amp circuits and you don't
have to be an engineer to get the most out of it. It is written in simple language
but gives lots of in-depth info, bridging the gap between the theoretical and the
practical. 281 pages,
PROGRAMMING 32-bit MICROCONTROLLERS
IN C By Luci di Jasio (2008) $79.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.
PRACTICAL GUIDE TO SATELLITE TV
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.
NEWNES GUIDE TO TV & VIDEO TECHNOLOGY
By KF Ibrahim 4th Edition (Published 2007) $49.00
It's back! Provides a full and comprehensive coverage of video and television technology including HDTV and DVD. Starts with fundamentals so is
ideal for students but covers in-depth technologies such as Blu-ray, DLP,
Digital TV, etc so is also perfect for engineers. 600+ pages in paperback.
RF CIRCUIT DESIGN
by Chris Bowick, Second Edition, 2008. $63.00*
The classic RF circuit design book. RF circuit design is now more important
that ever in the wireless world. In most of the wireless devices that we use
there is an RF component – this book tells how to design and integrate in a
very practical fashion. 244 pages in paperback.
PRACTICAL RF HANDBOOK
by Ian Hickman. 4th edition 2007 $61.00*
A guide to RF design for engineers, technicians, students and enthusiasts.
Covers key topics in RF: analog design principles, transmission lines,
couplers, transformers, amplifiers, oscillators, modulation, transmitters and
receivers, propagation and antennas. 279 pages in paperback.
SELF ON AUDIO
by Douglas Self 2nd Edition 2006 $69.00*
A collection of 35 classic magazine articles offering a dependable methodology for designing audio power amplifiers to improve performance at every
point without significantly increasing cost. Includes compressors/limiters,
hybrid bipolar/FET amps, electronic switching and more. 467 pages in paperback.
SMALL SIGNAL AUDIO DESIGN
By Douglas Self – First Edition 2010 $95.00*
The latest from the Guru of audio. Explains audio concepts in easy-to-understand language with plenty of examples and reasoning. Inspiration for audio
designers, superb background for audio enthusiasts and especially where it comes to
component peculiarities and limitations. Expensive? Yes. Value for money? YES! Highly
recommended. 558 pages in paperback.
AUDIO POWER AMPLIFIER DESIGN HANDBOOK
by Douglas Self – 5th Edition 2009 $85.00*
"The Bible" on audio power amplifiers. Many revisions and
updates to the previous edition and now has an extra three
chapters covering Class XD, Power Amp Input Systems and
Input Processing and Auxiliarly Subsystems. Not cheap and not a book
for the beginner but if you want the best reference on Audio Power Amps,
you want this one! 463 pages in paperback.
DVD PLAYERS AND DRIVES
by K.F. Ibrahim. Published 2003. $71.00*
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.
See
Review
March
2010
See
Review
Feb
2004
SWITCHING POWER SUPPLIES A-Z
by Sanjaya Maniktala, Published April 2012. $83.00
Thoroughly revised! The most comprehensive study available of theoretical and practical aspects of controlling and measuring
EMI in switching power supplies.
ELECTRIC MOTORS AND DRIVES
By Austin Hughes & Bill Drury - 4th edition 2013 $59.00*
This is a very easy to read book with very little mathematics or
formulas. It covers the basics of all the main motor types, DC
permanent magnet and wound field, AC induction and steppers and
gives a very good description of how speed control circuits work with these
motors. Soft covers, 444 pages.
AC MACHINES
By Jim Lowe Published 2006 $66.00*
Applicable to Australian trades-level courses including NE10 AC Machines,
NE12 Synchronous Machines and the AC part of NE30 Electric Motor
Control and Protection. Covering polyphase induction motors, singlephase motors, synchronous machines and polyphase motor starting. 160
pages in paperback.
PRACTICAL VARIABLE SPEED DRIVES &
POWER ELECTRONICS
Se
e
by Malcolm Barnes. 1st Ed, Feb 2003. $73.00* Review
An essential reference for engineers and anyone who wishes
to design or use variable speed drives for induction motors.
286 pages in soft cover.
Feb
2003
BUILD YOUR OWN ELECTRIC MOTORCYCLE
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; NZ – $AU12.00 PER BOOK; REST OF WORLD $AU18.00 PER BOOK
PAYPAL (24/7)
INTERNET (24/7)
MAIL (24/7)
PHONE – (9-5, Mon-Fri)
eMAIL (24/7)
FAX (24/7)
To
siliconchip.com.au
November
2013 89
Use your PayPal account
www.siliconchip.
Call (02) 9939
3295 with
silicon<at>siliconchip.com.au
Your order and card details to Your order to PO Box 139
Place
com.au/Shop/Books silicon<at>siliconchip.com.au
Collaroy NSW 2097
with order & credit card details
with order & credit card details (02) 9939 2648 with all details
Your
You can also order and pay for books by cheque/money order (Mail Only). Make cheques payable to Silicon Chip Publications.
Order:
Vintage Radio
By Rodney Champness, VK3UG
Two More Philips Twins: the Australian 123
& Dutch 283A valve receivers
The Australian model 123 and Dutch 283A 5-valve receivers look
almost identical from the outside but that’s where the similarity
ends. Inside the cabinets are two completely different chassis with
different valve types and different circuit configurations.
B
ACK IN 2012, I wrote several articles on a number of John de Haas’s
twin Philips receivers. In each case,
one was from Holland and the other
was made in Australia.
Basically, these were sets that
looked identical on the outside but
their chassis layouts and circuits were
completely different. And so it is with
the two sets described in this article,
the Dutch 283A and its look-alike,
the Australian 123. We’ll also take a
brief look at the 123’s country cousin,
the model 131, which used the same
cabinet as well.
283A and 123 similarities
The 283A and the 123 receivers are
housed in virtually identical cabinets
90 Silicon Chip
measuring 394 x 189 x 251mm (L x D
x H). Both sets weigh about 6.7kg and
both are designed to operate off an
AC mains supply – between 220V and
260V AC in the case of the model 123.
By contrast, the 283A can operate from
110-145V AC or from 200-245V AC.
The only things about these sets that
appear different when viewed from the
front are the knobs and the dial scales.
Even then, the general styling is very
similar (see above photo).
Another Australian Philips set, the
model 131, also looks much the same
as these two. However, it’s quite different internally to both the 283A and
the 123, as it’s a dual-wave 5-valve
battery-operated receiver with an RF
stage. It will not only run off a 745
1.5V battery and two 482 45V batteries in series (or heavy duty versions of
these batteries) but can also run off a
6V vibrator pack or even a 32V home
lighting plant. Now that’s versatile!
Close inspection of the 283A’s cabinet shows that the expected Philips
badge has been replaced with a badge
that says it is a “Siera Aristona”.
The reason for this is that Philips in
Holland made sets that were badged
for other organisations, just as happened in Australia. For example, sets
manufactured by Philips in Australia
could be labelled as “Fleetwood” or
“Mullard”.
Similarly, Astor sets could be labell
ed “Airchief”, “Peter Pan”, “National”,
“Monarch” or “Pye”. And there were
siliconchip.com.au
Fig.1: the Australian model 123 is a fairly
conventional 5-valve superhet receiver that
covers the AM broadcast band only. Valve V1
is the mixer/oscillator, V2 the 1st IF stage &
detector, V3 the 1st audio amplifier stage and
V4 the audio output stage. V5 is the rectifier.
other manufacturers that did the same
thing for small organisations.
Basic specifications
The Dutch 283A is a conventional
5-valve receiver and is similar in some
ways to the Australian multi-band
table/mantel receivers of the late 1940s
and early 1950s. Both the 283A and
the 123 have a converter stage, one IF
(intermediate frequency) stage, a diode
detector, two stages of audio amplification and a dual-diode rectifier.
That’s where the circuit similarities
end. For starters, the Australian 123
only tunes the broadcast band from
530-1620kHz while the 283A has
three AM bands covering 150-433kHz
(long wave), 513-1667kHz (broadcast)
and 5.77-18.75MHz (shortwave), with
bandspread tuning available over part
of the shortwave band from 9.2312.35MHz. This band-spreading was
designed to make it easy to tune the
25-metre and 30-metre international
shortwave broadcasting bands.
Model 123 circuit details
The 123 has a few circuit refinements that make is just that little bit
better than most 5-valve receivers of
the era. Fig.1 shows the circuit details.
Starting at the left, the primary
winding of the antenna coil is tuned to
resonate just below the broadcast band.
siliconchip.com.au
This is the view inside the model 123. The valves are all readily accessible and
the chassis can be easily removed from the cabinet for servicing.
This technique boosts the performance,
particularly at the low-frequency end
of the tuning range, and was necessary to get the best performance out of
antennas that were less than 10 metres
long. By the early 1950s, customers had
become lazy when it came to putting
up good outside antennas, preferring
shorter indoor antennas instead, so
the manufacturers employed this
technique to get around the problem.
The secondary winding of the an-
tenna coil is tuned across the broadcast band by one section of the tuning
capacitor (C4) and the resulting signal
applied to the signal grid of V1, a 6AN7
converter valve. The local oscillator
includes V1, coils L3 & L4, the other
section of the tuning gang (C5) and
their associated components.
Unlike some sets, no high-tension
(HT) voltage is applied to feedback
winding L4 of the oscillator coil. There
is no particular advantage one way or
November 2013 91
The layout on the top of the 123’s chassis is clean and uncluttered, making the
set easy to service. A sheet of Masonite® hard board is used as a speaker baffle.
the other, although the method used in
the 123 means that there is no voltage
stress across the windings or to earth.
The oscillator tunes from around
985-2075kHz. The resulting 455kHz
IF (intermediate frequency) from the
converter stage is fed through the first
IF transformer and amplified by V2,
a 6N8. Its output is in turn fed to the
second IF transformer and the resulting signal then fed to V2’s detector
diode (the lower one in the diagram).
From there, the detected audio is fed
to the grid of V3, another 6N8, via an
RC network that also includes the volume control (R10). V3 acts as the first
audio amplifier stage and its output in
turn is fed to V4, a 6M5 audio output
valve. V4 then drives the loudspeaker
via a speaker transformer.
Note that there is quite an extensive
tone control cum negative feedback
circuit in this set. First, resistor R23
provides feedback from the secondary of the speaker transformer to the
screen of V3. In addition, R19 & R20
provide feedback to the bottom of the
volume control
C17, C18 & C19 are switched into
circuit by S1 and, together with R12,
form the tone control circuit. This
circuit feeds signal back to the grid
of V3, depending on the capacitor selected. And finally, R6, R7, R8, C13 &
C14 form a loudness control in concert
with R10. Together, these parts ensure
that the set has good “tonal qualities”
and minimal distortion.
The power supply uses a conventional mains transformer, with V5
(6X5GT) functioning as a full-wave
rectifier. Resistors R16 & R17 form a
voltage divider and provide negative
back bias to V1, V2 & V4.
In operation, the IF signal level at
V2’s plate can be quite high, particularly when the set is tuned to strong
local stations. This signal is applied to
the second diode in V2 via C11 and a
substantial AGC (automatic gain control) voltage is obtained once the delay
on the AGC line has been overcome.
The AGC system is designed to cater
for both very strong signals and quite
weak ones. No AGC signal is applied
to the controlled stages until a moderate strength signal is received, which
means that the maximum sensitivity of
the receiver is maintained for weaker
signals.
Because there is only one audio amplifier stage in 4-valve receivers, they
naturally need to have a higher audio
level out of the detector than 5-valve
sets. This is usually achieved by manipulating the AGC system circuitry.
However, this set has a relatively low
audio output level from the detector
and so a pentode first audio stage is
used in lieu of a triode to achieve
greater gain.
The end result is a very satisfying
performance that’s much better than
from 4-valve sets. Note that the voltage divider formed by R1 and R21
maintains the screen voltage on the
6AN7 close to a predetermined level,
set to achieve optimum performance
with the AGC voltage applied to the
signal grid.
Dutch 283A circuit details
An under-chassis view of the model 123 after restoration. Only a few parts (mainly
electrolytic capacitors) required replacement to get the receiver working again.
92 Silicon Chip
Fig.2 shows the circuit details for
the Dutch 283A receiver. Once again,
it’s a 5-valve superhet design but
being a multi-band receiver, it’s more
complicated than the Australian mod
el 123.
As can be seen, the input circuitry
is quite different to the 123’s. As previously stated, it has four switched
bands which tune long-wave, medium-wave (broadcast) and shortwave,
with a switchable sub-band so that
only a portion of the shortwave band
is tuned (ie, for band-spread tuning).
A series-tuned trap consisting of
siliconchip.com.au
Fig.2: the Dutch 283A receiver is also a 5-valve superhet but is more complicated than the model 123 since it also
covers the long-wave and shortwave bands, with a switchable sub-band on shortwave.
S5 and C6 on the 452kHz IF is connected between the antenna and
earth on all bands. This minimises
signal breakthrough by stations at the
high-frequency end of the long-wave
band and is necessary because these
stations operate at frequencies close
to the IF (down to a minimum of just
19kHz away).
A multi-position switch selects the
relevant antenna coil and has an additional position that connects the audio
amplifier section to the record player
input socket. This socket is shown at
the top right of the circuit.
The mixer/oscillator circuit is conventional but because the 283A is a
multi-band receiver, the antenna and
converter circuits are considerably
more complex than in the 123. Valve
B1 is an ECH42 and this functions as
the converter. Its characteristics are
similar to a 6AN7’s but it uses the European 8-pin miniature Rimlock base.
In fact, all valves in this set use the
Rimlock base which is quite different
to the Noval 9-pin base commonly
used in Australia.
The 452kHz IF from the converter
stage (B1) is applied to the first IF
transformer, designated on the circuit
as S20, S21, S22 & S23. Its output is in
turn fed to B2, an EAF42 valve. This
valve has a slightly lower gain than the
siliconchip.com.au
The Dutch 283A is notably more cluttered inside the case than the model 123,
although the valves are still all readily accessible.
6N8 used in the Australian 123 and
has only one diode in the envelope.
B2 amplifies the IF signal and then
applies it to the second IF transformer
(S24-S27).
The output from the second IF
transformer is in turn fed to the diode
detector in B3, an EBC41 duo-diode
triode. This valve is equivalent to a
6BD7/6BD7A.
From there, the detected audio signal is routed back to the wave-change
switch (top left of Fig.2) which selects
between it and the record player input.
It is then fed back to volume control
R13/R14 and then to the grid of B3 via
C40 & R15.
B3 amplifies the audio signal and in
turn drives audio output valve B4, an
EL41 which is equivalent to a 6M5. B4
November 2013 93
Most of the parts in the 283A can be accessed with the chassis partially removed
from the cabinet. Removing it completely is a lot of work and risks damage to
the complicated dial-drive mechanism.
then drives the speaker via an audio
output transformer.
Note that the audio wiring to and
from the wave-change switch is
shielded. This is good practice as it
minimises hum in the audio signal.
The lead from B4’s plate to the
speaker transformer is also shielded, a
precaution that’s normally considered
unnecessary. In this case though, a
shielded lead has probably been used
to prevent any IF signal that may still
present in the output of this valve
from being radiated. In addition, this
shielded lead also acts as a capacitor
(probably 10-15pF) which partially
shunts any IF signal to earth.
Note the network connected to B4’s
grid, consisting of R20 (47kΩ) and C51
(47pF). This network attenuates the
IF signal by more than 10dB. In fact,
I commonly use this same network
configuration on many of the sets that
come across my bench if they exhibit
excessive IF signal levels in the audio
output stage.
The audio negative feedback circuit
is less complex than that used on
the 123. It consists of an RC network
connected the output of the speaker
transformer and the grid circuit of B3.
The power supply is again conventional and uses a transformer with a
tapped primary so that a wide range
of AC mains voltages can be catered
for. There is also a fuse in the input
A rear view of the Dutch 283A with the back cover in place. The unit has
inputs for a turntable and also features external loudspeaker terminals.
94 Silicon Chip
to protect the set should something
go seriously wrong in the receiver, a
feature lacking in the Australian 123.
Valve B5 functions as a full-wave
rectifier and the resulting HT voltage
is filtered using C1 and C2. Back bias
is developed across resistors R2 and
R3, while resistor R1 separates the two
filter capacitors.
Note that R1 is also connected across
one half of the speaker transformer
primary, so that this section of the
transformer acts as a power choke.
This is a great idea provided the phasing of the winding is correct to provide
optimum ripple (hum) cancellation
in the speaker transformer secondary
winding.
The rectifier valve (B5) is a directlyheated type with a 4V heater. There is
no equivalent type that was used in
Australia. If it ever required replacement, then an indirectly-heated rectifier such as a 6V4 could be substituted
with a few modifications. These would
involve swapping the socket to a 9-pin
miniature type, connecting the 6V4’s
heater wiring to the 6.3V winding and
leaving the 4V winding with no load.
One unusual component in the
power supply is capacitor C12 (22nF).
This has been included to reduce any
interference being fed into the receiver
via the mains and then radiated into
the antenna circuit. It also acts to suppress interference generated by the
rectifier diodes.
Dial drive systems
Dial drives have often caused
restorers more headaches than all
other problems within a set. Generally, I don’t have much trouble with
restringing dial drives but even I will
not press my luck with some European
sets – they can be a nightmare to fix if
something goes wrong.
The 283A falls into the latter category. It has a dial-drive that isn’t
that easy to work on and is not one
that I would really want to tackle.
It’s certainly much more complicated
that the dial-drive mechanism on the
Philips 123.
In practice, the 283A can be satisfactorily serviced with the chassis
only partly removed from the cabinet.
Removing it completely is simply too
much work and risks damage. Fortunately, the dial-drive system in this
particular set was intact and didn’t require any work during the restoration.
By contrast, the model 123’s chassiliconchip.com.au
Fig.3: the Australian model 131 is a 5-valve batteryoperated superhet that can also be powered from a
6V vibrator or a 32V DC lighting plant. It’s housed in
the same cabinet as the 123 and 283A receivers.
sis was completely removed from its
cabinet during the restoration of that
set. It’s a fairly simply procedure and
the dial-drive was easy to repair.
The model 131
Externally, the Australian model
131 looks the same as the other two
but it’s really quite different. As mentioned earlier, it can be operated from
batteries, a 6V vibrator or 32V DC
lighting plant.
Fig.3 shows the circuit of the model
131. It uses miniature 7-pin 1.5V battery valves, the line up being 1T4,
1R5, 1T4, 1S5 & 3V4. It’s a dual-wave
receiver, covering both the broadcast
band and the 6018MHz shortwave
band.
The model 131 is also a 5-valve
receiver but unlike the other two sets,
there’s no rectifier and it features an RF
stage. This gives it greater sensitivity,
making it suitable for use in remote
rural environments. The performance
of the small battery valves is not as
good as those used in mains-powered
sets, although a 5-valve battery set
still performs slightly better than a
5-valve mains operated receiver. That’s
because a 5-valve battery set has five
amplifying stages compared to just four
for a mains-operated set, since the fifth
valve in the latter is the rectifier.
One advantage of 1.5V batterysiliconchip.com.au
The partially removed 283A chassis can be flipped up as shown here to provide
access to the under-chassis parts. It has a lot more parts than the model 123.
operated valves is that they use a lot
less power than conventional valves;
around 1.8W total for the 131 compared to 45W for the 283A.
Summary
Despite being visually similar, the
Australian 123 and Dutch 283A receivers are very different to each other
when it comes to their chassis design.
Both would compare well with each
other as far as performance is concerned but the Dutch Philips has the
advantage that it can also cover the
long-wave and shortwave bands (as
well as the traditional broadcast band).
On the other hand, when it comes
to servicing or restoration, the Australian set is by far the easier to work on.
Many European radio manufacturers,
not just Philips, seemed to delight in
making their sets difficult and complex
to service, although the model 283A
isn’t too bad in this regard except for
the dial-drive mechanism.
In fact, dial-drive systems are one
area where European manufacturers
have excelled in making something
that could be simple into a mechaniSC
cal nightmare.
November 2013 95
SILICON
CHIP
.com.au/shop
ONLINESHOP
Looking for a specialised component to build that latest and greatest SILICON CHIP project? Maybe it’s the PCB you’re after.
Or a pre-programmed micro. Or some other hard-to-get “bit”. The chances are they are available direct from the SILICON CHIP ONLINESHOP.
As a service to readers, SILICON CHIP has established the ONLINESHOP. No, we’re not going into opposition with your normal suppliers –
this is a direct response to requests from readers who have found difficulty in obtaining specialised parts such as PCBs & micros.
• PCBs are normally IN STOCK and ready for despatch when that month’s magazine goes on sale (you don’t have to wait for them to be made!).
• Even if stock runs out (eg, for high demand), in most cases there will be no longer than a two-week wait.
• One low p&p charge: $10 per order, regardless of how many boards or micros you order! (Australia only; overseas clients – email us for a postage quote).
• Our PCBs are beautifully made, very high quality fibreglass boards with pre-tinned tracks, silk screen overlays and where applicable, solder masks.
• Best of all, those boards with fancy cut-outs or edges are already cut out to the SILICON CHIP specifications – no messy blade work required!
HERE’S HOW TO ORDER:
4 Via the INTERNET (24 hours, 7 days)
Log on to our secure website: siliconchip.com.au, click on “SHOP” and follow the links
4 Via EMAIL (24 hours, 7 days)
email silicon<at>siliconchip.com.au – Clearly tell us what you want and include your contact and credit card details
4 Via FAX (24 hours, 7 days)
(02) 9939 2648 (INT: 612 9939 2648). Clearly tell us what you want and include your contact and credit card details
4 Via MAIL (24 hours, 7 days)
PO Box 139, Collaroy NSW 2097. Clearly tell us what you want and include your contact and credit card details
4 Via PHONE (9am-5pm, Mon-Fri)
Call (02) 9939 3295 (INT 612 9939 3295) – have your order ready, including contact and credit card details!
YES! You can also order or renew your
SILICON CHIP subscription via any of these methods as well!
PRE-PROGRAMMED MICROS
Price for any of these micros is just $15.00 each + $10 p&p per order#
As a service to readers, SILICON CHIP ONLINESHOP stocks microcontrollers and microprocessors used in new projects (from 2012 on) and some
selected older projects – pre-programmed and ready to fly!
Some micros from copyrighted and/or contributed projects may not be available.
PIC12F675-I/P
PIC16F1507-I/P
PIC16F88-E/P
PIC16F88-I/P
PIC16LF88-I/P
PIC16LF88-I/SO
PIC16F877A-I/P
PIC18F2550-I/SP
PIC18F45K80
PIC18F4550-I/P
UHF Remote Switch (Jan09), Ultrasonic Cleaner (Aug10),
Ultrasonic Anti-fouling (Sep10), Cricket/Frog (Jun12) Do Not Disturb (May13)
IR-to-UHF Converter (Jul13), UHF-to-IR Converter (Jul13)
PC Birdies *2 chips – $15 pair* (Aug13)
Wideband Oxygen Sensor (Jun-Jul12)
Hi Energy Ignition (Nov/Dec12), Speedo Corrector (Sept13),
Auto Headlight Controller (Oct13)
Projector Speed (Apr11), Vox (Jun11), Ultrasonic Water Tank Level (Sep11),
Quizzical (Oct11) Ultra LD Preamp (Nov11) 10-Channel Remote Control
Receiver (Jun13) Revised 10-Channel Remote Control Receiver (JuL13)
Garbage Reminder (Jan13)
LED Ladybird (Apr13)
6-Digit GPS Clock (May-Jun09), Lab Digital Pot (Jul10)
Semtest (Feb-May12)
Batt Capacity Meter (Jun09), Intelligent Fan Controller (Jul10)
USB Power Monitor (Dec12)
GPS Car Computer (Jan10), GPS Boat Computer (Oct10)
USB MIDIMate (Oct11)
USB Data Logger (Dec10-Feb11)
Digital Spirit Level (Aug11), G-Force Meter (Nov11)
Intelligent Dimmer (Apr09)
Maximite (Mar11), miniMaximite (Nov11), Colour Maximite (Sept/Oct12)
GPS Tracker (Nov13)
Stereo Audio Delay/DSP (Nov13)
Digital Audio Signal Generator (Mar-May10), Digital Lighting Controller
(Oct-Dec10), SportSync (May11), Digital Audio Delay (Dec11) Level (Sep11)
Quizzical (Oct11), Ultra-LD Preamp (Nov11), LED Musicolor (Nov12)
dsPIC33FJ64MC802-E/P
Induction Motor Speed Controller (revised) (Aug13)
dsPIC33FJ128GP306-I/PT CLASSiC DAC (Feb-May 13)
ATTiny861
VVA Thermometer/Thermostat (Mar10), Rudder Position Indicator (Jul11)
ATTiny2313
Remote-Controlled Timer (Aug10)
ATMega48
Stereo DAC (Sep-Nov09)
PIC18F14K50
PIC18F27J53-I/SP
PIC18LF14K22
PIC18F1320-I/SO
PIC32MX795F512H-80I/PT
PIC32MX250F128B-I/SP
PIC32MX470F512H-I/PT
dsPIC33FJ128GP802-I/SP
When ordering, be sure to nominate BOTH the micro required AND the project for which it must be programmed.
SPECIALISED COMPONENTS, SHORT-FORM KITS, ETC
RF Probe All SMD parts
G-FORCE METER/ACCELEROMETER Short form kit
(Aug13) $5.00
(Aug11/Nov11)
$44.50
$40.00
(contains PCB (04108111), programmed PIC micro, MMA8451Q accelerometer chip and 4 Mosfets)
DIGITAL SPIRIT LEVEL Short form kit
(Aug11/Nov11)
$44.50
$40.00
(contains PCB (04108111), programmed PIC micro, MMA8451Q accelerometer chip and 4 Mosfets)
CLASSiC DAC Semi kit
(Feb-May13)
$45.00
Includes three hard-to-get SMD ICs: CS8416-CZZ, CS4398-CZZ and PLL1708DBQ plus
an accurate 27MHz crystal and ten 3mm blue LEDs with diffused lenses
“LUMP IN COAX” MINI MIXER SMD parts kit:
(Jun13)
$20.00
Includes: 2 x OPA4348AID, 1 x BQ2057CSN, 2 x DMP2215L, 1 x BAT54S, 1 x 0.22Ω shunt
LF-HF UP-CONVERTER SMD parts kit:
(Jun13)
$15.00
Includes: FXO-HC536R-125 and SA602AD and all SMD passive components
ISL9V5036P3 IGBT
(Nov/Dec12)
$10.00
As used in high energy ignition and Jacob’s Ladder
(Feb13)
2.5GHz Frequency Counter 3 x 4-digit blue LED displays(Dec12/Jan13)
$15.00
ERA-2SM+ Wideband MMC and ADCH-80+ Wideband Choke
IPP230N06L3 N-Channel logic level Mosfets
$5.00
As used in a variety of SILICON CHIP Projects (Pack of 2)
P&P – $10 Per order#
ZXCT1009 Current Shunt Monitor IC
(Oct12)
$5.00
LF-HF Up-converter Omron G5V-1 5V SPDT 5V relay (June13)
SMD parts for SiDRADIO
(Oct13)
$20.00
As used in DCC Reverse Loop Controller/Block Switch (Pack of 2)
Same as LF-UF Upconverter parts but includes 5V relay and BF998 dual-gate Mosfet.
GPS Tracker
(Nov13)
MCP16301 SMD regulator IC and 15H inductor
$2.00
$5.00
STEREO AUDIO DELAY
(Nov13)
WM8731 DAC IC and SMD capacitors.
$20.00
TENDA USB/SD AUDIO PLAYBACK MODULE (TD896 or 898) (Jan12)
JST CONNECTOR LEAD 3-WAY
(Jan12)
JST CONNECTOR LEAD 2-WAY
(Jan12)
$33.00
RADIO & HOBBIES ON DVD-ROM (Needs PC & reader to play!)
$62.00
n/a
$4.50
$3.45
11/13
LOOKING FOR TECHNICAL BOOKS? YOU’LL FIND THE COMPLETE LISTING OF ALL BOOKS AVAILABLE IN THE SILICON CHIP ONLINE BOOKSTORE – ON THE “BOOKS & DVDs” PAGES OF OUR WEBSITE
*All items subect to availability. Prices valid for month of magazine issue only. All prices in Australian dollars and included GST where applicable. # P&P prices are within Australia. O’seas? Please email for a quote
PRINTED CIRCUIT BOARDS
PRINTED CIRCUIT BOARD TO SUIT PROJECT:
PUBLISHED:
NOTE: These listings are for the PCB only – not a full kit. If you want a kit, contact the kit suppliers advertising in this issue.
Prices in GREEN are new lower prices: buy now while stocks last!
PCB CODE:
Price:
AM RADIO TRANSMITTER
JAN 1993
06112921 $25.00
CHAMP: SINGLE CHIP AUDIO AMPLIFIER
FEB 1994
01102941
$5.00
PRECHAMP: 2-TRANSISTOR PREAMPLIER
JUL 1994
01107941
$5.00
HEAT CONTROLLER
JULY 1998
10307981 $10.00
MINIMITTER FM STEREO TRANSMITTER
APR 2001
06104011 $25.00
MICROMITTER FM STEREO TRANSMITTER
DEC 2002
06112021 $10.00
SMART SLAVE FLASH TRIGGER
JUL 2003
13107031 $10.00
12AX7 VALVE AUDIO PREAMPLIFIER
NOV 2003
01111031 $25.00
POOR MAN’S METAL LOCATOR
MAY 2004
04105041 $10.00
BALANCED MICROPHONE PREAMP
AUG 2004
01108041 $25.00
LITTLE JIM AM TRANSMITTER
JAN 2006
06101062 $25.00
POCKET TENS UNIT
JAN 2006
11101061 $25.00
STUDIO SERIES RC MODULE
APRIL 2006
01104061 $25.00
ULTRASONIC EAVESDROPPER
AUG 2006
01208061 $25.00
RIAA PREAMPLIFIER
AUG 2006
01108061 $25.00
GPS FREQUENCY REFERENCE (A) (IMPROVED)
MAR 2007
04103073 $30.00
GPS FREQUENCY REFERENCE DISPLAY (B)
MAR 2007
04103072 $20.00
KNOCK DETECTOR
JUNE 2007
05106071 $25.00
SPEAKER PROTECTION AND MUTING MODULE
JULY 2007
01207071 $20.00
CDI MODULE SMALL PETROL MOTORS
MAY 2008
05105081 $15.00
LED/LAMP FLASHER
SEP 2008
11009081 $10.00
12V SPEED CONTROLLER/DIMMER (Use Hot Wire Cutter PCB from Dec 2010 [18112101])
USB-SENSING MAINS POWER SWITCH
JAN 2009
10101091 $45.00
DIGITAL AUDIO MILLIVOLTMETER
MAR 2009
04103091 $35.00
INTELLIGENT REMOTE-CONTROLLED DIMMER
APR 2009
10104091 $10.00
INPUT ATTENUATOR FOR DIG. AUDIO M’VOLTMETER
MAY 2009
04205091 $10.00
6-DIGIT GPS CLOCK
MAY 2009
04105091 $30.00
6-DIGIT GPS CLOCK DRIVER
JUNE 2009
07106091 $20.00
UHF ROLLING CODE TX
AUG 2009
15008091 $10.00
UHF ROLLING CODE RECEIVER
AUG 2009
15008092 $45.00
6-DIGIT GPS CLOCK AUTODIM ADD-ON
SEPT 2009
04208091
$5.00
STEREO DAC BALANCED OUTPUT BOARD
JAN 2010
01101101 $25.00
DIGITAL INSULATION METER
JUN 2010
04106101 $25.00
ELECTROLYTIC CAPACITOR REFORMER
AUG 2010
04108101 $40.00
ULTRASONIC ANTI-FOULING FOR BOATS
SEP 2010
04109101 $25.00
HEARING LOOP RECEIVER
SEP 2010
01209101 $25.00
S/PDIF/COAX TO TOSLINK CONVERTER
OCT 2010
01210101 $10.00
TOSLINK TO S/PDIF/COAX CONVERTER
OCT 2010
01210102 $10.00
DIGITAL LIGHTING CONTROLLER SLAVE UNIT
OCT 2010
16110102 $45.00
HEARING LOOP TESTER/LEVEL METER
NOV 2010
01111101 $25.00
UNIVERSAL USB DATA LOGGER
DEC 2010
04112101 $25.00
HOT WIRE CUTTER CONTROLLER
DEC 2010
18112101 $10.00
433MHZ SNIFFER
JAN 2011
06101111 $10.00
CRANIAL ELECTRICAL STIMULATION
JAN 2011
99101111 $25.00
HEARING LOOP SIGNAL CONDITIONER
JAN 2011
01101111 $25.00
LED DAZZLER
FEB 2011
16102111 $20.00
12/24V 3-STAGE MPPT SOLAR CHARGER
FEB 2011
14102111 $15.00
SIMPLE CHEAP 433MHZ LOCATOR
FEB 2011
06102111
$5.00
THE MAXIMITE
MAR 2011
06103111 $15.00
UNIVERSAL VOLTAGE REGULATOR
MAR 2011
18103111 $10.00
12V 20-120W SOLAR PANEL SIMULATOR
MAR 2011
04103111 $10.00
MICROPHONE NECK LOOP COUPLER
MAR 2011
01209101 $25.00
PORTABLE STEREO HEADPHONE AMP
APRIL 2011
01104111 $10.00
CHEAP 100V SPEAKER/LINE CHECKER
APRIL 2011
04104111 $10.00
PROJECTOR SPEED CONTROLLER
APRIL 2011
13104111 $10.00
SPORTSYNC AUDIO DELAY
MAY 2011
01105111 $30.00
100W DC-DC CONVERTER
MAY 2011
11105111 $15.00
PHONE LINE POLARITY CHECKER
MAY 2011
12105111 $10.00
20A 12/24V DC MOTOR SPEED CONTROLLER MK2
JUNE 2011
11106111 $20.00
USB STEREO RECORD/PLAYBACK
JUNE 2011
07106111 $20.00
VERSATIMER/SWITCH
JUNE 2011
19106111 $25.00
USB BREAKOUT BOX
JUNE 2011
04106111 $10.00
ULTRA-LD MK3 200W AMP MODULE
JULY 2011
01107111 $25.00
PORTABLE LIGHTNING DETECTOR
JULY 2011
04107111 $20.00
RUDDER INDICATOR FOR POWER BOATS (4 PCBs)
JULY 2011
20107111-4 $80 per set
VOX
JULY 2011
01207111 $20.00
ELECTRONIC STETHOSCOPE
AUG 2011
01108111 $10.00
DIGITAL SPIRIT LEVEL/INCLINOMETER
AUG 2011
04108111 $10.00
ULTRASONIC WATER TANK METER
SEP 2011
04109111 $20.00
ULTRA-LD MK2 AMPLIFIER UPGRADE
SEP 2011
01209111
$5.00
ULTRA-LD MK3 AMPLIFIER POWER SUPPLY
SEP 2011
01109111 $25.00
HIFI STEREO HEADPHONE AMPLIFIER
SEP 2011
01309111 $20.00
GPS FREQUENCY REFERENCE (IMPROVED)
SEP 2011
04103073 $30.00
HEARING LOOP RECEIVER/NECK COUPLER
SEP 2011
01209101 $10.00
DIGITAL LIGHTING CONTROLLER LED SLAVE
OCT 2011
16110111 $30.00
USB MIDIMATE
OCT 2011
23110111 $25.00
QUIZZICAL QUIZ GAME
OCT 2011
08110111 $25.00
ULTRA-LD MK3 PREAMP & REMOTE VOL CONTROL
NOV 2011
01111111 $30.00
ULTRA-LD MK3 INPUT SWITCHING MODULE
NOV 2011
01111112 $20.00
ULTRA-LD MK3 SWITCH MODULE
NOV 2011
01111113 $10.00
ZENER DIODE TESTER
NOV 2011
04111111 $20.00
PRINTED CIRCUIT BOARD TO SUIT PROJECT:
PUBLISHED:
MINIMAXIMITE
NOV 2011
ADJUSTABLE REGULATED POWER SUPPLY
DEC 2011
DIGITAL AUDIO DELAY
DEC 2011
DIGITAL AUDIO DELAY Front & Rear Panels
DEC 2011
AM RADIO
JAN 2012
STEREO AUDIO COMPRESSOR
JAN 2012
STEREO AUDIO COMPRESSOR FRONT & REAR PANELS
JAN 2012
3-INPUT AUDIO SELECTOR (SET OF 2 BOARDS)
JAN 2012
CRYSTAL DAC
FEB 2012
SWITCHING REGULATOR
FEB 2012
SEMTEST LOWER BOARD
MAR 2012
SEMTEST UPPER BOARD
MAR 2012
SEMTEST FRONT PANEL
MAR 2012
INTERPLANETARY VOICE
MAR 2012
12/24V 3-STAGE MPPT SOLAR CHARGER REV.A
MAR 2012
SOFT START SUPPRESSOR
APR 2012
RESISTANCE DECADE BOX
APR 2012
RESISTANCE DECADE BOX PANEL/LID
APR 2012
1.5kW INDUCTION MOTOR SPEED CONT. (New V2 PCB) APR (DEC) 2012
HIGH TEMPERATURE THERMOMETER MAIN PCB
MAY 2012
HIGH TEMPERATURE THERMOMETER Front & Rear Panels MAY 2012
MIX-IT! 4 CHANNEL MIXER
JUNE 2012
PIC/AVR PROGRAMMING ADAPTOR BOARD
JUNE 2012
CRAZY CRICKET/FREAKY FROG
JUNE 2012
CAPACITANCE DECADE BOX
JULY 2012
CAPACITANCE DECADE BOX PANEL/LID
JULY 2012
WIDEBAND OXYGEN CONTROLLER MK2
JULY 2012
WIDEBAND OXYGEN CONTROLLER MK2 DISPLAY BOARD JULY 2012
SOFT STARTER FOR POWER TOOLS
JULY 2012
DRIVEWAY SENTRY MK2
AUG 2012
MAINS TIMER
AUG 2012
CURRENT ADAPTOR FOR SCOPES AND DMMS
AUG 2012
USB VIRTUAL INSTRUMENT INTERFACE
SEPT 2012
USB VIRTUAL INSTRUMENT INT. FRONT PANEL
SEPT 2012
BARKING DOG BLASTER
SEPT 2012
COLOUR MAXIMITE
SEPT 2012
SOUND EFFECTS GENERATOR
SEPT 2012
NICK-OFF PROXIMITY ALARM
OCT 2012
DCC REVERSE LOOP CONTROLLER
OCT 2012
LED MUSICOLOUR
NOV 2012
LED MUSICOLOUR Front & Rear Panels
NOV 2012
CLASSIC-D CLASS D AMPLIFIER MODULE
NOV 2012
CLASSIC-D 2 CHANNEL SPEAKER PROTECTOR
NOV 2012
HIGH ENERGY ELECTRONIC IGNITION SYSTEM
DEC 2012
USB POWER MONITOR
DEC 2012
1.5kW INDUCTION MOTOR SPEED CONTROLLER (NEW V2 PCB)DEC 2012
THE CHAMPION PREAMP and 7W AUDIO AMP (one PCB) JAN 2013
GARBAGE/RECYCLING BIN REMINDER
JAN 2013
2.5GHz DIGITAL FREQUENCY METER – MAIN BOARD
JAN 2013
2.5GHz DIGITAL FREQUENCY METER – DISPLAY BOARD
JAN 2013
2.5GHz DIGITAL FREQUENCY METER – FRONT PANEL
JAN 2013
SEISMOGRAPH MK2
FEB 2013
MOBILE PHONE RING EXTENDER
FEB 2013
GPS 1PPS TIMEBASE
FEB 2013
LED TORCH DRIVER
CLASSiC DAC MAIN PCB
CLASSiC DAC FRONT & REAR PANEL PCBs
GPS USB TIMEBASE
LED LADYBIRD
CLASSiC-D 12V to ±35V DC/DC CONVERTER
DO NOT DISTURB
LF/HF UP-CONVERTER
10-CHANNEL REMOTE CONTROL RECEIVER
IR-TO-455MHZ UHF TRANSCEIVER
“LUMP IN COAX” PORTABLE MIXER
L’IL PULSER MKII TRAIN CONTROLLER
L’IL PULSER MKII FRONT & REAR PANELS
REVISED 10 CHANNEL REMOTE CONTROL RECEIVER
INFRARED TO UHF CONVERTER
UHF TO INFRARED CONVERTER
IPOD CHARGER
PC BIRDIES
RF DETECTOR PROBE FOR DMMs
BATTERY LIFESAVER
SPEEDO CORRECTOR
SiDRADIO (INTEGRATED SDR) Main PCB
SiDRADIO (INTEGRATED SDR) Front & Rear Panels
TINY TIM AMPLIFIER (same PCB as Headphone Amp [Sept11])
AUTO CAR HEADLIGHT CONTROLLER
GPS TRACKER
STEREO AUDIO DELAY/DSP
PCB CODE:
Price:
07111111 $10.00
18112111
$5.00
01212111 $25.00
01212112/3 $20 per set
06101121 $10.00
01201121 $30.00
0120112P1/2 $20.00
01101121/2 $30 per set
01102121 $20.00
18102121
$5.00
04103121 $40.00
04103122 $40.00
04103123 $75.00
08102121 $10.00
14102112 $20.00
10104121 $10.00
04104121 $20.00
04104122 $20.00
10105122 $35.00
21105121 $30.00
21105122/3 $20 per set
01106121 $20.00
24105121 $30.00
08109121 $10.00
04106121 $20.00
04106122 $20.00
05106121 $20.00
05106122 $10.00
10107121 $10.00
03107121 $20.00
10108121 $10.00
04108121 $20.00
24109121 $30.00
24109122 $30.00
25108121 $20.00
07109121 $20.00
09109121 $10.00
03110121
$5.00
09110121 $10.00
16110121 $25.00
16110121 $20 per set
01108121 $30.00
01108122 $10.00
05110121 $10.00
04109121 $10.00
10105122 $35.00
01109121/2 $10.00
19111121 $10.00
04111121 $35.00
04111122 $15.00
04111123 $45.00
21102131 $20.00
12110121 $10.00
04103131 $10.00
MAR 2013
16102131
$5.00
APR 2013
01102131 $40.00
APR 2013
01102132/3 $30.00
APR 2013
04104131 $15.00
APR 2013
08103131
$5.00
MAY 2013
11104131 $15.00
MAY 2013
12104131 $10.00
JUN 2013
07106131 $10.00
JUN 2013
15106131 $15.00
JUN 2013
15106132
$7.50
JUN 2013
01106131 $15.00
JULY 2013
09107131 $15.00
JULY 2013
09107132/3 $20.00/set
JULY 2013
15106133 $15.00
JULY 2013
15107131
$5.00
JULY 2013
15107132 $10.00
AUG 2013
14108131
$5.00
AUG 2013
08104131 $10.00
AUG 2013
04107131 $10.00
SEPT 2013
11108131
$5.00
SEPT 2013
05109131 $10.00
OCT 2013
06109131 $35.00
OCT 2013
06109132/3 $25.00/pr
OCT 2013
01309111 $20.00
OCT
03111131
$10.00
N2013
ovember
2013 97
NOV 2013
05112131 $15.00
NOV 2013
01110131 $15.00
Does someone in your family need a hint for
YOUR Christmas gift?
Leave this page open where it can be “discovered”!
“discovered”!
PLEASE! GIVE ME A
GIFT
SUBSCRIPTION:
The Perfect
Christmas
Present!
p
4 It’s the gift that keeps giving, month after month after month
p
4 They’ll never miss an issue of their favourite magazine (newsagents do run out!)
4 It’s actually cheaper to subscribe than to buy over the counter
p
4 We pick up the tab for postage and handling
p
4 Your choice of 6 months, 12 months or 24 months subscription
p
4 You can also choose an online subscription (digital edition) or combined (digital & print)
p
Simply visit www.siliconchip.com.au/shop/giftsubs
and we’ll arrange everything, including a
special Christmas message from YOU!
Alternatively, call us on (02) 9939 3295 (9-4, Mon-Fri)
98 Silicon Chip
siliconchip.com.au
ASK SILICON CHIP
Got a technical problem? Can’t understand a piece of jargon or some technical principle? Drop us a line
and we’ll answer your question. Send your email to silicon<at>siliconchip.com.au
Replacing incandescent
lamps with LEDs
Replacing incandescent globes with
LED lights in modern cars often causes
the sensing circuit (usually built into
the Body Control Module) to indicate
that a globe is blown (“lamp failure
warning”). The common way to overcome this “lamp failure warning” is
to put a load resistor across one of the
LED lights (ie, in parallel), typically
one only resistor per circuit; therefore
one in the parking light circuit and one
in the brake light circuit.
The idea is to simulate the load of
one or two incandescent lamps (typically 21W each) and therefore the load
resistor is usually 4.7Ω 50W. However,
a large amount of heat is dissipated by
the resistor which gets very hot.
So is there a simple current-limiting
diode circuit that can limit the current
to say 4A (at 12V) and not produce
as much heat through power dissipation? I’m thinking about clamping
rather than resisting current flow
using a power Mosfet or IGBT. (G. L.,
via email).
• Unfortunately, any load that simulates a lamp filament will require a
current flow. So whether it is a resistor
or partially conducting Mosfet, there
will be power dissipation. The solution to the dissipation problem for
brake lights was described in the July
2010 Circuit Notebook pages.
For other lights, you can minimise
power dissipation by selecting close
to the minimum current required to
ensure there is no lamp failure warning. The use of resistors is OK if the
power rating has a good safety margin
and the resistors are positioned so that
they can dissipate heat safely.
Two options to monitor
fuel economy
I have found that the fuel economy
of my car improves significantly with
good driving practices (as you would
expect) but that it is very difficult
to achieve this consistently. My car
does not have a trip computer fitted
so I have no way of monitoring the
instantaneous fuel consumption.
It would be very useful to have an
instantaneous indicator of fuel usage
that can be fitted easily to modern cars
with fuel injection, ECUs etc.
Have you ever published a design
for a car economy meter, eg, one that
varies the brightness of a LED or
similar in accordance with the load on
the engine? I remember years ago the
Chrysler Valiant had a light mounted
on the driver’s side front guard that
was visible from the driver’s seat and
that glowed according to how hard the
car was accelerating.
If SILICON CHIP has not produced
a suitable design, would one that
is simple, cheap and easy to build
and install be feasible? ULP has just
reached $1.65/litre here and I suspect
that quite a few motorists would be
interested in a way of increasing their
car’s fuel economy.
Perhaps it could be based on the
output from the MAP sensor or ECU
Difficulties With Frequency To Voltage Conversion
In the Circuit Notebook pages of
the June 2010 issue, you have an
article on Frequency-to-Voltage and
Voltage-to-Frequency Converters,
written by John Clarke. Both are to
be used with the Voltage Interceptor
(SILICON CHIP, December 2009), also
by John Clarke.
I have spent well over a week trying to get the Interceptor circuit to
work as per the article and after two
attempts at building it (the second
time very carefully to ensure I had
built it exactly as per the diagrams),
I sent the article to an electronics
designer friend I know in Japan.
He replied saying that pin 5 on IC2
(4046B) should be earthed.
I also had to fit an extra 100nF
capacitor in series between pins 6
& 7 to get the “Frequency Out” high
enough to suit my motor’s (Lexus
V8 1UZFE) Mass Air Flow (MAF)
siliconchip.com.au
requirements of up to 1kHz.
I’m now having a lot of trouble trying to get the Frequency-to-Voltage
Converter circuit to put out a voltage signal suitable to coincide with
the requirements needed to equal
the Frequency-to-Voltage output,
as trimpot VR1 does not adjust the
output voltage range (as suggested in
the article) but instead just ‘caps’ the
voltage to a set voltage (in this case
4V, as suggested in article) which of
course makes it impossible to get a
linear output out of the Voltage-toFrequency Converter.
Can you tell me if anyone actually
built and tested this circuit before
you published it and if so, can anyone please tell me how to get it working correctly? (G. G., Hastings, NZ).
• The design was for use with the
Karmin Vortex air-flow meter. The
frequency range will differ with dif-
ferent air-flow meters and the circuit
was shown as a guide as to how to
convert from frequency to voltage
and then voltage to frequency. The
design was proven by a reader of
SILICON CHIP who had requested
such a circuit.
Based on your need to use a nominal 47nF capacitor for C1 (two 100nF
in series) instead of 100nF, the 10nF
capacitor at pin 2 of IC1 would probably need to be reduced to 4.7nF.
This would allow the output voltage
to swing without it clipping at 4V
with a 1kHz input. In other words,
if the voltage output clips at 4V, then
the capacitor will need to be reduced
to lower the voltage.
It may be easier to adjust the output range of the frequency-to-voltage
converter before then attempting
to set up the voltage-to-frequency
converter.
November 2013 99
USB/SD Card Addition To The Studio Series Stereo Preamplifier
I have been enjoying CD music via
the Studio Series Stereo Preamplifier
(SSSP) and Classic D amplifier I recently built but I would also like to
play music from an SD card.
I started looking through my back
issues of SILICON CHIP and found the
article on the Tenda MP3 modules by
Ross Tester in the January 2012 issue. As a result, I purchased a Tenda
TD898 module from the SILICON
CHIP shop. I removed the headphone
amplifier from the SSSP, cut an appropriate slot in the front panel and
fitted the TD898.
I mounted the IR receiver into a
hole drilled in the TD898 front panel
just to the left of the ‘Audio In’ socket. I mounted a piece of Veroboard
with audio out and power connectors
on brackets fixed under the TD898
circuit board mounting screws.
on a modern car. Ideally it should be
able to be fitted without interfering
with the vehicle wiring or equipment
to the extent that there is a risk of voiding the warranty. (I. P., Fullarton, SA).
• We published a GPS Car Computer
in January & February 2010 which provided relative fuel economy readings.
It monitors the car’s fuel injector duty
cycle and then displays relative fuel
economy as a bargraph. You can access
the article at www.siliconchip.com.au
A kit is available from Altronics
(Cat. K1133). Alternatively, if your car
has an OBD2 (on-board diagnostics)
socket, you might want to consider
a head-up display which displays
speed, instantaneous fuel economy in
litres/100km and has other functions.
We featured an article on this in the
September 2013 issue.
Extended delay for
Power Tool Soft Starter
I have a question about the Soft
Starter For Power Tools (SILICON CHIP,
July 2012). We are looking to get something along this line where the soft
start extends to about 5-10 seconds.
Would this kit be upgradable to
achieve that? (B. A., Melrose Park,
NSW).
• There should not be any problem
with extending the relay activation
100 Silicon Chip
The TD898 works well (apart
from some idiosyncrasies to do
with its controls) except that with
full volume, its signal level into the
SSSP is lower than that from the
CD player, necessitating a change
in volume when switching from one
input to the other. I thought about
boosting the TD898 output using
the Champion preamp with its two
outputs separated and connected to
two trimpots to make a one-off level
adjustment. However, I wondered if
an easier method might be to isolate
the SSSP Inputs 2-5 from Input 1
(Tape) and use a couple of resistors
as a voltage divider to reduce the
input levels for Inputs 2-5.
This would require some modifications to the SSSP preamp board
but I’m not sure if such a voltage
divider is practical and if it is, what
time delay to be as long as you want
(within reason); it’s simply a matter
of increasing the value of the 220nF
capacitor. For a 5-10s delay you would
need a few microfarads which means
the best choices will be multi-layer
ceramic or electrolytic; either should
be fine. Just watch the orientation if
you use an electro (positive lead to
+12V rail).
Ceramic capacitors have a better
lifespan but commonly available
through-hole parts go up to about
2.2µF. Having said that, you can get
higher values and these are to be
preferred over electros which tend to
have a worse tolerance spread. Either
way, they will need to have a voltage
rating of 16V or more.
Depending on the load current, after 5-10 seconds, the NTC thermistor
resistance will probably have dropped
to a very low level anyway. That does
mean less voltage across the relay
contacts when they switch which is
a good thing.
Beefing up the 230VAC
10A speed controller
I have a problem with my 230VAC
10A Motor Speed Controller (SILICON
CHIP, May 2009). It has done about
12 hours of work powering an 800W
grinder to use as a polisher. It no longer
values to use. Could you please advise me? (D. H., via email).
• It’s easy to add in the voltage dividers for each channel on the inputs
you need to reduce in level. The
tracks from the left and right output
pins on each RCA socket that lead to
the relay are cut and a resistor added
between these two points instead. A
second resistor connects from each
relay input to the ground track. The
resistors are best soldered to the RCA
socket and relay pins under the PCB.
The voltage divider should have
a total resistance of about 10kΩ. So
if you want to attenuate by a factor
of two, for example, use two 4.7kΩ
resistors. You could use a 10kΩ
trimpot instead, with the wiper to
the relay connection and the outside
resistance connections to the RCA
output and ground.
slows my grinder down but drives it
at full noise regardless of any of the
adjustment settings inside or outside
its metal box. The 470Ω snubber resistor has been getting really hot and Q1
seems to be short circuit.
Is it worth replacing Q1 or will I
only get another 12 hours out of it? If
so, who sells these IGBT components?
Am I better off ditching it and buying a
Variac as I fear my needs may be a bit
hard on it? (E. B., Carters Beach, NZ).
• Possibly you are right in saying that
the original type of IGBT may blow
again when replaced when powering the 800W grinder. element14 sell
IGBTs (NZ.element14.com) and you
could used a higher rated IGBT more
suited for your application.
The snubber resistor could be
changed to 2.2kΩ 1W to prevent it
overheating.
Wien bridge oscillators
are obsolete
Over many years, I have built several
Wien Bridge oscillators but as time
wore on, most of them simply did
not do the job I wanted them to do
because their parts simply wore out
and requirements began to increase.
Most oscillators used an incandescent
lamp to stabilise them such as a ‘grain
of wheat lamp’ or something more
siliconchip.com.au
suitable. Unfortunately, incandescent
lamps are becoming hard to get because LEDs have mostly taken over.
There is a LED/LDR arrangement
that has a limited frequency range
which I tried with a certain amount
of success but the unit is not exactly
what is required. If you look at www.
sound.westhost.com there is a section
on sinewave oscillators and the chap
who runs it says that a DIY sinewave
oscillator is not easy to build any more
because of the lack of good quality
components. In this section on sinewave oscillators, he describes most of
the popular configurations of variablefrequency sinewave oscillators but
most of the designs lack one feature or
another. Browsing the internet shows
much the same thing.
He seems to think that most variable sinewave oscillations in the near
future will be of the digital variety,
some of which also have their own
problems. The digital circuitry could
also end up being expensive to build
because more costly ICs need to be
used to get a good result.
Over the last few weeks, I have been
experimenting by lashing up various
variable sinewave oscillators and have
Using the Champion Amplifier With Headphones
Would the Champion Audio Amplifier module (SILICON CHIP, January
2013) be suitable for earphones and
would there be any modifications
needed? (G. P, via email).
• We assume that by “earphones”
you are talking about earbud-type
headphones rather than the very sensitive, high-impedance earphones
which were commonly used with
crystal radio sets and such. The
Champion certainly should be able
to drive ear buds although with a single board, you would have to drive
them in parallel and thus would only
get mono sound.
Depending on the signal source,
you will probably want to knock
back the gain quite substantially
or else the result will be very loud,
with lots of noise. You may also
found that the best of them appear to
use ±12V or ±15V power supplies,
preferably low noise. The oscillator
I built up was from a circuit on the
internet that wasn’t variable but used
want to put a resistor in series with
the ear buds (a few dozen ohms,
say) to further limit the maximum
volume level.
To reduce the gain, omit the 1kΩ
resistors connected to pins 2 & 6 of
IC1. Be careful to start out initially
with the volume at minimum and
check that the volume control isn’t
too sensitive; if it is, increase the
2.2kΩ resistors from pins 1 & 7 of
IC1 to reduce the maximum volume.
We have published other designs
specifically for headphones/ear
buds such as the High-Performance
Stereo Headphone Amplifier in
September/October 2011, the Portable Headphone Amplifier For MP3
Players in April 2011 and the Studio
Series Stereo Headphone Amplifier
in November 2005.
a ±15V power supply. It also used a
low-noise IC, together with a complimentary symmetry output stage.
On switch on, there was a small amplitude bounce and my counter said it
Radio, Television & Hobbies: the COMPLETE archive on DVD
YES!
NA
R
O
M E THA URY
T
N
E
QUARTER C NICS
O
OF ELECTR !
HISTORY
This remarkable collection of PDFs covers every issue of R & H, as it was known from
the beginning (April 1939 – price sixpence!) right through to the final edition of R, TV & H
in March 1965, before it disappeared forever with the change of name to EA.
For the first time ever, complete and in one handy DVD, every article and every issue
is covered.
If you’re an old timer (or even young timer!) into vintage radio, it doesn’t get much more
vintage than this. If you’re a student of history, this archive gives an extraordinary insight
into the amazing breakthroughs made in radio and electronics technology following the
war years.
And speaking of the war years, R & H had some of the best propaganda imaginable!
Even if you’re just an electronics dabbler, there’s something here to interest you.
• Every issue individually archived, by month and year
• Complete with index for each year
• A must-have for everyone interested in electronics
Please note: this archive is in PDF format on DVD for PC.
Your computer will need a DVD-ROM or DVD-recorder (not a CD!)
and Acrobat Reader 6 or above (free download) to enable you to view this
archive. This DVD is NOT playable through a standard A/V-type DVD player.
Exclusive to
SILICON CHIP
ONLY
62
$
00
+$10.00 P&P
HERE’S HOW TO ORDER YOUR COPY:
BY PHONE:*
(02) 9939 3295
9-4 Mon-Fri
BY FAX:#
(02) 9939 2648
24 Hours 7 Days
<at>
BY EMAIL:#
silchip<at>siliconchip.com.au
24 Hours 7 Days
BY MAIL:#
PO Box 139,
Collaroy NSW 2097
* Please have your credit card handy! # Don’t forget to include your name, address, phone no and credit card details.
siliconchip.com.au
BY INTERNET:^
siliconchip.com.au
24 Hours 7 Days
^ You will be prompted for required information
November 2013 101
Battery Confusion in Lump-In-The-Coax Mixer
I have a question about the LiPo
charger included in the “Lump-InThe Coax Mixer” (June 2013). The
input for the charger seems to be 5V
but the LiPo battery is shown as 9V.
How can a 9V battery be charged
from a 5V source without a “buckboost” somewhere in the line? Surely the LiPo battery is 3.6V or 3.7V
or is it intended that the input be,
say, 12V for charging the 9V battery?
• The “Lump-In-The-Coax” mixer
gives the option to use a standard
9V battery or a lithium-polymer.
You are right that if using a Li-Po, it
is a single cell with a nominal voltage of 3.6V or 3.7V and thus can be
charged from a 5V supply using a
easily reached 100kHz. The sinewave
looked clean and well-shaped but of
course you need a distortion analyser
to really tell how much distortion the
instrument is producing.
I tried 6V, 12V and 18V lamps and
some 6V lamps in series and on adjusting the 20-turn pot, they all worked
well with varying degrees of waveform
bounce. It seems as though the lamp
does matter, just as the chap says at
the above mentioned website. There
was also a website which went quite
deeply into the kind of incandescent
lamp one should use; unfortunately
these are unavailable today.
It could be that I’ll have to look for a
decent digital variable-frequency sinewave oscillator. When I build sinewave
oscillators, I’ve usually included buffer
circuits so I can connect a frequency
counter or a CRO to the oscillator
without ill effects. Connecting external
linear regulator (the BQ2057 plus
PNP transistor Q2).
If a 9V battery is used, REG1 is
fitted and this drops the supply
voltage to the circuit to 5V, as 9V
could damage IC1 & IC2. The same
connector (BATT1) is used for either
the 9V battery or Li-Po but only one
type should be used, depending on
how the circuit is configured.
There is no provision for charging
a 9V battery since the advantage of
the 9V option is that you can just use
standard disposable 9V alkaline/dry
cells. If you want to run the mixer
from a rechargeable battery, a single
cell Li-Po is the way to go (and it will
probably fit in the specified case too).
instruments can cause earth loops to
form with unpleasant results.
I’ve also tested quite a few dual-gang
pots and found them badly out of tol
erance between each section, which is
expected. It seems as though nobody
makes accurate pots any more. The
better the pot, the less bounce there
is providing you can also get the right
lamp.
I’ve thought of buying a lot of cheaper single pots, testing them and then
joining the best two together with a
bracket in order to get a better matched
pair. I’ll do a bit more research before
I go down that path.
I’ve looked through the many SILICON CHIP magazines I have to hand and
it seems to be a fairly long time ago that
you have actually produced a variablefrequency sinewave oscillator circuit.
Making it also sweep over the audio
range would also be useful. In this
case, an IC generator chip is sometimes
used (there are quite a few circuits on
the web) but most of the circuits lack
very low distortion levels. These particular instruments can be useful to a
certain extent but to produce a really
good instrument would probably take
some doing. (G. K., via email).
• You have pretty much covered
all the pros and con of Wien Bridge
oscillators and that is why we have
not published a more recent design.
Have a look at our Digital Audio Signal
Generator from the March - June 2010
issues. This gives very low distortion,
very good envelope stability, has sine,
square, triangle and sawtooth waveforms, and can be swept over a wide
range etc.
Difficulties in adjusting
solar panel controller
I have constructed the Solar Lighting Controller from the May 2010
issue. With 14.4V from the panel, I
have 12.98V charge; at 15.7 V from the
panel, it is 13.04V and at 17.4V from
the panel, I get 13.3V. I am unable to
achieve the 14.4V cut-off point despite
setting VR1 to 5V and VR2 to a battery
voltage of (13.23 x 0.3125) = 4.3V. Can
you offer any comment?
Are there any plans for more solar
projects such as an inverter rated at
between 1-2kW? I appreciate your
assistance and the effort to produce
such a good magazine. (B. M., Auckland, NZ).
• The battery voltage setting at TP2,
as set by VR2, should be the measured battery voltage (in your case the
13.23V) multiplied by 0.3125. That’s
4.134V. Using 4.3V instead will lower
the charge cut-off voltage.
Actual cut-off voltage is dependent
WARNING!
SILICON CHIP magazine regularly describes projects which employ a mains power supply or produce high voltage. All such
projects should be considered dangerous or even lethal if not used safely.
Readers are warned that high voltage wiring should be carried out according to the instructions in the articles. When
working on these projects use extreme care to ensure that you do not accidentally come into contact with mains AC voltages
or high voltage DC. If you are not confident about working with projects employing mains voltages or other high voltages,
you are advised not to attempt work on them. Silicon Chip Publications Pty Ltd disclaims any liability for damages should
anyone be killed or injured while working on a project or circuit described in any issue of SILICON CHIP magazine.
Devices or circuits described in SILICON CHIP may be covered by patents. SILICON CHIP disclaims any liability for the infringement of such patents by the manufacturing or selling of any such equipment. SILICON CHIP also disclaims any liability
for projects which are used in such a way as to infringe relevant government regulations and by-laws.
Advertisers are warned that they are responsible for the content of all advertisements and that they must conform to the
Competition & Consumer Act 2010 or as subsequently amended and to any governmental regulations which are applicable.
102 Silicon Chip
siliconchip.com.au
MARKET CENTRE
Cash in your surplus gear. Advertise it here in SILICON CHIP
FOR SALE
PCB MANUFACTURE: single to multilayer. Bare board tested. One-offs to
any quantity. 48 hour service. Artwork
design. Excellent prices. Check out our
specials: www.ldelectronics.com.au
LEDs! Nichia, Cree and other brand
name LEDs at excellent prices. LED
drivers, including ultra-reliable linear
driver options. Many other interesting
and hard-to-find electronic items!
www.ledsales.com.au
PCBs MADE, ONE OR MANY. Any
format, hobbyists welcome. Sesame
Electronics Phone (02) 8068 2713.
sesame<at>sesame.com.au
www.sesame.com.au
SOLAR PANELS LOW COST: full
range 5W to 250W, eg: 40W/12V Poly
$69, 130W/12V $169, 190W/24V $165,
200W/12V $225, 250W/24V $225,
230W Poly $190.
AGM Batteries: 7AH $19.50, 9AH
$24.50, 20AH $52.50, 55AH $129,
105AH $199, 220AH $399.
(03) 94705851 or (03) 9478 0080
chris<at>lowenergydevelopments.com.au
www.lowenergydevelopments.com.au
544 High St, Preston 3072, Melbourne.
lications can supply PCBs and programmed micros for all recent (and
some not so recent) projects described
in the magazine. Order online or phone
(02) 9939 3295.
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
KIT ASSEMBLY & REPAIR
PCBs & Micros: Silicon Chip Pub
WANTED
SILICON CHIP pays up to $60 for Circut
Notebook items or you could win a $150
gift voucher from Hare & Forbes. See
the Circuit Notebook pages for details.
KEITH RIPPON KIT ASSEMBLY &
REPAIR:
* Australia & New Zealand;
* Small production runs.
Phone Keith 0409 662 794.
keith.rippon<at>gmail.com
ADVERTISING IN MARKET CENTRE
Classified Ad Rates: $32.00 for up to 20 words plus 95 cents for each additional word. Display ads in Market Centre
(minimum 2cm deep, maximum 10cm deep): $82.50 per column centimetre per insertion. All prices include GST.
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 phone Glyn (02) 9939 3295 or 0431 792 293.
on temperature and the cut-off voltage
will vary if the temperature is not 20°C.
That is whenever the compensation
(VR3) is set to above 0mV/°C.
Otherwise, there may be some other
problem with the charger. Check that
the components for IC2a’s input voltage divider are correct and also check
IC2b’s current measuring components.
If these cannot provide the correct
solar panel voltage and current flow
values to IC1, then the MPPT charging
will not operate.
If the cut-off voltage is still too low,
try adjusting VR2 to get the required
cut-off value.
Birds to sing
on demand
I have previously discussed with
friends how nice it would be to be
awoken in the morning by the sound
siliconchip.com.au
Notes & Errata
Automatic Car Headlight Controller, October 2013: there should be
seven 1μF multilayer capacitors in
the parts list, not six. Also, the three
2-pin headers are for jumpers JP1JP3; there is no JP4.
2.5GHz 12-Digit Frequency Counter, December 2012 - January 2013:
excessive ‘bobble’ on the least significant digit of the counter’s display
when measuring low frequencies
has been discovered. This is due to
the first counting decade counter,
of something gentle such as birds singing instead of the harsh beeping of a
digital alarm clock. Is there some way
to get the PC Birdies, featured in the
IC14, not being properly reset prior
to making each count.
The cure is to insert a few lines
of code into the firmware. A revised
‘Version 1.2’ firmware (both source
code and hex code) is available for
free download on the SILICON CHIP
website.
IR-to-UHF Converter, July 2103:
the 100Ω resistor at pin 1 of OPTO1
will need to be reduced if the optocoupler doesn’t work. A value between 22Ω and 47Ω should suffice.
August 2013 issue to sing on demand?
(T. U., Maleny, Qld).
• The birds sounds will start if the
continued on page 104
November 2013 103
Advertising Index
ADM Instrument Engineering....... 61
Altium Ltd....................................... 7
Altronics...................loose insert, 77
Apex Tool Group....................... OBC
Cleverscope................................... 6
Core Electronics............................. 8
Emona Instruments...................... 82
Hare & Forbes............................. 2-3
Ask SILICON CHIP
. . . continued from page 103
LDR resistance is brought from an initial high value (when in darkness) to a
low value (when exposed to daylight).
So that effect can be simulated using a
reed relay that closes contacts across
pins 5 & 2 of IC1 when the bird sound
is required to start.
The LDR should be removed from
circuit.
Alternatively, applying power will
start bird sounds after a short 5-second
delay provided the LDR is exposed to
daylight or shorted out.
How to filter a modified
sinewave inverter
I had an idea for smoothing the
“modified” sinewave from a cheap 12V
to 230VAC inverter but I’m unable test
to the idea right now as I don’t have
access to an oscilloscope.
Could you simply add a large
suitably-rated iron-core choke in series
with the secondary 230VAC circuit (eg,
use either the primary or secondary
winding of an iron-core transformer)?
Would this round off all the sharp
DOWNLOAD OUR CATALOG at
www.iinet.net.au/~worcom
WORLDWIDE ELECTRONIC COMPONENTS
PO Box 631, Hillarys, WA 6923
Ph: (08) 9307 7305 Fax: (08) 9307 7309
Email: worcom<at>iinet.net.au
corners of the modified waveform? I
could see noise emanating from the
transformer as a potential issue. (J.K.,
Emerald, Qld).
• The switching frequency of a
modified sinewave inverter is only
50Hz. If you were to filter out the high
frequency components for a sinewave
output you would need bulky components that would reduce the overall
efficiency from the inverter. You will
be restricted to less of the available
inverter power due to the removal
of the 50Hz harmonics by the filter
components. In a real filter, there will
also be resistive power losses that will
generate heat.
Pure sinewave inverters develop
the 50Hz sinewave at a much higher
switching frequency than the 50Hz of
a modified sinewave inverter and so
the filter components are smaller and
SC
more efficient.
Issues Getting Dog-Eared?
Keep your copies safe with
these handy binders
Order now from www.siliconchip.com.au/
Shop/4 or call (02) 9939 3295 and quote
your credit card number or mail the handy
order form in this issue. *See website for
overseas prices.
Buy five and get them postage free!
104 Silicon Chip
REAL
VALUE
AT
$14.95
PLUS
P&P
Icom Australia.............................. 15
Jaycar .............................. IFC,49-56
Keith Rippon .............................. 103
KitStop.......................................... 14
LED Sales.................................. 103
Low Energy Developments........ 103
Master Instruments...................... 13
Microchip Technology................... 19
Mikroelektronika......................... IBC
Ocean Controls............................ 62
Quest Electronics....................... 103
Radio, TV & Hobbies DVD.......... 101
RF Modules................................ 104
Rohde & Schwarz.......................... 5
Sesame Electronics................... 103
Silicon Chip Binders.............. 80,103
Silicon Chip Bookshop................. 90
Silicon Chip Online Shop........ 96-97
Silicon Chip Subscriptions........... 98
Tekmark Australia...................... 8,63
Trio Test & Measurement.............. 10
Virtins Technology........................ 11
Vicom Australia.............................. 9
Wiltronics...................................... 12
Worldwide Elect. Components... 104
xLogic........................................... 10
siliconchip.com.au
|