DFR0162

DFR0162 Datasheet


V2 SKU:DFR0162

Part Datasheet
DFR0162 DFR0162 DFR0162 (pdf)
PDF Datasheet Preview
V2 SKU:DFR0162

X-Board V2, DFR0162

Contents
• 1 Introduction
• 2 Specifications
• 3 Pinouts
• 4 Tutorial

Requirements Wiring Diagram Sample code

Introduction

This is Version of the X-board. The main improvement is that it now operates at 5V, making it compatible with most sensors and I2C protocol with out the need of a voltage level converter. The XBoard is a unique Arduino board which features a WIZnet ethernet port, an XBee socket, and an ATMega328. This board will add wireless XBee control as well as internet connectivity to your projects. Its great for anything from home automation to robot control. The possibilities are endless! It has 8 Analog I/O pins and 8 digital pins, 4 of which have PWM indicated by an asterisk . It is compatible with all XBee modules, and also comes with an integrated socket for APC220 RF Module or DF-Bluetooth Module. The XBoard can be programmed via an FTDI programmer or via the ICSP header. Power is provided through a Mini USB connector. You can setup a web server through
which you may communicate with a remote Arduino using XBee radios, bluetooth or APC modules. This information can be posted to a web site, or to Twitter.

We have used our XBoard to control our office door from the internet. All we need to do if we forget our RFID badge is to login to our office WiFi and send the command to open the door! We have created a project guide which includes the list of parts, and source code to get this project going for yourself. The board requires FTDI basic board to upload sketches. It can be powered by a mini USB.

Specifications

Basic

MCU Atmega328P low voltage version 16Mhz Ethernet WIZ5100 Arduino Uno Bootloader Supply voltage 5~12v Output voltage 5v/3.3v Digital IO 8 Analog IO 8 Envionment Friendly ROHS Compliance

PWR indicates that the board and shield are powered LINK indicates the presence of a network link and flashes when the shield transmits or receives data FULLD indicates that the network connection is full duplex 100M indicates the presence of a 100 Mb/s network connection as opposed to 10 Mb/s RX flashes when the shield receives data TX flashes when the shield sends data COLL flashes when network collisions are detected

Pinouts

Xboard v2 pinout

Tutorial

Requirements
• Hardware X-Board V2 x1 FTDI Basic Breakout x1 Ethernet cable x1 USB x1
• Software Arduino IDE V1.6.8 Click to Download Arduino IDE from

Wiring Diagram

This connection diagram shows how to connect the FTDI programmer to the X-board for uploading an Arduino sketch. NOTE Please select "arduino UNO" from the boards list in the Arduino IDE.

X-Board Connection Diagram How to connect FTDI programmer

Sample code
#include <Client.h> #include <Ethernet.h> #include <Server.h> #include <Udp.h> #include <SPI.h>
/* * Web Server * * A simple web server Displays a button to open/close * a door and door status */ //-----------------------BEGIN Variable setup ------------------------------

String readString = String 30 //string for fetching data from address boolean LEDON = false //LED status flag
int state int val=0;
byte mac[] = 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED
byte ip[] = 192, 168, 0, 177 //Change your IP Address here

Server 80 //Standard server port
//-----------------------END Variable setup-------------------------------
void setup
pinMode 4, OUTPUT ;

Ethernet.begin mac, ip server.begin delay 100 Serial.begin 57600 //XBee module Baud rate delay 100 ;
void loop //---------------Web Server

Client = server.available if client
boolean current_line_is_blank = true while client.connected
if client.available char c = client.read if readString.length < 100
readString += c;
///////////Check button status to determine actions to take for submit button ///////////////
if readString.indexOf "IO=1" // If door open request sent;
More datasheets: A000057 | BU508AFTBTU | FQD6N40TF | FQD6N40TM | FJN4311RBU | FJN4311RTA | FDS2070N3 | BB-USH204 | BB-USH207 | 929025-01-10


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 DFR0162 Datasheet file may be downloaded here without warranties.

Datasheet ID: DFR0162 508658