Skip to the content
2 layers98.9 × 83.2 mmOscilloSketch, the printed circuit board in 3D

This repo serves as a Lab Notebook for The Oscillosketch project for ECE 445 senior design managed by Eric Vo and Josh Jenks

Size
98.9 × 83.2 mm
Copper layers
2
Thickness
1.6 mm
Parts
130
Nets
89
Pads
400
Tracks, vias
489, 78
Pours
4
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
17 Feb 2026
Updated
13 Aug 2026

Overview

OscilloSketch is an open-source printed circuit board by JJ1553, from the JJ1553/ECE445-Oscillosketch repository on GitHub. It is a 2-layer board of 98.9 × 83.2 mm with 130 parts on 89 nets, routed with 489 tracks and 78 vias.

It is built around the ESP32-S3-WROOM-1-N8, OPA2192QDGKRQ1 and SN74LV1T34DCK, with the AZ1117CD-3.3TRG1, PEC11R-4220F-S0024 and SP0503BAHTG among its other parts. Its parts include 40 resistors, 29 capacitors, 13 diodes, 8 connectors and 8 switches. It belongs with the ESP32 boards of this library.

Main components

7

README

README.md

OscilloSketch

OscilloSketch is a handheld embedded system that turns a standard oscilloscope operating in XY mode into an interactive vector display.

Developed for ECE 445: Senior Design at the University of Illinois Urbana-Champaign, the project uses an ESP32-S3, dual 12-bit DAC, precision analog output stage, rotary encoders, and custom firmware to generate synchronized X/Y analog signals for drawing, vector graphics, gameplay, and audio visualization.

The final system is powered entirely over USB-C, produces approximately ±5 V X/Y outputs, and updates coordinated X/Y points at approximately 110 kHz.

Team 22 — Spring 2026
Josh Jenks · Eric Vo

🏆 Inducted into the ECE 445 Hall of Fame — an honor awarded to 10 teams out of approximately 100 projects (top 10%).

Demo

Watch the OscilloSketch final project demo

Watch the final project demo on YouTube →

Etch-a-Sketch drawing, vector graphics, Pong, audio visualization, and real-time filtering on an analog oscilloscope.


Features

OscilloSketch supports four primary operating modes:

  • Etch-a-Sketch — Two rotary encoders directly control X and Y cursor position. Drawn points are stored and continuously replayed so the full path remains visible on the oscilloscope.
  • Shape Demo — Displays predefined vector patterns to demonstrate coordinated X/Y waveform generation.
  • Pong — Runs a real-time vector implementation of Pong with paddle control, ball physics, collision detection, and score rendering.
  • Audio Visualization — Plays a precomputed stereo PCM audio snippet while mapping the left and right channels to X/Y output. The encoders provide real-time low-pass and high-pass filter control.

The firmware also supports Z-axis blanking to suppress visible retrace lines between disconnected vector primitives on compatible oscilloscopes.


System Architecture

At a high level:

text
Rotary Encoders / Buttons
           │
           ▼
      ESP32-S3
           │
       20 MHz SPI
           │
           ▼
     MCP4922 DAC
       RAW X / Y
        0–3.3 V
           │
           ▼
 Precision Analog Stage
           │
      ~−5 V to +5 V
        ┌──┴──┐
        ▼     ▼
      BNC X  BNC Y
        │     │
        └──┬──┘
           ▼
      Oscilloscope
         XY Mode

The hardware is powered from a single 5 V USB-C input. An AZ1117C generates the 3.3 V digital rail, while an LM27762 charge pump generates the approximately ±5 V analog rails used by the output stage.


Firmware Architecture

A key challenge was maintaining enough replay bandwidth for drawings to remain visually persistent on an analog oscilloscope.

The final firmware separates application logic from the timing-critical output path:

text
Input / Mode Logic
        │
        ▼
Coordinate Generation
        │
        ▼
Shared Replay Engine
        │
        ▼
