A Zener diode is a specialized diode designed to conduct safely in reverse once its rated Zener voltage is reached, deliberately clamping the voltage across it — the basis of simple shunt voltage regulators. In Open Maker Studio, it does not have Blockly code blocks — it interacts directly with the real-time SPICE analog simulator.
1. Schematic Symbol
Standard Zener symbol — a diode triangle with a bent (Z-shaped) cathode bar:
2. Real Part Family & Characteristics
OMS's Zener Diode is calibrated against the real 1N4728A–1N4744A 1W Zener family (Vishay datasheet), with 6 selectable real voltages: 3.3V (1N4728A), 5.1V (1N4733A), 6.2V (1N4735A), 9.1V (1N4739A), 12V (1N4742A), and 15V (1N4744A). Forward operation behaves like a normal diode; once reverse-biased past its rated Zener voltage, it clamps the voltage across it instead of breaking down destructively — this is the whole point of the part.
3. Core Calculations & Math
- Max Safe Current: given the package's power rating and the selected Zener voltage:
$I_{max} = \frac{P_{rating}}{V_z}$
This is the exact formula OMS uses for its real-time overcurrent fault threshold (see Section 6) — as $V_z$ increases, the safe current drops for the same power rating.
4. Component Properties (Property Inspector)
When you select a Zener Diode on the canvas, you can modify the following parameters in the Property Inspector panel:
- Zener Voltage (
zenerVoltage): Selects the real regulation voltage.- Default:
5.1V - Options:
3.3V,5.1V,6.2V,9.1V,12V,15V
- Default:
- Power Rating (
powerRating): Sets the package's power dissipation rating, used to compute the max safe current above.- Default:
0.5W - Options:
0.25W,0.5W,1W
- Default:
5. Programming Notes
Zener diodes are purely passive analog components and have no associated Blockly blocks. A Zener regulator only influences the electrical behavior of connected components — for example, a Zener-clamped reference rail determines the voltage a board_analog_read block reads downstream.
6. Simulator Behavior
- Real-time Current Readout & Regulation Label: While a simulation is running, OMS shows the
current through the Zener and labels its state
CLAMPINGwhenever it's actively regulating (reverse voltage above ~90% of , drawing meaningful current) — the body also glows while clamping cleanly. - Overstress Fault: exceeding both 130% of the rated Zener voltage AND meaningful current
(not just one or the other) triggers a real
OVERCURRENTfault, using the formula from Section 3 as its threshold — recoloring the diode and showing a warning, with a message suggesting a series current-limiting resistor.

