Serial Data logger logging software with resources - Page 1
Forum section: electronics / projects

author: rvalente
author_rank: Frequent Contributor
timestamp: March 27, 2020, 01:53:13 pm
content: Hello Mates,I'm developing an automotive device and during road tests I need to log data, around 20 variables or so.I've been using STMStudio, great tool but not the best, also having to keep the ST-link connected creates some limitationsFeatures I wish/need:Connection through USB-Serial (pretty standard)Data logging (I wish it is in a custom compacted format, so the logging file does not get to big over time)Graph mode (so I can easily see and scroll data)Need to integrate a USB-GPS, I believe they talk NMEA over serial, need to log my current speed and positionSome scripting would be nice toSend float as long int and interpret as float: We all know using print float numbers in micros is a pain and wast of resources, also, we never get the best precision, so I wish the software could get the data as long int and convert to float.Would be great to have a simple integration using a initial header as log start:Lets say I start the logging like that:speed(lf);voltage(lf);value1(i);value2(2)So the software expects data in this order with this names, where (lf is like "long as float")What software could do this?

author: senso
author_rank: Frequent Contributor
timestamp: March 27, 2020, 02:16:54 pm
content: Any Bluetooth to OBD2 adapter and the Torque app on any cellphone will be way faster and cheaper to make a temporary datalogger, plus you dont need to discover how to even read what you want from the OBD bus.

author: rvalente
author_rank: Frequent Contributor
timestamp: March 27, 2020, 02:18:54 pm
content: Quote from: senso on March 27, 2020, 02:16:54 pmMy device is yet not OBD2 ready (and OBD2 is not fast). I need to log through serial

author: senso
author_rank: Frequent Contributor
timestamp: March 27, 2020, 02:21:43 pm
content: Then just make a csv file into an sd-card, using fat-fs and some sprintf its pretty easy to do so, then graph and plot all you want on a pc using excel/libre office equivalent.An STM32 as no problem print a couple floats with sprintf hundreds of times a second, I have done it using atmegas running at 8Mhz and its not a problem..

author: rvalente
author_rank: Frequent Contributor
timestamp: March 27, 2020, 02:25:52 pm
content: Quote from: senso on March 27, 2020, 02:21:43 pmThe STMStudio already does that for me, but I need to integrate gps and scroll and analyse the data, these are long logging, to much information, that is why I'm missing a proper tool.

author: rvalente
author_rank: Frequent Contributor
timestamp: March 28, 2020, 05:14:58 pm
content: Would wireshark be a good option? What do you guys think?

author: rvalente
author_rank: Frequent Contributor
timestamp: April 05, 2020, 04:39:29 pm
content: UPDoes device monitoring studio can do this?https://www.hhdsoftware.com/device-monitoring-studio

author: max_torque
author_rank: Super Contributor
timestamp: April 07, 2020, 01:22:45 pm
content: Realistically, at this point, assuming you are not going to splash out on the usual automotive industry "toolsets" like ETAS INCA or Vector CANalyser, you'll be best off writing your own serial logging application. Pretty easy to do these days, visual studio now does a lot of hand-holding for the usual programatic functions, like tables, graphs and of course serial ports.. If your rates are reasonably low, it'll work fine ( out-of-the-box serial ports are a bit flaky at high baud rates (Mbauds) ime, because they don't double buffer the data, so you can completely miss or double read serial data under certain circumstances.

author: rvalente
author_rank: Frequent Contributor
timestamp: April 07, 2020, 01:44:54 pm
content: Its true I'm not going yet to the usual tools like vector or kvaser.I've found Megunolink and MakerPlot, does anyone has experience with that?To be honest, this has been kinda of frustrating for me, thought this kind of tool was more common.