Practical Electronics September 2019 Avxhm - Se
Practical Electronics September 2019 Avxhm - Se
IG E
!
E
ES M
N
Practical
EW W P
N NE E
–
Electronics
The UK’s premier electronics and computing maker magazine
Micromite Electronic Circuit Surgery Cool Beans
Build a dice Building Blocks Transistor theory Fixing
prediction game LED Clocks and practice Metastability
Arduino WIN!
Microchip
NFC dsPIC33CH
Shield Curiosity
Development
Board
Digital Sound
Effects Module
Micromite
Clock
NEW SERIES
Build your own
LS3/5A speakers!
[Link]/learn-more
The Microchip name and logo and the Microchip logo are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
All other trademarks are the property of their registered owners.
© 2018 Microchip Technology Inc. All rights reserved. DS00002552A. MEC2226Eng10/18
Practical
Volume 48. No. 9
September 2019
ISSN 2632 573X
Electronics Contents
Projects and Circuits
Intelligent Touchscreen Lathe Speed Controller 14
by Peter Bennett (design) and Nicholas Vinen (words)
Automatically adjust your lathe’s speed to suit materials, manually select speed
and direction; plus constant display of the lathe’s status.
Super-portable Twin Dipole Guitar/PA Speaker by Allan-Linton Smith 22
This easy-to-build, portable guitar/PA speaker is LOUD and sounds great!
Using Cheap Asian Electronic Modules – Part 19 by Jim Rowe 28
Learn to use a low-cost NFC (Near-Field Communication) shield for Arduino.
Super Digital Sound Effects Module – Part 2 by Tim Blythman and Nicholas Vinen 32
Assembly of this powerful sound effects module with advanced controls.
White Noise Generator by John Clarke 40
A very simple and cheap-to-build PIC-based white noise source that does not
repeat over any short time frame and has a wide variety of uses.
ELECTRONI CS
£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
• Programming – powerful integrated development system
has been designed for electronics enthusiasts who want to get to • Microcontrollers – understand control operations
• Communications – connect to PCs and other Arduinos
SOFTWARE
The CD-ROM contains the software for both the Teach-In 8 and PICkit 3 series.
Electronics
UK readers SAVE 73p on every issue
Why not pay £3.92 instead of £4.65 for your copy of Practical Electronics?
D NA –
D NA –
D NA –
IG E
IG E
IG E
D NA –
D NA –
Practical Practical Practical
!
E
ES M
ES M
ES M
IG E
N
N
IG E
Practical Practical
!
E
EW W P
EW W P
EW W P
ES M
ES M
N
N
EW W P
EW W P
N NE E
N NE E
N NE E
N NE E
N NE E
–
–
–
–
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
Audio Out Circuit Surgery Net Work PIC n’ Mix Micromite Circuit Surgery Cool Beans PIC n’ Mix Micromite Circuit Surgery Cool Beans PIC n’ Mix Micromite Circuit Surgery Cool Beans PIC n’ Mix Micromite Dynamometer Circuit Surgery Cool Beans
Backing MOSFET power Back-ups and Designing PCBs Digital inputs Comparator Max’s amazing Small, cheap and Subroutines Circuit simulation ‘Micing’ an Small, cheap and Building smart Understanding Fixing a dynamic Small, cheap and Using sound Power electronics Transistor theory Nixie tubes
Baxandall switches smart speakers with EagleCAD and outputs circuit design 4-bit computer powerful PICs and interrupts with LTspice Arduino powerful PICs Electronic dice bipolar transistors range problem powerful PICs Mac operation for a rolling road and practice Metastability
Just take out a one-year subscription and save 73p on every issue, or £8.80 over the year.
Even better – save 94p per issue if you subscribe for two years – a total saving of £22.60
Electronics
Rest of the World £37.00 (Airmail)
1 Year: UK £47.00, Europe £56.00 (Airmail),
Rest of the World £70.00 (Airmail)
2 Years: UK £89.00, Europe £107.00 (Airmail),
SUBSCRIPTION PRICES Rest of the World £135.00 (Airmail)
Subscriptions for delivery direct to any address in: To: Practical Electronics
Wimborne Publishing Ltd
UK: 6-months £25.00, 12-months £47.00, 24-months £89.00 113 Lynwood Drive, Wimborne, Dorset BH21 1UU
Europe Airmail: 6-months £30.00, 12-months £56.00, Tel: 01202 880299 Fax: 01202 843233
24-months £107.00 Email: [Link]@[Link]
Rest Of The World Airmail: 6-months £37.00, 12-months I enclose payment of £ ..............
£70.00, 24-months £135.00 (cheque/PO in £ sterling only)
payable to Practical Electronics
Cheques (in £ sterling only) payable to Practical Electronics
and sent to: Wimborne Publishing Ltd, 113 Lynwood Drive, Please charge my Visa/Mastercard
Merley, Wimborne, Dorset BH21 1UU. My card number is: .......................................................................
Please print clearly, and check that you have the number correct
Tel: 01202 880299. Fax: 01202 843233.
Email: [Link]@[Link]. Card Security Code .................. Valid From Date........................
(The last 3 digits on or just under the signature strip)
Also via our secure online shop at: [Link].
Card Ex. Date ......................................
Subscriptions start with the next available issue. We accept
MasterCard or Visa. Name ............................................................................................
(For past issues see the Back Issues page.)
Address ........................................................................................
As technology has evolved, more and more devices demand intelligent systems.
Microchip has been on the forefront of this evolution, bringing you a broad portfolio of
solutions that helps you:
• Easily ind the right level of intelligence for your design with our broad portfolio of
8-, 16- and 32-bit MCUs, DSCs and MPUs
• Eiciently create diferentiated designs with lexible peripherals and functions
• Accelerate design time with our intuitive development environments, complete
reference designs, free software libraries and automatic code generation tools.
Learn how Microchip can get you to production faster by providing solutions that
are not only smart, but also connected and secure.
The Microchip name and logo and the Microchip logo are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. All
other trademarks are the property of their registered owners.
© 2019 Microchip Technology Inc. All rights reserved. DS00002769A. MEC2237A-Eng-06-19
Super
Summer
Sale!
Practical Electronics special offers
40% off all PCBs up to and including those in the February 2019 issue
25% off all PE/EPE hard-copy (print) back issues
25% off all PE/EPE back-issue 6-month CD-ROMs – see page 11
25% off all PE/EPE back-issue 5-year CD-ROMs – see page 11
Subscribe to PE hard copy for 24-months and receive three free 6-month back-issue
CD-ROMs of your choice from Volume 1-40 (see page 11), normal price £16.45 each.
Existing subscribers are welcome to renew early for another 12 or 24 months and
still receive the offer – your new subscription will simply be added to the end of your
existing subscription – no issues lost by renewing early!
Teach-In bundle
Electronics Teach-In bundle includes
TI CD-ROMs 3, 4 and 5 – normal price £18.95
Special offer 25% discount price £14.21 – see page 65
Electronics Editorial
Editorial offices
Practical Electronics Tel 01273 777619 Inspirational speakers
Electron Publishing Limited Mob 07973 518682 We don’t cover loudspeakers very often in PE,
1 Buckingham Road Fax 01202 843233
Brighton Email pe@[Link]
certainly much less than amplifiers. Yet they play
East Sussex BN1 3RA Web [Link] just as critical a role in audio and are fascinating
engineering systems that combine everything
Advertisement offices from woodwork to advanced filter design – and
Practical Electronics Adverts
1 Buckingham Road
yes, electronics if you go the active route. Still,
Brighton if you wait long enough, just like buses, a pair of
East Sussex BN1 3RA speaker articles will arrive together!
Phone 01273 777619
Mob 07973 518682 This month, we take two very different routes to
Email pe@[Link] designing and building loudspeakers. We have
a remarkably simply electric guitar / PA dipole
Editor Matt Pulzer
General Manager Louisa Pulzer speaker, which despite its basic construction
Subscriptions Stewart Kearn really delivers the goods. Plus, we have the start of a series from Jake
Online Editor Alan Winstanley Rothman in his Audio Out column that looks at the venerable BBC
Web Systems Kris Thain
Publisher Matt Pulzer mini-monitor, the LS3/5A. This won’t just be an academic analysis
of what makes this speaker so good; we’ll be producing designs
Technical enquiries that enable you to build a pair yourself. This promises to be a really
We regret technical enquiries cannot be answered over the exciting project and I hope you consider making your own LS3/5As.
telephone. We are unable to offer any advice on the use, purchase,
repair or modification of commercial equipment or the incorporation (We’ll even make sure the woodwork is rock solid, easy to assemble
or modification of designs published in the magazine. We cannot and inexpensive.)
provide data or answer queries on articles or projects that are
more than five years old.
Practically Speaking
Questions about articles or projects should be sent to the editor It’s over three years since Robert Penfold retired and his popular
by email: pe@[Link] hands-on column, Practically Speaking, came to an end. It was
a great mix of advice, tips and tricks that explained in simple
Projects and circuits
All reasonable precautions are taken to ensure that the advice and language how to actually build circuits and projects. I have wanted
data given to readers is reliable. We cannot, however, guarantee to resurrect it for some time, but I couldn’t decide which of our
it and we cannot accept legal responsibility for it. many talented writers would be the best fit. Then it struck me…
A number of projects and circuits published in Practical Electronics
most of them would make a great job of writing the column, so
employ voltages that can be lethal. You should not build, test, I am going to commission several authors to write the new-look
modify or renovate any item of mains-powered equipment unless Practically Speaking. This month kicks off with Cool Beans Max,
you fully understand the safety aspects involved and you use an
RCD (GFCI) adaptor.
who declares his love for some decidedly low-tech hardware!
Component supplies What would you like to see covered in Practically Speaking? All
We do not supply electronic components or kits for building the construction techniques and technologies are up for grabs – drop
projects featured, these can be supplied by advertisers. We
advise readers to check that all parts are still available before
me a line and let me know.
commencing any project in a back-dated issue.
Super summer sale!
Advertisements Here’s a short reminder that we’re still running our annual
Although the proprietors and staff of Practical Electronics take
reasonable precautions to protect the interests of readers by
summer sale (see opposite). Many PCBs, all back issues and all
ensuring as far as practicable that advertisements are bona fide, back issue CD-ROMs are discounted, and don’t forget that if you
the magazine and its publishers cannot give any undertakings renew your subscription between now and the end of September
in respect of statements or claims made by advertisers, whether
these advertisements are printed as part of the magazine, or in
we’re giving away your choice of a six-month back-issue CD-ROM
inserts. The Publishers regret that under no circumstances will with every 12-month subscription, and three CD-ROMs if you
the magazine accept liability for non-receipt of goods ordered, or renew for 24 months.
for late delivery, or for faults in manufacture.
Transmitters/bugs/telephone equipment
Even if you’ve renewed recently you won’t lose out, your additional
We advise readers that certain items of radio transmitting and subscription will simply start after the current one ends and you’re
telephone equipment which may be advertised in our pages guaranteed to avoid any price rises. In fact, if you’ve just renewed,
cannot be legally used in the UK. Readers should check the law but decide to take up this offer you won’t see any price rises for the
before buying any transmitting or telephone equipment, as a fine,
confiscation of equipment and/or imprisonment can result from best part of three years. What are you waiting for? Grab a bargain!
illegal use or ownership. The laws vary from country to country;
readers should check local laws.
Matt Pulzer
Publisher
Ventilated enclosures
[Link]/electronics/small-case/
plastic/1551v
Hammond
More than 5000 diferent enclosure styles:
[Link]/electronics/small-case
01256 812812
sales@[Link]
Oil error message Journalists grow weary of press releases ‘But instead of the anticipated minor
that gloss over company problems and teething issues, there were major dif-
computer catastrophes. So full marks ficulties that are still ongoing,’ says the
to German lubricant specialist LIQUI CEO. ‘Customers are becoming frustrated
MOLY for what must surely rank as and angry. In my entire professional
the world’s frankest-ever press missive. career, I have not had to apologise so
‘The introduction of new company often to customers, as I have had to in
software in January has turned LIQUI the last six months. In addition to the
MOLY into a permanent building site,’ huge cost of having the software in-
it reads. ‘The system that was supposed stalled, every day produces new things
to simplify processes and reduce costs to trouble shoot and problems to solve.’
for the oil and additive specialist, has ‘Earnings for the half-year fell by
had precisely the opposite effect’. around 30% to €11m. I never would
‘If we were listed on the stock ex- have thought that in 2019 a change of
change, I would have to issue a profit software could send a whole company
warning,’ says CEO Ernst Prost, who skidding off the road.”
sent a photo showing how he feels. ‘The storm that we are currently
‘Among other things, the company going through is a lot stronger than
software manages purchases, controls predicted. Big waves are breaking over
production, handles shipping and is- our ship, some of the crew are getting
sues invoices…The previous software wet and some of the passengers are a
LIQUI MOLY CEO Ernst Prost is infuriated had been in use for decades and was bit nauseous. But our ship is seawor-
by computer problems – we all know increasingly reaching its limits. So, after thy and not at risk. And the storm will
how he feels, but it’s rare to go so public. years of preparation, it was replaced.’ soon be over.’
STEWART OF READING
17A King Street, Mortimer, near Reading, RG7 3RS
Telephone: 0118 933 1111 Fax: 0118 933 2375
USED ELECTRONIC TEST EQUIPMENT
Check website [Link]
Fluke/Philips PM3092 Oscilloscope HP 54600B Oscilloscope
(ALL PRICES PLUS CARRIAGE & VAT)
2+2 Channel 200MHz Delay TB, Analogue/Digital Dual Trace 100MHz
Autoset etc – £250 Please check availability before ordering or calling in
Only £75, with accessories £125
LAMBDA GENESYS PSU GEN100-15 100V 15A Boxed As New £400 Marconi 2305 Modulation Meter £250
LAMBDA GENESYS PSU GEN50-30 50V 30A £400 Marconi 2440 Counter 20GHz £295
IFR 2025 Signal Generator 9kHz – 2.51GHz Opt 04/11 £900 Marconi 2945/A/B Communications Test Set Various Options POA
IFR 2948B Communication Service Monitor Opts 03/25 Avionics POA Marconi 2955 Radio Communications Test Set £595
IFR 6843 Microwave Systems Analyser 10MHz – 20GHz POA Marconi 2955A Radio Communications Test Set £725
R&S APN62 Syn Function Generator 1Hz – 260kHz £295 Marconi 2955B Radio Communications Test Set £800
Agilent 8712ET RF Network Analyser 300kHz – 1300MHz POA Marconi 6200 Microwave Test Set £1,500
HP8903A/B Audio Analyser £750 – £950 Marconi 6200A Microwave Test Set 10MHz – 20GHz £1,950
HP8757D Scaler Network Analyser POA Marconi 6200B Microwave Test Set £2,300
HP3325A Synthesised Function Generator £195 Marconi 6960B Power Meter with 6910 sensor £295
HP3561A Dynamic Signal Analyser £650 Tektronix TDS3052B Oscilloscope 500MHz 2.5GS/s £1,250
HP6032A PSU 0-60V 0-50A 1000W £750 Tektronix TDS3032 Oscilloscope 300MHz 2.5GS/s £995
HP6622A PSU 0-20V 4A Twice or 0-50V 2A Twice £350 Tektronix TDS3012 Oscilloscope 2 Channel 100MHz 1.25GS/s £450
HP6624A PSU 4 Outputs £400 Tektronix 2430A Oscilloscope Dual Trace 150MHz 100MS/s £350
HP6632B PSU 0-20V 0-5A £195 Tektronix 2465B Oscilloscope 4 Channel 400MHz £600
HP6644A PSU 0-60V 3.5A £400 Farnell AP60/50 PSU 0-60V 0-50A 1kW Switch Mode £300
HP6654A PSU 0-60V 0-9A £500 Farnell XA35/2T PSU 0-35V 0-2A Twice Digital £75
HP8341A Synthesised Sweep Generator 10MHz – 20GHz £2,000 Farnell AP100-90 Power Supply 100V 90A £900
HP83630A Synthesised Sweeper 10MHz – 26.5 GHz POA Farnell LF1 Sine/Sq Oscillator 10Hz – 1MHz £45
HP83624A Synthesised Sweeper 2 – 20GHz POA Racal 1991 Counter/Timer 160MHz 9 Digit £150
HP8484A Power Sensor 0.01-18GHz 3nW-10µW £75 Racal 2101 Counter 20GHz LED £295
HP8560E Spectrum Analyser Synthesised 30Hz – 2.9GHz £1,750 Racal 9300 True RMS Millivoltmeter 5Hz – 20MHz etc £45
HP8563A Spectrum Analyser Synthesised 9kHz – 22GHz £2,250 Racal 9300B As 9300 £75
HP8566B Spectrum Analsyer 100Hz – 22GHz £1,200 Solartron 7150/PLUS 6½ Digit DMM True RMS IEEE £65/£75
HP8662A RF Generator 10kHz – 1280MHz £750 Solatron 1253 Gain Phase Analyser 1mHz – 20kHz £600
Marconi 2022E Synthesised AM/FM Signal Generator 10kHz – 1.01GHz £325 Solartron SI 1255 HF Frequency Response Analyser POA
Marconi 2024 Synthesised Signal Generator 9kHz – 2.4GHz £800 Tasakago TM035-2 PSU 0-35V 0-2A 2 Meters £30
Marconi 2030 Synthesised Signal Generator 10kHz – 1.35GHz £750 Thurlby PL320QMD PSU 0-30V 0-2A Twice £160 – £200
Marconi 2023A Signal Generator 9kHz – 1.2GHz £700 Thurlby TG210 Function Generator 0.002-2MHz TTL etc Kenwood Badged £65
Forget corner cafés – Internet cafés too! That’s because the Repair Café is the new ‘in’ place to be. They
are part of a movement that aims to reduce waste, pollution and greenhouse emissions by helping people
give their electronic and electrical gizmos a second life. Practical electronicists like you can volunteer to
do hands-on mending or contribute by sharing data and solutions for familiar consumer durables.
O
ne of the frustrating factors other places. A decade later, there are (with a small ‘r’ and ‘c’) that concen-
of modern life is that many gad- 1,700 Repair Cafés offering their ser- trates on mending electronic goods. It
gets are cheaper to replace than vices across 35 countries. started in London in 2013, and since
repair. Modern economics may well rely then has helped 11,942 people, by way
on disposable durables (now there’s a Legal action of 18,978 hours of volunteered time
contradiction!) and high levels of con- The grassroots movement to bring repair- working on 9,648 devices. A survey
sumption, but in our heart of hearts we ing back into our economy is growing of participants attending ‘restart par-
know that the constant replacement and making political demands too, ties’ in 2016 found that close to half
of gadgets and burying the evidence taking on the world’s biggest compa- of people were ‘slightly’ or ‘not at all’
of this profligacy in landfill cannot nies through legislation that will force confident undertaking repairs of their
be good for the environment. Regular them to make products that are repair- goods at home, and that 45% were un-
junking of products that ought to last able and live longer. According to the able to find a commercial repairer they
five years or more is often ascribed to Rapid Transition Movement (www. could trust. Without the help of Restart
intentional ‘planned obsolescence’, [Link]), from the EU to the volunteers, many of the goods repaired
in which products are designed not US, new laws are being developed to would have been discarded.
to endure but be replaced on a fre- support the ‘right to repair’ to radically
quent basis to feed economic demand. reduce waste, make things last longer Wishful thinking?
This all-too-familiar scenario has got and make them easier to repair. The gi- Volunteering has enormous practical
be wrong, and a global movement is ant economy of California is now the power – each month more than 20,000
growing to put this right. 18th US state to make such a proposal. talented ‘fixers’ now offer their time and
their hands to help over 50,000 people
People power Practical matters mend their broken belongings, all for
Big business will not help avert this We’ve already dealt with the who and free other than the cost of parts used.
nonsense unless forced to, so it’s down why, so now let’s deal with the what This is practical support that helps save
to consumers like us to act. Individuals and where – in that order. Repair Cafés money, reduces waste and raw material
can kickstart the movement – and they are free meeting places and they’re all consumption and builds communities.
have. In 2009, Dutch journalist Martine about repairing things, communally. At Even better, in 2017 the efforts of all
Postma ran an experiment in her home Repair Cafés you’ll find tools and mate- these volunteers saved around 300,000kg
town of Amsterdam. She brought to- rials to help you make any repairs you of CO2 emissions that buying replace-
gether a group of handy friends and ran need. On clothing, furniture, electrical ment gadgets would have cost. There is
what she called a Repair Café — a free goods, bicycles, crockery, appliances, something immensely satisfying about
facility where people could bring their toys and other consumer items. You’ll resurrecting a dead device, especially
broken belongings and motivated vol- also find expert volunteers, with repair for someone who may not be able to af-
unteers would help to try and fix them. skills in all kinds of fields. ford a new one. Why not put your PE
Following the huge popularity of the Visitors (clients) bring their broken talents to good use and get involved!
events in Amsterdam, Martine set up the items from home. Together with the
Repair Café Foundation ([Link] specialists on site, they start making Letters, we get letters
[Link]/en/) and published guidance their repairs. It’s an ongoing learning Not really, but we do get emails. Here’s
to assist volunteers to do the same in process. If you have nothing to repair, one from loyal reader Sam Finklea
you can just enjoy a cup of tea or coffee. across the Pond. Commenting on my
Repair culture: the numbers Or you can lend a hand with someone tirade against scam telephone calls, he
(February 2019) else’s repair job. You can also get in- says: ‘Mark, we on this side of the pond
• A decade on since the first Repair spired to do some reading – by leafing share your frustration with robocallers,
Café was held in Amsterdam in through books on repairs and DIY. You but unfortunately your announcement
2009, there are 1,700 Repair Cafés can visit a Repair Café in your own area on our behalf of their demise, as Mark
in 35 countries. ([Link] or start Twain said under similar circumstances,
• According to data contributed to one yourself ([Link] “is premature”. Regrettably, Congress
Restart’s ‘Fixometer’, 54% of all start/). The house rules are not onerous has not yet acted, nor has the FCC im-
products brought to a Restart Party ([Link] posed effective rule changes.’
are repaired on the spot; a further Thanks for your clarification, Sam.
27% are ‘repairable’ once a spare And there’s more… Let’s hope that the scammers waste
part or relevant tool is procured. As well as Repair Cafés there is also the time of sufficient Congresspeople
the Restart Project. This is a repair café to stimulate some action soon!
E
xactly 20 years ago I was be/gEAN5WFZ6eI). It was hoped that of this operation includes the construc-
researching a mini-series on elec- new CCS (carbon-capture and storage) tion of ‘Hornsea One’, Ørsted’s wind
tricity generation called From power plants would replace these power farm being built in the North Sea 120km
Pipelines to Pylons for Everyday Practi- stations, but government funding for the from the seaside resort of Hornsea. Gen-
cal Electronics. The UK power generation unproven technology was withdrawn. erating 1.2GW of electricity (equal to
company National Power, as it was then For anyone interested, the writer’s origi- two Killingholme ‘A’ power plants),
called, allowed me to clamber all over nal mini-series can be downloaded from: the 400km2 wind farm will become the
a relatively new combined cycle gas [Link] largest offshore wind farm in the world.
turbine (CCGT) 650MW power station More details are at [Link]
– Killingholme ‘A’ – during its main- The winds of charge are blowing... [Link]
tenance shutdown period. Everything In 1999, I wrote how nuclear, gas and Since the Industrial Revolution, Brit-
was laid bare, and over several weeks the ‘interconnectors’ (power cabled into ain’s ‘evergreen’ credentials have been a
I plotted the story of electricity gener- Britain from overseas) formed the core long time in the making, but there can
ation, starting from the natural gas that of Britain’s power generation landscape be no doubt that the country now has
supplied the power station, through the at that time, with coal, oil and hydroe- some highly ambitious green energy
turbines and 400kV pylons and all the lectricity topping up the supply at peak plans, having also developed huge ca-
way to the mains outlets found in Brit- periods. 20 years later, the UK has set pacity to manufacture and ship wind
ain’s homes and factories. The power an ambitious target of cutting net carbon turbines to meet future demands for this
station had been built in the 1990s emissions from its energy sources to zero much cleaner form of energy.
in a period dubbed ‘the dash for gas’, by the year 2050. In May this year, Brit-
when a newly privatised British energy ain went for two whole weeks without Technology in motion
market erected a whole crop of these drawing power from its coal-fired power With climate change and green energy
‘off-the-shelf’ power stations, fuelled stations, and for two days an astonishing still in mind, the move away from petrol
by plentiful supplies of North Sea gas. quarter of electricity was solar powered. and diesel cars to electric vehicles is
As things turned out, the power sta- The UK National Grid ([Link]- inexorable. In 2019, Volvo switched
tion would change hands several times, [Link]) aims to produce more of our to producing ‘electrified’ hybrid and
but the increasingly unwanted site failed electricity from zero-carbon resources electric vehicles (EVs) and eventually
to attract new owners and ultimately it than from fossil fuels such as coal and they will phase out pure ICE (internal
was closed down. In 2017, it was de- gas. This year, they hope that wind power combustion engine) cars altogether.
molished, as seen in a YouTube video will account for nearly 19% of the total Adverts for the latest electric cars from
at: [Link] energy generated, fifteen times more than manufacturers including Hyundai, Kia
A neighbouring 1GW power station a decade ago. The country also imports and Renault show the way that indus-
(Killingholme ‘B’) owned by [Link] also clean hydroelectricity from Norway try and society are moving, at the same
closed: in a promo video, the manufac- through the North Sea Link intercon- time mixing together new technology
turer Micronics Flowmeters hailed it as nector (see: [Link] with some old ideas.
a ‘great example of a sustainable and Although the author’s adopted gas Just as the new millennium arrived,
efficient energy provider’, but today power station is now a distant memory, on 4 January 2000 the Daily Telegraph
there’s nothing left. (See: [Link] the local region is seeing massive in- newspaper printed a headline: Satellite
vestment by several puts the brakes on speeding drivers. The
major wind turbine paper posited the theory of pairing GPS
factories, including satellite navigation with some form of
Denmark’s Ørsted ‘digital road map’ to track a vehicle’s lo-
([Link] cation and, if necessary, force it to slow
en) and Siemens down, perhaps when it broke the pre-
([Link] vailing speed limit. It might even force
QZTsl) situated in a speed reduction at peak rush hours
nearby Grimsby and when passing by schools or other sen-
Hull. Their Humber sitive areas. Fast forward to today and
estuary location, cou- inevitably the idea of technology nag-
pled with a highly ging drivers about their speed has gained
skilled workforce is traction: the latest cars boast a multi-
ideal for building and tude of electronic driver aids, including
Britain’s RAC breakdown service offers ‘EV Boost’ to help shipping wind tur- road-sign speed limit recognition, which
jump-start stranded electric vehicles. bines out to sea. Part works surprisingly well: a windscreen
M
ost lathes, apart from small fine-tune the speed, while monitoring width modulation (PWM). It has been
wood-turning machines, are the actual RPM. designed this way to allow for relatively
powered by an induction mo- This article gives all the details on long cable runs (of up to 50m). In most
tor. The problem with using an induc- adding the extra circuitry required for cases though, those cables will be a few
tion motor is that until quite recently, the IMSC / Explore 100, how to hook metres at most.
the most common ways to control them up together, and to the lathe, and With CON2, all eight connections
lathe chuck speeds involved belts and how to achieve control. between the two main modules (the
stepped pulleys or a gear box. IMSC Interface and the Explore 100)
While they are still useful, it is now Circuit description are optoisolated so that ground loops
possible to control chuck speed and The circuit for this project is shown are not an issue, despite the possibility
direction using our 1.5kW Induction in Fig.1, overleaf. It is broken up into of a large distance between the units.
Motor Speed Controller (IMSC), which several blocks, to reflect the physical This also prevents ground shifts due to
was originally published in the January layout of the system. the long wiring affecting the accuracy
and February 2019 issues of PE. The large block at centre right repre- of the control signals.
In addition to providing speed/ sents the Micromite Plus Explore 100 CON3 connects the Explore 100
direction functions, why not provide unit, with LCD touchscreen. This is control box to the relay box, which is
extra features such as a speed read-out, housed in a large Jiffy box, along with wired between the outputs of the IMSC
touch-screen control interface and so a few passive components, an opto- (shown at left) and the induction mo-
on? That’s all doable by building an Ex- coupler and four transistors. tor itself (at bottom right). The relay
plore 100 with the 5-inch touchscreen These components interface the box switches the two windings of the
and then programming it to control Explore 100 to the rest of the circuitry motor to control start-up and direction
the IMSC. required to control the induction motor. of rotation.
You can see from the screen grabs Those connections are made via two The three high-current mains relays
in this article that the Lathe Controller Cat5 cables, which are plugged into 8-pin are driven by NPN transistors Q1-Q3
interface is quite simple to use and saves RJ-45 sockets CON2 and CON3 (note that within the control box, via the 6-wire
you quite a bit of time and effort since CON3 only uses six of the eight available cable, and each relay has a coil back-
all you need to do is specify the material wires). Pins 1-2, 3-4, 5-6 and 7-8 are con- EMF quenching diode.
type and diameter and it will automati- nected to the twisted pairs within the When RLY2 switches on, it energises
cally select a suitable motor RPM. You cable (but note that not all Cat5/6 cables the motor start winding. When RLY1
can then adjust this further if necessary. are wired like this). is switched on, it reverses the polarity
Once you have selected the material The connections made over Cat5 use of this winding, so the motor will start
type and/or spindle speed, you can current loops and, in the case of the spinning in the opposite direction. As
then control the motor direction and motor speed control signal, 4kHz pulse- its name suggests, the start winding is
Screen1: the setup screen appears when the Lathe Screen2: once setup is complete, it switches to this screen
Controller is first powered on and allows you to set either where you can start, stop and reverse the motor, monitor
the material type and diameter, or the chuck RPM. chuck speed and tweak it if necessary.
current is set by a 470Ω resistor between normally held high by a 270Ω resistor So these LEDs light up to indicate
this LED cathode and ground. When and this signal is fed to pin 13 of the whether the motor start or run winding
pin 7 goes high, OPTO3 switches on, Explore 100 I/O (‘Up To Speed’) so that is energised, and to show which direc-
pulling RUN low. it can be sensed by the Micromite. tion the motor is running.
The OUT terminal on CON6 of the The rest of the circuitry comprises the
IMSC is pulled low by the speed con- Remaining circuitry mains power supply and motor wiring.
troller when the motor is up to speed. Earlier, we described how RLY1-RLY3 The 230VAC input plug earth connects
This is fed through the IMSC Interface are used to start the motor spinning in to the earth terminals on the IMSC and
to arrive at pin 2 of OPTO1, the cathode either direction and then to allow it to the motor housing. Live and neutral pass
of its internal emitter LED. The LED continue to run. The coils of the three through a double-pole power switch
anode is connected to the 3.3V supply relays are driven by NPN transistors Q1- and then onto the input terminals of
rail of the IMSC via a pi filter consisting Q3, which are in turn controlled from the IMSC and two plugpacks. The 12V
of a 100nF capacitor, a 10nF capacitor I/O pins 21, 23 and 25 on the Explore plugpack powers the relays, while the
and a 110Ω resistor, which also acts as 100. Each has a 1kΩ base current limit- 5V plugpack powers the Explore 100.
a current limiter. ing resistor and a back-EMF quenching The rest of the circuitry draws power
Thus, when the motor is up to speed diode connected across the relay coil. either from the regulated supply rails
and OUT is low, 30mA will flow through Indicator LEDs1-3 are connected in within the Explore 100 or the IMSC.
this circuit, switching on OPTO1 and parallel with the relay coils, each with The three IMSC outputs are wired up
pulling its output pin 4 low. This is their own 560Ω current-limiting resistor. to the terminals of relays RLY1-RLY3
and in some cases, directly to the mo- The set-up screen is shown in This is an excellent proxy for the
tor terminals. Screen1. It provides auto and manual spindle RPM, as verified with a tempo-
See the panel elsewhere in this article RPM control modes. In auto mode, the rary Hall Effect pickup on the tool post
describing how the motor connections user selects material and diameter and and a magnet on the chuck. The material
are made. As mentioned earlier, two of the controller does the rest. If manual and diameter selections are repeated on
the three motor drive outputs (U and mode is selected, the user sets the speed the Operation page.
W) are also connected to the Output regardless of material and diameter. The three square ‘radio’ buttons in the
Frequency Sense circuitry. Once the selection has been made, the lower right corner tell the software which
operation page is displayed, as shown of the three motor belt pulley positions
Software operation in Screen2. is in use, as this affects the maximum
The main goal of this project was to have FORWARD, REVERSE and OFF are and minimum RPM values. The lower
a supervisory control for the lathe, into self-explanatory. The spinbox ‘Tweak speed pulleys are used only if additional
which could be entered the material type RPM on-the-fly’ allows the user to torque is required at low speed. (A ‘radio
and diameter to be turned. The software switch to manual mode and adjust button’ is like a checkbox,– except only
would then set the required speed and the motor speed. Target RPM is the one in a group can be selected at any
would control the lathe to maintain that speed we want, while Actual RPM is given time.)
speed, making the turning process much the inferred motor speed, based on To ensure the software is responsive,
simpler. The Explore 100 with 5-inch the frequency measured at the motor almost all events are handled in inter-
touchscreen provides the ideal platform. controller output. rupt routines, including the touchscreen
and you can then issue the ‘OPTION It’s best do this initially with nothing The operation of the software was
AUTORUN ON’ command, followed by in the lathe so you can verify it’s working explained earlier, although it’s pretty
‘RUN’ and the graphical user interface correctly without risking any damage. much self-explanatory anyway.
(GUI) should appear on the LCD screen.
You can verify that this appears to
be working before disconnecting your
PC and you are then ready to power the
whole rig up and test it out properly.
Free-to-enter competition
B
ecause of the way this speaker is designed, While you can use just about any two 12-inch (30cm)
it can be folded flat for easy transport and can be drivers, we are recommending Celestion units in this project
built by anyone with only rudimentary carpentry for several reasons.
skills and tools. One, they are good quality. Two, they are designed to pro-
You can easily build it in a day, with a perfect finish vide a tone to suit an electric guitar. And three, there are 22
and a professional appearance. You can even choose from different drivers in the series to choose from, each with their
a range of colours to suit your style or band! own unique sound profiles, power levels and efficiencies.
This includes four from Celestion’s Heritage series, three
Choice of drivers from the Alnico series, one from the Signature series (the
One of the great things about this design, besides the ad- Eddie Van Halen), 14 from the Classic Series and two from
vantages laid out above, is that you can choose from a range the Originals series. You can see a list of suitable drivers
of drivers which have their own unique sound. at: [Link]
And because it’s a twin-driver rig, you can use two dif- For many of the drivers, audio samples of guitar play-
ferent ones (as we have done), giving you the option of ing are provided, allowing you to get an idea of what it
three different tones: upper driver only, lower driver only sounds like before purchase. Note that this list includes
or both together. some drivers which are not suitable; ie, those which are
The drivers we are recommending come from a series not 12 inches (305mm) in diameter or those which are not
with a long history. They have been used by some people available with a 15Ω or 16Ω nominal impedance.
you may have heard of, including Angus Young, Jimi Hen- The maximum power level of the suitable Celestion drivers
drix, Slash, Eric May, Brian Gibbons and Eddie Van Halen. ranges from 15W to 100W. Our unit uses the G12M Greenback
Fig.1: the distortion level is not particularly low, but Fig.2: the usable frequency response is from 80Hz to about
sometimes that’s what a guitar player actually wants! 8kHz – more than enough for guitar and even PA use.
Fig.4: cutting diagram for both the front and rear of the dipole speaker panels, which are joined at the top with butt
hinges to form an A-frame. We used kitchen door panels, but chipboard or MDF would be fine.
Construction
The assembly process is straightforward and assuming you
have the right tools on hand, you should be able to go from
an assortment of parts to a finished speaker in a few hours.
You need to make two circular cut-outs in the front panel
and one large rounded-rectangle shape cut-out in the rear
panel. The details are shown in Fig.4. Start by marking the
283mm driver cut-outs in the front panel using a compass,
then carefully cut out the circles using a jigsaw.
Note that if you are using kitchen cabinets or similar
coated timber then you should cut them from the reverse
side using a good quality, fine tooth jigsaw blade (prefer-
ably a new one!).
Use a similar process to cut the large hole on the rear
panel. You can mark the two circles in the same manner,
then join them using a long straight edge before making
the cutout.
Lay the two panels end-to-end and mark out the drill-
ing locations for the hinge attachment screws. Drill small
pilot holes (again using masking tape to protect the front
finish), then attach the hinges to both panels using 15mm
countersunk wood screws and check that the two boards
fold correctly. They should fold flat against each other.
The next step is to attach the drivers. This is easiest to
do if you fold the assembly together and support it hori-
zontally between two stable benches or other supports.
Drop the drivers into the holes and rotate them so that the
View through the rear panel, showing the two speaker labels on the back will be right-side-up, then mark out the
drivers and input box secured to the front panel. (Its mounting holes.
position is not important – just make sure the rear panel Remove the drivers and drill these with a pilot drill bit,
cutout is large enough to accommodate it when closed). You then reinstate the drivers and attach them with 10mm coun-
can also just see the cord which stops the front and back
tersunk wood screws through the front of each surround
panels opening too far. (Yeah, we know – we could have
made the rear panel cutout a bit straighter...) and into the front panel timber.
Now place the grilles on top of the driver surrounds,
arrange the supplied mounting brackets around the edge
If you plug into CON1, the tip connection is wired directly (equally spaced), as shown in our photos, and mark the
to the positive terminal of SPEAKER1 so signal flows to that required hole positions for these brackets. Then remove
driver. The NC terminal of that socket’s switch at pin 7 is the brackets and drill pilot holes in those locations. Fix
no longer connected to pin 6 so the signal does not flow to the brackets to the front panel using 20mm wood screws,
the other driver. ensuring that the grilles are held firmly in place.
You can now attach the handle
to the top edge of the front panel,
again by drilling pilot holes and
then attach it with 40mm wood
screws. Now is also a good time
to stick the adhesive felt strips on
the bottom of both panels, one at
each end and one in the middle.
Next, drill a couple of pilot holes
at corresponding points on the in-
side of the front and rear panels, so
that you can screw in the cup hooks
and then tie the cloth strap or cord
between them, to limit how far the
assembly will open. This prevents
it from falling over when in use.
Fig. 8: we show this more for interest sake than anything else – it’s the frequencies of Adjust the length of the strap until
each note when either a rhythm or bass guitar is tuned correctly, The dipole speaker you are happy with the angle that
as described here will handle notes down to about 80Hz. the panels sit at when opened up.
With the label in place, attach the sockets using the sup-
plied nuts and solder short lengths of heavy-duty hookup wire
between the sockets – see Fig.6. This makes the connections
as shown in the circuit diagram, Fig.5. Note that several amps
can flow through this wiring if you’re driving the speaker
hard, hence our recommendation to use heavy-duty wire.
You can use the same wire, twisted together, to connect to
the drivers. That’s how the prototype was built. Or you could
use figure-8 speaker wire, which would be a little neater. Sol-
der the four speaker wires to the socket terminals as shown
in Fig.6, then drill a small hole in the side of the Jiffy box and
feed the speaker wires out through this hole, then solder them
to the tabs on the drivers.
Make sure that the wires for SPEAKER1 go to the top driver
and the wires for SPEAKER2 go to the bottom driver and don’t
get the positive and negative wires mixed up or you will get
sound cancellation when using both speakers at the same time.
Next, drill a couple of holes in the Jiffy box base and two
corresponding pilot holes in the back side of the front panel.
You can then feed a couple of short wood screws through the
inside of the Jiffy box and into the holes on the panel, then
screw the lid onto the box and the whole assembly should be
firmly attached to the speaker. Refer to the photo opposite to
figure out the best location for mounting this box.
When you’ve finished your gig, simply unplug the amplifer, That’s it – your speaker is finished. Now all you have to do
fold the two halves together and carry the speaker away. is connect a lead from your guitar amplifier’s external output
This photo shows why a large cutout is required on the rear socket to one of the three input sockets on the Jiffy box and
panel (to enable you to fold the front and back flat). you’re ready to jam!
Arduino FC Shield
T
his shield, plus an Arduino the carrier, with the modulated signal Three different data exchange rates
module, could be used as the picked up by the active device. are in current use by NFC devices:
basis for a number of useful de- RFID technology was developed 106kb/s, 212kb/s and 424kb/s. If an
vices – for example, to unlock a door in 1983 by Charles Walton. Sony and active device transfers data at 106kb/s,
using an access card, to monitor the Philips agreed to establish a compat- it uses modified Miller coding with
passage of stock or other items on a ible specification and this was ap- 100% modulation. Miller coding is a
conveyor belt, to transmit business proved as an ISO/IEC standard in 2000 type of Modified Frequency Modula-
card information to customers’ smart- (ISO/IEC 14443). The passive tags and tion known as ‘delay encoding’. This
phones, and so on. But before we ex- cards used for RFID typically store be- is similar to NRZ (non-return-to-zero)
plain how it works, we’ll explain how tween 96 and 8192 bytes of data, which encoding, but with less power radiated
RFID and NFC work. can be read (and in some cases, writ- at lower frequencies.
NFC, or Near-Field Communication, ten) using the RFID protocol. For the higher data rates, Manches-
is a set of protocols that enable two Nokia, Philips and Sony estab- ter coding is used, with a modulation
electronic devices to exchange data lished the NFC Forum in 2004. It is a ratio of 10%. Manchester encoding is
by bringing them within about 40mm non-profit industry association which another method of turning a bitstream
of each other. promotes the implementation and into a symmetrical AC signal and is
Communication is by electromag- standardisation of NFC technology also used for transmitting digital audio
netic induction; ie, coupling signals to ensure interoperability between data (S/PDIF).
between loop antennas in each device. devices and services.
In effect, when the two antennas are NFC provides the same functions as Elecrow’s NFC shield
brought within 40mm of each other RFID but also allows for communica- The Elecrow ACS53201S NFC shield
they form an air-cored RF transformer. tions when both devices are powered. measures 69 x 53mm (including the
NFC involves low-power RF signals In this case, power is not transferred loop antenna) and it plugs directly
with a carrier frequency of 13.56MHz, using the carrier and the two devices into an Arduino Uno or Mega 2560,
in one of the globally available and can exchange data in an ad-hoc peer- or one of the many compatible mod-
unlicensed ISM (industrial, scientific to-peer fashion. ules. It derives its power from the
and medical) bands. The standard defining NFC is ISO/ Arduino and even comes with a pas-
One of the devices involved in IEC 18092. This technology is now sive keyring NFC tag for testing (see
NFC communication can be passive, found in all manner of smartphones lead photo).
ie, with no onboard power source. and other portable devices. At the heart of the shield is the
This is typically the case with RFID Sony’s FeliCa RFID system includes NXP/Philips PN532 NFC controller
(radio-frequency identification) tags dynamic encryption for increased se- IC. The internals of this IC are sum-
and smart cards. curity. It was considered as part of the marised in the simplified block dia-
In this situation, the device that is ISO/IEC 14443 RFID standard, but in gram (Fig.1). It’s based around an NXP
powered powers the circuitry in the the end was not included. However, 80C51 microcontroller (upper right),
passive device via the energy of the some of the principles used by FeliCa which includes 1KB of RAM (work-
13.56MHz RF carrier. The passive ended up being used as part of the later ing memory) and 40KB of ROM (for
device then ‘replies’ by modulating NFC standard. storing the firmware).
Arduino software
Luckily, Elecrow has made the soft-
ware side of things quite easy by
making available an Arduino library
written specifically for communicat-
ing with the PN532 via the SPI port.
The library can be downloaded from
the Elecrow website in a zip file called
PN532_SPI.zip (see Links panel).
This can be made available for
use in the Arduino IDE by clicking
on the Sketch menu and then on the
Include Library → Add .ZIP Library
menu option. Select the ZIP file that
Fig.1: simplified block diagram for the PN532 controller IC. The chip is based you have downloaded and it will
around four sections: an NXP 80C51 micro (an old design!), NFC communications be added to the IDE’s library list.
block, serial block and power/clock/reset controller.
The library comes with six example
sketches, named:
The other main sections are the con- Arduino’s 5V supply via REG1, an
writeMifareMemory
tactless interface unit or CIU (at lower MIC5205-3.3 LDO (low dropout) reg-
readMifareTargetID
right) which handles the actual NFC ulator. This is separate from the 3.3V
readMifareMemory
communication, and the host interface rail from the Arduino because IC1 can
readAllMemoryBlocks
section at lower left, which handles draw up to 200mA when transmitting,
PtoPTarget
communication with the host com- which could overload the regulator on
PtoPInitiator
puter or controller (in this case, the the Arduino.
Atmel micro on the Arduino board). This means that level translation ‘Mifare’ is another way of referring
The host interface section can be is necessary on the SPI signal lines to passive NFC tags and cards. The
configured to communicate via SPI (se- between IC1 and the Arduino. That’s ‘PtoP’ part of the last two sketch ti-
rial peripheral interface), I2C (inter-IC provided by IC2, a 74LV4T125 quad tles is short for ‘peer to peer’ and in-
serial communication) or a high-speed buffer translator. Three of IC2’s buffers dicates that these sketches are used
UART (HSU; ie, serial) connection. But are used to translate the logic levels of for NFC communication between two
note that the PN532 chip used in the the MOSI, SCK and MISO signal lines, active devices.
Elecrow NFC shield has been config- with the fourth buffer unused. IC2 is I tried opening and running the first
ured for SPI only. also powered from the +3.3V supply four of these example sketches with
Fig.2 shows the full circuit of the from REG1. the Elecrow NFC shield connected
Elecrow NFC shield, plus a block dia- The only other components on the to both an Arduino Uno and a Mega
gram of an Arduino host at upper left. board are a number of bypass and filter 2560. In each case, I tested it with both
The PN532 device (IC1) connects to the keyring tag that came with the
the NFC loop antenna at top right via shield and also with an
the TX1, TX2 and RX pins and a net- NFC card that came
work of passive components. These with another NFC/
include inductors L1, L2, various RFID reader.
capacitors and a few resistors. These
are used for impedance matching,
to make the antenna resonant at the
required frequency and to filter out
unwanted signals.
IC1 uses a 27.12MHz crystal (X1)
to generate its internal master clock
and divides this by a factor of two to
produce the NFC carrier frequency of
13.56MHz.
Although IC1 can operate from sup-
ply voltages of 2.7-5.5V, in the Elecrow
shield it is powered from a 3.3V regu- Fig.2: The NFC shield easily
lated supply. This is derived from the slots into an Arduino Mega or Uno.
Each time it worked exactly as ex- You can get an idea of how the Serial Monitor. Screen 1 shows the
pected and I was able to read data from example sketches work from the output when reading the card first
and write data to both passive devices screen grabs shown above. Both and then the keyring tab, using the
with no problems. grabs are of the Arduino IDE’s readMifareMemory sketch.
Extra links
NFC Forum: [Link]
PN532 data sheet: [Link]
PN532 user manual: [Link]
How to use the PN532: [Link]
Elecrow shield library: [Link]
T
his new Super Digital Sound We highly recommend that you have temperature of your soldering iron a
Effects Module (SDSEM) is tiny a magnifying lamp on hand, some little lower than you would for solder-
and not particularly complex. precision tweezers and a temperature- ing larger, through-hole components.
But, it is very flexible and capable, controlled soldering iron (ideally with Fig.3 shows the position of all the
thanks to its smart software. at least one fine and one medium tip). components on the top of the board,
We described the circuit and some of You will also want some good quality but note that you should fit only one
the software features last month. How- flux paste and desoldering braid in of LK1 or LK2, not both. There are a
ever, even since then, we’ve made some addition to your usual tools. few components on the bottom side
refinements – see the panel opposite. As shown in the parts list pub- and their locations are shown in Fig.4.
Now let’s get into assembling the lished last month, most of the passive You should fit these last, otherwise the
module. We’ll also describe how components are in 2012 (metric) or board will not sit flat on your bench.
to test it, configure the software 0805 (imperial) packages which have If you are planning to use a 5.5-18V
and put it to use. a 2.0 x 1.2mm footprint. These are DC supply, you can leave off some
slightly smaller than components in components, as shown in Fig.5. For a
Board design 3216/1206 packages, which are also 3V DC supply only, fit the components
We’ve made the SDSEM very compact quite common. shown in Fig.6.
so that it can fit just about anywhere. We find they are not really any more Note though that if you need to be
We’ve also given it flexible supply difficult to solder, while saving quite able to change the supply arrange-
options. And while it is tiny, we’ve a bit of space on the board. So they ment later, it will be easier to fit all
avoided using any parts which make are the obvious choice for this project. the components now, except for one
assembly too difficult. Because many of the components of LK1/LK2 (as shown in Fig.3). The
The most difficult compromise (especially the capacitors) don’t have kit of parts that we supply comes with
we’ve had to make is with the micro. any visible markings, it pays to work all these parts; the only real advantage
We needed one with more than 20 pins with one value at a time. of leaving some off is that you save a
to provide all the required functions, bit of time – see below.
as well as enough computing power Construction
for all the input/output tasks while While today’s PCBs are of a very high Fine-pitch ICs first
mixing digital audio data in real time. standard, it is always a good idea to Start by soldering IC1 first since it has
Since we also wanted a very low check for shorted or broken tracks the closest pin spacings. It comes in
standby power consumption, that left before fitting any components. Check an SSOP-28 package, which has pin 1
us with few options. carefully where IC1 will sit, as this is marked by a small circular dot on the
That meant the only suitable pack- where the finest pitch pins are located. top surface. With the microSD card
age for microcontroller IC1 was the 28- Having said that, the chances of find- slot to the left, pin 1 goes to the bottom
pin Small Shrink Outline SMD pack- ing a problem on the boards we supply right and this is indicated by a white
age (SSOP). But don’t let the closely is very low. dot on the PCB.
spaced pins put you off, because with As we go through the assembly, Apply some flux to the pads on the
the right tools it is not difficult to we’ll mention component orientations PCB and place IC1 in position as closely
solder. Most of the other components with respect to the board having the as possible. Hold it in place by gently
have much larger pins, so once you’ve microSD card socket on the left, as
fitted IC1 to the board you should find shown in the main overlay diagram, Components – a kit of parts is available
the rest of the construction process Fig.3. Since most of the components for this project. For full details, just visit:
quite straightforward. are small, we suggest that you set the [Link]/Shop/20/4658
either by itself or as part of a kit, it You will need the HEX file which supply that you intend using to run
will have already been programmed can be downloaded from the August the board later, or you can set up the
so you can skip to the Testing section 2019 page on the PE website as part of PICkit to supply power to the chip.
below. If we do release an updated the software package for this project. To do this, switch the IPE software
version of the firmware later, you You will also need a recent version into Advanced Mode via the Settings
could use these instructions to load of Microchip MPLAB X installed on menu, ‘log on’ using the default pass-
it into your PIC to take advantage of your system. It is a free download; you word, click the Power button at left,
any improvements. can get it from [Link]/ enable the ‘Power Target Circuit From
It’s easiest to program the micro mplab/mplab-x-ide Tool’ checkbox (see Screen2). Having
once it has already been soldered to the It includes an integrated develop- done that, click the ‘Operate’ button
board. You will need an in-circuit se- ment environment (IDE) and an in- at left to return to the original screen.
rial programmer (ICSP) like the PICkit tegrated programming environment You can now program the chip by
3 or new PICkit 4 (see the review in (IPE). For this task, it is easiest to pressing the ‘Program’ button. Check
this issue). use the IPE, so when installation is the output window below to make
Take a standard 5-pin header and complete, launch that and select your sure that programming is successful
push the short end into the staggered programmer and set the IC type to (see Screen3 below).
holes for CON3. It should be a rela- PIC32MM0256GPM028 (see Screen1). If you get an error message, check
tively tight fit and the header won’t Next, click the Browse button to the that there is a good electrical connec-
immediately fall off the board. You right of the Source: field and select the tion between the programmer, header
don’t need to solder the header as fric- HEX file that you downloaded earlier. and board, and that pin 1 is in the
tion will make good enough electrical Plug your programmer into CON3 on correct position. Check also that the
contact to enable programming. How- the board, ensuring that its pin 1 lines board is receiving power as expected.
ever, try to avoid wiggling the header up with the pin 1 marker on the board. Once the chip has been programmed,
or applying force as it will eventually You need to apply power to the PIC the board is ready for testing.
become loose and will no longer have so that you can program it. You can
good electrical contact. either do this by connecting the power Testing
You will need a power supply that can
deliver up to 250mA in short bursts.
Refer to Fig.5 and Fig.6 for an over-
view of where power can be supplied
to the PCB.
If you have built the board for the 3V
supply option (by fitting REG1) then a
battery holder with two AAA cells is
a good option. During development,
we tested using the 3.3V supply from
an Arduino board, two AAA cells and
both a PICkit 3 and PICkit 4 to sup-
ply power. All four options provided
sufficient current for the SDSEM to
operate adequately.
You may have noticed the footprint
for a button cell holder on the back of
the PCB. We originally intended this
unit to be able to be powered from a
Fig.7: this is one way to drive the SDSEM from an Arduino Uno. The red wire lithium button cell, but the cells we
provides 3V power from the Uno (the black wire is the ground connection). tested could not provide enough cur-
The seven schottky diodes protect the 3V inputs on the SDSEM from the 5V rent. Hence, our recommendation that
outputs of the Arduino. you use AA or AAA cells.
commas (,). For example, one line may Example of a typical configuration file
look like this:
MASTERVOLUME=128
switch1=loop,256,[Link] LOGIC=LOW
STANDBY=120
Note that file names cannot contain an SWITCH1=ASR,64,256,112,384,[Link],[Link],DIESEL3.
equals sign or a comma as this would WAV
cause problems parsing the configura- SWITCH2=ASR,256,256,256,256,[Link],[Link],[Link]
tion file. Note also that there cannot be SWITCH3=LOOP,256,256,256,256,[Link]
spaces before or after the equals sign SWITCH5=SINGLE,256,256,256,256,[Link]
or commas. SWITCH6=ASR,256,256,256,256,[Link],WHISTLE2
The configuration file is parsed in WAV,[Link]
SW4MODE,ANALOG,1000,3000
a non-case-sensitive manner, ie, it
SPEAKBACK=NONE
doesn’t matter whether names are writ-
ten using lower case letters, upper case
or a mixture.
This is also true of how file names
are handled; like Windows, they are
matched in a case-insensitive manner.
So a file called Train [Link] can be
referred to as train [Link] or TRAIN
[Link] and it will still work.
Refer to the panel listing the con-
figuration parameters overleaf for an
understanding of what each line does.
If you are familiar with programming
or shell scripts, you might be accus-
tomed to placing a hash (#), a double
slash (//) or single quote (’) at the start
of a line to ‘comment it out’ so that it
is ignored.
Any of these characters can be used
in the [Link] file to achieve
that effect.
Reproduced by arrangement with Screen3: once the PICkit is plugged in, the HEX file loaded and power applied,
SILICON CHIP magazine 2019. click Program and if the operation is successful, you will get a similar output to
[Link] that shown here.
A
white noise signal has equal and typically needs to be amplified by An improved white noise source
intensity at all frequencies in a factor of several hundred times to Our design uses a low-cost 8-bit PIC12
the band of interest; for exam- make it usable. microcontroller to produce a 31-bit
ple, 20Hz-20kHz for audio. It’s the Alternatively, white noise can be pseudo-random sequence, which only
hissing sound that you hear if you tune generated digitally with a pseudo- repeats after 231 or approximately
an analogue FM radio to a frequency random number generator. two billion cycles. That works out to
on which there is no transmission. This has the advantage that the nearly eight hours, so the repetition is
There are many reasons why you signal level is already high, it is con- definitely not discernible.
may want a white noise signal. For sistent and it is not dependent on a The basic ‘circuit’ for our white
example, you can use white noise to particular transistor or zener diode’s noise generator is shown in Fig.1. IC1
drown out external noises that may in- characteristics. is a PIC12F617-I/P, which has a 2-5V
terfere with your sleep. If that dripping National Semiconductor used to sell supply fed into pins 1 and 8. A 100nF
tap is keeping you awake, don’t count a digital noise source IC, the MM5837 bypass capacitor is connected directly
sheep; try a low-volume white noise (designed in the 1970s) that used an in- between pins 1 and 8 to ensure that
source with a speaker close to your bed. ternal 17-bit pseudo-random sequence it has a stable operating voltage. The
generator to produce white noise for noise output appears at its GP0 digital
We can attest: it works wonders! audio applications. Supplied in an output (pin 7).
It’s especially effective at helping ba- 8-pin DIL package, it was designed for Pin 4 is the master clear/reset
bies get to sleep since they are used musical instruments, synthesisers and (MCLR) pin. This is held at VDD during
to hearing somewhat similar sounds for room acoustics testing. normal operation by an internal pull-
in the womb. It can also be used to Its main disadvantage was a notice- up current. If it is externally pulled
help treat (or at least mask) tinnitus (a able cyclic repetition. The repetition low, this will hold the microcontroller
persistent ringing sound heard in the was due to the full random sequence in a reset state and so the noise output
ears when there is no sound present). being produced in less than one sec- at pin 7 will cease. When released,
White noise sources can be used to ond and being continuously cycled. the internal pull-up will bring it high
measure the bandwidth or impulse This IC is not available any more, but again, allowing the processor to run
response of a circuit and to check room with modern components, we can make and resuming noise generation.
acoustics or optimise a PA system. an even better digital noise source. You just need the two components,
They are also used in analogue au- the programmed IC and a 100nF by-
dio synthesisers to help produce the pass capacitor, as shown in Fig.1.
‘ssshhhh’ sound of various percussion And it’s dead easy to wire up since
instruments, such as hi-hats, snare only four pins are normally used – the
drums and cymbals. bypass capacitor can be soldered right
next to the IC (even right across pins
Generating white noise 1 and 8 if you wish!). The other four
There are several ways to generate pins (pins 2, 3, 5 and 6) are not used
white noise. For example, if you and should be left disconnected.
reverse-bias a zener diode or transistor
emitter-base junction (ie, the base- Fig.1: the ‘circuit’ could hardly be simpler Pseudo-random
emitter reversed) with a low DC cur- – everything is done in software in the sequence generation
rent level, an AC voltage will appear PIC12F617-I/P. Noise output is taken from Fig.2 shows how the software generates
across it and this will have a white pin 7, while a 100nF capacitor bypasses a pseudo-random sequence generator
noise characteristic. However, the the supply (pins 1 and 8) – pins 2, 3, 5 using three 8-bit shift registers and
resulting AC voltage level is quite low and 6 are not connected. a 7-bit shift register. The bits within
T
his month, we continue with
our look at the different bipolar Common emitter Common collector Common base
transistor circuit configurations In B C Out In B E Out In E C Out
– common emitter, common base and E C B
common collector – inspired by a question
on this topic on the EEWeb forum. In July’s
first article in this series we introduced
the concept of transistor configurations, Fig.1. Concept of transistor configurations. These apply to both NPN and PNP. Actual
the basic operation of the transistor and circuits require additional components.
the equivalent circuit models that are
used to analyse circuits. Then, last month the common-base circuit. In both cases we in a similar way to the common-emitter
(August) we looked in detail at the most need to set the operating point of the tran- amplifier. Choose the operating collector
widely used configuration – the common- sistor by forward biasing the base-emitter current (IC) and voltage at the emitter (VE)
emitter amplifier, also going into more junction with a DC voltage that will cause with no signal; typically, this is in range
depth on bias and the use of models to the no-signal collector current to be set of a tenth to a third of the supply. This
analyse the circuits that are relevant to to the level we require. As with the com- voltage and current set the value for R4
working with all the configurations. This mon-emitter circuit, the base-emitter bias (= VE/IC). The operating current and R3
month, we will look at the common-base voltage for common base can be set using set the no-signal voltage at the collector;
amplifier and also, because it relevant to a potential divider connected across the this is VCC – R3IC. Often, this voltage will
understanding the differences between supplies. Fig.3 shows the biasing circuit be in the range of half to two thirds of
the configurations, we will discuss input for the common-base amplifier, in which the supply. The voltage drop across R3 (=
impedance and the operation of the cir- R1 and R2 form a potential divider set- R3IC) sets the maximum amplitude of the
cuits at high frequency. ting the voltage on the base. output signal (larger output signals will
clip at the supply voltage). The operating
Common base Bias current sets the required value of base-
Looking at the different configurations in Last month, we discussed bias stability emitter bias voltage (VBE) and the values
Fig.1 we see that in both common-emit- and the use of feedback to deal with the of the potential divider resistors R1 and
ter and common-base configurations the high sensitivity of the bias to variations R2 are chosen to provide a voltage of VE
output is from the collector. As with the in transistor characteristics – variations + VBE. The total resistance value should
common-emitter circuit discussed last both between individual devices and be such that the current through the resis-
month, to use this configuration we add with changes in temperature for a given tors is at least ten times the base current.
a resistor between the collector and the transistor. This was achieved by putting
power supply. This provides a route for a resistor between emitter and ground. R4 Capacitors
power to get to the transistor so that it plays the same role in the circuit in Fig.3. For the common-emitter amplifier we
can act as an amplifier, and it converts In fact, the configuration of resistors in bypassed the emitter resistor with a
the varying collector current (transistor this circuit is exactly the same as for the capacitor so that the feedback only
output current signal) into a varying col- common-emitter amplifier, but the circuit
lector voltage. Thus, we get the circuit is drawn with a different layout to empha- VCC
in Fig.2, but exactly as we discussed for sise the use of the emitter as the input.
the common-emitter circuit, this circuit The bias resistors values can be set R1 R3
is not practical because we also need to Out
provide bias. In
VCC
Following on from the discussion on Q1
Simulation files Q1
C3 R2 R4
IE ie
a) E b) E c)
Fig.6. Transistors models: (a) simplified Ebers-Moll (b) small-signal model with re (c)
Fig.4. Common-base amplifier. small-signal model with rbe.
influenced the bias. For the common- Models model for the whole amplifier we need to
base circuit we need to bypass the bias In the previous articles we introduced the include the other component too – as we
resistor connecting the base to ground small-signal models that are often used showed for the common-emitter ampli-
(R2 in Fig.3). Note that in both cases, to analyse transistor circuits. These are fier last month. The bypass resistors can
if you think of the capacitor as a short based on linearising a model that covers be assumed to be effectively short circuits
circuit at relatively high frequencies, the full range of transistor operation at at signal frequencies, so the transistors’
then the bypass capacitor ensures that the operating point set by the bias. Fig.6 common connection is grounded in the
the common terminal of the transis- shows three transistor model circuits models for the circuits in Fig.4 and Fig.5.
tor is connected to ground as far as AC (which were shown in the first article).
signals are concerned – as it is in the The full-range (or large-signal model) is Input resistance
configuration concepts shown in Fig.1. shown in Fig.6a. At a particular operat- From Fig.7, we see that a key difference
The bypass capacitor value should be ing point the diode has a certain effective between the common-base and com-
selected to have low ‘resistance’ (imped- resistance and, as long as the signal does mon-emitter configurations is the input
ance) at the lowest signal frequency the not cause a large change in voltage or resistance (across which the input signal
circuit will be used to amplify. current, we can assume this value is con- vbe is applied), which is re and rbe respec-
As with the common-emitter circuit, stant. Replacing the diode with a resistor tively. In the first article we noted that
the input signal to the common-base am- leads to the small-signal model shown in the relationship between these values
plifier is applied via a coupling capacitor Fig.6b. Fig.6c shows an alternative ver- was rbe = (1 + β)re. Thus, given that β is
so that any DC component of the input sion of the small-signal model, in which typically 100 or more for transistors used
signal does not disrupt the bias. Simi- the resistance between base and emitter in small-signal amplifiers, we conclude
larly, the output is commonly connected is arranged differently. that the input resistance of the transistor
via another coupling capacitor. Using The models in Fig.6b and Fig.6c are in common base is much smaller (by a
the bypass capacitor discussed in the electrically the same from outside of the factor of β) than that for common emitter.
previous paragraph, and the coupling transistor, but each is suited to differ- The value or re is approximately 25/
capacitors added to the circuit in Fig.3, ent contexts. Fig.6c, which we used last IE at room temperature, with IE in mA. In
we arrive at a practical implementation month, fits naturally with common-emitter the circuit in Fig.4, R4 is in parallel with
of the common-base amplifier, as shown circuits – the input is across the base-emit- re, but since re is likely to be smaller than
in Fig.4. C1 and C2 are the coupling ca- ter resistor (rbe) and the output current R4, re it will dominate the input resistance.
pacitors and C3 is the bypass capacitor. source is from collector to emitter. Thus, With an operating current of 1mA the input
Fig.5 shows the common-emitter ampli- the emitter is the common connection in resistance of the circuit in Fig.4 is around
fier (with which people are generally the model. Similarly, the model in Fig.6b 25Ω. This situation sounds bad – often we
more familiar) for comparison. fits with the common-base configuration want a large input resistance for a voltage
– the input is across the emitter resistor amplifier, but, as we will see later, one ad-
(re) and the output current source is from vantage of the common-base circuit is its
VCC collector to base. potential for providing wide bandwidth.
Fig.7 shows the two small-signal models High-frequency signals are often connect-
R1 R3 from Fig.6 redrawn in the conventional ed via cables with impedances in the tens
C2
layout, which more clearly shows the of ohms (eg, 50Ω and 75Ω) which need to
C1 Out
In base and emitter as the common connec- be matched to a circuit’s input impedance
Q1 tions. Note that if we draw a small-signal to prevent reflections. The common-base
ie ic ib ic
R2 C3 R4 E C B C
gmvbe gmvbe
vbe re or vcb vbe rbe or vce
αie βib
B B E E
Fig.5. Common-emitter amplifier for a) b)
comparison with the circuit in Fig.4. The
differences are the input connection and Fig.7. Small-signal models drawn with conventional layout (a) common-base
the location of the bypass capacitor C3. configuration (b) common-emitter configuration.
Cbc
rs
E C
B C
B B
E E
Signal source Amplifier
Fig.13. Generic connection of a signal Fig.14. High-frequency small-signal Fig.15. High-frequency small-signal
source to an amplifier input. model for a common-emitter amplifier. model for a common-base amplifier.
L R
I
t has long been a British au- the BBC does less technical research – hence the ‘A’.
dio tradition to design small but and is content to use consumer tech- An unusual aspect of the LS3/5A is
accurate Hi-Fi speakers, known as nology such as Skype and commer- that since the BBC was not interested in
‘mini-monitors’. The concept originat- cial speakers.) manufacturing speakers, from 1975 they
ed in the BBC, where they undertook Unlike most consumer electronics, licensed production to a small number
world-leading research and develop- loudspeakers have remained rather of British companies. A modern incarna-
ment in speaker systems in the 1960 expensive and may even have gone back- tion of the original LS3/5As from Rogers
and 1970s. This led to the develop- wards in some areas of sound quality. is shown in Fig.1, while Fig.2a and
ment of a two-way small speaker to I don’t know what has happened, but Fig.2b show 1960s adverts for older mi-
be used in outside broadcast vans and it’s almost as if good speakers are now ni-monitors, the Maxim from Goodmans
Fig.2. 1960s adverts showing the first successful British mini-monitor speakers: (left) Goodmans Maxim, (right) the Celestion’s Ditton 10.
System synergy whole. As well as the drivers, there is If you want to make your own de-
The principles of mini-monitor design the cabinet and a special circuit called sign using alternative drive units, you
are embodied in the options listed in a crossover, which directs the right fre- will need to invest in some frequency
the PE Mini-monitor box above, which quency ranges to each driver. Just as in response measuring software or use an
are inspired by the original LS3/5A. a well-tuned car, all these parts need to old analogue plotter, such as the Neu-
A passive speaker system is a col- be optimised to work together. There is trix Audiograph (Fig.4) in an anechoic
lection of parts and subsystems that no point mounting a £100 bass driver room (in my case, a loft lined with mat-
interact and combine to create a coherent in a shoe box. tresses) shown in Fig.5.
Fig.4. To plot the frequency response of a speaker you need at least a signal generator and dB-reading multimeter. (Left) I use a Neutrik
Audiograph 3300 from 1981; (right) the Neutrik and a constant-current generator used to measure an impedance curve.
Crossovers
Fig.5. To minimise room reflections when taking frequency response measurements it’s To make a two-way system work effec-
necessary to line the walls with acoustic absorbent material. Shown here in my attic, tively electrical filters are required to
mattresses help provide almost anechoic conditions above a few hundred hertz. The steer signal frequencies to the correct
photo shows a Meridian M2 active system being tested. speaker. The simplest system is a capac-
First, we need to cover some speaker corresponding wavelengths from 17m itor in series with the tweeter, typically
basics and terminology. Loudspeaker to 17mm. Compare this with the spec- 2.2µF to produce a 5kHz high-pass fil-
design and construction is multidisci- trum of visible light, which has a ratio ter when used with an 8Ω tweeter. This
plinary; covering acoustics, mechanics, of just 1.8 to 1. prevents low-frequency currents from
materials science, adhesives technology, This complicates the physical require- destroying the tweeter’s small low-mass
magnetics and even woodwork. For pas- ments for optimum sound propagation voice-coil and diaphragm. (Note that in
sive designs, electronics is a small part because very different considerations music there is much more low-frequency
of what is essentially an electro-acoustic need to be observed at opposite ends energy than high. This is why the tweet-
system. It is still very much craft based of the audio spectrum. For adequate er voice coil can have a thermal rating
and can offer real hands-on building sat- low-frequency reproduction a speak- of only a few watts, even if it is used in
isfaction. (I’ve found speaker building is er needs to have a large surface area of a system powered by a 50W amplifier.)
an excellent way of teaching technology at least 70cm² (10 square inches) and For the bass, the low-pass filter can
to disaffected young men!) be able to move back and forth about simply be the mechanical roll-off of
12.5mm (half an inch). If it has a larger the woofer – in other words, for a very
Frequency range, woofers area, it doesn’t have to move so much – it simple crossover the woofer has no
and tweeters is the total air displacement that matters. electrical components. This system can
Audio is unusual among physics-based For high frequencies, it is the moving work surprisingly well, such as in the
technologies in that it covers three mass that is important, since the dia- Acoustic Research AR7. However, for
decades of frequency range, a 1000 phragm has to move fast with no inertia. good quality crossovers, a tweeter ca-
to 1 ratio – from 20Hz to 20kHz, with A small area of about 2cm² is adequate, pacitor is not enough, and the bass unit
benefits from a filter. This is because
the woofer’s mechanical high frequen-
cy roll-off is poorly defined. It can vary
widely between individual drive units
and may often increase with level. For
effective filtering, at the minimum, a
series inductor is needed. Additional
reactive components are also needed
to achieve steeper slope filtering and
for tuned circuits to remove peaks. In-
ductors have to be used because an RC
low-pass filter would have unacceptable
losses due to the series resistance. An
inductor has a low impedance at bass fre-
quencies allowing them through, while
its rising reactance at high frequencies
blocks high-frequency signals without
any power/heat losses.
Unfortunately, the inductor is the least
‘perfect’ passive component; having sig-
Fig.6. The raw frequency response of the B110A bass unit used in the LS3/5A in its nificant DC resistance, distortion (due to
cabinet. This needs considerable correction by the crossover filter before it can be used. hysteresis and vibration), cost and large
This old BBC curve from Malcolm Jones shows the acceptable frequency response physical size. These deficiencies are
variation between units. Note that loudspeaker frequency response curves always have typically an order of magnitude worse
log axes, with the vertical axis expressing level in decibels (dB) and frequency along than capacitors. However, in a passive
the horizontal X axis. Unfortunately the BBC based their design on a particularly good crossover we have no choice but to use
sample, giving KEF mass-production problems when orders arrived. inductors. (Active filters avoid the need
Fig.7 Fig.11. 2.75kHz Fig.12. 4.25kHz circular break-up mode Fig.13. 6.6kHz
not convinced they are successful yet. the EQ has to take stored energy into ac- frequency, bass reproduction falls away
I have a piece of software which sim- count. Many speaker designs just put a rapidly. A good demo of this effect is to
ulates the response of a Celestion G12 bigger dip than theoretically necessary place a plastic container, such as a Tup-
guitar speaker, but it is oversimplified. in the frequency response around the perware bowl, upside down in water and
It’s akin to basic vibration patterns on area of mid-range break-up modes until tap it. It will resonate a bit like a bass
violin bodies, and explains why there it ‘sounds’ realistic. Being able to quickly drum. The frequency will go higher the
is no Stradivarius app for the iPhone. record and playback snippets of sounds less air is trapped underneath. Try this
The cone shape is also important. A on a computer is very useful for this ‘live next time you are doing the washing up.
curved cone is used in most Hi-Fi bass- vs reproduced’ testing technique.
mid units because although the cone Sealed box
breaks up at a lower frequency, the Cabinet A speaker in a closed box exhibits a
modes are less severe. Also, the radiat- The loudspeaker cabinet is a vital part high-pass filter response with a roll-
ing area of the cone gets smaller as the of the design (and probably the part that off of 12db/octave, as shown in Fig.15.
frequency increases, extending the high is least understood and most feared by Ideally there should be no peak at the
frequency response and widening the electronics enthusiasts). It is not just a roll-off point, causing boom, nor should
dispersion. Straight-sided cones are bet- box to hold the drivers, it also has a vi- it start to roll off too early, giving bass
ter for bass-only units as they are stiffer tal acoustic function of providing bass loss. These effects are determined by the
and can handle more force at the apex. loading. A speaker cannot radiate bass total damping, or ‘Q’ of the system. Q,
When compensating for these effects, or long wavelengths unless some means or ‘quality’ is a measure of how tightly
equalisation (EQ) can only reduce the ex- is provided to prevent the out-of-phase defined the system resonates. A high Q
citation of the resonant modes. Once they sound from the rear of the diaphragm means resonance falls off very sharply
have been kicked off, they can continue cancelling the sound at the front. In either side of the resonant frequency. A
to ring for a while after the signal has most small speakers this is achieved low Q means the opposite, and resonant
ceased. This is called ‘delayed resonance’ by mounting the bass unit in a sealed effects are apparent for a much wider
and can be displayed on a ‘waterfall box. This prevents phase cancellation, range of frequencies. The speaker’s over-
graph’, as shown in Fig.14. They can but it has a defect: the air cushion of the all Q is determined by several factors,
sometimes be heard 30dB down. There trapped air makes the cone suspension the electromagnetic Q of the driver, the
is not much point in just equalising the stiffer. This has the effect of raising the mechanical Q of the drivers suspension
speaker to be flat. To make it sound flat, resonant frequency. Below the resonant and the amount the ‘air spring’ push-
es up the resonance. If the system is
slightly over damped with say a Q of
0.5, bass boost from a normal Baxan-
dall bass control will fix it. Such bass
boost can’t be applied if the Q is high
(much over 0.5). The optimum value
giving the flattest response is the same
as a Butterworth filter, with a Q of 0.7.
Reflections
Another aspect of cabinet design is the
reflections and standing waves that oc-
Fig.15. Ideal second-order roll-off obtained using closed-box loading. For a Q of 0.707, cur within the box. Just as in rooms, the
the –3dB point is at 70Hz. The dotted lines show the effect of overdamping (bass loss) worst shape is a cube, since all the res-
and underdamping, giving peaking. onant peaks from each dimension will
Pole piece
(may be vented Vent
through holes
back plate)
Dust cap
(sealed)
Axis
Cone
apex
12mm long
‘overhung’
voice coil on
Nomex former
Flared cone
coated front
and back
with dope
Large magnet*
(ferrite ring ≥ 58,000 maxwell
Chassis/frame/basket
plastic diaphragm units in 1966. The Fig31. The T27 had a cigarette filter
B110 used Bextrene, a mixture of pol- placed in a cavity in the pole piece
ystyrene and neoprene developed for to absorb the rear radiation. KEF had
car interiors, a material first used by made their own speaker system using
Fig.29. Front/rear view of KEF T27 tweeter.
the BBC. A B110A unit is shown in these drive units called the Coda Mk1
Fig.27. A B110A diaphragm assembly to compete with the Ditton 10. This
is shown in Fig.28. The tweeter used a did not fully realise the potential of
polyester film from ICI called Melinex. the drive units, having a simple four
A photo of the T27 is shown in Fig.29. element second-order crossover and
On the LS3/5A this was covered with chipboard cabinet.
a dome protector grille from a Celes-
tion HF2000 tweeter, shown in Fig.30 Nest month
and its beneficial effect is shown in In Part 2 next month, we will have a
thorough look at LS3/5A crossovers
and start to consider activisation and
driver choices.
Fig.30. T27 diaphragm protection grille.
T
here are certain topics that
electronic engineers like to talk
about obsessively. If you really
want to initiate a conversation, for ex-
ample, a great opening gambit is to ask,
‘What tools do you recommend for a be-
ginner?’ If you are feeling reckless, you
might also ask, ‘What is the minimum
set of tools you need to get by?’ At this
point, you can step back and leave the
sprocket (the collective noun for a group
of engineers) to fight it out.
Soldering irons
It probably goes without saying that one
‘must have’ is a soldering iron. You can
spend a fortune here, if you’re not care-
ful, but you also have to make sure you
don’t opt for a ‘bargain’ that fails to cut
the mustard (I never metaphor I didn’t
like). Some time ago, I dropped my ex-
isting soldering station and damaged it
beyond repair. I purchased a new one
from somewhere, but – even though it There are many good soldering irons out there, and I’m certainly not claiming to have
wasn’t cheap – it turned out to be a pain used them all, but my friend Rick Curl has looked at plenty and we both recommend
in the nether regions to use. the inexpensive Atten SA-50. Make sure you get the right version for your region – the
Fortunately, my chum Rick Curl, who above is for US 110V, but UK/Europe-friendly 230V versions are also available.
spends much of each day soldering, un-
dertook a survey for his company. As Europe, Somerset Solders are offering a tablet using Bluetooth or Wi-Fi. However,
part of this, Rick evaluated a bunch of 230V version of the SA-50 for £24.95, before you go decide to take the plunge,
irons, eventually determining that the see: [Link] one indispensable tool for checking volt-
best all-rounder in terms of quality, cost, age current, and resistance is a multimeter.
and capabilities, was the Atten 50-watt Multimeters These come in all shapes, sizes, and price
Soldering Iron (SA-50). I ordered one If you start to become serious about elec- points, but you really don’t have to spend
from Adafruit for $29.95 ([Link] tronics, then at some stage you need to much to get something useful. For exam-
ly/2DWkVPR) and I have to say that consider splashing the cash for an oscil- ple, the cheap-and-cheerful multimeter I
I’ve been delighted with the result. loscope and/or logic analyser. I personally keep in my backpack cost only about $3
This is so much better than my previ- prefer to have these as standalone units, Australian Dollars. I’ve had it for a couple
ous soldering station… but, of course but you can get some tasty and afford- of years now and it works like a charm.
I’m based in the US, so that is a 110V able devices that display data on your PC Budget meters are now so cheap that if
tool. For those of you over in the UK and screen using USB or on your smartphone/ you find one you like, get two or three.
EE M
GET T
ON SALE in WHSmith and other
FR RO £8.99
-
LATES HE
CD
ELECTRONICS
T COP
TEACH-IN 9
FROM THE PUBLISHERS OF
Y
OF
TEACH OUR
-IN SE
independent newsagents 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
AVAIL
• Multimeters and a multimeter checker
• Oscilloscopes plus a scope calibrator
AB
• AC Millivoltmeters with a range extender
PLUS...
YOUR GUIDE TO THE BBC MICROBIT
A LOW-COST ARM-BASED SINGLE-BOARD
COMPUTER
Teach-In 9
Get Testing
This series of articles provides a broad-based introduction to choosing and using a wide range © 2018 Wimborne Publishing Ltd.
[Link]
of test gear, how to get the best out of each item and the pitfalls to avoid. It provides hints
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).
- up to 256 - up to 32
microsteps microsteps
- 50 V / 6 A - 30 V / 2. 5 A
- USB configuration
- Isolated
T
his month, we will discuss resolution of 160 × 80; more than enough simultaneously playing sounds, which
two projects. The first is a simple for displaying the time and date. leads us neatly to a new command.
Dice Prediction Game, (DPG) which The obvious question for this clock is
is based on the Electronic Dice hardware how does the MKC know what the time SETTICK command
covered in Part 6 (see Fig.1). The second is? The answer is it doesn’t; we will need The SETTICK command enables us to
project is a small, yet highly-accurate to connect it to a real-time clock (RTC) set up a periodic interrupt (or ‘tick’),
Mini MKC Clock (see Fig.2) that uses a module. The good news is that MMBASIC which effectively means that an interrupt
very nice little display. makes the whole process of building the subroutine is automatically called at
We’ll learn how to use VT100 escape Mini MKC Clock really simple. regular intervals. The command syntax is:
codes, which date back over 40 years to As always with these projects,
the VT100 video terminal produced by components such as the IPS screen SETTICK period, target, nbr
DEC (Digital Equipment Corporation). and RTC module are inexpensive; both
They were initially designed to allow are individually available online at Here, period is the time (in ms) between
on-screen formatting of text and [Link], or as a kit of parts. calls to the interrupt SUB, and target
information, and later included colour is the name of the interrupt SUB that is
effects, some of which are incorporated Project 1: Dice Prediction called. Four separate ‘ticks’ are available,
into the DPG to display the score and Game each being referenced by a number (nbr
some basic game instructions (see Fig.3). The purpose of creating the DPG is to (1, 2, 3, or 4)). By the way, the SETTICK
The SETTICK command will also be demonstrate how to incorporate many interrupt is disabled (switched off) by
discussed; this allows the dice LEDs to be of the topics covered in the Make it with setting the period to a value of 0 (zero).
Micromite series. It uses hardware and
software to show how ideas and concepts
work in practice to create a total solution. Micromite code
Questions? Please email Phil at: It is not meant to be the next big thing
contactus@[Link] The code in this article is available
in gaming – however, there is nothing
for download from the PE website.
stopping you from using it as a basis for
Fig.4. For the DPG, the Electronic Dice module is inserted as normal.
A piezo sounder is connected via the 20-way connector between pin
Fig.3. How the DPG looks on the console screen. 22 and pin 26 (use a breadboard and jumper wires if required).
Cursor position
Start by entering the following new Fig.5. Cursor position escape code: a) (left) observed console output when using only
program (be sure to enter all semicolons, PRINT commands, b) (right) exactly same PRINT commands, but with the inclusion of
commas and single apostrophe as shown): a single Cursor Up escape code.
PRINT “Hello1”; Home – ie, <ESC>[{ROW};{COLUMN}H background. Next, use the EDITor to
PRINT “Hello2”, to move the cursor anywhere on screen remove the single apostrophe (which
PRINT “Hello3” (ie, use PRINT CHR$(27)+”[10;20H”;) will then activate the last Reset all
PRINT “Hello4” attributes escape code). Now RUN
‘PRINT CHR$(27)+”[1A”; Font colour the code again and you will see that the
PRINT “Now Here!”; Now that we have seen how to send screen background has remained black,
escape codes, setting font colours should however, this time the command prompt
With the fifth line commented out, RUN be relatively straightforward. At the is no longer green on black because Reset
the code and carefully look at the result on escape code website, scroll down to Set all attributes is now sent at the end of
the console screen (see Fig.5a). The first Display Attributes to see what colours the program. Run the program one last
PRINT line ends with a semicolon and this are available. Foreground Colour refers time and now the screen background
tells the console program (eg, TeraTerm) to the font colour. will be back to ‘normal’.
to leave the cursor at the current position Modify your existing code to become The above examples have demonstrated
(immediately after Hello1). This is why the following (add the highlighted lines just how easy it is to use VT100 escape
Hello2 is positioned immediately after and remove the previous Cursor Up codes. When used creatively, they can
Hello1 (remember that the PRINT uses escape code): give some very impressive results. The
the current cursor position). However, the lay out of the DPG screen (Fig.3) was
second PRINT line ends with a comma PRINT CHR$(27)+”[2J”; created by using just a handful of these
and this informs the console program to PRINT CHR$(27)+”[H”; escape codes. Do take a look at how
position the cursor further along the same PRINT CHR$(27)+”[33;41m”; they are implemented in the code for
line at the next tab position. This is why PRINT “Hello1”; the game; and feel free to modify them
Hello3 is spaced away from Hello2 PRINT CHR$(27)+”[32;45m”; to suit your tastes.
(but all three are on the same line). The PRINT “Hello2”, Finally, it is well worth scrolling
third PRINT line has neither a comma PRINT CHR$(27)+”[46;31;4m”; through the complete list of all the escape
or semicolon at the end, so this instructs PRINT “Hello3” codes listed at the above website. If
the console program to move the cursor PRINT CHR$(27)+”[1;33;1;44m”; something interests you then why not
to the start of the next line and hence PRINT “Hello4” try it out and see what happens – this
Hello4 is on the next line down. The PRINT CHR$(27)+”[1;32;2;40m”; is the best way to learn.
forth PRINT line also moves the cursor PRINT “Now Here!”;
down hence Now Here! is on a new line ‘PRINT CHR$(27)+”[0m” Running the Dice Prediction game
too. I hope this all makes sense so far! If you haven’t already done so, download
Now remove the single apostrophe In the above program, the first line [Link] from the
from the start of the fifth line of code sends the escape code to clear the screen September page of the PE website and load
(which currently comments out the (found in the website’s Erasing Text it into your Micromite using AUTOSAVE,
‘Cursor Up’ escape code). Before you section). The second line positions the Paste, and Ctrl-z (as discussed in Part
run it, think about what you expect to cursor at the top-left of the screen (the 6). Then RUN the program (F2) and you
happen with the escape code we are Home position). The other escape codes should see the game appear on your
using here (ie, move up 1 line). RUN it then control the Foreground Colour console screen as shown in Fig.3. Don’t
again and see if it results in what you and Background Colour along with forget to add a piezo sounder between
expected (see Fig.5b). other attributes, such as Bright, Dim, Pin 26 and Pin 22 so that you hear the
In case it was different to what you and Underscore. Note that attributes sound effects – you can do this via the
thought, understand that H e l l o 1 , remain in place until they are changed, 20-way connector (J12) on the DM, using
Hello2, and Hello3 all appear on the or until they are reset (with <ESC>[0m). a breadboard if necessary.
first line as before, and also that Hello4 Indeed, the last line demonstrates Reset
is on the second line with the cursor then all attributes but for now, leave it
moved down to the third line (again, as commented out.
before). However, the escape code will Once you have entered the above
move the cursor back up one line to code, RUN it and observe the colours
effectively where Hello4 is. Finally, Now (see Fig.6). Refer to the website for
Here! is printed at the current cursor confirmation of all Foreground Colour
position; ie, it overwrites Hello4. and Background Colour options.
To explore cursor positioning further, Now, at the command prompt, type
experiment with some of the other escape something (such as PRINT TIME$) and
codes shown in the list under the Cursor you will see the colours remain as bright Fig.6. Result of using some simple font
Control section. In particular, try Cursor green underscored characters on a black colour escape codes.
COMPETITION!
Micromite
SIMPLE•INTERACTIVE•FUN
GOOD LUCK!
This month, Practical Electronics and [Link] are giving you the
chance to win a Micromite LCD BackPack kit. Think of the BackPack Terms and conditions
as a Micromite Keyring Computer (MKC) and Development Module
1. You may enter as many times as you wish
(DM) on a single PCB, along with the ability to directly plug in a 2.8-
inch LCD touchscreen. 2. All entries must be received by the closing date
Three winners will be selected at random, each winning a BackPack 3. Winners will be notified by email within one week after the closing date
kit (complete with a 2.8-inch LCD touchscreen). 4. Winners will need to confirm a valid shipping address to which their
To enter, simply email us a photo of you or a friend using your Dice prize will be shipped
Prediction Game. 5. 5. UK winners – prizes sent via Royal Mail 1st Class Signed-For service
Entries (with subject, ‘DPG Raffle’) should be emailed to: pe@[Link] 6. Overseas winners – prizes sent by Royal Mail’s International Tracked
Please ensure your email reaches us by the closing date of 31 August 2019. & Insured service.
TEACH-IN 3
£7.99
The three sections of the Teach-In 3 CD-ROM cover a Mike & Richard Tooley
FROM THE PUBLISHERS OF
PRACTICALLY SPEAKING
fol l owi ng courses i n school s and
students to experienced constructors and professionals. The projects are: Moisture Detector Quiz
col l eges
i The techniques of electronic
project construction PRACTICALLY SPEAKING
The first section (80 pages) is dedicated to Circuit INGENUITY UNLIMITED
i Over 40 different circuit ideas
Machine Battery Voltage Checker Solar- The techni ques of proj ect constructi on
Surgery, EPE/PE’s regular clinic dealing with readers’ Powered Charger Versatile Theft Alarm Spooky
PIC ‘N MIX
Star ti ng out wi th PIC mi crocontrol l ers
nics
Teach-
In FREE Circuits Frost Alarm Mini Christmas Lights
queries on circuit design problems – from voltage ro
FREE M
TEACH-IN 1 CD-ROM bo
rn e Pu
blishing Ltd 20
10 CD-RO
t
W
1
TWO TEACH-INs FOR TEACH-I N 2
Elec
©
THE PRICE OF ONE!
TWO TEACH-I Ns FOR
The second section – Practically Speaking – Egg Timer Signal Injector Probe Simple Radio
THE PRI CE OF ONE!
i The free CD-ROM provides cal
Plus:
MikroElektro
nika,
a broad-based introduction
a practi The fr ee CD-ROM pr ovi des a
Provides to PIC Microchip pe
introduction llers L-Tek PoSco
to electronics microcontro
for Windo
ws software pr ac t i c al i nt r oduc t i on t o PIC
components is covered. Finally, our collection of PIC’n’ Mix – starting out with the popular range of PIC
Ingenuity Unlimited circuits provides over 40 circuit designs submitted by readers. microcontrollers and Practically Speaking – tips and techniques for project construction.
The CD-ROM also contains the complete Electronics Teach-In 1 book, which
provides a broad-based introduction to electronics in PDF form, plus interactive The CD-ROM also contains:
quizzes to test your knowledge and TINA circuit simulation software (a limited Complete Teach-In 2 book, a practical introduction to PIC microprocessors
version – plus a specially written TINA Tutorial). MikroElektronika, Microchip and L-Tek PoScope software.
The Teach-In 1 series covers everything from electric current through to
microprocessors and microcontrollers, and each part includes demonstration circuits
to build on breadboards or to simulate on your PC.
£18.95
ELECTRONICS FROM THE PUBLISHERS OF
What a Bargain!!
if not, open double-click
and
Explorer f
[Link]
This CD-ROM
Adobe®
requires
Reader™
from
an d w eb l i n k s
UAL
projects, data, assembly instructions and web links.
dable Free
Downloa [Link]
[Link].u
[Link]
BA SE .epe mag
k
2011
www ne Publishi
ng Ltd.
Audio Out – an
CD
£8.99 FR RO
- £8.99
RASPBERRY Pi ®
DISCRETE LINEAR CIRCUIT DESIGN
the necessary software A COMPREHENSIVE GUIDE TO RASPBERRY Pi
Practically Speaking – • Understand linear circuit design INTRODUCING THE ARDUINO
• Pi PROJECT – SOMETHING TO BUILD • Design simple, but elegant circuits
The CD-ROM includes
• Hardware – learn about components and circuits
• Pi CLASS – SPECIFIC LEARNING AIMS
for the series, so that • PYTHON QUICKSTART – SPECIFIC PROGRAMMING TOPICS
the techniques of
• Learn with ‘TINA’ – modern CAD software
• Five projects to build: Pre-amp, Headphone Amp,
• Programming – powerful integrated development system
• Microcontrollers – understand control operations
• Pi WORLD – ACCESSORIES, BOOKS ETC
the files for:
Tone Control, VU-meter, High Performance Audio Power Amp • Communications – connect to PCs and other Arduinos
• HOME BAKING – FOLLOW-UP ACTIVITIES
readers and circuit project building.
FREE
designers can get DVD-R
OM
ALL THE
SOFTWA
TEACH-I
RE
N6
FREE M
-RO
CD CIRCUIT
Teach-In 8
FOR THE RRY Pi
Microchip MPLAB
RE FOR
SERIES SOFTWA 7
CH-IN
THE TEA
SERIES
Smartscope software.
building PIC-based projects
D-type flip-flop
A very common type of register is called
a D-type flip-flop, where ‘D’ stands for
data. Unlike the SR latch, which is asyn-
chronous, the D-type flip-flop is a syn-
chronous function that’s controlled by
a clock signal. The symbol, truth table,
and example waveform for a positive-
edge-triggered D-type flip-flop are shown
in Fig.9.
From the truth table, we see that a posi-
tive, or rising edge (0-to-1 transition) on
the CLK (clock) input will cause what-
ever 0 or 1 value is currently present on
the D (data) input to be loaded into the
register. This value will appear on the
Q output after the register’s propagation
delay tp. (These registers often have QB
outputs, but we’ve omitted such an output
in this case to keep things as simple as
possible). A negative, or falling edge (1-
to-0 transition) on the CLK signal will
have no effect. Similarly, if the CLK is a
steady 0 or 1, we don’t care what’s hap-
pening on the D signal, which we’ve
indicated using ‘X’ characters, meaning
‘don’t care,’ in the truth table.
By some strange quirk of fate, the heart
of the D-type flip-flop is composed from
two SR latches (or similar functions) ac-
companied by a few other primitive logic
gates. We’ve already seen that SR latches
can enter an unstable condition if we’re
not careful. The way the creators of the
Virtual version of the 4-bit HRRG Computer. D-type flip-flop avoid this is to specify
two parameters called ‘setup’ and ‘hold’.
I
f you recall, last month we My partner in Boolean crime is Joe Basically, we are creating a ‘window’
discussed a project I’m working on Farr, who is initially creating a virtual surrounding the active edge of the clock.
called the 4-bit HRRG Computer version of the 4-bit HRRG Computer, So long as the data signal has stopped
– AKA, the Heath Robinson, Rube while I focus on the ‘real’ (physical) side. changing before the start of the window
Goldberg Computer. This little gem I started to explain that one challenge (as specified by the setup time ts), and
of computational awesomeness will when building a computer from the ground so long as it remains steady until after
boast a wide variety of implementation up is that you have to face the problem the end of the window (as defined by
technologies, from relays, vacuum of metastability, caused by reading the hold time th) then everything will
tubes, transistors and jelly-bean ICs, asynchronous signals from the outside be tickety-boo.
to mechanical, magnetic, pneumatic, world. We took the simplest example – an Consider the waveform diagram in
and fluidic logic… plus anything else asynchronous SR latch – and now it’s time Fig.9. When power is first applied to
I fancy. Intel can sleep easy (for now), to move on to more substantial examples the system at time t0, the D-type flip-
a regular Pentium this is not. via the D-type flip-flop. (Incidentally, if flop can randomly power up containing
CLK
D
(b) One kicks the ball to Zero
Q ? ?
Zero One
tP tP Recovery time tP
t1 t2 t1 t2
ts th ts th ts th ts th
CLK CLK
Setup Violation
ASYNC ASYNC
Good
META META
CLEAN CLEAN
tP tP tP Recovery time tP
Fig.13. No problems (hurray!) Fig.14. A setup violation that ends up the way we want.
Station Road
Cullercoats
North Shields
Tyne & Wear
NE30 4PQ
Tel: 0191 2514363 sales@[Link] [Link]
ELECTRONICS CD-ROMS
GCSE ELECTRONICS
Suitable for any student who is serious about studying and who wants to achieve
the best grade possible. Each program’s clear, patient and structured delivery will
aid understanding of electronics and assist in developing a confident approach to
answering GCSE questions. The CD-ROM will be invaluable to anyone studying
electronics, not just GCSE students.
*Curriculum
Contains comprehensive teaching material to cover the National
*
syllabus Regular exercises reinforce the teaching points
*
*
Retains student interest with high quality animation and graphics Stimulates learning through interactive
*
exercises Provides sample examination ques-tions with model solutions
* Authored by practising teachers
* * *
Covers all UK examination board syllabuses Caters for all levels of ability Useful for self-tuition and revision
SUBJECTS COVERED
£12.50 Electric Circuits – Logic Gates – Capacitors & Inductors – Relays – Transistors – Electric Transducers – Operational
inc. VAT and P&P Amplifiers – Radio Circuits – Test Instruments
Over 100 different sections under the above headings
CIRCUIT WIZARD
Circuit Wizard is a revolutionary software system that combines circuit design, PCB design, simulation and CAD/CAM
manufacture in one complete package. Two versions are available – Standard or Professional.
By integrating the entire design process, Circuit Wizard provides you with all the tools necessary to produce an electronics project from start to
finish – even including on-screen testing of the PCB prior to construction!
* *
Circuit diagram design with component library (500 components Standard,1500 components Professional) Virtual instruments
(4 Standard, 7 professional) On-screen animation Interactive circuit diagram simulation True analogue/digital simulation
* * *
* * *
Simulation of component destruction PCB Layout Interactive PCB layout simulation
* *
Automatic PCB routing Gerber export
Multi-level zoom (25% to 1000%) Multiple undo and redo Copy and paste to other software Multiple document support
* * * *
This software can be used with the Jump Start and Teach-In 2011 series (and the Teach-In 4 book).
Standard £61.25 inc. VAT. Professional £75 plus VAT.
SOFTWARE
ASSEMBLY FOR PICmicro V7 FLOWCODE FOR
(Formerly PICtutor) PICmicro V8
Assembly for PICmicro microcontrollers V7.0 (previously known as PICtutor) by Flowcode is a very high level language programming system based on flowcharts.
John Becker contains a complete course in programming the PIC16F84, 16F88 Flowcode allows you to design and simulate complex systems in a matter of
and 16F877a PICmicro microcontroller from Arizona Microchip. It starts with minutes. A powerful language that uses macros to facilitate the control of devices
fundamental concepts and extends up to complex programs including watchdog like 7-segment displays, motor controllers and LCDs. The use of macros allows
timers, interrupts and sleep modes. you to control these devices without getting bogged down in understanding the
The CD makes use of the latest simulation techniques which provide a superb tool programming. When used in conjunction with the development board this provides
for learning: the Virtual PICmicro microcontroller, this is a simulation tool that allows a seamless solution that allows you to program chips in minutes.
users to write and execute MPASM assembler code for the PIC16F84 microcontroller • Requires no programming experience
on-screen. Using this you can actually see what happens inside the PICmicro MCU • Allows complex PICmicro applications to be designed quickly
as each instruction is executed, which enhances understanding. • Uses international standard flow chart symbols
• Comprehensive instruction through 45 tutorial sections • Full on-screen simulation allows debugging and speeds up the development
process.
• Includes Vlab, a Virtual PICmicro microcontroller: a fully functioning
simulator • Facilitates learning via a full suite of demonstration tutorials
• Tests, exercises and projects covering a wide range of PICmicro MCU • Produces code for a wide range of devices
applications • 16-bit arithmetic strings and string manipulation
• Includes MPLAB assembler • Pulse width modulation
• Visual representation of a PICmicro showing architecture and functions • I2C.
• Expert system for code entry helps first time users Please note: Due to popular demand, Flowcode is now available as a download.
• Shows data flow and fetch execute cycle and has challenges (washing Please include your email address and a username (of your choice) on your order.
machine, lift, crossroads etc.)
A unique download code will then be emailed to you.
• Imports MPASM files.
CD-ROM Order code ETI2 CD-ROM £9.50 CD-ROM Order code ETI3 CD-ROM £8.50 EE M
FR -RO £8.99
ELECTRONICS
CD
TEACH-IN 5
JUMP START
ELECTRONICS TEACH-IN
ORDERING 15 desi gn and bui l d ci rcui t proj ects
dedi cated to newcomers or those
fol l owi ng courses i n school s and
PRACTICALLY SPEAKING
BUNDLE – FOR PARTS 3, 4 & 5 POSTAGE The techni ques of proj ect constructi on
PIC ‘N MIX
Standard/Student/Basic (Hobbyist)
Star ti ng out wi th PIC mi crocontrol l ers
FREE
Version price includes postage to most countries CD-R
OM
TEACH-I N 2
in the world EU residents outside the UK add £5 for TWO TEACH-I Ns FOR
THE PRI CE OF ONE!
airmail postage per order Plus: onika,
13 [Link]
29/07/20
ELECTRONICS TEACH-IN 5
JUMP START FREE
CD-ROM
15 design and build circuit projects
Please send me: CD-ROM ORDER FORM dedicated to newcomers or those
following courses in school and
Version required: colleges. The projects are: Moisture Detector, Quiz Machine,
Assembly for PICmicro V6 Single Licence Battery Voltage Checker, Solar-Powered Charger, Versatile
‘C’ for 16 Series PICmicro V6 Site licence Theft Alarm, Spooky Circuits, Frost Alarm, Mini Christmas
Lights, iPod Speaker, Logic Probe, DC Motor Controller, Egg
Timer, Signal Injector Probe, Simple Radio Receiver, Tempera-
ture Alarm.
Note: The software on each version is the same, only the licence for use varies. PLUS:
PIC’ N MIX – starting out with PIC Microcontrollers and PRAC-
TICALLY SPEAKING – the techniques of project construction.
PICmicro Multiprogrammer Board and Development Board (hardware) FREE CD-ROM – The free CD-ROM is the complete
Teach-In 2 book providing a practical introduction to PIC
Microprocessors plus MikroElektronika, Microchip and
Circuit Wizard – Standard Teach-In 2 L-Tek PoScope software.
Circuit Wizard – Professional Teach-In 3
Teach-In 4 £8.99
GCSE Electronics
160 Pages Order code ETI5
Teach-In Bundle
TINA Design Suite V11 Basic (Hobbyist) (3, 4 and 5)
TINA Design Suite V11 (Student) Single License and Site License Versions
– overseas readers add £5 to the basic price
Full name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . of each order for airmail postage (do not add
Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . VAT unless you live in an EU (European Union)
country, then add VAT at 20% or provide your
. . . . . . . . . . . . . . . . . . . . . . Post code . . . . . . . . . . . . . . . . . Tel . . . . . . . . . . . . . . . official VAT registration number).
Teach-In 2017
have been selected by
the Practical Electronics
editorial staff as being
of special interest to
everyone involved
in electronics and
Introducing the computing. They are
supplied by mail order
direct to your door.
BBC micro:bit FOR A FULL DESCRIPTION
OF THESE BOOKS AND
CD-ROMS SEE THE SHOP
ON OUR WEBSITE
PYTHON CODING ON THE BBC MICRO:BIT
Jim Gatenby [Link]
Python is the leading programming language, easy to learn and widely used by
professional programmers. This book uses MicroPython, a version of Python adapted
for the BBC Micro:bit. All prices include
Among the many topics covered are: main features of the BBC micro:bit including a
simulation in a web browser screen; various levels of programming languages; Mu Editor
UK postage
for writing, saving and retrieving programs, with sample programs and practice exercises;
REPL, an interactive program for quickly testing lines of code; scrolling messages, creating
and animating images on the micro:bit’s LEDs; playing and creating music, sounds
and synthesized speech; using the on-board accelerometer to detect movement of the
micro:bit on three axes; glossary of computing terms. MICROPROCESSORS
This book is written using plain English, avoids technical jargon wherever possible and
covers many of the coding instructions and methods which are common to most program-
INTERFACING PIC MICROCONTROLLERS – 2nd Ed
ming languages. It should be helpful to beginners of any age, whether planning a career in
Martin Bates
computing or writing code as an enjoyable hobby.
298 pages Order code NE48 £34.99
118 Pages Order code PYTH MBIT £7.99
PROGRAMMING 16-BIT PIC MICROCONTROLLERS
GETTING STARTED WITH THE BBC MICRO:BIT IN C – LEARNING TO FLY THE PIC24
Lucio Di Jasio (Application Segments Manager,
Mike Tooley Microchip, USA)
Not just an educational resource for teaching youngsters coding, the BBC micro:bit is a tiny 496 pages + CD-ROM Order code NE45 £38.00
low cost, low-profile ARM-based single-board computer. The board measures 43mm × 52mm
but despite its diminutive footprint it has all the features of a fully fledged microcontroller to-
INTRODUCTION TO MICROPROCESSORS AND
gether with a simple LED matrix display, two buttons, an accelerometer and a magnetometer.
MICROCONTROLLERS – 2nd Ed
Mike Tooley’s book will show you how the micro:bit can be used in a wide range of applications John Crisp
from simple domestic gadgets to more complex control systems such as those used for light- 222 pages Order code NE31 £29.99
ing, central heating and security applications. Using Microsoft Code Blocks, the book provides
a progressive introduction to coding as well as interfacing with sensors and transducers. THE PIC MICROCONTROLLER YOUR PERSONAL
INTRODUCTORY COURSE – 3rd Ed
Each chapter concludes with a simple practical project that puts into practice what the reader John Morton
has learned. The featured projects include an electronic direction finder, frost alarm, reaction
tester, battery checker, thermostatic controller and a passive infrared (PIR) security alarm. 270 pages Order code NE36 £25.00
No previous coding experience is assumed, making this book ideal for complete beginners
PIC IN PRACTICE – 2nd Ed
as well as those with some previous knowledge. Self-test questions are provided at the
David W. Smith
end of each chapter, together with answers at the end of the
book. So whatever your starting point, this book will take 308 pages Order code NE39 £24.99
THEORY AND you further along the road to developing and coding your
own real-world applications.
MICROCONTROLLER COOKBOOK
REFERENCE 108 Pages Order code BBC MBIT £7.99
Mike James
240 pages Order code NE26 £36.99
UNDERSTANDING ELECTRONIC CONTROL SYSTEMS Order from our online shop at: [Link]
Owen Bishop
228 pages Order code NE35 £36.99
See opposite for our popular 224 pages Order code MGH1 £16.99
120 pages Order code BP707 £8.49
introduction to the Arduino
EASY PC CASE MODDING ROBOT BUILDERS COOKBOOK
Robert Penfold Owen Bishop
192 pages + CD-ROM Order code BP542 £8.99 366 pages Order code NE46 £26.00
THE INTERNET – TWEAKS, TIPS AND TRICKS HOW TO FIX YOUR PC PROBLEMS
Robert Penfold Robert Penfold
128 pages Order code BP721 £7.99 128 pages Order code BP705 £8.49
Solder on! – don’t know a soldering iron from a curling COMPUTING WITH A LAPTOP FOR THE OLDER
AN INTRODUCTION TO WINDOWS VISTA
iron? No problem! You’ll learn the basics and be prototyp- P.R.M. Oliver and N. Kantarris GENERATION
ing in no time. Robert Penfold
Kitted out – discover new and interesting hardware to 120 pages Order code BP703 £8.49
120 pages Order code BP702 £8.49
turn your Arduino into anything from a mobile phone to a
Geiger counter. WINDOWS 8.1 EXPLAINED AN INTRODUCTION TO EXCEL SPREADSHEETS
Become an Arduino savant – find out about functions, Jim Gatenby
arrays, libraries, shields and other tools that let you take 180 Pages Order code BP747 £10.99
your Arduino project to the next level 18 pages Order code BP701 £8.49
AN INTRODUCTION TO THE NEXUS 7
Get social – teach your Arduino to communicate with KINDLE FIRE HDX EXPLAINED
software running on a computer to link the physical world 118 Pages Order code BP744 £8.99
with the virtual world
118 Pages Order code BP743 £8.99
438 Pages Order code ARDDUM01 £19.99
288 pages Order code ELSEV33 £46.99 368 pages Order code NE40 £29.00
RASPBERRY PI
EXPLORING ARDUINO RASPBERRY Pi FOR DUMMIES
Jeremy Blum Sean McManus and Mike Cook
Arduino can take you anywhere. This book is the roadmap. Write games, compose and play music, even explore electronics – it’s easy as Pi! The Rasp-
Exploring Arduino shows how to use the world’s most berry Pi offers a plateful of opportunities, and this great resource guides you step-by-step, from
popular microcontroller to create cool, practical, artistic downloading, copying, and installing the software to learning about Linux and finding cool new
and educational projects. Through lessons in electrical programs for work, photo editing, and music. You’ll discover how to write your own Raspberry
engineering, programming and human-computer interaction, Pi programs, create fun games, and much more!
this book walks you through specific, increasingly complex Open this book and find:
projects, all the while providing best practices that you can What you can do with Python; Ways to use the Raspberry Pi as a productivity tool; How to
apply to your own projects once you’ve mastered these. surf the web and manage files; Secrets of Sonic Pi music programming; A guide to creating
You’ll acquire valuable skills – and have a whole lot of fun. animations and arcade games; Fun electronic games you can build; How to build a 3D maze in
Explore the features of commonly used Arduino boards Minecraft; How to play music and videos on your Raspberry Pi.
EE OM EE M
FR -R FR -RO EE M
D
£8.99
CD
£8.99 FR RO £8.99
DV -
ELECTRONI CS FROM THE PUBLISHERS OF
ELECTRONI CS FROM THE PUBLISHERS OF
CD
ELECTRONI CS
TEACH-I N 6 TEACH-I N 7 TEACH-I N 8
FREE
CD-ROM
SOFTWARE
FOR
THE TEACH-IN
8
FROM THE PUBLISHERS OF SERIES
RASPBERRY Pi ® DISCRETE LINEAR CIRCUIT DESIGN
A COMPREHENSIVE GUIDE TO RASPBERRY Pi • Understand linear circuit design INTRODUCING THE ARDUINO
• Pi PROJECT – SOMETHING TO BUILD • Design simple, but elegant circuits • Hardware – learn about components and circuits
• Pi CLASS – SPECIFIC LEARNING AIMS • Learn with ‘TINA’ – modern CAD software • Programming – powerful integrated development system
• PYTHON QUICKSTART – SPECIFIC PROGRAMMING TOPICS • Five projects to build: Pre-amp, Headphone Amp, • Microcontrollers – understand control operations
• Pi WORLD – ACCESSORIES, BOOKS ETC Tone Control, VU-meter, High Performance Audio Power Amp • Communications – connect to PCs and other Arduinos
• HOME BAKING – FOLLOW-UP ACTIVITIES
FREE
OM
DVD-R
ALL THE
RE
SOFTWA
IN 6
FREE M
TEACH- -RO
CD CIRCUIT
FOR THE RRY Pi
RASPBE ALL THE
RE FOR
SERIES SOFTWA 7
CH-IN
THE TEA
SERIES
PLUS
Pi B+ UPDATE PLUS...
INTERFACE – a series of AUDIO OUT
ten Pi related features An analogue expert’s take
on specialist circuits PLUS...
REVIEWS – Optically PIC n’MIX
isolated ADC and I/O PRACTICALLY SPEAKING PICs and the PICkit 3 - A beginners
The techniques of project
interface boards guide. The why and how to build
building
PIC-based projects
ONLY AVAILABLE ON CD-ROM RUNNING LOW – ORDER NOW! ONLY AVAILABLE ON CD-ROM
ELECTRONICS TEACH-IN 6 ELECTRONICS TEACH-IN 7 ELECTRONICS TEACH-IN 8
A COMPREHENSIVE GUIDE TO RASPBERRY Pi DISCRETE LINEAR CIRCUIT DESIGN INTRODUCING THE ARDUINO
Mike & Richard Tooley Mike & Richard Tooley Mike & Richard Tooley
Teach-In 6 contains an exciting series of articles that Teach-In 7 is a complete introduction to the design of Hardware – learn about components and circuits; Programming
provides a complete introduction to the Raspberry Pi, analogue electronic circuits. Ideal for everyone interested in – powerful integrated development system; Microcontrollers –
the low-cost computer that has taken the education and electronics as a hobby and for those studying technology at understand control operations; Communications – connect to
computing world by storm. schools and colleges. Supplied with a free cover-mounted PCs and other Arduinos
This latest book in our Teach-In series will appeal to CD-ROM containing all the circuit software for the course, This exciting series has been designed for electronics
electronic enthusiasts and computer buffs wanting to get to plus demo CAD software for use with the Teach-In series enthusiasts who want to get to grips with the inexpensive,
grips with the Raspberry Pi. Discrete Linear Circuit Design* Understand linear circuit immensely popular Arduino microcontroller, as well as coding
Anyone considering what to do with their Pi, or maybe design* Learn with ‘TINA’ – modern CAD software* Design enthusiasts who want to explore hardware and interfacing.
they have an idea for a project but don’t know how to simple, but elegant circuits* Five projects to build: Pre- Teach-In 8 will provide a one-stop source of ideas and prac-
turn it into reality, will find Teach-In 6 invaluable. It covers: amp, Headphone Amp, Tone Control, VU-meter, High tical information.
Programming, Hardware, Communications, Pi Projects, Pi Performance Audio Power Amp. The Arduino offers a remarkably effective platform for
Class, Python Quickstart, Pi World, and Home Baking. PLUS developing a huge variety of projects; from operating a set
of Christmas tree lights to remotely controlling a robotic
The CD-ROM also contains all the necessary software for Audio Out – an analogue expert’s take on specialist circuits
vehicle through wireless or the Internet. Teach-In 8 is based
the series so that readers can get started quickly and easily Practically Speaking – the techniques of project building
with the projects and ideas covered. around a series of practical projects with plenty of informa-
tion to customise each project.
160 Pages Order code ETI6 £8.99 160 Pages Order code ETI7 £8.99 This book also includes PIC n’ Mix: PICs and the PICkit 3 -
A Beginners guide by Mike O’Keefe and Circuit Surgery by
Ian Bell - State Machines part 1 and 2.
The CD-ROM includes files for Teach-In 8 plus Microchip
VISIT OUR WEBSITE FOR MORE BOOKS MPLAB IDE XC8 8-bit Compiler and PICkit 3 User Guide.
Also included is Lab-Nation Smartscope software.
AND FAST, EASY ONLINE ORDERING 160 Pages Order code ETI8 £8.99
[Link]
THE BASIC
BOOK ORDER FORM SOLDERING
Full name: ....................................................................................................................................... GUIDE
Address: .......................................................................................................................................... LEARN TO SOLDER
SUCCESSFULLY!
ALAN WINSTANLEY
.........................................................................................................................................................
The No.1 resource for
learning all the basic
.............................................. Post code: ........................... Telephone No: .................................... aspects of electronics
soldering by hand.
Email: .............................................................................................................................................. With more than 80 high quality colour photographs,
this book explains the correct choice of soldering
I enclose cheque/PO payable to Practical Electronics for £ ......................................................... irons, solder, fluxes and tools. The techniques of
how to solder and desolder electronic components
are then explained in a clear, friendly and non-
Please charge my card £ ....................................... Card expiry date......................................... technical fashion so you’ll be soldering successfully
in next to no time! The book also includes sections
Card Number ..................................................................................... on reflow soldering and desoldering techniques,
potential hazards, useful resources and a very
Valid From Date ................ Card Security Code ............... (The last three digits on or just below the signature strip) useful troubleshooting guide.
Also ideal for those approaching electronics
Please send book order codes: ....................................................................................................... from other industries, the Basic Soldering Guide
Handbook is the best resource of its type, and
thanks to its excellent colour photography and
......................................................................................................................................................... crystal clear text, the art of soldering can now be
learned by everyone!
..........................................................................................................................................................
Please continue on separate sheet of paper if necessary 86 Pages Order code AW1 £9.99
Three clocks
T
hroughout the ages, people On the back is a large Atmel micro-
have always had a fascination with controller, a piezo buzzer, a crystal
time – and mechanisms that dis- and three buttons. A holder is also
play it. This month, let’s take a look at provided for the CR2032 battery (not
three different clocks. supplied) that’s required to maintain
the time if power is lost. A USB pow-
Rotating LED Clock er supply cable is provided – ie, the
This clock module is available prebuilt clock requires a 5V supply.
or in kit form and costs about £5 (and To put it mildly, the provided instruc-
up), delivered. To find it, search on tions are terrible. However, if you play
eBay under ‘Rotating DIY DS1302 LED around long enough with the buttons,
Electronic Digital Clock Kit 51 SCM you’ll find you can set the year, month
Learning Board 5V’. Note that there and day (US style – with month first
seem to be two varieties – one with then day), hours and minutes. You can
surface-mount LEDs (Fig.1) and an- apparently also set an alarm, but I nev-
other with through-hole LEDs. Which er figured out how to do that. Fig.2. The Rotating Clock LEDs are bright
you choose is up to you, but the SMD The real fun with the clock is that and easily read from a distance. The mod-
version is generally pricier. you can make the outer ring of LEDs ule comes as a kit or prebuilt and costs
The clock comprises a PCB that’s work in all sorts of ways. By pressing from £5, delivered.
81mm square. Around the outside are the ‘plus’ key (not the ‘mode’ key as
located 60 LEDs, indicating seconds. you might assume) you can have an- sits upright on these spacers, making
Every fifth increment is red; the oth- ything from ‘mild’ (seconds counted it easy to place on a flat surface. The
er LEDs are green. Also sited on the by a green LED that moves around the LEDs are bright and can be easily read
front face is a 4-digit, red LED display circle) to ‘wild’ (all the LEDs pulsing from across a room.
that’s 14mm high, plus assorted sur- at high frequency). I went for the LED As I say, playing longer with the con-
face-mount components. mode that’s closest to a second hand trols may yield further functions that I
moving around the display.
The main LED numerical display
shows hours and minutes (hours in
24-hour time), and then periodical-
ly shows year, day of the month and
month. Room temperature is then
shown, before the display reverts back
to time.
On the hour, the buzzer sounds (quiet-
ly, if you leave the protective sticker on)
and the outside LEDs do a fancy dance.
You could mount the PCB in a box
with a translucent front panel, but I
think the style and approach of the
Fig.1. The rotating LED clock in its night
glory. The 60 LEDs around the periphery can module best lends itself to a desk or
be programmed with different functions. workshop clock for a tech person (ie, Fig.3. The rear of the Rotating LED Clock
Here, a red LED is showing every 5-second you!), where all the electronics are left shows the optional CR2032 battery back-
increment, and a green LED moves around on display. The PCB is provided with up. The clock is normally powered via a
like a second hand. long spacers and the clock module 5V USB supply.
Fig.4. This clock comes as a kit. It has only one function – showing the time – but the kit Universal Timer Module
is easily constructed and uses battery back-up. It’s a great choice for a beginner. To round off this month, Fig.5 shows
an interesting universal timer mod-
didn’t find, but just limiting it to those The PCB is 90 × 70mm and uses three ule – but why is it in a column about
that I did find, I thought it a fun bit of two-digit LED displays, each 10mm clocks? Well, the LED display can be
gear. Perched on my desk, it attracted high. Between the numerical displays, set to show real time, and this is main-
a lot of comment! non-flashing colons are formed by in- tained via battery back-up even when
dividual LEDs. (All LEDs are red.) The power is lost. Therefore, rather than
LED Kit Clock supply voltage is 6V to 12V; and, as just being a timer module, it’s a ‘re-
The next clock module is sold as a kit with the previous module, back-up al-time’ timer.
– and a very cheap one too (see Fig.4). of the user-programmed time is via a The module works off any supply
It will cost you under £3, delivered. CR2032 battery (not supplied). voltage from 5-60V and has a relay
To find it, search eBay under ‘DIY Kit The time display is in 24-hour time, output. You will need to provide the
Module 9V-12V AT89C2051 6 Digital but no other functions (eg, date, year, CR1220 battery for time back-up.
LED Electronic Clock Parts 9UK’ (eg, temperature, alarm) are provided. Space doesn’t allow a full description
eBay item 141971072785, £2.41 deliv- The board overlay is clear and the of all the functions, but the module can
ered at the time of writing). Compared solder pads of a decent size, and not operate the relay for a defined period
with the previous clock, it’s a bit ‘plain placed too close together. When as- daily, on a specific day of the week, or
Jane’, but it’s also a quite straightfor- sembling the kit, do note these points: on a specific day of the month.
ward kit to construct, and that makes n Install the three wire links first, The time can be continuously dis-
it potentially a good fit for beginners as one is placed under one of the played or can be switched off in a
or schools. two-digit displays battery-saving mode, and the on-board
buzzer can sound when the relay op-
erates, or it can be deactivated.
Find the module on Banggood (ID:
1314176) for just under £5, delivered.
Next month
In the October issue, I’ll look at a varie-
ty of items that are suitable for use with
your car. However, even if you’re not
interested in automotive electronics,
all the products also have non-auto-
motive uses.
Fig.5. This module integrates a real-time clock with a programmable relay output. Timed
periods can be set for activation on a daily, weekly or monthly basis.
FEBRUARY 2019
Valid From . . . . . . . . . . . . . . . . . Expiry Date . . . . . . . . . . . . . . . .
1.5kW Induction Motor Speed Controller........................... 10105122 £35.00 Card Security No . . . . . . . . . .
MARCH 2019
10-LED Bargraph Main Board ........................................... 04101181 £11.25 You can also order PCBs by phone, Fax, Email or via the
+Processing Board ............................................. 04101182 £8.60 shop on our website on a secure server: [Link]
PCBs for most recent PE/EPE constructional projects are available. All prices include VAT and UK p&p. Add £2 per board for airmail outside
From the July 2013 issue onwards, PCBs with eight-digit codes have silk of Europe. Orders and payment should be sent to:
screen overlays and, where applicable, are double-sided, plated-through Practical Electronics, Wimborne Publishing Ltd
hole, with solder mask. They are similar to photos in the project articles. 113 Lynwood Drive, Merley, Wimborne, Dorset BH21 1UU
Earlier PCBs are likely to be more basic and may not include silk screen Tel 01202 880299 Fax 01202 843233
overlay, be single-sided, lack plated-through holes and solder mask. Email: [Link]@[Link]
Always check price and availability in the latest issue or online. A large On-line Shop: [Link]
number of older boards are listed for ordering on our website. Cheques should be made payable to Practical Electronics (Payment
We do not supply kits or components for our projects. For older in £ sterling only).
projects it is important to check the availability of all components NOTE: While 95% of our boards are held in stock and are dispatched
before purchasing PCBs. within seven days of receipt of order, please allow a maximum of 28 days
Back issues of articles are available – see Back Issues page for details. for 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 our classified page offers excellent value. Practical Electronics
The rate for semi-display space is £10 (+VAT) per centimetre high, with reaches more UK
a minimum height of 2·5cm. All semi-display adverts have a width of readers than any other
5.5cm. The prepaid rate for classified adverts is 40p (+VAT) per word UK monthly hobby
(minimum 12 words).
electronics magazine.
Cheques are made payable to Practical Electronics. VAT must be added.
Our sales figures prove it.
Advertisements with remittance should be sent to: Practical Electronics,
113 Lynwood Drive, Wimborne, Dorset, BH21 1UU. We have been the leading
Tel 01202 880299 Email: [Link]@[Link] monthly magazine in
For rates and further information on display and classified advertising this market for the last
please contact our Advertisement Manager, Stewart Kearn – see below. twenty-seven years.
Unit 10, Boythorpe Business Park, Dock Walk, Chesterield,
ADVERTISING INDEX
CRICKLEWOOD ELECTRONICS . . . . . . . . . . . . . . . . . . . .69 Advertisement offices
ESR ELECTRONIC COMPONENTS . . . . . . . . . . . . . . . . . .69 Wimborne Publishing Ltd
HAMMOND ELECTRONICS Ltd . . . . . . . . . . . . . . . . . . . . . .8 113 Lynwood Drive
JPG ELECTRONICS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .80 Merley
LASER BUSINESS SYSTEMS . . . . . . . . . . . . . . . . . . . . . .41 Wimborne,
MICROCHIP . . . . . . . . . . . . . . . . . . . .Cover (ii), Cover (iii) & 5 Dorset BH21 1UU
PEAK ELECTRONIC DESIGN. . . . . . . . . . . . . . . . . Cover (iv) Tel 01202 880299
POLABS D.O.O.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57 Fax 01202 843233
QUASAR ELECTRONICS . . . . . . . . . . . . . . . . . . . . . . . . . . .2 Email [Link]@[Link]
SOUNDTRONICS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3 Web [Link]
STEWART OF READING. . . . . . . . . . . . . . . . . . . . . . . . . . . .9
TAG-CONNECT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31 For editorial contact details see page 7.
Audio Out
Next month, more essential loudspeaker groundwork, with a focus on
crossover options for our superb LS3/5A mini-monitor project.
PLUS!
All your favourite regular columns from Cool Beans, Circuit Surgery
and Electronic Building Blocks to Techno Talk and Net Work. On sale 5 September 2019
Content may be subject to change
JPG Electronics
Britannia Maison Mes Amis
Inn
Old Road
3. Send a cheque with your details to:
ad
Roa
d Electron Publishing Limited
Old H
orth
Cha
tsw
Morrisons 113 Lynwood Drive
Sparks Wimborne
Retail & Trade Welcome • Free Parking • Google St View Tour: S40 2RB Dorset BH21 1UU
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: £25.00 (6 months); £47.00 (12 months); £89.00 (2 years). EUROPE: airmail service, £30.00 (6 months); £56.00 (12 months);
£107.00 (2 years). REST OF THE WORLD: airmail service, £37.00 (6 months); £70.00 (12 months); £135.00 (2 years). Payments payable to ‘Practical Electronics’, Electron Publishing Limited, 113 Lynwood Drive,
Wimborne, Dorset BH21 1UU. Email: [Link]@[Link]. 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.
Part Number
DV164045
The Microchip name and logo, PIC and MPLAB are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
All other trademarks mentioned herein are the property of their respective companies.
© 2019 Microchip Technology Inc. All rights reserved. MEC2298-ENG-07-19