You are currently viewing Oscilloscope Library for Proteus: Free 4+8 Channel Scope
Oscilloscope Library for Proteus

Oscilloscope Library for Proteus: Free 4+8 Channel Scope

This free oscilloscope library for Proteus puts a 4-channel oscilloscope and an 8-channel logic analyzer in one window. Place the part TREE OSCILLOSCOPE, connect your signals and run: the scope measures frequency, duty cycle, Vpp, RMS and rise time for you, has time and voltage cursors, and saves what you see as a PNG picture or a CSV file you can open in Excel.

A Timing window cuts the logic channels into bits, like a textbook timing diagram: every bit gets its 0 or 1, and each frame its value in hex and ASCII. So you see the bits of a UART byte or a shift register without counting divisions.

In short

With the oscilloscope library for Proteus installed, place TREE OSCILLOSCOPE, connect the analog signals to A, B, C, D and the digital ones to L0 to L7, and press Play. The scope window opens on its own. No ground pin is needed: every analog input has 1 MΩ to ground inside, like a real scope probe.

Oscilloscope library for Proteus with analog channels and logical channels.
Figure: The TREE OSCILLOSCOPE - Proteus ISIS Graphical Model.

Why Another Oscilloscope in Proteus?

Proteus has its own oscilloscope and logic analyzer under Virtual Instruments. They work, but they are two separate instruments, and you read every value by counting divisions. This oscilloscope library for Proteus adds what you use on a real digital scope every day:

  • Analog and logic in one window, on the same time scale: the PWM pin of your Arduino and the filtered voltage after it, together.
  • Automatic measurements for every channel.
  • Cursors for the time between two events or the voltage at one point.
  • Single shot, to catch one event and stop.
  • Bit timing of the logic channels, and export to PNG and CSV.

Oscilloscope Library for Proteus: Features

FeatureTREE OSCILLOSCOPE
Analog channels4 (A, B, C, D), 1 MΩ input, DC / AC / GND coupling, 1 mV/div to 50 V/div
Logic channels8 (L0 to L7), with the exact edge times of the Proteus digital simulator
Timebase10 ns/div to 5 s/div, a screen of 10 x 8 divisions
TriggerSource A to D or L0 to L7, rising / falling / both edges, level in volts, trigger position 10, 25, 50, 75 or 90 % of the screen
ModesAuto (runs freely without a trigger), Normal (waits for a trigger), Single (one capture, then stop)
Measurements (analog)Frequency, period, duty, +width, Vmax, Vmin, Vpp, mean, RMS, rise time, fall time
Measurements (logic)Frequency, period, duty, +width, -width
CursorsTime, voltage, or both, with the difference shown
ZoomStop the scope, then mouse wheel = zoom and drag = pan. The logic lanes can zoom on their own
Logic windowDetach moves the logic lanes to their own window, with their own time scale, cursors and frequency / duty per lane
Timing windowBit view: the logic lanes as a timing diagram cut into bits, values in hex and ASCII, a bus row for parallel data, bit time found by itself or typed (104u, 9600bd …) or taken from a clock lane. Pulse list: every pulse of one lane and its length
ExportCopy screen, Save PNG, Save CSV (what is on the screen, time from the trigger)
Fine SPICE stepsAt least 500 simulation points per screen, so fast edges are not drawn as slopes
RemembersAll settings are kept per scope part between runs

Oscilloscope in Proteus: Pins

PinTypeConnect to
A, B, C, DanalogAny node in the circuit. An input that is not connected reads 0 V
L0 to L7logicDigital pins: microcontroller outputs, UART, SPI and I2C lines, PWM. Lanes without a signal are hidden

You do not need to wire a ground: the model measures every input against the Proteus ground.

How to Use the Oscilloscope in Proteus

Control panel of the oscilloscope in Proteus: time base, trigger, channels and cursors
Figure: The control panel of the TREE OSCILLOSCOPE.

