Battery, resistor and LED circuit illustration
EKO24.NET / DIGITAL LAB

Electronics Simulator

Explore interactive circuits, Arduino, sensors, motors and energy systems. Find an experiment using the directory below.

How to use the electronics lab

Search the experiment directory, choose a simulator and adjust its controls to explore the results. Use Learning Mode to practise, track your progress and try the final exam.

These educational models simplify real circuits. Do not use them as a substitute for electrical safety checks or professional engineering calculations. Progress and exam history are stored in this browser when local storage is available. Certificates are informal and not accredited.

Circuit examples

Choose a preset and explore the result. Presets use a single resistor; select a two-resistor network in the controls.

Choose an example to begin.

Build your series circuit

Drag a component into a slot, or select a component and tap a slot. All four components must be connected for current to flow.

The resistor slot represents the selected resistor network. Slot order does not affect current; LED polarity is assumed correct. The schematic below shows the equivalent circuit.

Virtual circuit

330 Ω+−5 VLEDClosedCurrent

Circuit controls

Equivalent resistance: 330 Ω

Illustrative LED forward voltage and 20 mA current limit.

Current0 mA
Network voltage0 V
Network power0 mW
LED power0 mW

Digital multimeter

DC voltage5.00 VAcross battery terminals

Virtual probes: current is measured in series. Resistance requires power off and an isolated resistor (simulated). Never measure resistance on a live real circuit.

Save & load circuits

Save your current circuit on this device, or export a JSON backup to use on another device.

No action yet.

Component experiments

Explore independent component models. These experiments do not change the main LED circuit.

VTime (s)

How it works

For this simplified LED circuit, equivalent resistance is R1 + R2 in series or R1 × R2 / (R1 + R2) in parallel. The schematic represents the equivalent network as one resistor. I = max(0, (V − Vf) / R) when powered on and the switch is closed. Vf is the selected LED forward voltage. Resistor power is I²R. Below the LED forward voltage, current is assumed to be zero. Try increasing resistance to reduce current.

Educational model only: real LEDs have nonlinear current-voltage curves and component-specific ratings. This is a fixed virtual circuit, not a general circuit solver.

Transistor & Potentiometer

Explore LED dimming and an NPN transistor used as a low-side switch.

50%330 Ω + 1 kΩ5 VNPN
LED current
Relative brightness
Control

Function generator & oscilloscope

Connect the virtual generator to the scope directly or through an ideal RC low-pass circuit. Compare input and output signals.

Time (ms)

Function generator

Period
Peak-to-peak
RMS voltage
Cycles on screen

● CH1 input   ● CH2 output

Ideal generator and steady-state RC model; 50% square-wave duty cycle. Animation is slowed for visibility. Independent of the main DC LED circuit; generator settings are not saved.

Logic Gates Simulator

Explore digital logic with binary inputs and an interactive truth table.

00AND0
Output Y0
ExpressionA · B

ABY

Ideal binary logic (0 and 1). Independent of the analog circuit; logic settings are not saved.

Digital counter & D flip-flop

Explore rising-edge clock pulses, a 4-bit counter and a D-type flip-flop.

CLKQ = 0
Decimal0
Binary0000
Q / Q̅0 / 1
ClockLOW

Seven-segment display & binary decoder

Binary: 0000 · Decimal: 0 · Display: 0

BCD decoder: inputs 0000–1001 display 0–9. Inputs 1010–1111 are invalid BCD and blank the display.

On each rising edge, the counter increments modulo 16 and Q captures D. Falling edges do not change either value.

Ideal digital model, independent of other experiments. Clock timing is approximate in the browser; settings are not saved.

Traffic Light Simulator

Explore a timed digital state machine with three sequential outputs.

SignalRED
Remaining5.0 s

Sequence: Red → Green → Amber → Red.

Educational single-signal timer, not a real road controller. Changing a duration restarts the current phase. Settings are not saved.

555 Timer Simulator — Astable mode

Explore a free-running NE555 oscillator using two resistors and a capacitor.

OUTVC
Frequency
Duty cycle
HIGH time
LOW time

Ideal 5 V supply. Capacitor cycles between 1/3 and 2/3 of supply voltage. Blue: output; purple: capacitor voltage. The graph shows three calculated periods, not real-time hardware measurements. Settings are not saved.

