connecting eb500 from boe bot and matlab

Hi
im trying to connect my (boe bot) eb500 bluetooth modul and my pc via matlab,but i have some problems.(i'm using an usb bluetooth dongle as serial com6 )
When i try to open my port (i set the default values to 9600 Baud, 8 Data Bits, 1 Stop Bit, No Parity, and No Flow Control and terminator from 'LF' to 'CR' because that are the deafualt values my boebot expects)
s=serial('com6')
fopne(s)
display(s)
Read/Write State
TransferStatus: idle
BytesAvailable: 0
ValuesReceived: 0
ValuesSent: 0
it says that no bytes are available and nothing is received.I get also an error when trying to write () or when trying to read (Warning: A timeout occurred before the Terminator was reached)
I noticed that when i connect to com6 the LED doesn't turn on but when i use hyperlink and connect to com6 the LED turns on.(so i'm assuming that matlab doesn't recognise my eb500 modul????)
I also tried tmtool but nothing heps ):
I'm using win7 64-bit and matlab 2010b 64-bit.

3 件のコメント

Chirag Gupta
Chirag Gupta 2012 年 1 月 17 日
This typically suggests that there is some setting mismatch!
You could try with Matlab R2011b & Instrument Control toolbox where bluetooth is supported directly!
samir
samir 2012 年 1 月 19 日
ok i will try it with matlab r2011b and see if this helps
samir
samir 2012 年 1 月 19 日
i installed matlab 2011b and searched for my robot using tmtool and refresh hardware but he didin't find it :S

サインインしてコメントする。

 採用された回答

samir
samir 2012 年 1 月 24 日

0 投票

Ok i changed my bluetooth dongle and it works now ,the LED works also when i connect to my pc.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

質問済み:

2012 年 1 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by