Electronics: Practical
Electronics: Practical
Electronics: Practical
Electronics
The UK’s premier electronics and computing maker magazine
Circuit Surgery Fox Report Audio Out
Using digipots with Hopeless helplines and Universal board for dual
active filters NASty problems audio op amps
Three low-noise
HF-UHF Amplifiers
Amplifier
PLUS!
Clipping Indicator
Techno Talk – Robots... down on the farm! Apr 2023 £5.99
04
Cool Beans – Arduino Bootcamp: 7-segment displays
9 772632 573030
Net Work – Smart devices with ‘Plug and Play’ simplicity
www.electronpublishing.com @practicalelec practicalelectronics
High Precision Sensing for Modern Applications
AVR® EA Microcontroller Family
AVR® EA Microcontrollers make it easy to incorporate intelligent control into embedded systems with
analog sensors. The purpose-built MCUs offer a 12-bit differential ADC (with integrated Programmable
Gain Amplifier), 10-bit DAC and an on-chip comparator for incredible flexibility when interfacing with
analog components.
Combined with the powerful AVR CPU and “core independent” digital peripherals, the AVR EA family enables
you to build compact designs with built-in flexibility and lower system cost.
Key Features
• AVR CPU running up to 20 MHz
• 16-64KB Flash Memory with dedicated Read-While-Write (RWW) section
• 2-6KB SRAM
• 512 B EEPROM
• 28 to 64 pins in SPDIP, SSOP, TQFP and VQFN packages
• Standard and Extended temperature grades: -40°C to 85°C and -40°C to 125°C
Electronics Contents
Projects and Circuits
500W Power Amplifier – Part 1 by John Clarke 17
This large power amplifier produces big, clear sound with low noise and distortion. It
delivers 500W RMS into a 4Ω load and 270W into an 8Ω load.
Capacitor Discharge Welder – Part 2 by Phil Prosser 26
This Capacitor Discharge Welder has been carefully designed to deliver just the right
amount of weld energy. We described how it works last month, so now let’s make it!
Amplifier Clipping Indicator by John Clarke 38
This easy-to-build Amplifier Clipping Indicator is ideal for avoiding unpleasant sounds
and protecting your speakers; its LED shows even the briefest of clipping events.
Three low-noise HF-UHF Amplifiers by Jim Rowe 42
Useful overview of three low-cost HF-UHF amplifier modules offering 20dB of
gain over frequency ranges of 1MHz to 3GHz, 5MHz to 6GHz and 50MHz to 4GHz.
The Wireless for the Warrior books are a the introduction of VHF FM and
source of reference for the history and hermetically sealed equipment.
development of radio communication
equipment used by the British Army Volume 3 covers army receivers from
from the very early days of wireless up 1932 to the late 1960s. The book not
to the 1960s. only describes receivers specifically
designed for the British Army, but also
The books are very detailed and include the Royal Navy and RAF. Also covered:
circuit diagrams, technical specifications special receivers, direction finding
and alignment data, technical receivers, Canadian and Australian
development history, complete station Army receivers, commercial receivers
lists and vehicle fitting instructions. adopted by the Army, and Army Welfare
broadcast receivers.
Volume 1 and Volume 2 cover
transmitters and transceivers used Volume 4 covers clandestine, agent or ‘spy’
between 1932-1948. An era that starts radio equipment, sets which were used by
with positive steps taken to formulate special forces, partisans, resistance, ‘stay
and develop a new series of wireless sets behind’ organisations, Australian Coast
that offered great improvements over Watchers and the diplomatic service. Plus,
obsolete World War I pattern equipment. selected associated power sources, RDF and
The other end of this timeframe saw intercept receivers, bugs and radar beacons.
SUBSCRIBE NOW!
Understanding
Practical
Electronics
The UK’s premier electronics and computing maker magazine
Circuit Surgery Audio Out
Universal op amp board
Make it with Micromite
Detecting, comparing and storing Simulating digipots
Practical
Electronics
The UK’s premier electronics and computing maker magazine
Circuit Surgery Audio Out
Further circuits for the
Make it with Micromite
Multiple displays Using digipots with
Practical
Electronics
The UK’s premier electronics and computing maker magazine
Circuit Surgery Kick Start
BME280 humidity, pressure
Make it with Micromite
PicoMite Fingerprint
Circuit Surgery
Using digipots with
Practical
Electronics
The UK’s premier electronics and computing maker magazine
Fox Report
Keeping one step ahead of
Make it with Micromite
Updating the PicoMite
Circuit Surgery
Using digipots with
Practical
Electronics
The UK’s premier electronics and computing maker magazine
Fox Report
Hopeless helplines and
Audio Out
Universal board for dual
01202 087631
and using digipots (optimised for audio) fingerprints with a PicoMite in LTspice Universal op amp board for a PicoMite op amp amplifiers and temperature sensor Reader coding linear regulators scammers is a full-time task firmware active filters NASty problems audio op amps
WIN!
Microchip
Remote Control Driveway Gate Cooling Fan Controller & Raspberry Pi WIN! 500W Power
Hummingbird WIN!
Microchip
PIC32CX-BZ2
and WBZ451
Range Extender Remote Control Loudspeaker Protector Pico BackPack Microchip amplifier
dsPIC33EV 5V
Amplifier PIC32MM
Curiosity
Curiosity
Development
CAN-LIN
Development Board
WIN! Starter
Board Microchip Kit
Curiosity
Development WIN!
Board Fingerprint Microchip
WIN! PIC32CM JH01
Three low-noise
Reader Curiosity Pro
Development
Board HF-UHF Amplifiers
Classic LED Fingerprint Capacitor
Metronomes Reader Discharge
Welder Building the Capacitor
35MHz-4.4GHz Discharge Welder
Build a PicoMite Signal Generator LTDZ V5.0
SMD Trainer board budget
fingerprint reader
Spectrum
Analyser
USB Tesla Coil Semaphore
Cable Multi-Channel Solid-State Signal for
Tester Speaker Protector Flame OO-Gauge Amplifier
Discharge Model Railways Clipping Indicator
PLUS! PLUS! PLUS! PLUS! PLUS!
Dec 2022 £5.49 Jan 2023 £5.49 Feb 2023 £5.99 Mar 2023 £5.99 Apr 2023 £5.99
Techno Talk – Giant boost for batteries 12
Techno Talk – Raudive voices revisited 01 Techno Talk – Mushroom magic 02 Techno Talk – It’s handover time 03
Techno Talk – Robots... down on the farm! 04
Cool Beans – LogiSwitch debounce breakout board Cool Beans – Introducing the Arduino Bootcamp Cool Beans – Arduino Bootcamp Cool Beans – Arduino Bootcamp: two LEDs (twice the fun)! Cool Beans – Arduino Bootcamp: 7-segment displays
9 772632 573023 9 772632 573023
Net Work – Energy-saving and monitoring resources Net Work – Smart light bulbs and Alexa’s skills Net Work – Alexa update, plus space and energy news 9 772632 573030
Net Work – Satellites and the roots of the Information Age 9 772632 573030
Net Work – Smart devices with ‘Plug and Play’ simplicity 9 772632 573030
www.electronpublishing.com @practicalelec practicalelectronics www.electronpublishing.com @practicalelec practicalelectronics www.electronpublishing.com @practicalelec practicalelectronics www.electronpublishing.com @practicalelec practicalelectronics www.electronpublishing.com @practicalelec practicalelectronics
Take out a one-year subscription and save more than £10 over the year.
Even better – save over £1 per issue if you subscribe for two years – a total saving of £26.
Electronics
Rest of the World £46.99 (Airmail)
1 Year: UK £59.99, Europe £69.99 (Airmail),
Rest of the World £84.99 (Airmail)
2 Years: UK £114.99, Europe £129.99 (Airmail),
SUBSCRIPTION PRICES Rest of the World £164.99 (Airmail)
Subscriptions for delivery direct to any address in: To: Practical Electronics Subscriptions
PO Box 6337
UK: 6-months £33.99, 12-months £59.99, 24-months £114.99 Bournemouth BH1 9EH
Europe Airmail: 6-months £38.99, 12-months £69.99, United Kingdom
24-months £129.99 Tel: 01202 087631
Email: pesubs@selectps.com
Rest Of The World Airmail: 6-months £46.99, 12-months
£84.99, 24-months £164.99 I enclose payment of £ ..............
(cheque/PO in £ sterling only)
Cheques (in £ sterling only) payable to Practical Electronics payable to Practical Electronics
and sent to: Practical Electronics Subscriptions, PO Box 6337,
Please charge my Visa/Mastercard
Bournemouth BH1 9EH, United Kingdom
My card number is: .......................................................................
Tel: 01202 087631 Please print clearly, and check that you have the number correct
Email: pesubs@selectps.com
Card Security Code .................. Valid From Date........................
Also via our online shop at: www.electronpublishing.com (The last 3 digits on or just under the signature strip)
Subscriptions start with the next available issue. We accept Card Ex. Date ......................................
MasterCard or Visa.
Name ............................................................................................
(For past issues see the Back Issues page.)
Address ........................................................................................
9 771030 266001
12
11
$ 50* NZ $1290
INC GST INC GST
SMD
Trainer
and how to solder surfac
e-mount parts
The small but powerful
Hummingbird
Amplifier
Hands-on with the
Raspberry Pi Pico
The smallest Raspberry
Pi yet!
• Combined subscriptions include both the printed magazine and online access.
• Prices are in Australian dollars (AUD) unless otherwise specified. Hummingbird Amp;
• Prices listed are for everywhere in the world except Australia and New Zealand. December 2021
View siliconchip.com.au/Shop/SubRates for a full list of current prices.
• Price estimates are just that and should only be used as a guide, we primarily
take payment in the form of Australian dollars.
Raspberry Pi Pico;
Try our Online Subscription – now with PDF downloads! December 2021
An online issue is perfect for those who don’t want too much
clutter around the house and is the same price worldwide.
Issues can be viewed online, or downloaded as a PDF.
Electronics Editorial
Editorial offices
Practical Electronics Tel 01273 777619 Power!
Electron Publishing Limited Mob 07973 518682 We have a super, packed Practical Electronics for you this month,
1 Buckingham Road Fax 01202 843233
Brighton Email pe@electronpublishing.com especially if you like to learn about or build amplifiers. But even
East Sussex BN1 3RA Web www.electronpublishing.com if that’s not your primary interest we have plenty of other topics to
Advertisement offices
whet your appetite for electronics.
Practical Electronics Adverts Tel 01273 777619
1 Buckingham Road Mob 07973 518682 Our two big projects are all about the control of electrical power:
Brighton Email pe@electronpublishing.com
East Sussex BN1 3RA the conclusion of the Capacitor Discharge Welder and the start of a
new 500W Power Amplifier. The welder is an unusual, fascinating
Editor Matt Pulzer
General Manager Louisa Pulzer
design – in fact, I’m not sure I’ve ever seen one like this before. It
Digital subscriptions Stewart Kearn Tel 01202 880299 has a thousand and one uses for makers working with lightweight,
Online Editor Alan Winstanley
Web Systems Kris Thain
sheet-metal designs. I’d welcome photos and reports of how you
Publisher Matt Pulzer use yours – do let us know.
Print subscriptions
Practical Electronics Subscriptions
When it comes to headcount, there’s not much doubt we produce
PO Box 6337 a larger number of designs for pre-amplifiers compared to power
Bournemouth BH1 9EH Tel 01202 087631 amps. There are many more opportunities for design variation
United Kingdom Email pesubs@selectps.com
with pre-amplifiers – input choices, tone controls, remote control
Technical enquiries and so on. Plus, pre-amplifiers tend to be cheaper compared to
We regret technical enquiries cannot be answered over the
telephone. We are unable to offer any advice on the use, purchase,
their much larger siblings, so experimentation requires less outlay.
repair or modification of commercial equipment or the incorporation Therefore, when a new power amplifier design does come along,
or modification of designs published in the magazine. We cannot we try to make it something special. This month, we present the
provide data or answer queries on articles or projects that are
more than five years old. first part of our 500W Power Amplifier module – and yes, you read
that correctly, it can output half a kilowatt! But this is no dumb,
Questions about articles or projects should be sent to the editor
by email: pe@electronpublishing.com
muscle-bound over-sized, clunking amp. It’s a sophisticated design
with a whole host of nice features from clever cooling fan control
Projects and circuits to accurate clipping detection. As with so many big projects
All reasonable precautions are taken to ensure that the advice and
data given to readers is reliable. We cannot, however, guarantee these days, it does come with its own set of component sourcing
it and we cannot accept legal responsibility for it. challenges, but we have made an agreement with our partner
A number of projects and circuits published in Practical Electronics
magazine Silicon Chip to provide a kit of all the hard-to-find parts.
employ voltages that can be lethal. You should not build, test,
modify or renovate any item of mains-powered equipment unless And more amps…
you fully understand the safety aspects involved and you use an
RCD (GFCI) adaptor. Following on from the popularity of the Single Op Amp Universal
Board in the December-January issues, Jake Rothman has
Component supplies produced a Dual Op Amp version. It’s a really useful design and
We do not supply electronic components or kits for building the
projects featured, these can be supplied by advertisers. We development tool for audio and instrumentation tinkerers.
advise readers to check that all parts are still available before
commencing any project in a back-dated issue.
Maximum Max
Advertisements In last month’s editorial we bade farewell to Techno Talk’s Mark
Although the proprietors and staff of Practical Electronics take Nelson, and welcomed Clive ‘Max’ Maxfield to the column. Max
reasonable precautions to protect the interests of readers by
ensuring as far as practicable that advertisements are bona fide, has hit the ground running and I thoroughly enjoyed his first
the magazine and its publishers cannot give any undertakings piece. That’s not Max’s only contribution this month, he’s up to
in respect of statements or claims made by advertisers, whether
these advertisements are printed as part of the magazine, or in Part 4 of his must-read Arduino Bootcamp. If you’ve ever
inserts. The Publishers regret that under no circumstances will wondered why the Arduino has such a strong following but felt
the magazine accept liability for non-receipt of goods ordered, or
for late delivery, or for faults in manufacture.
that digital control was perhaps not for you, then think again and
read Max’s thoroughly engaging pieces.
Transmitters/bugs/telephone equipment
We advise readers that certain items of radio transmitting and
telephone equipment which may be advertised in our pages
Matt Pulzer
cannot be legally used in the UK. Readers should check the law Publisher
before buying any transmitting or telephone equipment, as a fine,
confiscation of equipment and/or imprisonment can result from
illegal use or ownership. The laws vary from country to country;
readers should check local laws.
Can you imagine visiting a farm and seeing autonomous tractors ploughing the fields while AI-powered
drones zip through the sky detecting and addressing problems. Later, in a greenhouse, you find robots
planting vegetables and picking fruits. Far future? It’s already yesterday’s news!
I
’ve been reading science fiction scene with a metaphorical fanfare of autonomous tractor. Now suppose that
ever since I was a young sprog. It’s sarrusophones. Now, AI is everywhere, you have some sort of problem with a
amazing to think how many of the powering everything from chatbots to small portion of the crop located in the
things that once seemed to be the far- drones to robots. centre of the field. Perhaps an outbreak
future ramblings of deranged minds of fungus, for example.
are now part of our everyday lives. But who can replace a man? Your first problem is detecting the out-
I’m thinking of robots, artificial intel- One short story I read when I was a break as soon as it starts before it spreads.
ligence (AI), and AI-powered robots in youngster was, But Who Can Replace Your next problem is that your autono-
horticultural and agricultural settings. a Man? Written by Brian Aldiss, this mous tractors (well, any tractors) are big
When did people start seriously think- post-apocalyptic tale involved a group of and heavy, which means you can’t use
ing about AI? We’ve all heard about robots on a farm. They were complaining them in fields after it’s been raining be-
Charles Babbage and his work on a me- that they couldn’t do their work because cause they will compact and damage the
chanical computer called the Analytical no orders were coming from the city. soil. Even if it’s not been raining, if you
Steam Engine circa the 1840s. We’re also Based on rumours they’d heard about send a tractor in to spray the problem
familiar with his assistant, Ada Lovelace, humans fighting each other to extinction, area, there’s a good chance it will pick
who was the daughter of Lord Byron. the robots decided to go to the city and up fungal spores, which it will subse-
Babbage thought of his invention only take over themselves. While journeying quently disperse as it exits your field.
in terms of performing mathematical to the city, they talk about all of the won- One solution is to use an agricul-
calculations. Lady Ada, by compari- derful things they are going to do, until tural drone. Equipped with AI and
son, realised that the data manipulated they meet a survivor. When he croaks, cameras, a drone can fly over a field
by computers was not obliged to repre- ‘Get me food,’ they all scurry to do his and detect the onset of a problem. It
sent only numerical values, but could bidding. This classic story is available can then deliver whatever is required
instead be employed to represent more for free download: https://bit.ly/3xAHnc4 (fertiliser, insecticide…) in a highly
abstract symbols like musical notes. In focused and cost-effective manner.
her writings, Ada mused that future Autonomous tractors Consider the Hylio Model AG-172,
incarnations of the Analytical Engine, Suppose we wish to spray a field of crops for example. This beauty is the largest
‘might compose elaborate and scientific with pesticide. Just a couple of years ago, spray drone platform on the market!
pieces of music of any degree of com- the way things worked would be that a With a 150-litre capacity and up to 12m
plexity or extent.’ human would drive a tractor pulling a delivery width, the AG-172 can cover
sprayer whose booms extended up to 10m up to 0.4km2/hour – see: www.hyl.io
Not my first rodeo on either side. This would spray every-
This is not my first experience with AI. thing indiscriminately, whether it needed Strawberry-picking robots
Things called ‘expert systems’ origi- it or not. In addition to costing a lot of Recently, I’ve been introduced to all sorts
nated in the 1970s and proliferated in money, the result was vast quantities of cool technologies, such as the EVE
the 1980s. These systems embodied the of pesticide entering the environment. humanoid robot from Halodi Robotics
first serious stab at what we think of as The next step was for companies like (www.halodi.com). These little scamps
AI today. Unlike today’s artificial neu- Blue River Technology to develop AI- are already being used for security and
ral networks (ANNs), however, expert controlled ‘See and Spray’ technology. In health care and supermarket applica-
systems were designed to solve complex this case, the sprayer arms are equipped tions around the world. In the case of
problems by ‘reasoning’ through bodies with cameras that look at the crops and supermarkets, for example, an EVE can
of knowledge mainly using if–then rules. instruct individual spray heads which wander up and down the aisles, report-
By the 1990s, the marketing weenies plants (or parts of plants) to target. More ing spills, detecting misplaced items and
had climbed on the AI bandwagon and details at: https://bit.ly/3IAuHbx returning them to their rightful destina-
were stamping ‘Powered by AI’ labels More recently, John Deere announced tions, and restocking shelves as required.
on anything that moved, much like their a fully autonomous tractor. Using a Of course, robots don’t have to be
counterparts today enthusiastically pro- combination of GPS, satellite imag- shaped like humans. I recently saw a
claim products that have never seen a ery, and six stereo cameras providing video of strawberry picking robots in
hint of a sniff of a whiff of gluten as be- 360° vision, these tractors can run 24 California. Using their cameras, these lit-
ing ‘Gluten Free!’ As a result, by the end hours a day, seven days a week, see: tle scamps can sense texture and colour
of the 1990s, the word ‘AI’ had started to https://bit.ly/3lOHNca and pick just-ripened strawberries on an
leave a bad taste in everyone’s mouths. individual basis: https://bit.ly/3Ia2uak
To be honest, I’d forgotten all about AI Agricultural drones The examples presented here are only
until sometime around the early 2010s Suppose you have a huge field that you’ve the tip of the iceberg, and new develop-
when it suddenly re-emerged on the tilled and seeded and fertilised using your ments are racing our way as we speak.
Free-to-enter competition
I
n today’s endlessly ‘online’, suffers from terrible help support. In Brainless bots
never face-to-face world, too many my experience, NatWest bank’s Arti- The extent to which Help and Feed-
helplines simply don’t help, using ficial Intelligence chatbot Cora is so back services are now under unthink-
faceless staff who work from a script, Unintelligent that it fails to understand ing bot control is nicely evidenced
filibustering with instructions to try even the simplest customer question. by the Microsoft system used to auto-
irrelevant fixes. I previously reported here on a vet comments on this news site:
gung-ho speech made by Dan Fahy https://bit.ly/pe-ape23-msn
Sky’s the limit of Paramount at the annual Digital I innocently tried to add a polite
The last time I looked, Sky’s NowTV TV Group conference, ahead of the comment suggesting that Paramount
had still not solved the problem of Paramount + streaming service launch. should look at the quality of its Cus-
some programmes stopping half-way Essentially, Fahy was promising Nir- tomer Support, and briefly noted my
through or failing to start after the vana, and in good faith I quoted him. experience of 14 emails needed to
adverts which paying subscribers But when I later tried the service for answer a simple question. But all
are forced to watch – an annoyance myself it took a time-wasting trudge useful versions of the comment were
which brings unhappy memories of 14 emails before the Paramount repeatedly rejected with the error
of retail DVDs which could not be Help Line admitted what it should message ‘Does not meet The Microsoft
fast-forwarded through the jungle have been able to advise immediately; Start Community Guidelines.’
of trailers, adverts and promotions although Roku streaming devices work Inquisitive readers may like to ex-
embedded ahead of the programme. with Paramount, the device which periment with their own test messages
For many months, the adverts on Roku makes for Sky is designed not designed to discover whether it is
Sky Now have been in audio-only. to work with Paramount. length, content or key word that makes
The screen only springs into life as I’ve contacted Dan Fahy and Para- the Microsoft computer say, ‘No’.
the adverts end and the programme mount (several times) to report what
begins. I have greatly enjoyed not it’s like for real world customers to NASty
wasting my time on reporting this use Fahy’s help line. But no reply. With expensive hardware, it may not
user-benefit fault. I’ll bet many others With subscription service help lines be easy, or even possible, to get out of
have happily not reported it either. the customer usually has the last word a deal. I’ll recount one story because
Sky’s technical support either does and final sanction – cancel the sub. The the fix I found for myself, with next
not monitor its own NowTV service clear moral of any and all subscription to no useful help from the company,
or is unable to fix faults. All in all, service stories is don’t subscribe to has much broader value.
it’s a win-win for paying customers. any service for a year. Instead, start off IT company Terramaster specialises
opting for a week or month, until you in NAS (Network Attached Storage)
Artificial unintelligence know it works for you. Ideally take up devices. I bought myself the solidly
If only things worked like that with an offer of a free period and really test built, and attractively priced, two-
other services where the customer it before paying a penny. bay F2-210, built round an ARM
e w !
n ze s
1555F IP68 sealed flanged enclosures si
Learn more: hammfg.com/1555f
Contact us to request a free evaluation sample.
uksales@hammfg.com • 01256 812812
E
ver since the Internet became
the essential ‘fourth utility’,
increasing numbers of households
now use their Internet connection for
managing various Internet of Things
(IoT) gadgets around the home. You can
control any number of IoT electrical
sockets, switches, bulbs, security
cameras, LED lighting strips, sensors
or even a robot vacuum cleaner, pressure
washer or lawnmower, all with a tap
on a smartphone screen. Then of course
there’s turning on your electric vehicle
charger remotely or downloading route
maps onto the car’s satnav. Plus, there
are now myriad options for casting TV,
music and video over the web onto your
devices, which usually involves signing
up to a monthly subscription or two.
The new Matter protocol for smart devices promises simple, touch-free ‘plug & play’
Simple ‘If This Then That’ (IFTTT) simplicity. Amazon’s Alexa range has already signed up.
applets enable certain basic Inter-
net-related actions to be triggered by
all kinds of events, such as notifying the broadband connection, or (say) products. Some smart device stand-
you when your robot lawnmower has Amazon’s cloud? ards include Zigbee and Z-Wave, but
finished, or alerting when the weath- Now, as I write, one Tapo bulb they use different frequencies and are
er is turning for the worse, or when a (lifespan 15,000 hours) has failed not inter-operable.
certain term is ‘tweeted’. More details after 750 hours. I’ve probably been The Zigbee protocol is a wireless
for experimenters, together with both unlucky, but the usual rigmarole fol- device control standard that was de-
free and subscription-based plans are lowed: soft-resetting, hard-resetting, veloped at a time when Wi-Fi and the
available at: www.ifttt.com re-installing, re-booting, checking the likes of Bluetooth were first taking
As regular readers know, I’ve been firmware, trying it in another light fix- shape. It’s getting on for 20 years old
trying out some TP-Link ‘Tapo’ smart ture and so on – complications that a and is used by Bosch and Philips,
devices using a budget-priced Mer- non-technical user might struggle to for example, but Apple (HomeKit),
cusys (also made by TP-Link) whole do. TP-Link’s boilerplate support was Samsung (ARTIK), LG (AllJoyn) and
home mesh system. I found that they polite and responsive, and a free re- others have scrambled to jump onto
mostly work well enough, most of the placement was offered, provided I post the home network bandwagon, each
time, but the system is not entirely the faulty item back at my expense. having their proprietary protocols.
trouble-free. When things go wrong In an effort to simplify the way in
(eg, a smart bulb doesn’t respond), It really Matters which smart devices are designed, sold,
troubleshooting can be frustrating The Internet of Things has grown set up and (at last!) work together, the
and time-consuming. Is the prob- over the years in quite a piecemeal Connectivity Standards Alliance (the
lem caused by the Wi-Fi home mesh way, with manufacturers adopting name behind Zigbee) has now finalised
hubs, the smart bulb itself, the app, their own protocols to suit their smart a new, IP-based open standard protocol
that readers will gradually start to hear
about when they shop for IoT gadgetry.
The new ‘Matter’ protocol will become
the touch-free ‘Plug-and-Play’ stand-
ard for the smart device world, and it’s
intended to unify the installation and
operation of Matter-compatible smart
devices. It’s also designed to enable
manufacturers to turn around new
Matter products more quickly.
Fans of IoT home, garden and office control of smart devices, gadgets and gizmos It’s claimed that Matter will unite
should keep an eye open for the Matter logo. IoT interoperability in the future and
the Owner’s Workshop Manuals pub- but they are touting for business with Yet more competition for micro-
lished by Haynes – famed for their the likes of Amazon’s Kuiper LEO satellite launchers is arriving on the
car repair manuals – which includes satellite program, and they’ve raised market, as Germany’s Rocket Facto-
the Saturn V and Space Shuttle. The over $400m in funding, according to ry Augsburg (RFA) launching service
Apollo 11 Manual includes details of Crunchbase. In January, ABL attempted has signed up with SaxaVord Space-
the first moon landing. You can buy to launch their first RS1 rocket from port for exclusive use of one of its
it via the usual outlets or direct from: Alaska Spaceport, but the rocket fell three proposed launch pads, starting
https://bit.ly/pe-apr23-man back to earth 11 seconds after launch- by the year end. SaxaVord is based in
ing. There is no video, but the PR states the Shetland Islands and is Britain’s
Other space news that a loss of power just after 10 sec- northernmost launching site. More
Still on the subject of space launch- onds shut down all nine engines and info at: https://saxavord.com/r/
es and Boeing 747s, investigations are the rocket fell back down laden with
continuing into finding the reason why 95% of its fuel, creating ‘an energet- Other news
Virgin Orbit’s first satellite launch from ic explosion’. Various storage tanks, My thanks go to reader Stephen Hors-
Britain failed during the ‘Start Me Up’ ground-based equipment and hangars man who followed up on my February
mission (see last month). Virgin Orbit were destroyed, they added. column: ‘I enjoy your columns and
stated that every other satellite they Spaceport Sweden recently cut have just got round to reading your
have launched had reached orbit suc- the ribbon on their new launching Feb 23 column re. backup technolo-
cessfully, and they are pressing on with facility which is now open for busi- gy. I was an IT manager in the early
their next launch from California. Virgin ness. The newly expanded Esrange 2000s and got sick of restoring the
Orbit’s CEO is quoted as saying that the Space Center site on the very north- tape catalogues from tape drives to
mission failure was possibly caused by ernmost edge of Sweden is the first get one file back, and I started using
a dislodged filter shutting off the first such facility on mainland Europe Drive Snapshot to disc image to USB
stage prematurely. More flights from and has previously been used for Hard drives. It was/is written in ma-
Cornwall will follow later this year. launching ‘sounding rockets’ (small- chine code and could be booted from a
California-based ABL Space Sys- er scientific test and measurement floppy, or USB drive these days. Images
tems (https://ablspacesystems.com) rockets), but now has its eyes on the can be mounted, and files dragged and
is a low-profile startup rocket lobber satellite business. More details are at: dropped very easily. I still use it to this
that not many people have heard of, https://sscspace.com/esrange/ day and it’s well worth checking out.
Teach-In
8 CD-ROM EE
FR -ROM
CD
ELECTRONICS
£8.99
SERIES
FOR
THE TEACH-IN
8
This CD-ROM version of the exciting and popular Teach-In 8 series INTRODUCING THE ARDUINO
• Hardware – learn about components and circuits
has been designed for electronics enthusiasts who want to get to grips • Programming – powerful integrated development system
• Microcontrollers – understand control operations
• Communications – connect to PCs and other Arduinos
Teach-In 8 is based around a series of practical projects with plenty of guide. The why and how to build
PIC-based projects
SOFTWARE
The CD-ROM contains the software for both the Teach-In 8 and PICkit 3 series.
This large power amplifier produces big, clear sound with low noise and
distortion. It delivers 500W RMS into a 4Ω load and 270W into an 8Ω load.
It has been designed to be very robust and includes load line protection
for the output transistors and speed-controlled fan cooling that remains
off until needed. With two of these, you could deliver 1000W into a single
8Ω loudspeaker. Good luck finding one that will handle that much power!
Fig.1: the frequency response of this amplifier is Fig.2: THD+N plots for 8W, 4W and 3W loads (two
exceptionally flat, varying by less than 1/20dB between different power levels are shown for 4W) with 20Hz-22kHz
20Hz and 20kHz. The upper −3dB point is just short of bandwidth. You can see that the base distortion largely
100kHz. While the lower −3dB point is not visible in this depends on the load impedance, and it rises steadily with
plot, it’s likely around 1Hz. An active subsonic pre-filter frequency above about 100Hz. The 3W curve is mainly
would be necessary to prevent over-extension if you’re presented as a ‘worst-case scenario’ and shows that it can
using this amp to drive a subwoofer directly. drive very low load impedances without too much difficulty.
Fig.3: THD+N vs power at 1kHz. Distortion starts to rise above The finished
350W for 4W loads but it delivers 500W without gross distortion Amplifier Module
(and even more on a short-term basis). The performance is shown mounted in its 3RU
pretty good in the middle power range, from a few watts to a case with heatsink and fans. Note
couple of hundred watts; it will give ‘CD quality’ into 8W up to the 120mm PWM fans attached to the
about 200W. Double the numbers on the horizontal axis and heatsink, as anything larger wouldn't fit in the
check the 4W curve for 8W bridged performance! case with its lid on.
These are responsible for the very low to 0.33Hz. The relatively high gain Diodes D1 and D2 are included
residual noise of the amplifier. helps to keep the amplifier stable across the 2200μF feedback capac-
2SA1312 transistors are becoming and makes the input sensitivity rea- itor as insurance against possible
somewhat challenging to get, but we sonable at around 1V RMS for full- damage if the amplifier suffers a
have secured a good supply for our power output. fault where the output is pulled to
readers as we couldn’t find any suit- the −80V rail. In this circumstance,
able alternatives – see the parts list for Coupling capacitors the capacitor would have a signifi-
our sourcing recommendation. The high-value electrolytic capacitors cant reverse voltage.
(Editor’s note – the practice of man- for the input coupling (47μF) and feed- We use two diodes instead of one to
ufacturers discontinuing components back (2200μF) networks eliminate any ensure that there is no audio distor-
with no direct replacement is very effects of capacitor distortion in the tion due to the non-linear effects of a
frustrating, and it has bitten us sev- audio pass-band and also minimise single diode junction at the maximum
eral times.) the source impedance. feedback signal level of about 1V peak.
The bias resistor for Q1 and the To explain, if we use a smaller input This prevents diode conduction under
series feedback resistor to the base of capacitor at say 2.2μF, its impedance normal operating conditions.
Q2 are set to a relatively low value will be 1447W at 50Hz. This will only
of 10kW to minimise signal source have a small effect on the audio fre- Voltage amplification stage
impedance and thereby reduce ther- quency response but represents a sub- Most of the amplifier’s voltage gain is
mal noise. The 10kW input resistance stantial increase in the source imped- provided by Q9, fed via emitter-fol-
and the 47μF input capacitor provide ance at low frequencies. By contrast, lower Q8 from the collector of Q1.
a low-frequency roll-off at 0.34Hz. the 47μF input capacitor we used has Together, these transistors form the
The amplifier gain is set by the an impedance of only 67.7W at 50Hz. voltage amplification stage (VAS). Q8
ratio of the 10kW and 220W feedback This also means that the voltage buffers the collector of Q1 to minimise
resistors at the base of Q2. This gain across these capacitors is minimal non-linearity.
is 46 times (33dB), while the 2200μF compared to the audio signals, so the Q9 is operated without an emitter
capacitor sets the low-frequency roll- inherent non-linearity of electrolytic resistor to maximise gain and also
off (−3dB point) in the feedback loop capacitors does not matter. maximise its output voltage swing.
UK readers – kit of parts for the 500W Power Amplifier project means this restriction does not apply. Note: UK
This is a large project with hard-to-find parts, especially the purchasers will be liable for import duty and VAT.
transistors. We normally supply the PCB and then readers
The parts supplied in the kit are detailed on the Silicon
source components using the Parts List. However, for this
Chip website and include: the 500W amplifier module
project constructors should buy kit SC6727 from Silicon
PCB; set of hard-to-get parts for the 500W amplifier
Chip in Australia: www.siliconchip.com.au/Shop/20/6727
module, including most of the semiconductors (marked
The UK’s 2021 VAT/import regulations mean it is not with red dot above); Clipping Indicator PCB; Fan
worthwhile for Silicon Chip to sell to UK customers for Controller/Speaker Protector PCB with programmed
purchases under AUD250 (plus p&p), but the size of this microcontroller, plus three 4-pin PWM fan headers.
Safety warning
Capacitor Discharge Welding works by generating extremely high current pulses, and
consequently, strong magnetic fields. Do not build or use this project if you have a
pacemaker or similar sensitive device.
This device can generate sparks and heat. Users must wear appropriate personal
protective equipment such as AS/NZS 1337.1, DIN 169 Shade 3 welding glasses.
These provide mechanical and IR/UV protection.
Fig.6: the Power Supply board is built mainly using through-hole components. The only SMDs are IC2 and one 100nF
capacitor near IC1, so fit those first. Watch the orientations of IC2, IC3, the diodes, electrolytic capacitors, REG1 and the
terminal blocks.
Fig.7: the Control board uses all through-hole parts and assembly is straightforward. Again, be careful to orient the
diodes, electrolytic capacitors and ICs as shown.
large enough to fit all the modules. easily occur. Note that there is no dan- Welding!
This allows us to mount the ESM ger here unless the ‘trigger’ footswitch You will need to experiment to find
‘bundle’ on its bus bars in the base is pressed, but we do not want any the settings that work best for you. We
with the Power Supply and Controller chance of accidentally firing into a used flat AA and D cells to test the sys-
modules just behind the front panel, dead short. The cutting and folding tem out, and found that with 0.12mm
secured to the side of the case. details for this are shown in Fig.15. nickel strip, setting the pulse width to
The photograph of the case with We cut two square holes in the front maximum and voltage to about 12-14V
the lid off shows this arrangement of the case to allow the bus bars to gave extremely solid welds.
pretty clearly. poke through, shown in Fig.16, along We started with a low voltage and
We found that the potentiometer with the other front-panel cutouts. increased the voltage until the welds
shafts were only just long enough All controls were placed in locations just stuck, which was about 8V. From
– you might find a better way of that felt convenient, and we used four that point, we increased the voltage to
mounting these. As our application holes to fix the Presspahn sheet to the get a solid weld (in our case, at around
is stationary in the lab, we used long front panel. 12V), then added a bit.
tie wraps (thick cable ties) to secure We found a cheap voltmeter on To test your welds, take pliers and try
the energy store to the case and put eBay and decided to add this – these to pull the tab off. It should be excep-
firm foam under the lid to hold it all are available on your favourite auc- tionally well attached and require you
together when the lid is attached. tion site for a few dollars if you go to tear the weld ‘beads’ off.
We folded and mounted a sheet of looking. We will leave the selection You will find the copper weld tips
Presspahn between the output bus and integration of this to you, as there wear and get dirty if you experience
bars (visible in the lead photo) to are many choices out there, and the arcing. Clean them up with sandpa-
ensure that accidental shorts cannot wiring is pretty straightforward. per or a sharp knife for consistent
Fig.14: a cross-section of the welding probes we made from 10mm square aluminium bar. The welding tips are 3mm
copper rods ground to a sharp point. A close-up of one of the tips is shown adjacent to this diagram.
results. Once you have worked your been blown away. This was accom- example); this will lead to danger-
settings out, this CD Welder should panied by sparks and a flash. The ous arcing and quite possibly break
provide solid service and consistent photo of the inside of the can shows something expensive.
weld energy. that all the welds are visible, but n
Always wear safety glasses.
with significantly more damage on n
Do not use welding leads with cop-
Some tips the 25V welds. per wider than 3.3mm in diameter
n
We found 12-15V to be the sweet n
Never short the output bus bars (8 Gauge) or shorter than 1m, as this
spot for welding. While we did directly (with a screwdriver, for forms part of the design.
install 25V capacitors, if you are
welding only light gauge battery
tabs, you will probably find that Fig.15: cut, drill and fold the
you need to charge them no higher Presspahn as shown here to
make the bus bar insulator.
than 16V. Then again, you gain a
This ensures that the Welder
lot of headroom for the slight cost cannot be accidentally fired
increase of using 25V capacitors. with a short circuit across
n
o check the effect of weld energy,
T the bus bars.
we welded tabs to the top of a soup
can, using this as a battery surro- Holes A are 3mm in
gate. From the outside, the 15V diameter. All dimensions
welds are reasonably light ‘dim- are in millimetres.
ples’, while with the 25V welds,
some of the tab material has clearly
Handyscope
Handyscope HS5 Key specifications
8, 12, 14, 16 bit resolution, 0.25 % DC vertical
accuracy, 0.1 % typical
Up to 500 MSa/s sampling, up to 250 MHz
bandwidth
Up to 32 Mpts memory per channel Handyscope HS5
20 MSa/s, 14 bit continuous streaming
The 500 MSa/s 14 bit dual channel High Resolution
1 ppm time base accuracy
Oscilloscope with function generator.
Arbitrary Waveform Generator
WiFiScope
Using a computer based oscilloscope was
never easier than with the WiFiScope WS6
DIFF: simply switch it on and start the
software on the computer:
no power cables required as it is battery
powered and can operate hours on a fully
WiFiScope WS6 DIFF charged battery
no interface cables required as it uses WiFi
The 1 GSa/s 14 bit quad differential channel
to connect to the computer
High Resolution WiFi Oscilloscope.
Automotive
Automotive Test Scope ATS605004D-XMS
Key specifications
14 bit (0.006 %) resolution (16 bit enhanced
resolution)
Up to 500 MSa/s sampling
250 MHz bandwidth
Up to 100 MSa/s continuous streaming
Up to 256 Mpoints memory per channel
0.25 % DC vertical accuracy, 0.1 % typical Automotive Test Scope
1 ppm time base accuracy
ATS605004D-XMS
All models and configurations can be found
on our website: itp101.com/tiepie-price-list
Handyscope HS5
Automotive
Amplifier
Clipping
Indicator
Driving an amplifier into clipping can cause unpleasant sounds and even
damage expensive speakers. So it is best to find out right away if you’re
about to run into clipping. This easy-to-build Amplifier Clipping Indicator
is ideal for that; its LED shows even the briefest of clipping events.
A
clipping indicator is a You can build a single unit for a mono Detecting positive clipping
valuable accessory for any amplifier or two for monitoring two The positive reference voltage (V+ −
audio amplifier. It indicates channels in a stereo amplifier. 4.7V) is connected to the emitter of
when the amplifier has reached its Power for the circuit is derived from NPN transistor Q1. Its base goes to the
limit and is clipping the peaks of the the amplifier’s supply; it only draws amplifier’s output via a 100kW current-
audio signal. In practice, quite a lot of a few tens of milliamps, so it won’t limiting resistor, while diode D2 stops
clipping can occur before you notice affect the amplifier’s maximum out- Q1’s base-emitter junction from being
it and even brief clipping events can put power to any significant degree. reverse-biased.
cause tweeter damage. When building a stereo version, you Just before clipping, the amplifier
That’s because when an amplifier could use a single, common LED to output voltage will rise above the V+
clips, it ‘squares up’ the waveform; the indicate clipping from either channel − 4.7V reference plus Q1’s base-emitter
result contains lots of higher-frequency or a separate LED indicator for each on-voltage of about 0.7V. Q1 switches
harmonics, which can easily damage channel. The second PCB does not on when the amplifier output voltage
the tweeters in loudspeaker systems. require the full complement of com- is within 4V of the positive supply. It
Our Amplifier Clipping Indicator ponents for the common LED version. then sinks current via diode D1, the
flashes its LED whenever clipping is 100W resistor and zener diode ZD3.
detected. That’s considered to be any Circuit The anode of ZD3 connects to the
time the amplifier output is within The clipping detector circuit is shown pin 2 trigger input of IC1, and as this
about 4V of the positive or negative in Fig.1. A few components don’t have voltage drops, timer IC1 starts running.
supply rails. Most amplifiers will clip values: resistors R1a, R1b, R2 and R3 This means that IC1’s pin 3 output goes
within about 3V of the supply rail, and zener diodes ZD4 and ZD5. Their high, switching on Q4 and the indi-
although some can require slightly values depend on your amplifier’s cator LED (LED1) via a 1kW current-
more headroom; choosing 4V gives a power supply voltage. Table 1 shows limiting resistor. A second external
small safety margin. the component values required to suit LED will also be lit if connected to the
There can be a significant ripple on amplifiers with supplies ranging from external LED connections.
the amplifier supply rails when it’s ±10V to ±80V. IC1 is a CMOS version of the 555
delivering a lot of power (when clip- The clipping detector generates pos- timer and is set up to operate as a
ping is most likely to happen). So a itive and negative reference voltages. monostable timer. Timing is initiated
proper Amplifier Clipping Indicator For the positive reference, zener diode when the pin 2 trigger input goes
like this one will compare the output ZD1 generates a voltage about 4.7V below a third of its supply voltage.
waveform to the instantaneous sup- below the V+ positive rail. Resistors With a 4.7V supply, the trigger point
ply voltages to compensate for that. R1a and R1b limit the current through is 1.56V above the V+ − 4.7V rail or
Its thresholds adapt as power supply ZD1 to approximately 10mA; together, 3.13V below the V+ supply rail.
voltages fluctuate. they connect across the V+ and 0V Pin 2 is usually held at V+ by a
A timer is included to extend the amplifier supply rails. The generated 100kW pull-up resistor. However,
duration of the LED lighting up, to voltage is shown on the circuit as V+ when current flows through ZD3, D1
ensure even momentary clipping is − 4.7V at Q1’s emitter. and Q1, the voltage at pin 2 goes low
visible. The indicator LED is mounted The 4.7V between this rail and V+ is enough to trigger the timer.
on the Amplifier Clipping Indicator also used to power timer IC1. We allow Once the pin 3 output goes high,
PCB, but it also provides a connec- 5mA for IC1’s supply and 5mA to bias the 1μF capacitor at pins 6 and 7 of
tion for an external LED mounted on ZD1. More on IC1’s operation later. IC1 begins to charge from the V+ sup-
the amplifier’s front panel. Zener diode ZD2 and resistor R2 ply through a 100kW resistor. When
This Amplifier Clipping Indicator is between the V− supply and 0V gen- the capacitor reaches two thirds of
presented as a bare PCB designed to be erate the negative reference; R2 limits the supply (3.13V above the V+ −
housed within an existing amplifier. the current through ZD2 to about 5mA. 4.7V reference), the pin 3 output goes
Table 1 – component values that vary with amplifier supply rail voltages
Supply R1a R1b R2 R3 (½W) ZD4 ZD5
±80V 15kW 1W 15kW 1W 15kW 1W 33kW 75V (1N4761) 18V (1N4746)
±75V 15kW 1W 15kW 1W 15kW 1W 33kW 75V (1N4761) 9.1V (1N4739)
±70V 12kW 1W 12kW 1W 12kW 1W 33kW 75V (1N4761) wire link
±65V 12kW 1W 12kW 1W 12kW 1W 33kW 33V (1N4752) 33V (1N4752)
±60V 12kW 1W 12kW 1W 12kW 1W 33kW 27V (1N4750) 27V (1N4750)
±55V 10kW ½W 10kW ½W 10kW ½W 33kW 22V (1N4748) 22V (1N4748)
±50V 9.1kW ½W 9.1kW ½W 9.1kW ½W 33kW 16V (1N4745) 18V (1N4746)
±45V 8.2kW ½W 8.2kW ½W 8.2kW ½W 33kW 12V (1N4742) 12V (1N4742)
±40V 7.5kW ½W 7.5kW ½W 7.5kW ½W 30kW 15V (1N4474) wire link
±35V 6.2kW ½W 6.2kW ½W 6.2kW ½W 30kW 3.9V (1N4730) wire link
±30V 5.1kW ½W 5.1kW ½W 5.1kW ½W 27kW wire link wire link
±25V 3.9kW ½W 3.9kW ½W 3.9kW ½W 22kW wire link wire link
±20V 3kW ½W 3kW ½W 3kW ½W 18kW wire link wire link
±15V 2kW ½W 2kW ½W 2kW ½W 13kW wire link wire link
±10V 1kW ½W 1kW ½W 1kW ½W 8.2kW wire link wire link
PoScope Mega1+
PoScope Mega50
- up to 50MS/ s
- resolution up to 12bit
- Lowest power consumption
- Smallest and lightest
- 7 in 1: Oscilloscope, FFT, X/ Y,
Recorder, Logic Analyzer, Protocol
This shows the Clipping Indicator installed inside our 500W Amplifier chassis decoder, Signal generator
(see p.17 for more details).
Left-to-right: module one (1MHz-3GHz), module two (5MHz-6GHz), module three (50MHz-4GHz)
T
he 1MHz to 3GHz module I don’t have the equipment to mea- terminal block fitted to the PCB for
is the largest, with a PCB mea- sure the NF, but I was able to use the power, but there are two pads at top
suring 50 x 50mm. It has SMA SA44B with Spike to measure the mod- centre ready to mount such a block (on
input and output connectors at each ule’s DANL (distortion and noise level) either side of the PCB).
end and a mini 2-way terminal block at 1GHz and 3GHz with a 50W input The amplifier circuitry is again inside
for the power connections at the rear. termination. I then compared these a shielding box in the centre of the PCB,
The amplifier circuitry is inside a 32 x measurements with the DANL of the measuring 18.5 x 14.5 x 3.5mm. There
30 x 6.5mm shielding box in the centre SA44B alone (50W input termination) is no power indicator LED.
of the PCB, visible in the photo below. at the same frequencies. This module is available from Bang-
There’s also a small power indicator The results showed a rise in the good (code 1119141) – https://bit.ly/
LED at upper right (D2). DANL from −153dBm to −138dBm pe-apr23-amp2 – for around $16, plus
This module is currently available at 1GHz (+15dB), and a rise in DANL shipping from China (free for orders
online from Amazon UK (and others) from −149dBm to −139dBm at 3GHz over $50).
for around £9 and up, including deliv- (+10dB). This is perhaps not good It is designed to operate from a 5V DC
ery – search for ‘1-3000MHz 2.4GHz enough to qualify the module as an supply, with a nominal current drain
20dB RF Broadband Low Noise Ampli- LNA, but quite acceptable for many of 85mA, so it can be powered from a
fier Module UHF HF VHF’. It’s the possible applications. standard USB power pack. Again, it is
cheapest of the three amplifier mod- I also checked the module’s current claimed to provide a nominal gain of
ules we’re describing. drain from the 12V supply, and it mea- 20dB, this time from 5MHz to 6GHz,
It has been designed to run from a 12V sured precisely 75mA. with a maximum input level of 0dBm.
DC supply, with a stated current drain of So overall, this module is a good The maximum output power is stated
75mA. It has a maximum input level of choice if you only need to amplify to be +21dBm (around 120mW) at the
0dBm, and the maximum output power signals at frequencies up to about 1dB compression point. This module
is said to be +19.5dBm (approximately 3GHz, and would be happy with the doesn’t claim to be an LNA.
100mW). While it’s described on the gain curve shown in red
PCB as a low-noise amplifier (LNA), no in Fig.1, the maximum
noise figure (NF) is given. output of 100mW and
I could find no information regard- the modest noise perfor-
ing its internal circuit, or the active mance. It would likely
devices inside. But when I powered it provide a good way to
up and checked its gain with my Signal boost the output from a
Hound SA44B spectrum analyser and drone control transmitter,
TG44A tracking generator (controlled for example.
using their Spike software), the results
were quite impressive, as you can see The second module
from the red trace in Fig.1. The next amplifier mod-
The gain measured about 21dB at ule is physically smaller,
the low end, drooping fairly smoothly with a PCB measuring
to 13.5dB at 3GHz, and then wobbling 33 x 24.5mm and again
up and down a bit before falling to 3dB with SMA input and out-
at about 4GHz. That’s not bad for a low- put connectors at each Module one is the largest of the three, measuring
cost module with a rated frequency end. This module doesn’t 50 x 50mm, it uses a two-way screw terminal
range of 1MHz to 3GHz. come with a mini two-way block for the power connection.
Station Road
Visit our Shop, Call or Buy online at: Cullercoats
North Shields
www.cricklewoodelectronics.com Tyne & Wear
Visit our shop at: NE30 4PQ
020 8452 0161 40-42 Cricklewood Broadway
London NW2 3ET Tel: 0191 2514363 sales@esr.co.uk www.esr.co.uk
T
his month, we conclude our
Gain Gain
series on electronically controlled Low pass High pass
Filter basics
A filter is a circuit which passes certain
frequencies and rejects others. That is, the
gain is designed to be relatively high over a
range of wanted frequencies (the passband)
and low for frequencies outside this range Frequency Frequency
low-pass filter.
R4
Digipot Digipot
– Vout
Vin R1 R2 W W – Vout
+ Electronically
ElectronicallyControlled
Vin Resistance
Controlled – Part
Resistance 8 8
– Part
Fig.5. (right) +
Electronically Controlled ResistanceUnity-gain
– Part 8 B B
C1 R3 R1
𝑓𝑓! =𝑓𝑓!𝐹𝐹"=𝑓𝑓# 𝐹𝐹R" 𝑓𝑓#
Sallen-Key low- 2 C1
𝑓𝑓 = 𝐹𝐹 𝑓𝑓#
Electronically Controlled Resistance – Partpass
8 ! filter" with
digipot cut- 𝑅𝑅$
𝐴𝐴 =𝐴𝐴1= + 1 + 𝑅𝑅$
𝑓𝑓! =off𝐹𝐹"frequency
𝑓𝑓# 𝑅𝑅% 𝑅𝑅
control. 𝑅𝑅$ %
𝐴𝐴 = 1 +
𝑅𝑅%
to wanted ones and how much do they values than can 𝑅𝑅$ be obtained with the RC should dominate the digipot parasitics,
need to be attenuated. filter,𝐴𝐴which
= 1 + has a maximum Q of 0.5,
𝑅𝑅% so something 1 1 around 10nF may be the
For the various circuit implementations and is often lower. 𝑓𝑓! =smallest
𝑓𝑓! = capacitor value that should be
1 2𝜋𝜋*𝑅𝑅& 𝑅𝑅' 𝐶𝐶 & 𝐶𝐶
there are equations relating the component The other
𝑓𝑓! = design equations for this used,2𝜋𝜋*𝑅𝑅 but for & 𝑅𝑅 'a&𝐶𝐶real
& 𝐶𝐶& design the details of
values to the resonant frequency and Q. circuit are: 2𝜋𝜋*𝑅𝑅& 𝑅𝑅' 𝐶𝐶& 𝐶𝐶& individual digipot devices can be checked
The required response type determines the 1 on datasheets.
Q and frequency-scaling factor. These can 𝑓𝑓! =
2𝜋𝜋*𝑅𝑅& 𝑅𝑅' 𝐶𝐶& 𝐶𝐶& 𝑅𝑅' 𝐶𝐶
*𝑅𝑅&*𝑅𝑅 & 𝐶𝐶
& 𝑅𝑅'&𝐶𝐶simplifications
& 𝐶𝐶&
be found in filter design tables published 𝑄𝑄 =𝑄𝑄 = Sallen-Key
in various places. A well-known example *𝑅𝑅& 𝑅𝑅' 𝐶𝐶& 𝐶𝐶& 𝑅𝑅 𝐶𝐶
& 𝑅𝑅 +
One
& & 𝐶𝐶& + 𝑅𝑅 𝐶𝐶 +
approach
' 𝑅𝑅& ' 𝐶𝐶& +𝑅𝑅 ' (1
& 𝐶𝐶𝑅𝑅 to− 𝐴𝐴)
& 𝐶𝐶' (1 − 𝐴𝐴)
simplifying the Sallen-
of this is the Active Filter Cookbook by 𝑄𝑄 = Key equations is to use equal component
𝑅𝑅& 𝐶𝐶& + 𝑅𝑅' 𝐶𝐶& + 𝑅𝑅& 𝐶𝐶' (1 − 𝐴𝐴)
Don Lancaster, which was first published values R = R1 = R2, and C = C1 = C2,
in 1975 and is described as the best-selling Where *𝑅𝑅
f 𝑅𝑅' 𝐶𝐶
&is & 𝐶𝐶& resonant frequency.
the which gives:
𝑄𝑄 = 0
book on active filter design. Another 𝑅𝑅These 𝐶𝐶 + 𝑅𝑅 𝐶𝐶 + 𝑅𝑅 𝐶𝐶 (1 − 𝐴𝐴) 1
𝐹𝐹 𝑓𝑓 = 𝑓𝑓 = = 1
& & equations
' & & ' are quite cumbersome,
source is Active Low-Pass Filter Design, an so simplifications are often made, which " # 𝐹𝐹" 𝑓𝑓# != 𝑓𝑓!2𝜋𝜋𝑅𝑅𝐶𝐶 2𝜋𝜋𝑅𝑅𝐶𝐶
1
application note by Jim Karki from Texas we will 𝐹𝐹discuss
" 𝑓𝑓# = 𝑓𝑓! below.
=
2𝜋𝜋𝑅𝑅𝐶𝐶 1
𝑄𝑄 =𝑄𝑄 = 1
Instruments (SLOA049 – see: https://bit.
ly/pe-apr23-ti). An alternative to table- Digipots with1 Sallen-Key 1 filters 3 − 3𝐴𝐴− 𝐴𝐴
𝐹𝐹 𝑓𝑓# = 𝑓𝑓! =
assisted manual calculations is to use a To "use 𝑄𝑄 2𝜋𝜋𝑅𝑅𝐶𝐶
the Sallen-Key= with digipot control
3 − 𝐴𝐴
filter design app or online tool. These make we need to be able to control the cut-off This provides very simple design
things easy but may restrict the options frequency Electronically
1 by varying
just Controlled Resistance –equations
the resistors. Part 8 but does not allow the overall
𝑄𝑄 = Electronically Controlled Resistance – Part1 8
for exactly how the filter is implemented. The capacitors 3 − 𝐴𝐴 should be chosen based gain of the filter1to be set independently of
𝐹𝐹 𝑓𝑓 = 𝑓𝑓#𝑓𝑓 ==𝑓𝑓
on the midpoint of the1required frequency ( #𝐹𝐹the ( 𝑓𝑓 !!= =
𝐹𝐹!2𝜋𝜋𝑅𝑅𝐶𝐶
" 𝑓𝑓# 𝑛𝑛 circuit can be designed
𝐹𝐹√𝑓𝑓#& √𝑛𝑛
Filters represent a huge ‘design space’ Q value. &The
2𝜋𝜋𝑅𝑅𝐶𝐶
𝑓𝑓! =
of possibilities – bandform, response control𝐹𝐹(range.
𝑓𝑓# = 𝑓𝑓The ! = resonant and hence cut- by choosing a"required response, which
type, order, circuit implementation and off frequency is set 2𝜋𝜋𝑅𝑅𝐶𝐶
by &R√1𝑛𝑛and R2, which sets the Q, and choosing R3 and R4 to
√𝑛𝑛𝑅𝑅 𝑛𝑛
1 𝑄𝑄 = = $√gain
so on. To keep things manageable for need to be independently
𝐹𝐹( 𝑓𝑓# = 𝑓𝑓! =
controlled, 𝐴𝐴 = 1𝑄𝑄+the
obtain 2 2 𝑅𝑅required (A) for that Q.
2𝜋𝜋𝑅𝑅𝐶𝐶 √ 𝑛𝑛
𝑛𝑛 𝐴𝐴 𝑅𝑅
= %1 +
$
the remainder of this article on using which implies 𝑄𝑄 = &use√ of two digipots in The Q could be set independently of the
digipots with filters we will just look at rheostat mode. As 2 we have discussed frequency with𝑅𝑅a% digipot, as mentioned
second-order low-pass Sallen-Key Filters. previously,√digipot 𝑛𝑛 resistance values are above, but the gain variation may need to
Sallen-Key filters are widely used, and often not 𝑄𝑄 =particularly accurate,1which be compensated 1 1 for by another variable
2 1 = 1
tools are available to help design them will affect the accuracy 𝑅𝑅with =𝑅𝑅 =which the = gain stage. The frequency = 5181
= 5181
is set by
1 1 2𝜋𝜋𝑓𝑓2𝜋𝜋𝑓𝑓
! 𝐶𝐶& √ 𝑛𝑛 √𝑛𝑛𝑓𝑓2𝜋𝜋
𝐶𝐶 ! =× 2𝜋𝜋 852× × 15𝑛𝑛𝐹𝐹
852 × 1
15𝑛𝑛𝐹𝐹 × √5.099
× √5.099
(select the required component values). cut-off frequency can be controlled. ! &
Use 2𝜋𝜋*𝑅𝑅
choosing 𝑅𝑅 C𝐶𝐶 𝐶𝐶
and controlling R with two
𝑅𝑅 = = = 5181 𝑓𝑓! = & ' & &
Low-pass filters are commonly required in 2𝜋𝜋𝑓𝑓! 𝐶𝐶of
& √a𝑛𝑛 dual2𝜋𝜋digipot
× 852 ×device 15𝑛𝑛𝐹𝐹 × √5.099
would usually digipots2𝜋𝜋*𝑅𝑅 in rheostat& 𝑅𝑅' 𝐶𝐶& 𝐶𝐶mode
& set to the same
microcontroller circuits for anti-aliasing 1 be a good option. 1 resistance to set the resonant frequency.
𝑅𝑅 =
and reconstruction filters before/after = We are probably less likely=to5181 want to The resonant
2𝜋𝜋𝑓𝑓! 𝐶𝐶& √𝑛𝑛 2𝜋𝜋 × 852 × 15𝑛𝑛𝐹𝐹 × √5.099 𝑅𝑅 𝑅𝑅 frequency is calculated
ADCs and DACs, where cut-off frequency control the Q with a digipot – in most 𝐷𝐷 =𝐷𝐷the
from 𝑆𝑆𝑅𝑅
= required
𝑆𝑆& 𝐶𝐶&
𝐶𝐶
cut-off frequency using
*𝑅𝑅& 𝑅𝑅')* 𝑅𝑅)*
programmability may be desirable. cases the requirement 𝑅𝑅 would be𝑄𝑄for = a the frequency-scaling 𝑅𝑅 𝐶𝐶 factor.
𝐷𝐷 = 𝑆𝑆 𝑅𝑅 𝐶𝐶 + 𝑅𝑅' 𝐶𝐶& + 𝑅𝑅& 𝐶𝐶&' (1 *𝑅𝑅 ' − & 𝐶𝐶𝐴𝐴)
&
fixed response shape 𝑅𝑅)* with a variable&𝑄𝑄&= 𝑅𝑅The gain variations discussed above
& 𝐶𝐶& + 𝑅𝑅' 𝐶𝐶& + 𝑅𝑅& 𝐶𝐶' (1 − 𝐴𝐴)
Sallen-Key low-pass filter cut-off frequency. 𝑅𝑅 However, it would can be avoided by using a fixed gain.
Fig.4 shows a Sallen-Key low-pass filter. 𝐷𝐷 = 𝑆𝑆 to use a digipot to set the
be possible This requires at least the two resistors
𝑅𝑅)*
It comprises a frequency-dependent amplifier gain (via R3 and R4) and hence or the two capacitors to have different
Resistance circuit
– Part 8formed by R , R , C and C , and 1
1 2 1 2 make Q programmable. We discussed use 𝐹𝐹" 𝑓𝑓#values.
= 𝑓𝑓! =A commonly 1
used variant of the
a non-inverting op amp amplifier. The of digipots to control op amp amplifier Sallen-Key 2𝜋𝜋𝑅𝑅𝐶𝐶
𝐹𝐹" 𝑓𝑓# = 𝑓𝑓!filter = is the unity-gain version
𝑓𝑓! = 𝐹𝐹" 𝑓𝑓#gain (A) is set by R and R , 2𝜋𝜋𝑅𝑅𝐶𝐶
amplifier gain in Part 5. shown in Fig.5, which also shows how
3 4
1
and is given by: Use of digipots may introduce 𝑄𝑄 =
the digipots are1 used.
limitations on the filter design. For Another3− 𝑄𝑄 𝐴𝐴=design simplification approach
𝑅𝑅$ 3 − 𝐴𝐴
𝐴𝐴 = 1 + example, their parasitic capacitance is is to set equal resistors and capacitors
𝑅𝑅% likely to be higher than the same filter with ratio n, that is R = R1 = R2, and C2 =
using fixed resistors. Parasitic capacitance nC1 which gives:
1
The frequency-dependent circuit is is the unwanted capacitance inherent in𝐹𝐹( 𝑓𝑓# = 𝑓𝑓! = 1
similar to a two-stage RC filter, but with structure of the pins and circuitry of the 𝐹𝐹( 𝑓𝑓# = 𝑓𝑓! =& √𝑛𝑛
2𝜋𝜋𝑅𝑅𝐶𝐶
1 2𝜋𝜋𝑅𝑅𝐶𝐶& √𝑛𝑛
C connected to positive feedback from digipot device. This will limit the upper
𝑓𝑓! =2 𝑛𝑛
the2𝜋𝜋*𝑅𝑅
amplifier, rather than to ground. This frequencies than can be used or accurately √
& 𝑅𝑅' 𝐶𝐶& 𝐶𝐶& 𝑄𝑄 =
allows the circuit to have much higher Q controlled. Frequency-setting capacitors 2𝑄𝑄 = √𝑛𝑛
2
48 Practical Electronics | April | 2023
*𝑅𝑅& 𝑅𝑅' 𝐶𝐶& 𝐶𝐶& 1 1
𝑄𝑄 =
𝑅𝑅$
ronically Controlled Resistance – Part 8 𝐴𝐴 = 1 +
𝑅𝑅%
𝑓𝑓! = 𝐹𝐹" 𝑓𝑓#
trolled Resistance – Part 8
Fig.6. LTspice
𝑅𝑅$ 1 schematic for 1kHz
𝑓𝑓! = 𝐹𝐹" 𝑓𝑓# 𝑓𝑓! =
𝐴𝐴 = 1 + unity-gain Sallen-Key
𝑅𝑅% 2𝜋𝜋*𝑅𝑅& 𝑅𝑅' 𝐶𝐶& 𝐶𝐶&
low-pass filter.
𝑅𝑅$
𝐴𝐴 = 1 +
𝑅𝑅%
1 *𝑅𝑅& 𝑅𝑅' 𝐶𝐶& 𝐶𝐶&
𝑓𝑓! = 𝑄𝑄 =
2𝜋𝜋*𝑅𝑅& 𝑅𝑅' 𝐶𝐶& 𝐶𝐶& 𝑅𝑅& 𝐶𝐶& + 𝑅𝑅' 𝐶𝐶& + 𝑅𝑅& 𝐶𝐶' (1 − 𝐴𝐴)
1
𝑓𝑓! =
2𝜋𝜋*𝑅𝑅& 𝑅𝑅' 𝐶𝐶& 𝐶𝐶&
*𝑅𝑅& 𝑅𝑅' 𝐶𝐶& 𝐶𝐶& 1
𝑄𝑄 = 𝐹𝐹" 𝑓𝑓# = 𝑓𝑓! =
𝑅𝑅& 𝐶𝐶& + 𝑅𝑅' 𝐶𝐶& + 𝑅𝑅& 𝐶𝐶' (1 − 𝐴𝐴) 2𝜋𝜋𝑅𝑅𝐶𝐶
1 1 values, but these need to be mapped to the The actual resistance obtained is:
= = = 5181 digipot codes giving the nearest resistance 𝐷𝐷
2𝜋𝜋𝑓𝑓! 𝐶𝐶& √𝑛𝑛 2𝜋𝜋 × 852 × 15𝑛𝑛𝐹𝐹 × √5.099 values. The exact resistance required may 𝑅𝑅 = 𝑅𝑅)*
𝑅𝑅 𝑆𝑆
𝐷𝐷 = 𝑆𝑆 not be available from the digipot, leading
Fig.6 shows an LTspice schematic 𝑅𝑅)* of the to errors in the frequency setting. The In some cases, there may be a significant
filter implementation. The simulation more positions the digipot has the more difference between the required and
results (AC 𝑅𝑅 likely the frequency can be set close to obtained resistance, in other cases they
𝐷𝐷 =analysis
𝑆𝑆 to plot frequency
response) for this 𝑅𝑅)*
circuit in Fig.7 show the the desired value. will be close. For example, to set a 10kΩ,
gain is 0dB at low frequencies (unity gain). The reciprocal nature of the frequency 256-step digipot to 5181Ω (from the above
The gain peaks at +2dB (this is the 2dB to resistance relationship means that at example) requires a digital code of 256 ×
passband ripple). The cut-off frequency higher frequencies (lower resistance) each (10000 / 5181) = 133. The actual resistance
for this type of filter is defined as the step in resistance from one code to the is 5195Ω , an error of just 0.3%. For a
100kΩ, 256-step digipot the code required
is 13 and the resistance is 5078Ω, a 2%
error. Smaller resistances may produce
larger errors with a given digipot. For
example, 518.1Ω for a 10kHz cut-off with
the above circuit requires codes 13 and
1 with resistance errors of 2% and 25%
respectively for the 10kΩ and 100kΩ
digipots. This assumes a perfectly accurate
digipot, but the RAB value itself may be
subject to quite a large tolerance, for
example 20% in some cases.
Design tools
The filter design calculations above, and the
associated need to obtain the correct Q and
frequency-scaling factor can be avoided by
using a filter design app or online utility.
These tools may reduce the options for
Fig.7. Simulation results for the circuit in Fig.6. component selection compared with manual
Fig.9. (right)
FilterLab filter
parameter
settings.
design, which could be a problem in the Unlike the simplified approach above, digipot will be smaller than with a fixed
context of digipot-controlled circuits. We it is not necessary to have equal resistors. response type.
need to be able to find a set of resistor values In fact, by using different resistor values As was seen in the equal-resistor
to set different cut-off frequencies using a (as calculated by the tool) the response example design above, the capacitor ratio
circuit with the fixed capacitor values and shape can be changed as well as the cut- can influence the Q. The resistors do not
op amp circuit gain. This means we have off frequency, allowing the shape as well have to be equal but similar values will
to be able to set the capacitor values and as cut-off to be programmed. The way the make it easier to make use of a dual digipot.
let the tool calculate the resistor values for numbers work means that if a range of In general, the feedback capacitor (C2 in
a fixed-gain circuit such as the unity-gain response types is required the range of Fig.5) will be larger than the capacitor at
Sallen-Key discussed above. cut-off frequencies possible with a given the op amp input (C1). Unlike the above
example, standard capacitor values should
be used for a real design.
FilterLab
One filter design tool that allows you
to set capacitor values is FilterLab from
Microchip – see: https://bit.ly/pe-apr23-mc
To design a filter using this app, select
Filter > Design from the menu and step
through the three tabs in the dialog (see
Fig.8 to Fig.10). The first tab is used to
select the bandform and response type.
Simulation files
Most, but not every month, LTSpice
is used to support descriptions and
analysis in Circuit Surgery.
The examples and files are available
Fig.12. LTspice schematic for Sallen-Key filter with digipot control. for download from the PE website.
Example design
Fig.13. Simulation results from the circuit in Fig.12.
FilterLab was used to create three more
circuits with different cut-offs. These can be simulated using all the code combinations in one sweep simulation we can use
the circuit in Fig.12. Using the procedure described above, the LTspice table function which uses an index to look up the
digipot codes were calculated for a 256-step 10kΩ digipot for corresponding value. For four configurations we need index
the following frequencies: values 1 to 4 which can be achieved by defining a parameter
R1 codes: 140 98 49 33 called FSET (frequency set), sweeping it in steps of 1 from 1 to
R2 codes: 239 167 84 56 4 and using this in the look up. For example, for R1:
700Hz 1kHz 2kHz 3kHz
.param Fset=1 RAB=100k N=256
In LTspice we can use a behavioural resistance (as used in R = table({Fset},1,140,2,98,3,49,4,33)*{RAB}/{S}
previous parts) to calculate the actual digipot resistance using
the formula above with the RAB resistance and number of digipot The results of the simulation are shown in Fig.13 and confirm
steps as parameters (RAB and S respectively). To run through that the filter responses are as designed.
EE M
GET T
Order direct from
FR RO £8.99
-
LATES HE
CD
ELECTRONICS
T CO
TEACH-IN 9
FROM THE PUBLISHERS OF
OF OU PY
TEACH R
-IN SE
Electron Publishing GET TESTING!
Electronic test equipment and measuring
techniques, plus eight projects to build
FREE
CD-ROM
TWO TEACH
-INs
FOR THE PRICE
RIES OF ONE
AVAILA
• Multimeters and a multimeter checker
• Oscilloscopes plus a scope calibrator
• AC Millivoltmeters with a range extender
BL PRICE £8.99
NOW! E
• Digital measurements plus a logic probe
• Frequency measurements and a signal generator
• Component measurements plus a semiconductor
junction tester
PLUS...
YOUR GUIDE TO THE BBC MICROBIT
A LOW-COST ARM-BASED SINGLE-BOARD
COMPUTER
Teach-In 9
Get Testing
PLUS
Teach-In 2 -Using
PIC Microcontrollers.
In PDF format
This series of articles provides a broad-based introduction to choosing and using a wide range © 2018 Wimborne Publishing Ltd.
www.epemag.com
of test gear, how to get the best out of each item and the pitfalls to avoid. It provides hints Teach In 9 Cover.indd 1 01/08/2018 19:56
and tips on using, and – just as importantly – interpreting the results that you get. The series
deals with familiar test gear as well as equipment designed for more specialised applications.
The articles have been designed to have the broadest possible appeal and are applicable to all branches of electronics.
The series crosses the boundaries of analogue and digital electronics with applications that span the full range of
electronics – from a single-stage transistor amplifier to the most sophisticated microcontroller system. There really is
something for everyone!
Each part includes a simple but useful practical test gear project that will build into a handy gadget that will either
extend the features, ranges and usability of an existing item of test equipment or that will serve as a stand-alone
instrument. We’ve kept the cost of these projects as low as possible, and most of them can be built for less than £10
(including components, enclosure and circuit board).
PLUS! You will receive the software for the PIC n’ Mix series of articles and the full Teach-In 2 book – Using PIC
Microcontrollers – A practical introduction – in PDF format. Also included are Microchip’s MPLAB ICD 4 In-Circuit De-
bugger User’s Guide; MPLAB PICkit 4 In-Circuit Debugger Quick Start Guide; and MPLAB PICkit4 Debugger User’s Guide.
L R
I
n the December 2022
R14L*
and January 2023 issues of Sum input L
PE we described a universal C4L R7L
+ C7L* C8L*
board for single op amps. This *Feedback
components L
month we’ll introduce one
R10L* R11L*
for dual op amps which are Bias L
more common and offer better
R3L –input
value. The dual NE5532 for 0V pad L
example, is half the price C1L C3L R5L Output L
+
2
Input – L – R12L C9L
of its single counterpart, 6
+
R4L IC1a
the NE5534, so you get four
+
3
Input + L +
times as many op amps for C2L R13L
+input
the money. Also, one of the R2L
V+ R6L
pad L
few op amps that’s noticeably R1L R9
Vb bias
better for audio than the C5L
Vb
NE5532/4, the LM4652, only
comes in a dual package. + 0V
R8 Link pads L
At the same time, PCB C13
designer Mike Grindle and
I decided to do a whole host
R14R*
of adapter boards for various Sum input R *Feedback
C4R R7R components R
op amp packages, which we’ll Power
+
C7R* C8R*
input
come to next month. 0V
RS2 0V
R10R* R11R* 0.5W
Fearful symmetry + supply
The general circuit of the Bias R V+
dual board is the same as the R3R –input
+ – supply
0V D2 C11
single PCB (Fig.4 in Part 1) pad R
C1R C3R R5R 0V
but duplicated, as shown in Output R
+
6 8
Input – R – C9R
7
+
5
and IC1b) is shared between Input + R + 4 R12R
C10
the left and right channels. C2R
100nF R13R
R6R +input
This gave Mike an excuse R2R pad R RS1
0.5W
to create a symmetrical V–
R1R
C5R
mirror-imaged board. The D1 C12
overlay is shown in Fig.30. +
0V
Most of the part numbering Link pads R
is the same – except for R4
and R5 which are swapped.
The component numbers
common to both channels Fig.29. Circuit diagram for the dual universal audio op amp PCB. This is virtually the same as the
are prefixed L and R. The single circuit, bar a single bias network and some extra power supply zener regulators.
half-rail bias components are
renumbered R8, R9 and C13, since only is to be supplied from say a power Don’t be deferential,
one network is needed, shared between amplifier, where the rails are typically go differential!
both channels. Finally, a dual-rail Zener ±22V to ±60V. This situation commonly A suitable dual-channel differential
regulator circuit is added to enable the crops up where an amplifier needs the amplifier to create balanced inputs is
board to be used with supply voltages addition of balanced inputs, such as shown in Fig.31. The main differential
higher than the op amps’ maximum. when converting a Hi-Fi amplifier for amplifier resistors R4, R5, R6 and
This facility is useful if the board professional use. R14 are all 3.3kΩ. This gives a total
+
R7L R13L Sum input L
C7L
R14L R11L offs in this situation. A subtle point:
adding the balanced input board
+
R12L R4L 0V
C9L
C8L* Output L made the amplifier have nasty turn-
C4L + RS1 on/off thumps, somewhat negating its
C12
C5L C10 D1
0V
advantages. Of course, this problem
R R C13
IC1 9 8 +
V+ only became apparent in the field, not
V–
C5R D2 RS2 on the test bench. I’ve found the 5534
C11
C4R series op amps to be especially bad in
C8R*
+ C9R
0V this regard. Replacing it with a LM4562
R12R R4R Output
stopped the turn-off thump and gave
+
2
Input – L – 47Ω 10V
1
+
IC1a
Johnson noise. The overlay
3 LM4562
+
6 8
Input – R – 10V
then RS1/2 should both be IC1b 7
+
5 LM4562
+
+
R13L it is practically insignificant. However,
R14L the lower loading (442Ω at 20kHz) of
R12L R4L the feedback network improves the
C9L 0V
Output L overload performance on scratches.
C8L* + RS1
C12
The circuit is shown in Fig.35, the
C10 D1
C5L
0V overlay in Fig.36 and the assembled
IC1
+
V+ board in Fig.37.
V–
C5R D2 RS2 If you want to use a single-rail power
C11
supply for this design, the half-rail
C8R* 0V
+ C9R Output
bias network is deployed and the
R12R R4R
extra components are inserted. These
R14R
comprise R9, R8 (both 22kΩ) and
R13R
C13 22µF 25V. R6L and R6R must be
+
R6R
R5R connected to the bias pads via links.
C2R
C3R
+ R1R
0V
–input R Bidirectional caps
+input R
R2R Note that the polarisation of electrolytic
*Note for C8L/R there is space for
coupling capacitors does not matter
two devices so that capacitors with op amps on dual-rail supplies.
0V Vbias 0V can be in parallel, or an axial device.
It makes no real difference since
Access these pads for
Bias R3R R6R
aluminium electrolytic and solid-
linking signals to bias or 0V
tantalum capacitors can tolerate a
continuous reverse polarity of up to
a few hundred millivolts. With the
lower-cost stereo RIAA preamplifier the old days, when mains-powered 5534 series of op amps, where high
using one board, useful for installing synchronous motors were used, an source impedances are presented to the
inside rescued cheap decks. It can be overwind was sometimes placed on the input pins (as in the RIAA amplifier)
possible to derive the preamplifier coil, effectively making a transformer. input bias current flowing through the
power from the motor transformer Going from two single NE5534s to resistance always generates a small
using voltage-doubler networks. In a dual NE5532 incurs a small 1dB negative offset. These ICs have NPN
input transistors run at a relatively
high collector current, giving rise to
significant input currents.
Components
The special value 1% RIAA equaliser
components C7 (24.76nF), C8 (7.15nF),
R5 (442Ω), R10 (127kΩ) and R11
(10.5kΩ) are available in a bargain
pack from PE PCB Service or the
author (see page 35 for contact details).
Having built several of these boards
and plotted their frequency responses
on an Audio Precision analyser I was
pleased to see all the plots matched
looking like a single plot when
overlaid. This shows the benefits of
1% tolerance devices and the near
cancellation of the −200ppm/°C
Distorted view
I thought it would be interesting to
measure the distortion of the RIAA
amplifier with regard to the high gain
and complex filtering. Interestingly, the
only way I could get meaningful results
was to precede the RIAA amplifier with
a passive inverse RIAA filter – shown in
Fig.38 – to get an overall (theoretical) flat
frequency response. This attenuation
followed by gain, gives rather high noise
and hum levels which are added to the
distortion residual. The end result was
a total harmonic distortion and noise
(THD+N) figure of 0.02%, as shown in
Fig.39. This is ten-times higher than a
normal non-inverting 5532 amplifier
with moderate gain. I thought this was
bad, but other amplifiers I measured
were much worse. Again, in the context Fig.34. Another view of the assembled balancing board installed in a power-amplifier.
of vinyl playback distortion,
typically in the order of a few
R14L
percent, it is little to worry
Sum input L
about. However, distortion C4L R7L C7L* C8L*
+
2
single-rail version. I suspect Input – L – 47Ω 10V
IC1a 1
+
R4L
additional power supply 100Ω 3 NE5532
+
Input + L +
noise was to blame. C2L
R13L
33µF V+
R6L +input 220kΩ
R2L 10V 130kΩ pad L
A useful device R1L
75kΩ
Vb bias
These general-purpose op R9
C5L
amp boards were designed Vb 220pF
with experimentation in + 0V
mind and of course that’s R8 Link pads L
C13
what happened while
messing about with the RIAA
R14R
board. I was thinking about
Sum input R
the power supply for a single- C4R R7R C7L* C8L*
Power
+
24.76nF, 1% 7.15nF, 1%
rail RIAA preamplifier, and it 0V input
suddenly struck me: why not *Special RIAA R10L* R11L*
RS2
0V
22Ω
make it phantom powered? components 127kΩ, 1% 10.5kΩ, 1% 0.5W
This would be very useful Bias R
+18V
because most mixing desks V+ + C11
–input –18V
and USB audio interfaces R3R C3R R5R*
pad R
D2 10µF
0V 100µF 442Ω 25V C9R
have microphone inputs C1R 10V 1% 0V 100µF Output R
+
6
(with phantom power) not Input – R – 8 10V
IC1b 7
+
R4R
RIAA inputs for record 100Ω 5 NE5532
+
Input + R + R12R
4
decks. A quick conflab with C2R C10 47Ω R13R
Mike Grindle revealed he was 22µF R6R +input 100nF RS1 220kΩ
16V 130kΩ pad R 22Ω
R1R
wondering how to connect a 1% 0.5W
R2R
record deck to his mixer for a 75kΩ V–
C5R C12
gig and my son had a similar 220pF D1 10µF
+
25V
problem with a Focusrite 0V
computer interface. The Link pads R
Link Used Not used
classic and expensive way of
phantom powering a circuit
is to use output transformers Fig.35. Stereo RIAA pre-amplifier circuit. The special RIAA equalisation components marked * are
and harness the power from available as a kit from the PE PCB Service.
+
R13L dual 6.8kΩ feed resistors used. Most
C7L
R11L commercial units tested gave less than
R12L R4L
the official +48V. A £29 Behringer
C9L 0V
C8L Output L mixer gave +44V and the Focusrite gave
+ RS1 +46.5V. However, it was clear that it
C12
C5L C10 was possible to power a 5532 op amp,
0V
IC1 V+ that typically needs a 30V single rail
V–
C5R RS2 drawing 8mA. The setup was tested
C11
and worked perfectly. However, the
C8R
0V transformers were expensive (at least
R4R Output
R12R £20 a pair) and I was worried about the
R11R stress on the single op amp chip, already
C7R
R13R doing 50dB gain at 20Hz, along with
+
R10R
R6R turntable rumble, possibly saturating the
R5R
+
+ C1R C2R transformer cores. My usual approach
C3R 0V
–input R
is to prove a concept works with no-
+input R compromise expensive parts – and
R2R
then find a way of doing it for less.
*Note for C8L/R there is space for The transformers’ unique advantage, a
two devices so that capacitors
0V Vbias 0V can be in parallel, or an axial device. floating output, was not realisable here
Access these pads for
anyway, because of the earth return
linking signals to bias or 0V Bias R3R R6R required for the phantom power.
Quasi-balancing
Since the output of the RIAA
amplifier is around 150 to 600mVpk-pk
with a typical moving magnet cartridge,
a truly balanced output is not necessary
for low noise. It is perfectly satisfactory
to drive just one leg of the balanced
line. The other leg is held at the
same impedance to ground to obtain
common-mode interference rejection
of the balanced input. Of course, both
lines can be used to provide phantom
power. This is blocked off by capacitors
and steered to the op amps’ power
rail via resistors. Unlike the centre-
tapped transformer supply where
cancellation occurs, there is audio
riding on top of the +48V DC, so a big
supply decoupling capacitor (C11)
is necessary. The circuit is shown in
Fig.42. Connecting the 820Ω phantom
feed resistors must be done partly off-
board, as shown in Fig.43a.
Lighting-up time
It’s a good idea to put in a low-current
LED to show phantom power is present
(there could be one for each XLR). I use
Kingbright L-7104SEC orange LEDs
because they are bright enough with
1mA. They are ‘costly’ (for LEDs) at
25p from Rapid (part No. 72-8972),
Control
RIAA amplifier link
30dB gain at 1kHz
Output Distortion
analyser
Input Input Input
Passive inverse
RIAA filter dB
Loss approx 40dB Fig.38. (left) Plotting the distortion of RIAA amplifiers is tricky. In
at 1kHz
this set-up, the overall frequency response is rendered flat by
f inserting an inverse RIAA filter on the input.
Opposite curves in series give flat response Fig.39. (above) Distortion plot for RIAA amplifier using an NE5532.
Most of the distortion was noise due to the massive attenuation
(-40dB) from the inverse filter.
+
D2
BZY88
36V *
47Ω**
C9L 3 (–)
R12L 47µF Phantom
– +34V 47Ω 50V 0V power
2 (+) 1 input
+
+ 0V
LM833
(or similar) 820Ω
*Middle pin on
0V 820Ω C1R input connector
47µF
50V **Links can be
+
replaced with
47Ω resistors for
* better balance.
47Ω**
C9R 3 (–)
R12R 47µF Phantom
– 47Ω 50V 0V
2 (+)
power
1 input
+
+ 0V
820Ω supply resistors are off board
Mis-cued tracks
An eagle-eyed reader has noticed that the links near R6 on the
single channel RIAA board in Fig.23 Part 2 have to be dropped
down by one hole. The links are shown correctly in the photo of
Fig.24 (upper) Part 2.
Fig.43. a) (top) The phantom power is collected together
PCB / RIAA parts via four 820Ω resistors and fed into the board; b) (below)
The Dual Op amp PCB (AO1-APR23) and the stereo RIAA set of using four 150kΩ resistors to powering an LED to show
precision capacitors and resistors (AO2-APR23) are available phantom power is on.
from the PE PCB SERVICE.
Fig.44. (below) Overlay for the phantom powering components on the PCB.
0V Vbias R6L
0V
R12L R4L
C8L 0V
+ C9L Fig.45. The assembled phantom-powered RIAA
C10 820Ω 820Ω preamplifier interior.
C5L
R R C13
IC1 9 8
C5R
C11 D2 Power in 820Ω 820Ω
C8R +
C9R R4R 0V
R12R
R11R XLR
C7R output
R7R R13R
+
R2R
0V
0V Vbias R6R
H
ello there – how’s your day clipboard. Now, place your cursor in the Suppose we wish to count in deci-
going? I’m having an awesome Arduino IDE window and use its Edit > mal. Starting with 0 in the first column,
time (thanks for asking). One of Select All command followed by its Edit we keep incrementing (adding 1 to) our
the great things about writing for PE is > Paste command to select its existing first column until we reach 9, at which
receiving emails from readers around contents and overwrite them by pasting point we’ve exhausted all of our digits.
the world saying how wonderful I am. the contents of the clipboard into the IDE. Thus, the next time we add 1, we reset
Actually, if the truth be told, these Before you do anything else, use the the first column to 0 and increment the
messages are usually focused on my IDE’s File > Save command to save your next column to 1, thereby resulting in
columns, but I’m reading between the updated program contents. Now, make 10. Similarly, when we reach 99, we set
lines, as it were. sure your Arduino Uno is connected to the first two columns to 0 and increment
For example, I just heard from retired your host computer via its USB cable, then the third column, resulting in 100, and
computer studies teacher Tom Boyd, who use the IDE’s Sketch > Upload command so it goes… for ever.
describes himself as ‘a computer addict to load the program into your Arduino I’m reasonably sure you’re saying to
since when programming was done with and run it. You should see the 7-seg- yourself, ‘Good grief! All of this is pain-
paper tape.’ As Tom noted, ‘The internet ment display present a cheery ‘HELLO’ fully obvious,’ but hold onto your hat
is all well and good, but a properly pro- greeting, after which it will start to count because we are setting the scene for the
duced product like Practical Electronics from 0 to 9 repeatedly. The rest of this horrors delights that are to come.
is so much better!’ Tom went on to say, column will walk us through the vari-
‘I am a long-time Arduino evangelist ous elements we’ve brought together to Take a number!
and I love what you’re doing with your make this program perform its magic. As we discussed in Part 3 (PE, March
Arduino Bootcamp articles to get more 2023), we can use transistors to create
people started.’ We all count! simple logical building blocks that can
Of particular interest to us here, Tom As Mickey Mouse famously said, ‘Arith- detect the difference between two volt-
introduced me to his website, which con- metic is being able to count up to twenty age values and present the results of their
tains a cornucopia of Arduino-related without taking off your shoes,’ and who operations in terms of the same two volt-
goodies, projects, and ‘How To’ guides: amongst our number (no pun intended) ages. These building blocks can be con-
https://bit.ly/3WFTQp4 would argue with logic like that? nected to create larger functions, which
Speaking of numbers, since ancient can themselves be connected to realise
Ooh! Shiny! peoples counted using their fingers, and sophisticated systems like computers –
Let’s kickoff with a little pizazz. After all, given that we are equipped with ten fin- see my column, Arduino 0s and 1s, LOW
who deserves it more than us? Assuming gers (including thumbs), the number and HIGH, False and True and Other
you’ve still got your 7-segment display system with which we are most familiar Stuff at: https://bit.ly/3DeMQsl
wired up the way we left things in our is decimal (a.k.a. ‘denary’). As decimal Rather than think in terms of voltages,
previous column (PE, March 2023), then has ten digits (0, 1, 2, 3, 4, 5, 6, 7, 8, 9), we prefer to think in terms of 0s and 1s.
download file CB-Apr23-06.txt – all the it’s said to be base-10 or radix-10. This leads us to the binary number system,
files mentioned in this column are avail- Decimal is a place-value number system, which is said to be base-2 or radix-2. A
able from the April 2023 page of the PE which means the value of a digit depends binary digit, which is known as a ‘bit,’
website at: https://bit.ly/pe-downloads on the digit itself and its location (place) can assume only two values: 0 or 1.
Now, launch your Arduino integrated within the number. If we visualise the Like decimal, binary is a place value
development environment (IDE). Use the digits as being presented in columns, then system. In this case, however, the column
File > New Sketch command to create a each column has a ‘weight’ associated weights are powers of two. Starting with
new program, then use the File > Save As with it, where these weights are powers the right-hand bit, which is known as the
command to save this file with a name of ten. Starting with the right-hand digit, least-significant bit (LSB), these weights
of your own choosing (the name Hello- which is known as the least-significant are: 20 = 1, 21 = 2, 22 = 2 × 2 = 4, 23 =
Count would work if you happen to find digit (LSD), these weights are 100 = 1, 101 2 × 2 × 2 = 8, and so on.
yourself filename challenged). Next, we = 10, 102 = 10 × 10 = 100, 103 = 10 × 10 As before, each bit forming a binary
want to delete the existing contents of × 10 = 1000, and so on. number is multiplied by its column’s
this file and replace it with the contents Each digit forming a decimal number weight and the results are summed to
of our CB-Apr23-06.txt file. If any of this is multiplied by its column’s weight and give the total value of that number. For
is new to you, all you need do is open the results are summed to give the total example, we understand 1100 in binary
the CB-Apr23-06.txt file with your text value of that number. For example, we to be: (1 × 8) + (1 × 4) + (0 × 2) + (0 × 1)
editor and use the editor’s Edit > Select understand 6174, which is known as Ka- = 12 in decimal.
All command followed by the Edit > prekar’s constant after the Indian math- Counting in binary is easy-peasy lemon
Copy command to select and copy the ematician Dattatreya Kaprekar, to be: squeezy (Fig.1). As with decimal, we start
contents of the file to your computer’s (6 x 1000) + (1 x 100) + (7 x 10) + (4 x 1). with 0 in the LSB. Actually, we start with
by one bit is the same as multiplying by statement, the use of a mask, a bitwise Now it’s time to become more adven-
21 = 2. For example, shifting the value & (AND), and a bitwise << (shift left) as turous and start displaying all the num-
00000110 (6 in decimal) left by one bit shown in Listing 3. bers from 0 to 9 (I’m too young for all
results in 00001100 (12 in decimal). As we’ve already discussed, we pass this excitement).
Similarly, shifting left by two bits is the an 8-bit byte into this function. The 0s
same as multiplying by 22 = 2 × 2 = 4; and 1s in this byte, whose name is the- Tossing a coin
shifting left by three bits is the same as seSegs inside the function, correspond Can you cast your mind back to Part 2
multiplying by 23 = 2 × 2 × 2 = 8, and so to the segments we want to turn off and (PE, February 2023) when we created a
forth. Contrariwise, shifting right by one on, respectively. We start by declaring a program to randomly turn On and Off
bit is the same as dividing by 2; shifting variable called mask of data type byte the segments in our 7-segment display?
right by 2 bits is the same as dividing by and assigning it a value of B00000001. The problem was that we didn’t include
4, and so on. The main body of this function involves a test to see if the new random number
In the not-so-distant past, knowing this a for() loop. The first thing we do inside was the same as the previous random
sort of thing used to be extremely useful this loop is to use the & operator to per- number. This meant that, every now and
when working with simple, resource- form a bitwise AND between the mask then, a segment stayed on for some mul-
limited processors like the Arduino Uno and theseSegs, then we use an if() tiple of the expected time.
– and it can still come in handy on oc- to compare the result to 0. If there’s a 0 In Part 3 (PE, March 2023), we imple-
casion – but today’s compilers are very in theseSegs in the same bit position mented a solution that involved repeat-
clever, and they will automatically take as the 1 in mask, then the result of this edly generating new random numbers
full advantage of these tricks without you comparison will be true, in which case until we determined that the new value
having to worry about things. we turn the corresponding segment Off, was different to the old value.
The shift operators work with byte otherwise we fall through to the else Now, I want you to see if you can add
variables, char variables (signed or un- clause and turn the segment On. the code to our GetNewDigit() func-
signed) and int variables (short, regular, The final statement in our for() loop tion to do something similar. This time,
long; signed or unsigned). A series of ex- shifts our mask one bit to the left. The however, we want to randomly present
amples of various shifts performed on a way the values in the mask correspond numbers between 0 and 9 on the 7-seg-
byte variable are illustrated in Fig.10a to the values in our iSeg index variable ment display. Before reading further, try
(read this sequence from top to bottom). is illustrated in Fig.10b. to do this on your own, and then com-
Consider the way the 1 value slides pare your solution to mine, as shown in
Bringing it all together through our mask from right to left, there- Listing 4 (file CB-Apr23-03.txt).
Let’s leave our GetNewDigit() func- by testing the segments in the order DP, Now we remember why we initialised
tion for the moment and instead focus on G, F, E, D, C, B, A. It now becomes appar- our global DigitToDisplay variable to
our DisplaySegs() function. The way ent why we reversed the order of the Ar- have a value of –1. We did this to guar-
I’ve implemented this employs an if() duino pins driving the 7-segment display antee that the first time we generate a
in our PinsSegs[] array new value, that value will be different
declaration, because this to our old (–1) value.
makes things match up
just the way we want Count on me
them to. The next thing I want you to do is to
Add this code to your modify the contents of our GetNew-
DisplaySegs() func- Digit() function in such a way that
tion and upload the pro- our program repeatedly counts from 0
gram into your Ardui- to 9. Once again, try to do this on your
no. If you run into any own first, and then compare your solu-
problems that you can’t tion to the two versions I came up with,
resolve, you can down- as shown in Listings 5a and 5b.
load my version (file Let’s start with my first version, as
CB-Apr23-02.txt). shown in Listing 5a (file CB-Apr23-04.
Observe that the 7-seg- txt). Once again, remember that, when
ment display presents our program starts, our global DigitTo-
only the number 6. This Display variable has been initialised to
isn’t too surprising since have a value of –1. Happily, this isn’t a
all our GetNewDigit() problem because the first thing we do is
function currently does add 1 to this value, which means we will
Listing 3. Displaying the segments. is return the number 6. start off displaying the value 0.
Hello there!
Do you remember when we ran the program at the beginning
of this column, and it started by bidding us a cheery ‘HELLO’?
When you think about it, since we can control all of the seg-
ments on our display, we can use them to create characters
other than the numbers 0 through 9. For example, ‘H’, ‘E’, ‘L’,
and ‘O’ (Fig.11).
Just for giggles and grins, see if you can take our previous
program and modify it to display the ‘HELLO’ message before
it starts counting. As before, try to do this on your own first,
and then compare your solution to mine, as shown in List-
ing 6 (file CB-Apr23-06.txt).
Note that this augments our existing code – it doesn’t replace
it. I started off by adding some new definitions as follows:
#define NUM_HELLO_CHARS 5
#define ON_TIME 1000
#define OFF_TIME 150
#define PAUSE_TIME 1000
Practical
Electronics BACK ISSUES
Practical Practical Practical Practical Practical Practical Practical
Electronics Electronics Electronics Electronics Electronics Electronics Electronics
The UK’s premier electronics and computing maker magazine
The UK’s premier electronics and computing maker magazine
The UK’s premier electronics and computing maker magazine
The UK’s premier electronics and computing maker magazine
The UK’s premier electronics and computing maker magazine
The UK’s premier electronics and computing maker magazine
The UK’s premier electronics and computing maker magazine
Circuit Surgery Audio Out Make it with Micromite
Circuit Surgery Audio Out KickStart Circuit Surgery
Make it with Micromite Audio Out Cool Beans Circuit Surgery
Make it with Micromite Audio Out Wind turbine Electronic Building Blocks
Circuit Surgery Audio Out Circuit Surgery
Make it with Micromite Audio Out Circuit Surgery
Make it with Micromite KickStart Make it with Micromite
Exploring op amp PE Analogue Vocoder: Using and interfacing the
Exploring op amp Vocoder: Driver Using the Exploring
Using and interfacing the the Vocoder: Mastering switch Build an iButton-based
Exploring the Vocoder final Small-scale Building a budget Distortion and Designing a practical Code for an iButton-based
Simulating distortion Using transformers in Installing MMBASIC on
Using
a distortion and Exploring DACs and MMBASIC + RPi Pico + display
exponential amplifiers Driver Amplifier design versatile iButton input offsets Amplifier build I2C bus versatile iButton LM35 temp sensor Audio PSU debounce Royer oscillator
Electronic Door Lock assembly garden set-up electronic stethoscope
distortion circuits de-thump circuit Electronic Door Lockand distortion circuits audio electronics Raspberry Pi Pico distortion circuits microcontrollers = PicoMite Backpack!
power supply
Assembly
Board
clear_bit(intcon, 2);
Microchip
Learn Wind Chimes Evaluation Kit from Microchip
FCM_INTERRUPT_TMR
Simple
EF300BA110A122928352
WIN
Flowcode
Programming
86C
:2000200D928FE28073 Flowcode C
void interrupt(void)
{ if (intcon & 4) C
Learn
void interrupt(void) o(); {
bsf STATUS, RP0 Assembly
{ if (intcon & 4) clear_bit(intcon, 2);
bcf STATUS, RP1
Flowcode
:08000800F000F00S030 Hex
192kHz, 24-bit
o(); bsf STATUS, RP0
EF10000 movwf _adcon1
bcf STATUS, RP1 movlw D′192′
Hex :10001000040EF2000A0 :040000008A01122837
Learn
:040000008A01122837 86C EF10000
movwf _option_reg
Vintage Battery
:08000800F000F00S030 :2000200D928FE28073 :10001000040EF2000A0
Programming:
EF10000 EF300BA110A122928352
:10001000040EF2000A0
SuperCodec:
86C
PCBs for most recent PE/EPE constructional projects are available. From the July 2013 issue onwards, PCBs with eight-digit codes
have silk screen overlays and, where applicable, are double-sided, have plated-through holes, and solder mask. They are similar to
photos in the project articles. Earlier PCBs are likely to be more basic and may not include silk screen overlay, be single-sided, lack
plated-through holes and solder mask.
Always check price and availability in the latest issue or online. A large number of older boards are listed for ordering on our website.
In most cases we do not supply kits or components for our projects. For older projects it is important to check the availability
of all components before purchasing PCBs.
Back issues of articles are available – see Back Issues page for details.
All prices include VAT and UK p&p. Add £4 per project for post to Europe; £5 per project outside Europe.
Orders and payment should be sent to:
Practical Electronics, Electron Publishing Ltd
113 Lynwood Drive, Merley, Wimborne, Dorset BH21 1UU
Tel 01202 880299 Email: shop@electronpublishing.com
On-line Shop: www.epemag.com
Cheques should be made payable to ‘Practical Electronics’ (Payment in £ sterling only).
NOTE: Most boards are in stock and sent within seven days of receipt of order, please allow up to 28 days delivery if we need to restock.
Practical
Electronics
If you want your advertisements to be seen by the largest readership
at the most economical price then our classified page offers excellent Practical Electronics
value. The rate for semi-display space is £10 (+VAT) per centimetre reaches more UK
high, with a minimum height of 2·5cm. All semi-display adverts have a readers than any other
width of 5.5cm. The prepaid rate for classified adverts is 40p (+VAT) per UK monthly hobby
word (minimum 12 words).
electronics magazine.
Cheques are made payable to ‘Practical Electronics’. VAT must be
Our sales figures prove it.
added. Advertisements with remittance should be sent to: Practical
Electronics, 113 Lynwood Drive, Wimborne, Dorset, BH21 1UU. We have been the leading
Tel 07973518682 Email: pe@electronpublishing.com monthly magazine in
For rates and further information on display and classified advertising this market for the last
please contact our Advertisement Manager, Matt Pulzer – see below. twenty-seven years.
Unit 10, Boythorpe Business Park, Dock Walk, Chesterfield,
ADVERTISING INDEX
AO SHOP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Advertisement offices
CRICKLEWOOD ELECTRONICS . . . . . . . . . . . . . . . . . . . . . . . . . 45 Matt Pulzer
ESR ELECTRONIC COMPONENTS . . . . . . . . . . . . . . . . . . . . . . . 45
HAMMOND ELECTRONICS Ltd . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Electron Publishing Ltd
iTP (INNOVATIVE TECHNOLOGY PROJECTS LTD) . . . . . . . . . . 36
1 Buckingham Road
JPG ELECTRONICS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Brighton
MICROCHIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Cover (ii) East Sussex BN1 3RA
PEAK ELECTRONIC DESIGN. . . . . . . . . . . . . . . . . . . . . . Cover (iv) Tel 07973 518682
POLABS D.O.O.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 Email pe@electronpublishing.com
QUASAR ELECTRONICS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
SILICON CHIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Web www.electronpublishing.com
STEWART OF READING. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
TAG-CONNECT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 For editorial contact details see page 7.
TERRINGTON COMPONENTS . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
PLUS!
All your favourite regular columns from Audio Out, Cool Beans and Circuit
Surgery, to Make it with Micromite, Techno Talk and Net Work. On sale 6 April 2023
Content may be subject to change
JPG Electronics
Britannia Maison Mes Amis
Bournemouth BH1 9EH, United Kingdom
Inn
Old Road Remember, we print the date of the last issue
ad
d
Roa
Old H
Cha
tsw
orth
Morrisons
address sheet that comes with your copy.
Sparks
Digital subscribers, please call 01202 880299
Retail & Trade Welcome • Free Parking • Google St View Tour: S40 2RB or visit: www.electronpublishing.com
Published on approximately the first Thursday of each month by Electron Publishing Limited, 1 Buckingham Road, Brighton, East Sussex BN1 3RA. Printed in England by Acorn Web Offset Ltd., Normanton WF6
1TW. Distributed by Seymour, 86 Newman St., London W1T 3EX. Subscriptions UK: £33.99 (6 months); £59.99 (12 months); £114.99 (2 years). EUROPE: airmail service, £38.99 (6 months); £69.99 (12 months);
£129.99 (2 years). REST OF THE WORLD: airmail service, £46.99 (6 months); £84.99 (12 months); £164.99 (2 years). Payments payable to ‘Practical Electronics’, Practical Electronics Subscriptions, PO Box
6337, Bournemouth BH1 9EH, United Kingdom. Email: pesubs@selectps.com. PRACTICAL ELECTRONICS is sold subject to the following conditions, namely that it shall not, without the written consent of the
Publishers first having been given, be lent, resold, hired out or otherwise disposed of by way of Trade at more than the recommended selling price shown on the cover, and that it shall not be lent, resold,
hired out or otherwise disposed of in a mutilated condition or in any unauthorised cover by way of Trade or affixed to or as part of any publication or advertising, literary or pictorial matter whatsoever.
op
e
linear igipots with
r
remier
Universal board
uitaudio
S u yamps
foredual
F
lectron
o x R
ics and
compu
ting ma
regula eport ker ma
tors Keepin
WIN! 500W Power
scamm
g one
step a
gazine
ers hea Ma ke it
Microchip
dsPIC33EV 5V
amplifier is a full-time tad sokf Updati with Micro
n m
firmwa g the PicoM ite
CAN-LIN
Raspb re ite
Pico B erry Pi
Starter
Kit
ackPa
ck
Three low-noise Finger
HF-UHF Amplifiers Reade print WIN!
r Mic
PIC32Crochip
Curios M JH01
Ca p a Develo ity Pro
Amplifier
Clipping Indicator S ema
p
PLUS!
P Signa hore
LUSfarm!
Techno Talk – Robots... down on the ! Apr 2023 £5.99 l for
T chno
Cool Beans – Arduino Bootcamp:e7-segment
04
OO-G
Mode auge
Talk –displays
Cool B It’s han
eanPlay’ simplicity
Net Work – Smart devices with ‘Plug and dover 9 772632 573030 l Railw
Net Wo s – Arduino tim
rk – Sa Bootca e ays
www.electronpublishing.com @practicalelec mp: tw
tellites practicalelectronics
www.e and th o LEDs Mar 20
lectro e roots (twice 23
npubli of the the fun £5.99
shing Inform )!
.com ation A 03
@pra ge 9 772
632 5
cticale 73030
lec
practi
calele
ctronic
s
You read that right! We now sell the current issue of your favourite electronics
magazine for exactly the same price as in the High Street, but we deliver it
straight to your door – and for UK addresses we pay the postage. No need to
journey into town to queue outside the newsagent. Just go to our website, set
up an account in 30 seconds, order your magazine and we’ll do the rest.
www.electronpublishing.com