Sunteți pe pagina 1din 12

Constructional Project

Low-Cost 50MHz
Frequency Meter – Mk.2

By JOHN CLARKE

This update of our very popular compact 50MHz Frequency


Meter now has an internal battery pack, or can run from a DC
plugpack supply. It also incorporates a 10kHz rounding mode to
enable 36MHz radio control transmitters, using pulse position
modulation (PPM), to be measured with an unambiguous reading.

10 Everyday Practical Electronics, November 2008


Constructional Project

The design is easy to build, since


it uses the programmed PIC micro-
controller to perform all the complex
logic. Apart from that, there’s an LCD
readout, a couple of low-cost ICs, two
transistors, a 3-terminal low dropout
regulator and a few sundry bits and
pieces.
Note that although we have specified
this Frequency Meter at 50MHz maxi-
mum, typical units will be capable
of measuring frequencies somewhat
higher than this. In fact, our prototype
meter was good for measurements to
above 64MHz.

LCD readout
A 2-line 16-character liquid crystal
display (LCD) shows the frequency
reading. This has several advantages
over LED displays, including much
lower current consumption.
In addition, the LCD can show all

S INCE some of our readers will


not be familiar with the 50MHz
Frequency Meter presented in the
Main Features
the units without resorting to the use
of separate annunciators, as would be
required with an LED display.
September 2006 issue, we are present- • Compact (130 x 67 x 44mm)
ing the design in full. Many readers Resolution modes
will want to update a meter they have • 8-digit reading (LCD)
There are three resolution modes:
already built. This is easy to do be- • Automatic Hz, kHz or MHz 1) Low-resolution mode with fast
cause there are only a few circuit and indicator units updates, suitable for the majority
hardware changes and the PC board
itself is unchanged.
• Prescaler kHz, MHz and GHz of measurements
indicator units 2) High-resolution mode for greater
As far as the circuit is concerned, the
major change is in the PIC microcontrol- • Three resolution modes, precision when required
ler. We have used a PIC16F628A instead including 10kHz rounding 3) 10kHz rounding up feature.
of the originally specified PIC16F84P, • 0.1Hz resolution up to 150Hz In low-resolution mode, the reso-
because we needed a larger memory. lution is 1Hz for frequencies from 1
Other changes include an LM2940CT-
• 1Hz resolution up to 16MHz
to 999Hz, and 10Hz for frequencies
5 low dropout regulator instead of the • 10Hz resolution above 16MHz above this. The corresponding display
78L05, an additional toggle switch on • Battery or DC plugpack supply update times are 1s from 1 to 999Hz
the front panel and the aforementioned and 200ms from 1kHz to 50MHz.
internal battery pack. In other respects, High-resolution mode provides
the circuit is unchanged. need a prescaler that divides the 1Hz resolution for frequencies from
input frequency to a range that the 150Hz to 16MHz. Above 16MHz, the
In use frequency meter can accept. Accord- resolution reverts to 10Hz. The display
Frequency meters are used in virtu- ingly, our updated version of the update time is 1s.
ally all areas of electronics and are in- 50MHz Frequency Meter includes a Below 150Hz in the high-resolution
valuable for servicing and diagnostics. prescaler switch which changes the mode, the display has 0.1Hz resolu-
Among other things, they are ideal for units from MHz to GHz, kHz to MHz tion and a nominal 1s update time for
checking the operation of oscillators, and Hz to kHz. frequencies above 10Hz. This 0.1Hz
counters and signal generators. As already mentioned, for radio resolution makes the unit ideal for
This unit is auto-ranging and dis- control modellers, the 50MHz Fre- testing loudspeakers, where the reso-
plays the frequency in Hz, kHz or MHz. quency Meter Mk.2 can be set to nance frequency needs to be accurately
This makes it easy to read, because it display the reading in 10kHz steps measured.
automatically selects the correct range for frequencies above 16MHz. This is Note that the update time is longer
for any frequency between 0.1Hz and an important feature, because when a than 1s for frequencies below 10Hz.
50MHz, and inserts the decimal point standard frequency meter is used to The three resolution modes are select-
in the correct place for each reading. measure radio control transmitters, ed by pressing the Resolution switch.
the modulation used will often result The meter displays ‘LOW’, ‘HIGH’ or
Provision for prescaler in an incorrect value. More informa- ‘LOW 10kHz@>16MHz’ to indicate
If you want to measure frequen- tion on this feature is detailed in an which mode is currently selected. In
cies above 50MHz, then you will accompanying panel. addition, the selected resolution mode

