Author Topic: A cool tool for observing/plotting serial data  (Read 2143 times)

0 Members and 1 Guest are viewing this topic.

Offline sarbogTopic starter

  • Contributor
  • Posts: 30
  • Country: us
A cool tool for observing/plotting serial data
« on: October 15, 2022, 09:10:13 pm »
Here is a cool tool I found useful for observing and plotting serial data from my LittleBrainPlusPlus STM32F411 board with a barometric pressure sensor.


https://github.com/Serial-Studio/Serial-Studio

 
The following users thanked this post: ledtester

Offline Karel

  • Super Contributor
  • ***
  • Posts: 2546
  • Country: 00
Re: A cool tool for observing/plotting serial data
« Reply #1 on: October 15, 2022, 10:52:09 pm »
Here's another cool tool for plotting timeseries:

https://www.teuniz.net/edfbrowser/


« Last Edit: October 16, 2022, 07:48:12 am by Karel »
 
The following users thanked this post: ledtester

Offline sarbogTopic starter

  • Contributor
  • Posts: 30
  • Country: us
Re: A cool tool for observing/plotting serial data
« Reply #2 on: October 15, 2022, 10:55:50 pm »
Very cool!  Thankyou.
 

Offline ralphrmartin

  • Frequent Contributor
  • **
  • Posts: 519
  • Country: gb
    • Me
Re: A cool tool for observing/plotting serial data
« Reply #3 on: October 16, 2022, 01:44:30 pm »
rrdtool is also worth checking out, especially for long term data collection.
https://oss.oetiker.ch/rrdtool/
Its often used for collecting network data, but is quite general.
 

Online voltsandjolts

  • Supporter
  • ****
  • Posts: 3896
  • Country: gb
Re: A cool tool for observing/plotting serial data
« Reply #4 on: October 16, 2022, 07:00:14 pm »
Here is a cool tool I found useful for observing and plotting serial data from my LittleBrainPlusPlus STM32F411 board with a barometric pressure sensor.

https://github.com/Serial-Studio/Serial-Studio

Can you point me to documentation for the serial protocol (that an mcu has to send)?
I found the doxygen internal code documentation but was looking for a 5min tut really :-)
 

Offline sarbogTopic starter

  • Contributor
  • Posts: 30
  • Country: us
Re: A cool tool for observing/plotting serial data
« Reply #5 on: October 16, 2022, 07:22:22 pm »
For Serial Studio the mcu should start a frame with /* and end with */ and the data values separated by ','

Here is an example

uint8_t  usbBuf[64];
uint16_t usbBufLen;
   
usbBufLen = (uint16_t) snprintf(usbBuf, 64, "/*%.2f, %.2f, %.2f*/\r",  rawPressure_Pa, procPressure_Pa, procRelAltitude_m);
CDC_Transmit_FS(usbBuf,usbBufLen);

It will look like

/* 40125.34, 40125.21, 0.15 */

 
The following users thanked this post: voltsandjolts

Online voltsandjolts

  • Supporter
  • ****
  • Posts: 3896
  • Country: gb
Re: A cool tool for observing/plotting serial data
« Reply #6 on: October 17, 2022, 06:51:29 pm »
Thanks sarbog, ...and I've now found the relevant documentation also...

https://github.com/Serial-Studio/Serial-Studio/wiki/Communication-Protocol
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

- - -
-->