nathandunk / BetterSerialPlotter

A drop-in replacement for the arduino serial plotter
MIT License
162 stars 25 forks source link

Is it possible to send binary data (using Serial.write) to achieve better performance and feed more data with the same baud rate? #38

Open Inversion-des opened 2 months ago

Inversion-des commented 2 months ago

If we calculate, what the baud rate needed if we send audio samples data at 10kHz from 12-bit analog pin using Serial.println on Windows:

With raw data it could be: 10'000 * (12+2) = 140'000 bits/second (baud rate)