PWM Simulator — LED & DC motor

Adjust pulse width to control the average voltage delivered to a virtual load.

LED brightness (ideal)
Average voltage
RMS voltage
HIGH time
LOW time

Ideal unipolar PWM. LED brightness and motor speed are illustrative estimates, not hardware predictions. Motor animation is slowed for visibility. Real loads require suitable drivers and protection. Settings are not saved.

Solar Panel & Battery Charging

Explore how sunlight and panel power affect charging a virtual 12 V battery.

Panel output
Charging current
Time to full
Simulated time

Educational constant-voltage model: 12 V battery, no load, fixed sunlight and efficiency. One real second represents one simulated minute. Real batteries require a compatible charge controller and chemistry-specific protection. Settings are not saved.

Transformer & AC/DC Rectifier

Explore an ideal low-voltage transformer, full-wave diode bridge and smoothing capacitor.

Blue: secondary AC · Purple: rectified output

Secondary RMS
Mean DC
Ripple (peak-to-peak)
Ripple frequency

Ideal transformer and bridge with two fixed 0.7 V diode drops. Capacitor discharges through the resistive load between peaks. Zero capacitance disables smoothing. Steady-state approximation; no transformer losses or diode current limits. Virtual low-voltage experiment only. Settings are not saved.

Voltage regulator simulator

Explore linear regulation, dropout and heat dissipation with 7805 and LM317.

7805GND
Output voltage
Power loss
Efficiency
Estimated junction temperature

Educational approximation: 7805 target 5 V; LM317 target 1.25 × (1 + R2/240 Ω), ignoring adjust current. Fixed dropout of 2 V (7805) or 3 V (LM317). Constant requested load, no quiescent current, current limiting or thermal shutdown. Temperature assumes 25 °C ambient; not a hardware design or safety guarantee. Settings are not saved.

DC-DC Buck & Boost Converter

Explore ideal continuous-conduction switching conversion with an assumed efficiency.

PWM — 3 periods
Output voltage
Input power
Output power
Power loss
Input current
Efficiency

Ideal CCM voltage ratios: Buck = Vin × D; Boost = Vin / (1 − D). Efficiency is an input assumption used for power balance, not a predicted device characteristic. No ripple, current limits, startup or component ratings modeled. At zero load the CCM assumption may not hold. Settings are not saved.

Relay & Automatic Light Sensor (LDR)

Explore a light-dependent resistor, comparator and ideal relay controlling a low-voltage lamp.

LDRComparator+ driverRelay contact12 V lamp
LDR resistance
Sensor voltage
Relay
Lamp

Illustrative LDR model: 100 kΩ in darkness to 1 kΩ in bright light, with a 10 kΩ pull-down and 5 V sensor supply. The ideal comparator switches at the selected light threshold. No relay coil dynamics or hysteresis modeled. Low-voltage educational model only; settings are not saved.

Temperature Sensor & Automatic Fan

NTCController
NTC resistance
Sensor voltage
Fan status

Ideal 10 kΩ NTC at 25 °C, beta 3950 K, 5 V divider with 10 kΩ pull-up. Separate ON/OFF thresholds prevent rapid switching. Fan animation is illustrative; no thermal feedback or motor dynamics. Settings are not saved.

Ultrasonic distance & parking sensor

Explore an ideal HC-SR04 echo measurement and distance-dependent parking alarm.

100 cm
Echo time
Parking status
Alarm interval

Sound is off.

Ideal speed of sound: 343 m/s at about 20 °C. Distance is simulated, not measured by your device. Alarm thresholds are illustrative. Settings are not saved.

PIR Motion Sensor & Security Alarm

Simulate motion in a passive infrared sensor detection zone.

Alarm
System
Sensor output
Alarm remaining
Detections

Educational threshold model only. No physical sensor or camera is accessed. Sensitivity is illustrative; settings are not saved.

Servo motor & automatic parking barrier

Explore a virtual distance-controlled barrier and servo pulse width.

Servo angle
Pulse width (50 Hz)
Barrier status

Ideal servo model: 1–2 ms pulses represent 0–180°. Barrier travel is limited to 90°. Simulated distance only; not a real safety controller. Settings are not saved.

Stepper motor simulator

Explore an ideal 200-step motor (1.8° per full step) and four-phase drive sequence.

ABCD
Position
Angle
Target speed
Remaining steps

