DIY police quack on PIC. Police quack (siren) on a PIC microcontroller How to disassemble an alarm quack

I offer you to repeat the circuit of a sound device that simulates the signal of a “Police Siren”. The device is made on a PIC16F628 microcontroller. The circuit has two different sirens and a “Quack”.

When you press the "Quack" button, a one-time imitation of the "Police Quack" is activated. When you press the "Start" button, "Siren No. 1" turns on, when you press it again, "Siren No. 2" turns on. There is also an effect that simulates the end of the sound of the first siren; to enable this effect, press the "End" button. To stop playing the sound effect, press the "Stop" button. This circuit is easy to assemble and does not require configuration.

“PA” – Power amplifier, it is not shown in the diagram. This circuit is assembled on a printed circuit board; there is also a simple stabilizer on the printed circuit board to power the microcontroller.

Buttons for of this device were taken from the panel of an old car radio, but simple tact buttons can also be used. The housing for the device is made of plastic, size (55X35X15).

You can download printed circuit boards, project in , firmware below

List of radioelements

Designation Type Denomination Quantity NoteShopMy notepad
MK PIC 8-bit

PIC16F628A

1 To notepad
Capacitor33 pF2 To notepad
Quartz resonator4 MHz1 To notepad
ButtonWithout fixation4 To notepad
Add all

Today we will look at the latest module for a VIP signal (quack) - this is a power amplifier. Recently they brought me a quack with a failed UMZCH. If you own such a device, then you don’t need to turn it on for more than 10 seconds - the amplifier will burn out! Well, if you have a quack like the cops, then you can safely turn it on as much as you want! In police quacks, the signal is amplified using an audio converter with powerful transistors that can work for hours without burning out. Chinese cheap signals use an amplifier based on TDA2003 microcircuits; thanks to the bridge connection of two microcircuits, it was possible to obtain a power of up to 30 watts. The power is, of course, insignificant compared to police 300-watt flashlights, but the sound is quite loud. You can also find it on our website. So, after turning it on, it became clear that the world circuits had burned out; they are very easy to get or buy on the radio market for a negligible amount. Microcircuits can also be replaced with TDA2002, although the latter are rarely found; the domestic analogue of the TDA2003 microcircuit is the famous 174un14.

The microcircuits were replaced, and the reason why they burned out was also found out - if you turn on the device for a few seconds, the microcircuits will boil, the fact is that they are placed on a common heat sink with a small area.

The heatsink was also replaced with a larger one. A typical bridge circuit for connecting amplifiers on the TDA2003 chip is shown below.

2 ohm resistors can be replaced with homemade ones. To do this, take the paste from a helium pen and wind 20 turns of wire with a diameter of 0.5 millimeters on it, turn to turn. You can wind it in two rows to make the resistor compact. All polar capacitors used in the circuit are selected with a voltage of 16 or 25 volts.

The amplifier is powered through a relay, but it can be excluded from the circuit, since it can be used here direct connection wires, the currents are not so high that the wires cannot withstand.

The capacitance of the input capacitor can be deflected in one direction or another; this will not affect the operation of the amplifier and sound parameters in any way, since the amplifier works as a signal repeater. The load of the head, which is connected to an 8 ohm amplifier. It is known that the microcircuit can operate at a load of 2 ohms, with a bridge connection of 4 ohms; to increase the volume, you can use a small transformer (iron) with two windings. The primary must be connected to the amplifier output. The primary winding should have a resistance of 3.2-4 ohms, wound with a wire of 0.7-1 mm. We wind the secondary winding with the same wire and it should have the same resistance as the first. This way you can increase the power by 1.5-2 times. Author - Arthur Kasyan (AKA).

DIY police quack on PIC

I offer you to repeat the circuit of a sound device that simulates the signal of a “Police Siren”. The device is done on microcontroller PIC16F628. The circuit has two different sirens and a “Quack”.

Basically, a police quack is installed in a car, so look at other diagrams for cars

You will also need a programmer for PIC, here is the diagram


When you press the "Quack" button, a one-time imitation of the "Police Quack" is activated. When you press the "Start" button, "Siren No. 1" turns on, when you press it again, "Siren No. 2" turns on. There is also an effect that simulates the end of the sound of the first siren; to enable this effect, press the "End" button. To stop playing the sound effect, press the "Stop" button. This circuit is easy to assemble and does not require configuration.

