some days ago i posted a video about my project with bq Kit robotica.
It was a Lego car controlled by Android.
I was able to use every component of the Kit, except for the bluetooth module.
I don't have the kit anymore as it was send to me for a review test in my magazine.
So the question is how to put that to work? I guess is similar to other bluetooth modules.
I was able to use one that i have, that is almost equal to bq. It has only 4 pins instead of 6, but
the bq only use 4 of 6:
That's what i did, put the pins in the right places, i got some experience with Arduinos, i now that i did the correct procedure.
but it didn't work. My software in Android cannot send any info to it. It recognize the module with no problem, but
it cannot send any byte to it.
in void setup i have:
Serial.begin(9600); // start the serial connection
And in the main code i have:
char variable_bluetooth = Serial.read(); // gets 1 byte from Android
With my module (that have the same specs as the bq one) it works with no problem.
But the bq module refuses to work, it don't get any byte from Android.
Notice that the connection is ok, Android and the module communicate with each other, and are paired.
But just don't receive anything.
Is there a different protocol to the bq module?
I cannot test again, as i said i got the kit for a couple of days to make a review about it, and i don't have it anymore, but
i may order one and i would like to now if i am able to fix this.
Can anyone help me to confirm the code? Do you have a sample code?