techmannih/TPS61299XBoostConverter

This electronic circuit diagram depicts a 3.6V input to 5V boost converter built with a TPS61299X chip, inductor, and capacitors to step up voltage.

Version
0.0.1
License
unset
Stars
0

Use with the tscircuit CLI

tsci is the tscircuit CLI. Install it with npm install -g tscircuit.

tsci clone techmannih/TPS61299XBoostConverter  # download the package files into ./TPS61299XBoostConverter
tsci add techmannih/TPS61299XBoostConverter    # add it to your project as @tsci/techmannih.TPS61299XBoostConverter

In a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.

dist/index.js

import { jsx, jsxs } from 'react/jsx-runtime';
import 'tscircuit';

const TPS61299X = (props) => (jsx("chip", { manufacturerPartNumber: "TPS61299X", schWidth: "2mm", schHeight: "1.5mm", pinLabels: {
        pin1: "VIN",
        pin2: "SW",
        pin3: "EN",
        pin4: "VSEL",
        pin5: "VOUT",
        pin6: "GND",
    }, schPinArrangement: {
        leftSide: {
            direction: "top-to-bottom",
            pins: [2, 1, 3],
        },
        rightSide: {
            direction: "top-to-bottom",
            pins: [5, 4, 6],
        },
    }, schPinStyle: {
        pin2: {
            marginTop: "0.1",
        },
        pin1: {
            marginTop: "0.2",
        },
        pin3: {
            marginTop: "0.2",
        },
        pin5: {
            marginTop: "0.1",
        },
        pin4: {
            marginTop: "0.2",
        },
        pin6: {
            marginTop: "0.2",
        },
    }, ...props }));

const TPS61299XBoostConverter = (props) => (jsxs("subcircuit", { ...props, children: [jsx(TPS61299X, { name: "U1", schX: 0, schY: 0, connections: {
                pin1: "net.VIN",
                pin2: "net.SW",
                pin3: "net.EN",
                pin4: "net.VOUT_5V",
                pin5: "net.VOUT_5V",
                pin6: "net.GND",
            } }), jsx("schematictext", { schX: 0, schY: -0.1, text: "TPS61299X", fontSize: 0.15 }), jsx("inductor", { name: "L1", inductance: "1uH", footprint: "0603", schX: -2.5, schY: 0.35, schOrientation: "horizontal", connections: {
                pin1: "net.VIN",
                pin2: "net.SW",
            } }), jsx("capacitor", { name: "C1", capacitance: "10uF", footprint: "0603", schX: -3.5, schY: -0.2, schOrientation: "vertical", connections: {
                pin1: "net.VIN",
                pin2: "net.GND",
            } }), jsx("schematictext", { schX: -2.2, schY: -0.2, text: "ON", fontSize: 0.12 }), jsx("schematictext", { schX: -2.43, schY: -0.4, text: "OFF", fontSize: 0.12 }), jsx("schematicline", { x1: -2.03, y1: -0.3, x2: -2.3, y2: -0.3, strokeWidth: 0.01 }), jsx("schematicline", { x1: -2.3, y1: -0.5, x2: -2.3, y2: -0.3, strokeWidth: 0.01 }), jsx("schematicline", { x1: -2.3, y1: -0.5, x2: -2.57, y2: -0.5, strokeWidth: 0.01 }), jsx("capacitor", { name: "C2", capacitance: "10uF", footprint: "0603", schX: 3.1, schY: -0.1, schOrientation: "vertical", connections: {
                pin1: "net.VOUT_5V",
                pin2: "net.GND",
            } })] }));

export { TPS61299XBoostConverter, TPS61299XBoostConverter as default };