“PA” – Power amplifier, it is not shown in the diagram. This circuit is assembled on a printed circuit board; there is also a simple stabilizer on the printed circuit board to power the microcontroller.


The buttons for this device were taken from the panel of an old car radio, but simple tact buttons can also be used. The housing for the device is made of plastic, size (55X35X15).

To dub children's toys, motorcycles and battery-powered cars, I suggest you do simple diagram sound device simulating the signal of a “Police siren”. The circuit is simple, contains a small number of parts and does not require configuration. It is not difficult to assemble; you can order stitched microcontrollers using the link at the end of the article.

The siren device is assembled on a programmable microcontroller PIC16F628.

The firmware has two different sirens and a “Quack”.

Schematic diagram of a siren with a power amplifier

Printed circuit board for siren with PA

How to use a siren?

When you press the “Quack” button, a one-time imitation of the “Police Quack” is activated. When you press the “Start” button, “Siren No. 1” turns on, when you press it again, “Siren No. 2” turns on. There is also an effect that simulates the end of the sound of the first siren; to turn on this effect, click the “End” button. To stop playing a sound effect, press the Stop button. This circuit is easy to assemble and does not require configuration.

“UM” – Power amplifier, circuit above. This circuit is assembled on a printed circuit board; there is also a simple stabilizer on the printed circuit board to power the microcontroller.

The buttons for this device were taken from the panel of an old car radio, but simple tact buttons can also be used.

You will also need a PIC programmer. There are many different programmer schemes on the Internet.

A USB or COM port is usually used for data transfer.

You can buy a ready-made programmer that you need inexpensively in China.

Modification: “Quack with flashing light”

If you wish, you can also add an LED flasher on the PIC12F675 to the “quack” circuit!

Photo of the assembled board with a flasher

Video of a siren and flasher working

If you want to assemble the proposed siren with a flasher, you can purchase a kit for its assembly with stitched microcircuits at the link: vsmaster.ru

Sergey V. Kamyshin. (For all questions: [email protected])


SHARE WITH YOUR FRIENDS

P O P U L A R N O E:

    Electric valves are required to automatically control various hydraulic systems. Finished products are quite expensive. Let's look for a cheaper solution.

The police “quack” effect can be achieved using a fairly simple method. Essentially it's simple signal, on the basis of which a pulse generator is built, which is tuned to a certain operating frequency (usually 10-40Hz). How to achieve such an effect as a patrol car?

The idea can be brought to life quite in a simple way. The circuit consists of a master circuit - a pulse generator, which can be built on an available NE555 microcircuit connected according to the circuit of a low-frequency rectangular pulse generator.

At the output of the microcircuit we receive a sequence of rectangular pulses, the frequency and duty cycle of which can be varied within a wide range to obtain the effect we need.

There is a generator, there are pulses at its output, it seems that’s it, we connect the speaker and good luck, but not everything is so simple. The 555 timer has a weak output and to get loud signals you need to amplify the output signal. For these purposes, literally any low-frequency power amplifier with a 12-volt power supply is suitable, for example the TDA2003, as a simple and cheap option with an output power of up to 10 watts, but I strongly recommend the more powerful and good bridged TDA2005 microcircuit.

A microcircuit in this mode can easily supply up to 20-24 watts of power to the load, and this is a lot, believe me. There is only one thing left to do - feed the output of the microcircuit to the input of the power amplifier, the ground is common.
The number of components involved in the harness is small, so in my case I didn’t etch the board, I assembled everything on a breadboard.

If desired, the power of the special signal can be increased to hundreds of watts - using a high-power amplifier (for example, TDA 7294 with an output power of 100 watts), but in this case, you also need to make an additional voltage converter, since high-power amplifiers need a bipolar power supply with increased voltage, therefore, it is not realistic to increase the power without a converter (with the exception of an amplifier in class H, but that’s another topic).

However, I must warn you that special signals cannot be installed on private cars, they are intended for specific purposes (fire, ambulance, patrol cars, etc.) and are therefore prohibited by law, so the article is for viewing purposes only and we do not bear any responsibility. If caught, a hefty fine is guaranteed, and the special signal will be confiscated, so once again we ask all motorists not to use special signaling devices for your own safety and the safety of your neighbors. Thank you everyone for your attention.


Top