Bluetooth module arduino uno pinout
In order to enter the AT commands mode, the module should not be paired to any of the nearby devices but should be connected to the arduino. Parameters such as the module name, password, baud rate, signal strength can be changed after entering AT commands mode. The AT commands mode is used to change the default settings of the HC-06 bluetooth module. Shows the connection between the arduino and the HC-06 module (on the right). The RXD of the module was connected between the two resistors and the Tx of the arduino was connected across R2.įig 2.
![bluetooth module arduino uno pinout bluetooth module arduino uno pinout](http://www.uugear.com/wordpress/wp-content/uploads/2014/08/bluetooth_nano_wiring.jpg)
Thus, we used two resistors in series 15kΩ as R1 and 7.5kΩ as R2.
#BLUETOOTH MODULE ARDUINO UNO PINOUT SERIAL#
The TXD pin on the module is connected directly to the RX pin on the arduino whereas the RXD pin of the module is connected to the TX pin on the arduino using a voltage divider circuit as the RXD on the module can only support voltage upto 3.3V.Ī voltage divider circuit was set up between the RXD pin of the HC-06 and the Tx pin on the arduino so that the voltage used for the serial communication is 3.3 V. The module receives the serial data from the master device (smartphone) through the RXD pin and then transfers that data to the arduino using the TXD pin. The RXD and TXD are the recieve and the transfer pins respectively on the module. In other words, it is the reference point from where all the other voltages are measured. The GND on the module is the ground pin which connects to the ground pin on the arduino. The VCC pin is where the module receives its input voltage and is thus connected to the 5V pin on the arduino. The HC-06 module has four pins which are all required in order to make a connection with the arduino UNO. shows the HC-06 bluetooth module diagram. This is the HC-06 Bluetooth module that we purchased for our project.įig 1. When the module is not in a paired state, the LED on the module blinks rapidly whereas when paired with the app on the phone, the LED on the module is a steady red. The arduino and actuators in turn responds accordingly, as specified in the source code. An app on the phone is used to send out inputs to the module which receives and then transfers this to the arduino.
#BLUETOOTH MODULE ARDUINO UNO PINOUT CODE#
No source code specific to the Bluetooth module is needed at all in the arduino chip. It is a slave module meaning that it can receive serial data when serial data is sent out from a master bluetooth device(device able to send serial data through the air: smart phones, PC).When the module receives wireless data, it is sent out through the serial interface exactly at it is received. The HC-06 bluetooth module is a slave bluetooth module designed for wireless serial communication.
![bluetooth module arduino uno pinout bluetooth module arduino uno pinout](https://i.pinimg.com/originals/51/fa/3c/51fa3cb1f6e0ce8813bb691df8ed5227.png)
4 Setting up the HC-06 through AT commands.2 Connection between the Arduino and HC-06.