Wiring Diagram Arduino Bluetooth on Uno Boards
Based on Arduino Uno pinout data in previous reviews, Arduino Uno has Rx Tx serial port by default on digital port 0 (Rx) and digital port 1 (Tx), but if you connect wiring diagram between Arduino Uno with Bluetooth HC-05 or Bluetooth HC-06 using the default Arduino Uno serial port you have to unplug the HC 05 Bluetooth module any HC 06 every time you upload the program from Arduino IDE to Arduino Uno board. If you do not remove the Bluetooth module during the process of uploading the program, it will interrupt the process of uploading the program or will experience the failure of the program upload.
The solution is to use a digital port other than port 0 and port 1, you are free to use the digital port 2 to the digital port 13, but to use a digital port other than port 0 and port 1, every programming on your Arduino IDE must add library ” SoftwareSerial.h “. in this experiment we use 7 digital port as Rx and digital port 8 as Tx.
Note: to connect wiring diagram either HC-05 / HC-06 Bluetooth module with Arduino Uno for Rx Tx line must be opposite. If the Rx pin of the HC-05 / HC-06 Bluetooth module is connected to the Arduino Uno Tx pin. If the Tx pin of HC-05 / HC-06 Bluetooth module is then connected to Rx Arduino Uno pin. For more detail like in the picture below.