Everyday Practical Electronics, November 2008 11


Constructional Project

This is a long time to wait if you are


Parts List – 50MHz Frequency Meter Mk.2 adjusting a signal generator to a precise
frequency. However, in this frequency
1 PC board, code 581 for Version 1 1k7 horizontal trimpot (code meter, the display update period is 1s
1; 582 for Version 2; 583 for 102) (VR1) for frequencies above 10.0Hz, increas-
Version 3. All available from 1 10k7 horizontal trimpot (code ing gradually to 10s for frequencies
the EPE PCB Service. 103) (VR2) down to 0.1Hz. So, for normal audio
1 plastic case, 130 × 67 × 44mm frequencies, the display will update at
Semiconductors
1 front panel label to suit version, 1s intervals. Just how this is achieved
1 MC10116N triple ECL
125 × 64mm (see Fig. 9 and 10) is explained below, when we discuss
differential line receiver (IC1)
1 2-line 16 character (per line) the block diagrams for the unit.
1 74HC132 quad Schmitt trigger
alphanumeric LCD module The Prescaler switch causes the dis-
(IC2)
– see text play to show the prescaler units in the
1 PIC16F628A/P microcontroller
1 SPST toggle switch (S1) LOW and HIGH resolution selections.
(IC3) programmed with
1 pushbutton momentary When selected, the words ‘Prescaler
freqenc2.hex; available for
contact switch (S2) units’ are shown on the second line of
free download from the EPE
1 miniature SPDT toggle switch the LCD. The prescaler units feature is
website at www.epemag.
(S3) not available for the 10kHz rounding
com. Pre-programmed PICs
1 panel-mount BNC socket feature because it is not required and
are available from Magenta
1 low-drift 4MHz crystal (Hy-Q would confuse the reading.
Electronics – see their advert.
HC49/U 4000.00kHz GG03E)
1 LM2940CT-5 low dropout
(X1) Block diagrams
voltage regulator (REG1)
1 PC-mount 2.5mm DC socket The general arrangement of the
1 2N5485 N-channel VHF JFET
1 18-pin dual-wipe contact DIP frequency meter is shown in Fig.1.
(Q1)
socket (for IC3) It’s based mainly on the PIC micro-
1 BF450 PNP transistor (Q2)
1 28-pin dual-wipe contact DIP controller (IC3).
3 BAW62 diodes (D1-D3)
socket (for Versions 1 and 2 In operation, the input signal is
1 1N4004 1A diode (D4)
LCD modules; see text); or processed and applied directly to a
1 14-pin dual-wipe contact DIP Capacitors divide-by-256 prescaler inside IC3.
socket (for Version 3 LCD 2 100MF 16V PC electrolytic The divided signal then clocks timer
module) – see text 3 10MF 16V PC electrolytic TMR0, which counts up to 256 before
1 14-way SIL pin header for the 1 470nF MKT polyester clocking Register A, an 8-bit register
LCD sockets 1 100nF MKT polyester that counts up to 256 before returning
4 M3 x 10mm countersunk screws 8 10nF ceramic to zero. Combining all three counters
4 M3 nuts 1 470pF ceramic (the prescaler, TMR0 and register A)
4 M3 x 6mm cheesehead screws 1 33pF NP0 ceramic allows the circuit to count up to 24
4 M3 x 12mm tapped nylon 1 22pF ceramic bits, or a total of 16,777,216.
spacers 1 10-60pF trimmer (VC1) By counting over a 1s period, it
4 M3 nylon washers follows that the unit can make read-
10 PC stakes Resistors (1%, 0.25W) ings up to about 16.7MHz. However,
1 300mm length of 0.7mm 1 910k7 7 4707 if the frequency is counted over a
tinned copper wire 1 100k7 1 3307 100ms period, the theoretical maxi-
1 60mm length of 757 coax 1 47k7 4 1007 mum that can be measured is just
cable 2 10k7 1 1571W (optional) over 167MHz.
1 100mm length of hookup wire 2 2.2k7 As shown in Fig.1, the input signal
is amplified (by Q1, IC1 and Q2) and
is stored in memory and is automatically If the frequency is below 0.5Hz, the fed to gating stage IC2a. This drives
restored if the meter is switched off and display will initially show an ‘Await clocking stage IC2b, which is control-
on again. Signal’ indication before displaying led by IC3’s RA3 output. Normally,
In the 10kHz rounding mode, the the frequency. If there is no signal, IC2b allows the signal to pass through
frequency is rounded up to just show the display will then show ‘No Signal’ to the prescaler at IC3’s RA4 input.
the next 10kHz frequency band for after about 16.6s. IC3’s RB2 output controls the gating
frequencies between 16MHz and stage IC2a so that the signal passes
50MHz. When the display is showing Waiting time through for either a 100ms period or a
frequency rounding, the second line The 0.1Hz resolution mode for fre- 1s period. During the selected period,
of the display indicates this with a quencies below 150Hz operates in a the signal frequency is counted using
‘(10kHz Rounding)’ indication. different manner to those measurements the prescaler, timer TMR0 and register
In low-resolution mode, the dis- made at 1Hz and 10Hz resolution. Ob- A. Initially, the prescaler, the timer
play will show 0Hz if the frequency taining 0.1Hz resolution in a conven- and register A are all cleared to 0 and
is below 1Hz. By contrast, in the tional frequency meter normally means the RB2 output is then set to allow
high-resolution mode, the display measuring the test frequency over a 10s the input signal to pass through to the
will show ‘No Signal’ for frequencies period. And that means that the update prescaler for the gating period (ie, for
below 0.1Hz. time is slightly longer than 10s. 100ms or 1s).

