- HC-06 VCC –> Arduino +5V
- HC-06 GND –> Arduino GND
- HC-06 TXD –> Arduino Pin 0 (RX)
- HC-06 RXD –> Arduino Pin 1 (TX)
Instructions and Code
- Connect your arduino board to your PC and open Arduino software to upload the following code.The code should successfully be verified and uploaded.
- Setup the breadboard circuit with the HC-06 and arduino as shown in the above image. Power the arduino board. The HC-06 bluetooth module should start flashing a red light.
- Install and run the BlueSoleil bluetooth manager. On the tray area of your desktop (bottom right – next to the clock) there should be a bluetooth icon, indicating the state of the bluetooth dongle that is connected to your PC. Right-click the icon and select “Display Classic View”. On the window that opened, right-click the yellowish circle in the center and select “Search Devices”. Once searching is complete, HC-06 should be shown as a newly found device. Right-click on the “HC-06” icon and select “Search Services”. One service should be found. Right-click on the “HC-06” icon again and a new option should be listed, writing “Connect Bluetooth Serial Port (COM13)”. Go ahead and select it. Once the link is complete the red flashing light on the HC-06 module should stop blinking and stay red. You should note down the port that the HC-06 module connected to, as we’re going to need to connect to it to read back the data coming from the arduino board.NOTE: COM13 is the serial port where the HC-06 module will send data. It is not necessary for the port to be COM13, it could happen to be any other COM port.
- Now install PuTTY and run it. We will use PuTTY as a serial console; a replacement for Windows® HyperTerminal, which is not available in latest versions of Windows.On the PuTTY window select “Serial” as a ‘Connection Type’, set ‘Serial line’ to the port where HC-06 is sending data (“COM13” for our example) and set ‘Speed’ to “9600”. Click open and a black/white terminal/console window should open showing you the data that is received.
Arduino + GRobotronics = 2102 times awesome
Arduino + GRobotronics = 2103 times awesome
Arduino + GRobotronics = 2104 times awesome
Arduino + GRobotronics = 2105 times awesome
Arduino + GRobotronics = 2106 times awesome