Arduino Mega 2560, Wireless Proto Shield and Roving Networks WiFly RN-XV

By Jake Edwards | Saturday, March 23rd, 2013 | Permalink | 2 Comments

Recently I’d been delving into some Arduino Wifi projects using the following shields/modules;

There seemed a lack of documentation for these three components so this is how I got them to work together;


Bending pins 1 and 2 of the Proto shield inward so they don’t connect to the Arduino Board, and then connecting pins to the Serial1 bus;

  • Shield Pin 0 to Arduino Mega Pin 19
  • Shield Pin 1 to Arduino Pin 18


Using the WiFlyHQ library, and then altering the initialization line within projects like the following;

  if (!wifly.begin(&wifiSerial, &Serial)) {


  wifly.begin(&Serial1, NULL);
  1. This one is gold! I’m new to this stuff and after fiddling around for an hour or two to get the module running together with the Mega 2560 … it was these little changes that brought me forward.

    Thank you!

    Comment by Nils — June 29, 2013 @ 12:15 pm

  2. Sketch Arduino WiFi for Wifly modem configuration without library and
    with front-end:

    Comment by SanUSB Laese — February 1, 2014 @ 10:58 pm

Leave a comment