Site icon Making Easy Circuits

Make this Two Tone Alarm Circuit using NAND Gates

Now we talk about one idea which is that two tone alarm generator using frequency modulation method through IC 4011 NAND gates.

So in this new concept we are going to use a type of modulating system where we make the output tone frequency go up and down in a planned way using the IC 4011.

Now this thing is already known and people have used this idea before and it works really nicely for making interesting alarm sounds.

So here how it works is that we are going to modulate the main tone with a second oscillator.

What happens when we use a square wave as modulating signal

If we use a square wave signal for modulation then we will see that the tone at the output starts changing suddenly between two fixed tones.

So like one moment the tone will be one frequency and next moment it will jump to another tone.

This jump happens back and forth and the speed of this switching depends on how fast that modulating square wave is oscillating.

If that modulation oscillator is running fast then we get fast tone switching and if it is slow then we get slow tone switching.

What happens when we use triangle wave for modulation

But now if we try a triangle wave instead of square wave as modulation input then something different happens.

Here the output tone does not jump like before but it changes slowly and linearly.

So when the triangle wave rises then the tone slowly increases and when triangle wave falls then the tone also slowly decreases.

So we get this type of siren like sound where the tone keeps rising and falling in a smooth way.

This gives a very effective alarm effect which sounds serious and attention catching.

How both oscillators are linked and how the effect is created.

We have one oscillator using two NAND gates which is working like a modulator and another oscillator using other two NAND gates which is making the actual tone.

These two are connected together in such a way that the modulator output is weakly connected to the input of the tone generator.

So this weak connection is just enough to influence the tone oscillator and push its frequency up and down.

Now whenever the modulating oscillator changes its logic state then the frequency of tone generator also shifts.

Because of this thing the tone generator does not work at its normal fixed frequency anymore.

Final result at the output

So now instead of one single tone we get a back and forth changing tone.

In the example setup which we are talking about, the tone is not fixed but it keeps going between around 500 Hertz and 1.2 kHz.

This tone variation makes the alarm much more interesting and attention grabbing compared to single tone sound.

So that is how this simple two tone alarm generator works using frequency modulation method.

Construction Steps for the Above Two Tone Alarm Generator Circuit

1) Collect All the Parts First

So before we start soldering or wiring anything, we must first collect all the important parts:

2) Prepare the IC 4011 Setup

Now we take our IC 4011 and carefully put it on the breadboard or PCB. This IC has 14 pins. Make sure pin 7 goes to negative (ground) and pin 14 goes to positive (9V).

We will use all 4 NAND gates inside the IC:

3) Make the Modulator Section (First Oscillator)

Now we make the oscillator using Gate 1 and Gate 2. This will work like the modulating signal generator, probably a square wave type.

4) Build the Tone Generator Oscillator

Now we move to the next oscillator using Gate 3 and Gate 4. This part will generate the actual alarm tone that we hear from the speaker.

5) Connect Both Oscillators Together

We want our modulator to control the frequency of the tone oscillator. For that we connect them like this:

This weak connection lets the first oscillator affect the second one.

So whenever pin 4 output changes from high to low, the tone frequency also jumps a bit.

This makes the output tone keep swinging between 500 Hz and 1.2 kHz.

6) Connect Output Stage using MOSFET

Now we take the output from pin 11 and use it to drive a small speaker.

Since the IC cannot drive a speaker directly, we use a small MOSFET amplifier stage.

This way the MOSFET acts like a switch and passes the oscillations to the speaker.

7) Add Power Supply

Also place a 220uF capacitor across power lines to prevent voltage spikes.

8) Testing the Circuit

Once everything is connected:

9) Mount and Finalize the Circuit

Once your testing is done, mount everything on a PCB or a plastic box.

Keep IC protected from dust and moisture.

You can also use a small amplifier stage if volume is low.

Parts List for Two-Tone Alarm Generator Circuit Using IC 4011

Part NameValue / TypeQuantityDescription / Notes
IC14011 (Quad 2-input NAND gate)1Main logic IC used for oscillators
R110 Mega ohms (10M)1Resistor for modulating oscillator
R22.7 Mega ohms (2.7M)1Connects modulator to tone oscillator
R31 Mega ohm (1M)1Resistor for tone oscillator
C1220µF / 25V1Power supply filter capacitor
C210nF1Capacitor for modulator oscillator
C310nF1Same as C2 (or can be combined with it)
C41nF1Capacitor for tone generator oscillator
Speaker (LS1)50Ω to 80Ω1Output buzzer or speaker
Tr1 (MOSFET)Any N-channel, 2A, 30V min1Example: IRF540N, IRFZ44N, 2N7000 etc.
Battery / Power Supply9V DC1Battery clip or DC jack
General PCB or Breadboard1For assembling the circuit
Wires / JumpersAs neededFor making connections
Solder + Iron (optional)As neededOnly if you're assembling on PCB
Exit mobile version