Serial stop working after some times

Hello,
I don't know if I'm on the good section. But I'm using a Nucleo-64 STM32F411 with an Arduino Uno based.

I connected 6 ultrasonic sensors to get distance information and send it through serial. I checked first with the Arduino Serial prompt. It works and I got the data, but after some time (it's varrying, from 10 min to more than 1 h), it stops. If I close the prompt and open it again, I got the data again, hence the board is still working.

Do you know what could make the serial stopping (I got the same problem with my python, and C# apps to get the data).

If you need the code I can give you, but I don't think it's usefull.

Thanks in adavance.

DarkPatate:
If you need the code I can give you, but I don't think it's usefull.

Well if you don't nobody will have a clue. If it does turn out to be useful, you could have had an answer sooner :wink:

Also connection diagram...

And seeing as this is an Arduino forum, have you tried your code / connection on an actual Arduino?

I can only make a guess but I have seen similar problems on the PC which eventually traced back to out of RAM to allocate. This was because of memory leakage. This happens when a function exits and does not un allocate its memory. It appears the problem is in the machine you are sending data to as you also have the same problem with another program. I am assuming this is what generates the prompt. This response is to help you get started in solving your problem, not solve it for you.
Good Luck & Have Fun!
Gil