RPi + XBee ZB 24 + XBee sensor LHT from Digi
Posted: Mon May 11, 2015 6:25 pm
Hi guys,
My current setup is as follows:
1 x RPi 2 B
1 x XBee ZB series 2 from Digi
1 x RPi to Arduino shield connection bridge
1 x XBee sensor LHT which contains an XBee ZB series 2 module inside also from Digi
Everything is connected and works until one point. My XBee module is configured as a AT COORDINATOR in the network with the firmware 20A7, flashed through X-CTU (Digi software). The sensor has the default 2813 firmware which makes it an AT END DEVICE. So far I managed to connect the sensor to the network (blinking ASSC. LED), but I'm unable to read anything from the sensor.
So I try and use minicom (at 9600 with 8N1, just like the xbee) and when I type 'AT' and hit enter, the cursor just goes to the beginning of the same line and nothing happens. Moreover, I can go with the arrow keys from the keyboard anywhere on the screen and type whatever, but pressing enter just gets the cursor at the beginning of the same line with the text still there. I'm not sure about this behavior as I'm new to Linux, but I'm looking for some answers.
What I'm trying to do here is connect somehow to the sensor and configure it to sleep a 'x' amount of time and send me the data that I need (light, humidity and temperature) when I need it. Can anyone help me with this? From what I've read, the easiest way is to buy the ConnectPortX gateway modules from Digi, but I'm interested to see whether I can do that without having to buy this gateway. (this is a last resort thing)
Has anyone worked with these products?
Can anyone help or just point me in the right direction?
Thank you very much,
Sorin
My current setup is as follows:
1 x RPi 2 B
1 x XBee ZB series 2 from Digi
1 x RPi to Arduino shield connection bridge
1 x XBee sensor LHT which contains an XBee ZB series 2 module inside also from Digi
Everything is connected and works until one point. My XBee module is configured as a AT COORDINATOR in the network with the firmware 20A7, flashed through X-CTU (Digi software). The sensor has the default 2813 firmware which makes it an AT END DEVICE. So far I managed to connect the sensor to the network (blinking ASSC. LED), but I'm unable to read anything from the sensor.
So I try and use minicom (at 9600 with 8N1, just like the xbee) and when I type 'AT' and hit enter, the cursor just goes to the beginning of the same line and nothing happens. Moreover, I can go with the arrow keys from the keyboard anywhere on the screen and type whatever, but pressing enter just gets the cursor at the beginning of the same line with the text still there. I'm not sure about this behavior as I'm new to Linux, but I'm looking for some answers.
What I'm trying to do here is connect somehow to the sensor and configure it to sleep a 'x' amount of time and send me the data that I need (light, humidity and temperature) when I need it. Can anyone help me with this? From what I've read, the easiest way is to buy the ConnectPortX gateway modules from Digi, but I'm interested to see whether I can do that without having to buy this gateway. (this is a last resort thing)
Has anyone worked with these products?
Can anyone help or just point me in the right direction?
Thank you very much,
Sorin