JDY-31 Bluetoothモジュール

警告
このモジュールは**Appleデバイスとの接続をサポートしていません**。このモジュールを使用するチュートリアルには、Android携帯またはタブレットが必要です。
JDY-31 Bluetoothモジュールは、HC-06 Bluetoothモジュールのピン互換の代替品です。HC-06よりも簡単で使いやすく、わずかに低価格で入手できることが多いです。
JDY-31 BluetoothモジュールはBluetooth 3.0 SPP設計に基づいており、Windows、Linux、およびAndroidのデータ送信をサポートできます。JDY-31 Bluetoothモジュールの動作周波数は2.4 GHzで、変調方式はGFSKです。最大送信出力は8 dBで、最大送信距離は30メートルです。ユーザーはATコマンドを使用して、デバイス名、ボーレートなどの設定を変更できます。
JDY-31のピンとその機能:

Pin |
Name |
Description |
---|---|---|
1 |
STATE |
Connection status pin (not connected low level, output high level after connectio) |
2 |
RXD |
Receiver pin, this pin must connect to TX pin of next device. |
3 |
TXD |
Transmitter pin, this pin must connect to RX pin of next device. |
4 |
GND |
GND |
5 |
VCC |
Power Supply(1.8-3.6V, 3.3v recommended) |
6 |
EN |
enable or disable the module. When this pin is held high, the module is enabled and begins transmitting and receiving data. |
パッチ適用:一般的なアプリケーションではVCC、GND、RXD、TXDの4ピンを接続するだけでよく、接続状態で積極的に切断する必要がある場合は、接続状態でAT+DISCを送信します。
ATコマンドセット
例
レッスン36: Bluetoothモジュールの始め方 (Arduino UNO)
レッスン46: Bluetooth LCD (Arduino UNO)
レッスン47: Bluetooth信号機 (Arduino UNO)