各位高手您好
我這學期開始製作專題,而我負責的部分是藍芽傳輸,我們用的機器人是"AI馬達機器人"
http://www.icci.com.tw/ch/2307/md/MD0000002307001401T.html
↑上列網頁是我機器人產品的頁面
那我們專題的大概是
機器人上面會裝攝影機然後辨識使用者的動作,藉由機器人背後的RS232port 藍芽傳輸到電腦或者是遙控器,而我們也可以從遙控器或電腦利用藍芽傳輸,傳輸指令給機器人告訴機器人要做什麼事情。
我的問題是,我該如何寫程式讓藍芽做到接收指令和發送指令?
因為老師沒給資料,只有機器人上面的說明書而已,而說明書也只有寫到使用光碟內附的vb程式利用RS232 cable傳輸動作的程式到機器人上的晶片而已。
能不能請有相關經驗的人幫助我?

PS.可能我有PO錯版,但是我不知道要PO在哪個版比較恰當,抱歉!
我不是很懂,但看到你要做有趣的實驗,說明一下我的想法:
Bluetooth 如果你裝過它在你的PC 上你會發現它有一個服務叫做 serial port (或com port, 模擬類似RS232)
想辦法把你PC上的藍牙連上機器人rs232, 然後把它當作serial port 來存取,應該是可行的!!
至於程式詳請或實作可能要請教其它前輩或google 大神了

Hi,
這是我用一些關鍵字在 Google 找到的結果(rs232 wireless bluetooth, 只尋找 台灣的網頁)
第一個找到的連結
http://www.playrobot.com/menu05c_wlsrs232.htm
我想裡面的東西
可以滿足你專案的需求

另一家國外廠商
http://www.wcscnet.com/HdwBTRS232.htm
Bluetooth Wireless Serial Port Adapter

The Bluetooth Wireless Serial Port adapter is the ideal serial cable replacement. Use it to connect serial printers, serial scanners, or any other device to a computer or remote up to 300+ feet (100 meters) away. Click Here to see the types of uses for this product.

This Wireless Serial Port does not require a computer to function. After it is configured simply plug in and it is ready to work.

The Bluetooth Serial Port Adapter can be used with PDAs, computers, laptops, and smartphones that support the Bluetooth Serial Port Profile and Bluetooth Generic Access Profile. As such, this wireless serial port adapter is ideal for use in applications where a PDA or laptop would communicate with another device (SBC, RTU, sensor, robot, radio, PBX) wirelessly.
之前在 01 好像有人在賣 RS232->藍芽的 東東,

或去拆 BT GPS 內的BT 模組 , 找到 SD/RD/GND 接上 RS232就可以了(機器人端),

電腦端裝個 USB BT, 再搜尋配對, 可以找到 BT COM PORT ,

寫程式 開 那個COM PORT 就可以了...

P.S. 這是理論, 我沒有用過... 但是絕對可行.
文章分享
評分
評分
複製連結

今日熱門文章 網友點擊推薦!