Joke Collection Website - Public benefit messages - The read data of raspberry pie dht 1 1 is incorrect.

The read data of raspberry pie dht 1 1 is incorrect.

Power problems, connection problems, programming problems.

1, power supply problem: the working voltage of DHT 1 1 is 3-5V. If the power supply voltage is insufficient or too high, data cannot be read.

2. Connection problem: Ensure that DHT 1 1 is connected with the controller correctly. DHT 1 1 has three pins: VCC, data and GND. VCC is connected to the positive electrode, GND is connected to the negative electrode, and data is connected to the GPIO pin of the controller.

3. Programming problem: Make sure the code is correct. Before reading data, you need to send a start signal, and then wait for DHT 1 1 to respond and send data. If the code is wrong, the data cannot be read correctly.