As an Amazon Associate we earn from qualifying purchases.
The LM567 is a tone decoder: a small 8-pin chip that switches its output when it hears a chosen frequency at its input. In this project I used it to detect one desired frequency. It supports frequencies from 0.01 Hz to 500 kHz, so the same chip covers audio tones, ultrasonic signals and modulated infrared.
This article covers how the LM567 works, how to choose the timing components, a worked design example with measurements from the bench, and a simple IR link built with a 555 and an LM567.
How the LM567 detects a frequency
Inside the chip is a phase-locked loop (PLL). It contains a current-controlled oscillator, a phase detector, an amplifier and an output transistor. The oscillator is set by one resistor and one capacitor. When the input signal is close to the oscillator frequency, the loop locks onto it. The output transistor then turns on and pulls the output pin (pin 8) low.
When no matching frequency is present, the output stays high. This makes the chip a simple yes/no detector for one tone, and it ignores most other signals.
Maximum ratings
- Supply voltage of 9V
- Output Current of 100 mA
Stay within these limits. A 5 V supply is common if you are driving logic. The output is an open-collector style transistor, so use a pull-up resistor if you want a clean high level when the chip is idle.
Pins used in this design
- Pin 1: output filter capacitor
- Pin 2: loop low-pass filter capacitor
- Pin 3: signal input
- Pin 4: positive supply
- Pin 5: timing resistor (R1), also where the oscillator can be observed
- Pin 6: timing capacitor (C1)
- Pin 7: ground
- Pin 8: output
Choosing the centre frequency
The centre frequency depends on R1 and C1. The usual approximation is:
fo ≈ 1 / (1.1 × R1 × C1)
Pick a capacitor first, then calculate the resistor. A trimmer in series with a fixed resistor lets you tune the chip to the exact tone you need. This matters because real parts do not match the formula exactly, as the next section shows.
Design example
Here R1=10k, C1=0.01uF
Then fo=9090Hz
FREE RUNNING FREQUENCY =10.5KHz
But I got lock frequency = 11KHz
The measured lock frequency of 11 kHz is about 21% above the calculated 9090 Hz. You can check the deviation for your own parts with the percent change calculator.
A gap like this is normal. Ceramic capacitors and standard resistors have tolerances, and the formula is only an approximation. If you need a precise frequency, build the circuit, measure it, and trim R1 until the lock point lands where you want it.
Oscilloscope captures
The captures below show the signals at each main pin while the circuit was running.
INPUT AT PIN 3 (BLUE) & OUTPUT AT PIN 8 (YELLOW)
OUTPUT SIGNAL WHEN THE FREQUENCY OF DESIGN RANGE NOT PRESENT (PIN 8 -YELLOW)
FREE RUNNING FREQUENCY OF VCO AT PIN5
OUTPUT AT PIN 6 (CAPACITOR CHARGING AND DISCHARGING -BLUE COLOUR)
OUTPUT AT PIN 1( BLUE COLOR)
OUTPUT AT PIN 2( BLUE COLOR)
OUTPUT AT PIN 3( BLUE COLOR)
Example: IR transmitter (555) and receiver (LM567)
A common use is an infrared link. A 555 timer runs as an oscillator at the target frequency and drives an IR LED. On the receiver side, a photodiode or IR receiver feeds the signal into pin 3 of the LM567, which is tuned to the same frequency.
Because the receiver reacts only to its own tone, it largely ignores steady ambient light. Sunlight and room lighting do not trigger it the way a plain IR detector can. When the beam is broken or blocked, the tone disappears and the output returns high.
Tune the 555 and the LM567 to the same frequency. A small mismatch can be enough to stop the receiver locking, which is why a trimmer on one side is useful.
Applications
- IR sensors, such as beam-break detectors and remote links
- Ultrasonic sensors
- Frequency detectors and tone decoders
For ultrasonic designs, the wavelength calculator turns the detection frequency and the speed of sound into a wavelength, which is useful when spacing transducers. If you would rather read distance directly with a microcontroller, see our guide to the best ultrasonic sensor for Arduino.
Tone detection also suits simple safety and monitoring circuits. If you are interested in fault detection in general, our broken wire detection simulation shows a related idea in Proteus. For a mobile project that senses its surroundings, the obstacle avoidance robot article is a good next step.
Practical tips
- Decouple the supply with a capacitor close to the chip to avoid false triggering.
- Keep the input signal clean and within the amplitude the datasheet recommends.
- Use a larger loop filter capacitor for a more stable lock, at the cost of slower response.
- Measure the actual lock frequency on your own build rather than trusting the formula alone.
FAQ
What does the LM567 do?
It is a tone decoder. It switches its output when an input signal falls within a band around a frequency set by an external resistor and capacitor.
How do I set the LM567 frequency?
Use fo ≈ 1 / (1.1 × R1 × C1). Then fine-tune with a trimmer, because real components shift the result.
Is the LM567 output high or low when a tone is detected?
The output goes low when the tone is detected and stays high otherwise, so it is active low.
Why does my lock frequency differ from the calculated value?
Component tolerances and the approximate formula both contribute. In the example above, the calculated 9090 Hz locked at about 11 kHz on the bench.