This Mini Oscilloscope draws a line of 512 dots whose height varies from the bottom at 0 volts to the top at 5 volts DC as measured at analog pin A0.  Traverse time left to right is approx 20 seconds.

It has no synch input nor any scaling. A very basic waveform display unit.

I use it to test whether a sensor is activating properly. Shown below is a PIR activation and the resulting delay as it fires and resets. The discontinuous display line is a artifact of the camera’s high shutter speed. the actual display shows a square wave,

 

Top left: AMS312 PIR Sensor
Middle left: 1.3 inch OLED Display
Middle right: Arduino Pro Micro

Program code (Sketch) available on Smart Home page

Loading