Go Down

Topic: WIFI Shield Status is always WL_NO_SHIELD (Read 4272 times) previous topic - next topic


Hello all,
I am new to Arduino and right off the bat I encoutered an issue with the Wifi shield acting as it's not being present.
The board I have is a OSEPP Mega 2560 which is similar to Arduino Mega 2560. As seen in the pic, I have an original Arduino Wireless Proto Shield connected and an Xbee.
The code uploaded is pretty simple.
Basically, if there's a Wifi status other than WL_NO_SHIELD light up my green LED otherwise light up the red one.
Reading online I found that some people experience this due to not having enough power from the USB so I've even connected this to a 12v and still no luck.

Code: [Select]

#include <WiFi.h>

char ssid[] = "mySSID";
char pwd[] = "myPW";

void setup(){
  pinMode(12, OUTPUT);
  pinMode(52, OUTPUT);
  WiFi.begin(ssid, pwd);

void loo
  if (WiFi.status() == WL_NO_SHIELD) {
    digitalWrite(52, HIGH);
    digitalWrite(12, LOW);
  } else {
    digitalWrite(12, HIGH);
    digitalWrite(52, LOW);


Nov 30, 2012, 02:35 pm Last Edit: Nov 30, 2012, 02:39 pm by pitusso Reason: 1
I, maybe i'm wrong, but the wifi library works only with the Wifi Shield (IEEE 802.11), not with the radio wireless  :P
Take a look at:


Nov 30, 2012, 08:03 pm Last Edit: Dec 06, 2012, 03:13 am by dwkd Reason: 1
So the proto shield is for communication between xbees and does not have the capability to pickup and connect to a wireless network?


Go Up