fongoses / amarino

Automatically exported from code.google.com/p/amarino
Other
0 stars 0 forks source link

The message was sent but arduino don't work (with test app) #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Set the baudrate at 115200 with ArduinoBT
2.Load the test app on arduino
3.With HTC Desire and AMARINO_2 send test messages
4.I have set the flag 'A' in AMARINO and in Test App for ARDUINO.
5.In monitoring of amarino i have this:
   AmarinoService: message to send: 13
   AmarinoService: send to Arduino: A13□

What is the expected output? What do you see instead?
Led low and high=> message received

What version of Amarino are you using?
2

Which Android version (build)?
2.1

Which phone model?
Htc DESIRE

Please provide any additional information below.
So.. The message was sent?
it's a problem of baudrate?
I have to change the code in app test?
Thanks a lot, Rice

Original issue reported on code.google.com by rice103 on 17 Jun 2010 at 10:48

GoogleCodeExporter commented 9 years ago
It is most likely a baud rate issue if you got connection, but no data where 
received.

The baud rate set in the Arduino sketch must match the baud rate of your BT 
module.
In your case this would be 115200.

So change the test sketch to

Serial.begin(115200);

Original comment by bonifaz....@gmail.com on 17 Jun 2010 at 11:02

GoogleCodeExporter commented 9 years ago

Original comment by bonifaz....@gmail.com on 23 Jun 2010 at 9:40

GoogleCodeExporter commented 9 years ago

Original comment by bonifaz....@gmail.com on 23 Jun 2010 at 9:40