I know this may not be an issue with Photon, but I would like to consult with your expertise. I am doing some magnetic measurements with Photons and Borons as the main microcontrollers, the problem is that sometimes my readings are very stable (figure 1), and sometimes they are some kind of square wave pattern (which is not expected from this kind of phenomena (figure 2)). Furthermore, I have been investigating possible sources of noise such as temperature, electronic and ADC resolution both in the laboratory and on the field but not any appreciable difference. I did this for the magnetic sensors and consulted with the manufacturer company, and we discarded them. So, the possible problem is reduced to originate from the interaction between the photon and the ADC (see figure 3 for scheme). I was told that this characteristic behavior is observed from an IC instrument going into different (voltage?) compensation. I just wanted to know if somebody has had a similar issue.
Thanks in advance for your help,
P.S. Please discard the third and forth subplot in figures 1 and 2.