Door Entry Announcer Project

Edit: This circuit has a time delay, this may not be what you want.
You don't need a micro controller for something as simple as that. Here is a nice way to build an Alarm.
http://dev.emcelettronica.com/design-time-delayed-alarm-555-timer