Dedicated Replay Task
        │
        ▼
SPI DAC Writes + LDAC
        │
        ▼
~110 kHz X/Y Output

The main application loop handles user input, mode switching, game logic, and drawing updates. A separate FreeRTOS replay task continuously outputs synchronized X/Y coordinates to the DAC.

This architecture evolved from earlier software-timer and hardware-timer implementations that were limited to substantially lower practical refresh rates. The final dual-core design reached a stable operating rate of approximately 110 kHz, exceeding the original 10 kHz requirement by roughly 11×.


Hardware

Major components include:

SubsystemComponent
MCUESP32-S3-WROOM-1-N16
DACMCP4922 dual 12-bit SPI DAC
Analog outputOPA2192
Reference bufferTLV9061
Bipolar supplyLM27762
3.3 V regulatorAZ1117C
User input2× PEC11R rotary encoders + 4 pushbuttons
Power5 V USB-C
X/Y outputBNC
Audio output3.5 mm stereo
Z-blanking5 V level-shifted BNC output

The PCB is approximately 98.5 mm × 83 mm and is mounted in a custom 3D-printed enclosure with an acrylic top panel.


Performance

The completed system met its primary design requirements.

ParameterMeasured Result
X/Y resolution12 bit
Coordinated update rate110 kHz
SPI clock20 MHz
USB input current~98 mA
Input-to-output latency~19.2 ms
Final X/Y output range~−4.88 V to +4.99 V
Analog step size2.41 mV/code
X/Y update mismatch~560 ns

Audio Mode

The original goal was to stream audio from a host computer over USB. Several versions of the serial transport were developed using buffering, sequence tracking, retries, CRC checking, and playback telemetry.

Although the direct audio playback path produced clean output, the live transport remained susceptible to packet loss and start/stop behavior. For the final demonstration, the audio was therefore converted offline to 16-bit PCM and stored directly in ESP32 flash.

The repository includes make_embedded_song.py for generating the embedded audio header.

Example:

bash
python make_embedded_song.py "/path/to/song.mp3" --seconds 30 --rate 16000 --channels 2

FFmpeg and pydub are required for conversion.


Repository Contents

This repository contains the final project deliverables:

text
/
├── firmware/          Final ESP32-S3 firmware
├── lab-notebooks/     Engineering development logs
├── final-report/      ECE 445 final technical report
├── assets/            README media
└── README.md

The final report contains the complete hardware design, calculations, schematics, requirements, verification procedures, and measured results.

The lab notebooks document the development process, including PCB bring-up, firmware architecture changes, debugging, timing measurements, audio experiments, and final system integration.


Building

The firmware targets the ESP32-S3-WROOM-1-N16 using the Arduino ESP32 environment.

Typical setup:

  1. Install the ESP32 Arduino board package.
  2. Select the appropriate ESP32-S3 target.
  3. Configure the module for 16 MB flash.
  4. Select an application partition large enough for the embedded PCM audio.
  5. Compile and upload Oscillosketch.ino over USB-C.
  6. Connect the X and Y BNC outputs to an oscilloscope configured for XY mode.

Because the final firmware embeds audio in flash, a larger application partition such as Huge APP may be required.


Project Requirements

The project was designed around four primary requirements:

  • Generate two independent analog outputs with at least 12-bit resolution and approximately ±5 V range.
  • Operate entirely from a single 5 V USB-C input while drawing no more than 500 mA.
  • Provide Etch-a-Sketch input response with ≤20 ms latency.
  • Produce at least 10,000 coordinated X/Y points per second.

All four primary requirements were met by the completed system.


Documentation

For full technical details, see:

  • Final Report — system architecture, schematics, design calculations, verification, and final results
  • Lab Notebooks — chronological development and debugging record
  • Firmware Source — final embedded implementation

Authors

Josh Jenks
Eric Vo

ECE 445 — Senior Design
University of Illinois Urbana-Champaign
Spring 2026

Parts

130
QtyValueFootprintReferences
1310kResistor_SMD:R_0603_1608MetricR1, R2, R13, R20, R21, R22, R23, R24, R25, R26, R27, R28, R29
60.01uFCapacitor_SMD:C_0603_1608MetricC14, C16, C17, C18, C19, C20
61uFCapacitor_SMD:C_0603_1608MetricC2, C7, C22, C26, C27, C29
6SW_PushButton_Switch_SMD:SW_SPST_PTS645SW1, SW2, SW3, SW4, SW5, SW6
50.1uFCapacitor_SMD:C_0603_1608MetricC11, C13, C21, C25, C28
5330Resistor_SMD:R_0603_1608MetricR31, R32, R33, R34, R35
5LEDLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderD2, D3, D4, D5, D6
410kResistor_SMD:R_0805_2012MetricR36, R37, R38, R39
410uFCapacitor_SMD:C_0603_1608MetricC3, C12, C15, C23
4MountingHoleMountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
32.2uFCapacitor_SMD:C_0603_1608MetricC6, C8, C9
3220Resistor_SMD:R_0603_1608MetricR18, R19, R40
3BNCLibrary_oscillo:LINX_CONBNC002J2, J3, J8
3D_SchottkyDiode_SMD:D_SMAD9, D10, D11
3D_TVSDiode_SMD:D_SOD-882D1, D8, D13
2100Resistor_SMD:R_0603_1608MetricR5, R30
2100kResistor_SMD:R_0603_1608MetricR10, R11
219.8kResistor_SMD:R_0603_1608MetricR15, R17
222Resistor_SMD:R_0603_1608MetricR3, R4
222uFCapacitor_SMD:C_0805_2012MetricC1, C24
25.1kResistor_SMD:R_0805_2012MetricR6, R7
29.76kResistor_SMD:R_0603_1608MetricR14, R16
2NCCapacitor_SMD:C_0603_1608MetricC4, C5
2PEC11R-4220F-S0024Library_oscillo:XDCR_PEC11R-4220F-S0024S1, S2
1+3.3VTestPoint:TestPoint_Pad_D1.0mmTP14
1+5VTestPoint:TestPoint_Pad_D1.0mmTP13
1+5VATestPoint:TestPoint_Pad_D1.0mmTP18
1-5VATestPoint:TestPoint_Pad_D1.0mmTP19
12.46VTestPoint:TestPoint_Pad_D1.0mmTP17
1282837-3Library_oscillo:TE_282837-3J5
13.4kResistor_SMD:R_0603_1608MetricR12
1302kResistor_SMD:R_0603_1608MetricR9
1309kResistor_SMD:R_0603_1608MetricR8
14.7uFCapacitor_SMD:C_0603_1608MetricC10
1AZ1117CD-3.3TRG1Library_oscillo:TO252-2-3.3V_DIOU2
1AudioJack3Connector_Audio:Jack_3.5mm_CUI_SJ1-3523N_HorizontalJ7
1Conn_01x03_PinConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ6
1Conn_01x05_PinConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ4
1ESP32-S3-WROOM-1RF_Module:ESP32-S3-WROOM-1U1
1LDACTestPoint:TestPoint_Pad_D1.0mmTP12
1LEFT_ATestPoint:TestPoint_Pad_D1.0mmTP4
1LEFT_BTestPoint:TestPoint_Pad_D1.0mmTP3
1LM27762DSSTLibrary_oscillo:IC_LM27762DSSTU3
1MCP4922-E_SLLibrary_oscillo:MCP4922U4
1OPA2192QDGKRQ1Library_oscillo:OPA219U5
1OUT_XTestPoint:TestPoint_Pad_D1.0mmTP15
1OUT_YTestPoint:TestPoint_Pad_D1.0mmTP16
1OUT_ZTestPoint:TestPoint_Pad_D1.0mmTP20
1PolyfuseFuse:Fuse_1206_3216MetricF1
1RAW_XTestPoint:TestPoint_Pad_D1.0mmTP7
1RAW_YTestPoint:TestPoint_Pad_D1.0mmTP8
1RIGHT_ATestPoint:TestPoint_Pad_D1.0mmTP1
1RIGHT_BTestPoint:TestPoint_Pad_D1.0mmTP2
1SN74LV1T34DCKPackage_TO_SOT_SMD:SOT-353_SC-70-5U7
1SP0503BAHTGLibrary_oscillo:SOT143D7
1SPI_CLKTestPoint:TestPoint_Pad_D1.0mmTP9
1SPI_CSTestPoint:TestPoint_Pad_D1.0mmTP11
1SPI_MOSITestPoint:TestPoint_Pad_D1.0mmTP10
1TLV9061xDBVPackage_TO_SOT_SMD:SOT-23-5U6
1USB4215Library_oscillo:GCT_USB4215-03-A_REVAJ1
1USB_D+TestPoint:TestPoint_Pad_D1.0mmTP5
1USB_D-TestPoint:TestPoint_Pad_D1.0mmTP6
1WE-TVS-HS_SOT23-6L_82400102Package_TO_SOT_SMD:TSOT-23-6_HandSolderingD12

