Fault finder: Sensor to phone over MQTT

9 checks for this build on the ESP32. Work from the top: power first, then each part, then the code.

0 of 9 checked
Power🔧 DC volts, 20 V rangeCheck 1 of 9

ESP32 supply pin

Plug the ESP32 into USB. Black probe on a GND pin, red probe on the 3V3 pin of the board.

You should see: 3.15 to 3.45 V

V

Readings are compared with the ranges for this build's parts. A meter on the wrong range or a loose probe gives odd numbers: check those first.

Common faults in this build

MQTT failed, state -2: what should I check?

The board cannot reach the broker: check Wi-Fi, and that the network allows port 1883.

Phone shows nothing: what should I check?

The topic must match exactly, including capitals and slashes.

Humidity reads 0: what should I check?

Your board is a BMP280, which has no humidity sensor.