Resistors are fundamental passive electrical components that introduce a specified electrical resistance into a circuit. In Open Maker Studio, they are used to limit current, divide voltages, establish stable logic levels (pull-up/pull-down), and protect sensitive components such as LEDs and microcontrollers.
1. Schematic Symbol & Pin Layout
Standard IEC / US style schematic symbol for a fixed resistor, matching the component's real two-pin layout (A / B in the Property Inspector and SPICE netlist):
| Pin | Identifier | Description | SPICE Node |
|---|---|---|---|
| Pin 1 | A | Terminal contact A (non-polarized) | Node 1 |
| Pin 2 | B | Terminal contact B (non-polarized) | Node 2 |
2. Hardware Specifications & Power Dissipation
| Parameter | Value / Description |
|---|---|
| Resistance Units | Ohms (), Kilohms (), Megohms () |
| Standard Tolerances | (Carbon Film, Gold band) · (Metal Film, Brown band) |
| Default Power Rating | ¼ W () |
Power Ratings in OMS
| Rating | Typical Application |
|---|---|
| ⅛ W () | Low-power signal conditioning, pull-up/pull-down lines |
| ¼ W () | Standard default for logic circuits, status indicators, and current limiting |
| ½ W () | Higher-current signal paths, small transistor bias networks |
| 1 W / 2 W | Power supply rails, driver stages, and high-load bleeder circuits |
[!CAUTION] Over-Wattage Burnout Warning: If calculated power dissipation () exceeds the component's configured power rating in the simulation, a burnout visual effect triggers on the circuit canvas, accompanied by a diagnostic warning in the console.
3. Resistor Color Code Guide
Resistor values are marked using international standard color bands. Read bands starting from the edge with the tightest band spacing (furthest away from the tolerance band).
| Color | Value (Digit) | Multiplier | Tolerance |
|---|---|---|---|
| Black | 0 | — | |
| Brown | 1 | (F) | |
| Red | 2 | (G) | |
| Orange | 3 | — | |
| Yellow | 4 | — | |
| Green | 5 | (D) | |
| Blue | 6 | (C) | |
| Violet | 7 | (B) | |
| Grey | 8 | — | |
| White | 9 | — | — |
| Gold | — | (J) | |
| Silver | — | (K) |
Decoding 4-Band vs. 5-Band Resistors
4-Band Resistors (Standard )
- Band 1: First significant digit
- Band 2: Second significant digit
- Band 3: Multiplier ()
- Band 4: Tolerance (typically Gold = )
Example: Yellow (4) · Violet (7) · Red () · Gold ()
5-Band Resistors (Precision )
- Band 1: First significant digit
- Band 2: Second significant digit
- Band 3: Third significant digit
- Band 4: Multiplier ()
- Band 5: Tolerance (typically Brown = )
Example: Yellow (4) · Violet (7) · Black (0) · Orange () · Brown ()
4. Core Calculations & Math
- Ohm's Law:
(where is voltage drop in volts, is current in amperes, and is resistance in ohms). - Power Dissipated:
(measured in Watts). - Series Resistance:
- Parallel Resistance:
(For exactly two parallel resistors: ) - LED Current-Limiting Calculation:
To protect an LED from burning out, a series resistor must limit the forward current (). The formula is:
Where:- is the microcontroller's logic voltage (e.g. 5V for Uno, 3.3V for ESP32/Pico).
- is the LED's forward voltage drop (e.g. 2V for a red LED).
- is the target forward current (e.g. 20mA = 0.02A).
- Calculation: Ω.
5. Property Inspector (In-App Parameters)
Selecting a resistor on the OMS canvas allows configuring parameters directly in the Property Inspector panel:
| Property | Key | Default | Options / Range |
|---|---|---|---|
| Resistance | resistance | 1000 | to () |
| Power Rating | powerRating | 0.25 W | 0.125 W (⅛W), 0.25 W (¼W), 0.5 W (½W), 1 W, 2 W |
| Temperature Drift | tempco | Ideal (no drift) | Ideal, Metal Film (), Carbon Film () |
6. Programming & Microcontroller Integration
[!NOTE] Resistors are passive analog components and do not have standalone Blockly code blocks. They interact with code indirectly through microcontroller pins:
- Voltage Dividers: Used with sensors (e.g., LDRs, thermistors) to scale analog signals into acceptable ADC voltage ranges ( or ), read via
board_analog_read.- Pull-Up & Pull-Down Networks: Connected to buttons or digital sensors to prevent floating logic states, sampled using
board_digital_read.
7. Simulator Behavior & Diagnostics
During real-time simulation on the canvas:
- Interactive Probing: Hovering your cursor over the resistor body or terminal connections displays real-time live telemetry:
- : Instantaneous potential difference across terminals and .
- : Current passing through the component (in or ).
- : Real-time wattage dissipation ().
- Fault Detection: If dissipated wattage exceeds the configured
powerRating, a visual burn-out effect appears on the canvas and an over-wattage warning is logged in the debug console.

