Solenoid Valve blowing power LED - how can i protect the LED?
Connect a reverse biased diode in parallel to the solenoid, like this:







simulate this circuit &ndash; Schematic created using CircuitLab

That will prevent the solenoid from generating voltage spikes when turning off.