its my first time using hc-05 i have many questions
i am searching for several days but i just cant solve my problem.
1.can i use two smartphones control one hc-05?
2.how to send two data from arduino in the same time?
3.my phone can't show my data which send form arduino immediately, it will delay seconds and
show my data.
these questions have troubled me for days, pls help me.
if there is anything not ok in my program or blocks pls tell me
Here are examples of the HC-06 similar to the HC-05...
1.- App sends simple char. Arduino on-off LED12 and LED13.
p9A0i_bluetooth_caracter.aia (2.4 KB)
[bt_4]
[bt_3]
// Juan A. Villalpando
// http://kio4.com/appinventor/9A0_Resumen_Bluetooth.htm
#define Pin12 12
#define Pin13 13
char caracter;
void setup() {
Serial.begin(9600);
pinMode(Pin12, OUTPUT);
pinMode(Pin13, OUTPUT);
}
void loop() {
if(Serial.available()) {
caracter = Serial.read();
if(caracter == 'a'){ digitalWrite(Pin12, HIGH);}
if(caracter == 'b'){ digi…
Thank you for your helping, but can you tell me can I use two cellphone to control one hc-05?
I don't know if you mean connecting several clients at different times or connecting two clients at the same time.
If you want the connection at the same time, you can try this...
ok i got it, thank you very much
can i ask a question?
this is my blocks and program
why after i click one on my app, the label will show negative number like -16
system
Closed
December 9, 2022, 10:13am
9
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.