Offline
Newbie
Karma: 0
Posts: 2
|
 |
« on: January 06, 2013, 12:44:05 am » |
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
|
|
|
|
|
|
|
Queens, New York
Online
Edison Member
Karma: 27
Posts: 1539
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
|
 |
« Reply #2 on: January 06, 2013, 02:33:30 am » |
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, Gameduino
Arduino Tutorials, coming soon.
"If your doing nothing, it does not mean your lazy, it just means your open for anything that suits you" - Unknown
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 2
|
 |
« Reply #3 on: January 06, 2013, 11:16:53 am » |
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
Online
Edison Member
Karma: 27
Posts: 1539
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
|
 |
« Reply #4 on: January 06, 2013, 12:41:14 pm » |
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, Gameduino
Arduino Tutorials, coming soon.
"If your doing nothing, it does not mean your lazy, it just means your open for anything that suits you" - Unknown
|
|
|
|
|