Hi,
Well starting off with a clearer head this morning ...
Both boards appear to have a diode between USB +5v and the AM1117 input pin
The Node MCU-32S board also has one between VIn and the AM1117, but the Espressif board is direct.
Was a bit concerned that my existing PSUs might have some weird fault, so decided to feed the PSU 5v direct to the ESP32 USB connector and the program failed to run correctly, But, the board still had the 470uf across Vin/Gnd from last night, so removed it, and then things ran ok , so that kind of proved the PSU was ok ...?
Then connected the PSU to Vin on the Espressif board but this time at appox 5.72v, but the 3v3 pin then recorded 4.12v , so quicky disconnected.
The Datasheet says the AM1117 needs just a 1v differential, so just cannot see whats happening here.
Even tried connecting the PCs USB +5v to Vin, but that just behaved as with my external PSUs, about 4.92 on Vin and 3.6v on 3v3 pin.
We could just power the board via the USB connector which seems to work ok.
However the controller is used for livestock which need good temperature control, and given the above problem it does leave us a little concerned about its reliability ...