I'm attempting my first proper build, using a attiny85.
My idea is to use a attiny85, a ir receiver and a 4 channel relay module to control some lights.
I need 5v for the relay module and 5v for the tiny. What would anyone recommended to power it from mains 230v UK. My thoughts were a 5v 10w Regulated Switching Power Supply.
Could I power the tiny directly from it, how regulated are they? would some extra components be wise, if so some guidance would be greatly appreciated. Been many years since I did basic electronics at college (electrician) and I'm afraid most of what I learnt has left me :confused: