logic gate -> transistor -> load works through the digital and analog (ngspice) motors together.. Run this example free in your browser — no install, no account required." /> logic gate -> transistor -> load works through the digital and analog (ngspice) motors together.. Run this example free in your browser — no install, no account required." /> logic gate -> transistor -> load works through the digital and analog (ngspice) motors together.. Run this example free in your browser — no install, no account required." />
Mixed: MCU + AND gate + transistor (coexistence test)
circuitsintermediateArduino Uno

Mixed: MCU + AND gate + transistor (coexistence test)

Coexistence of digital and analog in ONE circuit: the Arduino drives two logic levels (one steady HIGH "enable", one blinking), a physical AND gate combines them, and the AND output switches an NPN transistor that drives the "motor" LED. The LED should blink — proving MCU -> logic gate -> transistor -> load works through the digital and analog (ngspice) motors together.

What you'll simulate

  • ✓Real Arduino Uno emulation — cycle-accurate, no hardware needed
  • ✓6 interactive components on the canvas
  • ✓Serial Monitor included — see output in real time
← Back to examples