Show Posts
Pages: 1 ... 186 187 [188] 189 190 ... 393
2806  Using Arduino / Networking, Protocols, and Devices / Re: Wierd problems with serial communication on: March 22, 2013, 06:36:25 am
Quote
You have to disconnect the serial port used by usb-to-serial for the Arduino IDE.
But you can make more serial ports with SoftwareSerial.
Perhaps you can keep the first serial port for the Arduino IDE.
In order:
No. usb-to-serial is on Serial, not Serial3.
Not necessary. There are 4 hardware serial ports on the Mega.
The OP already is using Serial (separate port) for the IDE.
2807  Using Arduino / Installation & Troubleshooting / Re: Arduino Uno LED on Pin 13 is Always ON on: March 22, 2013, 05:54:15 am
Maybe U5 (op-amp) failed?
http://arduino.cc/en/uploads/Main/Arduino_Uno_Rev3-schematic.pdf
Upper left in that schematic. That is the same op-amp IC that controls the +5v/usb power bus FET T1.
2808  Using Arduino / Networking, Protocols, and Devices / Re: Strange behavior and problem with client.read in Ethernet Library... on: March 22, 2013, 05:20:14 am
Maybe you are not reading it fast enough, and the "server" is timing out waiting? Comment out the "Serial.print(c);" statement in the loop and see if it goes past the 1938 count. If it does, and you are using 9600 baud, try increasing the Serial speed.
2809  Using Arduino / Networking, Protocols, and Devices / Re: Strange behavior and problem with client.read in Ethernet Library... on: March 21, 2013, 08:37:08 pm
See if this does better.
Code:
void loop()
{
  while(client.connected()) {
    while(client.available()) {
      char c = client.read();
      Serial.print(c);
      count++;
    }
  }
  Serial.print("Number of Chars: ");
  Serial.println(count);
  Serial.println("disconnecting.");
  client.stop();

  // do nothing forevermore:
  while(1);
}
2810  Using Arduino / Storage / Re: problem with leonardo & sd card!!!!! help me on: March 21, 2013, 01:37:21 pm
There is a pic of the Leonardo here:
http://arduino.cc/en/Main/ArduinoBoardLeonardo

You can see the ICSP connector there. The upper left pin is pin 1, and on the left side is pin 3 and pin 5 below it. The upper right pin is pin 2 and below it is pin 4 and pin 6.

Pin 1 is MISO -> D12 on shield
Pin 3 is SCK -> D13 on shield
Pin 4 is MOSI -> D11 on shield

Here is the schematic. ICSP is in the upper left corner.
http://arduino.cc/en/uploads/Main/arduino-leonardo-schematic_3b.pdf

I won't accept any responsibility for experiments. It is an "implied risk" deal.
2811  Using Arduino / Storage / Re: problem with leonardo & sd card!!!!! help me on: March 21, 2013, 01:00:57 pm
That depends on you. If you are willing to experiment, and "pin bend" a little, you could probably get the shield working. What you will need to do is jumper the ICSP pins to D11-D13 so it will be Uno compatible. Are you willing to try that?

Don't panic...and don't forget your towel!  smiley
2812  Using Arduino / Networking, Protocols, and Devices / Re: Connecting Arduino Wifi Shield with laptop hotspot on: March 21, 2013, 12:50:07 pm
If your phone is a droid-type, that is a true hotspot, not an ad-hoc network. It will have a dhcp server.
2813  Using Arduino / Installation & Troubleshooting / Re: Do Arduino Mega 2560 R3 USB break easily? on: March 21, 2013, 12:25:16 pm
I think the OP in the other thread removed T1 from the circuit board to permanently isolate the power buses.
2814  Using Arduino / Storage / Re: problem with leonardo & sd card!!!!! help me on: March 21, 2013, 12:22:01 pm
Don't panic! Are these shields or a separate circuit board?

2815  Using Arduino / Storage / Re: problem with leonardo & sd card!!!!! help me on: March 21, 2013, 11:58:50 am
The Leonardo is a bit different than the Uno. The SPI data lines are not on any digital pins. They are only on the ICSP pins. This is from the Leonardo datasheet:
Quote
SPI: on the ICSP header. These pins support SPI communication using the SPI library. Note that the SPI pins are not connected to any of the digital I/O pins as they are on the Uno, They are only available on the ICSP connector. This means that if you have a shield that uses SPI, but does NOT have a 6-pin ICSP connector that connects to the Leonardo's 6-pin ICSP header, the shield will not work.
2816  Using Arduino / Storage / Re: DHT11 sensor logging ? on: March 21, 2013, 11:49:16 am
Did you use my code in reply #5? It compiles for me using IDE v1.0.4. I just checked it.
http://arduino.cc/forum/index.php/topic,151849.msg1144214.html#msg1144214
2817  Using Arduino / Storage / Re: SD cards blanking during use? on: March 21, 2013, 10:39:00 am
Are you using an Uno and the SD power connected to the 3v3 pin? If so, there may not be enough power available there to write to the SD. It is rated at 50ma, and the SD could use twice that when writing.
2818  Using Arduino / Networking, Protocols, and Devices / Re: Anybody seen an email client built upon the Arduino WiFi shield? on: March 21, 2013, 09:19:32 am
Does it start the upload and stall after a few kb? Or doesn't upload anything?

Insure you have selected the correct port and board in the IDE. On some version bootloaders, the upload will stall if you have "!!!" in your code somewhere, like this:
Code:
Serial.println("It works!!!");
2819  Using Arduino / Storage / Re: DHT11 sensor logging ? on: March 21, 2013, 08:24:37 am
The datalogger example included with the IDE crashes with IDE v1.0.3. It is due to the String data type. You should read this:
http://arduino.cc/forum/index.php/topic,151849.0.html
2820  Using Arduino / Installation & Troubleshooting / Re: Do Arduino Mega 2560 R3 USB break easily? on: March 21, 2013, 07:56:18 am
There has been a problem bricking the usb chip if you supply power to the +5v bus without disconnecting the +5v bus from the usb power bus. I do not know if that was your problem since you have a custom board.

This is the schematic for the Mega 2560 R3.
http://arduino.cc/en/uploads/Main/arduino-mega2560_R3-schematic.pdf
At the bottom of the schematic there is a T1 and IC7B. That is the isolation circuit. If Vin is higher than 6.6v, then T1 is disabled, and isolates the power buses. Does your board have the same circuit? If Vin is less than 6.6v, it does not isolate the buses, and has been known to damage the usb.
http://arduino.cc/forum/index.php/topic,82046.0.html

Pages: 1 ... 186 187 [188] 189 190 ... 393