Hello,
I am trying to use the Serial Monitor of arduino to send AT commands to test out the shield, because the example programs did not work. However, once I send an ‘AT’ through the serial monitor there is no reply.
I am using Arduino UNOr3 with ArduIDE 1.5.5.
I stacked the shield on top of the Arduino.
Hi damowerko
Can you tell me what kind of WizFi210 which you own?
A WizFi Shield & a WizFi210 library(for arduino) are operated on SPI interface.
but, WizFi210-EVB was working at the UART interface.
Is that right the library you used?
github.com/Wiznet/WizFiShield
I am using the 210 shield. Yes, that is the library I used - it had compilation errors on ArduinoIDE 1.6.5 so I had to downgrade to 1.5.5.
When I launch the example sketches and open serial monitor it does not go beyond checking weather the shield is responding:
Serial Init
Send Sync data
Rcving Sync Timeout!!
This is the beggining of the code where it stops:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <SPI.h>
#include <WizFi2x0.h>
#include <WizFiClient.h>
#include <TimerOne.h>
#define SSID "" // SSID of your AP
#define Key "" // Key or Passphrase
// Wi-Fi security option (NO_SECURITY, WEP_SECURITY, WPA_SECURITY, WPA2PSK_SECURITY)
//#define Security WPA_SECURITY
unsigned char SIP[4] = {192, 168, 1, 7}; // Server IP address to connnect
unsigned int ServerPort = 5000; // Server port number
WizFi2x0Class myWizFi;
WizFiClient myClient;
boolean Wifi_setup = false;
// 1msec Timer
void Timer1_ISR()
{
uint8_t i;
myWizFi.ReplyCheckTimer.CheckIsTimeout();
}
void setup() {
byte retval;
Serial.begin(9600);
Serial.println("\r\nSerial Init");
// initalize WizFi2x0 module:
myWizFi.begin();
myClient = WizFiClient(SIP, ServerPort);
// Timer1 Initialize
Timer1.initialize(1000); // 1msec
Timer1.attachInterrupt(Timer1_ISR);
myWizFi.SendSync();
myWizFi.ReplyCheckTimer.TimerStart(3000);
Serial.println("Send Sync data");
while(1)
{
if(myWizFi.CheckSyncReply())
{
myWizFi.ReplyCheckTimer.TimerStop();
Serial.println("Rcvd Sync data");
break;
}
if(myWizFi.ReplyCheckTimer.GetIsTimeout())
{
Serial.println("Rcving Sync Timeout!!");
// Nothing to do forever;
for(;;)
;
}
}
Hi
WizFi210 shield can support 1.0.x version of arduino IDE…
please try it 1.0.x IDE
Hi…i am a new user here. Can you tell me what kind of WizFi210 which you own?A WizFi Shield & a WizFi210 library(for arduino) are operated on SPI interface.But, WizFi210-EVB was working at the UART interface.