Compact transformerless 12V DC power supply provides low-current output for small electronics using a capacitor dropper or resistive method.