Ideal full-step model with illustrative one-phase drive. No torque, acceleration, missed steps or electrical dynamics. Settings are not saved.

Operational Amplifier Simulator

Explore ideal closed-loop voltage gain and output clipping with symmetric supply rails.

−+R1RfVinGNDVout
Voltage gain
Output peak
Status

Gray: input • Blue: output (two periods, shared voltage scale)

Ideal educational model: output limited to supply rails; real op-amps have additional headroom, bandwidth and slew-rate limits.

Voltage Comparator & Schmitt Trigger

Compare an input voltage against a reference. Hysteresis uses separate rising and falling thresholds to prevent rapid switching near the reference.

VinVref+−Vout
Rising threshold
Falling threshold
Output
5V0VRising inputFalling input

Gray: input sweep and thresholds. Blue: ideal digital output. The graph shows a full rising/falling sweep; the slider controls the live output independently.

Ideal non-inverting model, 0 V / 5 V output. In Schmitt mode, the previous output is retained between thresholds.

ADC & DAC Simulator

Explore ideal analog-to-digital conversion and digital-to-analog reconstruction using uniformly spaced endpoint levels.

0 V

Gray: analog input. Blue: quantized output.

Decimal code
Binary code
Step size
DAC output
Quantization error

Model: code = round(Vin / Vref × (2^N − 1)); DAC output = code × Vref / (2^N − 1). Real converters may use different transfer conventions. No noise or timing effects are modeled.

Digital Logic Circuit Builder

Connect up to eight gates using three binary inputs and outputs from earlier gates. Explore combinational circuits and their truth tables.

Output0

Truth table

Ideal binary logic, no propagation delay. Connections are restricted to earlier gates to prevent feedback loops.

Virtual Arduino UNO

Explore digital I/O, analog readings and PWM with an educational Arduino board.

ATmega328PUNO • EKO24LED
Digital / PWM:
Analog reading:
Average output:

Example Arduino commands

PWM is supported on pins 3, 5, 6, 9, 10 and 11. The virtual LED follows the selected output pin; the physical UNO onboard LED is on pin 13. This is a conceptual simulator, not an Arduino compiler.

Arduino LCD 16×2 Display

Explore a virtual HD44780 character display and generate Arduino LiquidCrystal commands.

Educational 16×2 character model. Text is limited to printable ASCII; printing stops at the end of the selected row. Backlight is simulated independently of the display.

OLED Display 128×64 Simulator

Draw monochrome graphics on a virtual SSD1306 display.

Tap the display to draw individual pixels. Arduino example uses Adafruit SSD1306 and I2C address 0x3C.

DHT22 Temperature & Humidity Sensor

Simulate Arduino environmental readings using a DHT22 sensor.

Temperature
Relative humidity

Fahrenheit
Humidity status

Arduino example

#include <DHT.h>
DHT dht(2, DHT22);
void setup() {
  Serial.begin(9600);
  dht.begin();
}
void loop() {
  float t = dht.readTemperature();
  float h = dht.readHumidity();
  if (!isnan(t) && !isnan(h)) {
    Serial.println(t);
    Serial.println(h);
  }
  delay(2000);
}

Educational simulation. Actual DHT22 readings require hardware and the DHT library. Values are not saved.

Arduino Weather Station

Explore a virtual DHT22 and BMP280 weather station. All readings are simulated.

Temperature
Humidity
Pressure
Dew point

Fahrenheit
Estimated altitude (standard atmosphere)

Temperature history (last 30 samples)

80°C20°C-40°C

Arduino example (DHT22 + BMP280)

#include <DHT.h>
#include <Adafruit_BMP280.h>
DHT dht(2, DHT22);
Adafruit_BMP280 bmp;
void setup() {
  Serial.begin(9600);
  dht.begin();
  if (!bmp.begin(0x76)) while (true) { delay(1000); }
}
void loop() {
  float t = dht.readTemperature();
  float h = dht.readHumidity();
  if (!isnan(t) && !isnan(h)) {
    Serial.println(t);
    Serial.println(h);
    Serial.println(bmp.readPressure() / 100.0);
  }
  delay(2000);
}

Dew point uses the approximate Magnus formula; altitude assumes sea-level pressure of 1013.25 hPa. Not a real weather forecast. Samples are not saved after reload.

