Question

Dear Stackoverflowers!

I have an issue with the WiFi shield.

As you can see in the picture below, i am experimenting with the Arduino Mini and the WiFi shield.

I have read the tutorial-guide and connected all the necessary pins between the Mini and the shield. I use the example code which is provided in the tutorial, e.g. reading the WiFi shield's MAC-address or scanning for networks near me.

But anything i get is the error message, that the shield is not connected!! But there is a connection between the two Pin 7's (the handshake pins) and even to any other required pin. I even support my circuit with an additional powersupply of 5V (the voltage regulator in the picture), so whats wrong with it? Or might it be that the WiFi shield itself is damaged or has a malfunction? How to verify this?

One last question is: Do they deliver the shield with an installed firmware or does the user have to install it?

The code i use is for example:

uint8_t wl_status = 0;

void setup()
{ // code to run once 
  // Open serial communications
  Serial.begin(115200);
  Serial.println("*** Arduino board online ***");

  // check for the presence of the shield:
  wl_status = WiFi.status();
  if (wl_status == WL_NO_SHIELD)
  {
    Serial.println("-E- WiFi shield not present"); 
    // don't continue:
    //while(true);
  }
  else
  { // Initialize Wifi
    Serial.println("-I- Initializing Wifi..");
    printAddress(1);

    // Scan for existing networks:
    Serial.println("-I- Scanning available networks..");
    listNetworks();
  }

  Serial.print("-D- Wifistatus : ");
  Serial.print(wl_status, DEC);
  Serial.println("");
}

The printAddress()-function simply prints out the MAC-address of the shield.

I appreciate any help from you.. Thanks in advance!

With friendly regards, Martin Schürer enter image description here

Was it helpful?

Solution

thank you for your answer. I prooved wether a different power source will work or not; the problem still remained.

Arduino support suggested that we should use the SPI connection of the board instead of wiring. It was worth a try, so i combined the WiFi-shield with an Arduino Uno and could finally start practising. Forget the Arduino Mini and use Uno or Mega instead.

According to the startup trouble, the current firmware version still has bugs, e.g. connection dies after a few seconds both on server side and client side. I recommend checking the git repository frequently for updates. Issue #9 (Connection dies after a few seconds) has been solved on server side only, however the problem still exists on client side. I will wait for the next version of the firmware.

Regards, Haidosu

OTHER TIPS

Have you tried removing the jumper? It puts the shield in programming mode. Picture here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top