Thank you for the welcome. I understand he has a problem with space but if you are using a 5Watt resistor you need a lot of space the chip i suggested can be mounted on a 15mm x 8mm pcb depends how you proceed, that would include a smd resistor also i use its brother the nud4001 so i know how small it is, the chip is a current limiting chip that is why it can be used with such high voltages up to 200Volts input as for the price i pay around 30p for the nud4001 the price for the nud4011 is a little higher..its only a suggestion he does not have to use it but many brains make light work lol i'm not sure it may even fit on the pads of a piece of vero board,
One other point " a LED is a Diode" a zener can be used to "clamp" the voltage" you just need to current limit it, I also have another chip in mind and the size of that is only 3mm looks like a smd diode 2 pins thank you clive