majenko
Member
I'd use a dsPIC33FJ128GP802 in a QFN package with a small op-amp, a couple of resistors and capacitors, and some button cells. The dsPIC is just 6mm square, and the op-amp can be smaller. The speaker, yes, use one like in a mobile phone, or use a piezo transducer - that won't be as loud, but will be considerably thinner. A simple tactile switch can be the activation mechanism, with a small slide switch on the back for master power (to save the batteries).