Loading...
Pages: [1]   Go Down
Author Topic: Graph to Android  (Read 429 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I would like to to learn how to take the simple Arduino/Processing graph example and send it to my Android using a blue tooth connection.  For the life of me I can find examples that work.  There is always some compile error in the Android processing IDE when I try them.  I have the btserial library installed w no luck.  The sweet blue library didn't compile.  Bluetooth desktop didn't seem to work.

There has got to be a very simple way for the Processing sketch to read the incoming sensor data over bt and graph it on my phone.  I have been able to pair my phone and the bt device with Amarino.  The Amarino, Eclipse graph example worked for me but Eclipse is too complicated for me at this point.  I'm embarrassed to tell you how long I've been looking for a solution to my simple problem.

Thanks in advance.
Logged

Dee Why NSW
Offline Offline
God Member
*****
Karma: 12
Posts: 622
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

No need to be embarrassed. I have more or less given up. I have three phones that can see the Arduino but none can talk to it. None are Android but my tablet is ICS and it doesn't want to talk either.

You might find this link useful.

http://www.jerome-bernard.com/blog/2011/11/15/bluetooth-communication-between-an-arduino-and-an-android-phone/

Logged

Queens, New York
Offline Offline
Edison Member
*
Karma: 31
Posts: 1730
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Just to give a heads up, amarino sucks. I tried it myself and didn't get anywhere until I wrote my own eclipse program/app. I got it to work and i was able to send data to and from the arduino. Try the Bluetooth chat program, that's where I started.
Logged

UNO, MEGA, NANO, 4x4 keypad, micro servos, RF transceivers, bluetooth, ultrasonic sensor, 20x4 I2C LCD, 3.2 TFT touch screen, L298N Dual motor driver, Voice Recognition 15W

"If your doing nothing, it does not mean your lazy, it just means your open for anything that suits you" - Unknown

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I was hoping it would be as simple as replacing the     'import processing.serial'     with a bluetooth command.
Not that easy huh?

Thanks for the link Nick.  I have used that example and it works perfectly on my phone but the Eclipse environment is a bit over my simple head at this point.  My ultimate goal is to put some sensors on a go kart and use Processing to build a digital dash.  I just need a simple way to get the Arduino data to the Android via BT.

Thanks guys.
« Last Edit: January 06, 2013, 11:33:11 am by ericnickel » Logged

Queens, New York
Offline Offline
Edison Member
*
Karma: 31
Posts: 1730
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

There are simple BT codes for android, you just need to find them. I might still have mine, but I'm not home right now.
Logged

UNO, MEGA, NANO, 4x4 keypad, micro servos, RF transceivers, bluetooth, ultrasonic sensor, 20x4 I2C LCD, 3.2 TFT touch screen, L298N Dual motor driver, Voice Recognition 15W

"If your doing nothing, it does not mean your lazy, it just means your open for anything that suits you" - Unknown

Pages: [1]   Go Up
Print
 
Jump to: