Scopy is a lightweight DIY oscilloscope built on the ESP32.

- ESP code (
scopy_main.c): Reads ADC and prints values to serial. - Python main (
main.py): Reads serial data in real-time and plots it. - Python viewer (
scripts/view.py): Loads previously dumped CSV data and displays it graphically.
- Real-time ADC reading and plotting.
- CSV logging for offline analysis.
- Dedicated viewer script for inspecting dumped data.
- Python 3.10+ recommended
- ESP-IDF for building and flashing the ESP firmware
- Serial connection to the ESP device
git clone https://github.com/qulxizer/scopy.git
cd scopypython -m venv venv
source venv/bin/activate # Linux/macOS
venv\Scripts\activate # Windowspip install -r requirements.txtcd esp
idf.py build
idf.py -p /dev/ttyUSBx flash monitorcd ../python
python main.pypython scripts/view.py