12 Everyday Practical Electronics, November 2008


Constructional Project

Fig.1: the block diagram of the 50MHz Frequency Meter for ‘normal’ frequency measurements. The incoming signal
is first amplified, then fed through a gating circuit to a clocking stage (IC2b). This then drives a divide-by-256
prescaler inside PIC microcontroller IC3 (ie, at the RA4 input).

Fig.2: this is the alternative configuration for making high-resolution (ie, to 0.1Hz) measurements below 150Hz. In
this case, the input signal is applied to the RA4 input as before. However, the prescaler is no longer clocked by the
RA4 input, but by an internal 1MHz clock instead.

During this period, the prescaler counts checked to see if its count has changed. For the Prescaler units selection, the
the incoming signal applied to RA4. Each If TMR0 hasn’t changed, then the pres- Hz units are shown as kHz, the kHz
time its count overflows from 255 to 0, caler is clocked again with RA3. units are shown as MHz and the MHz
it automatically clocks timer TMR0 by During this process, register C is de- units are shown as GHz.
one count. Similarly, whenever the timer creased by one each time the prescaler In the 10kHz rounding mode, fre-
output overflows from 255 to 0, it sets is clocked. The process continues, quencies above 16MHz are rounded up
a timer overflow interrupt flag (TOIF), with RA3 clocking the prescaler until to the next 10kHz band. For example,
which in turn clocks Register A. timer TMR0 changes by one count. a 36.44659MHz signal is rounded up
When this happens, it indicates that to 36.450MHz.
Prescaler value the prescaler has reached its maxi-
At the end of the gating period, IC3’s mum count. The value in Register C Alternative configuration
RB2 output is cleared, thus stopping will now be the value that was in the If the input signal frequency is greater
any further signal from passing through prescaler at the end of the counting than 16MHz, and the gating period is 1s,
to the prescaler. The value of the count period. register A will initially have overflowed.
in TMR0 is now transferred to Register The processing block now reads the In this case, the gating period is automat-
B. Unfortunately, the value in the pres- values in registers A, B and C. Based ically changed to 100ms. Alternatively,
caler cannot be directly read by IC3 and on this information, it then decides if the high-resolution mode is selected
so we need to derive the value. where to place the decimal point and and the frequency is below 150Hz, the
This is done by first presetting whether to show Hz, kHz or MHz. The frequency meter changes its configura-
register C with a count of 255. That required value is then written to the tion to that shown in Fig.2.
done, the RA3 output is taken low to LCD via the data and control lines (RB4 In this case, the input signal is
clock the prescaler and timer TMR0 is to RB7, and RA0 to RA2). applied to the RA4 input as before.

Everyday Practical Electronics, November 2008 13


Constructional Project

Fig.3 (right): the circuit is based on


