I am trying to create the circuit below but then the resistor is getting too hot. I think is has something to do with my power source 15V, 8A. My resistor is 51 ohms, 1/4W. Any comment please... Should I increase resistance or wattage to prevent resistor from getting very hot.
simulate this circuit – Schematic created using CircuitLab
Thanks.