Bluetooth Serial Module HC-06 Slave

คุณสมบัติสินค้า:

SKU : AP6308

Share

รายละเอียด Bluetooth Serial Module (HC-05 Master/Slave mode)

- Bluetooth protocal:  Bluetooth Specification v2.0+EDR
- Frequency:  2.4GHz ISM band
- Modulation:  GFSK(Gaussian Frequency Shift Keying)
- Emission power:  ≤4dBm, Class 2
- Sensitivity:  ≤-84dBm at 0.1% BER
- Speed: Asynchronous:  2.1Mbps(Max) / 160 kbps, Synchronous: 1Mbps/1Mbps
- Security:  Authentication and encryption
- Profiles:  Bluetooth serial port
- Power supply: +3.3VDC 50mA 
- Working temperature: -20 ~ +75 Centigrade
- Dimension: 26.9mm x 13mm x 2.2 mm

ตัวอย่าง code


/*
ASCII table
Prints out byte values in all possible formats:
- as raw binary values
- as ASCII-encoded decimal, hex, octal, and binary values
For more on ASCII, see http://www.asciitable.com and http://en.wikipedia.org/wiki/ASCII
The circuit: No external hardware needed.
created 2006
by Nicholas Zambetti <http://www.zambetti.com>
modified 9 Apr 2012
by Tom Igoe
This example code is in the public domain.
http://www.arduino.cc/en/Tutorial/ASCIITable
*/

void setup() {

Serial.begin(9600);

while (!Serial) {
; // wait for serial port to connect. Needed for native USB port only
}

Serial.println("ASCII Table ~ Character Map");
}

int thisByte = 33;

void loop() {

Serial.write(thisByte);

Serial.print(", dec: ");
Serial.print(thisByte);

Serial.print(", hex: ");
Serial.print(thisByte, HEX);

Serial.print(", oct: ");
Serial.print(thisByte, OCT);

Serial.print(", bin: ");
Serial.println(thisByte, BIN);

if (thisByte == 126) {
while (true) {
continue;
}
}
thisByte++;

}

arduino bluetooth hc-05 code

https://github.com/jdunmire/HC05

https://create.arduino.cc/projecthub/millerman4487/view-serial-monitor-over-bluetooth-fbb0e5?ref=tag&ref_id=bluetooth&offset=20

Powered by MakeWebEasy.com
เว็บไซต์นี้มีการใช้งานคุกกี้ เพื่อเพิ่มประสิทธิภาพและประสบการณ์ที่ดีในการใช้งานเว็บไซต์ของท่าน ท่านสามารถอ่านรายละเอียดเพิ่มเติมได้ที่ นโยบายความเป็นส่วนตัว  และ  นโยบายคุกกี้