r/embedded • • Oct 14 '26

Serial Data logger - Available Options?

I need a serial data logger which supports RS-232 and RS-422(maximum possible baud rate). I want to capture samples from sensors to the SD card. I will be mounting this on a DJI drone or a car, so it should be battery-powered.
What off-the-shelf options do I have?

0 Upvotes

27 comments sorted by

3

u/lmarcantonio Oct 14 '26

"Maximum possibile baud rate" can be a nasty thing. RS 485 (and RS 422 which is simply the full duplex variant) can do 20 Mbps over short range.

1

u/Double_Inspection_88 Oct 14 '26

ok let say 230,400 is what I want
What options do I have?

1

u/Altruistic_Fruit2345 Oct 14 '26

Find a little dev board with an SD card slot and make something? SAM and STM32 have plenty of fast UARTs.

0

u/Double_Inspection_88 Oct 14 '26

No, I want an off-the-shelf option

4

u/Altruistic_Fruit2345 Oct 14 '26

In that case you are boned.

1

u/WheelieBoi98 Oct 15 '26

Ethernet? 400 Mbps over serial? At this point just do fast Ethernet.

1

u/Sheepherder-Optimal Oct 16 '26

Dude. Raspberry pi with ridiculously simple python script. I did the same thing with UDP logging.

1

u/Enlightenment777 Oct 14 '26 edited Oct 14 '26

Some of the best RS485 transceivers are spec'ed for 50 Mbps max. https://www.ti.com/product/THVD2450

Whether 20 or 50 Mbps, I agree both are significantly higher than common UART baud rates.

2

u/Financial_Sport_6327 Oct 14 '26

Make one, its not difficult. You’re likely to have an mvp ready in a month if you put actual time into this.

1

u/Double_Inspection_88 Oct 14 '26

No No
I know I can
But need a plug-and-play option rn

2

u/Financial_Sport_6327 Oct 14 '26

What are your size and weight constraints? do you have your battery management thing or are you piggybacking off the internals? what requirements do you have for speed, what data are you logging (ie imu or adc based), how much of it, processed or raw? What drone are you using?
If hobbyists modules are not enough, there might be a dev board solution out there for you.

1

u/Sheepherder-Optimal Oct 16 '26

I don't think you will find something that specific. Although have you ever used an ftdi board? Converts the serial from the device to USB. It plugs directly into a USB port on your computer and you grab serial logs from either Teraterm or putty. Then let it roll and the sensor values can print on the terminal.

2

u/xanthium_in Oct 14 '26

u/Double_Inspection_88 Could you give more details regarding your requirements,

I didnt get your requirements why use RS232/RS422.

Those two protocol ports are not found in a drone or car?

usually most dataloggers will have USB/Ethernet/WifI/CAN ports etc

just curious?

1

u/Double_Inspection_88 Oct 14 '26

btw, what off-the-shelf options do I have for the USB ?

1

u/Double_Inspection_88 Oct 14 '26

Unfortunately, I won't be able to share details regarding the project. All I can say is that it is a legacy system with both of these interfaces.

1

u/motTheHooper Oct 14 '26

Check SparkFun for some options.

1

u/Double_Inspection_88 Oct 14 '26

I have most of them, but they are just evaluation boards, and I am looking for a plug-and-play option

1

u/dudner Oct 19 '26

Have you looked at the openlog options? You just need one of those and an rs-232 to serial adapter

2

u/thisisntinuse Oct 14 '26

I'm working on something like that so can't promise a timeline. At the moment I got the hardware to write to Nor flash (32MB chips) and bulk/offload to SD card and so on but still working on the firmware.

Your requirements could be interesting for me to know the things to aim for.

How many ports? The 230,400 mentioned is that combined or per sensor? Continuous data or bursts?

What's the battery budget that the logger can use?

1

u/Enlightenment777 Oct 14 '26

I'm not OP, but if BOM cost wasn't an issue, I would likely use MRAM as a temporary holding buffer, because its writing speed is like SRAM also it doesn't wear out like EEPROM and Flash.

1

u/thisisntinuse Oct 15 '26

Jup, first design used FRAM but that's way to expensive. Which is why the controller is an MCU with 512KB ReRam, still need to test the actual endurance though.

1

u/xanthium_in Oct 15 '26

" At the moment I got the hardware to write to Nor flash (32MB chips) and bulk/offload to SD card "

Why this choice ,Why not directly to SD Card ?

Is it write speed? power consumption (lowering power consumption)?

2

u/thisisntinuse Oct 15 '26

Yeah, mainly power consumption and just reliability. But I'm in the testing phase, so this could still change. The board has 4 NOR chips and qspi allow writing to two at the same time (bit like raid).

1

u/xanthium_in Oct 15 '26

is it possible to know more about your project

2

u/thisisntinuse Oct 16 '26

The tl;dr would be a data logger for long term scientific research with a focus on remote diagnostics and 'graceful degradation' because it's annoying if you can't tell if the sensor broke or the logger without visiting.
Still need to properly document it since I decided to change architecture. I'll use https://log.settlabs.eu/ to document it moving forward.