Hi Everyone !

I am working on a project in which i have to connect a Smoke detector with a PIC16F877, i don't want the smoke detector buzzer to sound but i want it to send the input signal to the PIC when it detects smoke, i have tested the smoke detector and it is giving a 5V to -5V square wave, the sound buzzer has 3 wires red, black and white. i calculated the volatge across red and black wires.

Can someone tell me how I connect the smoke detector (which wire) with the PIC.

Thank you so much to everyone who replies in Advance

Murtaza