Professional Documents
Culture Documents
NE
OF 10
MICRO
MPLAB CHIP
Xp
Evalua ress
tion
LOW-COST REFERENCE
Boards
Part Number
PG164130
microchip
DIRECT
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.
2016 Microchip Technology Inc. All rights reserved. MEC2077Eng06/16
Our September 2016 issue will be published on Readers Services Editorial and Advertisement Departments 7
Thursday 4 August 2016, see page 72 for details.
Card Sales
& Enquiries
PIC Programmer & Experimenter Board 4-Ch DTMF Telephone Relay Switcher
PIC & ATMEL Programmers PIC Programmer & Experi- Call your phone num-
menter Board with test ber using a DTMF
We have a wide range of low cost PIC and
buttons and LED indicators phone from anywhere
ATMEL Programmers. Complete range and
to carry out educational in the world and re-
documentation available from our web site.
experiments such as the motely turn on/off any
Programmer Accessories: supplied programming examples. Includes a of the 4 relays as de-
40-pin Wide ZIF socket (ZIF40W) 9.95 16F627 Flash Microcontroller that can be sired. User settable Security Password, Anti-
18Vdc Power supply (661.121UK) 19.96 reprogrammed up to 1000 times. Software to Tamper, Rings to Answer, Auto Hang-up and
Leads: Parallel (LDC136) 2.56 | Serial compile and program your source code is Lockout. Includes plastic case. 130 x 110 x
(LDC441) 2.75 | USB (LDC644) 2.14 included. Supply: 12-15Vdc. 30mm. Power: 12Vdc.
Kit Order Code: K8048 - 29.58 21.54 Kit Order Code: 3140KT - 79.95
USB & Serial Port PIC Programmer Assembled Order Code: VM111 - 38.88 Assembled Order Code: AS3140 - 94.95
USB or Serial connection.
Header cable for ICSP. 8-Ch Serial Port Isolated I/O Relay Module
Computer controlled 8
Free Windows software. Controllers & Loggers channel relay board. 5A
See website for PICs sup-
ported. ZIF Socket & USB Here are just a few of the controller and mains rated relay outputs
lead extra. 16-18Vdc. data acquisition and control units we have. and 4 opto-isolated digital
Kit Order Code: 3149EKT - 49.96 23.95 See website for full details. 12Vdc PSU for inputs (for monitoring
Assembled Order Code: AS3149E - 38.95 all units: Order Code 660.446UK 10.68 switch states, etc). Useful
Assembled with ZIF socket Order Code: in a variety of control and
AS3149EZIF - 74.96 48.95 USB Experiment Interface Board sensing applications. Programmed via serial
Updated Version! 5 digi- port (use our new Windows interface, termi-
USB PIC Programmer and Tutor Board tal inputs, 8 digital outputs nal emulator or batch files). Serial cable can
This tutorial project plus two analogue inputs be up to 35m long. Includes plastic case
board is all you need and two analogue out- 130x100x30mm. Power: 12Vdc/500mA.
to take your first steps puts. 8 bit resolution. DLL. Kit Order Code: 3108KT - 74.95
into Microchip PIC Kit Order Code: K8055N - 39.95 22.74 Assembled Order Code: AS3108 - 89.95
programming using a Assembled Order Code: VM110N - 39.95
PIC16F882 (included). Later you can use it Infrared RC 12Channel Relay Board
for more advanced programming. It programs 2-Channel High Current UHF RC Set Control 12 onboard relays
all the devices a Microchip PICKIT2 can! State-of-the-art high securi- with included infrared remote
You can use the free Microchip tools for the ty. Momentary or latching control unit. Toggle or mo-
PICKit2 and the MPLAB IDE environment. relay outputs rated to switch mentary. 15m+ range. 112 x
Order Code: EDU10 - 46.74 up to 240Vac @ 10 Amps. 122mm. Supply: 12Vdc/0.5A
Range up to 40m. 15 Txs Kit Order Code: 3142KT - 64.96 51.96
ATMEL 89xxxx Programmer can be learnt by one Rx (kit Assembled Order Code: AS3142 - 61.96
Uses serial port and any includes one Tx but more
standard terminal comms available separately). Supply 9-15Vdc. Audio DTMF Decoder and Display
program. 4 LEDs display Kit Order Code: 8157KT - 44.95 Detect DTMF tones from
the status. ZIF sockets Assembled Order Code: AS8157 - 49.96 telephone handsets, tape
not included. 16Vdc. recorders, receivers, two-
Kit Order Code: 3123KT - 32.95 21.95 Computer Temperature Data Logger way radios, etc using the
Assembled ZIF: AS3123ZIF- 48.96 37.96 Serial port 4-channel temper- built-in mic or direct from
ature logger. C or F. Con- the phone line. Charac-
Introduction to PIC Programming tinuously logs up to 4 sepa- ters are displayed on a 16 character display
Go from complete beginner rate sensors located 200m+ as they are received and up to 32 numbers
to burning a PIC and writing from board. Wide range of can be displayed by scrolling the display. All
code in no time! Includes 49 free software applications for data written to the LCD is also sent to a serial
page step-by-step PDF storing/using data. PCB just 45x45mm. Pow- output for connection to a computer. Supply:
Tutorial Manual + Program- ered by PC. Includes one DS1820 sensor. 9-12V DC. Main PCB: 55x95mm.
ming Hardware (with LED Kit Order Code: 3145KT - 19.95 16.97 Kit Order Code: 3153KT - 37.96
test section) + Windows Software (Program, Assembled Order Code: AS3145 - 22.97 Assembled Order Code: AS3153 - 49.96
Read, Verify & Erase) + a rewritable Additional DS1820 Sensors - 4.96 each
PIC16F84A. 4 detailed examples provided for 3x5Amp RGB LED Controller with RS232
you to learn from. PC parallel port. 12Vdc. 8-Channel Ethernet Relay Card Module 3 independent high power
Kit Order Code: 3081KT - 17.95 Connect to your router with channels. Preprogrammed
Assembled Order Code: AS3081 - 24.95 standard network cable. Oper- or user-editable light se-
ate the 8 relays or check the quences. Standalone op-
PICKit2 USB PIC status of input from anywhere in tion and 2-wire serial inter-
Programmer Module world. Use almost any internet face for microcontroller or
Versatile, low cost, browser, even mobile devices. PC communication with simple command set.
PICKit2 Development Email status reports, programmable timers, ... Suitable for common anode RGB LED strips,
Programmer. Programs all Assembled Order Code: VM201 - 134.40 LEDs and incandescent bulbs. 56 x 39 x
the devices a Microchip PICKIT2 programmer 20mm. 12A total max. Supply: 12Vdc.
can. Onboard sockets & ICSP header. Many items are available in kit form (KT suffix) Kit Order Code: 8191KT - 29.95 24.95
Assembled Order Code: VM203 - 39.54 or pre-assembled and ready for use (AS prefix) Assembled Order Code: AS8191 - 29.95
Secure Online Ordering Facilities Full Product Listing, Descriptions & Photos Kit Documentation & Software Downloads
Announcing our
Special Summer Sale!!
EPE Special Offers:
25% off of all PCBs up to and including those in the June 2016 issue
25% off all EPE hard copy back issues
25% off all EPE back issue 6-month CDROMs
25% off all EPE back issue 5-year CDROMs
Please note: The 25% will be deducted when the order is processed. This will not
show on your online order confirmation.
The kit walks you through the Arduino programming and basic electronics in
a hands on way. You will be able to build 15 projects using the components
supplied. They allow you to control the physical world through different kinds
of sensors and actuators. Once you have mastered this knowledge, you will
have the ability and circuits to create something beautiful, and make someone
smile with what you invent. So build, hack and share!
The Arduino Starter kit is the ideal partner for anyone following the Teach-In 2016
Teach-In 2016
which started in the February 2016 issue of EPE Everyday Practical Electronics. Exploring the
Arduino
This Starter kit is supplied with a Wood base, USB & Interconnect leads, Electric motor, Piezo sounder, Movement
and Temperature sensors, Switches, LCD, Breadboard & Servo motor. The kit also includes over 100 electronic com-
ponents:- Diodes, Transistors, Capacitors, h-Bridge, Resistors, LED's, Switches and Trimmers. Quote: EPEARDSK
Quote: EPEPSU
11
Editorial Offices:
EVERYDAY PRACTICAL ELECTRONICS
EDITORIAL Wimborne Publishing Ltd., 113 Lynwood
Drive, Merley, Wimborne, Dorset, BH21 1UU
Phone: 01202 880299. Fax: 01202 843233.
Email: fay.kearn@wimborne.co.uk
Website: www.epemag.com
See notes on Readers Technical Enquiries below
we regret technical enquiries cannot be answered
Happy Birthday Net Work!
over the telephone. Doesnt time fly when youre having fun? Can it really be 20 years since Net
Advertisement Offices: Work started? Well, it is, and we have quite a treat for you this month and
Everyday Practical Electronics Advertisements next. Alan Winstanley is looking back over the history of the Internet and
113 Lynwood Drive, Merley, Wimborne, Dorset, EPEs long and fruitful relationship with the online community.
BH21 1UU
Phone: 01202 880299 Fax: 01202 843233
Email: stewart.kearn@wimborne.co.uk I distinctly remember my first contact with the Web in the very early
1990s it was in a university library, and to be honest, it was less than
Editor: MATT PULZER
Subscriptions: MARILYN GOLDBERG impressive. For no particular reason I tried to view a painting from the
General Manager: FAY KEARN Prado in Madrid. I think it took at least ten minutes to appear and even then
Graphic Design: RYAN HAWKINS it was a fairly crummy jpeg. Underwhelming was my initial reaction, but I
Editorial/Admin: 01202 880299
Advertising and
made a mental note to keep an eye on the technologys progress.
Business Manager: STEWART KEARN
01202 880299 Then, around the start of the mid-90s, along with many EPE readers I took
On-line Editor: ALAN WINSTANLEY
the plunge and bought my first dial-up 14.4kbit/s modem (I think from US
Publisher: MIKE KENWARD Robotics). If all you have ever known is modern cable speeds then slow
READERS TECHNICAL ENQUIRIES
doesnt even begin to describe the operation of early Internet technology
Email: fay.kearn@wimborne.co.uk but, it did work, and for very basic websites and email with modest
We are unable to offer any advice on the use, purchase, attachments the system delivered. I got used to the sound of the Internet
repair or modification of commercial equipment or the (https://youtu.be/p8XKhCfsTts) and a later jump to a 56k modem felt like
incorporation or modification of designs published
in the magazine. We regret that we cannot provide moving from a Ford to a Ferrari!
data or answer queries on articles or projects that are
more than five years old. Letters requiring a personal Fast forward 20 years, and like many of you, I cannot imagine working
reply must be accompanied by a stamped self-
addressed envelope or a self-addressed envelope and without the Internet. For younger readers, there has never been a time
international reply coupons. We are not able to answer when unlimited digital information, commerce and entertainment were
technical queries on the phone. not available 24/7. It has been an amazing revolution, and Alans trip down
PROJECTS AND CIRCUITS memory lane is truly fascinating.
All reasonable precautions are taken to ensure that
the advice and data given to readers is reliable. We
cannot, however, guarantee it and we cannot accept
Wed love to hear readers early online experiences good, bad, frustrating
legal responsibility for it. and funny. Drop us an email at: editorial@wimborne.co.uk
A number of projects and circuits published in
EPE employ voltages that can be lethal. You should
not build, test, modify or renovate any item of mains- This month
powered equipment unless you fully understand the
safety aspects involved and you use an RCD adaptor.
So much for the past, what do we have for you this month lots of
electronic goodies! From Teach-In 2016 and Audio Out to PIC n Mix
COMPONENT SUPPLIES
We do not supply electronic components or kits for
and Circuit Surgery well keep you busy and informed for the next four
building the projects featured, these can be supplied weeks. My top pick this month is the Low-cost, Accurate Voltage/Current/
by advertisers. Resistance Reference project. Its cheap, quick to build and really everyone
We advise readers to check that all parts are still should have one. Despite its tiny size its good enough to calibrate a digital
available before commencing any project in a back-
dated issue. multimeter, but would also be perfectly at home in a larger project; for
example, providing a dependable reference voltage for an Arduinos ADC.
ADVERTISEMENTS
Although the proprietors and staff of EVERYDAY Build one! You wont regret it.
PRACTICAL ELECTRONICS take reasonable
precautions to protect the interests of readers by
ensuring as far as practicable that advertisements are
bona fide, the magazine and its publishers cannot give
any undertakings in respect of statements or claims
made by advertisers, whether these advertisements
are printed as part of the magazine, or in inserts.
The Publishers regret that under no circumstances
will the magazine accept liability for non-receipt of
goods ordered, or for late delivery, or for faults in
manufacture.
TRANSMITTERS/BUGS/TELEPHONE
EQUIPMENT
We advise readers that certain items of radio
transmitting and telephone equipment which may
be advertised in our pages cannot be legally used in
the UK. Readers should check the law before buying
any transmitting or telephone equipment, as a fine,
confiscation of equipment and/or imprisonment can
result from illegal use or ownership. The laws vary from
country to country; readers should check local laws.
www.microchipDIRECT.com
The Microchip name and logo, 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.
2015 Microchip Technology Inc. All rights reserved. DS40001752B. MEC2010Eng04/15
Low-cost, Accurate
Voltage/Current/
Resistance Reference
This small module is based on a lithium coin cell, a voltage
reference IC, a precision resistor and little else. It provides a
reference voltage of 2.5V1mV (0.04%), a resistance of 1k1
(0.1%) and a current of 2.5mA3.5A (0.14%). It can be used for
checking or calibrating multimeters or anywhere that an accurate
and stable voltage is required.
By Nicholas Vinen
Circuit description
The full circuit is shown in Fig.1 and there isnt
much to it. IC1 is the Maxim voltage reference
Voltage Reference0815 (MP 1st & SK) August 2016.indd 12 27/06/2016 09:00
Constructional Project
OUTF 6
OUT+
4.7 F BANDGAP
6.3V
VOLTAGE 4.7 F
REFERENCE
6.3V
A GNDF 1
ON OUT
LED1 3 GNDS 2
EN
K
ON SWITCH D
S1
100 Q1
IRLML6344
G
K S
D1 1N4148 LED
BATTERY1 4.7 F CATHODE
1N4148 3V 6.3V
10M BAND
A K
(OPTIONAL, A
SEE TEXT) K
A
IRLML6344 MAX6 0 71
6 5
D
VOLTAGE/CURRENT/RESISTANCE
SC VOLTAGE/CURRENT/RESISTANCE REFERENCE
4
20 1 5 REFERENCE 3V3VVERSION
VERSION G
S
1
2 3
Voltage Reference0815 (MP 1st & SK) August 2016.indd 13 27/06/2016 09:00
Constructional Project
www.siliconchip.com.au 6.3V
VOLTAGE 4.7 F
REFERENCE
6.3V
A GNDF 1
ON OUT
LED1 3 GNDS 2
EN
K
ON SWITCH D
S1
100 Q1
IRLML6344
G
S
3
LED BAV99
BATTERY1 4.7 F D2 CATHODE
6V 6.3V
10M BAND
3
BAV99 K
2 1 1
A 2
IRLML6344 MAX6 0 71
6 5
D
VOLTAGE/CURRENT/RESISTANCE
SC VOLTAGE/CURRENT/RESISTANCEREFERENCE
4
20 1 5 REFERENCE 6V6VVERSION
VERSION G
S
1
2 3
Voltage Reference0815 (MP 1st & SK) August 2016.indd 14 27/06/2016 09:00
Constructional Project
1k
1k
4 7 4 7
pact. Unless you will be using the unit OUT+ OUT+
100
100
2.2k
2.2k
STACKED BUTTON
+
+
BUTTON CELL HOLDER
frequently, the reduced cell capacity 4 7 OUT CELL HOLDER 4 7 OUT
probably wont matter. IC1 4.096V
2.500V
IC1 4.096V
2.500V
04108151 04108151
Regardless, when using two cells, S1 1.8V 4 7
2.048V
1.250V S1 1.8V 4 7
2.048V
1.250V
diode D2 will need to be fitted. Thats 3V VERSION (OPTIONAL DIODE D1 UNDERNEATH) 6V VERSION
because IC1s maximum recommend- Fig.3: follow this PCB parts layout Fig.4: this is the layout for the 3V
ed operating voltage is 5.5V and D2s diagram to build the versions with to 5V versions. It includes diode
forward voltage will reduce the ~6V outputs up to 2.5V. D2 and a 2-cell holder.
from two fresh cells to be very close to
5.5V. The alternative circuit is shown
in Fig.2. With D2 in circuit, theres no
need to fit D1 as D2 will block reverse
current. Otherwise, the circuit remains
the same.
Voltage Reference0815 (MP 1st & SK) August 2016.indd 15 27/06/2016 09:00
Constructional Project
101
REFERENCE
4 7
ENABLE
the Arduino board itself. You could also measurements. FROM
TO AGND
leave off MOSFET Q1 and short it out if you Note that you MICRO/
IC1 4.096V
2.500V
04108151
4 7
dont need the micro to be able to switch need to cut one of ARDUINO 1.8V
2.048V
1.250V
CUT TRACK
(TOP SIDE)
the reference voltage on and off. the PCB tracks. OUTPUT
AREF VERSION FOR A MICRO OR ARDUINO
not sure whether IC1 would survive a OUT+ and IOUT) and verify the ex- This also has the advantage that any
reversed cell; it might, due to the cells pected current by connecting a DMM voltage up to the supply voltage can
internal resistance limiting current set to measure milliamps between be measured using the ADC.
but we havent been game to test this. IOUT and OUT. Note that the reading However, you are then at the mercy
may be a little lower than expected; see of the accuracy of the regulator provid-
Finishing it up the article on multimeter calibration in ing this supply. It may have a stated
Before placing the unit in its protective this issue for an explanation. error of less than 1%; for example, the
heatshrink sleeve, check that its work- Now its just a matter of sliding the MCP1700 low-dropout linear voltage
ing properly. First you need to insert clear heatshrink tubing over the unit regulator has a typical tolerance of
the cell (or cells). Check the polarity and shrinking it down. Dont cover 0.4%. However it isnt uncommon
markers on the holder and cell(s) and the test terminals right at the end of for a linear regulator to have a much
then slide them into place. the board, although its a good idea to larger output voltage error such as 2%
Next, press S1 and verify that insulate everything else. You can cut or even 5%.
LED1 lights up, then goes out about off any excess after shrinking. Note You also have to consider noise
20s later. Note that if you touch the that if using the double-stack CR2032 which may be injected into this rail
back of S1, your skin resistance can cell holder, the tubing will be a tight from other devices drawing power in
be enough to cause the unit to turn fit but we managed to get it onto our bursts, which can add an extra layer
on briefly (this will be prevented prototype unit OK. of uncertainty to ADC measurements.
once the heatshrink is in place). Youre now ready to check and/or Its much better to use an accurate
If LED1 does not turn on, it may have calibrate your multimeter(s) see the voltage reference, normally fed into a
been fitted backwards or there could accompanying article for details on dedicated pin on the micro (labelled
be a soldering problem. Press S1 and doing this. something like AREF). This will be
measure the voltage across LED1; if it free of noise and has the potential to
is 2V or more, then LED1 is suspect, Other uses have a much better defined voltage.
otherwise voltage is not getting to it This voltage reference may also be Note though that if you expect to
for some reason. useful to allow very accurate voltage make accurate measurements using
Assuming LED1 lights up, measure measurements to be made by micro- an ADC fed with such a reference
the voltage between OUT+ and OUT controllers, including those on Ar- voltage, you will also need to make
and verify that its within specifica- duino boards. sure that any voltage dividers feeding
tions. If it seems low, press S1 again The ADC in a microcontroller needs ADC inputs use resistors with accurate
to ensure Q1 is fully on. Now is also some sort of reference voltage. This is values or that you have the ability to
a good time to use a marker pen to in- usually either its supply voltage (5V or trim them. You will also need to keep
dicate which output voltage has been 3.3V) or an internally generated refer- the source impedance for the ADC in-
selected by marking one of the rectan- ence. However, the internal reference puts low, ie, dont use high values in
gles provided on the PCB silkscreen. is usually pretty inaccurate (0.1V is the divider.
If youve fitted the 1k resistor you typical) so in most cases youre better If in doubt, check the microcon-
can now check its resistance (between off using the supply voltage instead. trollers data-sheet.
Voltage Reference0815 (MP 1st & SK) August 2016.indd 16 27/06/2016 09:00
Constructional Project
Reproduced by arrangement
180), read this value on the same
with SILICON CHIP range as you used to check the 1k
magazine 2016. calibration resistor, then switch into
www.siliconchip.com.au the lower range and verify that the
reading is correct. Then using a smaller
value again, proceed down through the
lower ranges.
Of course, the ideal situation would
be to have a precision resistance box
or a series of individual precision re-
sistors but in practice, this cheaper
method should do the job.
Ammeter checking
Testing an ammeter with the current
source on our reference board is a
little more involved because it has a
high output impedance of 1k. That
means that, depending on the multi-
meters range setting, its shunt resist-
ance (and by implication, burden volt-
age) will affect the reading. However,
you can easily compensate for this.
The simplest method is to use a sec-
ond multimeter to measure the shunt
resistance of the meter being tested.
The current is nominally 2.5mA for
the 2.5V unit (5mA for the 5V unit,
If you dont have a service etc) so it should be suitable for testing
manual for your multimeter,
you will have to figure out
both milliamp and microamp ranges
which pot does what by a (if present). To measure the shunt re-
process of trial and error. sistance, set the DMM on the range
being tested, then connect the second
meter in resistance mode between its
current measurement terminals.
First, set the multimeter to be cali- connect a resistive divider or poten- On our example meter, we got a
brated into DC voltage measurement tiometer across the reference outputs, reading of 101.28 on the microamps
mode and set the range to the lowest measure the resulting voltage on the range, 2.2 on the milliamps range and
range that will read the test voltage higher range and then check that the 0.077 on the amps range.
(if its auto-ranging, it will select this lower range gives a similar reading. You can then calculate what the
automatically). Connect the probes to meter should read in each range by
the OUT+ and OUT terminals on the Resistance mode adding the calibration resistor value
reference, switch it on and check the Checking the resistance reading is a to the measured shunt resistor values
reading. If it is as close to the expect- similar process. Set the DMM on its and dividing into the reference volt-
ed value as the meter can read, you lowest mode that can read 1k (this age. In our case, our calibration resis-
know its properly calibrated. You can will usually be the 2k, 4k or 5k tor measured 999.866 (an error of just
reverse the probes and check that the range) and check that the reading is as -0.013%!) and our reference voltage
negative reading is equally accurate. close as possible to the actual value. 2.499987V. Thus the expected read-
You can also check that the reading To check higher ranges, you could ings for this meter are:
is correct on higher settings, although use the same resistor however its bet-
the number of digits shown will of ter to pick a random resistor which (a) 2.499987V (999.866 +
course be reduced so this will be a is just below the maximum you can 101.28) = 2.270mA in A mode
less accurate test. Still, its worth do- read on the current range, note its (b) 2.499987V (999.866 + 2.2) =
ing. Note that a typical DMM typically value, then switch to the next higher 2.4948mA in mA mode
only has a single adjustment for its DC range and verify that the reading is
voltage mode so if it is out in some very close. You can then pick a re- (c) 2.499987V (999.866 + 0.077)
ranges and not others, you probably sistor with 10x the value as the last = 2.5mA in A mode
wont be able to improve the situation and repeat the process up through We didnt calibrate the example
without actually replacing some of its the ranges. DMM but we did check its read-
on-board multiplier resistors. Ranges below 1k can be checked ings against these and got 2.270mA,
For checking lower voltage ranges, using the same procedure, ie, pick a 2.495mA and 2.5mA respectively. So
where the output of the reference will resistor with a value thats towards it seems it doesnt need any adjust-
give an over-range error, you could the upper limit of the lower range (eg, ments for now.
Multimeter Calibration0815 (MP 1st & SK) August 2016.indd 18 27/06/2016 09:03
Constructional Project
found it at the Fluke website. It con- meter thats way out of calibration! So
firms that the single trimpot is used to calibrate the voltage, resistance and
adjust the DC voltage reading. They current pots using the previous expla-
suggest using a test voltage of 3V, which nations for how to check the operation
our reference board can provide with of each mode. All you have to do is
a suitable reference IC, however 2.5V adjust the appropriate trimpot until
should work fine too. each reading is correct (or as close as
There should be a manufacturer- you can get it). If there are any pots that
While the nominal accuracy of the Maxim provided service manual available for you cant calibrate, refer to the photo
voltage reference is 0.04%, typically it just about every modern, brand-name you took earlier to set them back into
will be much better, as demonstrated by DMM on the market. If you have a re- their original positions.
this readout on a Keysight 34470A bench badged DMM, you may have some luck Note that in some cases, the pots
multimeter.
if you do a web search to find out the themselves may not be directly acces-
Performing calibration original manufacturers model number sible without removing the PCB or un-
If any of your checks give results with for that product, then look up the ser- plugging a sub-module, however you
a noticeable deviation from the ex- vice manual for that product. may find that you can adjust them from
pected values (ie, more than 1), you If you cant find a manual for your the back through holes in the board.
will probably want to trim the meter to meter but theres only a single pot, Generally its impossible to calibrate
make it more accurate. Unfortunately, chances are that, like the Fluke 77, it a multimeter without being able to
the procedure for doing this will be adjusts the reading in the DC voltage observe the display while making ad-
different for each meter, but there are mode. In that case, its just a matter of justments so theres usually a way to
some common steps. hooking the reference up and tweaking do it with the board still in the case.
First, you need to gain access to the it until the reading is correct. It may By the way, do not be tempted to
trimpots on the PCB(s). This usually in- or may not also affect the current and use the 230VAC mains or other high-
volves removing the back of the meter. resistance readings. voltage sources to calibrate a DMM.
If it is in a rubber holder, remove that If there are multiple trimpots though, It isnt safe to connect a DMM to the
first, then look for screws on the back. its unlikely they will be labelled with mains with the case open. You could
There are usually 2-4 screws holding anything other than a code. If you cant get a lethal shock if you do.
the back on. You may also need to re- find a service manual for your DMM,
move the battery cover first. youll have to figure out what they do Digital calibration
Usually, having undone the screws, the hard way. Some modern DMMs use digital
the back will pull off quite easily. First, take a photo of the trimpots so calibration. Theres no need to open
Modern DMMs are usually built on a you can see which position each one the unit up; calibration is performed
single board but some may comprise is in, in case you cant easily re-cali- by manipulating the buttons on the
two PCBs joined with headers or some brate it later. Then, switch the meter front panel. For example, our Agilent
other form of connector. Inspect the into each mode in turn and adjust each U1252A and U1253B multimeters use
board(s) and locate any trimpots. Weve trimpot. Youll probably have to hook this procedure.
seen as few as one and as many as 12! something up to the input terminals in In this case, youll need the service
If youre lucky, a service manual each mode to make changes apparent. manual for instructions on how to enter
will be available on the internet for Once you figure out what a given trim- adjustment mode and perform the cali-
the model of multimeter you are cali- pot adjusts, write it down and move bration. Its usually a similar process
brating which details the location and onto the next mode. to adjusting trimpots, except that the
function of each trimpot. Hopefully, by the end of this pro- up/down adjustments are made using
For example, we had a look for the cess you have a full list of what each pushbuttons. Youll still need the ref-
manual for our venerable Fluke 77 and trimpot does. Youll also likely have a erence board to make the adjustments.
Enclosures
for the hobbyist
Raspberry Pi specific
Arduino specific
plastic
die-cast aluminium
many designs and sizes
Multimeter Calibration0815 (MP 1st & SK) August 2016.indd 19 27/06/2016 10:41
Constructional Project
+ +
TP5.5V
intend using a 12V or 9V DC plugpack + CON1 L1
TL499A
+
REG1
TO CON1 TP5.5V
+
L1
to charge the cell instead of using a Low ESR
TP5.5V
H H
SOLAR +
TL499A
+
REG1
TO+ L1
TL499A
47 47
CELL +
REG1
Low ESR
solar panel. TO
SOLAR Low ESR
47 H
SOLAR
CELL 220 F 10V
A 220 1W resistor should be fitted CELL R1* D1
+ +
220 F 10V
CELLCELL
D2
5**0SEE 220 F 10V
for a 12V DC plugpack, while a 100 1 5 1R1 1 5 1 TEXTD1
330
100k
HOLDER
* D2 1nF
151051511R1 D1
4004 4004
4004 4004
Low ESR
AA AA
1W resistor is used for a 9V DC plug- 5 1 5*0SEE 5 1 TEXT
330
11nF
AA CELL
D2
100k
HOLDER
C 2015 * SEE TEXT 1nF
Sensitivity330
1 5 1 5 0 1 5 1 Low ESR
LMC6041 100k
15105151
4004
4004
pack. Dont forget to cut the PCB track 15105151SENSOR1
C HMC1021
2015 B1 1nF
Low ESR
470 F 10V
VR1 VR2 1M
HMC1021 1nF
100nF
C 2015 5.5VSET GND TX1
underneath the resistor a section of SENSOR1 B1 470 F 10V
100nF
CELL
TX1
LM2936Z-5.0
AD623
HMC1021 470 F 10V VR1 5.5VSET
VR2 1M
ALERT
DATA
SENSOR1
HMC1021
IC3 IC3
IC1 IC1
LMC6041
HMC1021 VR1 VR2 1M
the track has been thinned so that it
CELL
HMC1021 Vcc
LM2936Z-5.0
Sensitivity
GND
AD623
LMC6041
ALERT
DATA
Ferrite
LM2936Z-5.0
AD623
AAAA
500
IC3
Vcc
IC1
Ferrite
SENTRY
B2
100nF
= 168mm
100nF
Vcc
F F
1 F 500 +
The next step is to fit the two links
SENTRY
B2 1nF
SINGLE
1 F 1 F 100nF
ANT.
= 168mm
10 10
100nF
B2 100nF 500 +
1 F 1 F 100nF
100nF
ANTENNA = 168mm
Q41nF Q3 REG2
10 F
and their ferrite beads to the right of
SINGLE
1 1FF 100nF 2.2k ANT.
DRIVEWAY Q41nF 1 F 100nF Q3 100nF 10k
REG2 ANT.
1 F 2.2k
Sensor1. Its basically just a matter of
ANTENNA
100nF
DRIVEWAY
1 F Q4 BC327 Q3BC327 2.2k 10k REG2
ID
1 F 10k
+ +
ANTENNA
inserting a length of tinned copper BC327 BC327 ID
1010 1 F
PIC16F88
BC327 BC327 ID TP1
220
wire through each bead, then bending
2.2k
1010
4.7k4.7k
2.2kVout
LED1 22k22k
PIC16F88
VR3 10k TP1
+
10k10k
Low ESR
IC2 PIC16F88
220
the leads down on either side so that Low ESR VR3 10kTP1
220
2.2k
10
10
4.7k
22k
VR3
LK1 10k ENTRY
10k
Low ESR
470 F
they go through the holes in the PCB. A K
IC2 IC2
LK2 EXIT
10V LK1 ENTRY
470 F SWAP
Follow with the two 1N4004 diodes 470 F
10V
Q1 IRF540 Q2 IRF9540 A K LK1LK3
LK2 ENTRY
EXIT
TP GND
LED1
A K LK2 EXIT
10V Q1 IRF540 Q2 IRF9540 DETECT LK3 SWAP
(D1 and D2), taking care to ensure they
LED1
Q1 IRF540 Q2 IRF9540 LK3 SWAP TP GND
DETECT TP GND
go in with the correct polarity. An IC DETECT
socket should then be fitted for PIC Fig.12: install the parts on the detector PCB as shown here, starting with
microcontroller IC2, after which you the HMC1021 magneto-resistive sensor. Note that resistor R1 is omitted if
can solder IC1, IC3 and REG1 directly you are charging the AA cell from a solar panel (see text).
to the PCB (or you can install them in
IC sockets). Be careful not to get these
three 8-pin devices mixed up.
The seven PC stakes can now be
installed on the board. Five of these
are located at the TP 5.5V, TP GND,
TP1, Vout (next to IC2) and ANT (for
the UHF antenna) positions, while
the other two are fitted between coil
L1 and REG1 to terminate L1s leads.
Now for the capacitors. Fit the ce-
ramic and MKT polyester types first,
then install the five electrolytics. Note
that the 470F and 220F values must
be low-ESR types. Make sure that all
the electros are correctly oriented.
MOSFETs Q1 and Q2 are next on the
list, along with transistors Q3 and Q4
and regulator REG2. Be careful not to
get the MOSFETs mixed up Q1 is an
IRF540 N-channel type, while Q2 is an
IRF9540 P-channel device.
There are three trimpots on the PCB
and these can now be installed. VR1 The detector units antenna consists of a
is a 500 trimpot and may be marked 168mm length of insulated hook-up wire.
as 501, while VR2 and VR3 This should be fitted with a short length of
heatshrink tubing at its far end so that it
are both 10k trimpots and
cannot short against any parts on the PCB.
may be marked as 103. Be
sure to push them all the way
down onto the PCB before soldering
their leads. LED1 can then be soldered
in place with its anode lead (the longer
of the two) going to its A PCB pad.
Follow with the 3-way DIL header. Winding the inductor and strip the wire ends of the enamel
This part is installed to the right of Inductor L1 is wound on a powdered- insulation. The leads are then soldered
IC2, with the shorter length pins going iron toroid core using 32 turns of to the coils PC stakes, after which the
into the PCB. CON1, the 2-way screw 0.5mm enamelled copper wire. Wind toroid is secured in place using two
terminal block, can then go in with the turns on neatly in a single layer cable ties that loop through adjacent
its wire entry holes towards the left. around the core (see photo), then trim holes in the PCB.
Driveway Sentry0815 (MP 1st & SK) August 2016.indd 21 27/06/2016 09:08
Constructional Project
The detector PCB assembly can now polycarbonate case measuring 115 will invariably be a low-cost (read low-
by completed by installing the cell 90 55mm. This requires no prepa- quality) unit and you will be better off
holder, the UHF transmitter module ration apart from drilling a 12.5mm- discarding it and buying a new one.
and the antenna. The battery holder diameter hole in one end to accept a One problem is that the step-up
must be oriented as shown and is 3-6.5mm cable gland to feed through voltage regulator on the detector board
secured to the PCB using two self- the wiring from the solar panel (or will not initially operate if the NiMH
tapping screws. Its leads are then cut from a plugpack). AA cell is discharged. That means that
short and soldered to their PCB pads This hole is positioned 25mm the cell must be charged before test-
at either end of the holder, with the up from the outside base of the case ing the unit.
red wire going to the + pad and the and is centred horizontally. Use a If you dont have a suitable NiMH
black wire to the 0V pad. small pilot drill initially, then carefully charger, then the solar panel can be
Take care with the orientation of enlarge the hole to size using larger used to charge the cell. Its simply a
the UHF transmitter module. Its pin drills and a tapered reamer until the matter of removing the AAA cell and
designations are marked along one gland fits. the white LED from the garden light,
edge and its just a matter of fitting it to That done, the PCB assembly can then running leads from the solar pan-
the PCB with its antenna pin towards be lowered into the case and secured el to the detector PCB and installing
the bottom edge of the PCB (ie, towards using four M3 screws that go into the the AA cell in its holder. Note that the
the negative end of the cell holder). threaded corner bushes. The Neoprene solar cell must be in sunlight in order
The antenna consists of a 168mm seal for the lid then needs to be placed for charging to take place.
length of insulated hook-up wire. Sol- inside the surround channel and cut Alternatively, you can temporarily
der it to the antenna (ANT.) PC stake, to size. Note that the join in this seal run the leads from the solar cell to an
then cover the connection with a short must be along the lower, longer edge external cell holder. The detector PCB
length of 1mm-diameter heatshrink of the lid (the detector unit is later can then be temporarily fitted with an
tubing to prevent the lead from break- installed with the longer edges of the alkaline AA cell for testing.
ing at the solder joint. box running horizontally, so that the
PCB sits vertically to ensure maximum Detector PCB set-up
Fitting it in a case sensor sensitivity). Having installed the detector PCB in
The completed detector PCB can If you only require a UHF transmis- its case, its time to make a few adjust-
now be fitted inside a standard IP65 sion range of 40m or less, then the an- ments. Just follow this step-by-step
tenna wire can be positioned inside procedure:
the case (see photo). Make sure that
the the end of the antenna cannot short 1) Adjust trimpot VR1 to mid-setting
against the PCB or any of the parts (fit and set VR2 and VR3 fully anti-
some heatshrink tubing over the end clockwise.
to insulate it). 2) Install IC2 in its socket, making
Alternatively, for longer transmis- sure that its correctly oriented. Fit
sion ranges of up to 200m, the antenna the other ICs and REG1 if youve
wire can be fed out through a small installed sockets for these as well.
hole in the bottom edge of the 3) Fit the AA cell to its holder, then
box and this hole sealed with measure the voltage between the
silicone to keep water out. TP5.5V and GND PC stakes and ad-
just VR2 for a reading of 5.5V. If you
Solar panel cannot get sufficient voltage, it may
A free-standing solar panel be due to the AA cell. Check the cell
garden light will typically cost voltage and if thats OK, try momen-
1-2, with better quality units tarily removing the cell and reinsert-
coming in at around 5. This will ing it so that REG1 starts properly.
include the required solar panel, 4) Check that there is +5V at pin 14 of
a single NiMH cell and (typically) IC2 (this could be from 4.85-5.15V,
a white 5mm LED. However, the depending on the particular regula-
NiMH cell is usually an AAA tor used for REG2).
type and so wont be usable. 5) If all is OK, the unit should now
Even if an AA cell is fitted, it be ready to detect magnetic field
variations (about 10s after the cell
is installed). Orient the unit so
Left: inside the solar that the PCB is vertical and check
garden light. Its AAA that the bicolour LED lights red or
cell and white LED green if the unit is rotated by a few
must be removed and
degrees. The LED should then go
the cable from the
detector unit soldered out again after a brief period if the
across the battery unit is kept stationary.
holder contacts. 6) Check that the unit can detect a
pair of steel pliers if they are passed
Driveway Sentry0815 (MP 1st & SK) August 2016.indd 22 27/06/2016 09:08
Constructional Project
Diagnostic mode
Now install a jumper between LK2
and LK3, as shown on Fig.13. This sets
the unit into diagnostic mode which
is used for testing only, since other
circuit functions are disabled and the
circuit draws a relatively high current
while its in place.
By installing this link, variations
in IC1s output can be monitored us- The detector PCB is secured to integral threaded corner posts inside its IP65
ing a multimeter connected between case. Be sure to install the NiMH cell the right way around and note that the
cell must be charged before testing the unit.
Vout and TP GND. You can either ro-
tate the detector unit or swipe a pair
of steel pliers close to the sensor and
then check that the DMM shows the
resulting variations in IC1s output.
Note: this mode is not used when
adjusting IC1s gain. Thats done later
by trial and error when the detector
unit is installed in the driveway.
Linking options
As mentioned last month, jumpers Our prototype had the cable gland fitted to a side
panel but fitting it to the bottom panel would be
LK1-LK3 determine the information
preferable in many installations.
thats encoded into the UHF transmis-
sion sent to the receiver see Fig.13.
As shown, LK1 is installed for arrival the relay version of the receiver and If you want to trigger the remote
(entry) notifications, while LK2 gives you want to trigger a remote-controlled for both directions, install both LK1
departure (exit) notifications. Depend- mains switch for a set period of time and LK2.
ing on your requirements, you can ei- only when a vehicle arrives. In that LK3 is installed if the arrival and
ther install both these links or leave case, you would install a jumper on departure indications are incorrect
one or the other out. LK1 to signal vehicle entry but no (it simply swaps them around), while
For example, lets say that you build jumper link for LK2 (exit). installing a jumper between LK1 and
Driveway Sentry0815 (MP 1st & SK) August 2016.indd 23 27/06/2016 09:09
Constructional Project
MAKE SELECTION
WHEN IN PLACE
unit lights the green LED for one di- mounted separately. It may even be
rection of the vehicle and the red LED possible to mount it on top of the de-
LK1 ENTRY TRANSMITTED TO RECEIVER
LK2 EXIT TRANSMITTED TO RECEIVER for the other direction. If the vehicle tector unit using a suitable non-me-
IC2
LK3
where between fully anticlockwise Receiver assembly
and about three-quarters clockwise Fig.14 shows the assembly details for
in order to achieve reliable detection. the two receiver versions. Version 1
During this test procedure, the de- has the reed relays to trigger a remote
PIC16F88
tector must be kept still, otherwise it control PCB, while Version 2 has the
will detect changes in the Earths mag- piezo buzzer and LED indicators for
LK1
LK2
netic field due to its own movement. If audio/visual warnings only.
IC2
LK3 JUMPER SHUNT FOR that happens, the tracking thresholds As mentioned earlier, if you want
DIAGNOSTIC TESTING
then need to be readjusted so that they both sets of functions, you will have
sit equally above and below the ampli- to build both versions and set them to
Fig.13: this diagram shows the fied sensor voltage and this could take the same identity as the receiver. Note
linking options for the detector PCB. some time (eg, over a minute). that the LEDs and piezo buzzer must
The diagnostic jumper between LK2 If you want the tracking thresholds be omitted if you build the relay ver-
and LK3 is for test purposes only.
to readjust faster, you can remove the sion (Version 1), while the relays and
Driveway Sentry0815 (MP 1st & SK) August 2016.indd 24 27/06/2016 09:09
Constructional Project
100 F
100 F
100 F
100 F
100 100
REG1 REG1
4004
4004
100nF TP 100nF TP EXIT A
GND RELAY1 RELAY2 GND
+12V 0V
12V DC IN LED1
12V DC IN D2
PIEZO TRANSDUCER
PIC12F675
PIC12F675
D1
PIEZO
4148
4148
IC1
IC1
1k
1k
1k
ON OFF
CON1 2x10k CON1 2x10k A
ID
ID
TP2 TP2
TP1 100 TP1 VR1
ANT. VR1 VR2 (DUR.) ANT. VR2 (DUR.) ENTRY LED2
RX1 RX1
DATA
GND
GND
DATA
ANT
GND
DATA
GND
GND
Vcc
Vcc
DATA
ANT
GND
Vcc
Vcc
DRIVEWAY SENTRY ALERT MONITOR DRIVEWAY SENTRY ALERT MONITOR
Fig.14: the PCB parts layouts for the two receiver versions. Build Version 1 if you want to activate the buttons on a separate
remote control PCB (eg, to control a UHF remote mains socket). Alternatively, build Version 2 if you only require an audio/
visual warning when a vehicle passes the driveway detector unit.
Reproduced by arrangement These views show the two fully-assembled receiver versions.
with SILICON CHIP Make sure that all polarised parts are correctly oriented and fit
magazine 2016. heatshrink over the lead connections to the PC stakes to prevent
www.siliconchip.com.au the wires from breaking at the solder joints.
diodes D1 and D2 are omitted from An 8-pin socket should now be fitted Piezo transducer mounting
Version 2. for IC1. Make sure that the socket sits The piezo transducer used in Version
In most cases, its just a matter of flush against the PCB before soldering 2 mounts on two M3 9mm tapped
selecting which version you want to its pins, then install REG1 (78L05). The spacers. These spacers are secured to
build and assembling the board to two relays can then be fitted if you are the PCB using M3 6mm screws. The
match its layout. Install the resistors building Version 1. Check that these piezo transducer is then secured in
first, then install diode D3 (1N4004). are oriented correctly (ie, notched ends place, again using M3 6mm screws.
D1 and D2 (1N4148) should then be aligned as shown on Fig.14). You will have to drill out the trans-
fitted if you are building Version 1. Version 1 also requires three polar- ducers mounting tab holes to 3mm
Note that D2 must be installed about ised pin headers. Install these now, diameter to accept the M3 screws.
3mm proud of the PCB, since it needs bending diode D2s leads to the right, Once the transducer is in place, trim
to be later pushed to one side to make as shown in one of the photos to clear its wires to about 25mm, slip some
room for a polarised 2-way header. the header thats fitted between the 15mm lengths of 1mm-diameter heat-
The PC stakes are next on the list two relays. shrink tubing over the wires and solder
and these are installed at TP GND, TP1, Follow with the DC socket and trim- them to the adjacent PC stakes. The
TP2 and the antenna (ANT.) terminal. pots VR1 and VR2. The two LEDs can heatshrink can then be slid over the sol-
If you are building Version 2, two extra then be installed for Version 2 (red for dered connections and shrunk down
PC stakes can be fitted to terminate the LED1 and green for LED2). These two to prevent the wires from breaking.
piezo buzzer leads (or you can elect to LEDs must be installed with 11mm
solder these leads directly to the PCB). lead lengths, so that the tops of their UHF receiver
The capacitors can be installed next. lenses are 16mm above the PCB. Thats You can now complete the PCB as-
Note that for Version 2, the electrolytic easily done by pushing each LED down sembly by installing the UHF receiver
capacitors must be no more than 14mm onto an 11mm-high cardboard spacer module and the antenna. It must be
high so that they dont foul the lid of thats slid between its leads before sol- oriented with its antenna pin to the
the case. dering it in place. left (ie, towards the DC socket). As with
Driveway Sentry0815 (MP 1st & SK) August 2016.indd 25 27/06/2016 09:09
Constructional Project
Driveway Sentry0815 (MP 1st & SK) August 2016.indd 26 27/06/2016 12:35
Constructional Project
0V +12V
Unit pairing
A feature of the Driveway Monitor is
Off Contacts
pairing each detector and receiver
pair is given a unique identity. This
allows up to eight different pairs to
operate in the same vicinity, which
means you can have multiple Driveway
Monitors installed on your property.
On Contacts
Pairing is set by adjusting trimpots
VR3 in the detector unit and VR1 in
the receiver to give matching voltage
readings at their respective test points
Fig.16: heres how to make the connections to the Altronics UHF remote PCB. see text and Table 3.
The red and black leads shown are all part of the original wiring.
and removing these allows you to mounting points (note the Jaycar units receiver PCB into position and either
split the case. holes will need to be enlarged to 3mm. feed the antenna wire through its hole
Its then just a matter of removing In each case, the unit is mounted on M3 or run it around inside the case.
the remote PCB and connecting leads 9mm tapped spacers and secured us- Finally, three holes have to drilled
from the polarised headers on the re- ing M3 6mm machine screws. in the lid two for the indicator LEDs
ceiver PCB. The 12V header is wired We used countersink-head screws and one directly above the piezo trans-
to the remotes supply rails, while the for the lid so that the heads sit flush ducer to let the sound out. You can ei-
other two headers are connected to the with the panel to allow a front-pan- ther copy and use Fig.17 as a drilling
remotes on and off button contacts for el label to be attached. Position the template or you can simply measure
the selected channel. That way, when mounting holes so that the remote PCB the hole locations and then mark their
the Driveway Monitor is triggered, one is centred on the lid, then mount the positions on the lid (the artwork is
reed switch closes briefly to turn the PCB in position and plug the various also available for download as a PDF
remote-controlled mains switch on. leads into their corresponding sockets file from the EPE website). Drill 3mm
The other then closes briefly a few min- on the receiver PCB. holes for the LEDs and a 6mm hole for
utes later to turn the mains switch off. the piezo transducer.
The leads from the headers can be Version 2 final assembly
run using 120mm lengths of light-duty The Version 2 receiver is housed in a Testing (both versions)
hook-up wire. At the header end, its UB5 case (83 54 31mm), making it Before applying power, make sure that
just a matter of crimping the wires into more compact than the Version 1 unit. IC1 is out of its socket and that all parts
the crimp lugs and then lightly solder- In addition, no mounting hardware is are correctly oriented. That done, ap-
ing them before pushing them into the required for Version 2 since the PCB ply power from a 12V DC plugpack
header shell until they are captured by simply clips into slots in the integral and check that there is 5V between
the tag springs. Use red and black leads side channels in the case. pin 1 of IC1s socket and the GND PC
for the 12V header and make sure you Before installing the PCB, you will stake (4.85V to 5.15V is acceptable). A
get the polarity correct. have to drill a 9mm hole for the DC reading below 4.85V could mean that
Figs.15 and 16 respectively show the socket. This should be positioned there is a short circuit somewhere or
connections to the Jaycar and Altron- 20mm up from the base and centred an electrolytic capacitor could be the
ics remote PCBs. horizontally. As with Version 1, drill a wrong way around.
On the Jaycar unit, it will be neces- small hole for the antenna lead if you If the 5V supply is correct, discon-
sary to scrape away the solder mask- require a range greater than about 40m nect power and plug IC1 into its socket
ing from the PCB before soldering the (ie, up to 200m). You can then clip the (make sure its correctly oriented). Once
connections. Once all the wires are in
place, fit cable ties around the switch
wires to prevent them from pulling Table 3: Identity voltage settings
away from the PCB. Its also a good idea Identity Minimum Setting Maximum Setting Recommended
to use neutral-cure silicone or hot-melt 1 0V 0.47V 0-0.31V
glue to hold the wires in place.
2 0.78V 1.09V 0.94V
In the case of a doorbell remote, its
simply a matter of wiring the first reed 3 1.41V 1.71V 1.56V
switch across the switch contacts. This 4 2.03V 2.34V 2.19V
reed switch could also be used to trig- 5 2.66V 2.97V 2.81V
ger a burglar alarm. 6 3.28V 3.59V 3.44V
The remote PCB is mounted on the
7 3.91V 4.21V 4.06V
underside of the case lid. Both remotes
have two holes that can be used as 8 4.53V 5V 4.69-5V
Driveway Sentry0815 (MP 1st & SK) August 2016.indd 27 27/06/2016 09:09
Constructional Project
Receiver
as a drilling template Receiver www.blanklabels.com.au/index.
for the Version 2 case php?main_page=product_info&
12V DC
100mA
12V DC
+
100mA
+ cPath=49_60&products_id=335
.
.
.
.
copy it or download it
(2) For Datapol labels go to: www.
as a PDF file from the
EPE website. Arrival + blanklabels.com.au/index.php?
Arrival +
main_page=product_info&cPath
=49_55&products_id=326
Driveway Sentry0815 (MP 1st & SK) August 2016.indd 28 27/06/2016 09:09
EXCLUSIVE OFFER
The evaluation board can be used with Microchips new MPLAB Xpress Cloud-based IDE. MPLAB Xpress offers an
easy way to get started with PIC microcontrollers, with zero downloads, sign-in or setup needed to start designing.
This free cloud-based IDE brings the most popular features of the MPLAB X IDE to Internet-connected PCs, laptops or
tablets. MPLAB Xpress offers a comprehensive feature set, including a library of Microchip-validated code examples,
interface to MPLAB Code Configurator (MCC) 3.0 for GUI-based microcontroller peripheral setup and automatic code
generation, integrated MPLAB XC compilers, support for programmer/debugger hardware, and 10GB of secure online
storage with a myMicrochip account. Users can easily migrate their projects to the full, downloadable MPLAB X IDE.
Additionally, the MPLAB Xpress community enables developers to share their code, design ideas and knowledge.
The MPLAB Xpress Evaluation Board connects to a host computer (PC, Mac or Linux) as a USB mass storage device
and allows the user to simply drag and drop an application executable (.hex) file to program the target.
WORTH
$10.00
(appro
x . 7.00
)
EACH
CLOSING DATE
The closing date for this offer is 31 August 2016.
By NICHOLAS VINEN
USB Power
Monitor
Above: the unit operating in Power mode. It shows that the
flash drive is drawing 0.343W from the laptops USB port.
USB Power Monitor1212 (MP 1st & SK) August 2016.indd 30 27/06/2016 12:36
Constructional Project
USB Power Monitor1212 (MP 1st & SK) August 2016.indd 31 27/06/2016 09:44
Constructional Project
USB Power Monitor1212 (MP 1st & SK) August 2016.indd 32 27/06/2016 09:44
Constructional Project
Vbus R1 0.05
C ON1 C ON2
Vbus
1 1
2 D 2
USB USB
PLUG 3 D+ 3 SOC KET
4 GND 4
Vin Vout
:
40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21
8.8.8.8
C OM1
1a
2a
3a
4a
1g
2g
3g
4g
C OL
1b
2b
3b
1f
3f
4f
NC
NC
NC
2f
220nF C OL
IC 2
LC D1 ZD1886
6 1 2 3 4
1 IN
V+ 4
NC
5
INA282 REF2 DP1 DP2 DP3
8
+IN REF1
C OM1
GND 7
DP1
DP3
DP2
3
NC
NC
NC
2d
3d
4d
4b
2c
2e
3e
4e
3c
4c
1d
1e
1c
2
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
120k IC 3: OPA2376
3
1
IC 3a
2
10k
4
220nF
5 8
100
7
IC 3b
6 7 28
8 Vdd Vdd 1
RB0 RC 7
10k 9 44
RB1 RC 6
10 43
RB2 RC 5
11 42
RB3 RC 4
14 37
220nF RB4 RC 3
15 36
RB5 RC 2
16 35
RB6 RC 1
17 32
RB7 RC 0
12 IC 1 5
NC RD7
13
NC
PIC 18F45K80 4
RD6
19 3
10k RA0/AN0 RD5
C ON3 20 2
RA1/AN1 RD4
1 27 41
RE2/AN7 RD3
2 26 40
RE1/AN6 RD2
IC SP 3 25 39
RE0/AN5 RD1
C ONN. 4 18 38
RE3/MC LR RD0
5 24 30
RA5/AN4 OSC 1/RA7
21 31
AN2/RA2 OSC 2/RA6
22 23
AN3/RA3 VDDCORE/VCAP
33 34
NC NC
S1 Vss Vss
6 29
10 F
USB POWER
SC USB
2012 POWERMONITOR
MONITOR
Fig.1: the complete circuit of the USB Power Monitor. USB current passes through a 50m shunt resistor and the voltage
drop across this is amplified by shunt monitor IC2 and then further amplified by op amp IC3b. Microcontroller IC1 uses
its internal ADC to measure the current and display it on LCD1. Op amp IC3a buffers a reference voltage, used to allow
IC1 to determine the static (offset) error in the current measurements.
USB Power Monitor1212 (MP 1st & SK) August 2016.indd 33 27/06/2016 09:44
Constructional Project
: 8.8:.8.8
GND VBUS
0.05
LCD1 ZD1886 CON2 CON2 10 F
220nF
CON1 IC2
INA282 CON1
23
34
4 4 4 4
120k
3 3 3 IC1 3
10k
2376
IC3
2 2 2 PIC18F45K80 2
1
10k
1 1 1
12
1 100
1
ICSP 220nF
220nF CON3
S1
10k
Fig.2: top and bottom views of the USB Power Monitor PCB. The LCD, connectors and pushbutton switch S1 (used to
change modes) are the only components on the top. All the active circuitry goes on the underside and this keeps the unit
compact. The VBUS and GND pads are provided so you can measure the USB voltage for calibration. The completed
PCB assembly can be housed in clear heatshrink tubing for protection.
Note that the ~385mV reference LCD has a total of 32 segments four the common pins, receive 10V peak-
voltage will vary with the USB sup- 7-segment digits plus three decimal to-and so turn on.
ply voltage as it is derived from it. points (DP1-DP3) and a colon. Each We use an AC drive signal since
This could introduce an error in the segment is connected at one end to a DC drive slowly damages the LCD by
current measurements but microcon- dedicated pin while at the other end, an electrochemical process. In this
troller IC1 can compensate for this all segments are joined together and case, its also required to provide a
by measuring the supply voltage and connect to a pair of common pins, sufficient drive voltage as this method
adjusting the value that it subtracts COM1 and COM2 at left. To turn a seg- doubles the RMS voltage across the
from each reading. This mostly elimi- ment on (dark), we drive the segment segments, ie, they receive 10V rather
nates the effect of supply variation with a 6-10V peak-to-peak square than 5V. The AC signals are generated
on readings. wave and to turn it off, we maintain using one the microcontrollers inter-
Note also that part of the reason 0V across the segment. nal timers and two of the compare
for selecting a 50m shunt is to keep This is achieved by driving all units, combined with an interrupt
its dissipation low over the expected the LCD pins (including COM1 and handler routine that updates the
current range. At 1A, it will dissipate COM2) with one of two 5V 50Hz output pins at 100Hz.
just 50mW (I2R) and even at 2A, it will square waves which are 180 out of Like the analogue chips, microcon-
be a manageable 200mW the part is phase, ie, one is an inverted version troller IC1 runs directly off the USB
rated for up to 0.5W. of the other. Any segments driven bus voltage. Note that we havent
with the same signal as the common made any additional connections
Display driving pins have no voltage across them and from the USB supply to allow it to
The 4-digit LCD (LCD1) is driven so remain off. Those driven with the sense that voltage, in order to display
directly by microcontroller IC1. The inverted square wave, compared to it. Rather, this is achieved by config-
uring its ADC to sample its internal
(nominal) 1.024V reference in relation
The USB Power Meter is shown here to its supply voltage. It can then cal-
measuring the voltage (in this case, 5.04V) culate the reciprocal of this in order to
of a laptops USB port. The b on the LCD determine what its supply voltage and
indicates that the unit is operating in bus thus what the bus voltage actually is.
voltage mode. The same 1.024V reference is mul-
tiplied by four using an internal op
Pressing the pushbutton switch at lower amp, to produce the 4.096V ADC ref-
right on the PCB cycles through the various erence voltage which allows current
operating modes. measurements to be made accurately.
In addition to a 220nF bypass ca-
pacitor across the 5V supply, IC1 has
a 10F filter capacitor connected to
its VDDCORE pin, which is required to
allow its internal 2.5V core regulator
to function properly.
A pushbutton is connected be-
tween pin 18 of IC1 (RE3/MCLR) and
ground, with a 10k pull-up resistor.
Normally, this pin is used to reset
the micro, but we have programmed
it to disable that function so that we
USB Power Monitor1212 (MP 1st & SK) August 2016.indd 34 27/06/2016 09:44
Constructional Project
USB Power Monitor1212 (MP 1st & SK) August 2016.indd 35 27/06/2016 09:45
Constructional Project
You can then finish up by install- low or a hairdryer) to shrink it. Trim
ing the USB plug and socket and the away any excess tubing that protrudes
pushbutton switch. In each case, these past the ends of the PCB.
should be pushed down fully onto You can still access the VBUS and
the board before being soldered. For GND terminals to re-calibrate it later,
the USB plug and socket, solder the if that becomes necessary, through
large mounting pins first and then the the ends of the tubing. It may then be
four signal pins. The plug goes on the more convenient to use the USB plug
left and the socket on the right. There shell as your ground reference point. www.poscope.com/epe
wont be much of a gap between the
LCD and the socket but it should fit. Display
During normal operation, there are
Testing and calibration three modes: current, voltage and
To test the unit, you simply plug it into power. Pressing S1 briefly cycles
a USB port. You should immediately through these modes.
see a display on the screen which In current mode, there are three
will read C5.00 or similar, with the ranges and the unit switches au-
number indicating the sensed USB tomatically. Typically, it will read
supply voltage. The decimal point either x.xxx or xxx.x where x is a
should also be flashing. This indicates digit from 0 to 9. These readings are
that the unit is in calibration mode. in milliamps and the lower range
If you dont get such a display, (with microamp resolution) is auto-
unplug it and check for faults such matically selected for readings below
as bad solder joints or bridged pads. 10mA. For 1A and above, the display
Assuming its OK, set your DMM to changes to x.xxA.
DC volts and measure the voltage be- In voltage mode, the read-out is
tween the VBUS and GND points on always in the format bx.xx where - USB - PWM
the PCB (top corners). You should get x.xx will be a number usually between - Ethernet - Encoders
- Web server - LCD
a reading pretty close to that shown 4.40 and 5.50. b is short for bus volt- - Modbus - Analog inputs
on the unit, but it may be slightly off. age (its not possible to do a V with a - CNC (Mach3/4) - Compact PLC
- IO
If its off, press pushbutton S1 7-segment display).
briefly and release it. Shortly after- In power mode, there are three pos-
wards, you should see the reading on sible ranges and again it is auto-ranging.
the display change slightly. Continue For readings of 10mW and above, you
pressing S1, with a pause after each will get a read-out in watts of either
press to check the new reading, until Px.xx or P.xxx, both in watts. Below
the unit shows the same voltage as 10mW, the display will change to Lx.
your multimeter, to within 10mV. xx, with the reading in milliwatts. The
You may need to re-check the DMM L stands for low power.
reading in case the USB voltage has To re-enter calibration, hold down - up to 256 - up to 32
microsteps microsteps
changed slightly as you approach the S1 for several seconds. You can then - 50 V / 6 A - 30 V / 2.5 A
correct reading. go through the steps above to recal- - USB conguration
Once the display is correct, press ibrate the unit. - Isolated
USB Power Monitor1212 (MP 1st & SK) August 2016.indd 36 27/06/2016 09:48
PEAK AUG 2016.indd 1 27/06/2016 10:09
Technical specifications for the Arduino Nano 3.x
Feature Specification
Microcontroller ATmega328P
EEPROM 1kB
Supply voltage 5V
Max. DC current output per pin 40mA Fig.7.3. Nano pin connections are grouped on opposite sides of the PCB
Max. DC current available from 3.3V supply 50mA
treated in exactly the same
Dimensions 45mm 18mm way as the Uno by means of
Weight 5g pinMode(), digitalWrite(),
and digitalRead() functions.
Note that, as with the Uno, several
Notes of the digital I/O pins also have
1. 2KB of which is used for the bootloader special functions as listed in Table
2. Maximum DC input voltage is 20V 7.1. We will be looking at pulse-
3. See Table 7.1 width modulation (PWM), and
how this can produce an analogue
Memory output voltage, in a future Teach-In 2016.
The ATmega168 processor has 16KB of
Flash memory for storing code (of which Analogue inputs
2KB is used for the bootloader) whilst The Nano caters for up to eight analogue
the ATmega328 offers 32KB (also with inputs and each offers a resolution of
2KB occupied by the bootloader code). 10 bits (the same as the Uno). The input
The original Nano with its ATmega168 voltage range, by default, is 0V to +5V,
provides 1KB of SRAM and 512 bytes of but this can be changed by altering the
EEPROM (which can be read and written analogue reference voltage in the same
with the EEPROM library). The Nano 3.x way as this can be changed for the Uno.
with its ATmega328 has 2KB of SRAM Note also that analogue pins 6 and 7
and 1KB of EEPROM. cannot be used as digital pins. As with
the digital I/O, some pins have special
Digital I/O functions, as listed in Table 7.2.
The Nano provides 14 digital I/O pins and
each of them can be configured for use as Communication facilities
Fig.7.4. Nano pin connections (for
an input or output. The digital I/O pins The Arduino Nano has a number of
clarity we have shown the signal
operate at standard 5V logic levels and facilities for communicating with
designations in red and the pin numbers
each pin can source or sink a maximum the outside world using standard
in green)
of 40mA. An internal pull-up resistor UART TTL-level serial communication
(of 20-50k) is available. By default, available on digital I/O 0 on pin-1
the pull-up resistors are disconnected. and digital I/O 1 pin-2. An on-board serial communication over USB, and
The I/O pins are configured and FTDI FT232RL chip channels this the FTDI drivers (included with the
Arduino software) provide
Table 7.1 Special I/O functions associated with digital I/O a virtual COM port on the
host computer. The IDEs
Board pin Signal/ Serial Monitor allows basic
Digital I/O Special function
number(s) designation text to be sent to and from
Serial 0 (RX) and Used to receive (RX) and transmit (TX) TTL serial data. These pins are
the Arduino board using
D0 and D1 1 and 2 the serial interface. As a
Serial 1 (TX) connected to the corresponding pins of the FTDI USB-to-TTL serial chip
helpful indicator, the RX
These pins can be configured to trigger an interrupt on a low value, a and TX LEDs on the board
D2 and D3 5 and 6 External interrupts will flash when data is being
rising or falling edge, or a change in value
transmitted via either the
D3, D5, D6, D9, 6, 8, 9, 12, Pulse width FTDI chip or the USB port.
These pins can be used to generate 8-bit PWM outputs
D10, and D11 13 and 14 modulation (PWM) Note that these LEDs will
not operate when TTL-level
D10, D11, D12 13, 14, 15 Serial peripheral These pins provide access to the SS (D10), MOSI (D11), MISO (D12) and serial communication is
and D13 and 16 interface (SPI) SCLK (D13) SPI signals being used via digital I/O
pins 0 and 1.
Built-in LED indicator (when the pin is taken HIGH the LED will be The Nanos Software
D13 16 LED indicator (L)
illuminated, and vice versa) Serial library also permits
serial communication on
Note: it is important to avoid confusing the Digital I/O numbers with the board pin numbers they any of the Nanos digital
are not the same but they are very easily confused! I/O pins. As with the Uno,
void setup(){
pinMode(outputLED,OUTPUT);
pinMode(inputPIR,INPUT);
}
void loop(){
digitalWrite(outputLED,digitalRead(inputPIR));
} Fig.7.12. Rear of the PIR sensor showing
the trigger link (left) together with the
sensitivity (centre) and time (right)
adjustments. The three pins at the rear
are (left to right) ground, output and
positive supply
int rangeSwitch = 3;
int frequencyControl = A0;
int toneFrequency = 500;
int rangeSetting;
rain alarm
void setup() {
} __________________
void loop() { In this months Get Real we will
// Get the range setting be describing another useful
rangeSetting = digitalRead(rangeSwitch); project a simple PIR motion
// Get the analogue input from the potentiometer: alarm. The unit uses a low-
frequencySetting = analogRead(frequencyControl); cost PIR sensor together with
// Map the analog input into the required range an Arduino Nano and a small
if (rangeSetting == LOW) { loudspeaker. The complete
toneFrequency = map(frequencySetting, 0, 1023, 50, 500); circuit of the simple PIR intruder
} alarm is shown in Fig.7.14. The
else { loudspeaker should ideally have
toneFrequency = map(frequencySetting, 0, 1023, 500, 5000); an impedance of around 40,
} but lower impedance units will
// Output the tone also work. The value of series
tone(2, toneFrequency, 10); resistor R1 can be varied to alter
} the output volume, but should
not be less than 150.
Code
The complete code for the simple
PIR intruder motion alarm is shown Fig.7.13. Arduino variable square wave generator connections
in Listing 7.3. The code is
straightforward and, as usual,
Listing 7.3 Code for the Arduino PIR motion alarm
weve liberally commented it
in order to help you understand
/* Simple PIR motion alarm for the Arduino Uno or Nano */
whats going on. The code does
not require any libraries.
// Inputs and outputs
As with our previous Get Real
int inputPIR = 2; // Input from the PIR sensor
projects, the code should first
int inputReset = 4; // Input from the reset button
be entered into the IDE and
int outputLED = 13; // Output to the LED indicator
then saved before compiling
int outputSounder = 3; // Output to the alarm sounder
and uploading it to the Uno,
// Variables
as described in last months
int oldState = LOW; // Initialise PIR state (no motion yet)
Arduino Workshop. When you
int currentState = LOW; // Current PIR status
have debugged and corrected
int resetState = LOW; // Reset button state
your code dont forget to save it
by clicking on File and Save
void setup() {
or Save As. Next, click on
pinMode(inputPIR, INPUT); // PIR input
Sketch and Verify/Compile.
pinMode(inputReset, INPUT); // Reset input
Any compilation errors will then
pinMode(outputLED, OUTPUT); // LED output
be reported in the window at the
pinMode(outputSounder, OUTPUT); // Sounder output
bottom of the IDE.
tone(outputSounder, 1150); // Beep to confirm ready status
delay(1000);
Testing and adjustment
noTone(outputSounder);
When youve corrected any
}
coding errors that the compiler
reports you will be ready to
void loop(){
upload your code to the Nano.
currentState = digitalRead(inputPIR); // Check the PIR state
Just click on the upload arrow
resetState = digitalRead(inputReset);
and watch the progress report.
if (resetState == LOW) { // System currently active
After the Nano performs a reset
// Wait for a change in level and then latch the alarm on
you should find that the LED (D1)
if (currentState == HIGH) { // Has it gone high and
becomes illuminated and a tone
if (oldState == LOW) { // was it low before?
is generated by the loudspeaker
digitalWrite(outputLED, HIGH); // Turn the LED on and
when you pass your hand over
tone(outputSounder, 850); // sound the alarm
the sensor module. The LED
delay(100);
and tone should both remain
}
latched on until the reset button
}
(S2) is pressed. At this point
}
the PIR motion alarm is placed
else { // Reset has been operated
back in the active state waiting
digitalWrite(outputLED, LOW); // Turn the LED OFF and
for another target to appear and
noTone(outputSounder); // stop the alarm
move within the protected zone.
currentState = LOW; // Reset the system
Having confirmed that the PIR
tone(outputSounder, 1150); // Beep to confirm ready
motion alarm is working, the next
delay(1000);
step is to check the adjustments
noTone(outputSounder);
on the PIR sensor module (as
}
described earlier). With a little
}
experimentation it should be
possible to achieve the correct
triggering, time and sensitivity. Instead (or perhaps, as well as)
n to vacate the protected area when the
producing a sound output a suitably alarm has first been switched on
Going further rated relay could be used to energise a n A further LED could be added to show
As always, theres a great deal of scope remotely placed bell or security light that the PIR alarm is active and waiting
for going further with this months Get n A time delay (typically 15 to 25 seconds) for a trigger event.
Real project; for example: could be incorporated to allow the user All of these additions could be very
Next month
In next months Teach-In 2016 Arduino
World we will continue this months
infra-red theme by looking at a simple
IR remote control based on the Arduino
Uno and Nano. Arduino Workshop will
introduce you to infra-red transmitters
and receivers, while our programming
feature, Coding Quickstart will introduces
the infra-red remote library. Finally, our
Get Real project will describe the design
and construction of an Arduino multi-
channel infra-red remote controller that
will allow you to control your lighting,
heating, doors, windows and a host of
domestic gadgets from the comfort and
security of your armchair.
EPE Summer Sale!!! Listing 3.4 Code for the simple Arduino based access control system
Next month
Weve made our first step into the world of PIC
with our first lesson by programming our demo
board and turning on a LED. Next month, Id
like to pick up the pace and cover the next two
lessons. Feel free to work ahead through the
lessons yourself. The lessons dont give you all
the code, but they do give you enough to do it
yourself. I have deliberately avoided discussing
the actual code this month, but next month I will
start to delve into what the code is doing.
Radio
The magazine for all vintage radio enthusiasts.
Covers:
Military, aeronautical or marine communications
Radar or radio navigation Broadcasting Radio sytems
In the Ether
Some familiar tech brands of
networking hardware originated
from this same era. Ethernet was Everyday Electronics, November 1982s news of the worlds longest fibre optic link
designed at Xerox as a way of
networking their desktop computers
using coaxial cable. Out of this came themselves, and home computers such Modems could also be used for
3Com in 1979, which developed as the Commodore, Sinclair Spectrum accessing a bulletin-board (BBS) so
early Ethernet cards. Stanford also and BBC gained a foothold in many that files, updates and messages could
spawned Sun (Stanford University schools and households at the time, be downloaded by dialling into remote
Network) Microsystems after devising becoming hobbies in their own right. servers via a landline, and users could
a dedicated workstation, a computer People generally became more IT- participate in simple terminal-type
that ran on a network, on the theory aware, and graphical interfaces such chat as well. Despite early limitations
that multiple workstations would as Microsoft Windows on the PC made and the somewhat clunky operation,
be more powerful than stand-alone personal computing technology more the expansion of Internet-based
machines. (Facebook now owns Suns accessible and easier to use, helped by services proved unstoppable. During
original HQ.) The router also hailed the new computer mouse. the early 1990s, Internet access at
from Stanford academics as a way of home as far as there was any was
letting different university computer Mail on the move anything but mainstream or cheap; it
networks communicate across In an era of 1980s telexes and still relied on a modem connecting over
campus: Cisco Systems was spun out fax machines, the concept of a creaking POTS (plain old telephone
of this, originally financed by personal communicating electronically when system). Using a personal computer for
credit cards. away from the office was gaining going online was largely the province
As the network backbones ground. We reported in Everyday of technical enthusiasts, computer
continued to expand they would be Electronics & Electronics Monthly hobbyists and professionals or
utilised by military, commercial and (April 1986) how Japans Brother EP- managerial users. Access services were
academic institutions. In Everyday 44 offered a new solution containing popularised by Americas CompuServe
Electronics, May 1982 we reported on everything you need to get started in Information Service (CIS) that came to
the Highway of the Future and tests electronic mail. Brothers near-silent the UK, charging 10 for three hours of
made using the latest transmission electronic typewriters were already premium content. Subscribers could
medium: glass fibres. British biting into electric typewriter sales. It access carefully screened content using
Telecoms Lightlines research labs was claimed the EP-44 would benefit CompuServe Information Manager
had succeeded in sending pulses of anyone who needed to write and send (CIM) software for Windows 98, which
light over 100km of optical fibre, twice text quickly while on the move. offered electronic mail, messages and
as far as they achieved in 1981. In the The machine had a teleprocessor forums. Users had inscrutable addresses
November 1982 issue we reported that a letter-quality thermal printer with such as 10537,1234@compuserve.
Britain had opened the worlds longest an RS232C serial port, so it could com and the audio You have new mail
optical fibre link (204km), entering double up as an electronic typewriter waiting! message became a familiar
service on 22 July and replacing the or a computer printer. Critical for sound eagerly anticipated by expectant
London-Birmingham wire first built mobile communications was its users. CompuServe UK provided the
in 1887. The fibre allowed thousands acoustic coupler, which allowed the writer with his first photo download:
of calls to be handled simultaneously, machine to send and receive data an image of the Horsehead Nebula
and BT would licence their new fibre electronically using a telephones captured by NASAs Hubble. I pinned
manufacturing process to telecoms handset. The Brother EP-44 fitted this achievement on the noticeboard
companies around the world. Fibre into a briefcase for portability, and for months. EPE abandoned an early
also formed the core of Britains first, also included was a subscription to idea to host a CompuServe forum of its
but ill-fated, national competitor to the One-to-One electronic mailbox own, though.
British Telecom, called Mercury, which service, which by then boasted of
laid new fibres alongside railway lines. having over 6,000 users in the UK The rise of ISPs
Some readers may remember the blue alone. Special teleconferencing and Soon it seemed like every computer
Mercury button found on new phones email services such as Telecom Gold user had hooked a modem onto their
and fax machines at that time. which used slow 300 baud modems serial port, notably the popular US
Personal computers started to were also appearing, as reported by Robotics Sportster, and the twinkling
appear commercially in the late 1980s, Barry Fox in the July 1987 issue. The LEDs of these screeching bone-
along with networking software technology was far from user-friendly coloured boxes became a familiar
such as Novells Netware. The IBM and Barry described some hair-pulling sight. As the 1990s Internet market
PC and IBM-compatible machines frustrations of trying to submit his continued to evolve in Britain, an
would allow businesses, academics copy electronically to the Today alternative to the closed shop of
and individuals to harness PCs for newspaper. CompuServe emerged dial-up
CompuServe Information Manager for Windows offered email and EPEs first website was simple, but it brought instant
forums to subscribers engagement too!
T
HE PREVIOUS Interface article
considered the uses of a binary
counter in conjunction with a
Raspberry Pi computer, and featured a
random number generator. The Inter-
face article prior to that one described
an ultra-simple capacitance meter
based on a monostable circuit and the
timing facilities provided by the Py-
thon programming language. As ex-
plained in that article, timing accuracy
was limited by factors such as the use of
interrupts in the normal running of the
Raspberry Pi and the operating system.
This made it difficult to obtain a high
degree of accuracy using this method.
It was proposed that an external
clock oscillator and a counter circuit, Fig.1. The general scheme of things used in the capacitance meter add-on. The
together with a monostable timer, binary counter is a 12-bit type, but one bit is required to provide an overflow warning
would give better results while still
offering a reasonably simple and cost- and the duration of the output pulse is value in the counter would be 2000. In
effective approach. This alternative proportional to its value. other words, the reading obtained from
method is used in the capacitance The output pulse from the the counter is proportional to the value
meter add-on featured in this Interface monostable turns on an electronic of the test component. Furthermore,
article. It is effectively the counter switch, and this in turn supplies power it is just a matter of shifting the
from the random number generator, to the clock oscillator. Its output feeds decimal point two places to the left
the monostable from the original the clock input of the counter, and the in order to get a reading directly in
capacitance meter adapter, plus a count therefore increases from zero nanofarads. One slight complication
simple clock oscillator, all configured for the duration of the output pulse. is that the output pulse duration of the
to act as a capacitance meter. If output Q11 goes high, it operates a monostable is actually 1.1 CR seconds
second electronic switch that blocks rather than 1 CR seconds. This does
Counting up the first one, and deactivates the clock not really matter too much in practice,
The block diagram of Fig.1 shows the oscillator. This halts the count at zero. since it can be allowed for by reducing
overall scheme of things. Although An input of the computer is used to the clock frequency accordingly.
the binary counter is a 12-bit type, it read the logic level on Q11 and, where
is only used to provide 11 digits of appropriate, an overflow warning is Circuit details
data to the computer. This is due to displayed. Fig.2 shows the circuit diagram for
the fact that an out-of-range capacitor the capacitance meter add-on. IC3 is
would cause the count to cycle back Doing the math the 12-bit binary counter, and outputs
to zero and continue counting from The mathematics of the unit is reas- Q0 to Q10 are read by inputs on the
there. The unit would then appear to onably straightforward. Simplifying GPIO port, as in the random number
give a valid reading, even though the things slightly for the moment, the generator circuit. I used a 74HC4040
count could have to cycle through zero monostable produces an output pulse for IC3, but with a clock frequency
several times, giving a purely arbitrary duration of one CR seconds, and the of just under 100kHz, the ordinary
value. To avoid this, the twelfth bit is clock oscillator operates at 100kHz. 4040BE CMOS version should work
used to provide an overflow warning On range 2 the timing resistor is 1M, just as well. Pin 7 of the GPIO port
and halt the count if it cycles through and 10nF would therefore give a pulse (GPIO 4) is used to control the MR
to zero. In decimal terms, the number duration of 10ms (0.01s). Since the (master reset) input of the counter,
returned by the 11-bit counter is from capacitance in farads is an extremely which must be pulsed high in order to
0 to 2047, making it fractionally better low number, and the resistance in reset the counter.
than a 3-digit display, which is more ohms is a very high figure, with this The monostable uses a low-power
than adequate for this application. type of calculation it is generally better 555 timer (IC1) in the normal mon-
In order to take a reading, the to work in megohms and microfarads. ostable configuration. S1 is the Range
computer must first pulse the Reset This comes out as 1 x 0.01 = 0.01s. switch, and resistors R1 to R5 give the
line high so that the counter starts at (Remember, mega means 106 and unit its five measuring ranges, as de-
zero. The Trigger line is then pulsed micro means 106, hence mega tailed below:
low in order to trigger the monostable. micro = 106 106 = 1066 = 100 = 1).
There are five resistors available for With a 100kHz clock signal, this one Range Resistor Max value
use in the CR timing network of the hundredth of a second burst of the 1 R1 2047pF
monostable, and these give the unit its clock signal equates to one thousand 2 R2 20.47nF
five measuring ranges. The capacitive pulses. If the test capacitance was 3 R3 204.7nF
section of the timing network is twice as large at 20nF, the output pulse 4 R4 2047nF
formed by the capacitor being tested, would be twice as long, and the final 5 R5 20.47F
Triggering of the monostable is better performance than the original in section of the program does some
provided by a low pulse generated on several respects, such as lower current basic setting up and imports any
the GPIO 22 line at pin 15 of the GPIO consumption and faster switching modules that are required, and the
port. The output voltage from pin 3 speeds. The crucial difference in the next section sets up various GPIO
of IC1 was found to be inadequate to current context is that it will operate lines as inputs or outputs, as required.
power the clock oscillator directly, at supply potentials down to 2V. This In the next section, pins 7 and 15 of
and it is therefore controlled via enables the circuit to be powered from the GPIO port are set at the appropriate
common emitter switch Tr1, which in the 3.3V supply that is available on the starting states. Then a reset pulse
turn drives a second common-emitter GPIO port, which in turn enables it to for the counter is generated on pin
switching transistor (Tr3). This makes interface directly to the input/output 7, followed by a trigger pulse for the
it easy to block the clock oscillator lines of the port. An ordinary NE555 monostable on pin 15. Next, a delay of
when a counter overflow occurs. When has a minimum supply voltage rating 0.1s is provided, which is more than
Q11 of IC1 goes high, Tr2 is turned on, of 4.5V, which means that it will not adequate for a reading to be taken.
and it cuts off the base current to Tr1. work in this circuit. Other improved The maximum time taken for a valid
This switches off Tr1, and therefore versions of the 555 should be fine if reading to be clocked into the counter
Tr3 and the clock oscillator as well. they can operate at the low supply is about 0.02s.
The GPIO 17 line at pin 11 of the GPIO voltage used here. The improved 555 A variable called byte is used to
port is used to monitor the Q11 output chips often use some form of MOS store the value read from the counter
of IC3. technology, as does the 74HC4040 as it is built up bit-by-bit. This is set
A hold-off is required between used for IC3. Consequently, normal at an initial value of zero. The next
triggering the monostable and reading anti-static handling precautions section of the program reads each bit of
the counter, so that the count is should be observed when dealing the counter, one bit at a time. If a logic
allowed to finish before a reading is with all three integrated circuits. 1 level is detected, the value in byte
taken. This could be accomplished Consistent accuracy across the five is incremented by the appropriate
by using an input of the GPIO port to ranges is dependent on resistors R1 to amount for that output of the counter.
monitor the output of the monostable, R5 having a suitably tight tolerance The value in byte is otherwise left
and prevent a reading from being rating, which in practice means a unchanged. When all eleven outputs
taken before the output returns to the rating of one per cent or better. A low- of the counter have been read, the
low state. The simpler alternative, and cost preset resistor can be used for value in byte is the raw capacitance
the one used here, is to use a software VR1, but ideally it should be a good value. The rest of the program does
delay to prevent premature readings of quality multi-turn type. This should the math, adding a decimal point
the counter. make precise calibration a little easier, at the appropriate position where
The clock oscillator uses another low- and should also give better long-term appropriate, and printing the values
power 555 timer (IC2) in the standard stability. A 5-way switch for S1 might for all five ranges. It is therefore just
oscillator configuration. Variable be difficult to obtain, but a 6- or
resistor VR1 enables the frequency of 12-way type with an adjustable
the oscillator to be adjusted so that the end-stop set for 5-way operation
unit can be calibrated. The output from is perfectly suitable. Tr1 and Tr2
this type of oscillator is rectangular, can be any silicon NPN transistors
but is not a 1:1 square wave. However, that have reasonably high current
practically any form of pulse waveform gains. Similarly, practically any
is adequate for a clock oscillator in an silicon PNP transistor is suitable
application such as this. for Tr3.
Components Program
The TS555CN specified for IC1 and The basic Python program for
IC2 is an improved version of the taking capacitance readings is Fig.3. This is the reading obtained when
original NE555 timer chip. It provides provided in Listing 1. The initial testing a 10nF capacitor on range 2
GPIO.setup(11, GPIO.IN)
GPIO.setup(8, GPIO.IN)
GPIO.setup(10, GPIO.IN)
Fig.4. Measuring a 330nF capacitor on range GPIO.setup(12, GPIO.IN)
3 has caused the counter to overflow, and a GPIO.setup(16, GPIO.IN)
warning message has been displayed on the GPIO.setup(18, GPIO.IN)
screen GPIO.setup(22, GPIO.IN)
GPIO.setup(24, GPIO.IN)
a matter of selecting the one for the range GPIO.setup(26, GPIO.IN)
in use (Fig.3). A warning is printed on the GPIO.setup(23, GPIO.IN)
screen (Fig.4) if pin 11 of the GPIO port is GPIO.setup(21, GPIO.IN)
found to be at logic 1, indicating that the GPIO.setup(19, GPIO.IN)
counter has cycled back to zero and a valid GPIO.setup(7, GPIO.OUT)
reading has not been obtained. GPIO.setup(15, GPIO.OUT)
In use, a reading of 1 seems to be
obtained on ranges 3, 4, and 5 when there is GPIO.output(15, True)
no test capacitor connected to the unit. On GPIO.output(7, False)
range 2 with no test capacitor the reading GPIO.output(7, True)
is usually 2, and this slight increase is GPIO.output(7, False)
probably higher due to stray capacitance GPIO.output(15, False)
and the built-in capacitance of the circuit. GPIO.output(15, True)
Things could be tidied up by reducing time.sleep(0.1)
the displayed value by the appropriate byte = 0
amount, but this will not really make much
difference to the accuracy of the unit. if GPIO.input(8):
The situation is different on range 1 byte = byte + 1
where a value of about 15 to 18 is displayed if GPIO.input(10):
when there is zero test capacitance. The byte = byte + 2
exact figure will vary from one example of if GPIO.input(12):
the circuit to another. It is definitely worth byte = byte + 4
adjusting the displayed value on range 1 to if GPIO.input(16):
account for the built-in offset of the circuit. byte = byte + 8
In Listing 1 a value of 18 is deducted from if GPIO.input(18):
the value in byte before it is displayed, byte = byte + 16
but the amount deducted must be chosen if GPIO.input(22):
to match the particular circuit in use. byte = byte + 32
Doing so will greatly improve the accuracy if GPIO.input(24):
of the unit when reading very-low-value byte = byte + 64
capacitors, but readings will still only be if GPIO.input(26):
approximations with very-low-value test byte = byte + 128
components. if GPIO.input(23):
With a unit of this type you might byte = byte + 256
occasionally find that an overflow warning if GPIO.input(21):
is obtained, even though the capacitor has byte = byte + 512
a marked value that is comfortably within if GPIO.input(19):
the upper limit of the range in use. It could byte = byte + 1024
simply be that you have misread the value,
and that it is actually much higher than you print ("Range 1", byte-18, " picofarads")
thought. Alternatively, the test component print ("Range 2", byte/100, " nanofarads")
might be damaged and providing a short print ("Range 3", byte/10, " nanofarads")
circuit. This will prevent the output of the print ("Range 4", byte, " nanofarads")
monostable from returning to the low state, print ("Range 5", byte/100, " microfarads")
causing the counter to overflow. if GPIO.input(11):
print ("Overflow!!!!!")
Calibration
A close-tolerance capacitor is needed in GPIO.cleanup()
order to calibrate the unit, and it should print ("Finished")
have a value of at least 30 per cent of the
full-scale value of the range in use. High-
value capacitors having a tolerance of It should be possible to develop the system a bit further. Using the extra
one per cent or better are very expensive. lines available on the 40-pin version of the GPIO port it would be possible
Probably the best approach is to use a 10 to control the range from the computer. Any form of electronic switching
or 15nF capacitor to calibrate the unit on would almost certainly impair the accuracy of the unit, and the old fash-
range 2. Calibrating the unit is just a matter ioned method of using relays or reed relays would be better. It would then
of using a bit of trial and error to adjust VR1 be possible to implement auto-ranging. A reading would be taken on range
for good accuracy. Readings are very stable, 1, and if it was in-range it would be displayed. If not, a reading would be
and this design is certainly better in this taken on range 2, and it would be displayed if it was in-range. Otherwise
respect than the ultra-simple one featured a reading would be taken on range 3, and so on, until a valid reading was
previously. obtained and displayed.
is mounted on
the coil so that
it rotates with it. Pointer
A long needle
means that only
a small amount
of coil movement Moving coil Restoring spring
produces a large Permanent magnet
pointer deflection.
There is usually a
small screw head
on the needle
Fig.4. Moving coil panel meter mounting so that
the needle can
N S
some situations for example, where be rotated with
the users wants to keep an eye on a respect to the coil.
meter using their peripheral vision, This is in order to
where a moving meter needle will be set the position of Fig.5. Structure of a moving coil meter
easier to monitor than, say, an LCD the needle with no
screen with possible viewing angle current flowing to accurately match and between currents in a circuit
limitations. the zero point on the meters scale. (irrespective of voltage values). Here we
The coil responds to direct current have Kirchhoffs two laws (the voltage
Moving coil in either direction with the rotation law and the current law).
The moving coil meter is an important occurring in opposite directions for
part of the history of our understanding opposite current flow. This means Kirchhoffs voltage law (KVL) can be
of electricity. Its operation is based that centre-zero meters can be made, stated as:
on the fundaments of interaction although when moving coil meters are
between electricity and magnetism, used in analogue multimeters the zero Taking direction into account, the sum
which were developed in the early is on the left hand side. of voltages around a loop in a circuit is
19th century by scientists such as Although fuses and other techniques equal to zero.
CS5-Aug16
Hans Christian rsted, Andr-Marie should protect all multimeters from
65mm x 1.5 COL
Ampre and Michael Faraday. In damage by excessive current flow, The direction of the voltage of a voltage
1882, Jacques-Arsne dArsonval and analogue multimeters based on source, or the voltage dropped across a
Marcel Deprez developed a basic form moving coil meters are more fragile component is taken as being from the
of moving coil meter, which provided than digital meters due to their more negative end towards the positive end.
better linearity and lower sensitivity to delicate mechanical structure. In forming the KVL sum an individual
magnetic materials in its environment voltage is positive if its direction is
than earlier moving magnet meters. Back to basics the same as the loop direction and
The design of moving coil meters was Before discussing meter properties and negative otherwise. We can loop the
further improved by Edward Weston circuits we will quickly review some other way round, the law still works;
in 1888, who created the design which basic circuit theory which we will just reverse all the signs in the sum.
still forms the basis of modern moving need to fully appreciate their operation An example of KVL is shown
coil meters. As metering technology and limitations. First, the well-known in Fig.7. The voltage source has a
improved it led to further advances circuit theorem called Ohms law (see positive direction and voltage drops
in our understanding of electricity Fig.6), which states the relationship across the resistor are opposite to the
and magnetism, and these improved between the resistance of a resistor, R loop direction. Here, the voltages sum
measurements led to new discoveries (measured in ohms), the voltage across to zero alternatively, we can say
or proof of theories. the resistor, V (measured in volts), and that the sum of the voltages across
A typical moving coil panel meter is the current through it, I (measured in the resistors equals the voltage of the
shown in Fig.4. A moving coil meter amps). This can be written in three source. We have:
comprises a coil of wire round an forms, so that if you know two of these
iron core placed between the poles quantities you can find the other. VS1 VR1 VR1 = 0
of a permanent magnet (see Fig.5).
When direct current flows through V = IR I = V/R R = V/I VS1 = VR1 + VR1
the coil a force is produced on the
coil this is same effect as used in By resistor, we can mean anything that Kirchhoffs current law (KCL) can be
electric motors. The current in the behaves like a resistor, which includes stated as:
coil creates a magnetic field it acts the coil of a moving coil meter with a
as an electromagnet with the iron core direct current flowing through it. Taking direction into account, the sum
concentrating the magnetic field. The Ohms law provides the relationship of currents at a junction in a circuit is
magnetic field from the coil repels between current and voltage for a given zero.
or attracts the magnetic field of the resistor. Other important laws describe Currents flowing into the junction
permanent magnet and produces a the relationships between voltages in a
force that causes the coil to rotate. circuit (irrespective of current values)
This force is opposed by spiral springs
attached to the coil, which can also V
R1 VR1
act as the conductors to supply the I
+
current to the coil. The coil is often VS VS
mounted (via spindles) on bearings, R
R2 VR2
which allow easy movement. With V = IR I=
V
R=
V
correctly shaped magnet poles and R I
to switching individual shunt resistors than the actual voltage, that is:
in parallel is to have a chain of resistors VM = IMRM + IMRU
VM RM
across the meter and select different tap VM = VO IMRS
points. This is called an Ayrton shunt So
and was mentioned by rob_guyer in This problem is referred to as the A
WINDOWS 8.1 EXPLAINED KINDLE FIRE HDX EXPLAINED AN INTRODUCTION TO THE NEXUS 7
Windows 8.1 is the latest version of Microsofts operating This book is written to help users get to grips, quickly and This book is intended for the new user of the Nexus 7, al-
system. It is installed on all new Windows Desktop. Laptop easily, with the amazing Kindle Fire HDX tablet. You will be though much of it will also apply to the Nexus 10. It is easy to
and X86 tablet computers and is also available as a free guided through the configuration and use of the Kindle Fire understand being written in plain English and avoiding tech-
upgrade. Whether you choose to use the touch screen Tile HDXs facilities and functions. This book was written using the nical jargon wherever possible.
interface or the mouse operated Desktop interface, a good 7 HDX but it is also applicable to the 8.9 model. Among the many useful topics covered are: An overview of the
working knowledge of the operating system is essential to Among the many topics covered are: An overview of the Kin- main features of the Nexus 7; setting up the Nexus 7; charg-
get the most from your computer and this book will help you dle Fire HDX. Charging and setting up, connecting to a Wi-Fi ing the battery; connecting to the Internet and signing up for
to do just that. network, registering the device and connecting to Social Net- Gmail; touch-screen operation and navigating around the vari-
The book applies to Windows 8.1, Windows 8.1 Pro and the works; setting up and using the 1-Click Amazon account for ous screens; installing Apps from the Google Play Store; set-
vast majority of Windows 8.1 Enterprise. Also parts of the buying and downloading books, music and other content that ting a password and other precautions to keep your files safe;
book should be applicable to windows RT 8.1 which is built you have searched for. Explaining the use of the Carousel. connecting accessories such as a USB Drive, mouse and key-
on the same foundation as Windows 8.1 but is a restricted Starting screen Apps. Web and Device settings and the May- board; enjoying entertainment such as eBooks, games, mu-
version designed specifically for ARM tablets. day facility; browsing the web with Silk Internet explorer, us- sic and videos; searching the Internet, including speaking in
ing Bookmarks and History, printing web pages, documents keywords; using e-mail, Skype and social networking; install-
Among the many topic covered are: An overview of the Tile
and messages; connecting to a server to send and receive e- ing the free Google Drive app to save your documents in the
Interface, Desktop, Taskbar, Tray Notification Area, Charms
mail messages, using and saving attachments. Creating and cloud; using Google Docs free word processing and spread-
bar and running Apps; managing Windows settings, per-
organising your Contacts and Calendar appointements; us- sheet software; printing a document using Google Cloud Print,
sonalising your PC and creating User Accounts; using the
ing the Kindle Fire camera to take photos and videos. Watch- Exporting Nexus 7 files to laptop and desktop computers; and
Desktop File Explorer, SkyDive, Internet Explorer and the
ing TV, listening to music you bought, imported and from the much more besides.
E-mail App; working with and organising digital photo-
radio. Using the X-ray feature with books and other media; Even if you are a complete beginner, this book will help you
graphs, using Media Player to play and store music and to
Using the OfficeSuite to view your documents, upgrading to to easily acquire the skills needed to understand and make
burn CDs and installing Media Center to play DVDs; con-
OfficeSuite Professional 7 to allow both viewing and creation the most of the Nexus 7.
necting to wireless networks, setting up a HomeGroup,
of Word documents. Excel spreadsheets and PowerPoint
sharing a printer and networked PCs; using mobility tools to
presentations. And more besides...
keep your laptop running while away from home; accessibil- 118 Pages Order code BP744 8.99
ity features should you have dexterity or eyesight problems; This book will help you acquire the skills needed to under-
keeping your computer healthy and backing up important stand and make the most of your Kindle Fire HDX.
files; And much more besides..
118 Pages Order code BP743 8.99
180 Pages Order code BP747 10.99
HOW TO FIX YOUR PC PROBLEMS COMPUTING WITH A LAPTOP FOR THE OLDER
R.A. Penfold GENERATION
R.A. Penfold
128 pages Order code BP705 8.49 120 pages Order code BP702 8.49
120 pages Order code BP703 8.49 18 pages Order code BP701 8.49
OUT
L R
By Jake Rothman
Super-simple retro amp-speaker combo Part 2
strapped, removing one electrolytic
capacitor and one resistor. It also im-
+48V
Bootstrap VREF
Rsense proves the power-supply rejection
capacitor
10k
10F
2 x 1N4148
100 8mA
ratio (PSRR) since the power to the
whole circuit is now fed by the current
+
RC
To output
VREF TR3
25C3071
source. Rescaling the low-current cir-
12k
(High gain
Hfc>500
cuit to a small power amplifier results
in the circuit in Fig.15.
To bootstrap 100 22F
capacitor Diode dodges
+
10pF
Common-emitter
stage for voltage gain 1mA
Output
Note the reference voltage for the com-
TR4
TR1
22k 220
BC337 mon-base transistor TR2 is derived
BC182 BC369
220nF 12k from a reverse-operated Zener diode
(D2). This useful technique gives a
82k 4.7k forward voltage of 0.75V rather than a
normal diodes 0.6V. The small voltage
difference ensures a full output swing
1.5M 0V
because the transistor remains on
throughout the whole cycle. The orig-
inal circuit used 1.2V, which subtracts
Fig.13. Taylor buffer from Aprils Audio Out, with added common-emitter amplifier to give 0.6V from the available swing. Another
inverting gain block. This can be used in the Baxandall volume control if needed. diode (D1) is connected in reverse
Discrete design employed using the powerful circuit parallel with the base-emitter junction
The discrete version of this circuit is design trick I call the polarity flip, of TR1. This prevents bias shift when
based on a simple common-emitter where the circuit is turned upside overdriven by ensuring equal positive
amplifier combined with the Taylor/ down and the transistors are changed and negative current paths.
ring-of-three buffer (see the Active from NPN to PNP and vice versa, as This topology isnt symmetrical like
volume article in EPE, April 2016) shown in Fig.14. This enables the a standard push-pull amplifier, so
shown in Fig.13. A simplification is common-emitter stage to be DC boot- consequently it has mainly even-order
(second) harmonic distortion. Howev-
er, this is not very noticeable and pos-
470nF
+48V
sibly enhancing to some sources, such
0V
4.7k
BC640
simple music (not orchestras). This
22k
(Modulated
current
is minimised by replacing the emit-
source) ter-follower transistor (TR4/5) with a
220
Sziklai pair (see inset) to equalise the
10pF
+24.5V
100 22F gain on both cycles. The difference is
clearly seen in the oscillogram of the
+
DC bootstrap
Sziklai pair
Collector Set output to 11V
symmetric clipping
C8
VR1 330F
R15 TR5 With heatsink 25V
270 2.2M
2N1711, BFY51
+
High-gain
PNP
R6 R7 R8 compound Output 1.85W
680 10k 470 transistor*
R4 +
*High-gain PNP Collector 680k
compound transistor R11
C3 22 Special elliptical
100nF C4
100pF loudspeaker
C5 C9 EMI 30 impedance
470pF 22nF (Actually 27)
R1 R2 C2 R3
1.8k 1.5k 1nF 330k
+0.75V
+0.12V
TR2
TR1 BC182
Input 3.3k C1 R5 BC182 Zener R10 R12
eg, CD player 1nF 680k (Any 3.3 1
D1 voltage)
1N4148 Set Iq
0V
C10 Lower R10
470nF higher Iq
R13
1.6k
R14
1.2k
Fig.15. Scaling the circuit in Fig 14 to give higher current to drive the 30 EMI speaker, running on 24V rails. The current sensing and equalisation
shown in Fig.12 have been added. This circuits parts cost around 2.00, the valve equivalent about 40.00.
0.4mA
C7
220pF
0.1V
R9 *TR5/6 on small
270 21/C heatskinks
0.12mA C9
R7 R8 TR4 1000F
150 6.8k BC327 25V
+12.5V
+
R6 C6
10k 330pF
0.12V Output 1.85W
+
C1 R1 4.3mA R13
220nF 1k C4 10 8
47pF R11 7.5W RMS
Input C5 270 C8 22Vpk-pk
1nF TR6 100nF
3.5mA BD437*
R2 R4 TR1
22k 150k BC559C
+0.75V
+0.19V
ZIN = 50k TR3
+11V TR2 BC337
R3 C2 + R5 BC337
0.75V R12 R14
22F C11 5.6k 0.22
18k 1nF 3.3
16V D1 D2
5.6V UF4002
0V
C3
22F
16V
+
Fig.18. Higher power Taylor amplifier circuit with non-inverting topology
(7.5W RMS) into a normal 8 speaker as a UF4001 has to be used to avoid a dont want to use chips, such as the
and a higher input impedance, the switching glitch at high frequencies. TDA2030 or LM384, and dont want
modified circuit is shown in Fig.18. Schottky diodes, although very fast, the hassle of the Iq adjustment that
This has an extra transistor on the have insufficient voltage drop. The bedevils normal discrete class-AB
input (TR1) to allow a non-inverting amplifier is shown built on a piece of designs. Is that the dulcet tones of the
configuration to be used. By bypass- 2.75 1.75-inch perf-board in Fig.19. Shipping Forecast I hear?
ing the quiescent current (Iq) sense This method of construction is very
resistor (R12) with a diode (D2) the effective for working out 0.1-inch grid Next month
circuit can be made to operate in class PCB layouts with traditional leaded My apologies for those of you expect-
A up until the conduction threshold analogue parts and heatsinks. Fig.20 ing the promised construction details
of the diode is reached, at around shows the hardwiring underneath. in this article. However, patience will
1W, whereupon it begins to operate I guess all this is reinventing the wheel, be rewarded next month when we will
in class B. An ultra-fast diode such but I offer this circuit for those who finally get to build the amplifier!
Fig.19. The higher power amplifier built on perfboard. Note the TO126 Fig.20. Underside of the perfboard such constructions are often the
output transistors and heatsinks required start of a PCB design
All models include full software and 5 *Serial decoding (15 protocols
year warranty. Software includes including 1-Wire, CAN, Ethernet, IC,
measurements, spectrum analyzer, IS, LIN, RS-232, SENT, SPI, USB 1.1)
advanced triggers, color persistence, , with FREE updates.
masks, math channels, all as standard. Free Software Development Kit.
Visit our Shop, Call or Buy online at:
25 years of PC Oscilloscopes
www.cricklewoodelectronics.com
020 8452 0161 www.picotech.com/PS461
Visit our shop at:
40-42 Cricklewood Broadway
London NW2 3ET
ELECTRONICS CD-ROMS
From TINA Design Suite V10 OU
FE
ATU
RE
49.00 Analogue, Digital, Symbolic, RF, MCU and Mixed-Mode Circuit 201
RT
EA CH
D IN
5S -IN
Simulation and PCB Design with TINA ER
IES
TINA Design Suite V10 is a powerful yet affordable software package for analysing, designing
and real time testing analogue, digital, MCU, and mixed electronic circuits and their PCB
layouts. You can also analyse RF, communication, optoelectronic circuits, test and debug
microcontroller applications.
Enter and analyse any circuit up to 100 nodes (student), or 200 with the Basic (Hobbyist)
version within minutes with TINAs easy-to-use schematic editor. Enhance your schematics
by adding text and graphics. Choose components from the large library containing more than
10,000 manufacturer models. Analyse your circuit through more than 20 different analysis
modes or with 10 high tech virtual instruments.
Present your results in TINAs sophisticated diagram windows, on virtual instruments, or in
the live interactive mode where you can even edit your circuit during operation.
Customise presentations using TINAs advanced drawing tools to control text, fonts, axes,
line width, colour and layout. You can create and print documents directly inside TINA or cut
and paste your results into your favourite word procesing or DTP package.
TINA includes the following Virtual Instruments: Oscilloscope, Function Generator,
Multimeter, Signal Analyser/Bode Plotter, Network Analyser, Spectrum Analyser, Logic
Analyser, Digital Signal Generator, XY Recorder.
This offer gives you a CD-ROM the software will need registering (FREE) with Designsoft
(TINA), details are given within the package.
Get TINA Basic V10 (Hobbyist) for 129 or Student V10 version for 49
Prices include VAT and UK postage
+ get a 1 year free subscription for TINACloud the breakthrough cloud version of TINA which you can run on most
operating systems and computers, including PCs, Macs, thin clients iPads and other tablets even on many smart
phones, smart TVs and e-book readers.
To order please either fill out and return the order form, or call us on 01202 880299
Alternatively you can order via our secure online shop at: www.epemag.com
CD-ROMs Order
Ordercode
code NEW Teach-InETI BUN
Bundle Bundle Price 18.95
*
National Curriculum syllabus
*
Regular exercises
Circuit diagram design with component library (500 components
*
reinforce the teaching points
*
Retains student interest
*
Standard,1500 components Professional) Virtual instruments with high quality animation and graphics Stimulates
*
(4 Standard, 7 professional) On-screen animation Interactive
* learning through interactive exercises
*
Provides sample
circuit diagram simulation
*
True analogue/digital simulation
examination ques-tions with model solutions Authored
*
* *
Simulation of component destruction PCB Layout Interactive
* *
*
PCB layout simulation Automatic PCB routing Gerber export
* by practising teachers Covers all UK examination board
* *
* Multi-level zoom (25% to 1000%)
*
Multiple undo and redo syllabuses Caters for all levels of ability Useful for self-
* *
Copy and paste to other software Multiple document support tuition and revision
SUBJECTS COVERED
Electric Circuits Logic Gates Capacitors & Inductors Relays
Transistors Electric Transducers Operational Amplifiers
Radio Circuits Test Instruments
Over 100 different sections under the above headings
Standard 61.25 inc. VAT. Professional 75 plus VAT. 12.50 inc. VAT and P&P
ONLY
01/04/2015
13:08:17
219.965.F4OR55 YEAR)
Plus some bonus material from Nov and Dec 1998
VOL 2: BACK ISSUES July 1999 to December 1999
VOL 3: BACK ISSUES January 2000 to June 2000 ( ing VAT an
d p&p
each includ
VOL 4: BACK ISSUES July 2000 to December 2000
VOL 5: BACK ISSUES January 2001 to June 2001 VOL 23: BACK ISSUES January 2010 to June 2010
VOL 6: BACK ISSUES July 2001 to December 2001 VOL 24: BACK ISSUES July 2010 to December 2010
VOL 7: BACK ISSUES January 2002 to June 2002 VOL 25: BACK ISSUES January 2011 to June 2011
VOL 8: BACK ISSUES July 2002 to December 2002 VOL 26: BACK ISSUES July 2011 to December 2011
VOL 9: BACK ISSUES January 2003 to June 2003 VOL 27: BACK ISSUES January 2012 to June 2012
VOL 10: BACK ISSUES July 2003 to December 2003 VOL 28: BACK ISSUES July 2012 to December 2012
VOL 11: BACK ISSUES January 2004 to June 2004 VOL 29: BACK ISSUES January 2013 to June 2013
VOL 12: BACK ISSUES July 2004 to December 2004 VOL 30: BACK ISSUES July 2013 to December 2013
VOL 13: BACK ISSUES January 2005 to June 2005 VOL 31: BACK ISSUES January 2014 to June 2014
VOL 14: BACK ISSUES July 2005 to December 2005 VOL 32: BACK ISSUES July 2014 to December 2014
VOL 15: BACK ISSUES January 2006 to June 2006
VOL 16: BACK ISSUES July 2006 to December 2006
VOL 17: BACK ISSUES January 2007 to June 2007 NEW VOL 33: BACK ISSUES
Vol.33
VOL 18: BACK ISSUES July 2007 to December 2007 January 2015 to June 2015
VOL 19: BACK ISSUES January 2008 to June 2008
VOL 20: BACK ISSUES July 2008 to December 2008
VOL 21: BACK ISSUES January 2009 to June 2009 BACK ISSUES DVD/CD-ROM ORDER FORM
VOL 22: BACK ISSUES July 2009 to December 2009 Please send me the following Back Issue DVD/CD-ROMs.
Volume Numbers:. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DVD/CD-ROLE ...............
NOW AVAILAB
Price 16.45 each, 29.95 for Five Year DVD/CD-ROMs
includes postage to anywhere in the world.
Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
FIVE YEAR CD/DVD-ROMs
.......
No.1 Jan 03 to Dec 07 Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
No.2 Jan 04 to Dec 08 ...................................................
No.3 Jan 05 to Dec 09 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
No.4 Jan 06 to Dec 10 Post Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
No.5 Jan 07 to Dec 11 I enclose cheque/P.O./bank draft to the value of . . . . . . . . .
No.6 Jan 08 to Dec 12 please charge my Visa/Mastercard/Maestro . . . . . . . . . . . .
NEW No.7 Jan 09 to Dec 13 Card No. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
No.8 No.8 Jan 10 to Dec 14 Card Security Code . . . . . . . . . . (The last 3 digits on or just under the signature strip)
Valid From . . . . . . . . . . . . . . . . Expiry Date . . . . . . . . . . . . . . . .
NOTE: These DVD/CD-ROMs are suitable for use on any PC with a Maestro Issue No. . . . . . . . . . .
DVD/CD-ROM drive. They require Adobe Acrobat Reader (available
free from the Internet www.adobe.com/acrobat) SEND TO: Everyday Practical Electronics,
Wimborne Publishing Ltd., 113 Lynwood Drive, Merley,
Wimborne, Dorset BH21 1UU.
WHAT IS INCLUDED Tel: 01202 880299. Fax: 01202 843233.
All volumes include the EPE Online content of every listed issue. Please E-mail: orders@epemag.wimborne.co.uk
note that we are unable to answer technical queries or provide data
on articles that are more than five years old. Please also ensure that Payments must be by card or in Sterling cheque or bank
all components are still available before commencing construction draft drawn on a UK bank.
of a project from a back issue. Normally posted within seven days of receipt of order.
bookwires
www.epemag.com
wiring: } For Dummies byand John Nussey. has uploaded
} or components
01723
Upload
353900 are not connected using the correct
this sketch successfully,
to the board,
rows Upload thethis
in the LEDif everything
sketch
fades to fromtheoffboard,
to full and if everything
brightness andorthen
breadboard,components
has they will
uploaded arenotno
Upload
successfully, thethisLED sketch
fades
back off to the
from board,
off
successfully, to
again. If you and
full if everything
brightness
thedont
LEDsee fades and
anyfromhas
thenuploaded
off to
fading, full brightness
double-check breadboard,
the and then More othey will
Upload this sketch to the board, and if everything has uploaded Kitsbreadboard,
from 99.95 they will not work. l
backsuccessfully,
off again. If you the LED dontfades
wiring: see
backany from
offfading,off toIf
again. full
youbrightness
double-check
dont see theand fading,
any then double-check
More on this the and other Ardu
Arduin M
successfully, the LED fades from off to full brightness and then
wiring: back off again. If you dont wiring: see any fading, double-check the MoreFor
Arduino on this and other
Dummies book A
back off again. If you dont see any fading, double-check the More on this and other Arduino projects can be found in the
wiring: Arduino For Dummies
wiring: Arduino For Dummies book by John Nussey.
LAMBDA GENESYS PSU GEN100-15 100V 15A Boxed As New 325 Tektronix TDS3012 Oscilloscope 2 Channel 100MHZ 1.25GS/S
www.electronicsworld.co.uk 450
LAMBDA GENESYS PSU GEN50-30 50V 30A 325 Tektronix 2430A Oscilloscope Dual Trace 150MHZ 100MS/S 350
HP34401A Digital Multimeter 6.5 digit 275-325 Tektronix 2465B Oscilloscope 4 Channel 400MHZ 600
HP33120A Function Generator 100 microHZ-15MHZ 260-300 Cirrus CL254 Sound Level Meter with Calibrator 40
HP53131A Universal Counter 3GHZ Boxed unused 500 Farnell AP60/50 PSU 0-60V 0-50A 1KW Switch Mode 195
HP53131A Universal Counter 225MHZ 350 Farnell H60/50 PSU 0-60V 0-50A 500
www.electronicsworld.co.uk
Farnell B30/10 PSU 30V 10A Variable No Meters 45
HP54600B Digital Oscilloscope 100MHZ 20MS/S from 75
IFR 2025 Signal Generator 9kHz - 2.51GHZ Opt 04/11 900 Farnell B30/20 PSU 30V 20A Variable No Meters 75
Marconi 2955B Radio Communications Test Set 800 Farnell XA35/2T PSU 0-35V 0-2A Twice Digital 75
R&S APN62 Syn Function Generator 1HZ-260KHZ 195 Farnell LF1 Sine/sq Oscillator 10HZ-1MHZ 45
Fluke/Philips PM3092 Oscilloscope 2+2 Channel 200MHZ Delay etc 250 Racal 1991 Counter/Timer 160MHZ 9 Digit 150
HP3325A Synthesised Function Generator 195 Racal 2101 Counter 20GHZ LED 295
HP3561A Dynamic Signal Analyser 650 Racal 9300 True RMS Millivoltmeter 5HZ-20MHZ etc 45
HP6032A PSU 0-60V 0-50A 1000W 750 Racal 9300B As 9300 75
HP6622A PSU 0-20V 4A Twice or 0-50V 2A Twice 350 Black Star Orion Colour Bar Generator RGB & Video 30
HP6624A PSU 4 Outputs 350 Black Star 1325 Counter Timer 1.3GHZ 60
HP6632B PSU 0-20V 0-5A 195 Ferrograph RTS2 Test Set 50
HP6644A PSU 0-60V 3.5A 400 Fluke 97 Scopemeter 2 Channel 50MHZ 25MS/S 75
HP6654A PSU 0-60V 0-9A 500 Fluke 99B Scopemeter 2 Channel 100MHZ 5GS/S 125
HP8341A Synthesised Sweep Generator 10MHZ-20GHZ 2,000 Gigatronics 7100 Synthesised Signal Generator 10MHZ-20GHZ 1,950
HP83731A Synthesised Signal Generator 1-20GHZ 1,800 Panasonic VP7705A Wow & Flutter Meter 60 www.electronicsworl
HP8484A Power Sensor 0.01-18GHZ 3nW-10uW 75 Panasonic VP8401B TV Signal Generator Multi Outputs 75
HP8560A Spectrum Analyser Synthesised 50HZ - 2.9GHZ 1,250 Pendulum CNT90 Timer Counter Analyser 20GHZ 750
HP8560E Spectrum Analyser Synthesised 30HZ - 2.9GHZ 1,750 Seaward Nova PAT Tester www.electronicsworld.co.uk
95
www.electronicsworld.co.uk
HP8563A Spectrum Analyser Synthesised Solartron 7150 6 1/2www.electronicsworld.co.uk
Digit DMM True RMS IEEE 65
Chat Zone9KHZ-22GHZ
filler advert.indd 1 2,250 www.electronicsworld.co.uk
HP8566B Spectrum Analsyer 100HZ-22GHZ 1,200 Solartron 7150 Plus as 7150 plus Temp Measurement 75
HP8662A RF Generator 10KHZ - 1280MHZ 750 Solatron 7075 DMM 7 1/2 Digit 60
Marconi 2022E Synthesised AM/FM Signal Generator 10KHZ-1.01GHZ 325 Solatron 1253 Gain Phase Analyser 1mHZ-20KHZ 600
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 2305 Modulation Meter 250 Thurlby TG210 Function Generator 0.002-2MHZ TTL etc Kenwood Badged 65
Marconi 2440 Counter 20GHZ 295
Marconi 2945
Marconi 2955
Communications Test Set Various Options
Radio Communications Test Set
2,500
595
STEWART OF READING
Marconi 2955A Radio Communications Test Set 725 17A King Street, Mortimer, near Reading, RG7 3RS
www.electronicsworld.co.uk
Marconi 6200 Microwave Test Set 1,500
Marconi 6200A Microwave Test Set 10MHZ-20GHZ 1,950
Telephone: 0118 933 1111 Fax: 0118 9331275
Marconi 6200B Microwave Test Set 2,300 USED ELECTRONIC TEST EQUIPMENT
Marconi 6960B with 6910 Power Meter 295 www.electronicsworld.co.uk
Check website www.stewart-of-reading.co.uk
68
68 Everyday
Everyday
Practical
Practical
Electronics,
Electronics,
August
June 2016
Cool Beans (MP 1st & Max) AUGUST 2016.indd 68 27/06/2016 09:50
takes around four seconds to wipe each
new image over the existing one (the vid-
eo shows the display being driven by an
Arduino Uno, but this will be replaced by
a Nano in the final deployment).
There are several aspects to this delay.
First of all, we are using the Arduino li-
braries supplied by Adafruit. These re-
quire us to use 24-bit BMP images (8 bits
each for the red, blue, and green elements
of each pixel). Next, we are using the SPI
interface to read the images from the Mi-
cro-SD card on the back of the displays
breakout board and also to write the im
ages back to the display itself.
Before you ask, the display isnt double-
buffered (we already thought of that).
Two solutions that do present themselves
are: a) reduce the images to 16-bit BMPs,
thereby reducing the amount of data be-
ing read from the card and written to the
display by 33%, and b) continue to read
the images from the Micro-SD card using
the SPI interface, but to then write them
Fig.3. An early conception of the time Portal back to the display using the significantly
faster 8-bit parallel interface.
that the height of the Time Portal should be around There are also a variety of transition effects we can
2-inches. The portal itself will be a small LCD screen play with. Of course, we also have a bunch of limita-
surrounded by a 3D printed stone doorframe. Initially, tions to battle our way around, such as the fact that each
we considered two versions a free-standing doorframe 24-bit 240x320 pixel image occupies ~0.25MB on the
mounted on the floor versus a portal floating in the air Micro-SD card, while the Arduino Nano has only 2KB of
(this latter option is illustrated in Fig.3). on-chip SRAM, but overcoming these obstacles is what
As it turned out, this decision was eventually taken makes this stuff so much fun.
away from us. After searching far and wide, we opted to What makes it even more fun is that Im not the one
use a 2.8-inch diagonal TFT LCD from Adafruit (http:// doing the work; my chum Daniel Whiteley has a degree
bit.ly/1N1Ha1R). This little rascal comes with a break- in Electrical Engineering, he works on FPGAs for a liv-
out board that also carries the necessary controller chip ing, and in his spare time he dabbles with projects
along with a Micro-SD cardholder. The idea is to have like driving LCD displays with small microcontrollers.
the display alternating between a default time portal rip- Daniel is currently spending his weekends working fu-
pling mirror type image and a large random selection of riously on the Time Portal and I expect to have great
other interesting images, all of which will be stored on a things to report in a future column. Until then, have a
Micro-SD card attached to the back of the display. good one!
In Fig.4 you can see one such image a man sitting on
a chair looking out at a post-apocalyptic landscape. Ob-
serve the black band around the edge of the image. In
particular, observe that this black area is really large at
the bottom of the display. On the bright side, the 2.8-inch
quoted by Adafruit really does refer to the actual image
area. The problem is that, if we make the doorframe wide
enough to cover the black area at the bottom of the dis-
play along with the breakout connections below then
the frame will be totally out of scale to the rest of the dis-
play. The solution is to return to having a floor-mounted
time portal, but to actually present it standing on a small
platform faced by a couple of flagstone steps, thereby cov-
ering the unwanted areas of the display.
Im currently having a lot of fun rooting out all sorts of
interesting images. I started out with alien landscapes,
post-apocalyptic scenes, jungles, beaches, pyramids,
and weird, wonderful, and beautiful visions of the past,
present, and future (I dont like to limit myself unduly).
Furthermore, I subsequently decided that it would be
nice to give a nod to classic science fiction films (eg,
Forbidden Planet, The Day the Earth Stood Still, 2001:
A Space Odyssey, Planet of the Apes) and television
programs (Lost in Space, Land of the Giants, Quantum
Leap, The Twilight Zone).
Cool Beans (MP 1st & Max) AUGUST 2016.indd 69 27/06/2016 09:50
PCB SERVICE CHECK US OUT ON THE WEB
PROJECT TITLE ORDER CODE COST
FEB 16
Spark Energy Meter Main Board 05101151 20.75
Zener Diode Board 05101152
7.50
Calibrator Board 05101153
Basic printed circuit boards for most recent EPE constructional projects are
available from the PCB Service, see list. These are fabricated in glass fibre, and APRIL 16
are drilled and roller tinned, but all holes are a standard size. They are not silk- Appliance Insulation Tester 04103151 11.80
screened, nor do they have solder resist. Double-sided boards are NOT plated Front Panel 04103152 11.80
through hole and will require vias and some components soldering to both Low Frequency Distortion Analyser 04104151 7.50
sides. NOTE: PCBs from the July 2013 issue with eight digit codes have silk
screen overlays and, where applicable, are double-sided, plated through-hole, MAY 16
with solder masks, they are similar to the photos in the relevent project articles. 2-Channel Balanced Input Attenuator for Audio
All prices include VAT and postage and packing. Add 2 per board Analysers and Digital Scopes
for airmail outside of Europe. Remittances should be sent to The PCB Main Board 04105151 16.40
Service, Everyday Practical Electronics, Wimborne Publishing Front Panel 04105152
Ltd., 113 Lynwood Drive, Merley, Wimborne, Dorset BH21 1UU. 20.75
Rear Panel 04105153
Tel: 01202 880299; Fax 01202 843233; Email: orders@epemag.wimborne.co.uk. Appliance Earth Leakage Tester
On-line Shop: www.epemag.com. Cheques should be crossed and made payable Main Board 04203151
16.40
to Everyday Practical Electronics (Payment in sterling only). Insulation Board 04203152
NOTE: While 95% of our boards are held in stock and are dispatched within Front Panel 04203153 16.40
seven days of receipt of order, please allow a maximum of 28 days for 4-Output Universal Voltage Regulator 18105151 7.50
delivery overseas readers allow extra if ordered by surface mail.
JUNE 16
Back numbers or photocopies of articles are available if required see the Infrasound Snooper 04104151 7.48
Back Issues page for details. WE DO NOT SUPPLY KITS OR COMPONENTS Audio Signal Injector and Tracer 04106151 9.64
FOR OUR PROJECTS. Sheild Board 04106153 7.48
Demodulator Board 04106152 5.36
PROJECT TITLE ORDER CODE COST Champion Preamp 01109121/22 8.29
APRIL 15 JULY 16
A Rubidium Frequency Standard For A Song 04105141 8.02 Driveway Monitor Detector Unit 15105151 11.80
USB/RS-232C Interface 07103141 7.48 Receiver Unit 15105152 7.50
Teach-In 2015 Part 3 906 8.75 USB Charging Points 18107151 5.00
MAY 15 AUG 16
Deluxe Fan Speed Controller 10104141 10.72
16105141 8.56 Low-cost Resistance Reference 04108151 5.36
RGB LED Strip Driver
USB Power Monitor 04109121 12.00
Low-cost Precision 10V DC Reference For
Checking DMMs 04104141 7.48
JUNE 15 14103141 13.40 * See NOTE left regarding PCBs with eight digit codes *
Burp Charge Your Batteries
907 8.55 Please check price and availability in the latest issue.
Teach-In 2015 Part 5
A large number of older boards are listed on, and can be ordered from, our website.
JULY 15 Boards can only be supplied on a payment with order basis.
L-o-o-o-n-g Gating Times For The 12-Digit 04106141 11.55
High-Resolution Counter 99106141 10.15
Threshold Voltage Switch
Touch-Screen Digital Audio Recorder Part 2
01105141 13.70 EPE SOFTWARE
Where available, software programs for EPE Projects can be downloaded free
from the Library on our website, accessible via our home page at:
AUG 15 01106141 15.05
Nirvana Valve Simulator Main PCB www.epemag.com
01106142 8.30
Front Panel 21108141 12.00
TempMasterMK3
Teach-In 2015 Part 7
908 8.75 PCB MASTERS
PCB masters for boards published from the March 06 issue onwards are
SEPT 15 available in PDF format free to subscribers email fay.kearn@wimborne.
Opto-Theremin Part 1 23108141 14.25 co.uk stating which masters you would like.
Main Theremin 23108142 6.95
Volume Control Board
Everyday Practical Electronics reaches more UK readers than BOWOOD ELECTRONICS LTD
any other UK monthly hobby electronics magazine, Suppliers of Electronic Components
our sales figures prove it.
www.bowood-electronics.co.uk
We have been the leading monthly magazine in Unit 10, Boythorpe Business Park, Dock Walk, Chesterfield,
this market for the last Derbyshire S40 2QR. Sales: 01246 200 222
twenty-six years. Send large letter stamp for Catalogue
d
Roa
Old H
orth
Chatsw
Morrisons
Sparks www.panel-pool.com
Retail & Trade Welcome Free Parking Google St View Tour: S40 2RB
Published on approximately the first Thursday of each month by Wimborne Publishing Ltd., 113 Lynwood Drive, Merley, Wimborne, Dorset BH21 1UU. Printed in England by Acorn Web Offset Ltd., Normanton,
WF6 1TW. Distributed by Seymour, 86 Newman St., London W1T 3EX. Subscriptions INLAND: 23.50 (6 months); 43.00 (12 months); 79.50 (2 years). EUROPE: airmail service, 28.00 (6 months); 52.00
(12 months); 99.00 (2 years). REST OF THE WORLD: airmail service, 37.00 (6 months); 70.00 (12 months); 135.00 (2 years). Payments payable to Everyday Practical Electronics, Subs Dept, Wimborne
Publishing Ltd. Email: subs@epemag.wimborne.co.uk. EVERYDAY 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.
Browser-based access to the most popular tools from the award-winning MPLAB X IDE
also includes code simulation, as well as programming and debugging of your target
MCU. Plus a rich online community provides a forum for sharing ideas and knowledge.
www.microchip.com/eumplabxpress
The Microchip name and logo, MPLAB, and PIC are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. PICkit is a trademark of Microchip Technology Inc. in the U.S.A. and other
countries. All other trademarks mentioned herein are the property of their respective companies. 2016 Microchip Technology Inc. All rights reserved. DS40001832A. MEC2056Eng02/16