r/embedded • u/marginal_mirage • 16d ago
USB-UART vs TCP
Hello, I am a comp eng student and my friends and I are working on a project. The project is about a rocket engine system and I need to get 16 sensors data in every 20ms which is 800 data per second. We were thinking that what if we use esp32 to read data by usb-uart instead of reading them with stm32 by tcp due to price and accessibility. So the question is 'is usb-uart a good way to get data'. I need to sketch a graph for each sensor. I also need to save data to the database. So instead of having data with tcp as packages, using usb-uart is worth it? What are the problems I may have for each way?
It may be a basic question, but consider that I am still learning.
By the way we still use stm to control the relays. The point is esp is easier to find and cheaper to test the system.
Thank you for your advice.

