Here is my design for 1 resistor and 1 transistor NC (normally closed) wire alarm. Cut the wire and the speaker turns on.
This is something I've considered making myself for gate to my yard, bicycles, etc. I used digi-key to source the parts because they are my go to for fast and easy with lots of options, there are cheaper options though and I'm not sure how they are in Europe.
Parts List:MPN (manufacturer part number):
Power Supply: 5V phone charger
Buzzer: AI-1223-TWT-5V-5-R
MOSFET N-channel: IRLZ14PBF
Resistor - 100kohm: FMP100JR-52-100K
Perforated board: SBBTH1508-1
Micro USB breakout:
https://www.ebay.com/itm/2pcs-USB-Micro-B-Breakout-Signal-Board-Phone-Power-Charging-Converter-Module-/262889697457MOSFET:Vgs (voltage across pin G and pin S) max = +-10V. Do not apply more than 9V across pin G and pin S.
Id max = 10A: do not apply more than 8A from pin D to pin S. This buzzer uses 30mA aka 0.03A.
Think of a MOSFET as a switch, the main current flow is from pin D to pin S. To turn on the switch, apply a voltage to pin G.
Different FETs operate at different voltages so the 5V this system is designed for might not be high enough to turn on others FETs like the ones you might have salvaged.
The important parts:
Vth rating is lower than your power supply voltage, in this case, 5V.
Vgs max and Vds max ratings are higher than your power supply voltage.
Ids max is higher than your switched current, in this case 30mA or 0.03A.
It is good to have some margin on all those values, voltage spikes can increase voltage above planned voltage and running at max current requires a proper heatsink and expecting it to get hot.
When wire is connected, Vgs = 0V, MOSFET is off aka open aka no current flows from pin D to pin S.
When wire is cut, Vgs = 5V, MOSFET is on aka closed aka current flows fom pin D to pin S and buzzer makes noise.
Mechanical fuse: I recommend some kind of mechanical fuse like alligator clip or banana plugs or in a bind, loosely twisted wire connection, to reduce the chance of it getting wrecked if someone tugs on the wire.
Perforated board: Not needed but helpful for holding components while you connect them.
Power Supply:I recommend using a 5V phone charger for your power supply since you probably have some lying around. You could cut a USB cable and use the 5V and GND wires or you could use the breakout board in the parts list to get access to 5V (Vcc) and GND.
If you want to use a 9V battery, you'll need a different buzzer which has a voltage range that includes 9V.