Noise on Serial #8037
Unanswered
pschatzmann
asked this question in
Q&A
Noise on Serial
#8037
Replies: 1 comment
-
I came to the following conclusion: the issue most likely comes from using the binary data. If just one byte gets lost, the subsequent data can not be read correctly any more... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to read an audio signal that is generated by the ESP32 via Serial using the USB cable of my desktop. To test the functionality I am using a sine wave. The data is written as binary pcm signal (an array of int16_t) with theS help of Serial.write(uint8_t*, size_t len).
On the desktop I am reading the data with the help of Python pyserial.
It is a kind of half working and I am getting an interleaving clean signal that is followed by noise:

I am currently clueless where this might come from.
Would you have any idea ?
Beta Was this translation helpful? Give feedback.
All reactions