Popis
| Základná doska sériového prenosníka Bluetooth modulu HC-05/06 pre Arduino | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
|||||||||||||
| Popis: | Základná doska sériového prenosníka Bluetooth modulu HC-05/06 je pohodlný a jednoducho použiteľný modul pre pridanie funkcionality Bluetooth do vašich Arduino projektov. Tento modul umožňuje bezdrôtovú komunikáciu medzi vašou doskou Arduino a ďalšími zariadeniami s funkciou Bluetooth, ako sú smartfóny, tablety alebo iné mikrokontroléry. Často sa používa na vytváranie bezdrôtových senzorových sietí, systémov na diaľkové ovládanie alebo projektov domácej automatizácie s funkciou Bluetooth. | ||||||||||||
| Funkcie: |
|
||||||||||||
| Parametre: |
|
||||||||||||
| Príkladový kód: |
#include
SoftwareSerial bluetooth(2, 3); // RX, TX piny pre Bluetooth modul
void setup() {
Serial.begin(9600); // Spustenie sériovej komunikácie s počítačom
bluetooth.begin(9600); // Spustenie sériovej komunikácie s Bluetooth modulom
}
void loop() {
if (bluetooth.available()) {
char c = bluetooth.read(); // Čítanie znaku z Bluetooth
Serial.write(c); // Tlač znaku do sériovej konzoly
}
if (Serial.available()) {
char c = Serial.read(); // Čítanie znaku zo sériovej konzoly
bluetooth.write(c); // Poslanie znaku na Bluetooth modul
}
}
|
||||||||||||
| Base Board Serial Transceiver Bluetooth Module HC-05/06 for Arduino | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
|||||||||||||
| Description: | The Base Board Serial Transceiver Bluetooth Module HC-05/06 is a convenient and easy-to-use module for adding Bluetooth functionality to your Arduino projects. This module allows wireless communication between your Arduino board and other Bluetooth-enabled devices, such as smartphones, tablets, or other microcontrollers. It is commonly used for creating wireless sensor networks, remote control systems, or Bluetooth-enabled home automation projects. | ||||||||||||
| Features: |
|
||||||||||||
| Parameters: |
|
||||||||||||
| Sample Code: |
#include
SoftwareSerial bluetooth(2, 3); // RX, TX pins for Bluetooth module
void setup() {
Serial.begin(9600); // Start serial communication with computer
bluetooth.begin(9600); // Start serial communication with Bluetooth module
}
void loop() {
if (bluetooth.available()) {
char c = bluetooth.read(); // Read character from Bluetooth
Serial.write(c); // Print character to serial monitor
}
if (Serial.available()) {
char c = Serial.read(); // Read character from serial monitor
bluetooth.write(c); // Send character to Bluetooth module
}
}
|
||||||||||||
Základná doska Serial Transceiver Bluetooth Modul HC-05 06 pre Arduino
špecifikácia:
Komerčná séria: Séria modulov Bluetooth
S LED indikátorom použite 150mA a 3,3V regulačný čip.
S nohou VCC GND TXD RXD pre Bluetooth.
Pomocou tlačidla “Znova vyhľadať” (na to nožička ON/OFF/WAKE, externý výstup MCU “High level” môže ovládať modul na opätovné vyhľadávanie).
Kompatibilné s bluetooth master modulom”. slave module” alebo master-slave (celým) modulom.
Vstupné napätie: 3,3~6V.
Veľkosť: 1,55 cm * 3,98 cm.
Poznámka:
Vstupné napájanie 3,3 ~ 6V, zakázať viac ako 7V
Žiadne “Automaticky zabrániť prerušeniu napájania”, takže správne pripojte napájanie
Odporúčame nainštalovať “Bluetooth master modul”
“State” je výstupná pätka pre stav LED, keď bluetooth “Nepripojené”, výstup “Pulse” ; keď je bluetooth “pripojené”, výstup “High level”, môžeme určiť stavy z “MCU”
Len doska, žiadna „funkcia Bluetooth“