Specifications microcontroller IC3. This processes
the signals from the preceding
amplifier stages and drives the LCD.
• Input sensitivity: typically less than 20mV RMS from 1Hz to 100kHz, Power comes either from a 9V to 12V
rising to 50mV at 20MHz and 85mV at 50MHz. DC plugpack or from a 7.5V battery.
• Input impedance: 1.1M7 in parallel with about 10pF
• Frequency range: 0.1Hz to 50MHz or better 10nF capacitor. The 100MF capacitor
is sufficiently large to allow for a low
• Untrimmed accuracy: ±20ppm, equivalent to 1000Hz at 50MHz frequency response of less than 1Hz.
• Trimmed accuracy: ±10ppm from –20°C to 70°C However, this capacitor loses its ef-
fectiveness at higher frequencies due
• Resolution: High-resolution mode: 0.1Hz from 0.1 to 150Hz; 1Hz to its high internal inductance and the
from 150Hz to 16MHz; 10Hz from 16 to 50MHz. Low-resolution mode: signal is coupled via the 10nF capaci-
1Hz from 1 to 999Hz; 10Hz from 1kHz to 50MHz tor instead.
• Update time (approx): 200ms for 10Hz resolution; 1s for 1Hz
Differential line receivers
resolution; 1s for 0.1Hz resolution down to 10Hz, increasing to 10s at
0.1Hz IC1a is one of three differential
line receivers in an MC10116N IC.
• Display units: Hz from 0.1 to 999Hz; kHz from 1 to 999.999kHz;
It’s biased via the DC output at pin
MHz from 1 to 50MHz
11 and this is decoupled using a 10MF
• Current consumption: 65mA with 7.5 to 12V input electrolytic capacitor and a paral-
leled 10nF ceramic capacitor. The
voltage is then applied to the wiper
However, the prescaler is no longer becomes smaller as the frequency of trimpot VR1 (offset adjust) and
clocked by the RA4 input, but by an increases, and so we begin to lose ac- this allows adjustment of the input
internal 1MHz clock. curacy. For example, at 500Hz, the bias voltage.
Basically, what happens is that the counted value would be 2000 and at In operation, IC1a is run open-loop
RA4 input is monitored for a change in 500.1Hz the counted value would be (ie, without feedback) so that it pro-
state – ie, from a low voltage to a high 1999. The result of the division of 1999 vides as much gain as possible. Even
voltage – which indicates a signal at the into 10,000,000 would be 500.2 instead so, it only operates with a voltage gain
input. When this happens, the prescaler of the 500.1 required. of about seven. Its differential output
is cleared and begins counting the 1MHz Hence, the 0.1Hz resolution has been signals appear at pins 2 and 3, and are
internal clock signal. The overflows restricted to readings below 150Hz to applied to the differential inputs (pins
from the prescaler and timer TMR0 are ensure accuracy of the calculation. 12 and 13) of IC1b.
carried to register A as before. Note that the differential outputs
Counting continues until the input Circuit details have 4707 pull down resistors, be-
signal goes low and then high again, Refer now to Fig.3 for the full circuit cause they are open emitters. In fact,
at which point counting stops. If the details. The input signal is AC-coupled the MC10116 IC is an emitter-coupled
counting causes register A to over- to the unit via a 470nF capacitor to re- logic (ECL) device.
flow, then the display will show no move any DC component. This signal is Unlike IC1a, IC1b has negative feed-
signal (this will happen after 16.7s if then clipped to about 0.6V peak-to-peak back provided by the two associated
the signal does not go low and high using diodes D1 and D2, with current 1007 resistors. This reduces the gain
again). Conversely, if the counting is limiting provided by the 100k7 series of this stage to just below two.
within range, the prescaler value is resistor. The 22pF capacitor across the The third stage using IC1c employs
determined by clocking IC2b using 100k7 resistor compensates for the positive feedback, and so it functions
the RA3 output as before. capacitive load of the diodes. as a Schmitt trigger rather than as
From this, it follows that if the input From there, the signal is fed to the an amplifier. Its hysteresis is around
frequency is 1Hz (ie, a 1s period), the gate (G) of Q1, a 2N5485 JFET. This 450mV, while this means that the
value in the A, B and C registers will be transistor provides high input imped- signal swing on its differential inputs
1,000,000. That’s because the prescaler ance, which is necessary to ensure a must be greater than this in order to
is clocked at 1MHz for 1s. Similarly, the wide frequency response. provide an output.
count will be 100,000 for a 10Hz signal Q1 is self-biased using a 910k7 In operation, the output signal at
and 10,000 for a 100Hz input signal. resistor from the gate to ground, and pins 6 and 7 of IC1c swings from 4.3V
Finally, the value in the registers a 4707 source (S) resistor. It operates when high to 3.4V when low. This
is divided into 10,000,000 and the with a voltage gain of about 0.7, which needs to be level-shifted to provide
decimal point placed immediately to means that the signal is slightly attenu- normal CMOS input levels to the
the left of the righthand digit. This ated at the source. This loss is more gating circuit (IC2a), this is done using
gives a direct readout in Hz with 0.1Hz than compensated for in the following PNP transistor Q2.
resolution on the LCD. amplifier stages. IC2a is a Schmitt NAND gate. It
This technique cannot be used Next, the signal is AC-coupled to pin inverts the signal on its pin 1 input
for measuring very high frequencies 4 of amplifier stage IC1a via a 100MF when pin 2 is held at +5V by IC3’s
because the value in the counter electrolytic capacitor and a parallel RB2 output (ie, the signal passes

14 Everyday Practical Electronics, November 2008


Constructional Project

Everyday Practical Electronics, November 2008 15


Constructional Project

Fig.4: this is the layout to use to upgrade an existing Mk.1, Version 1 module.

IC2b normally has its pin 5 input


held high via IC3’s RA3 output, so that
the signal from IC2a is again inverted
at pin 6. When RB2 is brought low, pin
3 of IC2a remains high, and so pin 4 of
IC2b is also high. This allows RA3 to
clock the RA4 input via IC2b.

Driving the LCD


IC3’s RA0 to RA2 outputs drive the
control inputs to the LCD module and
select the line and the position of the
character to be displayed. Similarly,
Fig.5: follow this layout diagram to build Version 2. Note that trimmer capacitor
VC1 mounts on the track side of the board – see photos. RB4 to RB7 drive the data inputs (DB4
J
to DB7) on the LCD module. A 470pF
capacitor on the E (enable control
line) is included to slow down the
rise and fall times of the square wave
from IC3.
A 4MHz crystal (X1) connected be-
tween pins 15 and 16 of IC3 provides the
clock signals for IC3. The recommended
crystal has low drift, but a standard
4MHz crystal could be used if accuracy
is not critical. The capacitors at pins 15
and 16 provide the necessary loading for
the crystal, while VC1 allows the clock
frequency to be ‘tweaked’ slightly to
provide calibration.

Power supply
Power for the circuit is derived from
Fig.6: this is the layout to follow if you are building Version 3. either a 9V to 12V DC plugpack or a
7.5V battery, made up using five AA
cells. You can choose to operate from
through to the pin 3 output, but is So, in summary, the signal is allowed batteries or a DC supply – but not both.
inverted). Conversely, when RB2 is through to IC2b when RB2 is high, Diode D4 protects the circuit against
at 0V, IC2a’s pin 3 output remains and is blocked when RB2 is low, as reverse polarity protection when us-
high, and the input signal is blocked. described previously. ing a plugpack supply, while regulator

