I was working on the HC-05 Bluetooth module and Arduino. How can I interface with Arduino if no proper connection is being established and the circuit is not responding to my command?
-
I have coded the Arduino sketch for reply back appropriately for some specific inputs. I am sending the inputs via BlueTerm application but there is no reply from the BT module. I even tried various Arduino Sketches from various tutorials online. But there is no response from the BT module.
-
Answer:
Test in three parts (0) Check connection with Smart Phone (1) Sending data (2) Receiving data (0) Check Connection with smart phone - All this needs power to HC05. Download Blueterm from Google Play Store. On Android phone, scan the module and pair using defualt code 1234. Then use Blueterm and connect to the module. If every thing is okay, then Blueterm will show "Connected" on top left handside. If okay, move to next step. (1) Keep Blueterm on Android connected. On Arduino, write a small program. Open serial port at 9600 baud and send "hello" on serial port. Just 2 lines of code in side void setup (void). This should appear on Blueterm Screen. (2) Keep blueterm connected, On Arduino write a small program to wait for serial port data. When received reply back with same character. Little bigger program. Make sure your RXD Pin is pulled high. If in doubt write 1 to RXD pin using digitalWrite(1,HIGH). This pulls up RXD. Hope this helps, If not add your program in comments. Write minimum program lines for serial port. Skip any thing not relevent to serial port. Note - Assuming that you know Arduino syntex and how to burn arduino, the whole testing will not take more than 15 mins.
Vinay Chaddha at Quora Visit the source
Other answers
Taral Shah
Related Q & A:
- How can I communicate Raspberry Pi and Arduino (in both ways) using a 10-15m distance wires?Best solution by Arduino
- How can I install node.js module using phantom, instead of npm?Best solution by Stack Overflow
- How can I change the language of the menus interface in the group I'm moderating?Best solution by Yahoo! Answers
- How can I download Bluetooth software in my PC?Best solution by en.softonic.com
- How can I get Bluetooth on my PC?Best solution by ChaCha
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.