Never used an oscilloscope before? This section starts from zero. An oscilloscope draws a voltage as a line: time runs from left to right and voltage goes up and down. A multimeter gives you one number; the scope shows you how the voltage changes, so you see a PWM pulse, a ripple or a UART byte as a shape.

The screen in one minute

The screen is a grid of 10 squares across and 8 squares high. One square is called a division. Two settings decide what one division is worth:

  • Time/div: how much time one square across stands for. At 1 ms/div the whole screen shows 10 ms.
  • V/div: how many volts one square up stands for. At 1 V/div a 5 V signal is 5 squares tall.

Around the grid you find:

  • The header at the top, with the status of the scope (see the table below).
  • The channel markers on the left edge, one per channel in its colour. A marker shows where 0 V of that channel is.
  • The trigger marker on the right edge: the trigger level (step 5).
  • The measurement table under the grid (step 6).
  • The control panel on the right side of the window, with every setting.
Status in the headerWhat it means
TRIG’D (green)The scope found the trigger: the picture stands still. This is what you want
AUTO (yellow)No trigger found, the scope draws anyway. The picture may run or jump: set the trigger (step 5)
WAIT (yellow)Normal mode: the scope waits for the trigger and keeps the last picture
SINGLE – WAIT (yellow)You pressed Single: the scope waits for one trigger, then stops
STOP (red)The capture is frozen. Press Run to go on
SIM PAUSED (red)The Proteus simulation is paused or stopped

Step 1: Place and connect the scope

  1. Press P in Proteus, type TREE OSCILLOSCOPE and place it on the sheet.
  2. Wire the signal you want to see to input A. Use B, C and D for more analog signals at the same time.
  3. Wire digital signals (UART, SPI, I2C, PWM from a microcontroller pin) to L0 to L7.
  4. No ground wire is needed: every input is measured against the Proteus ground.
  5. Press Play. The scope window opens on its own. If you close it, open it again from the Debug menu while the simulation runs.

Step 2: Turn on the channels you need

In the panel, the rows A, B, C, D each have a tick box, a V/div list and a Coupling list. A and B are on at the start. Tick a channel to show it, untick it to hide it. Tick Logic L0 – L7 for the eight logic inputs; they appear as lanes under the grid.

Step 3: Set the time/div

Pick the Time/div in the panel, or turn the mouse wheel over the screen while the scope runs. A good start is to show 2 to 5 periods of the signal. Work it out like this: period = 1 / frequency, then choose a time/div near period / 3.

SignalPeriodTry this time/div
50 Hz mains (transformer, rectifier)20 ms5 ms
Arduino PWM on pin 9 (490 Hz)2 ms500 µs
1 kHz square wave1 ms200 µs
One UART byte at 9600 baudabout 1 ms per byte200 µs
100 kHz switching regulator10 µs2 µs

The picture is a line squeezed into a block? Choose a smaller time/div. Only part of one period on the screen? Choose a larger one. If edges look like slopes or steps at a fast time/div, tick Fine SPICE steps: Proteus then takes at least 500 points per screen (the simulation gets slower).

Step 4: Set the V/div and the position

Choose the V/div in the row of the channel, or turn the mouse wheel over its marker on the left edge. Aim for a signal 4 to 6 divisions tall: divide the voltage of the signal by 5. For a 0 to 5 V signal that is 1 V/div, for 0 to 3.3 V it is 0.5 V/div, for 12 V it is 2 V/div.

The marker on the left edge is 0 V of that channel, and it starts in the middle of the screen. A signal that is only positive (most digital and PWM signals) then has 4 divisions of room. Drag the marker down to give it more room, or drag two channels apart so their lines do not lie on top of each other.

The Coupling list of the channel decides what part of the signal you see:

CouplingUse it for
DCThe real voltage, including the DC part. The default
ACOnly the change around the average: a small ripple on top of a large DC voltage
GNDA flat line at 0 V, to find where zero is on the screen

Step 5: Set the trigger so the picture stands still