16 Everyday Practical Electronics, November 2008


Constructional Project

The LCD module is secured to the lid of the case using four M3 × 6mm cheesehead
screws, four M3 nuts and four M3 × 10mm tapped nylon spacers. Make sure that
all polarised parts on the counter board are correctly orientated.

REG1 provides a +5V supply rail to site, access via epemag.co.uk. Pre-
power the circuit. The specified volt- programmed PICs are available from
age regulator is a low dropout type, so Magenta Electronics – see their advert
that the meter will still operate when in this issue for contact details.
the batteries have dropped to 5V.
If a battery is used, it connects to the Construction
cathode (K) side of D4; ie, it bypasses The 50MHz Frequency Meter Mk.2
the reverse polarity protection. This can be made in one of three versions, dropout regulator. In addition, you
means that D4 can be left out of the depending on what display module will need to drill an extra hole in the
circuit (along with the DC socket) if you buy. That’s because different front panel to accommodate the ad-
the unit is to be battery powered. suppliers sell different LCD mod- ditional switch.
If you wish to use rechargeable cells, ules, so a different PC board has
then it is recommended that you use been designed to suit each module.
an extra cell to obtain more voltage. In These boards are coded 581 Version Table 2: Capacitor Codes
this case, you could replace D4 with 1, 582 Version 2 and 583 Version
a 157 1W resistor to enable charging. 3. (All available from the EPE PCB Value MF code EIA Code IEC Code
Make sure you get the polarity correct. Service.) 470nF 0.47MF 474 470n
If you are concerned about polarity, a If you are buying a kit, make sure 100nF 0.1MF 104 100n
Schottky diode (1N5819) could also be you get the updated version and not 10nF .01MF 103 10n
included in series with the resistor. the original version described in Sept
470pF NA 471 470p
’06. If you are modifying an existing
Software kit, you will need a new programmed 33pF NA 33 33p
The software files are available for PIC16F628A, a miniature SPDT tog- 22pF NA 22 22p
free download via the EPE Downloads gle switch and an LM2940CT-5 low

