Difference between revisions of "STM32 Oscilloscope"

From ScienceZero
Jump to: navigation, search
(Features)
(Data output)
Line 38: Line 38:
  
 
===Data output===
 
===Data output===
*Save wave snapshot to picture
+
*Save display snapshot to picture
*Save wave frames for movie
+
*Save display frames for movie
*Save wave data to file
+
*Save wave data to file (raw / .CSV)
*Save non interrupted wave data to file
+
*Stream non interrupted wave data to file
  
 
===Display roll mode (continuous scrolling)===
 
===Display roll mode (continuous scrolling)===

Revision as of 19:42, 9 May 2010

Features

Vertical (voltage)

Horizontal (Time)

Trigger

  • Voltage level trigger
  • Trigger on rising / falling edge
  • Single trigger / force trigger / trigger continiously
  • Auto detect and track trigger level
  • Trigger at fixed frequency / Trigger output
  • External trigger
  • Pretrigger (sample continiously then stop n samples after the trigger)
  • Filtered trigger (low frequency / high frequency / number of pulses)
  • Video trigger
  • RS-232 trigger

Dynamically labelled grid

Auto Scale

  • Voltage
  • Period

Metered values

  • Voltage
  • True RMS
  • Average
  • Peak
  • Peak to peak
  • Frequency
  • Duty

Markers

  • Voltage
  • t1
  • t2
  • delta t
  • frequency

Data output

  • Save display snapshot to picture
  • Save display frames for movie
  • Save wave data to file (raw / .CSV)
  • Stream non interrupted wave data to file

Display roll mode (continuous scrolling)

  • BPM mode for heart rate monitoring
  • wide range of scroll rates
  • dynamically zoom in to check on activity of extremely slow rates

Display modes

  • Waveform
  • XYZ
  • Fourier transform
Spectrum
Average spectrum
Subtract average
Spectrogram
  • Turtle - Channel A = speed, Channel B = direction
  • TV (pixel brightness)
  • Histogram

Pause and scroll back

Protocol decoding

  • RS232
  • TTL RS232
  • IR remotes

DSP

  • Pre-scale before process
  • Add channels
  • Subtract channels
  • Multiply channels
  • AM demod
  • FM demod
  • Configurable bandpass filtering
  • Phase tracking hum removal
  • Audio output

Log playback

Output and control interfaces

  • Computer via RS232
  • Computer via Wireless RS232
  • LCD touch screen
  • Computer via USB

Coding

Protocol

One byte each:
C SS DDD...
C = Code
S = Size
D = Data

Commands PC → STM32

  • 0 0 4 DDDD - Set sample rate in Hz
  • 1 0 5 D DDDD - Trigger mode & voltage

Commands STM32 → PC

Advanced features for the future

  • Realtime view and control over IP by another computer
  • iPad/IPhone view and control
  • Web interface