Beispiel #1
0
    pins=[
        # DIN-5 pins are numbered weirdly -- 1, 4, 2, 5, 3 around the circle
        Pin( 1, "D+", ["econet_data_line_P"]),
        Pin( 4, "D-", ["econet_data_line_M"]),
        Pin( 2, "GND", ["GND"]),
        Pin( 5, "C+", ["econet_clock_line_P"]),
        Pin( 3, "C-", ["econet_clock_line_M"]),

        # Ground all the shield pins
        Pin("S1", "", "GND"),
        Pin("S2", "", "GND"),
        Pin("S3", "", "GND"),
        Pin("S4", "", "GND"),
    ],
) for socket_id in range(5)]

# Ground plane stapling vias
for n in range(5):
    single_staple = myelin_kicad_pcb.Component(
        footprint="myelin-kicad:via_single",
        identifier="staple_single%d" % (n+1),
        value="",
        pins=[Pin(1, "GND", ["GND"])],
    )

myelin_kicad_pcb.dump_netlist("%s.net" % PROJECT_NAME)

myelin_kicad_pcb.dump_netlist("cpu_socket_expansion.net")
myelin_kicad_pcb.dump_bom("bill_of_materials.txt",
                          "readable_bill_of_materials.txt")
    pins=[
        Pin(1, "TCK", ["cpld_TCK"]), # top left
        Pin(2, "GND", ["GND"]), # top right
        Pin(3, "TDO", ["cpld_TDO"]),
        Pin(4, "3V3", ["3V3"]),
        Pin(5, "TMS", ["cpld_TMS"]),
        Pin(6, "NC"),
        Pin(7, "NC"),
        Pin(8, "NC"),
        Pin(9, "TDI", ["cpld_TDI"]),
        Pin(10, "GND", ["GND"]),
    ],
)

regulator = Component(
    footprint="TO_SOT_Packages_SMD:SOT-89-3",
    identifier="U3",
    value="MCP1700T-3302E/MB",
	desc="3.3V LDO regulator.  Search for the exact part number because there are many variants.",
    pins=[
        Pin(2, "VIN", ["5V"]),
        Pin(3, "VOUT", ["3V3"]),
        Pin(1, "GND", ["GND"]),
    ],
)
reg_in_cap = C0805("1u", "5V", "GND", ref="C3")
reg_out_cap = C0805("1u", "3V3", "GND", ref="C4")

dump_netlist("standalone_programmer.net")
dump_bom("bill_of_materials.txt")
Beispiel #3
0
        Pin(1, "TCK", ["cpld_TCK"]),  # top left
        Pin(2, "GND", ["GND"]),  # top right
        Pin(3, "TDO", ["cpld_TDO"]),
        Pin(4, "3V3", ["3V3"]),
        Pin(5, "TMS", ["cpld_TMS"]),
        Pin(6, "NC"),
        Pin(7, "NC"),
        Pin(8, "NC"),
        Pin(9, "TDI", ["cpld_TDI"]),
        Pin(10, "GND", ["GND"]),
    ],
)

regulator = Component(
    footprint="TO_SOT_Packages_SMD:SOT-89-3",
    identifier="U3",
    value="MCP1700T-3302E/MB",
    desc=
    "3.3V LDO regulator.  Search for the exact part number because there are many variants.",
    pins=[
        Pin(2, "VIN", ["5V"]),
        Pin(3, "VOUT", ["3V3"]),
        Pin(1, "GND", ["GND"]),
    ],
)
reg_in_cap = C0805("1u", "5V", "GND", ref="C3")
reg_out_cap = C0805("1u", "3V3", "GND", ref="C4")

dump_netlist("standalone_programmer.net")
dump_bom("bill_of_materials.txt", "readable_bill_of_materials.txt")