Table 1: Resistor Colour Codes


O No. Value 4-Band Code (1%) 5-Band Code (1%)
O 1 910k7 white brown yellow brown white brown black orange brown
O 1 100k7 brown black yellow brown brown black black orange brown
O 1 47k7 yellow violet orange brown yellow violet black red brown
O 2 10k7 brown black orange brown brown black black red brown
O 2 2.2k7 red red red brown red red black brown brown
O 7 4707 yellow violet brown brown yellow violet black black brown
O 1 3307 orange orange brown brown orange orange black black brown
O 4 1007 brown black brown brown brown black black black brown
O 1 157 brown green black brown brown green black gold brown

Everyday Practical Electronics, November 2008 17


Constructional Project

Fig.7: this diagram


shows how the unit is
installed inside the case.
Be sure to use nylon
spacers and washers
where indicated.

Reproduced by arrangement
with SILICON CHIP magazine
2008.
www.siliconchip.com.au

Each LCD plugs directly into its Circuit boards transistors Q1 and Q2. Note that REG1
intended PC board, which means that Figs.4 to 6 shows the PC board mounts using PC stakes and is mounted
there are no external wiring connec- layouts for the three versions. Begin horizontally to cover IC3 (see photo
tions except to the BNC input socket, by checking that you have the correct below). Note also that some of the parts
switch S3 and the battery holders. PC board for the LCD module you are must sit with their bodies parallel to
The unit is housed in a plastic case using. That done, check the mount- the PC board. These include crystal X1,
measuring 130 × 67 × 44mm, with ing holes for the LCD module against its adjacent 470pF capacitor and the
the LCD module protruding through those on the PC board (the holes must 10MF capacitor adjacent to switch S1
a cutout in the front panel. Version 1 be 3mm in diameter). Check also that on Version 3 (so it doesn’t later foul S3),
has the power switch mounted on the holes are large enough to mount switch plus the 10MF and 100MF capacitors on
righthand side and the signal input ap- S2 and the DC input socket. Version 2 (so that they don’t foul the
plied to the BNC socket at the top left Next, install all the wire links and LCD module).
of the box. By contrast, both Version 1 resistors, using the accompanying re- It’s just a matter of bending their
and 2 have the power switch at the top sistor colour code table as a guide to leads at right angles before installing
left, while the input socket is mounted selecting each value. It’s also a good them on the board.
on the top right of the box. idea to check the resistors with a dig- Similarly, the top of transistor Q2
This difference comes about because ital multimeter, just to make sure. must be no higher than 10mm above
the display readout for the Version 1 LCD IC1 and IC2 can go in next, taking the PC board so that it doesn’t interfere
module is upside down compared to the care to ensure that they are correctly ori- with the LCD module (all versions).
other two modules in relation to the input ented. Then install a socket for IC3, but The next step is to install the socket
terminals. Note that the unit shown in the do not install the microcontroller yet. for the LCD module. Both Versions 1
photos is Version 1, but both Version 2 The diodes and capacitors can now and 2 use a 28-pin DIL IC socket that
and 3 modules were fully tested. all be installed, followed by REG1 and is cut in half to obtain a 14-way strip

Here’s another view of the


completed PC board. Note
how regulator REG1 is
mounted face down over
IC3 and the adjacent 100nF
capacitor, with its three
leads soldered to PC stakes.

18 Everyday Practical Electronics, November 2008


Constructional Project

socket which is then soldered in place.