Similar boards

  • 2 layers98 × 79.5 mmEsp32 example, the printed circuit board in 3D

    Esp32 example

    rharpalani/InventoryIQ

    An ESP32 microcontroller-based inventory management solution for the computer engineering lab.

    35 parts
  • 4 layers135.6 × 54.6 mmDragonmanh7, the printed circuit board in 3D

    Dragonmanh7

    martinribelotta/h7dragonman

    STM32H7 board for industrial protocol bridge

    147 parts19BSD-2-Clause
  • 2 layers305.2 × 234.8 mmReflow, the printed circuit board in 3D

    Reflow

    mickdassive/reflowow-oven-controler

    firmware for a reflow controller

    117 parts2GPL-3.0
  • 2 layers50 × 60 mmGO, the printed circuit board in 3D

    GO

    Ainacteru/GO

    The source code for the GO PCB

    72 parts1
  • 2 layers99.3 × 47.2 mmController, the printed circuit board in 3D

    Controller

    AndreHatu/MarioKart

    Senior Design Project using ESP32s to remake Mario Kart with RC Cars

    37 partsMIT
  • 4 layers115 × 55 mmRoamr motors, the printed circuit board in 3D

    Roamr motors

    uw-roamr/roamr

    turn your phone into a robot running SLAM with two motors, two control boards, and a bluetooth chip

    110 parts6
  • 4 layers70.6 × 75 mmSmart irrigator, the printed circuit board in 3D

    Smart irrigator

    mantisea12/esp32_smart_irrigator

    An ESP32 based smart irrigator system that uses a LoRaWAN node to output on LoRa and an ESP32 and solenoid to automatically irrigate when needed.

    33 parts
  • 2 layers346.2 × 95.5 mmMkey, the printed circuit board in 3D

    Mkey

    MabezDev/mkey

    A mechanical keyboard based on an ESP32-S3

    171 parts16Apache-2.0

Questions

How big is the OscilloSketch PCB?

It measures 98.9 × 83.2 mm and has 2 copper layers, 1.6 mm thick.

What parts does the OscilloSketch use?

130 parts, built around the ESP32-S3-WROOM-1-N8, OPA2192QDGKRQ1, SN74LV1T34DCK and AZ1117CD-3.3TRG1. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the OscilloSketch KiCad files?

From the JJ1553/ECE445-Oscillosketch repository on GitHub, at the commit this page was made from: the board is Schematics/OscilloSketch/OscilloSketch.kicad_pcb and its schematic Schematics/OscilloSketch/OscilloSketch.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the OscilloSketch design in my own project?

Its repository states no licence, so its author keeps all rights: ask JJ1553 before reusing the design.