Inspiration

Oscilloscopes can be expensive, but they're very useful. This is a cheap DIY oscilloscope that will be great for small projects.

What it does

Reads in an analog waveform and plots it on a 0.96" OLED display.

How I built it

I used the Tivaware Driver library provided by TI to interface with the OLED over I2C and created a small graphics library to display useful info along with the input waveform. The input is taken by clamping a probe to the circuit being measured and read by the microcontroller's ADC module.

Challenges I ran into

Getting the screen to light up at all took a very long time, and was made more difficult by the ironic fact that an oscilloscope is needed to debug the communication between the two devices.

Accomplishments that I'm proud of

Creating the graphics and I2C library needed to communicate with this screen on this microcontroller, which I do not think have been paired together before.

What I learned

Patience, persistence, I2C, graphics basics.

What's next for Tiva Oscilloscope

Adding in multiple channels, adjustable voltage divisions, adjustable time divisions, and other user controls.

Built With

  • adc
  • c
  • freebsd
  • i2c
  • oled
  • tiva
Share this project:

Updates