Skip to content

coreanq/serial_scope

Repository files navigation

serial_scope

  • uart data to scope (like oscilloscope)

Development Environment

  • Qt 5.15.2
  • baudrate 3Mbps ( H/W should support this baudrate) ( I use FT2232h with this project )

Features

  • max 6 channel is supported
  • All log data save to csv file which is 100MB size, consecutively.
  • limit, scale, offset setting avaliable
  • zoom in/out (just draw rectangle you want to zoom in/out with mouse left click, To set default zoom setting, click mouse right button )
  • show legend

Data Structure (total 30bytes)

  • preamble(4bytes): { 0xaa, 0xaa, 0xaa, 0xab }
  • data(24bytes): float * 6 (channel)
  • crc16(2bytes): this caculation only data part.

HowTo

  • load .pro file to Qt Creator
  • send data using uart {0xaa, 0xaa, 0xaa, 0xab, 24bytes, crc16 }
  • [Trend hidden] button click to show trend

Screenshot

alt text

About

serial port oscilloscope

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published