Difference between revisions of "CuHead WiFi Shield for Arduino Mega"

From LinkSprite Playgound
Jump to: navigation, search
(Features)
(Usage)
Line 137: Line 137:
 
=== Hardware Installation  ===
 
=== Hardware Installation  ===
  
 +
'''Ready To Hardware'''
  
 +
*LinkSprite CuHead WiFi Shield for Arduino Mega module
 +
 +
*Arduino Mega module
 +
 
 +
*USB CABLE
 +
 +
'''Ready To Software'''
  
 
+
*Arduino 1.0
 +
 +
Download link: [http://arduino.cc/en/Main/Software Arduino]
 +
 +
*Cuhead Mega’s Library files and code
 +
 +
Download link: [https://github.com/linksprite/cuheadmega cuheadmega]
  
 
=== Programming  ===
 
=== Programming  ===
  
 +
'''Example demonstration'''
  
 
+
*Download file : linksprite-cuheadmega-1545a16.zip, unzip it and rename it as cuheadmega, then put it under the arduino-1.0\libraries directory.
 
+
 +
*Open arduino.exe, choose an example such as SimpleServer.
 +
 +
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.
 +
 +
*Choose the right Serial Port and Board.
 +
 +
*When Cuhead Mega connected to the router through WiFi,the red LED will turn on.
 +
 +
*Input the IP address of Cuhead Mega as we set it:192.168.3.120, it showed what SimpleServer is about.(this IP is for demo)
  
 
== FAQ  ==
 
== FAQ  ==

Revision as of 08:03, 14 November 2012

Introduction

This document is to introduce LinkSprite CuHead WiFi Shield for Arduino Mega(hereafter we call Cuhead Mega).

Cuhead Mega use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module,match 2.4 GHz IEEE 802.11b™ RF Standard.

Cuhead Mega adopt standard Arduino Mega laminated design . It is designed to plug on Arduino, MEGA, Romeo, etc.

Features

Standard spec

Cuhead Mega has charging and discharging function, the charging circuit is used to tell voltage of the battery.

We can connect the positive and negtive of the battery to BAT, if the battery is full, then Cuhead Mega wont charge battery; if it is not, the external battery will be charged.

We bring comparator to check the operating current of Cuhead Mega so you know it is Arduino giving power to Cuhead Mega or the opposite way, and change the charging circuit to connect/disconnect based on that.

When Cuhead Mega connect Arduino, there are two working status:

  • Connect Arduino with USB/Adaptor , Arduino gives power to Cuhead Mega, the charging circuit on Cuhead Mega will disconnect;
  • No external power for Arduino, then the charging circuit of Cuhead Mega is working, and the battery will power the boards. Normally we give power to Arduino directly, thus the charging circuit is inactive.

Add Potentiometer

The new added potentiometer is to adjust the voltage to any value needed (by adjust AMS1117 Vin to 5.6V~6.0V).

It is hard to do so by fixed resistance. The default voltage of Cuhead Mega has been set in the right voltage,normally you don't have to adjust it.

Wi-Fi Transceiver Module Features

  • IEEE Std. 802.11-compliant RF Transceiver
  • Serialized unique MAC address
  • Data Rate: 1 and 2 Mbps
  • IEEE Std. 802.11b/g/n compatible
  • Small size: 21mm x 31mm 36-pin Surface Mount Module
  • Integrated PCB antenna (MRF24WB0MA)
  • Range: up to 400m (1300 ft.)
  • Single operating voltage: 2.7V–3.6V (3.3V typical)
  • Simple, four-wire SPI interface with interrupt
  • Low-current consumption:

RX mode – 85 mA (typical)

TX mode – 154 mA (+10 dBm typic

Sleep – 250 µA (typical)

Hibernate – <0.1 µA (typical)

Wi-Fi Transceiver Module RF/Analog Features

  • ISM Band 2.400–2.484 GHz operation
  • 14 Channels selectable individually or domain-restricted
  • DSSS Modulation
  • Data Rate – 1000 kbps
  • -91 dBm Typical sensitivity at 1 Mbps
  • +10 dBm Typical output power with control
  • Integrated low phase noise VCO, RF frequency synthesizer, PLL loop filter and PA
  • Digital VCO and filter calibration
  • Integrated RSSI ADC and I/Q DACs, RSSI readings available to host
  • Balanced receiver and transmitter characteristics for low power consumption

Cuhead Mega MAC/Baseband Features

  • Hardware CSMA/CA acce ss control, automatic ACK, and FCS creation and checking
  • Automatic MAC packet retransmit
  • Hardware Security Engine for AES and RC4-based ciphers
  • Supports 802.1x, 802.1i
  • Security: WEP, WPA-PSK, and WPA-2-PSK

Application Ideas

Cautions

Schematic

Specification

Pin definition and Rating

Mechanic Dimensions

Usage

Hardware Installation

Ready To Hardware

  • LinkSprite CuHead WiFi Shield for Arduino Mega module
  • Arduino Mega module
  • USB CABLE

Ready To Software

  • Arduino 1.0

Download link: Arduino

  • Cuhead Mega’s Library files and code

Download link: cuheadmega

Programming

Example demonstration

  • Download file : linksprite-cuheadmega-1545a16.zip, unzip it and rename it as cuheadmega, then put it under the arduino-1.0\libraries directory.
  • Open arduino.exe, choose an example such as SimpleServer.
  • Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.
  • Choose the right Serial Port and Board.
  • When Cuhead Mega connected to the router through WiFi,the red LED will turn on.
  • Input the IP address of Cuhead Mega as we set it:192.168.3.120, it showed what SimpleServer is about.(this IP is for demo)

FAQ

Please list your question here:

Support

If you have questions or other better design ideas, you can go to our forum to discuss or creat a ticket for your issue at linksprite support.

Resources

How to buy

See Also

Other related products and resources.

Licensing

This documentation is licensed under the Creative Commons Attribution-ShareAlike License 3.0 Source code and libraries are licensed under GPL/LGPL, see source code files for details.