3D Labs
11 simulations you can run in the browser. Drag to orbit, move the sliders, and watch the hardware respond.
Basic Circuit Bench
On a breadboard, explore Ohm's law with an LED and resistor, a voltage divider with two resistors, and RC charging with a resistor and capacitor.
3DFirmware & busesPWM Duty Cycle
Change duty cycle and frequency and watch the waveform, average voltage and STM32 timer settings (PSC, ARR, CCR) together.
3DFirmware & busesUART Waveform
Type a character and see exactly what goes onto the TX line, from the start bit to the stop bit.
3DFirmware & busesI2C Bus
Put two sensors on one pair of wires and call them by address. Start condition, 7-bit address, ACK and NACK, and what happens without pull-up resistors, step by step.
3DFirmware & busesSPI
One bit per clock, with master and slave exchanging data at the same instant. Chip select, the four modes, and how a mode mismatch shifts the value you read.
3DFirmware & busesInterrupts and Priority Simulation
Watch where the CPU jumps when an interrupt arrives in the middle of the main loop, and when it comes back. Try priority and preemption, long handlers, critical sections, and the endless re-entry you get when a flag is never cleared.
3DFirmware & busesADC Sampling and Resolution Simulation
Watch a smooth analog voltage turn into a staircase of numbers as it passes through an ADC. See how coarse the steps get with fewer bits, and why slow sampling makes a signal look like a different frequency.
3DControlPID Control
Move Kp, Ki and Kd and see how overshoot, settling time and steady-state error of the step response change.
3DMotorsBLDC Six-Step Commutation
Watch six switch combinations, chosen by the Hall sensors, pull the rotor around one step at a time.
3DMotorsDC Motor and H-Bridge
Combine four MOSFETs into forward, reverse, brake and coast, and watch the current path, motor speed and back-EMF together.
3DMotorsPMSM and Field-Oriented Control
See the current vector made by three phase currents and the rotor's d and q axes in 3D, and how iq, id and encoder angle error affect torque.