Source: https://mokxi.com/parts/vsource
Updated: 2026-11-16

Part

# DC voltage source

A DC voltage source: V+ held the set voltage above V-, floating.

See every part

- 2 pins
- 1 setting
- In 2 projects

Drawn live by the editor's own code, at the size you see it.

At a glance

## The DC voltage source in brief

What it is, and every setting the properties panel gives it.

The DC voltage source is the textbook symbol, a circle with a plus and a minus and the voltage written beside it. It has two pins, V+ and V-, and it floats: V+ is held the set voltage above V- wherever V- is wired, which is what separates it from the vcc power flag, a rail with ground implied. That makes it the part for circuit theory exercises and for split supplies: two sources in series with ground between them give plus and minus the same voltage. The voltage property runs from -1000 to 1000 volts, 5 by default. Mokxi holds 9 volts into a 1 k and 2 k divider at 6 volts across the 2 k, as the exercise says. An ideal source would make two sources in parallel, or a wire across one, impossible to solve, so the model puts 1 milliohm behind it and those circuits show a very large current instead. The usual mistake is expecting V- to be ground without a wire to it. There is no current limit; the bench supply has one.

Family

Power and wiring

Pins

2

voltage

5

Pins

## 2 pins

Named as the editor names them, so a wire lands where you expect it.

Pin

What it does

V+

Held voltage above V-.

V-

The other terminal. Nothing connects it to ground but a wire.

How to use it

## How to use a DC voltage source in a circuit

Wire V+ to the top of the circuit and V- to a ground symbol, then set the voltage property. Leave out the ground wire and the source floats, holding its difference but nowhere in particular. A source has no current limit either, so a wire across it shows a very large current rather than a warning; for a limit, use the bench power supply.

For a split supply, put two sources in series with ground where they meet: the project here stacks two 12 V sources for +12 V and -12 V rails, then a 7805 and a 7905 turn them into +5 V and -5 V, each with a 470 ohm load on it.

Part pin

Board pin

Top source V+

+12 V rail

Top source V-

Ground

Bottom source V+

Ground

Bottom source V-

-12 V rail

Click to open it in the editor

This is the simulator itself, running here. Click anything to open it in the editor.

Open this project in the editor Read the full tutorial

How it is modeled

## What is true about the DC voltage source, here

In its help article’s own words: what the simulation gets right, and where it stops.

### Modeled

It holds its voltage. 9 V into a 1 k and 2 k divider puts 6 V across the 2 k,
as the exercise says.

### Not modeled

An ideal source would make some circuits impossible to solve: two of them in
parallel at different voltages, or one with a wire across it. So the source is its
voltage behind 1 milliohm, which no exercise's numbers notice, and those circuits
become a very large current instead. There is no current limit: for one, use the
bench power supply.

From DC voltage source, in full.

Projects

## See the DC voltage source in a project

2 built-in projects use it. Each opens in the editor, already wired.

Boards

## The boards it is shown on

This board has a built-in project with the DC voltage source in it.

- Arduino Uno R3

More parts

## The rest of the bench

Every one of these is drawn and simulated the same way.

Full-size breadboard

A real 0.1 inch grid with the rails and the center channel, 63 columns wide.

Jumper wires

Drag from any pin or hole to any other. Corners snap, and you can drag them.

Power

A supply rail at the voltage you choose.

Ground

The other end of every circuit.

LED

Lights when current flows. Five colors, and the brightness is what your eye would see.

Filament lamp

A tungsten bulb in a holder: an inrush when it is switched on cold, tens of milliseconds to warm up, and dim on half its voltage.

Resistor

Any value you like, with the color bands drawn to match.

ESP32-C3-DevKitM-1

A RISC-V board that runs your firmware at 160 MHz on the real memory map.

Pushbutton

A 12 mm tactile switch. Hold it while the simulation runs.

Raspberry Pi Pico

The RP2040 board on our own Cortex-M0+ core. Pick a program and press Run.

Raspberry Pi Pico W

Raspberry Pi Pico W (RP2040). The same board and the same pinout as a Pico, with the CYW43439 on it. The WiFi is simulated (no radio; real internet through the Cloud panel’s switch), and the on-board LED, which hangs off that chip rather than off GP25, is driven through the same path. Everything else is the Pico.

Raspberry Pi 4 Model B

Raspberry Pi 4 Model B: the 40-pin header, driven by main.py with RPi.GPIO or gpiozero.

See every part

## Wire up the DC voltage source

Open the editor and push it into the breadboard. It is free, and it runs on your own machine.

Start building free Open the editor
