Loading...
Pages: 1 2 3 [4]   Go Down
Author Topic: Using android mobile to control arduino  (Read 15237 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 17
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hi, kerimil ,, m sorry i was busy with my exams , i really thank u for ur support ,,please am also interessted with temp aplication , can u send me the code for the application , as you know i cant download from speedy ...
thnk u again dr kerimil..
Logged

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

another thing , i am trying to make my arduino read the device if its on or off , and to read it and then send the data to my phone throughout bluetooth .if its on the text tv is grean , if its off the text " tv" is red , so a user for example will not turn off a device witch is already off . do u think its a good idea ??
Logged

0
Offline Offline
Full Member
***
Karma: 3
Posts: 153
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
please am also interessted with temp aplication , can u send me the code for the application , as you know i cant download from speedy
The source file can be downloaded from my google drive - the link is in my previous post

it's a zipped file - you have to upload it into app inventor


Quote
another thing , i am trying to make my arduino read the device if its on or off , and to read it and then send the data to my phone throughout bluetooth .if its on the text tv is grean , if its off the text " tv" is red , so a user for example will not turn off a device witch is already off . do u think its a good idea ??
That's doable - just write arduino sketch that reports the state of the TV through bluetooth
Logged

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

Hello, I was wondering would you be able to help me with problems I am having with my Android to ardiuno setup.
Basically what I am trying to do is making my phone read the voltage signal from the A0 port. I am using an ardiuno UNO. When I press button 8 on my phone, I can see the ardiuno print the voltage in the serial monitor. I was wondering would you know how to send the voltage back to the phone, and have it print out the voltage there.

Code:

byte serialA;

void setup()
{
  Serial.begin(9600);
}

void loop()
{
serialA = Serial.read();
  if (serialA == 1)
  {
    int sensorValue = analogRead(A0);
    Serial.println(sensorValue);
    Serial.write(sensorValue);
    serialA = 0;


  }
}

Logged

0
Offline Offline
Full Member
***
Karma: 3
Posts: 153
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Did you use a bluetooth dongle and putty to check what is sent by both the phone and the arduino ??

Do so and you should see what's wrong  smiley
Logged

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

in application , i have label tv , then 2 buttons turn off and turn on ..
if i want to change the color of label TV due to its state , how can i do it ..
for example : if its already turned on so label TV is green , else its color is red ..
                 
« Last Edit: May 15, 2013, 01:29:09 am by moeabok » Logged

Pages: 1 2 3 [4]   Go Up
Print
 
Jump to: