12v and 5v Power Supply from 240v Answered
I am creating a home automation device that uses an arduino. The devices are connected to a relay. The real problem is I am using a using a DTMF decoder with the relay, while the relay works only with 12v power supply the DTMF decoder works only on 5v input (USB from computer to arduino).
The devices that I know of are capable of converting a 240 v to 12v or 5v not both.
What should be done so that I am able to get a 12v and a 5v from a normal 240v household power socket?