There is a wire going into the doorbell button that shows voltage. and Connecting a buzzer to the raspberry pi Door wire doorbell bell chimes diagram two button voltage wiring transformer chime shows bells second going do rings case using
A guide: interfacing buzzer with arduino nano Buzzer raspberry pi circuit connect connecting projects Buzzer arduino piezo fritzing
.
.
A Guide: Interfacing Buzzer with Arduino Nano | ElectroRules
Connecting a buzzer to the Raspberry Pi - Connecting a buzzer to the
Arduino - Door Sensor - Piezo Buzzer | Arduino Tutorial