Bluetooth V4.0 HM-11 BLE Module
http://wiki.seeedstudio.com/Bluetooth_V4.0_HM_11_BLE_Module/
6/1/2018
Bluetooth V4.0 HM-11 BLE Module
http://wiki.seeedstudio.com/Bluetooth_V4.0_HM_11_BLE_Module/
6/1/2018
Bluetooth V4.0 HM-11 BLE Module
Speci¡cation
Value
http://wiki.seeedstudio.com/Bluetooth_V4.0_HM_11_BLE_Module/
6/1/2018
Bluetooth V4.0 HM-11 BLE Module
Speci¡cation
Min
Typ
Max
http://wiki.seeedstudio.com/Bluetooth_V4.0_HM_11_BLE_Module/
Unit
6/1/2018
Bluetooth V4.0 HM-11 BLE Module
Pin
Name
Description
http://wiki.seeedstudio.com/Bluetooth_V4.0_HM_11_BLE_Module/
6/1/2018
Bluetooth V4.0 HM-11 BLE Module
http://wiki.seeedstudio.com/Bluetooth_V4.0_HM_11_BLE_Module/
6/1/2018
Bluetooth V4.0 HM-11 BLE Module
http://wiki.seeedstudio.com/Bluetooth_V4.0_HM_11_BLE_Module/
6/1/2018
Bluetooth V4.0 HM-11 BLE Module
/*
This example code is in the public domain.
*/
#include
SoftwareSerial mySerial(2, 3); // RX, TX
http://wiki.seeedstudio.com/Bluetooth_V4.0_HM_11_BLE_Module/
6/1/2018
Bluetooth V4.0 HM-11 BLE Module
void setup()
{
// Open serial communications and wait for port to open:
Serial.begin(9600);
while (!Serial) {
; // wait for serial port to connect. Needed for Leonardo only
}
Serial.println("Goodnight moon!");
// set the data rate for the SoftwareSerial port
mySerial.begin(9600);
// set master
mySerial.print("AT+ROLE1");
delay(10000);
}
void loop() // run over and over
{
// set the data rate for the SoftwareSerial port
mySerial.print("test I am master ");
delay(10000);
if (mySerial.available())
Serial.write(mySerial.read());
if (Serial.available())
mySerial.write(Serial.read());
}
/*
This example code is in the public domain.
*/
#include
SoftwareSerial mySerial(2, 3); // RX, TX
http://wiki.seeedstudio.com/Bluetooth_V4.0_HM_11_BLE_Module/
6/1/2018
Bluetooth V4.0 HM-11 BLE Module
void setup()
{
// Open serial communications and wait for port to open:
Serial.begin(9600);
while (!Serial) {
; // wait for serial port to connect. Needed for Leonardo only
}
Serial.println("Goodnight moon!");
// set the data rate for the SoftwareSerial port
mySerial.begin(9600);
// set slave
mySerial.print("AT+ROLE0");
delay(10000);
}
void loop() // run over and over
{
// set the data rate for the SoftwareSerial port
mySerial.print("test I am slave ");
delay(10000);
if (mySerial.available())
Serial.write(mySerial.read());
if (Serial.available())
mySerial.write(Serial.read());
}
http://wiki.seeedstudio.com/Bluetooth_V4.0_HM_11_BLE_Module/
6/1/2018
很抱歉,暂时无法提供与“317030001”相匹配的价格&库存,您可以联系我们找货
免费人工找货