Android Oscilloscope Serial using usb-serial-for-android
 
 
 
 
Go to file
DanielGeA 0af3528f4b Cosmetics 2021-11-20 22:34:10 -05:00
images Fix linux binary 2021-11-20 18:49:13 -05:00
src Fix linux binary 2021-11-20 18:49:13 -05:00
LICENSE Improve gui 2021-11-03 17:52:55 -05:00
README.md Cosmetics 2021-11-20 22:34:10 -05:00

README.md

Oscilloscope Serial

A simple oscilloscope application that reads the values at serial port generated by an Arduino board and based on the value of the analog pin A0


Main window


Settings

It is optimized for AVR ATmega MCUs with 26μs sampling resolution. For other boards the resolution is 200μs

Flash oscilloscope. In the Oscilloscope app configure the serial port. By default 1000000bps, 8bits and no parity. Interval is 26μs for AVR ATmega and 200μs for other MCUs

You can connect any signal up to 5 volts to the analog pin A0. For signals over 5V a voltage divider is needed.

For ATmega boards it is defined a PWM signal at pin OC1B. To test the Oscilloscope app connect pin OC1B to pin A0 Adjust PWM signal with PWM_FREQ and PWM_DUTY. Default is 1000Hz, 50% duty.

Pin OC1B location:

  • Uno: pin 10 (PB2)
  • Leonardo: pin 10 (PB6)
  • ATmega2560: pin 12 (PB6)

Find binaries here

Or build from sources:

  • install qt (>=5.9)
  • cd to src/qt folder
  • qmake
  • make

Supported OS:

  • Linux
  • Windows
  • Android (experimental)
  • MacOS (not tested)