Frage

Is possible to use an XBee module to capture the value of a DHT11 digital sensor? If I set the DIO1 to digital input I should receive the value into two bytes, but if the sensor returns more than two bytes how is possible to read the value using an XBee module?

War es hilfreich?

Lösung

In order to decode a signal like that, you would need a secondary processor. You might want to take a look at Digi's Programmable XBee modules, which include a Freescale HCS08 processor for additional code that you write. The adafruit page says that it, "requires careful timing to grab the data."

There's sample code on the Digi web page titled, "Developing Timer-Based, Bit-Banged Pulses with the Programmable XBee".

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top