This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
pidflight:bluetooth [2017/12/28 15:26] cmengler [HC-06] |
pidflight:bluetooth [2018/03/22 15:47] (current) cmengler [Arduino] |
||
---|---|---|---|
Line 25: | Line 25: | ||
* **AT+NAME=<new name>** (e.g AT+NAME=PIDflight to set module name to "PIDflight") | * **AT+NAME=<new name>** (e.g AT+NAME=PIDflight to set module name to "PIDflight") | ||
+ | |||
+ | ==== Arduino ==== | ||
+ | An alternative option to setting up the Bluetooth module without an FTDI adapter is the use the **bluetooth-passthru.hex** with an Arduino Nano. This HEX file creates a software serial connection to the Bluetooth module on D6/D7 pins and relays input from the serial terminal to the Bluetooth module. | ||
+ | |||
+ | - Connect the HC-06 to Arduino Nano: | ||
+ | - Arduino (5V) -> HC-06 (VCC) | ||
+ | - Arduino (D6) -> HC-06 (TX) | ||
+ | - Arduino (D7) -> HC-06 (RX) | ||
+ | - Arduino (GND) -> HC-06 (GND) | ||
+ | - Flash the {{:pidflight:bluetooth-passthru.zip|}} HEX file to the Arduino Nano. | ||
+ | - Once the HEX file has been flashed, open up a serial terminal (e.g. Serial Monitor within Arduino IDE) to the COM port of the Arduino Nano with baud rate 115200. | ||
+ | - Type "**AT**" into the serial terminal, "**AT> OK**" response should return to indicate the Bluetooth module is responding to AT commands. | ||
+ | - Proceed with configuring the Bluetooth module with AT commands. | ||
===== HM-10 ===== | ===== HM-10 ===== |