Patent ID: 7214116

Claim:
A method of producing a light-emitting diode, comprising: disposing a light-emitting diode chip inside a cup part on a base, said cup part having a slanted side surface and an upward facing surface located outside of said cup part; forming a lens member having an inner convex face, a groove in the lens member extending from a position on said inner convex face to an outer rim of the lens member, and a shoulder facing downward along a rim thereof; introducing a resin material into said cup part; and disposing said lens member on said base for focusing light from said light-emitting device by lowering said lens member until said shoulder engages with said base, whereby a portion of said resin flows outward through said groove in the lens member to at least at a position outside of said cup portion where direct emission from said light-emitting diode chip does not reach, without interfering with said engagement between said shoulder and said base, and wherein said shoulder and said upward facing surface define a space therebetween through which said portion of said resin can pass when said lens member and said base are engaged.