I'm relatively new to Arduino and very new to Android. I've been
trying to use the Amarino toolkit to establish bluetooth communication between them, but can't
get an LED to blink using the MeetArduino "Test sketch here" - http://www.amarino-toolkit.net/index.php/getting-started.html
changing baud rate (tried ALL rates). Made sure to alter sketch to
match module.
different versions of Arduino IDE (1.0 and 0022)
changing COM port designation of BT module (bit confused here...one
tutorial I came across indicated BT modem must be on same port as
Arduino, but as I understand it, only one device can have access to a
port at any given time??)
after loading Arduino sketch, disconnected board from computer and
powered from external DC source.
double and triple checking that wiring is correct, i.e. tx--rx; rx--
tx, vcc, grd (also tried with and without jumper between outermost
pins ('KEY' and 'STATE') of BT module...this has me a bit confused also -
some tutorials show this connection as necessary, others don't give it
a mention??
altering the delay rate in the sketch
I'm sure it's something simple that I'm missing...frustrating!!!
RX and TX do not blink on either the Arduino or the BT module.
According to the tutorial on the site (which I added a link to in my original post) everything is operating as it should except for the blinking LED controlled by the Arduino sketch.
If you aren't getting any return from the Arduino, and the RX/TX indicators on your BT module and Arduino aren't flashing, then you haven't got a connection between the phone and the BT module.
I was assuming I did because upon hitting the 'connect' button on the Amarino app, the BT module will go from blinking red to steady red while the app indicates a successful connection at the same time.
same problem here, frustrating like hell. I get the same response upon seeing the monitoring screen
AmarinoService: message to send: 56
AmarinoService: send to Arduino: A56?
AmarinoService: message to send: 102
AmarinoService: send to Arduino: A102?
(with question mark in that squares).
it happens like that when the android and bt module are connected and it is like this when I turned the bt module off:
AmarinoService: message to send: 56
AmarinoService: message to send: 102
meaning it does do something when the bt module was on.
anyone has an idea of whats goin on, would be much apreciated.
I changed the baudrate into 9600 and worked now. I tjink one has to try the multiply of 9600 until it reaches 150k. different version or date of atmega come with different baudrate. I thought mine was at 57600, I insisted, and failed. then I started from 9600 and up, but ended up getting a success at 9600, first try and success. hope this help, man