Advice needed! Uno vs Mega + NFC + Wifi

Arduino, Seeeduino Serials and mutants. Share your problems and experence on arduino compatible board such as seeeduino/stalker, etc.

Moderators:, violet, salmanfarisvp

Post Reply
Posts: 1
Joined: Tue Oct 16, 2018 11:23 pm

Advice needed! Uno vs Mega + NFC + Wifi

Post by szmidtolaf » Tue Oct 16, 2018 11:34 pm

Hello everyone.

Any advice would be appreciated. I'm running out of time for my project and my hardware skills are lacking (this was supposed to be a focus on software more than anything).

I own an Arduino Mega, Arduino Uno, Seeed NFC shield v2 and an Arduino Wifi Shield.

I'm trying to figure out why the compatibility table shows an Arduino Uno as compatible with Seeed Wifi Shield v2 but an Arduino Mega is not even though it contains the same pins and the board is pretty much the same?

Does anyone have any tips how I can get the current equipment I have working?

Posts: 566
Joined: Mon Apr 02, 2018 11:05 am

Re: Advice needed! Uno vs Mega + NFC + Wifi

Post by bill.yu » Wed Oct 17, 2018 4:08 pm

Hi there,

it works with mega. please refer to below info.

The examples is based on Arduino UNO and we take D2/D3 as the SoftwareSerial pins. If you are using an Arduino Mega, D2 is not available anymore. More details please refer to Arduino Software Serial( ... ialExample) Here's an example.


here is the matched code.

#include <SoftwareSerial.h>
#include "WiFly.h"

SoftwareSerial uart(10, 3); // create a serial connection to the WiFi shield TX and RX pins.
WiFly wifly(&uart); // create a WiFly library object using the serial connection to the WiFi shield we created above.

void setup()
uart.begin(9600); // start the serial connection to the shield
Serial.begin(9600); // start the Arduino serial monitor window connection
wifly.reset(); // reset the shield
while(wifly.join("mySSID","mySSIDpassword",WIFLY_AUTH_WPA2_PSK) == false)
Serial.println("Failed to connect to accesspoint. Will try again.");
Serial.println("Connected to access point!");

void loop()



Post Reply