{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.calculatorx.com/schemas/electrical.timer_555/1.2.0/input.json",
  "title": "555 Timer — input",
  "type": "object",
  "oneOf": [
    {
      "title": "astable",
      "type": "object",
      "additionalProperties": false,
      "required": [
        "mode",
        "R1",
        "R2",
        "C"
      ],
      "properties": {
        "mode": {
          "const": "astable",
          "description": "Free-running astable multivibrator (standard charge via R1+R2, discharge via R2)"
        },
        "R1": {
          "type": "number",
          "exclusiveMinimum": 0,
          "description": "Charge resistor RA between VCC and DISCH (Ω)"
        },
        "R2": {
          "type": "number",
          "exclusiveMinimum": 0,
          "description": "Charge/discharge resistor RB between DISCH and THRES/TRIG (Ω)"
        },
        "C": {
          "type": "number",
          "exclusiveMinimum": 0,
          "description": "Timing capacitor to GND (F)"
        }
      }
    },
    {
      "title": "monostable",
      "type": "object",
      "additionalProperties": false,
      "required": [
        "mode",
        "R",
        "C"
      ],
      "properties": {
        "mode": {
          "const": "monostable",
          "description": "One-shot monostable pulse width"
        },
        "R": {
          "type": "number",
          "exclusiveMinimum": 0,
          "description": "Timing resistor (Ω)"
        },
        "C": {
          "type": "number",
          "exclusiveMinimum": 0,
          "description": "Timing capacitor (F)"
        }
      }
    }
  ],
  "description": "Astable frequency/duty/timing and monostable pulse width for the classic 555 using ln(2)-canonical NE555 timing (TI 0.693/1.44 are documented rounded aliases). (calculation_version 1.2.0)"
}
