0
Offline
Newbie
Karma: 0
Posts: 23
Arduino rocks
|
 |
« Reply #15 on: June 16, 2010, 07:49:40 am » |
After some try with SensorGraph app, I've found the BT module seems remains paired with my HTC after Android app exit (Amarino, anyway, say "disconnect device"). I need to switch off the Bluetooth on my HTC to really disconnect from BT module and have the possibility to reconnect again. If try a new connection without phisically on/off HTC bluetooh , the connection fail. In the java source code of SensorGraph app, inside the OnStop event, really there is the disconnect command. There is another software method to disconnect/unpair the BT module and have the possibility to reconnect again without phisically switch off/on Bluetooh on HTC ?
The Amarino will work on Froyo ?
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 8
Arduino rocks
|
 |
« Reply #16 on: June 16, 2010, 08:05:07 am » |
Amarino is Android 2.2 compatible, however there is never a guarantee that it works on all modded Android verison. As far as I know, there is no phone out there with an official Android 2.2 build. (only the leaked Nexus One build) Currently, Amarino calls the official disconnect command of the Android Bluetooth API. Nevertheless, we should move this discussion to http://code.google.com/p/amarino/issues/list so that other users can contribute. (you might open an issue about that with detailed information about your Android version, handset model, etc.)
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 23
Arduino rocks
|
 |
« Reply #17 on: June 16, 2010, 08:53:46 am » |
Ok, done  Thanks for support.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 1
Arduino rocks
|
 |
« Reply #18 on: July 14, 2010, 04:51:01 pm » |
Amarino is excellent source! It's really useful - there is only one example on the website - Are there other examples I can look at? Any help will be greatly appreciated!
Thanks
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 43
Arduino rocks
|
 |
« Reply #19 on: July 19, 2010, 01:35:21 am » |
arduino is excellent source . :-[
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Jr. Member
Karma: 0
Posts: 94
Arduino rocks
|
 |
« Reply #20 on: July 20, 2010, 07:36:32 pm » |
Has anyone used this to provide a handsfree function? It would mean connecting a microphone and speaker to the Arduino. Thanks in anticipation.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 1
Arduino rocks
|
 |
« Reply #21 on: July 21, 2010, 09:29:59 am » |
Hi,
I am using Amarino application in my Nexus One with Android 2.1 to connect to my Arduino Lilypad. I am using the TestEvent to check if it works, and in the Lilypad I have loaded this code:
#include <MeetAndroid.h>
MeetAndroid meetAndroid; int onboardLed13 = 13;
void setup() { Serial.begin(57600); meetAndroid.registerFunction(testEvent, 'A');
pinMode(onboardLed13, OUTPUT); //digitalWrite(onboardLed, HIGH); }
void loop() { meetAndroid.receive(); }
void testEvent(byte flag, byte numOfValues) { int randomValue = meetAndroid.getInt(); if (randomValue>=125){ digitalWrite(onboardLed13, HIGH); } else { digitalWrite(onboardLed13, LOW); delay(100); }
In the Monitoring screen of the N1 I can see: AmarinoService: message to send: 167 AmarinoService: send to Arduino: A167 .... (all the time random values are sent from N1 to Arduino)
But the Lilypad seems not to receive this values (the MeetAndroid.receive function always returns true) and doesnt blink led13...
Is it possible that the N1 is not set to 57600baud? why is he sending A167 and a strange square character?
I also have tried to use the MeetAndroid.send("a") in the loop(), but nothing is received in the N1.
Can anyone help me? Thanks!
|
|
|
|
« Last Edit: July 21, 2010, 09:34:11 am by patxeco »
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 8
Arduino rocks
|
 |
« Reply #22 on: July 21, 2010, 12:08:59 pm » |
I guess your Bluetooth module is not configured to 57600 baud.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 22
Arduino rocks
|
 |
« Reply #23 on: August 03, 2010, 03:29:07 pm » |
Is there anyway to communicate over the softserial instead of hardware serial? I have an OLED that can only work using the tx/rx pins. I have my bluetooth connected to pins 2 and 3 and I am communicating using the NewSoftSerial library. Now I'm trying to use my phone to communicate with the bluetooth but the MeetAndroid library is only working for the tx/rx pins.
-Cali
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 4
Arduino rocks
|
 |
« Reply #24 on: September 29, 2010, 03:08:31 pm » |
Is there a way to interface with the bluetooth over SPI? This may fix the serial port problem.
-Nik
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 26
Arduino rocks
|
 |
« Reply #25 on: October 10, 2010, 06:03:38 pm » |
Amazing!!
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 12
Arduino rocks
|
 |
« Reply #26 on: October 11, 2010, 02:10:15 am » |
Ohh  goood
|
|
|
|
|
Logged
|
|
|
|
|
Indonesia
Offline
Full Member
Karma: 0
Posts: 108
Arduino rocks
|
 |
« Reply #27 on: October 11, 2010, 02:43:56 am » |
Great...........Good Job
Is there with Symbian S60? for Nokia family...?
Jeckson
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 1
Arduino rocks
|
 |
« Reply #28 on: October 11, 2010, 09:19:53 pm » |
Is any API reading android keypad keys and touch events which I can sent to ardunio
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 27
Arduino rocks
|
 |
« Reply #29 on: October 12, 2010, 04:57:39 pm » |
cool project guys. I see a wide range of uses for this device.
|
|
|
|
|
Logged
|
|
|
|
|
|