A complete description of how to build a simple alarm - using two small pnp general-purpose transistors - and a relay.