I am trying to use the DHT11 sensor temprature and humidity sensor with my Raspberry Pi 4B. When I connect the sensor with my Raspberry Pi and turn it on, the red LED on it starts blinking and it can't boot! I searched and found that it indicates that the power supply is messed up but I am using the official power supply! Also, I know that the Pi is not broken because it is working with the 2 channel relay and LEDs I have! This happens every time I connect the DHT11 sensor! This is the DHT11 temprature sensor I am using with my raspberry pi 4b [![The connections][2]][2]

My connections![![][3]][3]

Also, I tried wiring it again and it got heated up! How can I get it to work?

Closeup of my connections!


You don't have a DHT11, you have a module with a DHT11 and a resistor on it.

There are several variants of these with different pinouts. Unless these are labelled, you need to figure out which pin on the connector goes to which pin on the DHT11.

On my module the center pin is the V+ and the left the Data. (Yours looks similar, although the use a a Red wire for data is confusing and should be avoided!)

However you have connected yours to 5V and have thus applied 5V to a GPIO pin, which may have damaged the GPIO or the Pi itself.

The table in your original question (now deleted) showed connection should be to pin 1 3.3V. You also appear to be using a different GPIO connection to that listed.

Never connect any 5V source to the GPIO!

  • The PI is 5v tolerant IIRC – FourierFlux Feb 24 at 18:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.