My experience with WiDo WIFI node

Richard ?tef?n sent me the article, thanks a lot.

Recently I received IOT development board called WiDo by DFRobot. It’s similar to Arduino Leonardo, but with a few extra perks like SD Card slot and CC3000 WIFI module. This module is used in the “Adafruit HUZZAH WiFi Breakout Board“, which libraries are recommended to use with this board by the manufacturer. At the first glance the board looks really interesting, but after some real world testing I found out quite a lot of limitations, that made me think that this platform is not so interesting for me.

The required libraries for the integrated WiFi module can be found in the Arduino Library Manager. If you use the older version of Arduino, the libraries are also avaliable on the GitHub repository of Adafruit.

I decided to test the example called “InternetTime”, hence I could not only just test the network connection, but also if the board is capable of communicating with remote server. In the example you need to edit the define “ADAFRUIT_CC3000_IRQ” from the number 3 to 7. Below that, you need to set the AP and password of your WIFI network. After that we just need to open the Serial Monitor, set the baud rate to 115200 and upload the sketch. There I found the first problem. The board was not connecting to my network and I didn’t know why.

After some studying of documentation I found out that the module only supports the older WIFI standards (B/G) and not the N, which was the only one I’ve enabled on my router. After some reconfiguration of the router the board connected correctly and showed the current time in Serial Monitor.

After making sure that my board was capable of connecting to the Internet, I’ve decided to try out some sketches that used ThingSpeak so I could send my measured data to their servers, but it was just not working correctly. I tried some other alternatives like Ubidots or Blynk, but with no luck either. Every service that I’ve tried hanged after few packets sent to them. I tried older versions of libraries and Arduino IDE, but the problem still remained.

So I decided to update the module’s firmware, but with no luck either. After loading the “driverpatch_1_13“, the board also hanged and didn’t load the update sketch in serial monitor. So after all of those problems I finally got at least one thing working on this board. The aRest framework. It allows me to control the output peripherals of the WiDo by commands sent over network.

If you want to get the aRest framework working, you need the “CC3000_MDNS.h” library which is available through GitHub. After you’ve installed the aRest framework, all you need to do is open the “WiFi_CC3000” example, change the IRQ pin to number 7 and set the AP’s name and password into the specific configuration variables at the top of the sketch. After you’ve uploaded the sketch to WiDo, type http://(ip-adress-of-WiDo)/digital/13/1 to light up the internal bright white LED. More info of about the framework could be found here: https://arest.io/get-started

https://github.com/adafruit/CC3000_MDNS
https://github.com/Arduinolibrary/DFRobot_WiDo_Arduino_IOT_Board_DFR0321/raw/master/Adafruit_CC3000_Library.rar


Share the article:
Tags:
Show your
Maker soul!
Buy a T-Shirt
Coffee for Chiptron
Give a boost to the next article

Related Articles

I received very interesting board called WIDO. If you don’t know this board, maybe the WIDO will be interesting after reading of this article. WIDO board sent https://dfrobot.com store. Thank you very much. For this article I used tutorial (wiki…

I would like to thank Richard Stefun for this very good article about ESP32 and development board. The IOT applications of new generation. After the launch of ESP-01 modules in 2014 that used the ESP8266 microcontrollers from Espressif Systems, the…

Finally, I can write you a short tutorial how to play with ESP32 (more powerful than ESP8266). On the internet is a lot of tutorials how to do it, but this is a little bit different. I don’t have LoLin32,…

Everybody has meteostation… somebody better, somebody worse. I wanted meteostation too. I didn’t spend a time with development of sophistic device. My requirements was very easy – measurement temperature, humidity and use SHT75, because I got that as a sample…

BigClown, popular IoT platform, offers a lot of TAGs (board with sensor) and modules, but I still had missed versatile board for connection of cheap sensors from ebay and aliexpress – e.g. BMP280, Si7021 or SHT31. Notice: HARDWARIO s.r.o. doesn’t…

Other article about ESP32, with using of development board of SunDuino ESP32 and temperature/humidity sensor Si7021 (HTU21). I recommend the first article about ESP32 and SunDuino ESP32 which is available on https://time4ee.com/articles.php?article_id=43 Thank dfrobot.com for ESP32. I thank designer of…

Trends