Connecting Arduino Wifi to Windows Wireless Accep Point

Hello :wink: ,

I am trying to connect my Arduino Uno with an original Wifi Shield to my Laptop.
Therefore i have created a Wireless Accec Point by using MyPublicWifi.
In the next step i transfered the SSID and the key to the arduino basic WPA program.
But it is not working! >:(

any suggestions how to solve my problem?

What part is not working? Is the wifi shield connecting to the Virtual Access Point?

the wifi shield is not working. but it is possible to connect to my router.
the error LED is red on the shield when i try to connect to my wireless acces point:astonished:

If that is all you can say, then I can't help you. If you want more help, post the code you are trying.

#include <SPI.h>
#include <WiFi.h>

char ssid[] = "Hotspot";     //  your network SSID (name)
char pass[] = "12345678";  // your network password
int status = WL_IDLE_STATUS;     // the Wifi radio's status

void setup() {
  //Initialize serial and wait for port to open:
  Serial.begin(9600);
    while (!Serial) {
    ; // wait for serial port to connect. Needed for Leonardo only
  }

  // check for the presence of the shield:
  if (WiFi.status() == WL_NO_SHIELD) {
    Serial.println("WiFi shield not present");
    // don't continue:
    while (true);
  }

  String fv = WiFi.firmwareVersion();
  if ( fv != "1.1.0" )
    Serial.println("Please upgrade the firmware");

  // attempt to connect to Wifi network:
  while ( status != WL_CONNECTED) {
    Serial.print("Attempting to connect to WPA SSID: ");
    Serial.println(ssid);
    // Connect to WPA/WPA2 network:
    status = WiFi.begin(ssid, pass);

    // wait 10 seconds for connection:
    delay(10000);
  }

  // you're connected now, so print out the data:
  Serial.print("You're connected to the network");
  printCurrentNet();
  printWifiData();

}

void loop() {
  // check the network connection once every 10 seconds:
  delay(10000);
  printCurrentNet();
}

void printWifiData() {
  // print your WiFi shield's IP address:
  IPAddress ip = WiFi.localIP();
  Serial.print("IP Address: ");
  Serial.println(ip);
  Serial.println(ip);

  // print your MAC address:
  byte mac[6];
  WiFi.macAddress(mac);
  Serial.print("MAC address: ");
  Serial.print(mac[5], HEX);
  Serial.print(":");
  Serial.print(mac[4], HEX);
  Serial.print(":");
  Serial.print(mac[3], HEX);
  Serial.print(":");
  Serial.print(mac[2], HEX);
  Serial.print(":");
  Serial.print(mac[1], HEX);
  Serial.print(":");
  Serial.println(mac[0], HEX);

}

void printCurrentNet() {
  // print the SSID of the network you're attached to:
  Serial.print("SSID: ");
  Serial.println(WiFi.SSID());

  // print the MAC address of the router you're attached to:
  byte bssid[6];
  WiFi.BSSID(bssid);
  Serial.print("BSSID: ");
  Serial.print(bssid[5], HEX);
  Serial.print(":");
  Serial.print(bssid[4], HEX);
  Serial.print(":");
  Serial.print(bssid[3], HEX);
  Serial.print(":");
  Serial.print(bssid[2], HEX);
  Serial.print(":");
  Serial.print(bssid[1], HEX);
  Serial.print(":");
  Serial.println(bssid[0], HEX);

  // print the received signal strength:
  long rssi = WiFi.RSSI();
  Serial.print("signal strength (RSSI):");
  Serial.println(rssi);

  // print the encryption type:
  byte encryption = WiFi.encryptionType();
  Serial.print("Encryption Type:");
  Serial.println(encryption, HEX);
  Serial.println();
}

What is displayed on the serial monitor?

It only posts :
Attempting to connect to WPA SSID: Hotspot
on severeal lines

Then the wifi shield is working, just not connecting.

Have you tried connecting to the VAP with another device using the same SSID and passphrase?

Connecting my mobilephone to Wireless acces point is succesfull

The SSID is case sensitive. Are you certain the SSID is "Hotspot" and not "hotspot" or "HOTSPOT"?

yes the ssid and the key is entered right

Have you tried connecting to another access point with the wifi shield? Maybe it has failed.

no i did not. if my mobilephone is working my arduino should do the same i guess.
but it should be possible to connect my arduino to a createt network like wireless netwok on my pc, shouldnt it? i really have to get through it :confused:

If the wifi shield is broken, you won't be able to connect to any access point.

but it is possible for my shield to connect to my standard router with the program above.
but i won t connect to my wireless acess point i have created with the windows 8 console using the netsh command.

the hotspot runs with 802.11n standard. but the wifi shield description says that you need a 802.11b/g standard.
can the solution be in standard?

"The WiFi Shield can connect to wireless networks which operate according to the 802.11b and 802.11g specifications."