Yes, it is possible to use an XBee module to capture the value of a DHT11 digital sensor, but not directly. The DHT11 sensor communicates using a one-wire proprietary protocol, which XBee modules do not natively support.
Using a Microcontroller (Recommended)
Connect the DHT11 to an Arduino, ESP8266, or another microcontroller.
Read the sensor data using the microcontroller.
Transmit the data via XBee UART (Serial Communication) to another XBee module.
Using XBee I/O Line Passing (Not Suitable for DHT11)
XBee DIO (Digital I/O) pins can only transmit single-bit values (HIGH or LOW).
The DHT11 outputs multi-byte data (temperature & humidity), so it cannot be directly connected to an XBee digital input.
DHT11 sends 40 bits (5 bytes) of data, but XBee’s digital input only supports single-bit data.
XBee lacks the required timing precision to decode the DHT11’s protocol.
To capture DHT11 data using an XBee module, you must use a microcontroller (e.g., Arduino) to read the sensor and send the processed data via UART (Serial) to the XBee for wireless transmission.
4o