Hi all!
I'm facing issues during the development of an "auto tester" that should run on a Raspberry Pi using the python API. For testing, I've also tried on a normal Ubuntu PC, and get the same results than the Pi.
The problem that I'm facing is with the readings, sometimes it get spikes down to 0, even when triying with a simple resistor.
On the following images you can see the diference between the first one is taken on the Ubuntu PC, and the other on a Windows PC.
.
The second one is more "sharp" without the spikes to 0 and much less noisier, also, some data is missing. For the record, is the exact same code executed on two same kind of PC (same hardware) but diferent OS.
If I try with a simple resistor, get the same result, lots of spikes to 0.
It can be how it's handled the serial ports by linux? Or, maybe, the API is not well optimized for Unix systems?