# How to connect DHT11 sensor with Xbee S2 and read the samples without external microcontroller

**URL:** <https://forums.digi.com/t/how-to-connect-dht11-sensor-with-xbee-s2-and-read-the-samples-without-external-microcontroller/18691>\
**Category:** Other RF Products\
**Tags:** sensor, digital-io, xbee-s2c, xbee-java-library\
**Created:** [September 5, 2017, 1:21pm UTC](https://forums.digi.com/t/how-to-connect-dht11-sensor-with-xbee-s2-and-read-the-samples-without-external-microcontroller/18691 "2017-09-05T13:21:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jserra](https://avatars.discourse-cdn.com/v4/letter/j/f19dbf/32.png) [@Jserra](https://forums.digi.com/u/Jserra)\
**Post date:** [September 5, 2017, 1:21pm UTC](https://forums.digi.com/t/how-to-connect-dht11-sensor-with-xbee-s2-and-read-the-samples-without-external-microcontroller/18691/1 "2017-09-05T13:21:12Z")

</div>

Hi everyone! I am working on a project and I would to know if it is possible to connect the digital output of a DHT11 sensor to a digital input of XBee Series 2 directly (without any external microcontroller) and read the samples from a PC using Java. I have others sensors with analog output and they work well with Xbee-Java-Library. Thanks in advance!

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [September 5, 2017, 2:35pm UTC](https://forums.digi.com/t/how-to-connect-dht11-sensor-with-xbee-s2-and-read-the-samples-without-external-microcontroller/18691/2 "2017-09-05T14:35:45Z")

</div>

Everything I am finding points to a Data lines at 5V. So you would need to connect the data line to a level shifter and then to the radios 3V CMOS DI line.
