I want to build a small module to be connected inline with the power cable to my audio amplifier.
It will contain an MCU, and monitor the incoming audio signal. If there is a signal, it will switch on the amplifier with an SSR. If there has been no signal for 10 minutes, it will switch off the amplifier.
So, this project needs a power supply, with the following specifications:
Input voltage: 240v AC (UK mains)
Output voltage: between 3.5v and 5.5v DC
Output Current: <20mA (probably <5mA)
Must be isolated/floating, as it will be connected to audio ground
If it wasn't for the last condition, I would use a capacitor/resistor voltage divider and a zener diode to regulate. However this wouldn't be isolated.
I could use a small transformer (such as
http://uk.farnell.com/block/vb1-0-2-9/transformer-1va-2-x-9v/dp/1131623), single diode rectifier, reservoir capacitor and a zener diode for regulation - however this is quite a large solution and I'd like it to fit in a very small case.
Any other thoughts or suggestions I've missed would be appreciated!
Cheers,
Andy