Digital oscilloscope with a Raspberry Pi

Digital oscilloscope with a Raspberry Pi and an ADC0831. Frequency range: 1-2k Hz. Three voltage scales: 2, 5 and 20 Vpp. C code and GNUPlot

Public Chat
Similar projects worth following
This project is a full digital oscilloscope using a Raspberry Pi and an ADC (ADC0831). It has a frequency range of 1Hz - 2kHz which depends of the sample frequency set by the user. There are three input voltage scales (2Vpp, 5Vpp y 20Vpp). Depending on the signal that wants to be measure one of these scales should be chosen and connected to the next stage of the circuit, the filters stage. There are two filters, a 1 Hz high pass filter and a 2k Hz low pass filter, both first order Butterworth active filters using operational amplifiers. The output of the filters connects to the ADC0831 which is wired to the Raspberry Pi, this last two interact via several wired connections and C code. Last, the Raspberry Pi graphs the values measured via GNUPlot code.
Most of the material is in spanish but it is really intuitive.

informe proyecto labelecII.pdf

Complete report of the project. SPANISH.

Adobe Portable Document Format - 2.53 MB - 10/18/2019 at 17:58



Simulation of electronic circuit.

dsn - 75.83 kB - 10/18/2019 at 17:57



Complete C code. Compose by declarations of libraries and pins, function of ADC conversion and principal loop (read and plot).

C Source File - 5.68 kB - 10/18/2019 at 17:57



C code that print in console 100 conversions, waits 500ms and prints again.

C Source File - 1.59 kB - 10/18/2019 at 17:33


  • 1 × Raspberry Pi 3
  • 1 × ADC0831 Data Converters / Analog to Digital Converter ICs (ADCs)
  • 1 × 1k resistor
  • 1 × 10V, -10V, 2.5V, 3.3V and 5V DC Sources Electronic Components / Misc. Electronic Components
  • 1 × 5k Potenciometer

View all 16 components

Enjoy this project?



Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates