DHT11 getting really hot

i dont really know what category to put this under so I just put it under sensors. i really wish there was like a “Troubleshooting” or something but anyway, im reaching out because when i plug in my DHT11 water/humidity and temp sensor, it gets very hot. i am wiring it like this because there is no labels on it for wiring. it has 3 pins.

first pin (Farthest left) >>> D0

Second pin (Middle) >>> GND

Third Pin (Right) >>> 5V.

please help. i honestly think if i didn’t pick it up to plug in the D0 wire the fell off (the wires i have are cheap and have like, no grip whatsoever), it might’ve caught on fire…

I suspect your guess at which wire was which was incorrect.

I also suspect that the DHT11 is now toast.

:sob: NO!

RIP DHT11
2025-2025

Last words:
”DHT11 was not declared in this scope”

… shoot..