藍芽無線傳輸

Wireless Bluetooth TTL Transceiver Module

* A Bluetooth adapter is required and installed on your computer, after pairing, a virtual COM port will be installed on your computer that allows you to send or receive the data from the module.

**預設的藍芽配對碼為1234 Default Paircode:1234

  • 程式原始碼範例 - UART Transmission

Tx BT code demo.c
  • 程式說明 - UART Transmission

It comes from TI's MSP430F20xx esamples and it has been readjusted to be used with the Launchpad.

This snippet is particularly useful if you need to send data from sensors to a serial bluetooth module.

The program transmits the data stored in the TXByte variable on the serial line at 2400 baud.

It's pretty well commented, you shouldn't finda so much trouble understanding it.

Instead of placing the transmission function in the main loop, you could update TXByte and transmit it in a port interrupt for example.

  • 藍芽模組資料下載

http://www.wavesen.com/download.asp

HC-0X用戶選型及使用指導概述

HC-06藍牙規格文檔-修訂2

HC-05藍牙規格文檔

http://www.wavesen.com/download.asp?page=2

HC-03/05主從一體藍牙串口模組指令集

  • 參考資料

http://www.mcuapps.com/blog/2012/03/01/control-the-lights-with-your-android-phone