Introduction - If you have any usage issues, please Google them yourself
DHT21 usage examples, hardware connection: P2.0 port as communication port connected DHT11, DHT11 the power and ground connections and power microcontroller, the microcontroller serial plus MAX232 connected computer.