The following link provides you detailed information on how to design a simple doorbell for home application. The doorbell wiring diagram consists of: AC power input, doorbell transformer, bypass switch, solid state relay, doorbell button, ATtiny12 timer, capacitor, and a 5 watt power supply.