Show Posts
Pages: 1 2 [3] 4 5 ... 20
31  Using Arduino / Programming Questions / Re: Help! Web server + Ajax + XML + JPG on: June 19, 2014, 11:52:24 am
Like I said, the arduino is not a computer. It's only a little micro controller. Deal without images or pull the images off the web, not the SD card.

You can also get more than one byte at a time from your sd card. That should help speed things up a little. The code is around somewhere.


32  Using Arduino / Programming Questions / Re: Help! Web server + Ajax + XML + JPG on: June 19, 2014, 08:35:15 am
you left out the http header for you image
Code:
   
client.println("HTTP/1.1 200 OK");
client.println();

check the example carefully.

Also, you do know that your html will take forever to load with an image right? The arduino is a very simple server not a proper one.
33  Using Arduino / Programming Questions / Re: RTC I2c Reading theory on: June 17, 2014, 11:59:06 am
On some i2c devices, if you poll too fast say 3x per second, it tends to send you an error instead of what you want. If your devices are giving what you want, it should be good.
34  Using Arduino / Programming Questions / Re: Ultrasonic sensor as a music instrument. on: June 17, 2014, 08:52:08 am
you'd need to set the midi device to play continuous notes. You know the hardware better than me.
35  Using Arduino / Programming Questions / Re: Ultrasonic sensor as a music instrument. on: June 16, 2014, 10:30:59 pm
Code it so another sound won't play until another distance range has been detected.

And your conditions overlap each other so it'll try to play 2 notes
Like distance < 2 and distance < 20 both will play if distance = 1.
You have to code that smarter.
36  Using Arduino / Programming Questions / Re: Ultrasonic sensor as a music instrument. on: June 16, 2014, 08:11:14 pm
get rid of the delay?

and get rid of the extraneous { }
37  Using Arduino / Programming Questions / Re: Is there an Arduino port of the InvenSense Embedded Motion Driver library? on: June 15, 2014, 05:04:37 pm
I haven't but somebody has
https://github.com/sparkfun/MPU-9150_Breakout/tree/master/firmware
and
https://github.com/richards-tech/MPU9150Lib
38  Using Arduino / Programming Questions / Re: Wireless (nrf24l01) altimeter for RC plane (completed project with code) on: June 14, 2014, 02:56:40 pm
Very cool.
I saw the whole video. You need a IP camera so you can see the video live & see where you're going.

39  Using Arduino / Sensors / Re: Colour Sensor Output on: June 13, 2014, 09:01:38 pm
how are you connecting the lego's color sensor to the arduino?
40  Using Arduino / Programming Questions / Re: HTTP Client, GET Request on: June 13, 2014, 01:51:05 pm
You have to tell us how you're implementing the user/pass, with htaccess or other means?

41  Using Arduino / Programming Questions / Re: Basic coding question?? on: June 13, 2014, 08:56:56 am
what isn't working?
42  Using Arduino / Programming Questions / Re: HTTP Client, GET Request on: June 13, 2014, 08:54:14 am
What kind of credentials? like user & password?
Can you turn that off?
43  Using Arduino / Programming Questions / Re: HTTP Client, GET Request on: June 12, 2014, 09:19:37 pm
Honestly, no clue what you just said.

A server is a server. It has an ip. Localhost is used only  if you're on the server itself, not the same network.
44  Using Arduino / Programming Questions / Re: HTTP Client, GET Request on: June 12, 2014, 03:09:40 pm
You need an IP of you Java server plugged into the arduino.
45  Using Arduino / Programming Questions / Re: Arduino to arduino i2c on: June 10, 2014, 12:39:36 pm

The slave device needs an address for the master to communicate with it.

and to write, you need the standard
Code:
 Wire.beginTransmission(device_address);
  Wire.write(data);
  Wire.endTransmission();
Pages: 1 2 [3] 4 5 ... 20