mukesh-dev-git/555-led-blinker

A 36×24 mm NE555-based astable LED blinker accepting 5–12 V through a 2-pin header, with timing RC components, red 1.5 Hz LED output, decoupling, and four M3 mounting holes.

Version
1.0.2
License
MIT
Stars
0

dist/index.js

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

// NE555 astable LED blinker, powered from a 2-pin header (5-12 V), with
// four plated M3 mounting holes.
// f = 1.44 / ((R1 + 2 * R2) * C1) = 1.44 / ((1k + 940k) * 1uF) ~ 1.5 Hz
var index_circuit = () => (jsxs("board", { width: "36mm", height: "24mm", children: [jsx("schematicsection", { name: "Power", displayName: "Power Input" }), jsx("schematicsection", { name: "Timer", displayName: "NE555 Astable" }), jsx("schematicsection", { name: "Led", displayName: "LED Output" }), jsx("pinheader", { name: "J1", schSectionName: "Power", pinCount: 2, pitch: "2.54mm", footprint: "pinrow2_p2.54mm_rounded0.3mm", pinLabels: ["VCC", "GND"], pcbX: -12, pcbY: 0, pcbRotation: 90, schX: -10, schY: 0 }), jsx("chip", { name: "U1", schSectionName: "Timer", manufacturerPartNumber: "NE555DR", footprint: "soic8", pinLabels: {
                pin1: "GND",
                pin2: "TRIG",
                pin3: "OUT",
                pin4: "RESET",
                pin5: "CTRL",
                pin6: "THRES",
                pin7: "DISCH",
                pin8: "VCC",
            }, pinAttributes: {
                VCC: { requiresPower: true },
                GND: { requiresGround: true },
                RESET: { mustBeConnected: true },
                TRIG: { mustBeConnected: true },
                THRES: { mustBeConnected: true },
            }, schPinArrangement: {
                leftSide: { direction: "top-to-bottom", pins: ["RESET", "DISCH", "THRES", "TRIG"] },
                rightSide: { direction: "top-to-bottom", pins: ["VCC", "OUT", "CTRL", "GND"] },
            }, pcbX: 0, pcbY: 0, schX: 0, schY: 0 }), jsx("capacitor", { name: "C3", schSectionName: "Power", capacitance: "100nF", footprint: "0603", pcbX: 0, pcbY: 6, pcbRotation: 180, schX: -8, schY: -3, schRotation: -90 }), jsx("resistor", { name: "R1", schSectionName: "Timer", resistance: "1k", footprint: "0603", pcbX: -6, pcbY: 5, pcbRotation: 180, schX: -4, schY: 2.5, schRotation: -90 }), jsx("resistor", { name: "R2", schSectionName: "Timer", resistance: "470k", footprint: "0603", pcbX: -6, pcbY: -1, schX: -4, schY: -0.5, schRotation: 90 }), jsx("capacitor", { name: "C1", schSectionName: "Timer", capacitance: "1uF", footprint: "0805", pcbX: -6, pcbY: -6, schX: -4, schY: -3.5, schRotation: -90 }), jsx("capacitor", { name: "C2", schSectionName: "Timer", capacitance: "10nF", footprint: "0603", pcbX: 5, pcbY: -6, schX: 3, schY: -3, schRotation: -90 }), jsx("resistor", { name: "R3", schSectionName: "Led", resistance: "330", footprint: "0603", pcbX: 7, pcbY: 2, schX: 6, schY: 1, schRotation: -90 }), jsx("led", { name: "D1", schSectionName: "Led", color: "red", footprint: "0603", supplierPartNumbers: { jlcpcb: ["C2286"] }, pcbX: 11, pcbY: 2, schX: 6, schY: -1.5, schRotation: -90 }), jsx("platedhole", { name: "MH1", pcbX: -14.5, pcbY: 8.5, shape: "circle", holeDiameter: "3.2mm", outerDiameter: "6mm" }), jsx("platedhole", { name: "MH2", pcbX: 14.5, pcbY: 8.5, shape: "circle", holeDiameter: "3.2mm", outerDiameter: "6mm" }), jsx("platedhole", { name: "MH3", pcbX: -14.5, pcbY: -8.5, shape: "circle", holeDiameter: "3.2mm", outerDiameter: "6mm" }), jsx("platedhole", { name: "MH4", pcbX: 14.5, pcbY: -8.5, shape: "circle", holeDiameter: "3.2mm", outerDiameter: "6mm" }), jsx("trace", { from: ".J1 > .VCC", to: "net.VCC" }), jsx("trace", { from: ".J1 > .GND", to: "net.GND" }), jsx("trace", { from: ".U1 > .VCC", to: "net.VCC" }), jsx("trace", { from: ".U1 > .RESET", to: "net.VCC" }), jsx("trace", { from: ".U1 > .GND", to: "net.GND" }), jsx("trace", { from: ".C3 > .pin1", to: "net.VCC" }), jsx("trace", { from: ".C3 > .pin2", to: "net.GND" }), jsx("trace", { from: ".R1 > .pin1", to: "net.VCC" }), jsx("trace", { name: "DISCH_R1", from: ".R1 > .pin2", to: ".U1 > .DISCH" }), jsx("trace", { name: "DISCH_R2", from: ".R2 > .pin1", to: ".U1 > .DISCH" }), jsx("trace", { name: "THRES_R2", from: ".R2 > .pin2", to: ".U1 > .THRES" }), jsx("trace", { name: "THRES_TRIG", from: ".U1 > .THRES", to: ".U1 > .TRIG" }), jsx("trace", { name: "TRIG_C1", from: ".C1 > .pin1", to: ".U1 > .TRIG" }), jsx("trace", { from: ".C1 > .pin2", to: "net.GND" }), jsx("trace", { name: "CTRL_C2", from: ".C2 > .pin1", to: ".U1 > .CTRL" }), jsx("trace", { from: ".C2 > .pin2", to: "net.GND" }), jsx("trace", { name: "OUT_R3", from: ".U1 > .OUT", to: ".R3 > .pin1" }), jsx("trace", { name: "LED_ANODE", from: ".R3 > .pin2", to: ".D1 > .anode" }), jsx("trace", { from: ".D1 > .cathode", to: "net.GND" })] }));

export { index_circuit as default };