// // file: header_2x5_127mm_st_smd_geom.txt // // date: 16-Aug-2023 Start work on the 2x5 header for the Debug // connector to the Emergency Rescue uprocessor // on the DK Board. // // date: 10-Oct-2023 Change Drill from 0.89 mm to 0.90 mm // // // // This is the DK Board geometry for a 10 pin SMD 2x5 // 1.27 mm male straight pin header. This geometry // provides unplated holes in the pcb for plastic Guide Posts // on the connector. // // This connector is used on the DK Board for J8 the // DeBug Connector for the LPC845 Emergency Rescue uprocessor. // // Example part numbers are: // // Sullins SBH31-NBPB-D05-SPBK 8.12 mm <--- prefered // Harwin M50-49-10545 8.24 mm Guide Post // Samtec TFM-105-02-S-D-A 8.26 mm Spacing // // This geometry is layed out with its long axis vertical. // Pin #1 is SE, Pin #2 is SW, Pin #9 is NE, Pin #10 is NW // $abort_enable = @false; $$lock_windows(@on) ; $$snap_diagonal(@off) ; $$snap_orthogonal(@off) ; //---------------------------------------------------------------------------- // // This is the SMD PAD geom for the 1.27 mm pitch SMD Headers // // I'm laying out the long axis of this header in the Vertical direction. // In which case these SMD pads are: 2.40mm in X by 0.76 mm in Y. // // The pad to pad pitch in a row is 1.27 mm // The C_to_C distance between rows is 3.90 mm ---> X placement is +- 1.95 mm // $$create_pin("mm127_2X5_PAD", @replace); $$page(0.0,0.0,0.0, @mm, 0.0, 0.0, [0.0, 0.0, 'PI$mm127_2X5_PAD']); $$point_mode(@vertex); $$polygon( "PAD", , [ 1.20, 0.38, -1.20, 0.38, -1.20, -0.38, 1.20, -0.38 ]); $$polygon( "SOLDER_MASK", , [ 1.25, 0.43, -1.25, 0.43, -1.25, -0.43, 1.25, -0.43 ]); $$polygon( "PASTE_MASK", , [ 1.20, 0.38, -1.20, 0.38, -1.20, -0.38, 1.20, -0.38 ]); $$attribute( "TERMINAL_SURFACE_DEFINITION", ""); // //---------------------------------------------------------------------------- $$create_component("Header_2x5_127mm", @replace); $$page(0.0,0.0,0.0, @mm, 0.0, 0.0, [0.0, 0.0, 'CO$Header_2x5_127mm']); $$point_mode(@vertex); $$attribute( "COMPONENT_LAYOUT_TYPE", "surface"); $$attribute( "COMPONENT_LAYOUT_SURFACE", "both"); $$attribute( "COMPONENT_HEIGHT", "7.60", , @scale , , [0.0, 0.0] ); // // Component Placement Outline for the Header_2x5_2mm // $$initial([ 3.90, 4.00 ], , @nosnap ); $$terminal([ -3.90, 4.00 ] ); $$terminal([ -3.90, -4.00 ] ); $$terminal([ 3.90, -4.00 ] ); $$attribute( "COMPONENT_PLACEMENT_OUTLINE", "", @mark, @scale ); // Outer 4 horizontal and 4 vertical lines $$path( "SILKSCREEN", 0.20 , , [ -2.70, 4.70, -0.90, 4.70 ]); $$path( "SILKSCREEN", 0.20 , , [ 0.90, 4.70, 2.70, 4.70 ]); $$path( "SILKSCREEN", 0.20 , , [ 2.70, 3.20, 2.70, 4.70 ]); $$path( "SILKSCREEN", 0.20 , , [ -2.70, 3.20, -2.70, 4.70 ]); $$path( "SILKSCREEN", 0.20 , , [ -2.70, -3.20, -2.70, -4.70 ]); $$path( "SILKSCREEN", 0.20 , , [ 2.70, -3.20, 2.70, -4.70 ]); $$path( "SILKSCREEN", 0.20 , , [ -2.70, -4.70, -0.90, -4.70 ]); $$path( "SILKSCREEN", 0.20 , , [ 0.90, -4.70, 2.70, -4.70 ]); // Inner 4 horizontal and 4 vertical lines $$path( "SILKSCREEN", 0.20 , , [ -1.70, 3.50, -0.90, 3.50 ]); $$path( "SILKSCREEN", 0.20 , , [ 0.90, 3.50, 1.70, 3.50 ]); $$path( "SILKSCREEN", 0.20 , , [ 1.70, 3.20, 1.70, 3.50 ]); $$path( "SILKSCREEN", 0.20 , , [ -1.70, 3.20, -1.70, 3.50 ]); $$path( "SILKSCREEN", 0.20 , , [ -1.70, -3.20, -1.70, -3.50 ]); $$path( "SILKSCREEN", 0.20 , , [ 1.70, -3.20, 1.70, -3.50 ]); $$path( "SILKSCREEN", 0.20 , , [ -1.70, -3.50, -0.90, -3.50 ]); $$path( "SILKSCREEN", 0.20 , , [ 0.90, -3.50, 1.70, -3.50 ]); // Index Notch that is on the side with the odd pin numbers $$path( "SILKSCREEN", 0.20 , , [ 3.60, -0.90, 3.60, -2.90] ); $$path( "SILKSCREEN", 0.20 , , [ 3.70, -0.90, 3.70, -2.90] ); $$path( "SILKSCREEN", 0.20 , , [ 3.80, -0.90, 3.80, -2.90] ); $$path( "SILKSCREEN", 0.20 , , [ 3.60, -0.90, 3.80, -0.90] ); $$path( "SILKSCREEN", 0.20 , , [ 3.60, -2.90, 3.80, -2.90] ); // Reference Designator $$text( "SILKSCREEN", "^$ref", 5.7, 0.0, 2.5, @CC, 90, 0.7, 0.20, "std", "None", 0.0, 0.0 ); // Mounting Holes 0.90 mm diameter Include relief circles for the Power Planes $$attribute( "DRILL_DEFINITION_UNPLATED", "0.90", , @scale , , [ 0.00, 4.08 ]); $$attribute( "DRILL_DEFINITION_UNPLATED", "0.90", , @scale , , [ 0.00, -4.08 ]); $$circle( "POWER", 0.00, 4.08, 1.30, 0.0 ); $$circle( "POWER", 0.00, -4.08, 1.30, 0.0 ); // Right hand side column of pins odd pins #9 is at the top $$attribute( "COMPONENT_PIN_DEFINITION", "9", , @scale , , [ 1.95, 2.54 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "9, mm127_2x5_PAD"); $$attribute( "COMPONENT_PIN_DEFINITION", "7", , @scale , , [ 1.95, 1.27 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "7, mm127_2x5_PAD"); $$attribute( "COMPONENT_PIN_DEFINITION", "5", , @scale , , [ 1.95, 0.00 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "5, mm127_2x5_PAD"); $$attribute( "COMPONENT_PIN_DEFINITION", "3", , @scale , , [ 1.95, -1.27 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "3, mm127_2x5_PAD"); $$attribute( "COMPONENT_PIN_DEFINITION", "1", , @scale , , [ 1.95, -2.54 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "1, mm127_2x5_PAD"); // Left hand side column of pins even pins #10 is at the top $$attribute( "COMPONENT_PIN_DEFINITION", "10", , @scale , , [ -1.95, 2.54 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "10,mm127_2x5_PAD"); $$attribute( "COMPONENT_PIN_DEFINITION", "8", , @scale , , [ -1.95, 1.27 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "8, mm127_2x5_PAD"); $$attribute( "COMPONENT_PIN_DEFINITION", "6", , @scale , , [ -1.95, 0.00 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "6, mm127_2x5_PAD"); $$attribute( "COMPONENT_PIN_DEFINITION", "4", , @scale , , [ -1.95, -1.27 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "4, mm127_2x5_PAD"); $$attribute( "COMPONENT_PIN_DEFINITION", "2", , @scale , , [ -1.95, -2.54 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "2, mm127_2x5_PAD");