By contrast, Version 3 uses a 14-pin BNC SOCKET
IC socket which is cut into two 7-way
strips, which are then installed side-
by-side (Fig.6.).
Once the sockets are in, install PC
stakes for the ‘+’ and ‘–’ supply con-
nections (near D4) and for the signal
input and GND connections. These PC
stakes should all be installed from the
copper side of the board. NYLON WASHER NYLON WASHER
PC stakes are also used to mount
switch S1. These should be trimmed
so that when the switch is mounted, its
top face is 20mm above the top surface
of the PC board. Be sure to orient S1
with its flat section facing towards the
right, as shown in Figs.4 to 6.
The remaining parts can now be TRIMMER VC1
installed on the board. These parts
include switch S2, the DC socket,
trimpots VR1 and VR2, crystal X1 and
trimmer capacitor VC1.
Note that VC1 is mounted on the
underside of the PC board, so that The PC board is secured by plugging it into the matching header pins on the
it can be adjusted without having to LCD module and installing four screws to fasten it to the spacers. Note the
remove the LCD module. nylon washers under the top two screw heads – these are necessary to prevent
shorts to adjacent tracks. The inset at top-left shows an enlarged view of VC1.
Front panel
The front panel (ie, the case lid)
must be drilled and a cutout made to Now press the Resolution switch secured to the case lid using four M3
accommodate the three switches and – the display should show HIGH. It × 10mm countersunk screws, four M3
the display. However, if you have pur- should then show Await Signal when nuts (used as spacers) and four 12mm-
chased a kit, then you probably won’t the switch is released. If the switch is long tapped nylon spacers. The PC
have to worry about this. then pressed again, the display should board is then secured to the bottom
It will also be necessary to drill the show LOW. A third press will bring up ends of the four spacers. Use nylon
mounting holes for the LCD module. the LOW 10kHz@>16MHz mode. washers for the underside of the PC
Note that these should be countersunk board to prevent shorting any tracks
so that the intended screws sit flush Final assembly with the screws (see photo above).
with the surface of the lid – see Fig.7. Refer to Fig.7 for the final assembly You will have to drill a 9mm dia-
That done, the label (see Figs.9 and 10) details. As shown, the LCD module is meter hole in one side of the box to
can be attached to the panel with the
cut-outs made using a utility knife.

Testing
Now for an initial test before IC3 or the
LCD are plugged in. Apply power and
check that +5V is present on pin 16 of
IC1, pin 14 of IC2 and pins 4 and 14 of
IC3. If this is correct, disconnect power
and install the ready-programmed PIC
microcontroller (IC3) in its socket, tak-
ing care to ensure it goes in the right
way around. Plug the LCD module into
its matching socket and temporarily fit
a couple of 12mm tapped nylon spacers
to support it on the PC board.
Apply the power again and check that
the display shows either 1Hz or 0Hz. If
not, adjust VR2 for best display contrast.
Trimpot VR1 should be adjusted so that
the display shows 0Hz when the signal Fig.8: the two battery holders (4 × AA and 1 × AA) must be wired in series
input terminals are shorted. as shown here. Add an extra AA holder if you are using rechargeables.

Everyday Practical Electronics, November 2008 19


Constructional Project

provide access to the DC socket if you


Checking the frequency are powering the unit from a plugpack.
This hole should be positioned mid-
of radio control transmitters way along one side and about 10mm
down from the top edge of the case.

