The problem
A mini digital oscilloscope is a pocket-size test instrument that shows what a voltage is doing over time — the sine wave from a function generator, ripple on a power rail, the shape of a sensor output — instead of the single number a multimeter gives. A bench oscilloscope costs more than most final-year budgets allow, and college equipment means queuing for shared benches. The answer is a student-built instrument: an Arduino Uno or Nano (ATmega328P, 10-bit ADC over a 0–5 V range per the datasheet) samples the probe voltage thousands of times per second, firmware finds the rising edge so the trace stops drifting, and the waveform is drawn live on a 2.4-inch ILI9341 TFT (320×240). A divider-plus-clamping-diode front end protects the ADC, buttons or a rotary encoder set timebase and volts-per-division, and a hold key freezes a frame. Honestly a single-channel, audio-range instrument (~1 kHz, design target) — not a replacement for a real bench DSO.
How it works
A probe lead carries the signal through the input-protection stage — the resistor divider scales it down and clamping diodes clip anything outside the ATmega328P ADC's 0–5 V range (datasheet value) — into analog pin A0. Firmware samples that pin in a tight loop at roughly 10 kSPS (design target, inside the datasheet's 76.9 kSPS ceiling and set by the 13–260 µs ADC conversion time), filling a buffer of readings. A software rising-edge trigger then scans the buffer for the first sample crossing the trigger voltage on an upward slope; drawing starts from that sample, which freezes a drifting waveform into a stable trace. The buffer is mapped onto the ILI9341 TFT's 320×240 pixels over SPI, drawn over a graticule with Vpp, average and frequency readouts computed from the same buffer. Timebase and vertical-gain controls adjust samples-per-division and gain, and the hold key stops acquisition for inspection — at ~10 kSPS, usable signals stay in the audio range (~1 kHz).
-
The probe signal enters the input-protection stage: a 100 kΩ / 100 kΩ divider halves it and 1N4148 diodes clamp it to the ADC's 0–5 V window (datasheet value).
-
The ATmega328P's 10-bit ADC (0–1023 counts, datasheet value) samples analog pin A0 in a tight loop at approximately 10 kSPS (design target), filling a sample buffer.
-
Firmware scans the buffer for a rising-edge crossing of the trigger level and anchors the drawing to that sample, so the trace locks on screen.
-
The buffer is scaled to the 320×240 pixel grid (datasheet value) and drawn over SPI onto the ILI9341 TFT with a graticule and readout overlays.
-
Vpp, average voltage and frequency are computed from the captured buffer and displayed (expected accuracy ±5%, design target).
-
Timebase and volts-per-division controls change samples-per-division and vertical gain, exactly like a bench scope's knobs.
-
Pressing hold freezes acquisition, keeping the current frame on screen for inspection.
Tech stack:
- Arduino Uno / Nano (ATmega328P)
- 2.4-inch ILI9341 TFT display (320×240, SPI)
- Arduino C++ firmware (Adafruit ILI9341 library)
- Input stage: resistor divider · 1N4148 clamping diodes
- Push buttons / rotary encoder (controls)
- Solderless breadboard · jumper wires
- Multimeter & function generator (testing)
- Project report & PPT (documentation)
| Parameter | Value |
|---|---|
| Microcontroller | Arduino Uno / Nano, ATmega328P (datasheet) |
| ADC resolution | 10-bit, 0–1023 counts (datasheet value) |
| ADC input range | 0–5 V (datasheet value) |
| Probe input range | 0–10 V via 2:1 divider (design target); beyond this is clamped |
| Sample rate | Approximately 10 kSPS (design target) |
| Usable bandwidth | Approximately 1 kHz, audio-range signals (design target) |
| Display | 2.4-inch ILI9341 TFT, 320×240 pixels (datasheet value) |
| Trigger | Software rising-edge trigger |
| Channels | 1 (single channel) |
| Measurement readout | Vpp, average, frequency — expected accuracy ±5% (design target) |
| Controls | Timebase, volts/div, freeze/hold key |
| Power | 5 V via Arduino USB |
| Build form | Solderless breadboard prototype |
Project features
This mini digital oscilloscope project ships with four capabilities that make it a real instrument rather than a toy: a live waveform display on the 2.4-inch ILI9341 TFT that draws the sampled trace on a gridded screen at several frames per second; a software rising-edge trigger that locks the waveform in place so it stops sliding and can actually be read; a protected probe input built from a resistor divider and clamping diodes so a signal outside the 0–5 V ADC range cannot damage the Arduino; and hands-on controls — timebase and volts-per-division adjustment plus a freeze/hold key — that behave like the knobs on a bench scope. The smaller-but-important details are part of the build too: an on-screen readout of measured Vpp, average and frequency, a compact breadboard-friendly layout, and firmware written so every oscilloscope concept is visible in code.
-
[Live TFT waveform display] The sampled signal is drawn as a scrolling trace on a 2.4-inch ILI9341 TFT (320×240, datasheet value) with a drawn graticule, giving an oscilloscope-style view at several frames per second.
-
[Software rising-edge trigger] Firmware scans the sample buffer for a crossing of the trigger level on a rising slope, then draws from that point — the trace locks instead of drifting.
-
[Protected probe input] A 100 kΩ / 100 kΩ resistor divider halves the probe voltage and 1N4148 clamping diodes clip anything outside the ADC's 0–5 V window, so overvoltage at the probe cannot reach the ATmega328P pin.
-
[Timebase & volts/div controls] Push buttons (or a rotary encoder option) step the timebase and vertical scale across several settings, mirroring how a bench scope's knobs work.
-
[Freeze / hold key] A dedicated button freezes the current frame so the waveform can be examined or sketched without the trace moving.
-
[On-screen measurements] Vpp, average voltage and signal frequency are computed from the captured buffer and shown on screen (expected accuracy ±5%, design target).
-
[Breadboard-friendly build] The whole unit is assembled on a solderless breadboard with jumper wires and masking-tape labels, so the wiring itself is part of the viva demonstration.
What is included
- Assembled mini oscilloscope unit (Arduino, TFT, breadboard, input-protection stage, controls)
- Arduino firmware source with trigger, timebase and measurement code
- Wiring diagram and component list
- Input-protection design note (divider values, diode choice, safe probing limits)
- Project report PDF (ADC theory, triggering, sampling limits, methodology, test results)
- PPT presentation for final review
- Viva Q&A preparation document (ADC resolution, Nyquist, triggering, clamping, SPI)
Limitations & prerequisites
- This is a teaching instrument, NOT a replacement for a real digital storage oscilloscope — stated plainly and priced accordingly.
- Usable bandwidth is approximately 1 kHz (design target); RF, fast digital edges and mains-frequency probing beyond the safe input range are out of scope.
- Never probe mains voltage, high-voltage circuits or anything above ±12 V at the probe — the protection stage is for lab-level signals only.
- Single channel only; there is no dual-trace or external-trigger input in this build.
- Vpp, average and frequency readouts are expected ±5% (design target), not calibrated-instrument accuracy.
- The ATmega328P ADC carries ±2 LSB absolute accuracy (datasheet value), so readings are indicative, not metrology-grade.
Frequently Asked Questions
How does the rising-edge trigger work?
The firmware scans the sample buffer for the first point that crosses the trigger voltage while the signal is rising, then starts drawing the trace from that sample. Because every screen refresh begins at the same point in the waveform cycle, the trace locks in place instead of drifting — the same principle a bench scope's trigger uses.
What is the highest frequency it can display?
About 1 kHz (design target). The ATmega328P ADC samples at roughly 10 kSPS in this firmware (design target, inside the datasheet's 76.9 kSPS ceiling and 13–260 µs conversion time), and the Nyquist rule means you need many samples per cycle for a readable shape — so audio-range signals like function-generator output, sensor signals and amplifier stages are the honest use case.
Can it replace a bench oscilloscope in the lab?
No — and the project does not claim to. It is a single-channel, audio-range, breadboard instrument for learning ADC theory, triggering and signal visualization. A real DSO offers far higher bandwidth, deep memory, calibrated accuracy and isolated high-voltage probing that this build does not.
Is it safe to probe my circuits with it?
For lab-level low-voltage signals, yes: the 2:1 resistor divider and 1N4148 clamping diodes keep the Arduino's ADC within its 0–5 V datasheet range. Never probe mains, transformers, or anything above ±12 V — those will destroy the protection stage and the board, and probing mains is a safety hazard regardless of the instrument.
Why does the ADC need the resistor divider and an input buffer at all?
Inside the ATmega328P, the ADC has a small sample-and-hold capacitor that must charge to the input voltage within microseconds; a high-impedance source cannot charge it in time, so the reading sags. The divider sets the range and the buffer/low-impedance stage guarantees the capacitor sees a stiff source — the same first-principles reason every real scope probe presents a defined impedance.
Is this project suitable for a final-year project?
Yes — for Electronics, Electrical and Instrumentation programs. It covers ADC interfacing, sampling theory, software triggering, SPI display driving and analog front-end protection, with the breadboard build making the whole signal path viva-visible.
Components & software requirements
- Arduino Uno / Nano (ATmega328P)
- 2.4-inch ILI9341 TFT display (320×240, SPI)
- Arduino C++ firmware (Adafruit ILI9341 library)
- Input stage: resistor divider · 1N4148 clamping diodes
- Push buttons / rotary encoder (controls)
- Solderless breadboard · jumper wires
- Multimeter & function generator (testing)
- Project report & PPT (documentation)
Delivery information
Built-to-order project. Delivery timeline is shared after order confirmation based on current queue.
Support terms
Complete documentation, setup guide, and viva preparation included. Support for setup and explanation provided.
Download free synopsis (PDF)
Enter your name and WhatsApp number — the synopsis PDF downloads immediately. We may send occasional project updates on WhatsApp; no spam.