Easy IoT General

DFRobot wifi shield v2.2 for IoT

userHead a.murdan 2016-07-25 02:45:25 9761 Views5 Replies
Hi everyone,
I'd like to know whether anyone has used DFRobot wifi shield v2.2 for IoT. I am trying to make this shield work with Blynk, but I'm stuck. Help required for any projects completed with this shield.
Thanks.
Ans :D
2016-08-04 20:17:47 Hi Ans,

Thanks to follow up, so how did you solve it, library issue?

Sorry to hear that WizFi can not work with Blynk. BTW, why not try other cloud service? (I am not very know about IoT stuff...)

And thanks for your advice, you are in right-right place that our examples for our products are limited, we are working on this short board. ;)
userHeadPic Leff
2016-08-04 03:32:34 Thanks Jeff,
I did what you recommended. It finally worked.
However it would be desirable if DFRobot could provide the appropriate libraries for its shields (just like other vendors like Adafruit, SparkFun, etc).
Also I queried with Blynk. They do not currently support WizFi, on their platform.
Any idea how we could develop something with DFRobot wifi shield, to make it compatible with Blynk?
Thanks.
Ans
userHeadPic a.murdan
2016-07-29 10:41:37 Dear Leff,
I tried it again and again. I even installed the new arduino ide version 1.6.10.
I also reinstalled the WizFi libraries.
I am still getting the following errors:
Code: Select all
G:\Arduino Projects\libraries\WizFiShield\HTMLPages.cpp:6:1: error: 'prog_char' does not name a type

 prog_char Page1_Line0[] PROGMEM = "<!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.2//EN\" ";   // "String 0" etc are strings to store - change to suit.

 ^

G:\Arduino Projects\libraries\WizFiShield\HTMLPages.cpp:7:1: error: 'prog_char' does not name a type

 prog_char Page1_Line1[] PROGMEM = "\"http://www.wapforum.org/DTD/xhtml-mobile 12.dtd\">\r\n";   // "String 0" etc are strings to store - change to suit.

 ^

G:\Arduino Projects\libraries\WizFiShield\HTMLPages.cpp:8:1: error: 'prog_char' does not name a type

 prog_char Html_start[] PROGMEM = "<html>\r\n";   // "String 0" etc are strings to store - change to suit.

 ^

G:\Arduino Projects\libraries\WizFiShield\HTMLPages.cpp:9:1: error: 'prog_char' does not name a type

 prog_char head_start[] PROGMEM = "<head>\r\n";   // "String 0" etc are strings to store - change to suit.


Kindly help me.
Thanks.
Ans
userHeadPic a.murdan
2016-07-27 07:54:52 Dear Leff,
I downloaded the WizFiShield library for this link: https://github.com/Wiznet/WizFiShield
After unzipping, you'll find 3 folders (Document, Hardware and Software). The libraries WizFiShield and TimerOne are in the Software folder.
Thanks fro testing and informing me.
Best Regards,
Ans
userHeadPic a.murdan
2016-07-27 01:46:17 Hi Ans,

I am not sure where did you get that library. May I have a link? Anyway, this is what I did today:

  1. I got one from Github https://github.com/daleInMelbourne/Ardu ... 10_Library, however, it got problem that missing TimerOne.h

    Code: Select all
    C:\Users\God Bless DFrobot\Documents\Arduino\libraries\Arduino_WizFi210_Library-master\WizFi_Shield_Test\WizFi_Shield_Test.ino:26:22: fatal error: TimerOne.h: No such file or directory

     #include <TimerOne.h>

  2. So I searched that file again, https://github.com/dalmirdasilva/Arduin ... r/TimerOne, but got another error as:

    Code: Select all
    C:\Users\God Bless DFrobot\Documents\Arduino\libraries\Arduino_WizFi210_Library-master\wizif210.c:2:27: fatal error: stm32f10x_lib.h: No such file or directory

     #include "stm32f10x_lib.h"

                               ^

    compilation terminated.

Hope to test yours.
userHeadPic Leff