Hello, I am working on a project that use a android phone to control arduino board via bluetooth. I have write a app by app inventor, however, my bluetooth module seems cannot receive and transmit signal. But I am sure my code of arduino is correct, because when I enter signal in serial monitor, dc motor can response correctly, and on the arduino board, RX,TX are lighted on also. Problem is when I control via app, dc motor and RX,TX light have no response (my android had connected with arduino). Firstly, I thought my app logic is wrong, then I downloaded some source which is completed by others to try. Same result come out, it works if enter signal from serial monitor, doesn't work if I press the button of the app. According to the result, I think the problem is from bluetooth module, how can I test my bluetooth module is work or not? Can anyone give me some suggestion? Thank you. PS: my bluetooth module should be connected right. ( RX--TX, TX--RX, GND--GND, VCC--3.3V) ,the baud rate set 9600
kakitlam8: PS: my bluetooth module should be connected right. ( RX--TX, TX--RX, GND--GND, VCC--3.3V) ,the baud rate set 9600
That depends on the bluetooth module. If it is a bare HC-06, VCC > 3.3v is correct. If it is incorprated onto a back board or a shield, it probably isn't. Check the instructions.
I didn't use any shield, I just simply use wire to connect bluetooth module with arduino
It's probably time to read reply #1 again.
It isn't certain that an inadequate power supply is the problem. But, you have proven the code is kosher, and you say the a connection has been made via bluetooth, which suggests there is nothing wrong with the HC-06. So, if it isn't a power problem, it is an Android problem.