Download Print this page

KEYES HM-10 Manual page 2

Advertisement

10. Security feature: Authentication and encryption
11. Supporting service: Central & Peripheral UUID FFE0, FFE1
12. Power consumption: Auto sleep mode, stand by current 400uA~800uA, 8.5mA
during transmission.
13. Power supply: 5V DC
14. Working temperature: –5 ~ +65 Centigrade
15. Weight: 3.2g
16. Size: 46*17*5mm
Circuit connection
1
2
3
4
Sample Code
int val;
int ledpin=13;
void setup()
{
Serial.begin(9600);
pinMode(ledpin,OUTPUT);
} void loop()
{ val=Serial.read();
if(val=='a')
{
digitalWrite(ledpin,HIGH);
delay(250);
digitalWrite(ledpin,LOW);
delay(250);
Serial.println("keyestudio");
}
}
keyes
HM-10 Bluetooth-4.0 V2
VCC
GND
RX
https://keyes-robot.taobao.com
TX
Arduino Uno
5V
GND
D0(RX)
D1(TX)

Advertisement

loading