LTspice tutorial material often jumps straight into complex power supplies, which can overwhelm new users. This beginner walkthrough builds a simple RC low-pass filter instead, teaching the core skills of placing parts, wiring, adding sources, writing a simulation command and reading the waveforms that come back.

What You Will Build

The circuit is a 1 kilohm resistor feeding a 1 microfarad capacitor, driven by a square wave. Its time constant is the resistance multiplied by the capacitance, which equals 1 millisecond. Watching the capacitor charge and discharge makes that number visible on screen.

PartNameValue
Voltage sourceV1PULSE(0 5 0 1u 1u 2m 4m)
ResistorR11k
CapacitorC11u
GroundReference nodeRequired

Creating a New Schematic

Open LTspice and start a new schematic from the File menu. A blank sheet with a dotted grid appears, ready for components. Save it immediately with a clear name such as rc_lowpass.asc so the program has a folder to write its results into.

The toolbar along the top holds the tools you will use most: wire, ground, resistor, capacitor, inductor, diode, the component browser and the SPICE directive tool. Keyboard shortcuts speed things up, with R, C and G placing a resistor, capacitor and ground.

Placing and Wiring Components

Place a voltage source from the component browser, then a resistor to its right and a capacitor to the right of that. Press Ctrl+R while placing to rotate a part. Click to drop each one, then press Escape to leave placement mode.

Select the wire tool and click from one pin end to the next to connect them. Join the source's top to the resistor, the resistor to the capacitor top, and both bottoms together. Add a ground symbol to that bottom wire, since every SPICE circuit needs a reference node.

Naming the output node

Use the net label tool to name the junction between the resistor and capacitor as out. Named nodes make plots easier to read and let you refer to V(out) in measurements instead of an automatically generated name.

Setting Component Values

Right-click the resistor and enter 1k, then right-click the capacitor and enter 1u. LTspice understands engineering suffixes, so k means kilo, u means micro and n means nano. Be careful with M, which means milli; use Meg for mega.

Right-click the voltage source, open the advanced settings and choose a pulse function. Enter an initial value of 0, an on value of 5, a delay of 0, rise and fall times of 1u, an on time of 2m and a period of 4m.

Adding the Simulation Command

A schematic needs a directive telling LTspice what analysis to run. Use the SPICE directive tool and place .tran 0 12m 0 1u on the sheet. This requests a transient run of 12 milliseconds with a maximum step of 1 microsecond for smooth curves.

.tran 0 12m 0 1u
.meas TRAN vmax MAX V(out)

The second line is optional. It measures the highest output voltage and writes the result to the simulation log, which is useful practice for later projects where you will measure ripple, rise time or efficiency automatically.

Running and Probing

Press the Run button. A waveform pane opens above or beside the schematic. Hover over the out wire until the cursor becomes a probe, then click to plot V(out). Click the source wire too, and both traces appear together for comparison.

  • The output rises along a curve instead of jumping, showing the capacitor charging.
  • After about one time constant the output reaches roughly 63 percent of the input.
  • With a 2 millisecond on time, the capacitor charges close to, but not fully to, 5 volts.
  • Clicking a component instead of a wire plots the current through it.

Experimenting with Values

Change the capacitor to 100n and run again: the output now follows the square wave closely. Change it to 4.7u and the output barely moves before the input switches. Those quick experiments build intuition faster than equations alone.

For systematic comparisons, replace the capacitor value with {C} and add .step param C list 100n 1u 4.7u. LTspice runs three simulations and overlays them. Once comfortable, try an error-free switching circuit or explore Python automation projects.

Reading the Plot Like an Engineer

The waveform viewer offers cursors that turn rough impressions into numbers. Click a trace label to attach a cursor, then drag it along the curve to read time and voltage. A second cursor shows the difference between two points, which is ideal for measuring rise time.

Holding Alt while clicking a component plots its power dissipation in many versions, and dragging a box over a region zooms in. Right-clicking the plot area opens options for axis scaling, grid display and adding further traces by typing expressions such as V(out)-V(n001).

Saving and Sharing Your Work

Schematics save as .asc files, while the results land in a .raw file beside them. When sharing a circuit with a classmate, send the schematic plus any custom models; the recipient simply presses Run to regenerate the waveforms on their own computer.

Common Beginner Mistakes

New users often forget the ground, type 1M expecting one megaohm or place a directive as plain text instead of a SPICE directive. Each causes confusing results, yet each is easy to spot once you know to look for it.

  • No ground symbol, which leaves the circuit without a reference.
  • Unit mistakes, especially M for milli versus Meg for mega.
  • Directives entered as comments, so the simulation command never runs.

Frequently Asked Questions

Why does my simulation say there is a floating node?

The circuit is probably missing a ground or a wire does not quite touch a pin. Add a ground symbol and redraw any doubtful connections.

What does the 1u at the end of the .tran command do?

It sets the maximum time step, forcing the solver to take small steps so curves look smooth instead of jagged.

How do I save the plot?

Plot settings can be saved from the waveform window, and the schematic itself stores the circuit. Saving both lets you reopen the same view later.

Conclusion

LTspice tutorial practice with a basic RC filter teaches every core skill: placing parts, wiring, naming nodes, setting values, writing a directive and probing results. Those same steps apply to amplifiers, regulators and filters of any complexity.

Repeat the exercise with an RL or RLC circuit, then open a demo circuit from analog.com and study how experienced designers arrange their schematics. If you have not installed the software yet, start with the download article.