Sorin_v2
Posts: 7
Joined: Fri May 08, 2015 3:02 pm

RPi + XBee ZB 24 + XBee sensor LHT from Digi

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

danjperron
Posts: 3502
Joined: Thu Dec 27, 2012 4:05 am
Location: Québec, Canada

Re: RPi + XBee ZB 24 + XBee sensor LHT from Digi

Tue May 12, 2015 11:27 pm

Could you make a small sketch of your design.

Did you type +++ to enter the command mode?

http://examples.digi.com

This is some stuff I did with the Xbee.

viewtopic.php?p=600981#p600981
viewtopic.php?p=657801#p657801
viewtopic.php?p=597024#p597024
viewtopic.php?p=463609#p463609

Sorin_v2
Posts: 7
Joined: Fri May 08, 2015 3:02 pm

Re: RPi + XBee ZB 24 + XBee sensor LHT from Digi

Wed May 13, 2015 3:20 pm

Hi,

Thank you for your reply.

So I have my coordinator XBee connected to the RPi through the RPi to Arduino shield connection bridge. This shield is from cooking hacks and it transforms my Pi pinout to an Arduino pinout but with the power of RPi. It also has a special socket for the XBee so I don't need a voltage reduction to 3.3V. THis shield is only so I could connect the XBee to my RPi without any breadboard and extra wiring. And then there is the XBee sensor which has the same exact XBee inside, but I cannot take it out without unsoldering it (I don't wish to do this unless necessary). I have uploaded a photo of how my setup is connected.

I tried entering configuration mode with +++, no enter and wait 1 sec between them, but nothing happens. The only good thing in all this is that the sensor connected to the network created by the coordinator. So now I'm trying to remotely configure the XBee on the sensor.
Attachments
System overview(detailed).jpg
This is the overview of my whole system, but I just need to finish this last part of it which is the Zigbee network. The 3G part is done.
System overview(detailed).jpg (56.85 KiB) Viewed 2076 times

Return to “Automation, sensing and robotics”