W HEN MODEL ENTHUSIASTS get together, they often want to fly their
radio-controlled aeroplanes (or drive their radio-controlled cars or
boats) in a competition-based meet. With so many radio controls being
If the unit is to be battery-powered,
you will need to solder the battery
leads to the supply PC stakes on the
used they must each operate on a different band to avoid interference underside of the board. The batteries
between the controllers. Having a device that can immediately check can be secured to the bottom of the case
each transmitter’s operating frequency is a great asset, because it can by mounting them in suitable holders.
tell immediately if there is going to be a frequency conflict. In that case, Our model used a 4 × AA holder and a
they can change the crystal frequency on one of the transmitters and its single AA holder – see Fig.8 and photo
receiver. below. Use an extra AA holder if you
Radio transmitters operate on the 27MHz, 29MHz, 36MHz and 40MHz are using rechargeables.
bands. However, the synthesised modules (crystal controlled) are only The BNC input socket is mounted
available on the 36MHz band and this is by far the most popular band. in a slot in the top side of the case
On this band, PPM (pulse position modulation) and PCM (pulse code (see photo below) and is wired using
modulation) are used for the transmission. With PCM, the frequency 757 coax cable to the two signal input
reading on a meter will be correct because the modulation is symmetrical PC stakes on the underside of the PC
and the frequency swings will average out. For PPM, the frequency board. The screen (braid), of course,
reading on a meter will be a few kHz low because of the asymmetrical goes to the GND stake. In practice, the
dwell times on the high-low parts of the modulation. slot must be made so that the socket
can be slid in or out, along with the PC
The PPM frequency reading can be most confusing at times. To
board and display assembly.
understand why, let’s consider an example. The 36MHz band runs in
The slot was made just wide enough
10kHz steps from 36.010MHz to 36.590MHz. If we have a crystal in the
to allow the ‘flat’ side of the BNC
transmitter that is set at 36.450MHz, the reading on a standard frequency
socket to fit. This prevents the socket
meter will show a lower value at say, 36.44646MHz. But with our
from turning in the slot when an input
frequency meter in 10kHz rounding mode, it converts the 36.44646MHz
connector is attached.
count to 36.450MHz.
Finally, switch S3 is wired to its ter-
There is no need to connect the RC transmitter directly to the frequency minals using hookup wire as shown.
meter for these readings. Just bring the transmitter’s antenna close to an
antenna that’s connected to the meter, as shown in the title page photo. Calibration
The antenna was made from an old ethernet cable. Just cut the cable so The completed 50MHz Frequency
that you have a length of about 200mm or so from the BNC socket, then Meter Mk.2 can be calibrated against
strip off the other sheath insulation and the woven shield, leaving just the the 15.625kHz line oscillator frequency
inner insulated wire. This can then be covered with a length of heatshrink in a colour TV set. Fortunately, you
sleeving to provide extra stiffening and protection. don’t need to remove the back of the set
to do this. Just connect a long insulated
wire lead to the input socket and dangle
it near the back of the TV set.
It’s then just a matter of adjusting
trimmer VC1 so that the meter reads
15.625kHz when the resolution is set
to ‘High’.
Note: the TV must be showing a PAL
program, not NTSC (15.750kHz).
If there is insufficient adjustment
on VC1 to allow calibration, the
33pF capacitor at pin 15 of IC3 can
be altered. Use a smaller value if
the frequency reading is too high
and a larger value if the frequency
reading is too low.
Usually, the next value up or
down from 33pF will be sufficient;
use either 27pF or 39pF.
If you require greater accuracy,
the unit can be calibrated against
The battery holders are attached to the the standard 4.43MHz colour burst
bottom of the case using epoxy adhesive. frequency that’s transmitted with
TV signals. The best place to access

20 Everyday Practical Electronics, November 2008


Constructional Project

Fig.9: this front-panel artwork suits both Versions 2 and 3.

Fig.10: use this artwork to upgrade an existing Mk.1 Version 1.

this frequency is right at the colour that’s in addition to the lethal EHT a ground lead. This probe can then
burst crystal inside a colour TV set. voltages that are always present in connect to one side of the colour burst
This crystal will usually operate at such stages. crystal and VC1 is adjusted so that
8.8672375MHz (ie, twice the colour Note too, that some TV sets (par- the meter reads either 8.867237MHz
burst frequency), although some sets ticularly older European models) even or 4.433618MHz (resolution set to
use a 4.43361875MHz crystal. have a ‘live’ chassis, in which all the High mode).
Be warned: the inside of a colour circuitry (including the chassis itself) Make sure that the probe has no
TV set is dangerous, so don’t attempt operates at mains potential (ie, 230V effect on the colour on the TV screen
to do this unless you are an experi- AC). Usually, there will be a label on when it is connected to the colour
enced technician. There are lots of the back of the set advising of this, burst crystal. If it does, it means that
high voltages floating around inside but never take it for granted. Don’t the probe is loading the crystal and
a colour TV set and you could easily even think of messing about with this altering its frequency. In that case,
electrocute yourself if you don’t know type of set. try connecting the probe to the other
what you are doing. In short, don’t attempt the following terminal of the crystal.
In particular, note that much of calibration procedure unless you are That’s it – your new 50MHz Frequen-
the circuitry in a switchmode power very experienced and know exactly cy Meter Mk.2 is now calibrated and
supply circuit (as used in virtually what you are doing. ready for action. EPE
all late-model TV sets) operates at Assuming that you know what you
mains potential (ie, many of the parts are doing (and the set has a grounded Footnote: a complete kit of parts for
operate at 230V AC). In addition, the chassis), you will need to make up the 50MHz Frequency Meter MK.2
line output stages in some TV sets an insulated probe with a 10M7 re- is available from Jaycar Electronics
(Cat. KC-5440).
also operate at mains potential – and sistor in series with the input, plus

Everyday Practical Electronics, November 2008 21

S-ar putea să vă placă și