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.
index.tsx
PCB
Schematic
import React from "react"
/**
* 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.
*/
export default function EcosystemProbeBoard() {
return (
<board width="60mm" height="36mm" autorouter="auto-local">
<schematicsheet
name="Main"
displayName="5 V timer and indicator"
sheetIndex={1}
sheetWidth="297mm"
sheetHeight="210mm"
>
<schematicsection name="Input" displayName="Power input" />
<schematicsection name="Timer" displayName="NE555 oscillator" />
<schematicsection name="Output" displayName="Indicators and output" />
</schematicsheet>
<net name="VCC" isPowerNet />
<net name="GND" isGroundNet />
<net name="DISCH" />
<net name="TIMING" />
<net name="RESET" />
<net name="OUT" />
<net name="LED_HIGH" />
<net name="LED_LOW" />
<pinheader
name="J1"
pinCount={2}
pitch="2.54mm"
pinLabels={["5V_IN", "GND"]}
pcbX={-23}
pcbY={0}
schSheetName="Main"
schSectionName="Input"
schX={-11}
schY={1}
/>
<fuse
name="F1"
footprint="1206"
currentRating="500mA"
voltageRating="32V"
pcbX={-17}
pcbY={4}
schRotation={90}
schSheetName="Main"
schSectionName="Input"
schX={-8}
schY={1}
/>
<capacitor
name="C3"
capacitance="100nF"
footprint="0603"
pcbX={5}
pcbY={6}
schRotation={-90}
schSheetName="Main"
schSectionName="Input"
schX={-9}
schY={-2}
/>
<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}
/>
<resistor
name="R1"
resistance="10k"
footprint="0603"
pcbX={-12}
pcbY={9}
schRotation={-90}
schSheetName="Main"
schSectionName="Timer"
schX={-4}
schY={3}
/>
<resistor
name="R2"
resistance="68k"
footprint="0603"
pcbX={-8}
pcbY={4}
pcbRotation={270}
schSheetName="Main"
schSectionName="Timer"
schX={-3}
schY={0}
/>
<capacitor
name="C1"
capacitance="10uF"
footprint="1206"
pcbX={-8}
pcbY={-6}
schRotation={-90}
schSheetName="Main"
schSectionName="Timer"
schX={-3}
schY={-3}
/>
<capacitor
name="C2"
capacitance="10nF"
footprint="0603"
pcbX={1}
pcbY={-6}
schRotation={-90}
schSheetName="Main"
schSectionName="Timer"
schX={3}
schY={-3}
/>
<resistor
name="R5"
resistance="10k"
footprint="0603"
pcbX={1}
pcbY={-10}
schRotation={-90}
schSheetName="Main"
schSectionName="Timer"
schX={2}
schY={3}
/>
<pushbutton
name="SW1"
footprint="pushbutton"
internallyConnectedPins={[
["pin1", "pin4"],
["pin2", "pin3"],
]}
pcbX={8}
pcbY={-9}
schSheetName="Main"
schSectionName="Timer"
schX={4}
schY={3}
/>
<resistor
name="R3"
resistance="680"
footprint="0603"
pcbX={10}
pcbY={8}
schRotation={-90}
schSheetName="Main"
schSectionName="Output"
schX={9}
schY={2}
/>
<led
name="D1"
color="green"
footprint="0603"
pcbX={17}
pcbY={8}
schRotation={-90}
schSheetName="Main"
schSectionName="Output"
schX={9}
schY={0}
/>
<resistor
name="R4"
resistance="680"
footprint="0603"
pcbX={10}
pcbY={2}
pcbRotation={90}
schRotation={-90}
schSheetName="Main"
schSectionName="Output"
schX={9}
schY={6}
/>
<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}
/>
<pinheader
name="J2"
pinCount={3}
pitch="2.54mm"
pinLabels={["OUT", "5V", "GND"]}
pcbX={24}
pcbY={-3}
schSheetName="Main"
schSectionName="Output"
schX={11}
schY={0}
/>
<testpoint
name="TP1"
footprintVariant="pad"
padDiameter="1.5mm"
pcbX={-19}
pcbY={10}
schSheetName="Main"
schSectionName="Input"
schX={-11}
schY={-2}
/>
<testpoint
name="TP2"
footprintVariant="pad"
padDiameter="1.5mm"
pcbX={21}
pcbY={-10}
schSheetName="Main"
schSectionName="Output"
schX={11}
schY={-3}
/>
<testpoint
name="TP3"
footprintVariant="pad"
padDiameter="1.5mm"
pcbX={-19}
pcbY={-10}
schSheetName="Main"
schSectionName="Input"
schX={-9}
schY={-4}
/>
<hole name="H1" diameter="2.2mm" pcbX={-26} pcbY={14} />
<hole name="H2" diameter="2.2mm" pcbX={26} pcbY={14} />
<hole name="H3" diameter="2.2mm" pcbX={-26} pcbY={-14} />
<hole name="H4" diameter="2.2mm" pcbX={26} pcbY={-14} />
<silkscreentext
text="555 ECOSYSTEM PROBE"
pcbX={0}
pcbY={14}
fontSize="1.2mm"
/>
<silkscreentext text="5V IN" pcbX={-23} pcbY={5} fontSize="0.9mm" />
<silkscreentext text="HIGH" pcbX={17} pcbY={11} fontSize="0.9mm" />
<silkscreentext text="LOW" pcbX={17} pcbY={-1} fontSize="0.9mm" />
<trace name="input_fuse" from="J1.pin1" to="F1.pin1" />
<trace name="fused_power" from="F1.pin2" to="net.VCC" />
<trace name="input_ground" from="J1.pin2" to="net.GND" />
<trace name="bypass_power" from="C3.pin1" to="net.VCC" />
<trace name="bypass_ground" from="C3.pin2" to="net.GND" />
<trace name="timer_power" from="U1.VCC" to="net.VCC" />
<trace name="timer_ground" from="U1.GND" to="net.GND" />
<trace name="charge_supply" from="R1.pin1" to="net.VCC" />
<trace name="charge_node" from="R1.pin2" to="net.DISCH" />
<trace name="discharge_pin" from="U1.DISCH" to="net.DISCH" />
<trace name="timing_resistor_top" from="R2.pin1" to="net.DISCH" />
<trace name="timing_resistor_bottom" from="R2.pin2" to="net.TIMING" />
<trace name="timer_threshold" from="U1.THRES" to="net.TIMING" />
<trace name="timer_trigger" from="U1.TRIG" to="net.TIMING" />
<trace name="timing_cap_top" from="C1.pin1" to="net.TIMING" />
<trace name="timing_cap_ground" from="C1.pin2" to="net.GND" />
<trace name="control_cap" from="U1.CTRL" to="C2.pin1" />
<trace name="control_cap_ground" from="C2.pin2" to="net.GND" />
<trace name="reset_pullup" from="R5.pin1" to="net.VCC" />
<trace name="reset_resistor" from="R5.pin2" to="net.RESET" />
<trace name="reset_chip" from="U1.RESET" to="net.RESET" />
<trace name="reset_button" from="SW1.pin1" to="net.RESET" />
<trace name="reset_button_parallel" from="SW1.pin4" to="net.RESET" />
<trace name="reset_button_ground" from="SW1.pin2" to="net.GND" />
<trace name="reset_button_ground_parallel" from="SW1.pin3" to="net.GND" />
<trace name="timer_output" from="U1.OUT" to="net.OUT" />
<trace name="high_led_drive" from="R3.pin1" to="net.OUT" />
<trace name="high_led_series" from="R3.pin2" to="D1.anode" />
<trace name="high_led_ground" from="D1.cathode" to="net.GND" />
<trace name="low_led_power" from="R4.pin1" to="net.VCC" />
<trace name="low_led_series" from="R4.pin2" to="D2.anode" />
<trace name="low_led_sink" from="D2.cathode" to="net.OUT" />
<trace name="output_header_signal" from="J2.pin1" to="net.OUT" />
<trace name="output_header_power" from="J2.pin2" to="net.VCC" />
<trace name="output_header_ground" from="J2.pin3" to="net.GND" />
<trace name="power_probe" from="TP1.pin1" to="net.VCC" />
<trace name="output_probe" from="TP2.pin1" to="net.OUT" />
<trace name="ground_probe" from="TP3.pin1" to="net.GND" />
<copperpour
name="GND_TOP"
connectsTo="net.GND"
layer="top"
clearance="0.25mm"
/>
<copperpour
name="GND_BOTTOM"
connectsTo="net.GND"
layer="bottom"
clearance="0.25mm"
/>
</board>
)
}