I'm trying to use a pH probe with NodeMCU, the problem is that NodeMCU is 3.3V and the pH analog sensor requires 5V, at first I thought using the VIN pin but didn't work, then I used the VU pin from NodeMCU V3 (by Lolin) but it didn't give me the right values, like if it missed more power. Is there any other way? Or any esp8266 board which supports 5V into it's analog input?
Depending on your specific sensor and power supply setup you have following options:
Change supply voltage
Most resistive sensors don't have to power anything and will function just fine when supplied with less than 5V. Study the datasheet and make test measurements to find out whether this is suitable.
Use a voltage divider
Supply the sensor with 5V and use a simple voltage divider before connecting to your MCU and therefore measure 0-3.3V.
The simplest method is just a voltage divider - just as if you were interfacing a 5V logic signal output with a 3.3V input. However it may not work.
A voltage divider will only really be of use if the output of the pH sensor is low impedance. If it's not then you will need a very high impedance voltage divider, and the analog input of the ESP8266 isn't high enough impedance to support a very high impedance voltage divider - it will skew the results horribly.
So you may need to buffer the output of the pH sensor through an op-amp first.
If you use a unity gain non-inverting buffer you can then use a voltage divider to reduce the output voltage.
Alternatively, as others have suggested, use an external 5V ADC chip and logic level conversion to communicate with the ESP8266.