gokul/led-blinking

This design implements a hardware LED blink circuit using a 555 timer IC connected with resistors, capacitors, an LED, and header pins for power input.

Version
0.0.1
License
unset
Stars
0

dist/index.cjs

'use strict';

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

function LedBlinker() {
    return (jsxRuntime.jsxs("board", { name: "LED_BLINKER", pcbPack: true, pcbPackGap: "1mm", children: [jsxRuntime.jsx("net", { name: "VCC", isPowerNet: true }), jsxRuntime.jsx("net", { name: "GND", isGroundNet: true }), jsxRuntime.jsx("chip", { name: "U1", footprint: "soic8", pinLabels: {
                    pin1: "GND",
                    pin2: "TRIG",
                    pin3: "OUT",
                    pin4: "RESET",
                    pin5: "CTRL",
                    pin6: "THRES",
                    pin7: "DISCH",
                    pin8: "VCC",
                } }), jsxRuntime.jsx("pinheader", { name: "J1", pinCount: 2, footprint: "pinrow2_p2.54_id1.016mm_od1.88mm" }), jsxRuntime.jsx("resistor", { name: "R1", resistance: "10k", footprint: "0805" }), jsxRuntime.jsx("resistor", { name: "R2", resistance: "68k", footprint: "0805" }), jsxRuntime.jsx("resistor", { name: "R3", resistance: "1k", footprint: "0805" }), jsxRuntime.jsx("capacitor", { name: "C1", capacitance: "10uF", footprint: "1206" }), jsxRuntime.jsx("capacitor", { name: "C2", capacitance: "10nF", footprint: "0805" }), jsxRuntime.jsx("capacitor", { name: "C3", capacitance: "100nF", footprint: "0805", decouplingFor: ".U1 > .VCC", decouplingTo: "net.GND" }), jsxRuntime.jsx("led", { name: "D1", color: "red", footprint: "led0603" }), jsxRuntime.jsx("trace", { from: ".J1 > .pin1", to: "net.VCC" }), jsxRuntime.jsx("trace", { from: ".J1 > .pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { from: ".U1 > .VCC", to: "net.VCC" }), jsxRuntime.jsx("trace", { from: ".U1 > .RESET", to: "net.VCC" }), jsxRuntime.jsx("trace", { from: ".U1 > .GND", to: "net.GND" }), jsxRuntime.jsx("trace", { from: ".R1 > .pin1", to: "net.VCC" }), jsxRuntime.jsx("trace", { from: ".R1 > .pin2", to: ".U1 > .DISCH" }), jsxRuntime.jsx("trace", { from: ".U1 > .DISCH", to: ".R2 > .pin1" }), jsxRuntime.jsx("trace", { from: ".R2 > .pin2", to: "net.TIMING" }), jsxRuntime.jsx("trace", { from: ".U1 > .TRIG", to: "net.TIMING" }), jsxRuntime.jsx("trace", { from: ".U1 > .THRES", to: "net.TIMING" }), jsxRuntime.jsx("trace", { from: ".C1 > .pin1", to: "net.TIMING" }), jsxRuntime.jsx("trace", { from: ".C1 > .pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { from: ".U1 > .CTRL", to: ".C2 > .pin1" }), jsxRuntime.jsx("trace", { from: ".C2 > .pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { from: ".U1 > .OUT", to: ".R3 > .pin1" }), jsxRuntime.jsx("trace", { from: ".R3 > .pin2", to: ".D1 > .pin1" }), jsxRuntime.jsx("trace", { from: ".D1 > .pin2", to: "net.GND" })] }));
}

module.exports = LedBlinker;