Yun analogRead() gives diffrent value than leonardo and UNO analogRead()

Hi

Im running simple code to check PH and ORP on UNO board and everything run very good
Now i got my new Yun and the numbers that Im getting are different from the Leonard and UNO numbes

as far as i know the Yun should work the same as the other board analogRead() dose it ?

this is my code:

#include <OneWire.h>


delay(1000); //just here to slow down the output so it is easier to read
   analogRead(A0);     // pH Level equation
    
    float PHprobe = analogRead(A0);     // pH Level equation
    float PHLevel = (0.0178 * (PHprobe) - 1.889);  //PHprobe -26  //-14
    float HOT_pH = -1.9 - (((2.5 - PHprobe)/200) / (0.257179 + 0.000941468 * temperature));  // - 1.9
     
       
   Serial.println(PHLevel);
   Serial.println("Request sent PH");

 delay(1000); //just here to slow down the output so it is easier to read
    int mV;
    analogRead(A1);
    float ORPprobe = analogRead(A1);
    mV = ((2.5 - ORPprobe / 200) / 1.037)* 1000;
    
 
  
Serial.println(mV);
Serial.println("Request sent ROX");

[\code]

How much differrent are the two numbers?

The Arduino Yun has issues with the voltage on pin 5V. It provides aroung 4.3 V so if you are powering your circuit with that pin you will have a different reading.

Hi

Ill try powering the circuit from external power supply and update all .

TNX