Presentation is loading. Please wait.

Presentation is loading. Please wait.

ARDUINO+BLUETOOTH Arduino实现蓝牙数据传输.

Similar presentations


Presentation on theme: "ARDUINO+BLUETOOTH Arduino实现蓝牙数据传输."— Presentation transcript:

1 ARDUINO+BLUETOOTH Arduino实现蓝牙数据传输

2 Catalog Background My Work The result More Ideas

3 Background——arduino

4 SIG Background——Bluetooth Ericsson Mobile
Short Distance Wireless Communication Harald Bluetooth 蓝牙特殊利益集团SIG Ericsson IBM Intel Toshiba 技术标准制定 产品测试 协调使用 SIG

5 Background——Bluetooth

6 My Work TXD RXD AT

7 My Work

8 My Work 串口回环测试

9 My Work Android手机蓝牙测试

10 My Work

11 My Work

12 My Work ——The Voting System AT Commands

13 My Work ——The Voting System MASTER digitalWrite(bluetoothAT,HIGH);
Serial.println("AT"); Serial.println("AT+NAME=MASTER"); //命名模块名 Serial.println("AT+ROLE=1"); //设置主从模式:0从机,1主机 Serial.println("AT+PSWD=0000"); //设置配对密码,如1234 Serial.println("AT+UART=9600,0,0"); //设置波特率9600,停止位1,校验位无 Serial.println("AT+RMAAD"); //清空配对列表 Serial.println(“AT+BIND=2013,10,110025”);//设定从机的地址,保持格式一致 Serial.println("AT+CMODE=0"); //开启自动连接 delay(50);

14 My Work ——The Voting System SLAVE
digitalWrite(AT,HIGH); //AT的电平给高,用于输入AT指令 Serial.begin(9600); //这里应该和你的模块通信波特率一致 Serial.println("AT"); Serial.println("AT+NAME=SLAVER1");//命名模块名 Serial.println("AT+ROLE=0"); //设置主从模式:0从机,1主机 Serial.println("AT+PSWD=0000"); //设置配对密码,如1234 Serial.println("AT+UART=9600,0,0");//设置波特率9600,停止位1,校验位无 Serial.println("AT+RMAAD"); //清空配对列表

15 The Result Let’s show

16 More Ideas ······

17 Q&A

18 THX


Download ppt "ARDUINO+BLUETOOTH Arduino实现蓝牙数据传输."

Similar presentations


Ads by Google