Turning an ordinary laptop into a full-fledged oscilloscope is a task that seems impossible only at first glance. In fact, with the help of inexpensive adapters and free software, it is possible to assemble a device capable of visualizing signals with frequencies up to 200 kHz (and in some cases higher). Such a homemade device will be useful to radio amateurs for debugging circuits, testing audio equipment, or even diagnosing automotive electronics - the main thing is to choose the right connection method and configure the software.
In this article we will look at three working ways to create an oscilloscope from a laptop: through sound card (the most budget option), using USB Oscilloscope Adapters (optimal price/quality ratio) and through Arduino (for advanced users). You'll learn which software is suitable for each method, how to avoid common calibration mistakes, and what limitations to consider. And at the end - an FAQ with answers to the most frequently asked questions, including compatibility with macOS And Linux.
1. Oscilloscope via sound card: pros and cons of the method
Using a laptop sound card for oscillography is the most affordable method that does not require the purchase of additional equipment. The operating principle is based on the fact that the audio input (Line-In or Mic-In) is capable of digitizing analog signals with frequencies up to 44.1–96 kHz (depending on the laptop model). However, the method has serious limitations:
- 🔴 Maximum signal frequency: usually does not exceed 20–40 kHz (due to anti-aliasing filters in sound cards).
- 🔴 Voltage: input level limited 0.5–2 V (excess may damage the sound card!).
- 🟢 Pros: free, quick to set up, suitable for low-frequency signals (audio, temperature sensors, slow pulses).
To connect, you will need a simple voltage divider using resistors (if the signal exceeds 1 V) or a ready-made attenuator. For example, to oscilloscope signals with an amplitude of up to 10 V, you can use a divider with a ratio of 10:1 (resistors 90 kOhm And 10 kOhm). Important: do not connect directly to Line-In signals from a 220 V network or high-voltage circuits - this is guaranteed to damage the sound card!
If your laptop does not have an input Line-In, use an adapter with USB-C or Bluetooth audio receiver (but note that delays may distort the signal).
2. Which software to choose to work with a sound card
There are several free programs that can turn a sound card into an oscilloscope. Below is a comparison of the most popular solutions:
| Program | Max. frequency, kHz | OS support | Add. functions |
|---|---|---|---|
| Visual Analyzer | 44.1 | Windows | Spectrum analyzer, signal generator |
| Oscilloscope X | 96 | Windows, macOS | Writing to a file, mathematical functions |
| Soundcard Scope | 48 | Windows | Multiple Channel Support |
| Baudline | 192 | Linux, macOS | Terminal mode, scripts |
For beginners the best choice would be Visual Analyzer — it is easy to set up and supports the Russian language. You can download it from the official website sillanumsoft.org. After installation you must:
- Connect signal to input
Line-In(orMic-Inwith attenuator). - In the program settings, select the signal source and set the sampling frequency 44100 Hz.
- Calibrate the voltage scale (in the menu
Calibration → Voltage).
Select the correct audio input|Set the sampling rate to 44100 Hz|Disable all filters in the settings|Check the signal level (should not exceed 50% of the scale)-->
Critical Feature: the sound cards of most laptops have built-in DC voltage protection (input capacitor). This means that you will not be able to measure signals with DC component (eg battery voltage). For such tasks you will need an external adapter.
3. USB oscilloscopes: review of inexpensive adapters
If you need higher frequencies (up to 200 MHz) and accuracy, it is worth considering purchasing a USB oscilloscope adapter. Such devices are connected to the laptop via USB and work with specialized software. Below is a comparison of popular models in the budget segment (prices are current for 2026):
- 🟡 DSO Nano v3 — portable oscilloscope with screen, frequency up to 200 kHz, price ~5,000 ₽. Suitable for field work.
- 🟢 Hantek 6022BE — 2 channels, frequency 20 MHz, price ~8,000 ₽. The best choice for radio amateurs.
- 🔴 JYE Tech DSO150 - open source, frequency 200 kHz, price ~3,500 ₽. Requires soldering.
- 🔵 PicoScope 2204A — professional level, frequency 10 MHz, price ~25,000 ₽. Supports Linux.
To connect most adapters you will need a program PicoScope (for devices Pico Technology) or OpenHantek (for Hantek). The latter, by the way, is open source and runs on Windows, Linux And macOS. Example command to install on Ubuntu:
sudo apt install openhantek
DSO Nano v3|Hantek 6022BE|JYE Tech DSO150|PicoScope 2204A|Undecided yet-->
Attention: cheap adapters (for example, based on a chip CY7C68013A) often have problems with drivers on Windows 11. Before purchasing, check compatibility on forums like EEVblog.
⚠️ Attention: When working with USB oscilloscopes, disable automatic driver updates on Windows. The system may replace a working driver with an incompatible version, which will lead to loss of communication with the device.
4. Oscilloscope on Arduino: for advanced users
If you have a fee Arduino Uno or Arduino Nano, it can be used as the basis for an oscilloscope with sampling rates up to 50 kHz. The method requires soldering and programming skills, but allows flexible settings. You will need:
- 📌 Fee Arduino (any model with ADC).
- 📌 Resistors for voltage divider (for example,
10 kOhmAnd1 kOhm). - 📌 Program Processing for data visualization.
The connection diagram is simple: the signal is supplied to the analog input A0, and Arduino transmits data via USB to a laptop. Example code to load into the board:
void setup() {Serial.begin(115200);
}
void loop() {
int sensorValue = analogRead(A0);
Serial.println(sensorValue);
delayMicroseconds(20); // Частота ~50 кГц
}
To display the graph on a laptop, use the sketch in Processing (there are examples at GitHub). Limitation: due to slow transmission USB the actual sampling rate rarely exceeds 20–30 kHz.
How to increase the sampling rate?
Use Arduino Due (12-bit ADC and frequency up to 1 MHz) or boards based on STM32. Code optimization will also help: disable Serial.println and use a binary data transfer protocol.
5. Calibration and accurate measurements: avoiding mistakes
Even with the most expensive USB oscilloscope, the results will be inaccurate unless calibrated. Main parameters that need to be configured:
- Voltage scale: use a reference source (such as a battery
1.5 V) to check the scale. - Sampling rate: for signals 1 kHz that's enough 10 kHz, but for 100 kHz will require at least 1 MHz.
- Synchronization (trigger): set the scan to start on the leading edge or falling edge of the signal to stabilize the image.
To check accuracy, you can use a test signal with known parameters. For example, connect the output of a laptop sound card to the oscilloscope (sine wave generator in the program Audacity) and compare the amplitude and frequency on the screen with the reference values.
⚠️ Attention: When measuring high frequency signals (>100 kHz) the length of the wire from the probe to the adapter should be minimal. Even 20 cm of wire can introduce phase distortion!
For accurate measurements use differential probes (For example, 1:1/1:10). They reduce the influence of interference and allow you to work with signals up to 500 V (as opposed to direct connection).
6. Alternative methods: smartphone and Raspberry Pi
If you don’t have a laptop at hand, you can assemble an oscilloscope based on smartphone or Raspberry Pi. For Android programs like Oscilloscope (uses audio input) or USB Oscilloscope (for external adapters). On Raspberry Pi can be installed Sigrok — cross-platform software for working with logic analyzers and oscilloscopes.
Example command for installation Sigrok on Raspberry Pi OS:
sudo apt install sigrok sigrok-cli pulseview
To connect to Raspberry Pi The same USB adapters are suitable as for a laptop (for example, Hantek 6022BE). The main advantage of this solution is the ability to organize remote access to the oscilloscope via SSH or VNC.
7. Common mistakes and how to avoid them
Even experienced radio amateurs encounter problems when setting up homemade oscilloscopes. Here are the most common mistakes and ways to solve them:
- 🔌 No signal: check that the input connector is selected correctly in the program settings. For
Line-Inmay need to be enabledStereo mixerin the sound control panel. - 📉 Distorted waveform: Reduce the input signal amplitude or increase the sampling rate. Perhaps the limiter in the sound card is triggered.
- ⚡ The laptop turns off when connected: this is a sign of a short circuit in the circuit. Immediately turn off the power and check the wiring diagram!
If the oscilloscope is based Arduino produces “garbage” instead of a signal, the reason may be:
- Unstable power supply to the board (use an external source
5 V). - The wires from the probe to the input are too long
A0. - Lack of common wire (
GND) between the signal source and Arduino.
Always check the circuit before using it for the first time multimeter in call mode. This will help avoid short circuits and equipment failure.
FAQ: Answers to popular questions
Can I use an oscilloscope on a laptop to repair car electronics?
Yes, but with reservations. For diagnostics oxygen sensors, injectors or ignition coils You will need a USB adapter with a frequency of at least 1 MHz (For example, Hantek 6022BL). The sound card is not suitable for these purposes due to the low sampling rate. Also be sure to use galvanic isolation (for example, via an isolation transformer) to avoid damage to the laptop.
Which laptop is best for an oscilloscope?
Basic requirements:
- Availability of port
USB 3.0(for high speed adapters). - Supported sound card 96 kHz/24 bit (For example, Realtek ALC1220).
- Minimum background noise (checked in the program Audacity when recording silence).
Of the budget models, they have proven themselves well Lenovo ThinkPad T480 And Dell Latitude 7490.
Is it possible to measure 220 V voltage with such an oscilloscope?
No! A direct connection to a 220 V network will destroy the sound card or USB adapter. For such tasks use step down transformer (For example, 220 V → 12 V) or special differential probe (For example, Hantek PP-215). Also be sure to connect GND oscilloscope to grounding sockets via resistor 1 MOhm for safety.
What is an alternative to an oscilloscope on a laptop if you need a professional tool?
If you require higher frequency 100 MHz or multi-channel measurements, consider purchasing used professional oscilloscopes:
- Rigol DS1054Z (4 channels, 50 MHz) - ~30,000 ₽ on the secondary market.
- Tektronix TBS1052B (2 channels, 50 MHz) — ~40,000 ₽.
- Siglent SDS1104X-E (4 channels, 100 MHz) — ~50,000 ₽.
These models support protocol decoding (I2C, SPI, UART) and have built-in memory for recording signals.