# Connection xbee with tuya sensor

**URL:** <https://forums.digi.com/t/connection-xbee-with-tuya-sensor/28740>\
**Category:** XBee - Zigbee\
**Created:** [December 9, 2023, 7:03am UTC](https://forums.digi.com/t/connection-xbee-with-tuya-sensor/28740 "2023-12-09T07:03:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![DDD](https://avatars.discourse-cdn.com/v4/letter/d/9fc348/32.png) [@DDD](https://forums.digi.com/u/DDD)\
**Post date:** [December 9, 2023, 7:03am UTC](https://forums.digi.com/t/connection-xbee-with-tuya-sensor/28740/1 "2023-12-09T07:03:57Z")

</div>

Hi,

I like to build a weather station with an outdoor sensor with

- Arduino Uno
- XBee S1
- Arduino Wireless SD Shield  
\*\* [https://docs.arduino.cc/retired/shields/arduino-wireless-sd-shield](https://docs.arduino.cc/retired/shields/arduino-wireless-sd-shield)
- Tuya Zigbee Temperature and Humidity Sensor Model ZTH01  
\*\* [Tuya Temperature and Humidity Sensor ZTH01 Zigbee compatibility](https://zigbee.blakadder.com/Tuya_ZTH01.html)

How can I get this sensor connected to the XBee S1 in order to read  
sensor data?

I need only temperature & humidity of one outdoor sensor.

XCTU recognise XBee S1. I can change to API-Mode and Coordinator-Mode.  
I expected that XBee will find sensor but it doesn’t.

Now I think that I miss something important.

Can you help?

Thanks!

---

<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:** [December 11, 2023, 12:54pm UTC](https://forums.digi.com/t/connection-xbee-with-tuya-sensor/28740/2 "2023-12-11T12:54:36Z")

</div>

The sensor you are using needs to be a 0 - 3V analog output sensor that is connected to an ADC line of the XBee. You also need to have that line enabled on the module.

---

<div class="post-metadata">

**Author:** ![DDD](https://avatars.discourse-cdn.com/v4/letter/d/9fc348/32.png) [@DDD](https://forums.digi.com/u/DDD)\
**Post date:** [December 11, 2023, 4:25pm UTC](https://forums.digi.com/t/connection-xbee-with-tuya-sensor/28740/3 "2023-12-11T16:25:41Z")

</div>

Hi mvut,

Thanks for your answer.

I’m aware of your proposed solution but then there is no need for XBee S1 and Sensor ZTH01.

Both Xbee S1 and ZTH01 can IEEE 802.15.4 Only point-to-point Connection is needed  
which Xbee S1 supports.

Aim is to read ZTH01 temperature and humidity by Arduino using this Xbee module.

Is that generally possible? If yes then how?

---

<div class="post-metadata">

**Author:** ![DDD](https://avatars.discourse-cdn.com/v4/letter/d/9fc348/32.png) [@DDD](https://forums.digi.com/u/DDD)\
**Post date:** [December 20, 2023, 7:36am UTC](https://forums.digi.com/t/connection-xbee-with-tuya-sensor/28740/4 "2023-12-20T07:36:27Z")

</div>

Is that connection between Xbee and sensor generally possible or where is the problem located?

No expert around who can help?

---

<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:** [December 20, 2023, 2:53pm UTC](https://forums.digi.com/t/connection-xbee-with-tuya-sensor/28740/5 "2023-12-20T14:53:19Z")

</div>

> [@DDD](#):
>
> Sensor ZTH01

I did some more research and I don’t see this working with the XBee S1. You would need a product that works with the Zigbee Home Automation protocol. [Tuya Temperature and Humidity Sensor ZTH01 Zigbee compatibility](https://zigbee.blakadder.com/Tuya_ZTH01.html)

That would be more like the XBee3 or XBee S2C modules.

---

<div class="post-metadata">

**Author:** ![pythonfullstack](https://avatars.discourse-cdn.com/v4/letter/p/87869e/32.png) [@pythonfullstack](https://forums.digi.com/u/pythonfullstack)\
**Post date:** [February 20, 2025, 10:19am UTC](https://forums.digi.com/t/connection-xbee-with-tuya-sensor/28740/6 "2025-02-20T10:19:18Z")

</div>

great post keep posting  
[python full stack training in hyderabad](https://pythonfullstackmasters.in/)