The scope draws the screen again and again. Without a trigger every new picture starts at a random point of the signal, so the line runs or jumps. The trigger makes every picture start at the same point, for example where the signal goes up through 2.5 V. Then the picture stands still.

  1. Trig source: the channel with your signal (A to D, or a logic lane L0 to L7).
  2. Trig edge: Rising (the signal goes up), Falling (goes down) or Both.
  3. Trig level (V): a voltage the signal really crosses. Halfway between its low and high value is safe: 2.5 V for a 0 to 5 V signal, 1.65 V for 3.3 V. You can also drag the trigger marker on the right edge. The start value is 1 V. Logic lanes need no level.
  4. Trig mode: Auto draws even when no trigger comes, so you always see something. Use it first, and for a steady DC voltage. Normal only draws when a trigger comes, and keeps the last picture in between. Use it for signals that come now and then, like a byte every 100 ms.
  5. Trig position: where the trigger point sits on the screen, from 10 % to 90 % from the left. At 10 % you see mostly what happens after the trigger, at 90 % mostly what led up to it.

When the header shows TRIG’D in green, the trigger is right.

Step 6: Read the measurements

The table under the grid measures the signal for you, so you do not need to count divisions. Measure in the panel chooses what is in the table: all analog channels, or one channel or logic lane. — means the value cannot be measured yet: for frequency and duty at least one whole period must be on the screen, so choose a larger time/div.

ValueWhat it is
FreqFrequency: how many times a second the signal repeats
PeriodThe time of one repeat (1 / Freq)
DutyThe part of the period the signal is high, in %. The number that analogWrite() changes
+Width / -WidthHow long one high / low pulse lasts
Vmax / VminThe highest and the lowest voltage on the screen
VppPeak to peak: Vmax minus Vmin, the height of the signal
MeanThe average voltage. For PWM this is what an RC filter or a motor “sees”
RMSThe effective voltage, the one that heats a resistor (230 V mains is an RMS value)
Rise / FallHow long an edge takes to go from 10 % to 90 % (or back)

Step 7: Measure by hand with the cursors

For anything the table does not show, like the time between two different signals, use the cursors.

  • Cursors: Time gives two upright lines, t1 and t2. Drag them with the mouse. The screen shows the time between them (dt) and 1/dt, which is the frequency when the two lines are one period apart.
  • Cursors: Voltage gives two flat lines, v1 and v2, on the channel chosen in Cursor chan. The screen shows both voltages and the difference dv.
  • Time + Voltage shows both. You can also right-click on the screen and choose to put cursor 1 or 2 where you clicked.

Step 8: Stop, Single and zoom

  • Run / Stop freezes the picture or lets it run again. The button shows what it will do: it says Stop while the scope runs.
  • Single waits for the next trigger, catches one picture and stops. Use it for something that happens once, like a reset pulse or one byte.
  • When the scope is stopped, the mouse wheel zooms into the picture and dragging moves it left and right. Reset zoom goes back to the full picture.

Step 9: Logic channels

Tick Logic L0 – L7. Each lane gets its own colour: high is a filled band, low is a line at the bottom, unknown (not driven) is a dotted line in the middle. The lanes use the same time scale as the analog channels, so you can see a pin change and the voltage it causes together.

  • Lanes with a signal hides unused lanes; All 8 lanes shows them all.
  • Detach moves the lanes into their own window.
  • Pulse width writes the length of each high and/or low pulse on the lanes.
  • Timing… opens a window that cuts the lanes into bits and shows the value of each byte. Example 2 below shows how to use it.

Handy extras

  • Right-click on the screen for a menu with almost every setting, so you can make the window small and still use the scope.
  • Hide >> hides the panel and leaves a one-row toolbar with Run, Single, time/div and the trigger. << Panel brings it back.
  • Every control shows a tip when you hold the mouse over it.
  • The scope remembers its settings for each part, also after you close Proteus. Lost in the settings? Press Default settings and everything goes back to a new scope.

