Comments (10)
hi i have solved this issue. realised that for arduino mega if i am using tx1 and rx1, i would need to change the code from Serial to Serial1 instead.
from arduino-bluetooth-basic.
Hey @inspiritpanda
Did you try sending input through the serial monitor?
Remove the tx rx connection and try sending 1
and 0
I am not sure how to test if the Bluetooth module can send/receive data from the phone application.
Similarly, you can test this also with the serial monitor
from arduino-bluetooth-basic.
Hello,
yes i tested with the tx and rx connection removed and typed in the commands in serial monitor and the led lights turned off and on. when i connected the bluetooth module, the red light on the hc-05 starts to blink slower at around 2secs interval which shows that it has been connected. but i still do not know what is the issue and why the lcd cannot be controlled via application. @Mayoogh
from arduino-bluetooth-basic.
Are you using a BLE device?
Try the following.
- Forget the paired Bluetooth device and pair again
- Double check Bluetooth serial connection
TX to RX
andRX to TX
- After successful pairing the led blinking pattern on the Bluetooth module should change
- Check if values are showing on the serial monitor if the button is pressed (from the android device)
- Try with a different android device / Bluetooth module
from arduino-bluetooth-basic.
Hi @Mayoogh
yes, i am currently using a BLE device and i have also tried with another phone as well but it still doesnt work.
when i pressed the button on the android device, there is no value showing on the serial monitor. which means the phone is not communicating with arduino?
from arduino-bluetooth-basic.
It's a limitation of this application. Which I have already mentioned in the readme .
Currently, this application does not support BLE (Bluetooth Low Energy) devices. only works with SPP (Serial Port Profile) devices.
BLE support will be added in the future release.
Hence closing.
from arduino-bluetooth-basic.
Just to confirm, isnt android devices supporting SPP and BLE as well? @Mayoogh
from arduino-bluetooth-basic.
Just to confirm, isn't android devices supporting SPP and BLE as well? @Mayoogh
Yes, android supports both SPP and BLE. The BLE support is currently not integrated with this app
from arduino-bluetooth-basic.
then in this case why am i still not able to use the mobile app to control the led light? @Mayoogh
from arduino-bluetooth-basic.
In general, Android devices support BLE but this particular app currently does not support BLE. There are many apps already available with BLE supports.
from arduino-bluetooth-basic.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino-bluetooth-basic.