Could I power my micro-controller from this existing transformer and keeping the current circuit intact (see attached pic)? I need about 5V and 1 amp.
I would like to use the white/orange winding. Right now that winding is unregulated and powers relays and a solenoid. The volts jump around a bit depending on what load is switched on.
Could I have a branch coming off this white/orange winding to power the micro-controller? It would have to be regulated down to 5V. Could I keep the existing unregulated branch and this would not affect the microcontroller when the volts jump around?
The second concern would be the back EMF from the solenoid and relays messing with the microcontroller. I do have flyback diodes on them, but could a regulator provide more protection that would be adequate?