Stages

7-5Drive a RelayDrive a relay from the microcontroller to switch a 12V lamp on a separate supply

Power off
  • X1 lights when OUT1 goes H
  • Then X1 goes off when OUT1 goes L
  • Keep Q1 under its voltage rating (50 V)
  • Keep OUT1's current to 20 mA
  • Don't burn out the diode (200 mA max)
  • No short circuits
B15VK1Q1MCU OUT (5V)B212VX112V−+BCEGNDOUT−+

Press a terminal (the small ◯) to start a wire. Press where you want to bend to place corners, and finish on another terminal or on a wire. Press the middle of a wire and then somewhere else to draw a branch from there. You can drag parts and wires to move them. When you are ready, press "Run!" to turn on the power, and try the switches while it is on.

Line mode
W
Draw wire
R
Rotate
M
Move
G
Drag
Del
Delete
⌘Z
Undo
⌘⇧Z
Redo
Enter
Run
Home
Fit
H
Hint

Wheel to zoom, right-drag to pan