reading digital samples at xbee zb cordinator

25 views
Skip to first unread message

Yash Gajera

unread,
Apr 15, 2014, 4:50:31 PM4/15/14
to python-...@googlegroups.com
I am connecting DHT11 humidity sensor with xbee zb's digital input pin.This xbee is in Router RT mode. Unother xbee is connected to raspberry pi for receiving .But i'm unable collect the digital sample from sensor.What i got is like DIO-1 : True or DIO : false.So what can i do to get correct digital samples..

dccharacter

unread,
Apr 15, 2014, 5:57:39 PM4/15/14
to python-...@googlegroups.com
It's a 1-Wire sensor, this is not a "digital sample". You are trying to read a state of a pin and that's exactly what you get - pin HIGH or LOW. I don't think you'll be able to connect a 1-Wire sensor to an XBee without messing with XBee firmware. Or you'll have to put something in between that will talk with XBee through UART and with sensor through 1-Wire.
Reply all
Reply to author
Forward
0 new messages