onsdag 15 mars 2017

Hc06 setup

Hc06 setup

All you need to know is the pin configuration. Right now I will only deal with pins, which are VCC, GN TXD and RXD. Here is how you should connect the Bluetooth module to your Arduino. VCC3.


HC - Arduino. GNDGND. TXDRXD. A window will pop up asking for a PIN (Fig 3). Click OK to connect. Otherwise, the LED indicator will keep blinking.


It is recommended to use a level shifter, voltage regulator (or a voltage divider, like in my set-up below) to protect the Bluetooth module RX pin. A little bit ago I grabbed a cheap HC-Bluetooth transceiver for $off Amazon for my electronics project. Note there are many sellers on Amazon and Ebay selling HC-06s as HC. I Hope you already enjoyed my previous tutorial High torque servo motor control.


I don’t think the key pin does anything on the HC-(on the HC-it’s needed to put it into AT Command mode, whereas the HC-is always in AT Command mode…supposedly). This is the code I use. I’m still also trying to get this to work. Go to the Bluetooth icon , right click and select Add a Bluetooth Device.


On Windows you will see something like this. I have it near the start of my script before I start writing data out from the Arduino to the HC-06. AT commands apply to both the HC-and HC-boards.


Hc06 setup

Please note that the Bluetooth module used in this tutorial is not compatible with iOS devices. The HC-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. The master searches for slave and connects to it after authenticated with password. Bluetooth modul HC-je komunikační modul pro Arduino, který jej umožňuje propojit bezdrátově s dalším zařízením, které podporuje Bluetooth.


Hc06 setup

Tento modul obsahuje Bluetooth ve verzi 2. Using an Arduino to setup the HC-06. We need some hardware to talk to the HC-using 3. An Arduino will easily do that. Here is a diagram and sketch to do this using the Arduino Serial Monitor. We will be setting up serial links.


One link will be from the PC to the Arduino to send the commands from the keyboard over USB. BY: Simon Mok REV: 2. Page : Former version introduction HC-is the higher version of LV_BC_2. Linvor is the former of wavesen. Before building the dropController it may be a good idea to check and setup the Bluetooth module. Either a HC-or HC-can be used but the HC-is easier to use.


Hc06 setup

Finally, the HC-Bluetooth module works only as a slave mode. Now, I want to introduce you to the basic structure that you can use to communicate your Bluetooth module with your Arduino. On this new window, click on the Add a device button in the menu. Discovery of bluetooth devices.


The latest zs-0HC-modules have an updated firmware, hc01. Power the vehicle and the “HC-06” device should appear. The device will appear under “PAIRED DEVICES” If using DroidPlanner: open the Droid Planner settings, and select Telemetry Connection Type, Bluetooth.


In this tutorial, you will learn how to communicate and send data with Bluetooth using HCBluetooth Module and Arduino board.

Inga kommentarer:

Skicka en kommentar

Obs! Endast bloggmedlemmar kan kommentera.