{ "$comment": "Custom property overrides applied AFTER auto-generation from wokwi-elements. Add entries here to customize controls, add new properties, or change defaults. These survive metadata regeneration. Use `_customComponents` to inject Velxio-only parts not defined in wokwi-elements.", "_customComponents": [ { "id": "a4988", "tagName": "velxio-a4988", "name": "A4988 Stepper Driver", "category": "motors", "description": "A4988 bipolar stepper motor driver (STEP/DIR). Pulse STEP to advance one step; DIR sets the direction; MS1-MS3 select microstepping. Outputs 1A/1B (coil A) and 2A/2B (coil B) to a stepper's A+/A-/B+/B- terminals.", "properties": [], "defaultValues": {}, "pinCount": 16, "tags": [ "a4988", "stepper", "driver", "motor", "step", "dir", "pololu", "motors" ], "thumbnail": "\n \n \n A4988\n \n STEP/DIR" }, { "id": "logic-gate-and", "tagName": "velxio-logic-and", "name": "AND Gate", "category": "logic", "description": "2-input AND logic gate. Output Y = A · B.", "properties": [], "defaultValues": {}, "pinCount": 3, "tags": [ "logic", "gate", "and", "digital" ] }, { "id": "logic-gate-nand", "tagName": "velxio-logic-nand", "name": "NAND Gate", "category": "logic", "description": "2-input NAND logic gate. Output Y = NOT(A · B).", "properties": [], "defaultValues": {}, "pinCount": 3, "tags": [ "logic", "gate", "nand", "digital" ] }, { "id": "logic-gate-or", "tagName": "velxio-logic-or", "name": "OR Gate", "category": "logic", "description": "2-input OR logic gate. Output Y = A + B.", "properties": [], "defaultValues": {}, "pinCount": 3, "tags": [ "logic", "gate", "or", "digital" ] }, { "id": "logic-gate-nor", "tagName": "velxio-logic-nor", "name": "NOR Gate", "category": "logic", "description": "2-input NOR logic gate. Output Y = NOT(A + B).", "properties": [], "defaultValues": {}, "pinCount": 3, "tags": [ "logic", "gate", "nor", "digital" ] }, { "id": "logic-gate-xor", "tagName": "velxio-logic-xor", "name": "XOR Gate", "category": "logic", "description": "2-input XOR logic gate. Output Y = A ⊕ B.", "properties": [], "defaultValues": {}, "pinCount": 3, "tags": [ "logic", "gate", "xor", "digital" ] }, { "id": "logic-gate-xnor", "tagName": "velxio-logic-xnor", "name": "XNOR Gate", "category": "logic", "description": "2-input XNOR logic gate. Output Y = NOT(A ⊕ B).", "properties": [], "defaultValues": {}, "pinCount": 3, "tags": [ "logic", "gate", "xnor", "digital" ] }, { "id": "logic-gate-not", "tagName": "velxio-logic-not", "name": "NOT Gate (Inverter)", "category": "logic", "description": "1-input inverter. Output Y = NOT(A).", "properties": [], "defaultValues": {}, "pinCount": 2, "tags": [ "logic", "gate", "not", "inverter", "digital" ] }, { "id": "bjt-2n2222", "tagName": "wokwi-bjt-2n2222", "name": "2N2222 (NPN BJT)", "category": "analog", "description": "General-purpose NPN bipolar transistor. The go-to part for low-power switching and small-signal amplification.", "properties": [], "defaultValues": {}, "pinCount": 3, "tags": [ "transistor", "bjt", "npn", "2n2222", "analog" ] }, { "id": "bjt-bc547", "tagName": "wokwi-bjt-bc547", "name": "BC547 (NPN BJT)", "category": "analog", "description": "Small-signal NPN bipolar transistor, European equivalent of 2N3904. High gain (~400).", "properties": [], "defaultValues": {}, "pinCount": 3, "tags": [ "transistor", "bjt", "npn", "bc547", "analog" ] }, { "id": "bjt-2n3055", "tagName": "wokwi-bjt-2n3055", "name": "2N3055 (NPN Power BJT)", "category": "analog", "description": "Power NPN bipolar transistor. 15A / 60V / 115W TO-3 package. Classic audio amp output stage.", "properties": [], "defaultValues": {}, "pinCount": 3, "tags": [ "transistor", "bjt", "npn", "power", "2n3055", "analog" ] }, { "id": "bjt-2n3906", "tagName": "wokwi-bjt-2n3906", "name": "2N3906 (PNP BJT)", "category": "analog", "description": "General-purpose PNP bipolar transistor. Complement of the 2N3904/2N2222.", "properties": [], "defaultValues": {}, "pinCount": 3, "tags": [ "transistor", "bjt", "pnp", "2n3906", "analog" ] }, { "id": "bjt-bc557", "tagName": "wokwi-bjt-bc557", "name": "BC557 (PNP BJT)", "category": "analog", "description": "Small-signal PNP bipolar transistor. Complement of the BC547.", "properties": [], "defaultValues": {}, "pinCount": 3, "tags": [ "transistor", "bjt", "pnp", "bc557", "analog" ] }, { "id": "mosfet-2n7000", "tagName": "wokwi-mosfet-2n7000", "name": "2N7000 (N-MOSFET)", "category": "analog", "description": "Logic-level N-channel MOSFET. Vth ≈ 1.6 V, fully enhanced at 3.3 V — perfect for GPIO-driven load switching.", "properties": [], "defaultValues": {}, "pinCount": 3, "tags": [ "transistor", "mosfet", "nmos", "n-channel", "logic-level", "2n7000", "analog" ] }, { "id": "mosfet-irf540", "tagName": "wokwi-mosfet-irf540", "name": "IRF540 (N-MOSFET Power)", "category": "analog", "description": "Power N-channel MOSFET. Vth ≈ 3 V (needs 10 V for full enhancement), 33 A / 100 V, R_DS(on) ≈ 77 mΩ. Classic motor / solenoid driver.", "properties": [], "defaultValues": {}, "pinCount": 3, "tags": [ "transistor", "mosfet", "nmos", "n-channel", "power", "irf540", "analog" ] }, { "id": "mosfet-irf9540", "tagName": "wokwi-mosfet-irf9540", "name": "IRF9540 (P-MOSFET)", "category": "analog", "description": "Power P-channel MOSFET. Used for high-side load switching with logic input.", "properties": [], "defaultValues": {}, "pinCount": 3, "tags": [ "transistor", "mosfet", "pmos", "p-channel", "irf9540", "analog" ] }, { "id": "mosfet-fqp27p06", "tagName": "wokwi-mosfet-fqp27p06", "name": "FQP27P06 (P-MOSFET)", "category": "analog", "description": "Logic-level P-channel MOSFET. Suitable for 3.3V / 5V gate drive.", "properties": [], "defaultValues": {}, "pinCount": 3, "tags": [ "transistor", "mosfet", "pmos", "p-channel", "fqp27p06", "logic-level", "analog" ] }, { "id": "opamp-ideal", "tagName": "wokwi-opamp-ideal", "name": "Ideal Op-Amp", "category": "analog", "description": "Idealized operational amplifier. Infinite gain, infinite input impedance, no saturation. Use for textbook circuits where real-chip limitations are irrelevant.", "properties": [], "defaultValues": {}, "pinCount": 3, "tags": [ "opamp", "amplifier", "ideal", "vcvs", "analog" ] }, { "id": "opamp-lm358", "tagName": "wokwi-opamp-lm358", "name": "LM358 (Dual Op-Amp)", "category": "analog", "description": "Dual single-supply op-amp. Output swings close to both rails. Ideal for MCU-powered signal conditioning.", "properties": [], "defaultValues": {}, "pinCount": 3, "tags": [ "opamp", "amplifier", "lm358", "single-supply", "analog" ] }, { "id": "opamp-lm741", "tagName": "wokwi-opamp-lm741", "name": "LM741 (Op-Amp)", "category": "analog", "description": "Classic general-purpose op-amp. Requires ~1.5V of headroom from each supply rail. Used in didactic circuits.", "properties": [], "defaultValues": {}, "pinCount": 3, "tags": [ "opamp", "amplifier", "lm741", "classic", "analog" ] }, { "id": "opamp-tl072", "tagName": "wokwi-opamp-tl072", "name": "TL072 (JFET Op-Amp)", "category": "analog", "description": "JFET-input dual op-amp. Very high input impedance, low noise — audio and instrumentation.", "properties": [], "defaultValues": {}, "pinCount": 3, "tags": [ "opamp", "amplifier", "tl072", "jfet", "audio", "analog" ] }, { "id": "opamp-lm324", "tagName": "wokwi-opamp-lm324", "name": "LM324 (Quad Op-Amp)", "category": "analog", "description": "Quad single-supply op-amp. Same electrical spec as LM358, four channels per package.", "properties": [], "defaultValues": {}, "pinCount": 3, "tags": [ "opamp", "amplifier", "lm324", "quad", "single-supply", "analog" ] }, { "id": "reg-7805", "tagName": "wokwi-reg-7805", "name": "7805 (+5V Linear Regulator)", "category": "analog", "description": "Fixed +5V linear regulator, 1A, TO-220. Dropout ≈ 2V. Classic MCU power supply.", "properties": [], "defaultValues": {}, "pinCount": 3, "tags": [ "regulator", "linear", "78xx", "7805", "+5v", "analog" ] }, { "id": "reg-7812", "tagName": "wokwi-reg-7812", "name": "7812 (+12V Linear Regulator)", "category": "analog", "description": "Fixed +12V linear regulator, 1A, TO-220. Dropout ≈ 2V. Motor drivers, fan supplies.", "properties": [], "defaultValues": {}, "pinCount": 3, "tags": [ "regulator", "linear", "78xx", "7812", "+12v", "analog" ] }, { "id": "reg-7905", "tagName": "wokwi-reg-7905", "name": "7905 (−5V Linear Regulator)", "category": "analog", "description": "Fixed −5V linear regulator, 1A, TO-220. Negative-rail complement of the 7805.", "properties": [], "defaultValues": {}, "pinCount": 3, "tags": [ "regulator", "linear", "79xx", "7905", "-5v", "negative", "analog" ] }, { "id": "reg-lm317", "tagName": "wokwi-reg-lm317", "name": "LM317 (Adjustable Linear Regulator)", "category": "analog", "description": "Adjustable +1.25V to +37V linear regulator. V_out = 1.25·(1 + R2/R1). Versatile workhorse.", "properties": [], "defaultValues": {}, "pinCount": 3, "tags": [ "regulator", "linear", "lm317", "adjustable", "analog" ] }, { "id": "battery-9v", "tagName": "wokwi-battery-9v", "name": "9V Battery", "category": "analog", "description": "PP3 / 6LR61 9V alkaline battery. Modelled as 9V DC with ~1.5Ω internal resistance.", "properties": [], "defaultValues": {}, "pinCount": 2, "tags": [ "battery", "source", "9v", "power", "analog" ] }, { "id": "battery-aa", "tagName": "wokwi-battery-aa", "name": "AA Battery (1.5V)", "category": "analog", "description": "AA alkaline cell. 1.5V, low ESR (~0.15Ω). Pair up for 3V/4.5V/6V packs.", "properties": [], "defaultValues": {}, "pinCount": 2, "tags": [ "battery", "source", "aa", "1.5v", "analog" ] }, { "id": "battery-coin-cell", "tagName": "wokwi-battery-coin-cell", "name": "Coin Cell (CR2032, 3V)", "category": "analog", "description": "Lithium coin cell. 3V, high ESR (~10Ω) — limits peak current.", "properties": [], "defaultValues": {}, "pinCount": 2, "tags": [ "battery", "source", "coin", "cr2032", "3v", "analog" ] }, { "id": "logic-gate-and-3", "tagName": "velxio-logic-and-3", "name": "AND Gate (3-input)", "category": "logic", "description": "3-input AND gate. Output Y = A · B · C.", "properties": [], "defaultValues": {}, "pinCount": 4, "tags": [ "logic", "gate", "and", "3-input", "digital" ] }, { "id": "logic-gate-or-3", "tagName": "velxio-logic-or-3", "name": "OR Gate (3-input)", "category": "logic", "description": "3-input OR gate. Output Y = A + B + C.", "properties": [], "defaultValues": {}, "pinCount": 4, "tags": [ "logic", "gate", "or", "3-input", "digital" ] }, { "id": "logic-gate-nand-3", "tagName": "velxio-logic-nand-3", "name": "NAND Gate (3-input)", "category": "logic", "description": "3-input NAND gate.", "properties": [], "defaultValues": {}, "pinCount": 4, "tags": [ "logic", "gate", "nand", "3-input", "digital" ] }, { "id": "logic-gate-nor-3", "tagName": "velxio-logic-nor-3", "name": "NOR Gate (3-input)", "category": "logic", "description": "3-input NOR gate.", "properties": [], "defaultValues": {}, "pinCount": 4, "tags": [ "logic", "gate", "nor", "3-input", "digital" ] }, { "id": "logic-gate-and-4", "tagName": "velxio-logic-and-4", "name": "AND Gate (4-input)", "category": "logic", "description": "4-input AND gate.", "properties": [], "defaultValues": {}, "pinCount": 5, "tags": [ "logic", "gate", "and", "4-input", "digital" ] }, { "id": "logic-gate-or-4", "tagName": "velxio-logic-or-4", "name": "OR Gate (4-input)", "category": "logic", "description": "4-input OR gate.", "properties": [], "defaultValues": {}, "pinCount": 5, "tags": [ "logic", "gate", "or", "4-input", "digital" ] }, { "id": "logic-gate-nand-4", "tagName": "velxio-logic-nand-4", "name": "NAND Gate (4-input)", "category": "logic", "description": "4-input NAND gate.", "properties": [], "defaultValues": {}, "pinCount": 5, "tags": [ "logic", "gate", "nand", "4-input", "digital" ] }, { "id": "logic-gate-nor-4", "tagName": "velxio-logic-nor-4", "name": "NOR Gate (4-input)", "category": "logic", "description": "4-input NOR gate.", "properties": [], "defaultValues": {}, "pinCount": 5, "tags": [ "logic", "gate", "nor", "4-input", "digital" ] }, { "id": "diode", "tagName": "wokwi-diode", "name": "Diode (generic)", "category": "analog", "description": "Generic silicon diode. Vf ≈ 0.7 V. Use for textbook rectification examples.", "properties": [], "defaultValues": {}, "pinCount": 2, "tags": [ "diode", "rectifier", "analog" ] }, { "id": "diode-1n4148", "tagName": "wokwi-diode-1n4148", "name": "1N4148 (Small-Signal Diode)", "category": "analog", "description": "Small-signal silicon diode. Fast switching, low capacitance. Go-to for logic-level protection.", "properties": [], "defaultValues": {}, "pinCount": 2, "tags": [ "diode", "1n4148", "small-signal", "analog" ] }, { "id": "diode-1n4007", "tagName": "wokwi-diode-1n4007", "name": "1N4007 (1 kV Rectifier)", "category": "analog", "description": "1 A / 1000 V silicon rectifier diode. Mains bridge rectifiers, back-EMF protection.", "properties": [], "defaultValues": {}, "pinCount": 2, "tags": [ "diode", "1n4007", "rectifier", "power", "analog" ] }, { "id": "zener-1n4733", "tagName": "wokwi-zener-1n4733", "name": "1N4733 (5.1 V Zener)", "category": "analog", "description": "5.1 V Zener diode, 1 W. Voltage reference / regulator / ESD clamp.", "properties": [], "defaultValues": {}, "pinCount": 2, "tags": [ "diode", "zener", "1n4733", "5.1v", "regulator", "analog" ] }, { "id": "diode-1n5817", "tagName": "wokwi-diode-1n5817", "name": "1N5817 (Schottky 20V)", "category": "analog", "description": "Schottky diode, 1 A / 20 V. Vf ≈ 0.32 V at 1 A. Used in low-drop rectification and reverse-polarity protection.", "properties": [], "defaultValues": {}, "pinCount": 2, "tags": [ "diode", "schottky", "1n5817", "low-drop", "analog" ] }, { "id": "diode-1n5819", "tagName": "wokwi-diode-1n5819", "name": "1N5819 (Schottky 40V)", "category": "analog", "description": "Schottky diode, 1 A / 40 V. Higher breakdown than 1N5817, same low Vf.", "properties": [], "defaultValues": {}, "pinCount": 2, "tags": [ "diode", "schottky", "1n5819", "low-drop", "analog" ] }, { "id": "motor-driver-l293d", "tagName": "velxio-motor-driver-l293d", "name": "L293D (Dual H-Bridge Motor Driver)", "category": "electromech", "description": "Dual H-bridge motor driver IC. Each channel: EN, IN1, IN2 drive OUT1/OUT2 with the motor supply voltage (VCC2). Rated 600 mA continuous / 1.2 A peak per channel.", "properties": [], "defaultValues": {}, "pinCount": 16, "tags": [ "motor", "driver", "l293d", "h-bridge", "dc-motor", "stepper", "electromech" ] }, { "id": "flip-flop-d", "tagName": "velxio-flip-flop-d", "name": "D Flip-Flop", "category": "logic", "description": "Edge-triggered D-type flip-flop. On rising edge of CLK, Q ← D. Digital simulation only (SPICE cannot do edge detection in .op analysis).", "properties": [], "defaultValues": {}, "pinCount": 4, "tags": [ "flip-flop", "ff", "d", "register", "sequential", "digital", "logic" ] }, { "id": "flip-flop-t", "tagName": "velxio-flip-flop-t", "name": "T Flip-Flop", "category": "logic", "description": "Toggle flip-flop. On rising CLK, Q ← Q ⊕ T (toggles when T=1). Useful for frequency dividers and counters.", "properties": [], "defaultValues": {}, "pinCount": 4, "tags": [ "flip-flop", "ff", "t", "toggle", "sequential", "digital", "logic" ] }, { "id": "flip-flop-jk", "tagName": "velxio-flip-flop-jk", "name": "JK Flip-Flop", "category": "logic", "description": "JK flip-flop. On rising CLK: J=0/K=0 hold, J=1/K=0 set, J=0/K=1 reset, J=1/K=1 toggle.", "properties": [], "defaultValues": {}, "pinCount": 5, "tags": [ "flip-flop", "ff", "jk", "sequential", "digital", "logic" ] }, { "id": "ic-74hc00", "tagName": "wokwi-ic-74hc00", "name": "74HC00 (Quad 2-input NAND)", "category": "logic", "description": "Four 2-input NAND gates in one 14-pin DIP package. 74HC family (high-speed CMOS).", "properties": [], "defaultValues": {}, "pinCount": 14, "tags": [ "ic", "74hc", "74hc00", "nand", "quad", "dip14", "logic" ] }, { "id": "ic-74hc02", "tagName": "wokwi-ic-74hc02", "name": "74HC02 (Quad 2-input NOR)", "category": "logic", "description": "Four 2-input NOR gates in one 14-pin DIP package.", "properties": [], "defaultValues": {}, "pinCount": 14, "tags": [ "ic", "74hc", "74hc02", "nor", "quad", "dip14", "logic" ] }, { "id": "ic-74hc04", "tagName": "wokwi-ic-74hc04", "name": "74HC04 (Hex Inverter)", "category": "logic", "description": "Six NOT gates (inverters) in one 14-pin DIP package.", "properties": [], "defaultValues": {}, "pinCount": 14, "tags": [ "ic", "74hc", "74hc04", "inverter", "hex", "dip14", "logic" ] }, { "id": "ic-74hc08", "tagName": "wokwi-ic-74hc08", "name": "74HC08 (Quad 2-input AND)", "category": "logic", "description": "Four 2-input AND gates in one 14-pin DIP package.", "properties": [], "defaultValues": {}, "pinCount": 14, "tags": [ "ic", "74hc", "74hc08", "and", "quad", "dip14", "logic" ] }, { "id": "ic-74hc14", "tagName": "wokwi-ic-74hc14", "name": "74HC14 (Hex Schmitt Inverter)", "category": "logic", "description": "Six Schmitt-trigger inverters in one 14-pin DIP package. Provides input hysteresis — essential for debouncing noisy signals.", "properties": [], "defaultValues": {}, "pinCount": 14, "tags": [ "ic", "74hc", "74hc14", "schmitt", "inverter", "hex", "hysteresis", "dip14", "logic" ] }, { "id": "ic-74hc32", "tagName": "wokwi-ic-74hc32", "name": "74HC32 (Quad 2-input OR)", "category": "logic", "description": "Four 2-input OR gates in one 14-pin DIP package.", "properties": [], "defaultValues": {}, "pinCount": 14, "tags": [ "ic", "74hc", "74hc32", "or", "quad", "dip14", "logic" ] }, { "id": "ic-74hc86", "tagName": "wokwi-ic-74hc86", "name": "74HC86 (Quad 2-input XOR)", "category": "logic", "description": "Four 2-input XOR gates in one 14-pin DIP package.", "properties": [], "defaultValues": {}, "pinCount": 14, "tags": [ "ic", "74hc", "74hc86", "xor", "quad", "dip14", "logic" ] }, { "id": "opto-4n25", "tagName": "velxio-opto-4n25", "name": "4N25 (Optocoupler)", "category": "analog", "description": "Single-channel optocoupler with IR LED + phototransistor. CTR ≈ 50%. Provides galvanic isolation between two circuits.", "properties": [], "defaultValues": {}, "pinCount": 4, "tags": [ "optocoupler", "optoisolator", "4n25", "isolation", "analog" ] }, { "id": "opto-pc817", "tagName": "velxio-opto-pc817", "name": "PC817 (Optocoupler)", "category": "analog", "description": "Single-channel optocoupler. CTR 80–600% (typ. 100%). Higher drive than 4N25, commonly used for MCU-to-mains isolation.", "properties": [], "defaultValues": {}, "pinCount": 4, "tags": [ "optocoupler", "optoisolator", "pc817", "isolation", "analog" ] }, { "id": "relay", "tagName": "velxio-relay", "name": "Relay (SPDT)", "category": "electromech", "description": "5-pin single-pole double-throw electromechanical relay. Coil drives SPDT contacts with native switch hysteresis. Optional integrated flyback diode.", "properties": [ { "name": "coil_voltage", "type": "number", "defaultValue": 5, "control": "select", "options": [ "5", "12", "24" ], "description": "Nominal coil voltage (V)" }, { "name": "coil_resistance", "type": "number", "defaultValue": 70, "control": "text", "description": "Coil resistance (Ω)" }, { "name": "include_flyback", "type": "boolean", "defaultValue": true, "control": "boolean", "description": "Integrated flyback diode across coil" } ], "defaultValues": { "coil_voltage": 5, "coil_resistance": 70, "include_flyback": true }, "pinCount": 5, "tags": [ "relay", "electromechanical", "switch", "spdt", "coil", "contact" ] }, { "id": "photodiode", "tagName": "wokwi-photodiode", "name": "Photodiode", "category": "sensors", "description": "Light-sensitive diode. Reverse current proportional to illumination. Property: lux (ambient light intensity).", "properties": [ { "name": "lux", "type": "number", "defaultValue": 500, "control": "number", "min": 0, "max": 100000, "description": "Illumination in lux" } ], "defaultValues": { "lux": 500 }, "pinCount": 2, "tags": [ "photodiode", "sensor", "light", "optical", "analog" ] }, { "id": "power-supply", "tagName": "wokwi-signal-generator", "name": "Regulated Power Supply", "category": "analog", "thumbnail": "\n \n \n 5.00V\n 1.00A\n \n \n PSU\n ", "description": "Bench DC/AC power supply with optional current limit. DC mode for fixed rails (5V, 12V, etc.); AC mode for sine sources. Visually shares the signal-generator chassis so no new Web Component is needed. The current limit is enforced by the circuit verifier — if any load pulls more than the configured amperage, Run is blocked with a 'source-overload' warning, mimicking a real bench supply's foldback behavior.", "properties": [ { "name": "mode", "type": "string", "defaultValue": "dc", "control": "select", "options": [ "dc", "ac" ], "description": "DC for fixed rails, AC for sine waveform output" }, { "name": "voltage", "type": "number", "defaultValue": 5, "control": "text", "description": "Output voltage in V (DC mode) or peak amplitude (AC mode)" }, { "name": "frequency", "type": "number", "defaultValue": 50, "control": "text", "description": "Frequency in Hz (AC mode only)" }, { "name": "currentLimit", "type": "number", "defaultValue": 1, "control": "text", "description": "Maximum sourced current in A. The verifier warns when exceeded." } ], "defaultValues": { "mode": "dc", "voltage": 5, "frequency": 50, "currentLimit": 1 }, "pinCount": 2, "tags": [ "power-supply", "regulated", "source", "psu", "bench", "lab", "dc", "ac", "analog" ] }, { "id": "signal-generator", "tagName": "wokwi-signal-generator", "name": "Signal Generator", "category": "analog", "description": "Benchtop AC/DC signal source. Sine, square, or DC output. Configurable frequency, amplitude, DC offset.", "properties": [ { "name": "waveform", "type": "string", "defaultValue": "sine", "control": "select", "options": [ "sine", "square", "dc" ] }, { "name": "frequency", "type": "number", "defaultValue": 1000, "control": "text", "description": "Frequency in Hz (ignored for DC)" }, { "name": "amplitude", "type": "number", "defaultValue": 1, "control": "text", "description": "Peak amplitude in V (ignored for DC)" }, { "name": "offset", "type": "number", "defaultValue": 0, "control": "text", "description": "DC offset in V" } ], "defaultValues": { "waveform": "sine", "frequency": 1000, "amplitude": 1, "offset": 0 }, "pinCount": 2, "tags": [ "signal-generator", "source", "ac", "dc", "function-generator", "analog" ] }, { "id": "capacitor", "tagName": "wokwi-capacitor", "name": "Cap. ceramic (custom)", "category": "passive", "thumbnail": "\n \n \n \n ?µF", "properties": [ { "name": "value", "type": "string", "defaultValue": "1u", "control": "text" } ], "defaultValues": { "value": "1u" }, "pinCount": 0, "tags": [ "capacitor", "ceramic", "custom" ] }, { "id": "inductor", "tagName": "wokwi-inductor", "name": "Inductor (custom)", "category": "passive", "thumbnail": "\n \n \n ?mH", "properties": [ { "name": "value", "type": "string", "defaultValue": "1m", "control": "text" } ], "defaultValues": { "value": "1m" }, "pinCount": 0, "tags": [ "inductor", "custom" ] }, { "id": "resistor-220", "tagName": "wokwi-resistor", "name": "Resistor 220 Ω", "category": "passive", "thumbnail": "\n \n \n \n \n \n \n 220 Ω", "properties": [ { "name": "value", "type": "string", "defaultValue": "220", "control": "text" } ], "defaultValues": { "value": "220" }, "pinCount": 0, "tags": [ "resistor", "preset", "220ω" ] }, { "id": "resistor-330", "tagName": "wokwi-resistor", "name": "Resistor 330 Ω", "category": "passive", "thumbnail": "\n \n \n \n \n \n \n 330 Ω", "properties": [ { "name": "value", "type": "string", "defaultValue": "330", "control": "text" } ], "defaultValues": { "value": "330" }, "pinCount": 0, "tags": [ "resistor", "preset", "330ω" ] }, { "id": "resistor-470", "tagName": "wokwi-resistor", "name": "Resistor 470 Ω", "category": "passive", "thumbnail": "\n \n \n \n \n \n \n 470 Ω", "properties": [ { "name": "value", "type": "string", "defaultValue": "470", "control": "text" } ], "defaultValues": { "value": "470" }, "pinCount": 0, "tags": [ "resistor", "preset", "470ω" ] }, { "id": "resistor-1k", "tagName": "wokwi-resistor", "name": "Resistor 1 kΩ", "category": "passive", "thumbnail": "\n \n \n \n \n \n \n 1 kΩ", "properties": [ { "name": "value", "type": "string", "defaultValue": "1000", "control": "text" } ], "defaultValues": { "value": "1000" }, "pinCount": 0, "tags": [ "resistor", "preset", "1kω" ] }, { "id": "resistor-2k2", "tagName": "wokwi-resistor", "name": "Resistor 2.2 kΩ", "category": "passive", "thumbnail": "\n \n \n \n \n \n \n 2.2 kΩ", "properties": [ { "name": "value", "type": "string", "defaultValue": "2200", "control": "text" } ], "defaultValues": { "value": "2200" }, "pinCount": 0, "tags": [ "resistor", "preset", "2.2kω" ] }, { "id": "resistor-4k7", "tagName": "wokwi-resistor", "name": "Resistor 4.7 kΩ", "category": "passive", "thumbnail": "\n \n \n \n \n \n \n 4.7 kΩ", "properties": [ { "name": "value", "type": "string", "defaultValue": "4700", "control": "text" } ], "defaultValues": { "value": "4700" }, "pinCount": 0, "tags": [ "resistor", "preset", "4.7kω" ] }, { "id": "resistor-10k", "tagName": "wokwi-resistor", "name": "Resistor 10 kΩ", "category": "passive", "thumbnail": "\n \n \n \n \n \n \n 10 kΩ", "properties": [ { "name": "value", "type": "string", "defaultValue": "10000", "control": "text" } ], "defaultValues": { "value": "10000" }, "pinCount": 0, "tags": [ "resistor", "preset", "10kω" ] }, { "id": "resistor-22k", "tagName": "wokwi-resistor", "name": "Resistor 22 kΩ", "category": "passive", "thumbnail": "\n \n \n \n \n \n \n 22 kΩ", "properties": [ { "name": "value", "type": "string", "defaultValue": "22000", "control": "text" } ], "defaultValues": { "value": "22000" }, "pinCount": 0, "tags": [ "resistor", "preset", "22kω" ] }, { "id": "resistor-47k", "tagName": "wokwi-resistor", "name": "Resistor 47 kΩ", "category": "passive", "thumbnail": "\n \n \n \n \n \n \n 47 kΩ", "properties": [ { "name": "value", "type": "string", "defaultValue": "47000", "control": "text" } ], "defaultValues": { "value": "47000" }, "pinCount": 0, "tags": [ "resistor", "preset", "47kω" ] }, { "id": "resistor-100k", "tagName": "wokwi-resistor", "name": "Resistor 100 kΩ", "category": "passive", "thumbnail": "\n \n \n \n \n \n \n 100 kΩ", "properties": [ { "name": "value", "type": "string", "defaultValue": "100000", "control": "text" } ], "defaultValues": { "value": "100000" }, "pinCount": 0, "tags": [ "resistor", "preset", "100kω" ] }, { "id": "resistor-1m", "tagName": "wokwi-resistor", "name": "Resistor 1 MΩ", "category": "passive", "thumbnail": "\n \n \n \n \n \n \n 1 MΩ", "properties": [ { "name": "value", "type": "string", "defaultValue": "1000000", "control": "text" } ], "defaultValues": { "value": "1000000" }, "pinCount": 0, "tags": [ "resistor", "preset", "1mω" ] }, { "id": "cap-10p", "tagName": "wokwi-capacitor", "name": "Cap. 10 pF", "category": "passive", "thumbnail": "\n \n \n \n 10 pF", "properties": [ { "name": "value", "type": "string", "defaultValue": "10p", "control": "text" } ], "defaultValues": { "value": "10p" }, "pinCount": 0, "tags": [ "capacitor", "ceramic", "preset", "10pf" ] }, { "id": "cap-22p", "tagName": "wokwi-capacitor", "name": "Cap. 22 pF", "category": "passive", "thumbnail": "\n \n \n \n 22 pF", "properties": [ { "name": "value", "type": "string", "defaultValue": "22p", "control": "text" } ], "defaultValues": { "value": "22p" }, "pinCount": 0, "tags": [ "capacitor", "ceramic", "preset", "22pf" ] }, { "id": "cap-100p", "tagName": "wokwi-capacitor", "name": "Cap. 100 pF", "category": "passive", "thumbnail": "\n \n \n \n 100 pF", "properties": [ { "name": "value", "type": "string", "defaultValue": "100p", "control": "text" } ], "defaultValues": { "value": "100p" }, "pinCount": 0, "tags": [ "capacitor", "ceramic", "preset", "100pf" ] }, { "id": "cap-1n", "tagName": "wokwi-capacitor", "name": "Cap. 1 nF", "category": "passive", "thumbnail": "\n \n \n \n 1 nF", "properties": [ { "name": "value", "type": "string", "defaultValue": "1n", "control": "text" } ], "defaultValues": { "value": "1n" }, "pinCount": 0, "tags": [ "capacitor", "ceramic", "preset", "1nf" ] }, { "id": "cap-10n", "tagName": "wokwi-capacitor", "name": "Cap. 10 nF", "category": "passive", "thumbnail": "\n \n \n \n 10 nF", "properties": [ { "name": "value", "type": "string", "defaultValue": "10n", "control": "text" } ], "defaultValues": { "value": "10n" }, "pinCount": 0, "tags": [ "capacitor", "ceramic", "preset", "10nf" ] }, { "id": "cap-100n", "tagName": "wokwi-capacitor", "name": "Cap. 100 nF", "category": "passive", "thumbnail": "\n \n \n \n 100 nF", "properties": [ { "name": "value", "type": "string", "defaultValue": "100n", "control": "text" } ], "defaultValues": { "value": "100n" }, "pinCount": 0, "tags": [ "capacitor", "ceramic", "preset", "100nf" ] }, { "id": "cap-1u", "tagName": "wokwi-capacitor", "name": "Cap. 1 µF", "category": "passive", "thumbnail": "\n \n \n \n 1 µF", "properties": [ { "name": "value", "type": "string", "defaultValue": "1u", "control": "text" } ], "defaultValues": { "value": "1u" }, "pinCount": 0, "tags": [ "capacitor", "ceramic", "preset", "1µf" ] }, { "id": "capacitor-electrolytic", "tagName": "velxio-capacitor-electrolytic", "name": "Electrolytic Cap. (custom)", "category": "passive", "thumbnail": "\n \n \n \n \n \n \n \n ?µF", "properties": [ { "name": "value", "type": "string", "defaultValue": "10u", "control": "text" }, { "name": "voltage", "type": "string", "control": "select", "options": [ "6.3", "10", "16", "25", "35", "50", "63", "100", "200", "400" ], "defaultValue": "25" } ], "defaultValues": { "value": "10u", "voltage": "25" }, "pinCount": 0, "tags": [ "capacitor", "electrolytic", "polarized", "custom" ] }, { "id": "cap-elec-1u", "tagName": "velxio-capacitor-electrolytic", "name": "Electrolytic 1 µF", "category": "passive", "thumbnail": "\n \n \n \n \n \n \n \n 1 µF", "properties": [ { "name": "value", "type": "string", "defaultValue": "1u", "control": "text" }, { "name": "voltage", "type": "string", "control": "select", "options": [ "6.3", "10", "16", "25", "35", "50", "63", "100", "200", "400" ], "defaultValue": "25" } ], "defaultValues": { "value": "1u", "voltage": "25" }, "pinCount": 0, "tags": [ "capacitor", "electrolytic", "polarized", "preset", "1µf" ] }, { "id": "cap-elec-10u", "tagName": "velxio-capacitor-electrolytic", "name": "Electrolytic 10 µF", "category": "passive", "thumbnail": "\n \n \n \n \n \n \n \n 10 µF", "properties": [ { "name": "value", "type": "string", "defaultValue": "10u", "control": "text" }, { "name": "voltage", "type": "string", "control": "select", "options": [ "6.3", "10", "16", "25", "35", "50", "63", "100", "200", "400" ], "defaultValue": "25" } ], "defaultValues": { "value": "10u", "voltage": "25" }, "pinCount": 0, "tags": [ "capacitor", "electrolytic", "polarized", "preset", "10µf" ] }, { "id": "cap-elec-47u", "tagName": "velxio-capacitor-electrolytic", "name": "Electrolytic 47 µF", "category": "passive", "thumbnail": "\n \n \n \n \n \n \n \n 47 µF", "properties": [ { "name": "value", "type": "string", "defaultValue": "47u", "control": "text" }, { "name": "voltage", "type": "string", "control": "select", "options": [ "6.3", "10", "16", "25", "35", "50", "63", "100", "200", "400" ], "defaultValue": "25" } ], "defaultValues": { "value": "47u", "voltage": "25" }, "pinCount": 0, "tags": [ "capacitor", "electrolytic", "polarized", "preset", "47µf" ] }, { "id": "cap-elec-100u", "tagName": "velxio-capacitor-electrolytic", "name": "Electrolytic 100 µF", "category": "passive", "thumbnail": "\n \n \n \n \n \n \n \n 100 µF", "properties": [ { "name": "value", "type": "string", "defaultValue": "100u", "control": "text" }, { "name": "voltage", "type": "string", "control": "select", "options": [ "6.3", "10", "16", "25", "35", "50", "63", "100", "200", "400" ], "defaultValue": "25" } ], "defaultValues": { "value": "100u", "voltage": "25" }, "pinCount": 0, "tags": [ "capacitor", "electrolytic", "polarized", "preset", "100µf" ] }, { "id": "cap-elec-470u", "tagName": "velxio-capacitor-electrolytic", "name": "Electrolytic 470 µF", "category": "passive", "thumbnail": "\n \n \n \n \n \n \n \n 470 µF", "properties": [ { "name": "value", "type": "string", "defaultValue": "470u", "control": "text" }, { "name": "voltage", "type": "string", "control": "select", "options": [ "6.3", "10", "16", "25", "35", "50", "63", "100", "200", "400" ], "defaultValue": "25" } ], "defaultValues": { "value": "470u", "voltage": "25" }, "pinCount": 0, "tags": [ "capacitor", "electrolytic", "polarized", "preset", "470µf" ] }, { "id": "cap-elec-1000u", "tagName": "velxio-capacitor-electrolytic", "name": "Electrolytic 1000 µF", "category": "passive", "thumbnail": "\n \n \n \n \n \n \n \n 1000 µF", "properties": [ { "name": "value", "type": "string", "defaultValue": "1000u", "control": "text" }, { "name": "voltage", "type": "string", "control": "select", "options": [ "6.3", "10", "16", "25", "35", "50", "63", "100", "200", "400" ], "defaultValue": "25" } ], "defaultValues": { "value": "1000u", "voltage": "25" }, "pinCount": 0, "tags": [ "capacitor", "electrolytic", "polarized", "preset", "1000µf" ] }, { "id": "ind-100u", "tagName": "wokwi-inductor", "name": "Inductor 100 µH", "category": "passive", "thumbnail": "\n \n \n 100 µH", "properties": [ { "name": "value", "type": "string", "defaultValue": "100u", "control": "text" } ], "defaultValues": { "value": "100u" }, "pinCount": 0, "tags": [ "inductor", "preset", "100µh" ] }, { "id": "ind-1m", "tagName": "wokwi-inductor", "name": "Inductor 1 mH", "category": "passive", "thumbnail": "\n \n \n 1 mH", "properties": [ { "name": "value", "type": "string", "defaultValue": "1m", "control": "text" } ], "defaultValues": { "value": "1m" }, "pinCount": 0, "tags": [ "inductor", "preset", "1mh" ] }, { "id": "ind-10m", "tagName": "wokwi-inductor", "name": "Inductor 10 mH", "category": "passive", "thumbnail": "\n \n \n 10 mH", "properties": [ { "name": "value", "type": "string", "defaultValue": "10m", "control": "text" } ], "defaultValues": { "value": "10m" }, "pinCount": 0, "tags": [ "inductor", "preset", "10mh" ] }, { "$comment": "ePaper / e-Ink panels — Velxio-native components. The Web Component is `velxio-epaper`; the panel size + palette is selected via the `panelKind` property. See docs/wiki/epaper-emulation.md.", "id": "epaper-1in54-bw", "tagName": "velxio-epaper", "name": "ePaper 1.54\" (200×200, B/W)", "category": "displays", "thumbnail": "e-Paper", "properties": [ { "name": "panelKind", "type": "string", "defaultValue": "epaper-1in54-bw", "control": "text" }, { "name": "refreshMs", "type": "number", "defaultValue": 50, "control": "number" } ], "defaultValues": { "panelKind": "epaper-1in54-bw", "refreshMs": 50 }, "pinCount": 8, "tags": [ "epaper", "e-paper", "e-ink", "display", "ssd1681", "1.54", "gxepd2", "spi" ] }, { "id": "epaper-2in13-bw", "tagName": "velxio-epaper", "name": "ePaper 2.13\" (250×122, B/W)", "category": "displays", "thumbnail": "2.13\"", "properties": [ { "name": "panelKind", "type": "string", "defaultValue": "epaper-2in13-bw", "control": "text" }, { "name": "refreshMs", "type": "number", "defaultValue": 50, "control": "number" } ], "defaultValues": { "panelKind": "epaper-2in13-bw", "refreshMs": 50 }, "pinCount": 8, "tags": [ "epaper", "e-paper", "e-ink", "display", "ssd1675", "il3897", "2.13", "gxepd2", "spi" ] }, { "id": "epaper-2in13-bwr", "tagName": "velxio-epaper", "name": "ePaper 2.13\" (250×122, B/W/Red)", "category": "displays", "thumbnail": "B/W/R", "properties": [ { "name": "panelKind", "type": "string", "defaultValue": "epaper-2in13-bwr", "control": "text" }, { "name": "refreshMs", "type": "number", "defaultValue": 80, "control": "number" } ], "defaultValues": { "panelKind": "epaper-2in13-bwr", "refreshMs": 80 }, "pinCount": 8, "tags": [ "epaper", "e-paper", "e-ink", "display", "ssd1680", "tri-color", "red", "2.13", "gxepd2", "spi" ] }, { "id": "epaper-2in9-bw", "tagName": "velxio-epaper", "name": "ePaper 2.9\" (296×128, B/W)", "category": "displays", "thumbnail": "2.9\"", "properties": [ { "name": "panelKind", "type": "string", "defaultValue": "epaper-2in9-bw", "control": "text" }, { "name": "refreshMs", "type": "number", "defaultValue": 50, "control": "number" } ], "defaultValues": { "panelKind": "epaper-2in9-bw", "refreshMs": 50 }, "pinCount": 8, "tags": [ "epaper", "e-paper", "e-ink", "display", "ssd1680", "2.9", "gxepd2", "spi" ] }, { "id": "epaper-2in9-bwr", "tagName": "velxio-epaper", "name": "ePaper 2.9\" (296×128, B/W/Red)", "category": "displays", "thumbnail": "B/W/R", "properties": [ { "name": "panelKind", "type": "string", "defaultValue": "epaper-2in9-bwr", "control": "text" }, { "name": "refreshMs", "type": "number", "defaultValue": 80, "control": "number" } ], "defaultValues": { "panelKind": "epaper-2in9-bwr", "refreshMs": 80 }, "pinCount": 8, "tags": [ "epaper", "e-paper", "e-ink", "display", "ssd1680", "tri-color", "red", "2.9", "gxepd2", "spi" ] }, { "id": "epaper-4in2-bw", "tagName": "velxio-epaper", "name": "ePaper 4.2\" (400×300, B/W)", "category": "displays", "thumbnail": "4.2\"", "properties": [ { "name": "panelKind", "type": "string", "defaultValue": "epaper-4in2-bw", "control": "text" }, { "name": "refreshMs", "type": "number", "defaultValue": 80, "control": "number" } ], "defaultValues": { "panelKind": "epaper-4in2-bw", "refreshMs": 80 }, "pinCount": 8, "tags": [ "epaper", "e-paper", "e-ink", "display", "ssd1683", "uc8176", "4.2", "gxepd2", "spi" ] }, { "id": "epaper-7in5-bw", "tagName": "velxio-epaper", "name": "ePaper 7.5\" (800×480, B/W)", "category": "displays", "thumbnail": "7.5\"", "properties": [ { "name": "panelKind", "type": "string", "defaultValue": "epaper-7in5-bw", "control": "text" }, { "name": "refreshMs", "type": "number", "defaultValue": 100, "control": "number" } ], "defaultValues": { "panelKind": "epaper-7in5-bw", "refreshMs": 100 }, "pinCount": 8, "tags": [ "epaper", "e-paper", "e-ink", "display", "uc8179", "gd7965", "7.5", "gxepd2", "spi" ] }, { "id": "epaper-5in65-7c", "tagName": "velxio-epaper", "name": "ePaper 5.65\" (600×448, ACeP 7-colour)", "category": "displays", "thumbnail": "ACeP 7", "properties": [ { "name": "panelKind", "type": "string", "defaultValue": "epaper-5in65-7c", "control": "text" }, { "name": "refreshMs", "type": "number", "defaultValue": 150, "control": "number" } ], "defaultValues": { "panelKind": "epaper-5in65-7c", "refreshMs": 150 }, "pinCount": 8, "tags": [ "epaper", "e-paper", "e-ink", "display", "uc8159c", "acep", "7-color", "5.65", "gxepd2", "spi" ] }, { "id": "bmp280", "tagName": "velxio-bmp280", "name": "BMP280 (Pressure + Temp)", "category": "sensor", "thumbnail": "BMP180", "properties": [], "defaultValues": {}, "pinCount": 4, "tags": [ "sensor", "i2c", "pressure", "temperature", "bmp280", "weather", "barometer" ] }, { "$comment": "I2C-backpack variant of LCD1602: reuses the wokwi-lcd1602 web component but renders the 4-pin I2C header (GND/VCC/SDA/SCL) instead of the parallel 16-pin header. ProtocolParts registers the matching HD44780 + PCF8574 decoder so Arduino sketches using LiquidCrystal_I2C work out of the box.", "id": "lcd1602-i2c", "tagName": "wokwi-lcd1602", "name": "LCD 16x2 (I2C)", "category": "displays", "thumbnail": "Hello WorldI2C 16x2 OKI2C", "properties": [ { "name": "i2cAddress", "type": "string", "defaultValue": "0x27", "control": "text", "description": "I2C address of the PCF8574 backpack (typical: 0x27 or 0x3F)" }, { "name": "background", "type": "string", "defaultValue": "green", "control": "select", "options": [ "green", "blue" ], "description": "LCD panel colour" }, { "name": "color", "type": "string", "defaultValue": "black", "control": "text", "description": "Pixel colour" } ], "defaultValues": { "i2cAddress": "0x27", "pins": "i2c", "background": "green", "color": "black", "backlight": true }, "pinCount": 4, "tags": [ "lcd", "i2c", "display", "hd44780", "pcf8574", "1602", "liquidcrystal" ] }, { "$comment": "I2C-backpack variant of LCD2004. Same PCF8574+HD44780 protocol, but 20x4 geometry and 2004 row offsets (0x00, 0x40, 0x14, 0x54).", "id": "lcd2004-i2c", "tagName": "wokwi-lcd2004", "name": "LCD 20x4 (I2C)", "category": "displays", "thumbnail": "LCD 20 x 4 charI2C @ 0x27line three textline four belowI2C", "properties": [ { "name": "i2cAddress", "type": "string", "defaultValue": "0x27", "control": "text", "description": "I2C address of the PCF8574 backpack" } ], "defaultValues": { "i2cAddress": "0x27", "pins": "i2c", "background": "green", "color": "black", "backlight": true }, "pinCount": 4, "tags": [ "lcd", "i2c", "display", "hd44780", "pcf8574", "2004", "liquidcrystal" ] }, { "$comment": "4-pin I2C-only SSD1306 module (GND/VCC/SCL/SDA) — the cheap 0.96\" OLED most beginners have; velxio-ssd1306-i2c native element. Counterpart to the 8-pin wokwi-ssd1306. Issue #215.", "id": "ssd1306-i2c-4pin", "tagName": "velxio-ssd1306-i2c-4pin", "name": "SSD1306 OLED (I2C, 4-pin)", "category": "displays", "pinCount": 4, "tags": [ "ssd1306", "oled", "display", "i2c", "4-pin", "0x3c" ], "thumbnail": "GND VCC SCL SDASSD1306I2C 4-pin", "properties": [ { "name": "i2cAddress", "type": "string", "defaultValue": "0x3c", "control": "text", "description": "I2C address" } ], "defaultValues": { "i2cAddress": "0x3c" } } ], "led": { "properties": { "color": { "control": "select", "options": [ "red", "green", "blue", "yellow", "orange", "white", "purple" ] } } }, "ssd1306": { "$comment": "Single SSD1306 OLED entry. One physical breakout; the sim auto-detects I2C vs SPI from the wiring (see ProtocolParts.detectSSD1306Protocol). Replaces the old ssd1306-i2c/ssd1306-spi picker shortcuts (issues #101/#215).", "name": "SSD1306 OLED", "pinCount": 8, "tags": [ "ssd1306", "oled", "display", "i2c", "spi", "0x3c" ], "properties": { "i2cAddress": { "name": "i2cAddress", "type": "string", "defaultValue": "0x3c", "control": "text", "description": "I2C address (I2C mode)" } }, "defaultValues": { "i2cAddress": "0x3c" } }, "resistor": { "name": "Resistor (custom)", "thumbnail": "\n \n \n \n \n \n \n " }, "capacitor": { "name": "Cap. ceramic (custom)", "thumbnail": "\n \n \n \n ?µF" }, "inductor": { "name": "Inductor (custom)", "thumbnail": "\n \n \n ?mH" }, "ky-040": { "name": "KY-040 Rotary Encoder", "category": "input", "description": "KY-040 incremental rotary encoder with push-button. Turning the knob outputs quadrature pulses on CLK and DT (direction = which leads); the shaft press drives an active-low SW. Reads from any board's GPIO.", "tags": [ "rotary", "encoder", "rotary encoder", "rotary-encoder", "ky-040", "ky040", "knob", "quadrature", "dial", "input" ], "thumbnail": "\n \n \n \n \n \n \n \n \n \n \n " } }