When the ESP32 boots up I don't get a correct reading.
Only after disconnecting the VIN Pin and reconnecting the VIN Pin, the readings are correct.
After putting the ESP32 in deep sleep and waking it up the readings are incorrect again.
RTD value: 0
Ratio = 0.00000000
Resistance = 0.00000000
Temperature = -242.02
Fault 0x40
RTD Low Threshold
After disconnecting VIN and reconnect VIN this is the output:
RTD value: 8320
Ratio = 0.25390625
Resistance = 1091.79687500
Temperature = 23.57
When the ESP32 boots up and i have the VIN disconnected and reconnect the VIN the temperature readings are also correct.
Is it possible that the MAX31865 boots up faster than the ESP32?
Vin of the MAX31865 is the input of it's onboard 3.3volt regulator, so should be connected to 5volt (at least 3.5volt). Connect Vin of the MAX to Vin of the ESP.
Use a short/fat USB cable. The ESP can do weird things when it's not getting enough power.
Leo..
Adafruit gives range 3-5V for VIN, so if your board is from them or equal clone, that should not be concern. Are you 100% sure about your soldering quality on selection pads and resistor?
I took a new MAX31865 soldered everything carefully and now it works!
Either the other board is not working correctly or I have messed up some soldering.