name = "steve/right-angle-pushbutton-tht" version = "1.0.0" runtime = "steve" license = "MIT" summary = "Right-angle subminiature pushbutton from NKK's Series BB sheet: BB15AH, SPDT momentary, with a support bracket, without a cap or with a 5.1 or 7.5 mm slip-on cap." description = """Right-angle through-hole subminiature pushbutton, NKK BB15AH (SPDT, momentary), from NKK's Series BB sheet (pages C13, C15, C17): body 8.8 wide and 7.3 high, a 6.0 dia. bushing, a 2.8 dia. plunger 5.4 out, its axis 3.4 above the board; three 0.6 dia. terminals 2.54 apart, 13.9 behind the bushing's nose; a support bracket with two legs 5.08 in front of them; 3.1 below the board. Optional slip-on cap F (5.1 dia.) or H (7.5 dia.) in black, white or red (BB15AH-FA ... -HC). See the README.""" tags = ["pushbutton", "push-button", "switch", "through-hole", "right-angle", "nkk", "spdt", "electronics"] [parameters.kind] type = "choice" default = "BB15AH" choices = ["BB15AH"] label = "Type" [parameters.cap] type = "choice" default = "none" choices = ["none", "F", "H"] label = "Slip-on cap" description = "none; F: AT475, 5.1 mm dia.; H: AT496, 7.5 mm dia. (reaches below the board's face: mount at the board's edge)." [parameters.cap_color] type = "choice" default = "black" choices = ["black", "white", "red"] label = "Cap colour" description = "Cap colour (part number letter A, B or C)." [[presets]] id = "bb15ah" title = "NKK BB15AH, right-angle subminiature pushbutton, SPDT momentary" params = { cap = "none" } aliases = ["NKK BB15AH", "BB15AH"] standard = "NKK BB" [[presets]] id = "bb15ah-fa" title = "NKK BB15AH-FA, right-angle subminiature pushbutton, SPDT momentary, black 5.1 mm cap" params = { cap = "F", cap_color = "black" } aliases = ["NKK BB15AH-FA", "BB15AH-FA"] standard = "NKK BB" [[presets]] id = "bb15ah-fb" title = "NKK BB15AH-FB, right-angle subminiature pushbutton, SPDT momentary, white 5.1 mm cap" params = { cap = "F", cap_color = "white" } aliases = ["NKK BB15AH-FB", "BB15AH-FB"] standard = "NKK BB" [[presets]] id = "bb15ah-fc" title = "NKK BB15AH-FC, right-angle subminiature pushbutton, SPDT momentary, red 5.1 mm cap" params = { cap = "F", cap_color = "red" } aliases = ["NKK BB15AH-FC", "BB15AH-FC"] standard = "NKK BB" [[presets]] id = "bb15ah-ha" title = "NKK BB15AH-HA, right-angle subminiature pushbutton, SPDT momentary, black 7.5 mm cap" params = { cap = "H", cap_color = "black" } aliases = ["NKK BB15AH-HA", "BB15AH-HA"] standard = "NKK BB" [[presets]] id = "bb15ah-hb" title = "NKK BB15AH-HB, right-angle subminiature pushbutton, SPDT momentary, white 7.5 mm cap" params = { cap = "H", cap_color = "white" } aliases = ["NKK BB15AH-HB", "BB15AH-HB"] standard = "NKK BB" [[presets]] id = "bb15ah-hc" title = "NKK BB15AH-HC, right-angle subminiature pushbutton, SPDT momentary, red 7.5 mm cap" params = { cap = "H", cap_color = "red" } aliases = ["NKK BB15AH-HC", "BB15AH-HC"] standard = "NKK BB"