Asymtode712/ecosystem-probe
A 5 V NE555 astable oscillator board with fuse protection, RC timing, reset pushbutton, alternating red/green LED indicators, output header, test points, and ground planes.
- Version
- 0.1.0
- License
- unset
- Stars
- 0
Use with the tscircuit CLI
tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone Asymtode712/ecosystem-probe # download the package files into ./ecosystem-probe
tsci add Asymtode712/ecosystem-probe # add it to your project as @tsci/Asymtode712.ecosystem-probeIn 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.cjs
'use strict';
var jsxRuntime = require('react/jsx-runtime');
/**
* A 5 V, roughly 1 Hz NE555 astable indicator. J1 accepts a current-limited
* 5 V supply; J2 exposes the timer output for a scope or logic input.
*/
function EcosystemProbeBoard() {
return (jsxRuntime.jsxs("board", { width: "60mm", height: "36mm", autorouter: "auto-local", children: [jsxRuntime.jsxs("schematicsheet", { name: "Main", displayName: "5 V timer and indicator", sheetIndex: 1, sheetWidth: "297mm", sheetHeight: "210mm", children: [jsxRuntime.jsx("schematicsection", { name: "Input", displayName: "Power input" }), jsxRuntime.jsx("schematicsection", { name: "Timer", displayName: "NE555 oscillator" }), jsxRuntime.jsx("schematicsection", { name: "Output", displayName: "Indicators and output" })] }), jsxRuntime.jsx("net", { name: "VCC", isPowerNet: true }), jsxRuntime.jsx("net", { name: "GND", isGroundNet: true }), jsxRuntime.jsx("net", { name: "DISCH" }), jsxRuntime.jsx("net", { name: "TIMING" }), jsxRuntime.jsx("net", { name: "RESET" }), jsxRuntime.jsx("net", { name: "OUT" }), jsxRuntime.jsx("net", { name: "LED_HIGH" }), jsxRuntime.jsx("net", { name: "LED_LOW" }), jsxRuntime.jsx("pinheader", { name: "J1", pinCount: 2, pitch: "2.54mm", pinLabels: ["5V_IN", "GND"], pcbX: -23, pcbY: 0, schSheetName: "Main", schSectionName: "Input", schX: -11, schY: 1 }), jsxRuntime.jsx("fuse", { name: "F1", footprint: "1206", currentRating: "500mA", voltageRating: "32V", pcbX: -17, pcbY: 4, schRotation: 90, schSheetName: "Main", schSectionName: "Input", schX: -8, schY: 1 }), jsxRuntime.jsx("capacitor", { name: "C3", capacitance: "100nF", footprint: "0603", pcbX: 5, pcbY: 6, schRotation: -90, schSheetName: "Main", schSectionName: "Input", schX: -9, schY: -2 }), jsxRuntime.jsx("chip", { name: "U1", manufacturerPartNumber: "NE555DR", footprint: "soic8_p1.27mm", pinLabels: {
pin1: "GND",
pin2: "TRIG",
pin3: "OUT",
pin4: "RESET",
pin5: "CTRL",
pin6: "THRES",
pin7: "DISCH",
pin8: "VCC",
}, pinAttributes: {
VCC: { requiresPower: true },
GND: { requiresGround: true },
}, schPinArrangement: {
leftSide: {
direction: "top-to-bottom",
pins: ["VCC", "RESET", "DISCH", "THRES"],
},
rightSide: {
direction: "top-to-bottom",
pins: ["OUT", "TRIG", "CTRL", "GND"],
},
}, pcbX: 0, pcbY: 2, schSheetName: "Main", schSectionName: "Timer", schX: 0, schY: 0 }), jsxRuntime.jsx("resistor", { name: "R1", resistance: "10k", footprint: "0603", pcbX: -12, pcbY: 9, schRotation: -90, schSheetName: "Main", schSectionName: "Timer", schX: -4, schY: 3 }), jsxRuntime.jsx("resistor", { name: "R2", resistance: "68k", footprint: "0603", pcbX: -8, pcbY: 4, pcbRotation: 270, schSheetName: "Main", schSectionName: "Timer", schX: -3, schY: 0 }), jsxRuntime.jsx("capacitor", { name: "C1", capacitance: "10uF", footprint: "1206", pcbX: -8, pcbY: -6, schRotation: -90, schSheetName: "Main", schSectionName: "Timer", schX: -3, schY: -3 }), jsxRuntime.jsx("capacitor", { name: "C2", capacitance: "10nF", footprint: "0603", pcbX: 1, pcbY: -6, schRotation: -90, schSheetName: "Main", schSectionName: "Timer", schX: 3, schY: -3 }), jsxRuntime.jsx("resistor", { name: "R5", resistance: "10k", footprint: "0603", pcbX: 1, pcbY: -10, schRotation: -90, schSheetName: "Main", schSectionName: "Timer", schX: 2, schY: 3 }), jsxRuntime.jsx("pushbutton", { name: "SW1", footprint: "pushbutton", internallyConnectedPins: [
["pin1", "pin4"],
["pin2", "pin3"],
], pcbX: 8, pcbY: -9, schSheetName: "Main", schSectionName: "Timer", schX: 4, schY: 3 }), jsxRuntime.jsx("resistor", { name: "R3", resistance: "680", footprint: "0603", pcbX: 10, pcbY: 8, schRotation: -90, schSheetName: "Main", schSectionName: "Output", schX: 9, schY: 2 }), jsxRuntime.jsx("led", { name: "D1", color: "green", footprint: "0603", pcbX: 17, pcbY: 8, schRotation: -90, schSheetName: "Main", schSectionName: "Output", schX: 9, schY: 0 }), jsxRuntime.jsx("resistor", { name: "R4", resistance: "680", footprint: "0603", pcbX: 10, pcbY: 2, pcbRotation: 90, schRotation: -90, schSheetName: "Main", schSectionName: "Output", schX: 9, schY: 6 }), jsxRuntime.jsx("led", { name: "D2", color: "red", footprint: "0603", pinLabels: { pin1: ["cathode", "neg"], pin2: ["anode", "pos"] }, pcbX: 17, pcbY: 2, schRotation: -90, schSheetName: "Main", schSectionName: "Output", schX: 9, schY: 4 }), jsxRuntime.jsx("pinheader", { name: "J2", pinCount: 3, pitch: "2.54mm", pinLabels: ["OUT", "5V", "GND"], pcbX: 24, pcbY: -3, schSheetName: "Main", schSectionName: "Output", schX: 11, schY: 0 }), jsxRuntime.jsx("testpoint", { name: "TP1", footprintVariant: "pad", padDiameter: "1.5mm", pcbX: -19, pcbY: 10, schSheetName: "Main", schSectionName: "Input", schX: -11, schY: -2 }), jsxRuntime.jsx("testpoint", { name: "TP2", footprintVariant: "pad", padDiameter: "1.5mm", pcbX: 21, pcbY: -10, schSheetName: "Main", schSectionName: "Output", schX: 11, schY: -3 }), jsxRuntime.jsx("testpoint", { name: "TP3", footprintVariant: "pad", padDiameter: "1.5mm", pcbX: -19, pcbY: -10, schSheetName: "Main", schSectionName: "Input", schX: -9, schY: -4 }), jsxRuntime.jsx("hole", { name: "H1", diameter: "2.2mm", pcbX: -26, pcbY: 14 }), jsxRuntime.jsx("hole", { name: "H2", diameter: "2.2mm", pcbX: 26, pcbY: 14 }), jsxRuntime.jsx("hole", { name: "H3", diameter: "2.2mm", pcbX: -26, pcbY: -14 }), jsxRuntime.jsx("hole", { name: "H4", diameter: "2.2mm", pcbX: 26, pcbY: -14 }), jsxRuntime.jsx("silkscreentext", { text: "555 ECOSYSTEM PROBE", pcbX: 0, pcbY: 14, fontSize: "1.2mm" }), jsxRuntime.jsx("silkscreentext", { text: "5V IN", pcbX: -23, pcbY: 5, fontSize: "0.9mm" }), jsxRuntime.jsx("silkscreentext", { text: "HIGH", pcbX: 17, pcbY: 11, fontSize: "0.9mm" }), jsxRuntime.jsx("silkscreentext", { text: "LOW", pcbX: 17, pcbY: -1, fontSize: "0.9mm" }), jsxRuntime.jsx("trace", { name: "input_fuse", from: "J1.pin1", to: "F1.pin1" }), jsxRuntime.jsx("trace", { name: "fused_power", from: "F1.pin2", to: "net.VCC" }), jsxRuntime.jsx("trace", { name: "input_ground", from: "J1.pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { name: "bypass_power", from: "C3.pin1", to: "net.VCC" }), jsxRuntime.jsx("trace", { name: "bypass_ground", from: "C3.pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { name: "timer_power", from: "U1.VCC", to: "net.VCC" }), jsxRuntime.jsx("trace", { name: "timer_ground", from: "U1.GND", to: "net.GND" }), jsxRuntime.jsx("trace", { name: "charge_supply", from: "R1.pin1", to: "net.VCC" }), jsxRuntime.jsx("trace", { name: "charge_node", from: "R1.pin2", to: "net.DISCH" }), jsxRuntime.jsx("trace", { name: "discharge_pin", from: "U1.DISCH", to: "net.DISCH" }), jsxRuntime.jsx("trace", { name: "timing_resistor_top", from: "R2.pin1", to: "net.DISCH" }), jsxRuntime.jsx("trace", { name: "timing_resistor_bottom", from: "R2.pin2", to: "net.TIMING" }), jsxRuntime.jsx("trace", { name: "timer_threshold", from: "U1.THRES", to: "net.TIMING" }), jsxRuntime.jsx("trace", { name: "timer_trigger", from: "U1.TRIG", to: "net.TIMING" }), jsxRuntime.jsx("trace", { name: "timing_cap_top", from: "C1.pin1", to: "net.TIMING" }), jsxRuntime.jsx("trace", { name: "timing_cap_ground", from: "C1.pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { name: "control_cap", from: "U1.CTRL", to: "C2.pin1" }), jsxRuntime.jsx("trace", { name: "control_cap_ground", from: "C2.pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { name: "reset_pullup", from: "R5.pin1", to: "net.VCC" }), jsxRuntime.jsx("trace", { name: "reset_resistor", from: "R5.pin2", to: "net.RESET" }), jsxRuntime.jsx("trace", { name: "reset_chip", from: "U1.RESET", to: "net.RESET" }), jsxRuntime.jsx("trace", { name: "reset_button", from: "SW1.pin1", to: "net.RESET" }), jsxRuntime.jsx("trace", { name: "reset_button_parallel", from: "SW1.pin4", to: "net.RESET" }), jsxRuntime.jsx("trace", { name: "reset_button_ground", from: "SW1.pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { name: "reset_button_ground_parallel", from: "SW1.pin3", to: "net.GND" }), jsxRuntime.jsx("trace", { name: "timer_output", from: "U1.OUT", to: "net.OUT" }), jsxRuntime.jsx("trace", { name: "high_led_drive", from: "R3.pin1", to: "net.OUT" }), jsxRuntime.jsx("trace", { name: "high_led_series", from: "R3.pin2", to: "D1.anode" }), jsxRuntime.jsx("trace", { name: "high_led_ground", from: "D1.cathode", to: "net.GND" }), jsxRuntime.jsx("trace", { name: "low_led_power", from: "R4.pin1", to: "net.VCC" }), jsxRuntime.jsx("trace", { name: "low_led_series", from: "R4.pin2", to: "D2.anode" }), jsxRuntime.jsx("trace", { name: "low_led_sink", from: "D2.cathode", to: "net.OUT" }), jsxRuntime.jsx("trace", { name: "output_header_signal", from: "J2.pin1", to: "net.OUT" }), jsxRuntime.jsx("trace", { name: "output_header_power", from: "J2.pin2", to: "net.VCC" }), jsxRuntime.jsx("trace", { name: "output_header_ground", from: "J2.pin3", to: "net.GND" }), jsxRuntime.jsx("trace", { name: "power_probe", from: "TP1.pin1", to: "net.VCC" }), jsxRuntime.jsx("trace", { name: "output_probe", from: "TP2.pin1", to: "net.OUT" }), jsxRuntime.jsx("trace", { name: "ground_probe", from: "TP3.pin1", to: "net.GND" }), jsxRuntime.jsx("copperpour", { name: "GND_TOP", connectsTo: "net.GND", layer: "top", clearance: "0.25mm" }), jsxRuntime.jsx("copperpour", { name: "GND_BOTTOM", connectsTo: "net.GND", layer: "bottom", clearance: "0.25mm" })] }));
}
module.exports = EcosystemProbeBoard;