Show Posts
Pages: 1 2 3 [4] 5
46  Using Arduino / Programming Questions / Re: help for USB 2.0 on: January 11, 2012, 08:15:36 am
i tried but lots of confusions .....
so give me simple examples so i can try more easily. as like just sending data via usb and see some application or tool.
or also told me how can i use this library???
47  Using Arduino / Programming Questions / help for USB 2.0 on: January 11, 2012, 08:00:00 am
Hi all,
       i have mega ADK, so i want work on USB host library can any one tell me how could i start because i my new for this protocol.
 here the new library
[https://github.com/felis/USB_Host_Shield_2.0]

and also give me demo code so i could test with my board.

Thanks in advance
48  Using Arduino / Programming Questions / Re: need some logical help on: January 09, 2012, 06:00:14 am
thanks for your reply
but i m looking for a multitasking answer because in this code controller will be hang for that time but i dont do this i want controller must be work parallel. 
49  Using Arduino / Programming Questions / need some logical help on: January 09, 2012, 05:49:17 am
hi all,
        i want write a code, in this code write a condition, value will be hold for a limited time.
let us consider
a = 10;
then
a = 10 hold the value for 3 second then do some thing

can anyone know how to do it so help me out.
Thanks in advance
50  Using Arduino / Programming Questions / Re: Guys need Help for the delay function on: January 09, 2012, 05:42:06 am
may be your input pin is floating.. so int your internal pull-up resistors 
51  Using Arduino / Programming Questions / Re: analogReference(EXTERNAL) on: December 26, 2011, 01:09:00 am
thanks to all to give your valuable suggestions

i think when i m calling  analogReference(EXTERNAL) function before analogRead() then they would not config with other. i mean to say may be when we call analogRead() function then REFS1 & REFS0 must be reset that's why it's give us maximum values.
apart this if we didn't call ADC library and just make myself then it's work, so i think may be any other way to work with this library or have some bug in that.
52  Using Arduino / Programming Questions / Re: analogReference(EXTERNAL) on: December 24, 2011, 06:02:51 am
when i remove analogReference(EXTERNAL) this function or set default this code work properly so anyone tell me why this is happening????   

Code:
int a = A1;
float b = 0;

void setup()
{
  Serial.begin(9600);
  //analogReference(EXTERNAL);(Remove this function)
  pinMode(a, INPUT);
}

void loop()
{
 
  b = analogRead(a);
  b = map (b,0,1024,0,5);
  Serial.print("PRESSURE = ");
  Serial.println(b);
  delay(1000);
}[code/]
53  Using Arduino / Programming Questions / Re: analogReference(EXTERNAL) on: December 24, 2011, 12:33:40 am
@tomperdarwin---- i tried your idea but didn't get work...any other idea???

@PaulS-- i have "ARDUINO MEGA ADK" for that i m applying 5V current with 1k variable register. so i can get ADC signal.

@MarkT--- i get your point but i dont get any idea how could i get over from this problem.
54  Using Arduino / Programming Questions / Re: analogReference(EXTERNAL) on: December 23, 2011, 08:27:36 am
yesh that is mistake but also same output.......

Code:
int a = A1;
float b = 0;

void setup()
{
  Serial.begin(9600);
  analogReference(EXTERNAL);
  pinMode(a, INPUT);
}

void loop()
{
 
  b = analogRead(a);
  b = map (b,0,1024,0,5);
  Serial.print("PRESSURE = ");
  Serial.println(b);
  delay(1000);
}
55  Using Arduino / Programming Questions / analogReference(EXTERNAL) on: December 23, 2011, 08:00:39 am
hi all,
       i m trying to read to the input from analog i/o and show on serial.
when i m using analogReference(EXTERNAL) function then it gives me only highest values never change that values, can anyone debug my code.

i think may be ADCMUX will be reset that would be possibility but i ll try on that way also but didn't get anything. anyone also suggest me actually what happens?? in this code.

Code:
int a = A1;
float b = 0;

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

void loop()
{
  b = analogRead(a);
  Serial.print("PRESSURE = ");
  Serial.println(b);
  delay(1000);
}
56  Using Arduino / Programming Questions / working of pulsein function.......????? on: December 22, 2011, 12:09:25 am
hi all,
       can anyone tell me about pulsein function how it work???. i read about this function but have some confusion about this.
http://arduino.cc/en/Reference/PulseIn

problem is i can't understand when we called pulsein() function so which values it read and what is the mean of pulse length which it read(Read by pulsein function).


i want make a pules counter. which count the pules from input pin.
57  Using Arduino / Programming Questions / Re: USB Library on: December 14, 2011, 12:28:57 am
i have "ardunino MEGA ADK" development kit
i want to use his USB host which connected wit max3421 IC but i could not find this IC how to connect with controller

i m working with schematic but can not find, so anyone tell me and if anyone has this sample code than plz give it to me

Thanks in advance
58  Using Arduino / Programming Questions / Re: USB Library on: December 12, 2011, 07:53:38 am
@dxw00d....

i had tried, when i didn't get then i ask here.....  smiley
59  Using Arduino / Programming Questions / Re: USB Library on: December 12, 2011, 07:42:16 am
@ozracing
thanks for your help......i has been tried this but not working.

but anyone know then plz give me reply
60  Using Arduino / Programming Questions / Re: USB Library on: December 12, 2011, 07:32:06 am
yes u r right.

but my query is how could i send data via this USB...........??
Pages: 1 2 3 [4] 5