Replace a buzzer to an amplifier in a PIR sensor project

Hi, I want to make a project of PIR sensor but i want to replace the buzzer to an audio amplifier. Will that be okay?

@Pangchunling, do not cross-post. Do not hijack. Other post removed.

Maybe, but a 5V signal might be too much for your amplifier. If so you can cut it down with a potential divider. I would also put a capacitor in seriese with the signal.