If you are going to use a wall socket anyway then just get something from the big bag o power supplies most people capable of using a soldering iron accrue, and then stick the appropriate end on there. Far easier than messing around making your own for something as banal as 5V at a fairly low amperage.
You can do a transformed, rectified and smoothed, or do a capacitive dropper, or go for a proper switch mode affair but again for 5V and not a lot of current as these things go (below 5A for a wall thing is nothing) then let someone else build it for you.
Still the following series is likely to be of some interest if you are to be heading down that path
You can do a transformed, rectified and smoothed, or do a capacitive dropper, or go for a proper switch mode affair but again for 5V and not a lot of current as these things go (below 5A for a wall thing is nothing) then let someone else build it for you.
Still the following series is likely to be of some interest if you are to be heading down that path