Quick start for any signal: Trig mode Auto, trigger source = your channel, level halfway, then turn the time/div until you see 2 to 5 periods and the V/div until the signal is 4 to 6 divisions tall.

Example 1: Arduino PWM Frequency and Duty Cycle

Connect pin 9 of an Arduino UNO to A and load this sketch:

PWM_Test.inoArduino
// Oscilloscope library for Proteus: PWM test (www.electronicstree.com)
void setup() {
  pinMode(9, OUTPUT);
  analogWrite(9, 128);   // 128 of 255 = about 50 % duty, about 490 Hz on pin 9
}

void loop() {
}

Set the trigger to A, rising, 2.5 V and the timebase to 500 µs/div, and channel A to 2 V/div, DC (the 0 to 5 V pulse is then 2.5 divisions tall). The measurement table shows about 490 Hz (the UNO’s PWM frequency on pin 9) and a duty of about 50 %. Change 128 to 64 and the duty drops to about 25 %.

Add an RC low-pass filter (10 kΩ and 10 µF) after pin 9 and connect the capacitor to B. Now you see the PWM and the smooth voltage it makes together: about 2.5 V with a small ripple. Switch B to AC and lower its V/div to see the ripple clearly.

New to simulating an Arduino? Our Arduino UNO R3 library for Proteus shows how to load a sketch.

Arduino PWM on the oscilloscope in Proteus with frequency and duty cycle
Figure: Arduino PWM on channel A and the filtered voltage on channel B.

Example 2: See the Bits of a UART Byte

Connect the UNO’s TX pin to L0 and load this sketch. It sends the letter U (0x55) ten times a second:

UART_Test.inoArduino
// Oscilloscope library for Proteus: UART frame test (www.electronicstree.com)
void setup() {
  Serial.begin(9600);
}

void loop() {
  Serial.write('U');     // 0x55 = 01010101: start bit, 8 data bits, stop bit
  delay(100);
}

Set up the scope like this:

  1. Tick Logic L0 – L7 and untick channels A to D (they are not used here).
  2. Time/div: 200 µs.
  3. Trig mode: Normal, so the screen only changes when a U arrives (every 100 ms). Single waits for the trigger in Auto too.
  4. Trig source: L0, Trig edge: Falling (the start bit).
  5. Measure: L0, so the table shows the measurements of the logic lane.
  6. Press Single. The scope waits, catches one frame and stops: the line is high (idle), drops for the start bit, then shows the eight data bits and the stop bit.
  7. Cursors: Time. Put the two cursors on two neighbouring edges: one bit lasts 104 µs at 9600 baud.

Now open Timing… on the panel. In the Bit view set Bit time to Typed and type 9600bd, Frame 10 bits, Skip 1 (the start bit), Value 8 bits and LSB first, as UART sends it. The frame is cut into the start bit, eight data bits and the stop bit, with a 0 or 1 in each, and the value row shows 0x55 'U'.

When you are done, press Default settings: the panel and the Timing window go back to the settings of a new scope (Trig mode Auto again).

The same works for the TX and DE lines of the Modbus Master library for Proteus, or the clock and data of a shift register (choose the clock lane as the bit time).

Arduino UART byte 0x55 on the oscilloscope in Proteus, with the Timing window decoding the frame as 0x55 'U'
Figure: One UART frame of the letter U at 9600 baud on L0 and the Timing window reading it as 0x55 'U'.

Save the Waveform

  • Copy screen puts the picture on the clipboard: paste it into Word or your report.
  • Save PNG saves the screen as a picture.
  • Save CSV saves the samples on the screen, with the time from the trigger and one column per channel. Logic channels get their own rows at every edge. Open the file in Excel to make your own graph.

Oscilloscope Library for Proteus: Troubleshooting

