Matlab, Arduino, and XBee: does it work?

1 vue (au cours des 30 derniers jours)
Z.Me
Z.Me le 31 Juil 2012
Commenté : QINGHAI TAN le 27 Mar 2017
Hi! I have already tried using an Arduino Uno via Matlab and it works fine.
I would now like to go wireless, and I was considering using a pair of XBees. Has anybody tried and succeeded?
I have done extensive research on the Internet, but I don't find a decisive answer. I would like to know if everything works smoothly (as if USB and Wireless connections were the same thing), or if there are some tricks/adjustments to be done.
Thanks.
  1 commentaire
QINGHAI TAN
QINGHAI TAN le 27 Mar 2017
hi does this works? im working on it also

Connectez-vous pour commenter.

Réponses (1)

Sreeram Mohan
Sreeram Mohan le 2 Août 2012
I have tried this combination for one of my hobby projects. The only thing to take care would be to configure the xbee pair first for communicating with each other (In most of the cases the pair should work without needing to be configured but if you are using a XBEE pro or different series you should probably do it through the XCTU software that Digi provides )
--sreeram
  1 commentaire
aadi
aadi le 12 Juin 2013
hi sreeram
i'm trying t send decimal values to the audino wirelesly using xbee but audino does understand it. it tried this code
s=serial(s,'com5') fopen(s) fwrite(s,100)
xbee attached to the computer send the data and receving xbee that is attached to the audino recevies it
but sudino does under stand it.
but when i send charter audino understand it. can u help me plz s=serial(s,'com5') fopen(s) fwrite(s,'a')

Connectez-vous pour commenter.

Catégories

En savoir plus sur MATLAB Support Package for Arduino Hardware dans Help Center et File Exchange

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by