Arduino Smart Home Simulator

Explore automatic lighting, ventilation, door control and motion security using virtual sensors.

EKO24 SMART HOME
Light
Fan
Door
Security

Automatic rules: light below 30%, fan at 30°C or above, door opens for authorized arrival. Armed security signals motion without authorized arrival. Educational simulation only; no physical devices connected.

Smart Irrigation System

Simulate soil moisture, automatic watering and tank protection.

Pump
Water used 0.00 L

Educational model: 10 L tank, 0.1 L per simulated second, moisture rises by 2 percentage points per second. Automatic stop at threshold + 10 points. Empty tank protection works in both modes.

Solar Tracker Simulator

Explore a single-axis solar tracker using two LDR sensors and a servo motor.

Servo angle
Left LDR
Right LDR
Estimated power
Status

Educational model: 100 W rated panel, ideal cosine response, simulated LDR readings and 3° tracking deadband.

Wind Turbine Simulator

Explore wind speed, rotor size and electrical energy generation.

GEN
Rotor speed
Electrical power
Energy generated
Status

Educational model: air density 1.225 kg/m³, power coefficient 0.35, tip speed ratio 5, cut-in 3 m/s, cut-out 25 m/s, rated wind 12 m/s. Rotor animation slowed for visibility.

Hybrid Solar & Wind Energy System

Balance renewable generation, battery storage and electrical demand.

SOLARWINDBATTERYLOAD
Solar power
—
Wind power
—
Power balance
—
Battery charge
—
Unserved load
—
Surplus curtailed
—
Simulated time
—
Status
—

Educational model: 400 W solar array, 500 W rated wind generator, ideal battery, 1 real second = 1 simulated minute. Battery starts at 50%.

Smart Grid & Energy Management

Balance renewable generation, battery storage and grid imports or exports.

RenewablesControllerGrid / LoadBattery
Generation—
Battery charge—
Grid import—
Grid export—
Unserved load—
Curtailed power—
Net cost—
Imported / exported—
Simulated time—

Ideal 1 kWh battery, renewable-first dispatch, 1 second = 1 simulated minute. Example tariffs only; not actual utility rates.

Electric Vehicle Charging Station

Explore battery charging, energy use and charging cost.

EV20%
Battery charge—
Grid power—
Remaining time—
Grid energy used—
Battery energy added—
Charging cost—
Estimated remaining cost—
Simulated time—

Constant-power educational model with adjustable efficiency; 1 real second = 1 simulated minute. Tariffs are examples, not actual prices. Capacity and initial charge are locked after starting until Reset.

Battery Management System (BMS)

Explore a four-cell series lithium-ion pack, voltage imbalance and simulated protection.

Pack voltage
Cell imbalance
Charge permission
Discharge permission
Status

Educational model: illustrative 3.0–4.2 V cell limits; charge temperature 0–45 °C, discharge −10–60 °C. Balancing lowers higher cells toward the lowest cell in 10 mV steps. Not a real battery controller or wiring guide.

DC to AC Inverter Simulator

Explore an ideal full-bridge inverter with an adjustable voltage conversion stage and resistive AC load.

DC SOURCE24 VINVERTERAC LOAD
0 ms40 ms
AC RMS voltage
Peak voltage
AC output power
DC input current
Conversion loss

Ideal educational model: peak voltage = DC voltage × conversion ratio. Modified square has a 50% nonzero duty cycle. Resistive load only; no switching losses beyond the selected efficiency, no current limits or hardware safety design.

UPS – Uninterruptible Power Supply

Simulate mains failure, automatic battery backup and recovery.

MAINSBATTERYUPSLOAD
Power source
Battery charge
Backup runtime
Load supplied
Simulated time

Educational 1000 W UPS. One real second equals one simulated minute. Battery charging power is net stored power. Overload disconnects output; no switching delay is modeled.

DC Motor & H-Bridge Simulator

Explore an ideal low-voltage motor driver. Forward and reverse use opposite switch pairs; brake shorts the motor terminals, while coast opens all switches.

Q1Q2Q3Q4+VGND
Average voltage
Estimated speed
Switch pair
Status

Illustrative no-load model: 3000 RPM at 12 V, with simplified acceleration and braking. PWM switch indicators represent the active drive pair, not individual high-frequency pulses. Not a hardware wiring guide.