I would consider making a small (eg. 9mm x 9mm) right-angle PCB and joining it by solder either on the edge or in a slot depending on how long the leads are. You could notch the board for more positive location on the edge.
Czytaj więcej: Montaż SMT
#Projektowanie PCB