Why is my 5K potentiometer sparking during regulation of LED bulb?
Assuming that your transformer is stepping down to a reasonable voltage, here is a guess. When your potentiometer wiper is near the lower end, the resistance seen by the transformer will be very low, and the current will be very high, causing sparks and overheating.







simulate this circuit &ndash; Schematic created using CircuitLab