imrishabh18/TB6612FNG

Generated from JLCPCB part number C141517

Usage: To import and use the TB6612FNG Motor Driver component in a tscircuit project: ```tsx import { MotorDriver, useMotorDriver } from "@tsci/imrishabh18.TB6612FNG" export default () => ( <board width="20mm" height="20mm"> <MotorDriver name="U1" /> {/* Optional: Access specific pins using sel */} <trace from={sel.U1.VCC} to="net.VCC" /> <trace from={sel.U1.GND} to="net.GND" /> </board> ) ``` Key component details: - 24-pin motor driver chip - Supports two motor channels - Pins include VCC, GND, PWM control, motor outputs - SOIC footprint - LCSC part number: C141517

Version
0.1.0
License
unset
Stars
0

dist/index.cjs

PCBPCB preview for dist/index.cjs
'use strict';

var jsxRuntime = require('react/jsx-runtime');

const pinLabels = {
    pin1: ["AO11"],
    pin2: ["AO12"],
    pin3: ["PGND11"],
    pin4: ["PGND12"],
    pin5: ["AO21"],
    pin6: ["AO22"],
    pin7: ["BO21"],
    pin8: ["BO22"],
    pin9: ["PGND21"],
    pin10: ["PGND22"],
    pin11: ["BO11"],
    pin12: ["BO12"],
    pin13: ["VM2"],
    pin14: ["VM3"],
    pin15: ["PWMB"],
    pin16: ["BIN2"],
    pin17: ["BIN1"],
    pin18: ["GND"],
    pin19: ["STBY"],
    pin20: ["VCC"],
    pin21: ["AIN1"],
    pin22: ["AIN2"],
    pin23: ["PWMA"],
    pin24: ["VM1"]
};
const TB6612FNG_C_8_EL = (props) => {
    return (jsxRuntime.jsx("chip", { pinLabels: pinLabels, supplierPartNumbers: {
            "jlcpcb": [
                "C141517"
            ]
        }, manufacturerPartNumber: "TB6612FNG_C_8_EL", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-3.575050000000033mm", pcbY: "-3.562095999999883mm", width: "0.30800039999999995mm", height: "1.3240004mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "-2.925064000000134mm", pcbY: "-3.562095999999883mm", width: "0.30800039999999995mm", height: "1.3240004mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "-2.2750780000000077mm", pcbY: "-3.562095999999883mm", width: "0.30800039999999995mm", height: "1.3240004mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "-1.6250920000001088mm", pcbY: "-3.562095999999883mm", width: "0.30800039999999995mm", height: "1.3240004mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "-0.9751059999999825mm", pcbY: "-3.562095999999883mm", width: "0.30800039999999995mm", height: "1.3240004mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin6"], pcbX: "-0.32486600000004273mm", pcbY: "-3.562095999999883mm", width: "0.30800039999999995mm", height: "1.3240004mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin7"], pcbX: "0.32512000000008356mm", pcbY: "-3.562095999999883mm", width: "0.30800039999999995mm", height: "1.3240004mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin8"], pcbX: "0.9751059999999825mm", pcbY: "-3.562095999999883mm", width: "0.30800039999999995mm", height: "1.3240004mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin9"], pcbX: "1.625091999999995mm", pcbY: "-3.562095999999883mm", width: "0.30800039999999995mm", height: "1.3240004mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin10"], pcbX: "2.2750780000000077mm", pcbY: "-3.562095999999883mm", width: "0.30800039999999995mm", height: "1.3240004mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin11"], pcbX: "2.9250640000000203mm", pcbY: "-3.562095999999883mm", width: "0.30800039999999995mm", height: "1.3240004mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin12"], pcbX: "3.5750499999999192mm", pcbY: "-3.562095999999883mm", width: "0.30800039999999995mm", height: "1.3240004mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin24"], pcbX: "-3.575050000000033mm", pcbY: "3.562095999999997mm", width: "0.30800039999999995mm", height: "1.3240004mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin23"], pcbX: "-2.925064000000134mm", pcbY: "3.562095999999997mm", width: "0.30800039999999995mm", height: "1.3240004mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin22"], pcbX: "-2.2750780000000077mm", pcbY: "3.562095999999997mm", width: "0.30800039999999995mm", height: "1.3240004mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin21"], pcbX: "-1.6250920000001088mm", pcbY: "3.562095999999997mm", width: "0.30800039999999995mm", height: "1.3240004mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin20"], pcbX: "-0.9751059999999825mm", pcbY: "3.562095999999997mm", width: "0.30800039999999995mm", height: "1.3240004mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin19"], pcbX: "-0.32486600000004273mm", pcbY: "3.562095999999997mm", width: "0.30800039999999995mm", height: "1.3240004mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin18"], pcbX: "0.32512000000008356mm", pcbY: "3.562095999999997mm", width: "0.30800039999999995mm", height: "1.3240004mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin17"], pcbX: "0.9751059999999825mm", pcbY: "3.562095999999997mm", width: "0.30800039999999995mm", height: "1.3240004mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin16"], pcbX: "1.625091999999995mm", pcbY: "3.562095999999997mm", width: "0.30800039999999995mm", height: "1.3240004mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin15"], pcbX: "2.2750780000000077mm", pcbY: "3.562095999999997mm", width: "0.30800039999999995mm", height: "1.3240004mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin14"], pcbX: "2.9250640000000203mm", pcbY: "3.562095999999997mm", width: "0.30800039999999995mm", height: "1.3240004mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin13"], pcbX: "3.5750499999999192mm", pcbY: "3.562095999999997mm", width: "0.30800039999999995mm", height: "1.3240004mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -4.064000000000078, "y": 2.6669999999999163 }, { "x": -4.064000000000078, "y": -2.66700000000003 }, { "x": 3.936999999999898, "y": -2.66700000000003 }, { "x": 3.936999999999898, "y": 2.6669999999999163 }, { "x": -4.064000000000078, "y": 2.6669999999999163 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/download?uuid=9fcdeaf10ae24c4a8aa0d28b1d82c96d&pn=C141517",
            rotationOffset: { x: 0, y: 0, z: 0 },
            positionOffset: { x: 0, y: 0, z: 0 },
        }, ...props }));
};

exports.TB6612FNG_C_8_EL = TB6612FNG_C_8_EL;