DFR0321

DFR0321 Datasheet


IoT Node SKU:DFR0321

Part Datasheet
DFR0321 DFR0321 DFR0321 (pdf)
PDF Datasheet Preview
IoT Node SKU:DFR0321

From Robot Wiki

Contents
• 1 Introduction
• 2 Specification
• 3 Application
• 4 PinOut
• 5 Tutorial
o Tutorial 1
• Step 1
• Step 2
o Tutorial 2
• Step 1
• Step 2
o Tutorial 3
• Step 1
• Step 2
• 6 Trouble shooting

Introduction

Wido is an Arduino compatible WIFI IoT Node development board, which integrates with WG1300 WIFI solution. The microcontroller of Wido is ATMEL ATmega32U4.

Specification
• Power Supply range 5v or
• Arduino Leonardo Compatible
• Integrate with WG1300 WIFI chip and support 2.4GHz IEEE b/g network
• WIFi and MicroSD driven by SPI port
• On board 2.4G PCB Antenna
• Driver pins:
o WIFI o

Application
• M2M Sensor Node development
• Toys
• Gaming
• mart Home Device PinOut

Fig1 Wido Pin Out

Tutorial

Tutorial 1 First of all, we will bring you a step by step tutorial to lead finish the Wido router connection configuration and make it work as a TCP client connected to the local server. Step 1
• Wido 1unit
• MicroUSB Cable 1unit Step 2

Install the Arduino library to your Arduino IDE. This library for Wido is forked from Adafruit. They've finished an awesome project for this CC3000 development. Based on this library, we updated the pin configuration and extended some application sample codes. For more details from Github Open the sample code, which is named buildtest.

Fig2 buildtest

Upload the sample code to Wido and check the Serial monitor after programming.

Fig3 Scan the Routers

You will see the information printed including the MAC address and local router information detected by Wido.

Update the SSID and password configuration in your code!
//Please enter the SSID and password of the router you want to connect
#define WLAN_SSID ters!
"myNetwork"
// cannot be longer than 32 charac
#define WLAN_PASS
"myPassword"

Then upload the sample sketch again. And after several seconds. You will see the effect, like the picture attached.

Fig4 Ping bing.com

Tutorial 2

Step 1
• TCP Server Tool, used to create a local TCP server from your PC

Step 2 Open the Tool above. Config the port number, and click listening to wait for the client connection.

Fig1 Open TCP Server

Open the sketch named "Wido2LocalTcpServer", and config the TCP server address and port according to your tool setup.
/* Set the target ip address and connection port */ uint32_t ip = WiDo.IP2U32 192,168,0,134 tcpClient = WiDo.connectTCP ip, 9000 ;

Upload the full sample after TCP/Router configuration.
#include <Adafruit_CC3000.h> #include <ccspi.h> #include <SPI.h> #include <string.h> #include "utility/debug.h"
More datasheets: KSA0V210 | KSL0V210 | KSA0V310 | KSL0M210 | KSL0M310 | KSL0M311 | KSL0M330 | KSA0V330 | KSA0V410 | KSL0M430


Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived DFR0321 Datasheet file may be downloaded here without warranties.

Datasheet ID: DFR0321 508718