From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to interface myRIO with Be and send and receive data wireless's?

Hi guys,

 

I just want to send some sensor data from multiple myRIOs to a single myRIO. I can use the inbuilt wifi in myRIOs but they don't work in long distances. So I want to connect xBees to myRIO and use them to send and receive data over a long distance. But I am not sure how to start.

 

Any kind of help will be really appreciated. Thank you so much!

 

 

0 Kudos
Message 1 of 5
(5,207 Views)

It depends on which xBee adapter you use and what protocols the adapter supports to transmit data.  If your xBee support basic communication procols like SPI or I2C or UART..., then you could straight away build RT VIs for your application and hand the communication using myRIO's factory FPGA personality.  I am unfamiliar with xBee, but I can say that if your xBee adapter communicates directly in some of its own protocol (i.e., without basic intermedate communication protocols), then you want to xBee own driver to send/receive data. Also, in myRIO, you would need RT supported drivers to handle it.  Otherway is that if you have FPGA personality which handles its own protocol, you can use it in myRIO.

 

Some info about xBee toolkit for LabVIEW can be found here https://decibel.ni.com/content/groups/zigbee-toolkit-support-page

 

Thanks,

Ajay.

--
Ajay MV


0 Kudos
Message 2 of 5
(5,184 Views)

Thank you so much for the reply Ajay.

 

xBee uses a mesh protocol, https://en.wikipedia.org/wiki/IEEE_802.15.4

 

And "Practically the XBee module can be viewed as a modem because it mainly uses a UART (serial interface) to communicate with the main board." from http://cpham.perso.univ-pau.fr/WSN/XBee.html

 

Which means I will be able to " straight away build RT VIs for your application and hand the communication using myRIO's factory FPGA personality." right? Do you have an example for this sir? Or do you know where to find one?

 

Sorry, I am very new to this so I am a bit lost.

 

anniyan23

0 Kudos
Message 3 of 5
(5,176 Views)
When you create new project of myRIO , it gives an RT VI in it. In that VI, you can replace the accelerometer express VI with the UART express VI to kick start your communication with xBee
--
Ajay MV


0 Kudos
Message 4 of 5
(5,170 Views)

Sir,

I have to send data wirelessly from sensor like lm35 to myrio using xbee..How can I do it..? I am very much new to myrio ..So can you help me in this regard..

0 Kudos
Message 5 of 5
(3,850 Views)