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