What you seeCause and fix
WAIT in the header, no traceNormal mode and no trigger. Check the trigger source and level, or switch to Auto
The trace rolls across the screenNot triggered. Set the trigger level inside the signal (half of its Vpp is a good start)
Edges look sloped or roundThe simulation step is too long. Tick Fine SPICE steps, or use a logic channel for digital signals
The simulation runs slowlyFine SPICE steps on a very short timebase makes many points. Use a longer timebase or turn Fine off
A logic lane is missingOnly lanes with a signal are shown. Choose All 8 lanes
A value shows “-“The screen shows less than one period. Choose a longer time/div

Download the Oscilloscope Library for Proteus

The zip file of the oscilloscope library for Proteus holds the model ETSCOPE.DLL and the library ElectronicsTree[OSCILLOSCOPE].LIB with the part TREE OSCILLOSCOPE.

Download
0 Downloads

Installing it takes two minutes (see the steps right below). Looking for more parts? Browse all our free Proteus libraries.

We’re always looking to expand our library collection based on what our community needs. If you’re looking for a specific Arduino module, sensor, or component that we don’t currently offer, we’d love to hear from you!

Reach out to us at help@electronicstree.com with your requests. We prioritize new library development based on community demand, so your suggestion could be our next addition.

Join the official WhatsApp channel of ElectronicsTree to stay updated with the latest electronics tutorials, Proteus libraries, Arduino projects, and simulation resources.

How to Install the Oscilloscope Library for Proteus 8

New to adding libraries? Our guide how to install a library in Proteus 8 shows where the Proteus folders are.

  1. Close Proteus.
  2. Copy the files into the Proteus data folder, normally C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\DATA
    • ETSCOPE.DLL goes into DATA\MODELS
    • ElectronicsTree[OSCILLOSCOPE].LIB goes into DATA\LIBRARY
    Windows asks for administrator rights because the folder is under Program Files: click Continue.
  3. Start Proteus, open Pick Devices (press P) and search for TREE OSCILLOSCOPE. The part is in the category Miscellaneous.
Tested with 8.17 SP2

The oscilloscope library for Proteus is made for Proteus 8 only; it does not work in Proteus 9. It is a library, not Proteus itself: the software comes from Labcenter Electronics, who also offer a free demo on their website.

Frequently Asked Questions

Where is the oscilloscope in Proteus 8 and Proteus 9?

The built-in one is in the Virtual Instruments mode (the icon that looks like a meter on the left toolbar), in both Proteus 8 and Proteus 9. This free oscilloscope library is a separate part for Proteus 8: pick TREE OSCILLOSCOPE with P like any component.

Is there a better oscilloscope library for Proteus?

The built-in scope and logic analyzer are two separate instruments without automatic measurements. This oscilloscope library for Proteus shows analog and logic channels together, measures frequency, duty, Vpp and RMS for you, cuts logic signals into bits and exports PNG and CSV.

Does it work in Proteus 9?

No. This oscilloscope library is made for Proteus 8 only (tested in Proteus 8.17 SP2). It does not work in Proteus 9.

How do I measure frequency in Proteus?

Connect the signal to channel A, set the trigger to A and read Freq in the measurement table. For a digital signal, a logic channel gives the most exact value.

Do I need to connect ground?

No. Every analog input is measured against the Proteus ground through 1 MOhm, like a scope probe.

Can I use it as a logic analyzer in Proteus?

Yes. Turn on Logic: the eight lanes appear under the analog grid on the same time scale, or in their own window with Detach. The Timing window shows every bit and the value of each frame.

Can I export the waveform to Excel?

Yes. Save CSV saves the samples on the screen. Open the file in Excel or LibreOffice.

Is this oscilloscope library for Proteus free?

Yes. Download it from this page. The zip holds the model DLL and the library.

More Libraries for Proteus

Signals worth looking at with the oscilloscope library for Proteus:

Conclusion

The oscilloscope library for Proteus gives you the tools of a real digital scope inside the simulation: four analog and eight logic channels on one time scale, automatic measurements, cursors, single shot, bit timing and export. Use it to check a PWM duty cycle, the ripple of a power supply or the bits of a UART frame, without counting divisions.

Questions, or an instrument you want next? Write them in the comments!

Leave a Reply