Active1 year, 10 months ago
I have connected Arduino Rx(pin 0) to Bluetooth module Rx pin. Tx od Arduino to Tx of Bluetooth . I am able to send command to Bluetooth module using Serial Monitor of Arduino on my PC.
Mar 02, 2019 UART stand for Universal Asynchronous Receiver and Transmitter. UART can transfer data bit by bit serially. There are many wireless communication modules which works on UART communication like HC-05 Bluetooth module, GSM module. You can use MSP430 with these module in your embedded systems projects. You can also use the HC-05. We again operate on the same Asynchronous 8-bit mode, but this time we will modify our code a bit so that it works with the Bluetooth module. Hence learning UART tutorial beforehand is an added advantage for this project. In this tutorial, we will toggle a LED by sending on or off command from our Smart phone.
I have uploaded the empty code in Arduino.
I want to know why we connected Tx to Tx and Rx to Rx i.e one to one connection?
![Hc 05 bluetooth module specification Hc 05 bluetooth module specification](http://singularengineer.com/wp-content/uploads/2013/05/rxpin.png)
If I send command 'AT' from my PC using serial Monitor of Arduino , How is it flowing to Bluetooth module.
Why not we connect Rx to Tx pin in AT Mode of Bluetooth module?
Pls explain using diagram.
PintuPintu
1 Answer
By using SoftSerial you can connect the HC-05 module to another pin than D0 and D1. Example connect HC-05 to D2 and D3 and define SoftSerial to use D2 and D3.
MatsKMatsK1,03811 gold badge99 silver badges1919 bronze badges
![Asynchronous Hc 05 Uart Asynchronous Hc 05 Uart](/uploads/1/2/5/5/125522836/983785578.jpg)