Sven;
Thanks for the pics and the code snippet. I have a few more questions for clarity. Is there any kind of R-C network on your measurement pins now; either to ground or between the pins? It appears that you have a clean signal when operating from a "floating" battery supply and a noisy one when using a supply plugged into the wall outlet (referenced to local earth). Is that true? From your expanded comments my original comment about the USB source being the current limiter does not apply; your excitation pin is connected to the regulated 3.3 of the Espruino through the port pin (that is my reading). Is that a correct reading of the setup?
Cheers,
Chris
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Sven;
Thanks for the pics and the code snippet. I have a few more questions for clarity. Is there any kind of R-C network on your measurement pins now; either to ground or between the pins? It appears that you have a clean signal when operating from a "floating" battery supply and a noisy one when using a supply plugged into the wall outlet (referenced to local earth). Is that true? From your expanded comments my original comment about the USB source being the current limiter does not apply; your excitation pin is connected to the regulated 3.3 of the Espruino through the port pin (that is my reading). Is that a correct reading of the setup?
Cheers,
Chris