Show Posts
Pages: 1 2 3 [4] 5 6 ... 361
46  Using Arduino / Networking, Protocols, and Devices / Re: Why can't I assign my Ethernet shield and IP address? on: April 14, 2014, 08:26:10 am
I think this should be the warning:
DO NOT USE SD CARD IF USING ETHERNET COMMUNICATION UNLESS YOU UNDERSTAND HOW TO USE BOTH TOGETHER

edit: Or considering the number of SPI problems posted here, how about this warning?
DO NOT USE MULTIPLE SPI DEVICES UNLESS YOU UNDERSTAND HOW TO USE THE SPI BUS
47  Using Arduino / Networking, Protocols, and Devices / Re: Communicate between microcontrollers: Automatic address and request-less send? on: April 14, 2014, 08:04:00 am
Is there something wrong with using digital pins for the button presses? Use one digital pin from each remote microcontroller to the core Arduino to determine "first press" and use the serial for transferring stuff like scores, etc.

48  Using Arduino / Networking, Protocols, and Devices / Re: RFID Reader + Ethernet Shield on: April 14, 2014, 07:24:58 am
The Ethernet Shield has a hardware flaw. The MOSI line is active the whole time. It ignores it's chip select signal. FIX: I bought a new Ethernet shield that included a fix.
The MOSI line (Master Out, Slave In) should be active the whole time. It would be the MISO line (Master In, Slave OUT) that would cause problems.

Which ethernet shield model had the flaw? Which model did you replace it with?
49  Using Arduino / Networking, Protocols, and Devices / Re: Mega 2560 and Ethernet dose not work. Please help me. on: April 13, 2014, 06:25:38 am
1) That disables the SPI interface on the w5100. The Ethernet.begin() call has a bug that leaves the w5100 slave select LOW (active) when the function is complete. If you try to use any other SPI device, that would cause problems. If you read or write to the w5100 first, those functions leave the w5100 SPI disabled like they should.

2) Sounds like the delay is caused by your server.

3) Open an SD file and write the response to it the same way you write it to the serial monitor.
50  Using Arduino / Networking, Protocols, and Devices / Re: Seeed Ethernet + Mega 2560 ICSP on: April 12, 2014, 08:01:32 pm
The W5100 slave select for that unit is D10.
http://www.seeedstudio.com/wiki/Ethernet_Shield_V1.0
The default slave select for the SPI on the Uno is D10. The default slave select for the Mega is D53. But that does not change the slave select for the W5100. It is still D10 on that shield.

51  Using Arduino / Networking, Protocols, and Devices / Re: Ethernet + 2 SPI devices on: April 12, 2014, 06:12:11 pm
Same as above. Use a slave select for the RC522 that is not D10 or D4. The solution for adilutan was using D7.

52  Using Arduino / Networking, Protocols, and Devices / Re: Seeed Ethernet + Mega 2560 ICSP on: April 12, 2014, 06:09:06 pm
If you are using the ICSP pins for the SPI data lines, then all should be the same as the Uno. D10 is still the w5100 slave select.
53  Using Arduino / Networking, Protocols, and Devices / Re: Mega 2560 and Ethernet dose not work. Please help me. on: April 12, 2014, 12:13:13 pm
If the serial output shows "disconnecting" without a "Timeout" message, that means the server closed the connection.

If you are downloading a large file or a lot of data, and want to display it on the serial monitor, I suggest increasing the speed of the serial connection. I normally use 115200 instead of 9600.
54  Using Arduino / Networking, Protocols, and Devices / Re: Mega 2560 and Ethernet dose not work. Please help me. on: April 12, 2014, 11:21:41 am
Is it your server, or do you have a web hosting company host it for you?
55  Using Arduino / Storage / Re: very strange! on: April 12, 2014, 06:42:05 am
The mega has EEPROM onboard.
http://arduino.cc/en/Reference/EEPROM
56  Using Arduino / Programming Questions / Re: SPI SD Shield on: April 12, 2014, 06:25:03 am
SD.begin() should be run only once in the setup function. After that, it is "open, write, close".
57  Using Arduino / Networking, Protocols, and Devices / Re: Mega 2560 and Ethernet dose not work. Please help me. on: April 12, 2014, 06:19:47 am
If the code above is what you are running, then it will do nothing after the dhcp assignment. You need to connect to a server and send a request, then read the response.

Here is my client code in the playground.
http://playground.arduino.cc/Code/WebClient
58  Using Arduino / Networking, Protocols, and Devices / Re: using nRF24L01 and Wiznet ethernet shield on the same Arduino on: April 10, 2014, 05:58:35 pm
Post your code.
59  Using Arduino / Networking, Protocols, and Devices / Re: Mega + Wifi shield get request timeout on: April 10, 2014, 06:02:28 am
Then you probably haven't done the wifi firmware upgrade.
60  Using Arduino / Programming Questions / Re: Impossible to use wifiClient on: April 09, 2014, 09:40:09 pm
Have you upgraded the firmware? Check with this code after Serial.begin() in your setup. If upgraded, it should show version 1.1.0.
Code:
  // check for the presence of the shield:
  if (WiFi.status() == WL_NO_SHIELD) {
    Serial.println("WiFi shield not present");
    // don't continue:
    while(true);
  }

  // check firmware version
  Serial.print(F("Firmware version: "));
  Serial.println(WiFi.firmwareVersion());
Pages: 1 2 3 [4] 5 6 ... 361