Hello .I have a problem with DHT11 sensor (temperature and humidity sensor).
In serial monitor ,I get 0.00 C for temperature and 0.00 % for humidity. <<<-------
The connections is good(the blue plastic of the sensor is UP and in the right position I have GND ,left I have the pin 7 and in the middle I have the VCC.
According to the instructions in the library in the IDE, these are the connections, which differ from yours. But then maybe although the chip's connections would all be the same, breakout board modules may differ in how they bring those to the edge.
// Connect pin 1 (on the left) of the sensor to +5V
// NOTE: If using a board with 3.3V logic like an Arduino Due connect pin 1
// to 3.3V instead of 5V!
// Connect pin 2 of the sensor to whatever your DHTPIN is
// Connect pin 4 (on the right) of the sensor to GROUND
// Connect a 10K resistor from pin 2 (data) to pin 1 (power) of the sensor
It looks to me as though the instructions in the library refer to the pins on the bare DHT11, which has 4 pins (one of which is not used), whereas the image in the project is of a module board which has 3 pins.
Either way the far left and far right pins are 5V and GND respectively
Do you have a bare sensor (4 pins) or a module (3 pins) ?