Does someone have experience with a good WiFi shield

I'm doing a project that involves writing a log file to Google Drive (or some other place) with an Arduino. I've purchased a lot of other components where I can't find any kind of data sheet or instructions. Is there a shield out there with documentation or one that is commonly used where people know that board well? Thank you.

If you have managed to get http working then you can send data to data.sparkfun.com then download the data to your PC. This covers using wired ethernet but the principle is the same. https://learn.sparkfun.com/tutorials/pushing-data-to-datasparkfuncom/arduino--ethernet-shield

Unfortunately for me, no one responded with a recommended WiFi board so I took a stab in the dark and ordered a Diymall D1 R2 Wifi shield.
The holes to solder to do not line up with the pins on the Arduino.
I can put the boards side by side and put jumper wires between the two boards but I don’t think that was the plan when they built the shields.

Diymall D1 R2 Wifi UNO Based Esp8266 for Arduino Compatible
5.0 out of 5 stars 3 customer reviews | 4 answered questions
Price: $12.99 Free Shipping for Prime Members
Sold by DIYmall and Fulfilled by Amazon.
Based on the ESP-8266EX.
Arduino Compatible, you can use it on Arduino IDE.
11 Digital I/O pins 1 Analog Input pin, Insert pictures: description-01, 02,03
Tutorial Link:http://www.wemos.cc/d1/Getting_Started

I get “Page not found” when trying to go to the above Getting_Started link.

After all that, my question.
Does anyone know of procedures already written to get connected and to write a file to Google Drive or any other on line storage place?

WiFi Shield.gif

Oooops I mis-understood this board. I guess instead of it being a shield, it's an Arduino compatible with built in WiFi. Sorry for my mistake. Don't waste your time chasing my mis-understanding. Thanks

I'm still stuck. I have a WeMos D1 R2 and I can't do a simple thing like blink an LED. First, am I making the right assumption that this board runs a lot like my other Arduino UNO's? I want to get the WiFi working but for now, I'm just trying to get it to do any little thing.

When I try to upload a sketch to it I get: A long delay. (maybe 3 minutes) then: avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x90 avrdude: stk500_recv(): programmer is not responding and a bunch more errors

It never does blink the LED I tried the loop-back test and that worked. Here's the little sketch:

//   sketch_simple_blink_2
void setup()  {  }

void loop() 
{
  // put your main code here, to run repeatedly:
  pinMode(3, OUTPUT);
  while (1)
  {
    digitalWrite (3, 1);
    delay(300);
    digitalWrite (3, 0);
    delay(300);
  }
}

In the Amazon description it says to go to: https://www.wemos.cc/d1/Getting_Started but there I get a Page not found.

I'm stumped.

:slight_smile: This step solved.
The answer: http://www.instructables.com/id/Programming-the-WeMos-Using-Arduino-SoftwareIDE/
If anyone else is having trouble with the WeMos D1 R2:

  1. It’s not like an Arduino where you just plug it in and it works.
  2. The link above is involved - lots of steps - but by going through it carefully, mine now works to do something simple like blink an LED.
    Next step is to get the WiFi to work. That was the reason I bought the board.

While writing this I just realized. I need 3 analog inputs for my project. This WeMos has only 1. :frowning:

So now I’m back to my very first issue: “Is there a WiFi device or shield for the UNO that either has documentation or which people are familiar with and know of resources to get it to work?”

Mikb55, I have switched hardware again. Now I have an Arduino UNO Wifi board. My assumption was that it would be easier to get working if everything was on the board. You mentioned earlier that:

If you have managed to get http working then you can send data to data.sparkfun.com then download the data to your PC. This covers using wired ethernet but the principle is the same. https://learn.sparkfun.com/tutorials/pushing-data-to-datasparkfuncom/arduino--ethernet-shield

That does look like something close enough to what I want to do that I could start with it.

As far as "managed to get http working", that's where I'm in the dark. Is the code for wired ethernet that you referenced close enough that it might work with this new wifi board? If so, I can try it. Do you think it might work or do you know what's needed for this new board?

Another question. Should I start a new post - new subject - since I've switched hardware?

Have you tried running any of the WiFi examples in the Arduino IDE?

If you can get the WiFiWebClient sketch working then you should be able to send data to data.sparkfun.com

Yes, I have tried a number of them.
The program WiFiUpdSendReceiveString.ino seems like it could work but I don’t know enough to get by the errors.
Following is the first part of the sketch.
I put the name of my router in ssid
I put my wifi password in pass

The first error is “WiFi shield not present”. Since I’m not using a shield, I don’t know what to think about that.

I rem’d out that section and then I get “Please upgrade the firmware” I have no idea what to do there.

Then it keeps coming back with “Attempting to connect to SSID:”

Am I on completely the wrong track? Is this Arduino UNO WiFi board to new for examples to be out there?

Thanks for any help you can give.

/*
  WiFi UDP Send and Receive String

 This sketch wait an UDP packet on localPort using a WiFi shield.
 When a packet is received an Acknowledge packet is sent to the client on port remotePort

 Circuit:
 * WiFi shield attached

 created 30 December 2012
 by dlf (Metodo2 srl)

 */


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

int status = WL_IDLE_STATUS;
char ssid[] = "yourNetwork"; //  your network SSID (name)
char pass[] = "secretPassword";    // your network password (use for WPA, or use as key for WEP)
int keyIndex = 0;            // your network key Index number (needed only for WEP)

unsigned int localPort = 2390;      // local port to listen on

char packetBuffer[255]; //buffer to hold incoming packet
char  ReplyBuffer[] = "acknowledged";       // a string to send back

WiFiUDP Udp;

void setup() {
  //Initialize serial and wait for port to open:
  Serial.begin(9600);
  while (!Serial) {
    ; // wait for serial port to connect. Needed for native USB port 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 SSID: ");
    Serial.println(ssid);
    // Connect to WPA/WPA2 network. Change this line if using open or WEP network:
    status = WiFi.begin(ssid);

    // wait 10 seconds for connection:
    delay(10000);
  }
  Serial.println("Connected to wifi");
  printWifiStatus();

  Serial.println("\nStarting connection to server...");
  // if you get a connection, report back via serial:
  Udp.begin(localPort);
}

void loop() {

Unfortunately you have purchased a board from Arduino.org (not Arduino.cc) that doesn’t work with the libraries supplied with the IDE (created by Arduino.cc).

Have a read of this
http://www.arduino.org/forums/uno/arduino-uno-wifi-arduinowifi-library-incomplete-solution-for-mqtt-tcp-udp-socket-communication-540?start=10
If you read all the way to the end you’ll see that the software support is still “work in progress” and there are a number of unhappy people in the same position as yourself.

As an alternative have a look at the
SparkFun WiFi Shield - ESP8266

It has example code for doing HTTP.

The SparkFun WiFi Shield is now on order. Thank you.