I am trying to read the sensor data from the DHT21(AM2301) temperature and humidity sensor. According to the spec, the process of reading data is below:
MCU sends start signal - Sensor sends acknowledge signal - Sensor sends 40-bit data.
I am observing the data line through a scope. Start signals are okay, but sensor sends 64-bit data. Is there any possibility that causes the sensor to send 64-bit data instead of 40-bit data? If I do the calculations according to the first 40-bit, I get parity error. Here is the example output data:
0xFE - 0x80 - 0xFE - 0xDA - 0x59 - 0xFF - 0xFF - 0xFF
I also attached the scope view.