Hi, I'm trying to read a voltage on a analog pin with my teensy 3.6 but there are a lot of fluctuations in the readings.
I first read the tension of my power supply (12v, after a tension divider (r1 = 3.9kOhms and R2 = 1kOhms), and this adc line is clamped with two diodes between +3v3 from one LM1117 and ground, the readings are very stable.
I then try to read another tension, clamped to a stable +5v, and this time my tension divider is r1 = 180kOhms and r2 = 330kOhms, the readings are pretty chaotics.
All my adc's lines have two filter capacitors to prevent fluctuations.
What's weird is that when I read this tension with my Arduino Uno, it's very very very stable, like it should be with my Teensy, even with my voltmeter the value is stable
Do you have any ideas on what is going on ?
Thank you very much for your help
I first read the tension of my power supply (12v, after a tension divider (r1 = 3.9kOhms and R2 = 1kOhms), and this adc line is clamped with two diodes between +3v3 from one LM1117 and ground, the readings are very stable.
I then try to read another tension, clamped to a stable +5v, and this time my tension divider is r1 = 180kOhms and r2 = 330kOhms, the readings are pretty chaotics.
All my adc's lines have two filter capacitors to prevent fluctuations.
What's weird is that when I read this tension with my Arduino Uno, it's very very very stable, like it should be with my Teensy, even with my voltmeter the value is stable
Do you have any ideas on what is going on ?
Thank you very much for your help