<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.linksprite.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Nancy</id>
	<title>LinkSprite Playgound - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.linksprite.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Nancy"/>
	<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php/Special:Contributions/Nancy"/>
	<updated>2026-05-13T20:45:27Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=Diamondback_WiFi_Platform_Compatible_With_Arduino&amp;diff=1879</id>
		<title>Diamondback WiFi Platform Compatible With Arduino</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=Diamondback_WiFi_Platform_Compatible_With_Arduino&amp;diff=1879"/>
		<updated>2013-01-10T06:26:40Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* FAQ */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
The DiamondBack is an Arduino Duemilanove compatible clone that has 802.11b wireless connectivity baked directly onto the board.  The components have been switched out for surface mount equivalents to free up space for the wireless module.  It is fully compatible with the Processing/Wiring IDE.  The DiamondBack will give your Arduino projects added wireless connectivity without the need for additional bulky shields!&lt;br /&gt;
&lt;br /&gt;
Diamondback use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
At the same time, Diamondback guide out all the I/O interface of ATmega328, such that support user development.&lt;br /&gt;
&lt;br /&gt;
==Features==&lt;br /&gt;
*size compatible with existing Arduino Uno, Duemilanove and Diecimila boards&lt;br /&gt;
*up to 14 digital I/O pins&lt;br /&gt;
*6 analog input pins&lt;br /&gt;
*Atmel Mega 328P microprocessor&lt;br /&gt;
*32KB flash RAM (2KB used for bootloader)&lt;br /&gt;
*2KB SRAM&lt;br /&gt;
*1KB EEPROM&lt;br /&gt;
*lower profile USB 5-pin mini-B connector&lt;br /&gt;
*auto-switchable power between USB and external DC power&lt;br /&gt;
*2-pin JST connector allows for more varied external power options (JST to DC barrel jack, Litihium-ion battery pack, etc.)&lt;br /&gt;
*802.11b 1 and 2 mbps wireless connectivity&lt;br /&gt;
*on-board PCB antenna&lt;br /&gt;
*switchable interrupt between INT0 and digital pin 8&lt;br /&gt;
*supports infrastructure mode (BSS) and adhoc (IBSS) network modes&lt;br /&gt;
*support for WEP, WPA, and WPA2 security&lt;br /&gt;
*LED attached to digital pin 9 used to indicate a successful wireless connection&lt;br /&gt;
&lt;br /&gt;
==Video Tutorials==&lt;br /&gt;
*http://v.youku.com/v_show/id_XMzk0NzQyODQ4.html&lt;br /&gt;
&lt;br /&gt;
==Schematics==&lt;br /&gt;
*[https://s3.amazonaws.com/linksprite/Shields/DiamondBack/diamondback_sch.pdf Schematics]&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
'''Prepare Hardware'''	&lt;br /&gt;
*Diamondback module&lt;br /&gt;
&lt;br /&gt;
[[File:Diamondback01.png]]&lt;br /&gt;
&lt;br /&gt;
*USB CABLE&lt;br /&gt;
&lt;br /&gt;
[[File:Diamondback05.png]]&lt;br /&gt;
 &lt;br /&gt;
'''Prepare Software'''&lt;br /&gt;
*Arduino 1.0&lt;br /&gt;
&lt;br /&gt;
Download link: [http://arduino.cc/en/Main/Software Arduino 1.0 Software]&lt;br /&gt;
&lt;br /&gt;
*ZG2100BasedWiFiShield’s Library files and code / WiFiShield’s Library files and code&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/ZG2100BasedWiFiShield ZG2100BasedWiFiShield]&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/WiShield WiShield]&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
'''Connect to WIFI'''&lt;br /&gt;
&lt;br /&gt;
*Download file:linksprite-ZG2100BasedWiFiShield-68b2001.zip, unzip it and rename it as ZG2100BasedWiFiShield, then put it under the arduino-1.0\libraries directory.[[File:Cuhead 12.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe,choose an example such as SimpleServer.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 4.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 5.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 6.jpg]]&lt;br /&gt;
&lt;br /&gt;
*When Diamondback connected to the router through WiFi，the red LED will turn on.&lt;br /&gt;
&lt;br /&gt;
 [[File:Diamondback02.png]]&lt;br /&gt;
&lt;br /&gt;
*Input the IP address of Cuhead V2.0 as we set it：192.168.3.120, it showed what SimpleServer is about.(this IP is for demo)&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 8.jpg]]&lt;br /&gt;
&lt;br /&gt;
'''Connect to WIFI (WiFiShield Libraries)'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-WiShield-v1.3.0-14-g4defd52.zip , unzip it and rename it as WiShield, then put it under the arduino-0022\libraries directory.&lt;br /&gt;
&lt;br /&gt;
Please note: Please use the Arduino-0023 and Arduino-0023 the following version.&lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe，choose an example such as server. Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
&lt;br /&gt;
*Test the Diamondback &lt;br /&gt;
&lt;br /&gt;
Open TCP Test tool，we can see the IP Address/Name，set your wishield IP，set Port to 5000.Then click “Connect”.&lt;br /&gt;
&lt;br /&gt;
 [[File:Diamondback03.png]]&lt;br /&gt;
&lt;br /&gt;
Please Note：Before you click “Connect”, please check if the WiFi indicating lamp was on; if not, please wait till it is on.&lt;br /&gt;
&lt;br /&gt;
If it is successfully connected,it will show “Hello from Arduino client B/A”in the window Edit/Data Log automatically.&lt;br /&gt;
&lt;br /&gt;
 [[File:Diamondback04.png]]&lt;br /&gt;
&lt;br /&gt;
==FAQ==&lt;br /&gt;
&lt;br /&gt;
'''Q1. Program can't be compiled'''&lt;br /&gt;
&lt;br /&gt;
A1：Check these if you found that the example we provide cannot compile.&lt;br /&gt;
&lt;br /&gt;
Whether you choose the right Board. You should choose the board you are using when compile.&lt;br /&gt;
&lt;br /&gt;
Here enter ZG2100BasedWiFiShield[[File:Cuhead 12.jpg]] , and open apps-conf.h&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 13.jpg]]&lt;br /&gt;
 &lt;br /&gt;
To prevent repeated quotation of the same file, which will cause compile error like duplicate definition and nested quoted.&lt;br /&gt;
&lt;br /&gt;
You have to change it here according to your needs. To different examples, the macro definition is different, the default is:&lt;br /&gt;
&lt;br /&gt;
'''#define APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 14.jpg]]&lt;br /&gt;
 &lt;br /&gt;
If you want to use another example, such as how to use webserver.h,&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WEBSERVER'''&lt;br /&gt;
&lt;br /&gt;
'''//#define  APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Q2. Red LED not on'''&lt;br /&gt;
&lt;br /&gt;
A2：If the program has been downloaded to Diamondback, yet red LED on Diamondback is not on, which means Wi-Fi not connected, please check below part.&lt;br /&gt;
&lt;br /&gt;
*Check the IP address, default gate way and subnet mask in the code if it is right with the Wi-Fi router settings. And check the SSID、PASSWORD and encryption method. Or you can reset Diamondback module and reconnect them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Q3.Diamondback on MacBook?'''&lt;br /&gt;
&lt;br /&gt;
A3:We have tested, and we need to stay with Arduino 0023, not the latest Arduino as the FDTI driver for Mac is not included in lastest version.&lt;br /&gt;
&lt;br /&gt;
[[File:DIAMONDBACK-02.JPG |400px]]&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=Diamondback_WiFi_Platform_Compatible_With_Arduino&amp;diff=1878</id>
		<title>Diamondback WiFi Platform Compatible With Arduino</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=Diamondback_WiFi_Platform_Compatible_With_Arduino&amp;diff=1878"/>
		<updated>2013-01-10T06:26:10Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* FAQ */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
The DiamondBack is an Arduino Duemilanove compatible clone that has 802.11b wireless connectivity baked directly onto the board.  The components have been switched out for surface mount equivalents to free up space for the wireless module.  It is fully compatible with the Processing/Wiring IDE.  The DiamondBack will give your Arduino projects added wireless connectivity without the need for additional bulky shields!&lt;br /&gt;
&lt;br /&gt;
Diamondback use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
At the same time, Diamondback guide out all the I/O interface of ATmega328, such that support user development.&lt;br /&gt;
&lt;br /&gt;
==Features==&lt;br /&gt;
*size compatible with existing Arduino Uno, Duemilanove and Diecimila boards&lt;br /&gt;
*up to 14 digital I/O pins&lt;br /&gt;
*6 analog input pins&lt;br /&gt;
*Atmel Mega 328P microprocessor&lt;br /&gt;
*32KB flash RAM (2KB used for bootloader)&lt;br /&gt;
*2KB SRAM&lt;br /&gt;
*1KB EEPROM&lt;br /&gt;
*lower profile USB 5-pin mini-B connector&lt;br /&gt;
*auto-switchable power between USB and external DC power&lt;br /&gt;
*2-pin JST connector allows for more varied external power options (JST to DC barrel jack, Litihium-ion battery pack, etc.)&lt;br /&gt;
*802.11b 1 and 2 mbps wireless connectivity&lt;br /&gt;
*on-board PCB antenna&lt;br /&gt;
*switchable interrupt between INT0 and digital pin 8&lt;br /&gt;
*supports infrastructure mode (BSS) and adhoc (IBSS) network modes&lt;br /&gt;
*support for WEP, WPA, and WPA2 security&lt;br /&gt;
*LED attached to digital pin 9 used to indicate a successful wireless connection&lt;br /&gt;
&lt;br /&gt;
==Video Tutorials==&lt;br /&gt;
*http://v.youku.com/v_show/id_XMzk0NzQyODQ4.html&lt;br /&gt;
&lt;br /&gt;
==Schematics==&lt;br /&gt;
*[https://s3.amazonaws.com/linksprite/Shields/DiamondBack/diamondback_sch.pdf Schematics]&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
'''Prepare Hardware'''	&lt;br /&gt;
*Diamondback module&lt;br /&gt;
&lt;br /&gt;
[[File:Diamondback01.png]]&lt;br /&gt;
&lt;br /&gt;
*USB CABLE&lt;br /&gt;
&lt;br /&gt;
[[File:Diamondback05.png]]&lt;br /&gt;
 &lt;br /&gt;
'''Prepare Software'''&lt;br /&gt;
*Arduino 1.0&lt;br /&gt;
&lt;br /&gt;
Download link: [http://arduino.cc/en/Main/Software Arduino 1.0 Software]&lt;br /&gt;
&lt;br /&gt;
*ZG2100BasedWiFiShield’s Library files and code / WiFiShield’s Library files and code&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/ZG2100BasedWiFiShield ZG2100BasedWiFiShield]&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/WiShield WiShield]&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
'''Connect to WIFI'''&lt;br /&gt;
&lt;br /&gt;
*Download file:linksprite-ZG2100BasedWiFiShield-68b2001.zip, unzip it and rename it as ZG2100BasedWiFiShield, then put it under the arduino-1.0\libraries directory.[[File:Cuhead 12.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe,choose an example such as SimpleServer.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 4.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 5.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 6.jpg]]&lt;br /&gt;
&lt;br /&gt;
*When Diamondback connected to the router through WiFi，the red LED will turn on.&lt;br /&gt;
&lt;br /&gt;
 [[File:Diamondback02.png]]&lt;br /&gt;
&lt;br /&gt;
*Input the IP address of Cuhead V2.0 as we set it：192.168.3.120, it showed what SimpleServer is about.(this IP is for demo)&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 8.jpg]]&lt;br /&gt;
&lt;br /&gt;
'''Connect to WIFI (WiFiShield Libraries)'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-WiShield-v1.3.0-14-g4defd52.zip , unzip it and rename it as WiShield, then put it under the arduino-0022\libraries directory.&lt;br /&gt;
&lt;br /&gt;
Please note: Please use the Arduino-0023 and Arduino-0023 the following version.&lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe，choose an example such as server. Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
&lt;br /&gt;
*Test the Diamondback &lt;br /&gt;
&lt;br /&gt;
Open TCP Test tool，we can see the IP Address/Name，set your wishield IP，set Port to 5000.Then click “Connect”.&lt;br /&gt;
&lt;br /&gt;
 [[File:Diamondback03.png]]&lt;br /&gt;
&lt;br /&gt;
Please Note：Before you click “Connect”, please check if the WiFi indicating lamp was on; if not, please wait till it is on.&lt;br /&gt;
&lt;br /&gt;
If it is successfully connected,it will show “Hello from Arduino client B/A”in the window Edit/Data Log automatically.&lt;br /&gt;
&lt;br /&gt;
 [[File:Diamondback04.png]]&lt;br /&gt;
&lt;br /&gt;
==FAQ==&lt;br /&gt;
&lt;br /&gt;
'''Q1. Program can't be compiled'''&lt;br /&gt;
&lt;br /&gt;
A1：Check these if you found that the example we provide cannot compile.&lt;br /&gt;
&lt;br /&gt;
Whether you choose the right Board. You should choose the board you are using when compile.&lt;br /&gt;
&lt;br /&gt;
Here enter ZG2100BasedWiFiShield[[File:Cuhead 12.jpg]] , and open apps-conf.h&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 13.jpg]]&lt;br /&gt;
 &lt;br /&gt;
To prevent repeated quotation of the same file, which will cause compile error like duplicate definition and nested quoted.&lt;br /&gt;
&lt;br /&gt;
You have to change it here according to your needs. To different examples, the macro definition is different, the default is:&lt;br /&gt;
&lt;br /&gt;
'''#define APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 14.jpg]]&lt;br /&gt;
 &lt;br /&gt;
If you want to use another example, such as how to use webserver.h,&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WEBSERVER'''&lt;br /&gt;
&lt;br /&gt;
'''//#define  APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Q2. Red LED not on'''&lt;br /&gt;
&lt;br /&gt;
A2：If the program has been downloaded to Diamondback, yet red LED on Diamondback is not on, which means Wi-Fi not connected, please check below part.&lt;br /&gt;
&lt;br /&gt;
*Check the IP address, default gate way and subnet mask in the code if it is right with the Wi-Fi router settings. And check the SSID、PASSWORD and encryption method. Or you can reset Diamondback module and reconnect them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Q3.Diamondback on MacBook?'''&lt;br /&gt;
A3:We have tested, and we need to stay with Arduino 0023, not the latest Arduino as the FDTI driver for Mac is not included in lastest version.&lt;br /&gt;
&lt;br /&gt;
[[File:DIAMONDBACK-02.JPG |400px]]&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=Diamondback_WiFi_Platform_Compatible_With_Arduino&amp;diff=1877</id>
		<title>Diamondback WiFi Platform Compatible With Arduino</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=Diamondback_WiFi_Platform_Compatible_With_Arduino&amp;diff=1877"/>
		<updated>2013-01-10T06:25:27Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* FAQ */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
The DiamondBack is an Arduino Duemilanove compatible clone that has 802.11b wireless connectivity baked directly onto the board.  The components have been switched out for surface mount equivalents to free up space for the wireless module.  It is fully compatible with the Processing/Wiring IDE.  The DiamondBack will give your Arduino projects added wireless connectivity without the need for additional bulky shields!&lt;br /&gt;
&lt;br /&gt;
Diamondback use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
At the same time, Diamondback guide out all the I/O interface of ATmega328, such that support user development.&lt;br /&gt;
&lt;br /&gt;
==Features==&lt;br /&gt;
*size compatible with existing Arduino Uno, Duemilanove and Diecimila boards&lt;br /&gt;
*up to 14 digital I/O pins&lt;br /&gt;
*6 analog input pins&lt;br /&gt;
*Atmel Mega 328P microprocessor&lt;br /&gt;
*32KB flash RAM (2KB used for bootloader)&lt;br /&gt;
*2KB SRAM&lt;br /&gt;
*1KB EEPROM&lt;br /&gt;
*lower profile USB 5-pin mini-B connector&lt;br /&gt;
*auto-switchable power between USB and external DC power&lt;br /&gt;
*2-pin JST connector allows for more varied external power options (JST to DC barrel jack, Litihium-ion battery pack, etc.)&lt;br /&gt;
*802.11b 1 and 2 mbps wireless connectivity&lt;br /&gt;
*on-board PCB antenna&lt;br /&gt;
*switchable interrupt between INT0 and digital pin 8&lt;br /&gt;
*supports infrastructure mode (BSS) and adhoc (IBSS) network modes&lt;br /&gt;
*support for WEP, WPA, and WPA2 security&lt;br /&gt;
*LED attached to digital pin 9 used to indicate a successful wireless connection&lt;br /&gt;
&lt;br /&gt;
==Video Tutorials==&lt;br /&gt;
*http://v.youku.com/v_show/id_XMzk0NzQyODQ4.html&lt;br /&gt;
&lt;br /&gt;
==Schematics==&lt;br /&gt;
*[https://s3.amazonaws.com/linksprite/Shields/DiamondBack/diamondback_sch.pdf Schematics]&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
'''Prepare Hardware'''	&lt;br /&gt;
*Diamondback module&lt;br /&gt;
&lt;br /&gt;
[[File:Diamondback01.png]]&lt;br /&gt;
&lt;br /&gt;
*USB CABLE&lt;br /&gt;
&lt;br /&gt;
[[File:Diamondback05.png]]&lt;br /&gt;
 &lt;br /&gt;
'''Prepare Software'''&lt;br /&gt;
*Arduino 1.0&lt;br /&gt;
&lt;br /&gt;
Download link: [http://arduino.cc/en/Main/Software Arduino 1.0 Software]&lt;br /&gt;
&lt;br /&gt;
*ZG2100BasedWiFiShield’s Library files and code / WiFiShield’s Library files and code&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/ZG2100BasedWiFiShield ZG2100BasedWiFiShield]&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/WiShield WiShield]&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
'''Connect to WIFI'''&lt;br /&gt;
&lt;br /&gt;
*Download file:linksprite-ZG2100BasedWiFiShield-68b2001.zip, unzip it and rename it as ZG2100BasedWiFiShield, then put it under the arduino-1.0\libraries directory.[[File:Cuhead 12.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe,choose an example such as SimpleServer.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 4.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 5.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 6.jpg]]&lt;br /&gt;
&lt;br /&gt;
*When Diamondback connected to the router through WiFi，the red LED will turn on.&lt;br /&gt;
&lt;br /&gt;
 [[File:Diamondback02.png]]&lt;br /&gt;
&lt;br /&gt;
*Input the IP address of Cuhead V2.0 as we set it：192.168.3.120, it showed what SimpleServer is about.(this IP is for demo)&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 8.jpg]]&lt;br /&gt;
&lt;br /&gt;
'''Connect to WIFI (WiFiShield Libraries)'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-WiShield-v1.3.0-14-g4defd52.zip , unzip it and rename it as WiShield, then put it under the arduino-0022\libraries directory.&lt;br /&gt;
&lt;br /&gt;
Please note: Please use the Arduino-0023 and Arduino-0023 the following version.&lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe，choose an example such as server. Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
&lt;br /&gt;
*Test the Diamondback &lt;br /&gt;
&lt;br /&gt;
Open TCP Test tool，we can see the IP Address/Name，set your wishield IP，set Port to 5000.Then click “Connect”.&lt;br /&gt;
&lt;br /&gt;
 [[File:Diamondback03.png]]&lt;br /&gt;
&lt;br /&gt;
Please Note：Before you click “Connect”, please check if the WiFi indicating lamp was on; if not, please wait till it is on.&lt;br /&gt;
&lt;br /&gt;
If it is successfully connected,it will show “Hello from Arduino client B/A”in the window Edit/Data Log automatically.&lt;br /&gt;
&lt;br /&gt;
 [[File:Diamondback04.png]]&lt;br /&gt;
&lt;br /&gt;
==FAQ==&lt;br /&gt;
&lt;br /&gt;
'''Q1. Program can't be compiled'''&lt;br /&gt;
&lt;br /&gt;
A1：Check these if you found that the example we provide cannot compile.&lt;br /&gt;
&lt;br /&gt;
Whether you choose the right Board. You should choose the board you are using when compile.&lt;br /&gt;
&lt;br /&gt;
Here enter ZG2100BasedWiFiShield[[File:Cuhead 12.jpg]] , and open apps-conf.h&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 13.jpg]]&lt;br /&gt;
 &lt;br /&gt;
To prevent repeated quotation of the same file, which will cause compile error like duplicate definition and nested quoted.&lt;br /&gt;
&lt;br /&gt;
You have to change it here according to your needs. To different examples, the macro definition is different, the default is:&lt;br /&gt;
&lt;br /&gt;
'''#define APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 14.jpg]]&lt;br /&gt;
 &lt;br /&gt;
If you want to use another example, such as how to use webserver.h,&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WEBSERVER'''&lt;br /&gt;
&lt;br /&gt;
'''//#define  APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
'''Q2. Red LED not on'''&lt;br /&gt;
&lt;br /&gt;
A2：If the program has been downloaded to Diamondback, yet red LED on Diamondback is not on, which means Wi-Fi not connected, please check below part.&lt;br /&gt;
&lt;br /&gt;
*Check the IP address, default gate way and subnet mask in the code if it is right with the Wi-Fi router settings. And check the SSID、PASSWORD and encryption method. Or you can reset Diamondback module and reconnect them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Q3.Diamondback on MacBook?'''&lt;br /&gt;
A3:We have tested, and we need to stay with Arduino 0023, not the latest Arduino as the FDTI driver for Mac is not included in lastest version.&lt;br /&gt;
&lt;br /&gt;
[[File:DIAMONDBACK-02.JPG |400px]]&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=Diamondback_WiFi_Platform_Compatible_With_Arduino&amp;diff=1876</id>
		<title>Diamondback WiFi Platform Compatible With Arduino</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=Diamondback_WiFi_Platform_Compatible_With_Arduino&amp;diff=1876"/>
		<updated>2013-01-10T06:22:00Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* Programming */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
The DiamondBack is an Arduino Duemilanove compatible clone that has 802.11b wireless connectivity baked directly onto the board.  The components have been switched out for surface mount equivalents to free up space for the wireless module.  It is fully compatible with the Processing/Wiring IDE.  The DiamondBack will give your Arduino projects added wireless connectivity without the need for additional bulky shields!&lt;br /&gt;
&lt;br /&gt;
Diamondback use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
At the same time, Diamondback guide out all the I/O interface of ATmega328, such that support user development.&lt;br /&gt;
&lt;br /&gt;
==Features==&lt;br /&gt;
*size compatible with existing Arduino Uno, Duemilanove and Diecimila boards&lt;br /&gt;
*up to 14 digital I/O pins&lt;br /&gt;
*6 analog input pins&lt;br /&gt;
*Atmel Mega 328P microprocessor&lt;br /&gt;
*32KB flash RAM (2KB used for bootloader)&lt;br /&gt;
*2KB SRAM&lt;br /&gt;
*1KB EEPROM&lt;br /&gt;
*lower profile USB 5-pin mini-B connector&lt;br /&gt;
*auto-switchable power between USB and external DC power&lt;br /&gt;
*2-pin JST connector allows for more varied external power options (JST to DC barrel jack, Litihium-ion battery pack, etc.)&lt;br /&gt;
*802.11b 1 and 2 mbps wireless connectivity&lt;br /&gt;
*on-board PCB antenna&lt;br /&gt;
*switchable interrupt between INT0 and digital pin 8&lt;br /&gt;
*supports infrastructure mode (BSS) and adhoc (IBSS) network modes&lt;br /&gt;
*support for WEP, WPA, and WPA2 security&lt;br /&gt;
*LED attached to digital pin 9 used to indicate a successful wireless connection&lt;br /&gt;
&lt;br /&gt;
==Video Tutorials==&lt;br /&gt;
*http://v.youku.com/v_show/id_XMzk0NzQyODQ4.html&lt;br /&gt;
&lt;br /&gt;
==Schematics==&lt;br /&gt;
*[https://s3.amazonaws.com/linksprite/Shields/DiamondBack/diamondback_sch.pdf Schematics]&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
'''Prepare Hardware'''	&lt;br /&gt;
*Diamondback module&lt;br /&gt;
&lt;br /&gt;
[[File:Diamondback01.png]]&lt;br /&gt;
&lt;br /&gt;
*USB CABLE&lt;br /&gt;
&lt;br /&gt;
[[File:Diamondback05.png]]&lt;br /&gt;
 &lt;br /&gt;
'''Prepare Software'''&lt;br /&gt;
*Arduino 1.0&lt;br /&gt;
&lt;br /&gt;
Download link: [http://arduino.cc/en/Main/Software Arduino 1.0 Software]&lt;br /&gt;
&lt;br /&gt;
*ZG2100BasedWiFiShield’s Library files and code / WiFiShield’s Library files and code&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/ZG2100BasedWiFiShield ZG2100BasedWiFiShield]&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/WiShield WiShield]&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
'''Connect to WIFI'''&lt;br /&gt;
&lt;br /&gt;
*Download file:linksprite-ZG2100BasedWiFiShield-68b2001.zip, unzip it and rename it as ZG2100BasedWiFiShield, then put it under the arduino-1.0\libraries directory.[[File:Cuhead 12.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe,choose an example such as SimpleServer.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 4.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 5.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 6.jpg]]&lt;br /&gt;
&lt;br /&gt;
*When Diamondback connected to the router through WiFi，the red LED will turn on.&lt;br /&gt;
&lt;br /&gt;
 [[File:Diamondback02.png]]&lt;br /&gt;
&lt;br /&gt;
*Input the IP address of Cuhead V2.0 as we set it：192.168.3.120, it showed what SimpleServer is about.(this IP is for demo)&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 8.jpg]]&lt;br /&gt;
&lt;br /&gt;
'''Connect to WIFI (WiFiShield Libraries)'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-WiShield-v1.3.0-14-g4defd52.zip , unzip it and rename it as WiShield, then put it under the arduino-0022\libraries directory.&lt;br /&gt;
&lt;br /&gt;
Please note: Please use the Arduino-0023 and Arduino-0023 the following version.&lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe，choose an example such as server. Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
&lt;br /&gt;
*Test the Diamondback &lt;br /&gt;
&lt;br /&gt;
Open TCP Test tool，we can see the IP Address/Name，set your wishield IP，set Port to 5000.Then click “Connect”.&lt;br /&gt;
&lt;br /&gt;
 [[File:Diamondback03.png]]&lt;br /&gt;
&lt;br /&gt;
Please Note：Before you click “Connect”, please check if the WiFi indicating lamp was on; if not, please wait till it is on.&lt;br /&gt;
&lt;br /&gt;
If it is successfully connected,it will show “Hello from Arduino client B/A”in the window Edit/Data Log automatically.&lt;br /&gt;
&lt;br /&gt;
 [[File:Diamondback04.png]]&lt;br /&gt;
&lt;br /&gt;
==FAQ==&lt;br /&gt;
&lt;br /&gt;
*Diamondback on MacBook?&lt;br /&gt;
**We have tested, and we need to stay with Arduino 0023, not the latest Arduino as the FDTI driver for Mac is not included in lastest version.&lt;br /&gt;
&lt;br /&gt;
[[File:DIAMONDBACK-02.JPG |400px]]&lt;br /&gt;
&lt;br /&gt;
'''Q1. Program can't be compiled'''&lt;br /&gt;
&lt;br /&gt;
A1：Check these if you found that the example we provide cannot compile.&lt;br /&gt;
&lt;br /&gt;
Whether you choose the right Board. You should choose the board you are using when compile.&lt;br /&gt;
&lt;br /&gt;
Here enter ZG2100BasedWiFiShield[[File:Cuhead 12.jpg]] , and open apps-conf.h&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 13.jpg]]&lt;br /&gt;
 &lt;br /&gt;
To prevent repeated quotation of the same file, which will cause compile error like duplicate definition and nested quoted.&lt;br /&gt;
&lt;br /&gt;
You have to change it here according to your needs. To different examples, the macro definition is different, the default is:&lt;br /&gt;
&lt;br /&gt;
'''#define APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 14.jpg]]&lt;br /&gt;
 &lt;br /&gt;
If you want to use another example, such as how to use webserver.h,&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WEBSERVER'''&lt;br /&gt;
&lt;br /&gt;
'''//#define  APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
'''Q2. Red LED（D1）not on'''&lt;br /&gt;
&lt;br /&gt;
A2：If the program has been downloaded to Arduino, yet red LED（D1）on Cuhead V1.0 is not on, which means Wi-Fi not connected,please check below part.&lt;br /&gt;
&lt;br /&gt;
Check the IP address,default gate way and subnet mask in the code if it is right with the WiFi routor settings. &lt;br /&gt;
&lt;br /&gt;
And check the SSID、PASSWORD and encryption method. Or you can reset Cuhead V2.0/Arduino module and reconnect them.&lt;br /&gt;
&lt;br /&gt;
Check the jump line parts:&lt;br /&gt;
&lt;br /&gt;
*INTX1, used to choose to interrupt mode, jump line 1, 2 pin is D8, jump line 2, 3 pin is D2. No influence on the use of  Cuhead V2.0,  not normally use.&lt;br /&gt;
&lt;br /&gt;
*Flash_sn, jump line 1, 2 pin is SS, jump line 2, 3 pin is CS, when you using Wi-Fi choice SS, make Flash invalid.&lt;br /&gt;
&lt;br /&gt;
*Wi-Fi connection indicator light, jump line 1, 2 pin. Cuhead V2.0 leave factory, need to jump line of the part we have adjusted, you can use directly.&lt;br /&gt;
&lt;br /&gt;
'''Q3. Using UNO R3'''&lt;br /&gt;
&lt;br /&gt;
A3:When Cuhead V2.0 connected to Arduino UNO R3, Cuhead V2.0 may be unable to connect to wifi. &lt;br /&gt;
&lt;br /&gt;
You need to download the latest version of the Bootloader to Arduino microcontroller (ATmegaXXXX).&lt;br /&gt;
&lt;br /&gt;
Open optiboot folder ( X: \ arduino-XXXX \ hardware \ arduino\ bootloaders \ optiboot ) &lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 15.jpg]]&lt;br /&gt;
 &lt;br /&gt;
Bootloader (.hex file) download to corresponding version of the Arduino microcontroller (ATmegaXXXX).&lt;br /&gt;
&lt;br /&gt;
'''Q4.I have your Cuhead module,but when i connect it with my Arduino Mega 2560,it is not working.what can i do now?'''&lt;br /&gt;
&lt;br /&gt;
A4:Please check the connections with the arduino board carefully,it is different with different arduino boards.&lt;br /&gt;
&lt;br /&gt;
For example,Arduino Mega uses different pins for the SPI interface than the previous boards, so you may not able to use the headers to stack the shield onto the Mega.&lt;br /&gt;
&lt;br /&gt;
And you may have to pull pins to match the correct SPI pins to get it working.&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=Diamondback_WiFi_Platform_Compatible_With_Arduino&amp;diff=1875</id>
		<title>Diamondback WiFi Platform Compatible With Arduino</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=Diamondback_WiFi_Platform_Compatible_With_Arduino&amp;diff=1875"/>
		<updated>2013-01-10T06:17:51Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* Hardware Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
The DiamondBack is an Arduino Duemilanove compatible clone that has 802.11b wireless connectivity baked directly onto the board.  The components have been switched out for surface mount equivalents to free up space for the wireless module.  It is fully compatible with the Processing/Wiring IDE.  The DiamondBack will give your Arduino projects added wireless connectivity without the need for additional bulky shields!&lt;br /&gt;
&lt;br /&gt;
Diamondback use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
At the same time, Diamondback guide out all the I/O interface of ATmega328, such that support user development.&lt;br /&gt;
&lt;br /&gt;
==Features==&lt;br /&gt;
*size compatible with existing Arduino Uno, Duemilanove and Diecimila boards&lt;br /&gt;
*up to 14 digital I/O pins&lt;br /&gt;
*6 analog input pins&lt;br /&gt;
*Atmel Mega 328P microprocessor&lt;br /&gt;
*32KB flash RAM (2KB used for bootloader)&lt;br /&gt;
*2KB SRAM&lt;br /&gt;
*1KB EEPROM&lt;br /&gt;
*lower profile USB 5-pin mini-B connector&lt;br /&gt;
*auto-switchable power between USB and external DC power&lt;br /&gt;
*2-pin JST connector allows for more varied external power options (JST to DC barrel jack, Litihium-ion battery pack, etc.)&lt;br /&gt;
*802.11b 1 and 2 mbps wireless connectivity&lt;br /&gt;
*on-board PCB antenna&lt;br /&gt;
*switchable interrupt between INT0 and digital pin 8&lt;br /&gt;
*supports infrastructure mode (BSS) and adhoc (IBSS) network modes&lt;br /&gt;
*support for WEP, WPA, and WPA2 security&lt;br /&gt;
*LED attached to digital pin 9 used to indicate a successful wireless connection&lt;br /&gt;
&lt;br /&gt;
==Video Tutorials==&lt;br /&gt;
*http://v.youku.com/v_show/id_XMzk0NzQyODQ4.html&lt;br /&gt;
&lt;br /&gt;
==Schematics==&lt;br /&gt;
*[https://s3.amazonaws.com/linksprite/Shields/DiamondBack/diamondback_sch.pdf Schematics]&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
'''Prepare Hardware'''	&lt;br /&gt;
*Diamondback module&lt;br /&gt;
&lt;br /&gt;
[[File:Diamondback01.png]]&lt;br /&gt;
&lt;br /&gt;
*USB CABLE&lt;br /&gt;
&lt;br /&gt;
[[File:Diamondback05.png]]&lt;br /&gt;
 &lt;br /&gt;
'''Prepare Software'''&lt;br /&gt;
*Arduino 1.0&lt;br /&gt;
&lt;br /&gt;
Download link: [http://arduino.cc/en/Main/Software Arduino 1.0 Software]&lt;br /&gt;
&lt;br /&gt;
*ZG2100BasedWiFiShield’s Library files and code / WiFiShield’s Library files and code&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/ZG2100BasedWiFiShield ZG2100BasedWiFiShield]&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/WiShield WiShield]&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
'''Connect to WIFI'''&lt;br /&gt;
&lt;br /&gt;
*Download file:linksprite-ZG2100BasedWiFiShield-68b2001.zip, unzip it and rename it as ZG2100BasedWiFiShield, then put it under the arduino-1.0\libraries directory.[[File:Cuhead 12.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe,choose an example such as SimpleServer.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 4.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 5.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 6.jpg]]&lt;br /&gt;
&lt;br /&gt;
*When Cuhead V2.0 connected to the router through WiFi,the red LED will turn on.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 7.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Input the IP address of Cuhead V2.0 as we set it：192.168.3.120, it showed what SimpleServer is about.(this IP is for demo)&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 8.jpg]]&lt;br /&gt;
&lt;br /&gt;
'''Download the DataFlash'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-DataFlash-e90ea99.zip , unzip it and rename it as DataFlash, then put it under the arduino-0022\libraries directory.&lt;br /&gt;
&lt;br /&gt;
*Please note: Using Arduino-0023 and Arduino-0023 the following version, download Data Flash ( DataFlash Download link: [https://github.com/linksprite/DataFlash DataFlash] ) &lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe，choose an example such as DataFlash_Intro.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 9.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 10.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Click on the Serial Monitor, COM22 window appears information.&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 11.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==FAQ==&lt;br /&gt;
&lt;br /&gt;
*Diamondback on MacBook?&lt;br /&gt;
**We have tested, and we need to stay with Arduino 0023, not the latest Arduino as the FDTI driver for Mac is not included in lastest version.&lt;br /&gt;
&lt;br /&gt;
[[File:DIAMONDBACK-02.JPG |400px]]&lt;br /&gt;
&lt;br /&gt;
'''Q1. Program can't be compiled'''&lt;br /&gt;
&lt;br /&gt;
A1：Check these if you found that the example we provide cannot compile.&lt;br /&gt;
&lt;br /&gt;
Whether you choose the right Board. You should choose the board you are using when compile.&lt;br /&gt;
&lt;br /&gt;
Here enter ZG2100BasedWiFiShield[[File:Cuhead 12.jpg]] , and open apps-conf.h&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 13.jpg]]&lt;br /&gt;
 &lt;br /&gt;
To prevent repeated quotation of the same file, which will cause compile error like duplicate definition and nested quoted.&lt;br /&gt;
&lt;br /&gt;
You have to change it here according to your needs. To different examples, the macro definition is different, the default is:&lt;br /&gt;
&lt;br /&gt;
'''#define APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 14.jpg]]&lt;br /&gt;
 &lt;br /&gt;
If you want to use another example, such as how to use webserver.h,&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WEBSERVER'''&lt;br /&gt;
&lt;br /&gt;
'''//#define  APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
'''Q2. Red LED（D1）not on'''&lt;br /&gt;
&lt;br /&gt;
A2：If the program has been downloaded to Arduino, yet red LED（D1）on Cuhead V1.0 is not on, which means Wi-Fi not connected,please check below part.&lt;br /&gt;
&lt;br /&gt;
Check the IP address,default gate way and subnet mask in the code if it is right with the WiFi routor settings. &lt;br /&gt;
&lt;br /&gt;
And check the SSID、PASSWORD and encryption method. Or you can reset Cuhead V2.0/Arduino module and reconnect them.&lt;br /&gt;
&lt;br /&gt;
Check the jump line parts:&lt;br /&gt;
&lt;br /&gt;
*INTX1, used to choose to interrupt mode, jump line 1, 2 pin is D8, jump line 2, 3 pin is D2. No influence on the use of  Cuhead V2.0,  not normally use.&lt;br /&gt;
&lt;br /&gt;
*Flash_sn, jump line 1, 2 pin is SS, jump line 2, 3 pin is CS, when you using Wi-Fi choice SS, make Flash invalid.&lt;br /&gt;
&lt;br /&gt;
*Wi-Fi connection indicator light, jump line 1, 2 pin. Cuhead V2.0 leave factory, need to jump line of the part we have adjusted, you can use directly.&lt;br /&gt;
&lt;br /&gt;
'''Q3. Using UNO R3'''&lt;br /&gt;
&lt;br /&gt;
A3:When Cuhead V2.0 connected to Arduino UNO R3, Cuhead V2.0 may be unable to connect to wifi. &lt;br /&gt;
&lt;br /&gt;
You need to download the latest version of the Bootloader to Arduino microcontroller (ATmegaXXXX).&lt;br /&gt;
&lt;br /&gt;
Open optiboot folder ( X: \ arduino-XXXX \ hardware \ arduino\ bootloaders \ optiboot ) &lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 15.jpg]]&lt;br /&gt;
 &lt;br /&gt;
Bootloader (.hex file) download to corresponding version of the Arduino microcontroller (ATmegaXXXX).&lt;br /&gt;
&lt;br /&gt;
'''Q4.I have your Cuhead module,but when i connect it with my Arduino Mega 2560,it is not working.what can i do now?'''&lt;br /&gt;
&lt;br /&gt;
A4:Please check the connections with the arduino board carefully,it is different with different arduino boards.&lt;br /&gt;
&lt;br /&gt;
For example,Arduino Mega uses different pins for the SPI interface than the previous boards, so you may not able to use the headers to stack the shield onto the Mega.&lt;br /&gt;
&lt;br /&gt;
And you may have to pull pins to match the correct SPI pins to get it working.&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=File:Diamondback05.png&amp;diff=1874</id>
		<title>File:Diamondback05.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=File:Diamondback05.png&amp;diff=1874"/>
		<updated>2013-01-10T06:17:33Z</updated>

		<summary type="html">&lt;p&gt;Nancy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=Diamondback_WiFi_Platform_Compatible_With_Arduino&amp;diff=1873</id>
		<title>Diamondback WiFi Platform Compatible With Arduino</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=Diamondback_WiFi_Platform_Compatible_With_Arduino&amp;diff=1873"/>
		<updated>2013-01-10T06:16:12Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* Hardware Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
The DiamondBack is an Arduino Duemilanove compatible clone that has 802.11b wireless connectivity baked directly onto the board.  The components have been switched out for surface mount equivalents to free up space for the wireless module.  It is fully compatible with the Processing/Wiring IDE.  The DiamondBack will give your Arduino projects added wireless connectivity without the need for additional bulky shields!&lt;br /&gt;
&lt;br /&gt;
Diamondback use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
At the same time, Diamondback guide out all the I/O interface of ATmega328, such that support user development.&lt;br /&gt;
&lt;br /&gt;
==Features==&lt;br /&gt;
*size compatible with existing Arduino Uno, Duemilanove and Diecimila boards&lt;br /&gt;
*up to 14 digital I/O pins&lt;br /&gt;
*6 analog input pins&lt;br /&gt;
*Atmel Mega 328P microprocessor&lt;br /&gt;
*32KB flash RAM (2KB used for bootloader)&lt;br /&gt;
*2KB SRAM&lt;br /&gt;
*1KB EEPROM&lt;br /&gt;
*lower profile USB 5-pin mini-B connector&lt;br /&gt;
*auto-switchable power between USB and external DC power&lt;br /&gt;
*2-pin JST connector allows for more varied external power options (JST to DC barrel jack, Litihium-ion battery pack, etc.)&lt;br /&gt;
*802.11b 1 and 2 mbps wireless connectivity&lt;br /&gt;
*on-board PCB antenna&lt;br /&gt;
*switchable interrupt between INT0 and digital pin 8&lt;br /&gt;
*supports infrastructure mode (BSS) and adhoc (IBSS) network modes&lt;br /&gt;
*support for WEP, WPA, and WPA2 security&lt;br /&gt;
*LED attached to digital pin 9 used to indicate a successful wireless connection&lt;br /&gt;
&lt;br /&gt;
==Video Tutorials==&lt;br /&gt;
*http://v.youku.com/v_show/id_XMzk0NzQyODQ4.html&lt;br /&gt;
&lt;br /&gt;
==Schematics==&lt;br /&gt;
*[https://s3.amazonaws.com/linksprite/Shields/DiamondBack/diamondback_sch.pdf Schematics]&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
'''Prepare Hardware'''	&lt;br /&gt;
*Diamondback module&lt;br /&gt;
&lt;br /&gt;
[[File:Diamondback01.png]]&lt;br /&gt;
&lt;br /&gt;
*USB CABLE&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 3.jpg]]&lt;br /&gt;
 &lt;br /&gt;
'''Prepare Software'''&lt;br /&gt;
*Arduino 1.0&lt;br /&gt;
&lt;br /&gt;
Download link: [http://arduino.cc/en/Main/Software Arduino 1.0 Software]&lt;br /&gt;
&lt;br /&gt;
*ZG2100BasedWiFiShield’s Library files and code / WiFiShield’s Library files and code&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/ZG2100BasedWiFiShield ZG2100BasedWiFiShield]&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/WiShield WiShield]&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
'''Connect to WIFI'''&lt;br /&gt;
&lt;br /&gt;
*Download file:linksprite-ZG2100BasedWiFiShield-68b2001.zip, unzip it and rename it as ZG2100BasedWiFiShield, then put it under the arduino-1.0\libraries directory.[[File:Cuhead 12.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe,choose an example such as SimpleServer.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 4.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 5.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 6.jpg]]&lt;br /&gt;
&lt;br /&gt;
*When Cuhead V2.0 connected to the router through WiFi,the red LED will turn on.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 7.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Input the IP address of Cuhead V2.0 as we set it：192.168.3.120, it showed what SimpleServer is about.(this IP is for demo)&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 8.jpg]]&lt;br /&gt;
&lt;br /&gt;
'''Download the DataFlash'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-DataFlash-e90ea99.zip , unzip it and rename it as DataFlash, then put it under the arduino-0022\libraries directory.&lt;br /&gt;
&lt;br /&gt;
*Please note: Using Arduino-0023 and Arduino-0023 the following version, download Data Flash ( DataFlash Download link: [https://github.com/linksprite/DataFlash DataFlash] ) &lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe，choose an example such as DataFlash_Intro.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 9.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 10.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Click on the Serial Monitor, COM22 window appears information.&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 11.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==FAQ==&lt;br /&gt;
&lt;br /&gt;
*Diamondback on MacBook?&lt;br /&gt;
**We have tested, and we need to stay with Arduino 0023, not the latest Arduino as the FDTI driver for Mac is not included in lastest version.&lt;br /&gt;
&lt;br /&gt;
[[File:DIAMONDBACK-02.JPG |400px]]&lt;br /&gt;
&lt;br /&gt;
'''Q1. Program can't be compiled'''&lt;br /&gt;
&lt;br /&gt;
A1：Check these if you found that the example we provide cannot compile.&lt;br /&gt;
&lt;br /&gt;
Whether you choose the right Board. You should choose the board you are using when compile.&lt;br /&gt;
&lt;br /&gt;
Here enter ZG2100BasedWiFiShield[[File:Cuhead 12.jpg]] , and open apps-conf.h&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 13.jpg]]&lt;br /&gt;
 &lt;br /&gt;
To prevent repeated quotation of the same file, which will cause compile error like duplicate definition and nested quoted.&lt;br /&gt;
&lt;br /&gt;
You have to change it here according to your needs. To different examples, the macro definition is different, the default is:&lt;br /&gt;
&lt;br /&gt;
'''#define APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 14.jpg]]&lt;br /&gt;
 &lt;br /&gt;
If you want to use another example, such as how to use webserver.h,&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WEBSERVER'''&lt;br /&gt;
&lt;br /&gt;
'''//#define  APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
'''Q2. Red LED（D1）not on'''&lt;br /&gt;
&lt;br /&gt;
A2：If the program has been downloaded to Arduino, yet red LED（D1）on Cuhead V1.0 is not on, which means Wi-Fi not connected,please check below part.&lt;br /&gt;
&lt;br /&gt;
Check the IP address,default gate way and subnet mask in the code if it is right with the WiFi routor settings. &lt;br /&gt;
&lt;br /&gt;
And check the SSID、PASSWORD and encryption method. Or you can reset Cuhead V2.0/Arduino module and reconnect them.&lt;br /&gt;
&lt;br /&gt;
Check the jump line parts:&lt;br /&gt;
&lt;br /&gt;
*INTX1, used to choose to interrupt mode, jump line 1, 2 pin is D8, jump line 2, 3 pin is D2. No influence on the use of  Cuhead V2.0,  not normally use.&lt;br /&gt;
&lt;br /&gt;
*Flash_sn, jump line 1, 2 pin is SS, jump line 2, 3 pin is CS, when you using Wi-Fi choice SS, make Flash invalid.&lt;br /&gt;
&lt;br /&gt;
*Wi-Fi connection indicator light, jump line 1, 2 pin. Cuhead V2.0 leave factory, need to jump line of the part we have adjusted, you can use directly.&lt;br /&gt;
&lt;br /&gt;
'''Q3. Using UNO R3'''&lt;br /&gt;
&lt;br /&gt;
A3:When Cuhead V2.0 connected to Arduino UNO R3, Cuhead V2.0 may be unable to connect to wifi. &lt;br /&gt;
&lt;br /&gt;
You need to download the latest version of the Bootloader to Arduino microcontroller (ATmegaXXXX).&lt;br /&gt;
&lt;br /&gt;
Open optiboot folder ( X: \ arduino-XXXX \ hardware \ arduino\ bootloaders \ optiboot ) &lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 15.jpg]]&lt;br /&gt;
 &lt;br /&gt;
Bootloader (.hex file) download to corresponding version of the Arduino microcontroller (ATmegaXXXX).&lt;br /&gt;
&lt;br /&gt;
'''Q4.I have your Cuhead module,but when i connect it with my Arduino Mega 2560,it is not working.what can i do now?'''&lt;br /&gt;
&lt;br /&gt;
A4:Please check the connections with the arduino board carefully,it is different with different arduino boards.&lt;br /&gt;
&lt;br /&gt;
For example,Arduino Mega uses different pins for the SPI interface than the previous boards, so you may not able to use the headers to stack the shield onto the Mega.&lt;br /&gt;
&lt;br /&gt;
And you may have to pull pins to match the correct SPI pins to get it working.&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=Diamondback_WiFi_Platform_Compatible_With_Arduino&amp;diff=1872</id>
		<title>Diamondback WiFi Platform Compatible With Arduino</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=Diamondback_WiFi_Platform_Compatible_With_Arduino&amp;diff=1872"/>
		<updated>2013-01-10T06:14:36Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* Hardware Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
The DiamondBack is an Arduino Duemilanove compatible clone that has 802.11b wireless connectivity baked directly onto the board.  The components have been switched out for surface mount equivalents to free up space for the wireless module.  It is fully compatible with the Processing/Wiring IDE.  The DiamondBack will give your Arduino projects added wireless connectivity without the need for additional bulky shields!&lt;br /&gt;
&lt;br /&gt;
Diamondback use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
At the same time, Diamondback guide out all the I/O interface of ATmega328, such that support user development.&lt;br /&gt;
&lt;br /&gt;
==Features==&lt;br /&gt;
*size compatible with existing Arduino Uno, Duemilanove and Diecimila boards&lt;br /&gt;
*up to 14 digital I/O pins&lt;br /&gt;
*6 analog input pins&lt;br /&gt;
*Atmel Mega 328P microprocessor&lt;br /&gt;
*32KB flash RAM (2KB used for bootloader)&lt;br /&gt;
*2KB SRAM&lt;br /&gt;
*1KB EEPROM&lt;br /&gt;
*lower profile USB 5-pin mini-B connector&lt;br /&gt;
*auto-switchable power between USB and external DC power&lt;br /&gt;
*2-pin JST connector allows for more varied external power options (JST to DC barrel jack, Litihium-ion battery pack, etc.)&lt;br /&gt;
*802.11b 1 and 2 mbps wireless connectivity&lt;br /&gt;
*on-board PCB antenna&lt;br /&gt;
*switchable interrupt between INT0 and digital pin 8&lt;br /&gt;
*supports infrastructure mode (BSS) and adhoc (IBSS) network modes&lt;br /&gt;
*support for WEP, WPA, and WPA2 security&lt;br /&gt;
*LED attached to digital pin 9 used to indicate a successful wireless connection&lt;br /&gt;
&lt;br /&gt;
==Video Tutorials==&lt;br /&gt;
*http://v.youku.com/v_show/id_XMzk0NzQyODQ4.html&lt;br /&gt;
&lt;br /&gt;
==Schematics==&lt;br /&gt;
*[https://s3.amazonaws.com/linksprite/Shields/DiamondBack/diamondback_sch.pdf Schematics]&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
'''Prepare Hardware'''	&lt;br /&gt;
*Diamondback module&lt;br /&gt;
&lt;br /&gt;
[[File:Diamondback01.jpg]]&lt;br /&gt;
&lt;br /&gt;
*USB CABLE&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 3.jpg]]&lt;br /&gt;
 &lt;br /&gt;
'''Prepare Software'''&lt;br /&gt;
*Arduino 1.0&lt;br /&gt;
&lt;br /&gt;
Download link: [http://arduino.cc/en/Main/Software Arduino 1.0 Software]&lt;br /&gt;
&lt;br /&gt;
*ZG2100BasedWiFiShield’s Library files and code / WiFiShield’s Library files and code&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/ZG2100BasedWiFiShield ZG2100BasedWiFiShield]&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/WiShield WiShield]&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
'''Connect to WIFI'''&lt;br /&gt;
&lt;br /&gt;
*Download file:linksprite-ZG2100BasedWiFiShield-68b2001.zip, unzip it and rename it as ZG2100BasedWiFiShield, then put it under the arduino-1.0\libraries directory.[[File:Cuhead 12.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe,choose an example such as SimpleServer.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 4.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 5.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 6.jpg]]&lt;br /&gt;
&lt;br /&gt;
*When Cuhead V2.0 connected to the router through WiFi,the red LED will turn on.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 7.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Input the IP address of Cuhead V2.0 as we set it：192.168.3.120, it showed what SimpleServer is about.(this IP is for demo)&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 8.jpg]]&lt;br /&gt;
&lt;br /&gt;
'''Download the DataFlash'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-DataFlash-e90ea99.zip , unzip it and rename it as DataFlash, then put it under the arduino-0022\libraries directory.&lt;br /&gt;
&lt;br /&gt;
*Please note: Using Arduino-0023 and Arduino-0023 the following version, download Data Flash ( DataFlash Download link: [https://github.com/linksprite/DataFlash DataFlash] ) &lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe，choose an example such as DataFlash_Intro.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 9.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 10.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Click on the Serial Monitor, COM22 window appears information.&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 11.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==FAQ==&lt;br /&gt;
&lt;br /&gt;
*Diamondback on MacBook?&lt;br /&gt;
**We have tested, and we need to stay with Arduino 0023, not the latest Arduino as the FDTI driver for Mac is not included in lastest version.&lt;br /&gt;
&lt;br /&gt;
[[File:DIAMONDBACK-02.JPG |400px]]&lt;br /&gt;
&lt;br /&gt;
'''Q1. Program can't be compiled'''&lt;br /&gt;
&lt;br /&gt;
A1：Check these if you found that the example we provide cannot compile.&lt;br /&gt;
&lt;br /&gt;
Whether you choose the right Board. You should choose the board you are using when compile.&lt;br /&gt;
&lt;br /&gt;
Here enter ZG2100BasedWiFiShield[[File:Cuhead 12.jpg]] , and open apps-conf.h&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 13.jpg]]&lt;br /&gt;
 &lt;br /&gt;
To prevent repeated quotation of the same file, which will cause compile error like duplicate definition and nested quoted.&lt;br /&gt;
&lt;br /&gt;
You have to change it here according to your needs. To different examples, the macro definition is different, the default is:&lt;br /&gt;
&lt;br /&gt;
'''#define APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 14.jpg]]&lt;br /&gt;
 &lt;br /&gt;
If you want to use another example, such as how to use webserver.h,&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WEBSERVER'''&lt;br /&gt;
&lt;br /&gt;
'''//#define  APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
'''Q2. Red LED（D1）not on'''&lt;br /&gt;
&lt;br /&gt;
A2：If the program has been downloaded to Arduino, yet red LED（D1）on Cuhead V1.0 is not on, which means Wi-Fi not connected,please check below part.&lt;br /&gt;
&lt;br /&gt;
Check the IP address,default gate way and subnet mask in the code if it is right with the WiFi routor settings. &lt;br /&gt;
&lt;br /&gt;
And check the SSID、PASSWORD and encryption method. Or you can reset Cuhead V2.0/Arduino module and reconnect them.&lt;br /&gt;
&lt;br /&gt;
Check the jump line parts:&lt;br /&gt;
&lt;br /&gt;
*INTX1, used to choose to interrupt mode, jump line 1, 2 pin is D8, jump line 2, 3 pin is D2. No influence on the use of  Cuhead V2.0,  not normally use.&lt;br /&gt;
&lt;br /&gt;
*Flash_sn, jump line 1, 2 pin is SS, jump line 2, 3 pin is CS, when you using Wi-Fi choice SS, make Flash invalid.&lt;br /&gt;
&lt;br /&gt;
*Wi-Fi connection indicator light, jump line 1, 2 pin. Cuhead V2.0 leave factory, need to jump line of the part we have adjusted, you can use directly.&lt;br /&gt;
&lt;br /&gt;
'''Q3. Using UNO R3'''&lt;br /&gt;
&lt;br /&gt;
A3:When Cuhead V2.0 connected to Arduino UNO R3, Cuhead V2.0 may be unable to connect to wifi. &lt;br /&gt;
&lt;br /&gt;
You need to download the latest version of the Bootloader to Arduino microcontroller (ATmegaXXXX).&lt;br /&gt;
&lt;br /&gt;
Open optiboot folder ( X: \ arduino-XXXX \ hardware \ arduino\ bootloaders \ optiboot ) &lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 15.jpg]]&lt;br /&gt;
 &lt;br /&gt;
Bootloader (.hex file) download to corresponding version of the Arduino microcontroller (ATmegaXXXX).&lt;br /&gt;
&lt;br /&gt;
'''Q4.I have your Cuhead module,but when i connect it with my Arduino Mega 2560,it is not working.what can i do now?'''&lt;br /&gt;
&lt;br /&gt;
A4:Please check the connections with the arduino board carefully,it is different with different arduino boards.&lt;br /&gt;
&lt;br /&gt;
For example,Arduino Mega uses different pins for the SPI interface than the previous boards, so you may not able to use the headers to stack the shield onto the Mega.&lt;br /&gt;
&lt;br /&gt;
And you may have to pull pins to match the correct SPI pins to get it working.&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=File:Diamondback04.png&amp;diff=1871</id>
		<title>File:Diamondback04.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=File:Diamondback04.png&amp;diff=1871"/>
		<updated>2013-01-10T06:13:59Z</updated>

		<summary type="html">&lt;p&gt;Nancy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=File:Diamondback03.png&amp;diff=1870</id>
		<title>File:Diamondback03.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=File:Diamondback03.png&amp;diff=1870"/>
		<updated>2013-01-10T06:13:12Z</updated>

		<summary type="html">&lt;p&gt;Nancy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=File:Diamondback02.png&amp;diff=1869</id>
		<title>File:Diamondback02.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=File:Diamondback02.png&amp;diff=1869"/>
		<updated>2013-01-10T06:12:45Z</updated>

		<summary type="html">&lt;p&gt;Nancy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=File:Diamondback01.png&amp;diff=1868</id>
		<title>File:Diamondback01.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=File:Diamondback01.png&amp;diff=1868"/>
		<updated>2013-01-10T06:12:13Z</updated>

		<summary type="html">&lt;p&gt;Nancy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=Diamondback_WiFi_Platform_Compatible_With_Arduino&amp;diff=1867</id>
		<title>Diamondback WiFi Platform Compatible With Arduino</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=Diamondback_WiFi_Platform_Compatible_With_Arduino&amp;diff=1867"/>
		<updated>2013-01-10T06:06:01Z</updated>

		<summary type="html">&lt;p&gt;Nancy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
The DiamondBack is an Arduino Duemilanove compatible clone that has 802.11b wireless connectivity baked directly onto the board.  The components have been switched out for surface mount equivalents to free up space for the wireless module.  It is fully compatible with the Processing/Wiring IDE.  The DiamondBack will give your Arduino projects added wireless connectivity without the need for additional bulky shields!&lt;br /&gt;
&lt;br /&gt;
Diamondback use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
At the same time, Diamondback guide out all the I/O interface of ATmega328, such that support user development.&lt;br /&gt;
&lt;br /&gt;
==Features==&lt;br /&gt;
*size compatible with existing Arduino Uno, Duemilanove and Diecimila boards&lt;br /&gt;
*up to 14 digital I/O pins&lt;br /&gt;
*6 analog input pins&lt;br /&gt;
*Atmel Mega 328P microprocessor&lt;br /&gt;
*32KB flash RAM (2KB used for bootloader)&lt;br /&gt;
*2KB SRAM&lt;br /&gt;
*1KB EEPROM&lt;br /&gt;
*lower profile USB 5-pin mini-B connector&lt;br /&gt;
*auto-switchable power between USB and external DC power&lt;br /&gt;
*2-pin JST connector allows for more varied external power options (JST to DC barrel jack, Litihium-ion battery pack, etc.)&lt;br /&gt;
*802.11b 1 and 2 mbps wireless connectivity&lt;br /&gt;
*on-board PCB antenna&lt;br /&gt;
*switchable interrupt between INT0 and digital pin 8&lt;br /&gt;
*supports infrastructure mode (BSS) and adhoc (IBSS) network modes&lt;br /&gt;
*support for WEP, WPA, and WPA2 security&lt;br /&gt;
*LED attached to digital pin 9 used to indicate a successful wireless connection&lt;br /&gt;
&lt;br /&gt;
==Video Tutorials==&lt;br /&gt;
*http://v.youku.com/v_show/id_XMzk0NzQyODQ4.html&lt;br /&gt;
&lt;br /&gt;
==Schematics==&lt;br /&gt;
*[https://s3.amazonaws.com/linksprite/Shields/DiamondBack/diamondback_sch.pdf Schematics]&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
'''Prepare Hardware'''	&lt;br /&gt;
*Cuhead WiFi Shield V2.0 module&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Arduino Duemilanove module&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 2.jpg]]&lt;br /&gt;
&lt;br /&gt;
*USB CABLE&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 3.jpg]]&lt;br /&gt;
 &lt;br /&gt;
'''Prepare Software'''&lt;br /&gt;
*Arduino 1.0&lt;br /&gt;
&lt;br /&gt;
Download link: [http://arduino.cc/en/Main/Software Arduino 1.0 Software]&lt;br /&gt;
&lt;br /&gt;
*ZG2100BasedWiFiShield’s Library files and code / WiFiShield’s Library files and code&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/ZG2100BasedWiFiShield ZG2100BasedWiFiShield]&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/WiShield WiShield]&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
'''Connect to WIFI'''&lt;br /&gt;
&lt;br /&gt;
*Download file:linksprite-ZG2100BasedWiFiShield-68b2001.zip, unzip it and rename it as ZG2100BasedWiFiShield, then put it under the arduino-1.0\libraries directory.[[File:Cuhead 12.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe,choose an example such as SimpleServer.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 4.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 5.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 6.jpg]]&lt;br /&gt;
&lt;br /&gt;
*When Cuhead V2.0 connected to the router through WiFi,the red LED will turn on.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 7.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Input the IP address of Cuhead V2.0 as we set it：192.168.3.120, it showed what SimpleServer is about.(this IP is for demo)&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 8.jpg]]&lt;br /&gt;
&lt;br /&gt;
'''Download the DataFlash'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-DataFlash-e90ea99.zip , unzip it and rename it as DataFlash, then put it under the arduino-0022\libraries directory.&lt;br /&gt;
&lt;br /&gt;
*Please note: Using Arduino-0023 and Arduino-0023 the following version, download Data Flash ( DataFlash Download link: [https://github.com/linksprite/DataFlash DataFlash] ) &lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe，choose an example such as DataFlash_Intro.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 9.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 10.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Click on the Serial Monitor, COM22 window appears information.&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 11.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==FAQ==&lt;br /&gt;
&lt;br /&gt;
*Diamondback on MacBook?&lt;br /&gt;
**We have tested, and we need to stay with Arduino 0023, not the latest Arduino as the FDTI driver for Mac is not included in lastest version.&lt;br /&gt;
&lt;br /&gt;
[[File:DIAMONDBACK-02.JPG |400px]]&lt;br /&gt;
&lt;br /&gt;
'''Q1. Program can't be compiled'''&lt;br /&gt;
&lt;br /&gt;
A1：Check these if you found that the example we provide cannot compile.&lt;br /&gt;
&lt;br /&gt;
Whether you choose the right Board. You should choose the board you are using when compile.&lt;br /&gt;
&lt;br /&gt;
Here enter ZG2100BasedWiFiShield[[File:Cuhead 12.jpg]] , and open apps-conf.h&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 13.jpg]]&lt;br /&gt;
 &lt;br /&gt;
To prevent repeated quotation of the same file, which will cause compile error like duplicate definition and nested quoted.&lt;br /&gt;
&lt;br /&gt;
You have to change it here according to your needs. To different examples, the macro definition is different, the default is:&lt;br /&gt;
&lt;br /&gt;
'''#define APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 14.jpg]]&lt;br /&gt;
 &lt;br /&gt;
If you want to use another example, such as how to use webserver.h,&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WEBSERVER'''&lt;br /&gt;
&lt;br /&gt;
'''//#define  APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
'''Q2. Red LED（D1）not on'''&lt;br /&gt;
&lt;br /&gt;
A2：If the program has been downloaded to Arduino, yet red LED（D1）on Cuhead V1.0 is not on, which means Wi-Fi not connected,please check below part.&lt;br /&gt;
&lt;br /&gt;
Check the IP address,default gate way and subnet mask in the code if it is right with the WiFi routor settings. &lt;br /&gt;
&lt;br /&gt;
And check the SSID、PASSWORD and encryption method. Or you can reset Cuhead V2.0/Arduino module and reconnect them.&lt;br /&gt;
&lt;br /&gt;
Check the jump line parts:&lt;br /&gt;
&lt;br /&gt;
*INTX1, used to choose to interrupt mode, jump line 1, 2 pin is D8, jump line 2, 3 pin is D2. No influence on the use of  Cuhead V2.0,  not normally use.&lt;br /&gt;
&lt;br /&gt;
*Flash_sn, jump line 1, 2 pin is SS, jump line 2, 3 pin is CS, when you using Wi-Fi choice SS, make Flash invalid.&lt;br /&gt;
&lt;br /&gt;
*Wi-Fi connection indicator light, jump line 1, 2 pin. Cuhead V2.0 leave factory, need to jump line of the part we have adjusted, you can use directly.&lt;br /&gt;
&lt;br /&gt;
'''Q3. Using UNO R3'''&lt;br /&gt;
&lt;br /&gt;
A3:When Cuhead V2.0 connected to Arduino UNO R3, Cuhead V2.0 may be unable to connect to wifi. &lt;br /&gt;
&lt;br /&gt;
You need to download the latest version of the Bootloader to Arduino microcontroller (ATmegaXXXX).&lt;br /&gt;
&lt;br /&gt;
Open optiboot folder ( X: \ arduino-XXXX \ hardware \ arduino\ bootloaders \ optiboot ) &lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 15.jpg]]&lt;br /&gt;
 &lt;br /&gt;
Bootloader (.hex file) download to corresponding version of the Arduino microcontroller (ATmegaXXXX).&lt;br /&gt;
&lt;br /&gt;
'''Q4.I have your Cuhead module,but when i connect it with my Arduino Mega 2560,it is not working.what can i do now?'''&lt;br /&gt;
&lt;br /&gt;
A4:Please check the connections with the arduino board carefully,it is different with different arduino boards.&lt;br /&gt;
&lt;br /&gt;
For example,Arduino Mega uses different pins for the SPI interface than the previous boards, so you may not able to use the headers to stack the shield onto the Mega.&lt;br /&gt;
&lt;br /&gt;
And you may have to pull pins to match the correct SPI pins to get it working.&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=Diamondback_WiFi_Platform_Compatible_With_Arduino&amp;diff=1866</id>
		<title>Diamondback WiFi Platform Compatible With Arduino</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=Diamondback_WiFi_Platform_Compatible_With_Arduino&amp;diff=1866"/>
		<updated>2013-01-10T06:04:45Z</updated>

		<summary type="html">&lt;p&gt;Nancy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
The DiamondBack is an Arduino Duemilanove compatible clone that has 802.11b wireless connectivity baked directly onto the board.  The components have been switched out for surface mount equivalents to free up space for the wireless module.  It is fully compatible with the Processing/Wiring IDE.  The DiamondBack will give your Arduino projects added wireless connectivity without the need for additional bulky shields!&lt;br /&gt;
&lt;br /&gt;
Diamondback use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
At the same time, Diamondback guide out all the I/O interface of ATmega328, such that support user development.&lt;br /&gt;
&lt;br /&gt;
==Features==&lt;br /&gt;
*size compatible with existing Arduino Uno, Duemilanove and Diecimila boards&lt;br /&gt;
*up to 14 digital I/O pins&lt;br /&gt;
*6 analog input pins&lt;br /&gt;
*Atmel Mega 328P microprocessor&lt;br /&gt;
*32KB flash RAM (2KB used for bootloader)&lt;br /&gt;
*2KB SRAM&lt;br /&gt;
*1KB EEPROM&lt;br /&gt;
*lower profile USB 5-pin mini-B connector&lt;br /&gt;
*auto-switchable power between USB and external DC power&lt;br /&gt;
*2-pin JST connector allows for more varied external power options (JST to DC barrel jack, Litihium-ion battery pack, etc.)&lt;br /&gt;
*802.11b 1 and 2 mbps wireless connectivity&lt;br /&gt;
*on-board PCB antenna&lt;br /&gt;
*switchable interrupt between INT0 and digital pin 8&lt;br /&gt;
*supports infrastructure mode (BSS) and adhoc (IBSS) network modes&lt;br /&gt;
*support for WEP, WPA, and WPA2 security&lt;br /&gt;
*LED attached to digital pin 9 used to indicate a successful wireless connection&lt;br /&gt;
&lt;br /&gt;
==Video Tutorials==&lt;br /&gt;
*http://v.youku.com/v_show/id_XMzk0NzQyODQ4.html&lt;br /&gt;
&lt;br /&gt;
==Schematics==&lt;br /&gt;
*[https://s3.amazonaws.com/linksprite/Shields/DiamondBack/diamondback_sch.pdf Schematics]&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
'''Prepare Hardware'''	&lt;br /&gt;
*Cuhead WiFi Shield V2.0 module&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Arduino Duemilanove module&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 2.jpg]]&lt;br /&gt;
&lt;br /&gt;
*USB CABLE&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 3.jpg]]&lt;br /&gt;
 &lt;br /&gt;
'''Prepare Software'''&lt;br /&gt;
*Arduino 1.0&lt;br /&gt;
&lt;br /&gt;
Download link: [http://arduino.cc/en/Main/Software Arduino 1.0 Software]&lt;br /&gt;
&lt;br /&gt;
*ZG2100BasedWiFiShield’s Library files and code / WiFiShield’s Library files and code&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/ZG2100BasedWiFiShield ZG2100BasedWiFiShield]&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/WiShield WiShield]&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
'''Connect to WIFI'''&lt;br /&gt;
&lt;br /&gt;
*Download file:linksprite-ZG2100BasedWiFiShield-68b2001.zip, unzip it and rename it as ZG2100BasedWiFiShield, then put it under the arduino-1.0\libraries directory.[[File:Cuhead 12.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe,choose an example such as SimpleServer.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 4.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 5.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 6.jpg]]&lt;br /&gt;
&lt;br /&gt;
*When Cuhead V2.0 connected to the router through WiFi,the red LED will turn on.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 7.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Input the IP address of Cuhead V2.0 as we set it：192.168.3.120, it showed what SimpleServer is about.(this IP is for demo)&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 8.jpg]]&lt;br /&gt;
&lt;br /&gt;
'''Download the DataFlash'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-DataFlash-e90ea99.zip , unzip it and rename it as DataFlash, then put it under the arduino-0022\libraries directory.&lt;br /&gt;
&lt;br /&gt;
*Please note: Using Arduino-0023 and Arduino-0023 the following version, download Data Flash ( DataFlash Download link: [https://github.com/linksprite/DataFlash DataFlash] ) &lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe，choose an example such as DataFlash_Intro.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 9.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 10.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Click on the Serial Monitor, COM22 window appears information.&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 11.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==FAQ==&lt;br /&gt;
&lt;br /&gt;
*Diamondback on MacBook?&lt;br /&gt;
**We have tested, and we need to stay with Arduino 0023, not the latest Arduino as the FDTI driver for Mac is not included in lastest version.&lt;br /&gt;
&lt;br /&gt;
[[File:DIAMONDBACK-02.JPG |400px]]&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=Diamondback_WiFi_Platform_Compatible_With_Arduino&amp;diff=1865</id>
		<title>Diamondback WiFi Platform Compatible With Arduino</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=Diamondback_WiFi_Platform_Compatible_With_Arduino&amp;diff=1865"/>
		<updated>2013-01-10T06:02:12Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
The DiamondBack is an Arduino Duemilanove compatible clone that has 802.11b wireless connectivity baked directly onto the board.  The components have been switched out for surface mount equivalents to free up space for the wireless module.  It is fully compatible with the Processing/Wiring IDE.  The DiamondBack will give your Arduino projects added wireless connectivity without the need for additional bulky shields!&lt;br /&gt;
&lt;br /&gt;
Diamondback use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
At the same time, Diamondback guide out all the I/O interface of ATmega328, such that support user development.&lt;br /&gt;
&lt;br /&gt;
==Features==&lt;br /&gt;
*size compatible with existing Arduino Uno, Duemilanove and Diecimila boards&lt;br /&gt;
*up to 14 digital I/O pins&lt;br /&gt;
*6 analog input pins&lt;br /&gt;
*Atmel Mega 328P microprocessor&lt;br /&gt;
*32KB flash RAM (2KB used for bootloader)&lt;br /&gt;
*2KB SRAM&lt;br /&gt;
*1KB EEPROM&lt;br /&gt;
*lower profile USB 5-pin mini-B connector&lt;br /&gt;
*auto-switchable power between USB and external DC power&lt;br /&gt;
*2-pin JST connector allows for more varied external power options (JST to DC barrel jack, Litihium-ion battery pack, etc.)&lt;br /&gt;
*802.11b 1 and 2 mbps wireless connectivity&lt;br /&gt;
*on-board PCB antenna&lt;br /&gt;
*switchable interrupt between INT0 and digital pin 8&lt;br /&gt;
*supports infrastructure mode (BSS) and adhoc (IBSS) network modes&lt;br /&gt;
*support for WEP, WPA, and WPA2 security&lt;br /&gt;
*LED attached to digital pin 9 used to indicate a successful wireless connection&lt;br /&gt;
&lt;br /&gt;
==Video Tutorials==&lt;br /&gt;
*http://v.youku.com/v_show/id_XMzk0NzQyODQ4.html&lt;br /&gt;
&lt;br /&gt;
==Schematics==&lt;br /&gt;
*[https://s3.amazonaws.com/linksprite/Shields/DiamondBack/diamondback_sch.pdf Schematics]&lt;br /&gt;
&lt;br /&gt;
==FAQ==&lt;br /&gt;
&lt;br /&gt;
*Diamondback on MacBook?&lt;br /&gt;
**We have tested, and we need to stay with Arduino 0023, not the latest Arduino as the FDTI driver for Mac is not included in lastest version.&lt;br /&gt;
&lt;br /&gt;
[[File:DIAMONDBACK-02.JPG |400px]]&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_Mega&amp;diff=265</id>
		<title>CuHead WiFi Shield for Arduino Mega</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_Mega&amp;diff=265"/>
		<updated>2012-11-14T09:59:38Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* FAQ */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
This document is to introduce LinkSprite CuHead WiFi Shield for Arduino Mega（hereafter we call Cuhead Mega).&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega adopt standard Arduino Mega laminated design . It is designed to plug on Arduino, MEGA, Romeo, etc.&lt;br /&gt;
&lt;br /&gt;
[[File:Mega 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
== Features  ==&lt;br /&gt;
&lt;br /&gt;
'''Standard spec'''&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega has charging and discharging function, the charging circuit is used to tell voltage of the battery.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
When Cuhead Mega connect Arduino, there are two working status：&lt;br /&gt;
&lt;br /&gt;
*Connect Arduino with USB/Adaptor , Arduino gives power to Cuhead Mega, the charging circuit on Cuhead Mega will disconnect；&lt;br /&gt;
&lt;br /&gt;
*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.&lt;br /&gt;
&lt;br /&gt;
'''Add Potentiometer'''&lt;br /&gt;
&lt;br /&gt;
The new added potentiometer is to adjust the voltage to any value needed (by adjust AMS1117 Vin to 5.6V~6.0V). &lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module Features'''&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11-compliant RF Transceiver&lt;br /&gt;
&lt;br /&gt;
*Serialized unique MAC address&lt;br /&gt;
&lt;br /&gt;
*Data Rate: 1 and 2 Mbps&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11b/g/n compatible&lt;br /&gt;
&lt;br /&gt;
*Small size: 21mm x 31mm 36-pin Surface Mount Module&lt;br /&gt;
&lt;br /&gt;
*Integrated PCB antenna (MRF24WB0MA)&lt;br /&gt;
&lt;br /&gt;
*Range: up to 400m (1300 ft.)&lt;br /&gt;
&lt;br /&gt;
*Single operating voltage: 2.7V–3.6V (3.3V typical)&lt;br /&gt;
&lt;br /&gt;
*Simple, four-wire SPI interface with interrupt&lt;br /&gt;
&lt;br /&gt;
*Low-current consumption:&lt;br /&gt;
&lt;br /&gt;
RX mode – 85 mA (typical)&lt;br /&gt;
&lt;br /&gt;
TX mode – 154 mA (+10 dBm typic&lt;br /&gt;
&lt;br /&gt;
Sleep – 250 µA (typical)&lt;br /&gt;
&lt;br /&gt;
Hibernate – &amp;lt;0.1 µA (typical)&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module RF/Analog Features'''&lt;br /&gt;
&lt;br /&gt;
*ISM Band 2.400–2.484 GHz operation&lt;br /&gt;
&lt;br /&gt;
*14 Channels selectable individually or domain-restricted&lt;br /&gt;
&lt;br /&gt;
*DSSS Modulation&lt;br /&gt;
&lt;br /&gt;
*Data Rate – 1000 kbps&lt;br /&gt;
&lt;br /&gt;
*-91 dBm Typical sensitivity at 1 Mbps&lt;br /&gt;
&lt;br /&gt;
*+10 dBm Typical output power with control&lt;br /&gt;
&lt;br /&gt;
*Integrated low phase noise VCO, RF frequency synthesizer, PLL loop filter and PA&lt;br /&gt;
&lt;br /&gt;
*Digital VCO and filter calibration&lt;br /&gt;
&lt;br /&gt;
*Integrated RSSI ADC and I/Q DACs, RSSI readings available to host&lt;br /&gt;
&lt;br /&gt;
*Balanced receiver and transmitter characteristics for low power consumption&lt;br /&gt;
&lt;br /&gt;
'''Cuhead Mega MAC/Baseband Features'''&lt;br /&gt;
&lt;br /&gt;
*Hardware CSMA/CA acce ss control, automatic ACK, and FCS creation and checking&lt;br /&gt;
&lt;br /&gt;
*Automatic MAC packet retransmit&lt;br /&gt;
&lt;br /&gt;
*Hardware Security Engine for AES and RC4-based ciphers&lt;br /&gt;
&lt;br /&gt;
*Supports 802.1x, 802.1i&lt;br /&gt;
&lt;br /&gt;
*Security: WEP, WPA-PSK, and WPA-2-PSK&lt;br /&gt;
&lt;br /&gt;
== Application Ideas  ==&lt;br /&gt;
&lt;br /&gt;
*Video Introduces:[http://v.youku.com/v_show/id_XMzkzMzgwNzky.html Linksprite Copperhead WiFi Shield arduino Mega]&lt;br /&gt;
&lt;br /&gt;
== Cautions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematic  ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=234 LinkSprite CuHead WiFi Shield for Arduino Mega Schematic]&lt;br /&gt;
&lt;br /&gt;
== Specification  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Pin definition and Rating  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Mechanic Dimensions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
&lt;br /&gt;
'''Ready To Hardware'''&lt;br /&gt;
&lt;br /&gt;
*LinkSprite CuHead WiFi Shield for Arduino Mega module&lt;br /&gt;
&lt;br /&gt;
[[File:Mega 2.jpg]]&lt;br /&gt;
 &lt;br /&gt;
*Arduino Mega module&lt;br /&gt;
&lt;br /&gt;
[[File:Mega 3.jpg]]&lt;br /&gt;
  &lt;br /&gt;
*USB CABLE&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 3.jpg]]&lt;br /&gt;
 &lt;br /&gt;
'''Ready To Software'''&lt;br /&gt;
&lt;br /&gt;
*Arduino 1.0&lt;br /&gt;
 &lt;br /&gt;
Download link: [http://arduino.cc/en/Main/Software Arduino]&lt;br /&gt;
	&lt;br /&gt;
*Cuhead Mega’s Library files and code&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/cuheadmega cuheadmega]&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
'''Example demonstration'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-cuheadmega-1545a16.zip, unzip it and rename it as cuheadmega, then put it under the arduino-1.0\libraries directory.[[File:Mega 4.jpg]]&lt;br /&gt;
 &lt;br /&gt;
*Open arduino.exe, choose an example such as SimpleServer.&lt;br /&gt;
 &lt;br /&gt;
[[File:Mega 5.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
&lt;br /&gt;
[[File:Mega 6.jpg]]&lt;br /&gt;
 &lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
[[File:Mega 7.jpg]]&lt;br /&gt;
 &lt;br /&gt;
*When Cuhead Mega connected to the router through WiFi，the red LED will turn on.&lt;br /&gt;
&lt;br /&gt;
[[File:Mega 8.jpg]]&lt;br /&gt;
 &lt;br /&gt;
*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)&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 8.jpg]]&lt;br /&gt;
&lt;br /&gt;
== FAQ  ==&lt;br /&gt;
'''Q1. Program can't be compiled'''&lt;br /&gt;
&lt;br /&gt;
A1：Check these if you found that the example we provide cannot compile.&lt;br /&gt;
&lt;br /&gt;
*Whether you choose the right Board. Because Arduino Mega and other versions of the Arduino interface is different. You should choose the board you are using when compile.&lt;br /&gt;
&lt;br /&gt;
*Here enter cuheadmaga , and open apps-conf.h&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 13.jpg]]&lt;br /&gt;
 &lt;br /&gt;
To prevent repeated quotation of the same file, which will cause compile error like duplicate definition and nested quoted. You have to change it here according to your needs. To different examples, the macro definition is different, the default is:&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 14.jpg]]&lt;br /&gt;
 &lt;br /&gt;
If you want to use another example, such as how to use webserver.h,&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WEBSERVER'''&lt;br /&gt;
&lt;br /&gt;
'''//#define  APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
'''Q2. Red LED（D1） not on'''&lt;br /&gt;
&lt;br /&gt;
A2：If the program has been downloaded to Arduino, yet red LED（D1）on Cuhead Mega is not on, which means Wi-Fi not connected,please check below part.&lt;br /&gt;
&lt;br /&gt;
Check the IP address,default gate way and subnet mask in the code if it is right with the WiFi routor settings. And check the SSID、PASSWORD and encryption method. Or you can reset Cuhead Mega/Arduino module and reconnect them.&lt;br /&gt;
&lt;br /&gt;
== Support  ==&lt;br /&gt;
&lt;br /&gt;
If you have questions or other better design ideas, you can go to our [http://www.linksprite.com/forum/index.php forum] to discuss or creat a ticket for your issue at [http://www.linksprite.com/support/ linksprite support].&lt;br /&gt;
&lt;br /&gt;
== Resources  ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=235 LinkSprite CuHead WiFi Shield for Arduino Mega User Manual V1.0-english]&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=236 Wifi Shield Chip-MRF24WB0MA Datasheet]&lt;br /&gt;
&lt;br /&gt;
== How to buy  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See Also  ==&lt;br /&gt;
&lt;br /&gt;
Other related products and resources.&lt;br /&gt;
&lt;br /&gt;
== Licensing  ==&lt;br /&gt;
&lt;br /&gt;
This documentation is licensed under the Creative Commons [http://creativecommons.org/licenses/by-sa/3.0/ Attribution-ShareAlike License 3.0] Source code and libraries are licensed under [http://www.gnu.org/licenses/gpl.html GPL/LGPL], see source code files for details.&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_V2.0&amp;diff=264</id>
		<title>CuHead WiFi Shield for Arduino V2.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_V2.0&amp;diff=264"/>
		<updated>2012-11-14T09:57:30Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* Programming */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
This document is to introduce Cuhead WiFi Shield V2.0（hereafter we call Cuhead V2.0).&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 adopt standard Arduino laminated design . It is designed to plug on Arduino  Diecimila/Duemilanove/Uno etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
== Features  ==&lt;br /&gt;
&lt;br /&gt;
'''Standard spec'''&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 has charging and discharging function, the charging circuit is used to tell voltage of the battery. &lt;br /&gt;
&lt;br /&gt;
We can connect the positive and negtive of the battery to BAT, if the battery is full, then Cuhead V2.0 wont charge battery; if it is not, the external battery will be charged.&lt;br /&gt;
&lt;br /&gt;
We bring comparator to check the operating current of Cuhead V2.0 so you know it is Arduino giving power to Cuhead V2.0 or the opposite way, and change the charging circuit to connect/disconnect based on that.&lt;br /&gt;
&lt;br /&gt;
When Cuhead V2.0 connect Arduino, there are two working status：&lt;br /&gt;
&lt;br /&gt;
*Connect Arduino with USB/Adaptor , Arduino gives power to Cuhead V2.0, the charging circuit on Cuhead V2.0 will disconnect；&lt;br /&gt;
&lt;br /&gt;
*No external power for Arduino, then the charging circuit of Cuhead V2.0 is working, and the battery will power the boards. Normally we give power to Arduino directly, thus the charging circuit is inactive.&lt;br /&gt;
&lt;br /&gt;
'''Add Potentiometer'''&lt;br /&gt;
&lt;br /&gt;
The new added potentiometer is to adjust the voltage to any value needed (by adjust AMS1117 Vin to 5.6V~6.0V). &lt;br /&gt;
&lt;br /&gt;
It is hard to do so by fixed resistance. The default voltage of Cuhead V2.0 has been set in the right voltage，normally you don't have to adjust it.&lt;br /&gt;
&lt;br /&gt;
'''Increase the Flash memory chip'''&lt;br /&gt;
&lt;br /&gt;
The increase of the Flash memory chip is serial interface of the Flash memory chip, it can work in 2.5 V-2.7 V, can be used as program code data storage. Flash memory chip and Arduino are used together SPI interface,  the speed can be up to 66 MHz. It contains 17301504 bytes, is organized for 4096 page, each page 512 or 528 bytes. In addition to main memory, the Flash memory chip also includes two SRAM data buffer, each buffer 512/528 bytes. When main memory is programming, buffer is allowed to receive the data, and to support data stream write. And the Flash memory chip allow simple in the system to programming, without having to input high programming voltage.  It can through the # CS Enable, and through the three line interface (SI, SO, SCK) in data communication.&lt;br /&gt;
&lt;br /&gt;
Because Cuhead V2.0 Flash memory chip and Arduino uses the same SPI interface, we through the Cuhead V2.0 module of the flash_sn jump line to select is public SS or CS. The flash_sn connect 1, 2 pin is SS, connect 2,3 pins for CS.&lt;br /&gt;
&lt;br /&gt;
When Cuhead V2.0 need to use Wi-Fi choose SS, make Flash is invalid, so Wi-Fi can accurately to receive information, and deal with the IP protocol. If this time not banned Flash, data through the SPI send come over, Flash and Arduino will receive the data and have the conflict.&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module Features'''&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11-compliant RF Transceiver&lt;br /&gt;
*Serialized unique MAC address&lt;br /&gt;
*Data Rate: 1 and 2 Mbps&lt;br /&gt;
*IEEE Std. 802.11b/g/n compatible&lt;br /&gt;
*Small size: 21mm x 31mm 36-pin Surface Mount Module&lt;br /&gt;
*Integrated PCB antenna (MRF24WB0MA)&lt;br /&gt;
*Range: up to 400m (1300 ft.)&lt;br /&gt;
*Single operating voltage: 2.7V–3.6V (3.3V typical)&lt;br /&gt;
*Simple, four-wire SPI interface with interrupt&lt;br /&gt;
*Low-current consumption:&lt;br /&gt;
*RX mode – 85 mA (typical)&lt;br /&gt;
*TX mode – 154 mA (+10 dBm typic&lt;br /&gt;
*Sleep – 250 µA (typical)&lt;br /&gt;
*Hibernate – &amp;lt;0.1 µA (typical)&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module RF/Analog Features'''&lt;br /&gt;
&lt;br /&gt;
*ISM Band 2.400–2.484 GHz operation&lt;br /&gt;
*14 Channels selectable individually or domain-restricted&lt;br /&gt;
*DSSS Modulation&lt;br /&gt;
*Data Rate – 1000 kbps&lt;br /&gt;
*-91 dBm Typical sensitivity at 1 Mbps&lt;br /&gt;
*+10 dBm Typical output power with control&lt;br /&gt;
*Integrated low phase noise VCO, RF frequency synthesizer, PLL loop filter and PA&lt;br /&gt;
*Digital VCO and filter calibration&lt;br /&gt;
*Integrated RSSI ADC and I/Q DACs, RSSI readings available to host&lt;br /&gt;
*Balanced receiver and transmitter characteristics for low power consumption&lt;br /&gt;
&lt;br /&gt;
'''Cuhead V2.0 MAC/Baseband Features'''&lt;br /&gt;
&lt;br /&gt;
*Hardware CSMA/CA acce ss control, automatic ACK, and FCS creation and checking&lt;br /&gt;
*Automatic MAC packet retransmit&lt;br /&gt;
*Hardware Security Engine for AES and RC4-based ciphers&lt;br /&gt;
*Supports 802.1x, 802.1i&lt;br /&gt;
*Security: WEP, WPA-PSK, and WPA-2-PSK&lt;br /&gt;
&lt;br /&gt;
== Application Ideas  ==&lt;br /&gt;
&lt;br /&gt;
'''Video Introduces'''&lt;br /&gt;
&lt;br /&gt;
*[http://v.youku.com/v_show/id_XMzkxMjI2NDgw.html Features of CuHead V2.0]&lt;br /&gt;
&lt;br /&gt;
*[http://v.youku.com/v_show/id_XMzkwNTM0OTA0.html CuHead Enabled WiFi Controllable Robot: Controlled by iPad]&lt;br /&gt;
&lt;br /&gt;
== Cautions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematic  ==&lt;br /&gt;
&lt;br /&gt;
*[http://linksprite.com/download/showdownload.php?lang=en&amp;amp;id=230 Schematics of CuHead WiFi Shield for Arduino V2.0 ]&lt;br /&gt;
&lt;br /&gt;
== Specification  ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=233 Cuhead WiFi Shield V2.0 User Manual]&lt;br /&gt;
&lt;br /&gt;
*[http://www.cutedigi.com/pub/Arduino/CuHead/HowToCompileCuHeadSampleCodeforArduinoUno.pdf How To Compile CuHead Sample Code for ArduinoUno]&lt;br /&gt;
&lt;br /&gt;
== Pin definition and Rating  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Mechanic Dimensions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
'''Ready To Hardware'''	&lt;br /&gt;
*Cuhead WiFi Shield V2.0 module&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Arduino Duemilanove module&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 2.jpg]]&lt;br /&gt;
&lt;br /&gt;
*USB CABLE&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 3.jpg]]&lt;br /&gt;
 &lt;br /&gt;
'''Ready To Software'''&lt;br /&gt;
*Arduino 1.0&lt;br /&gt;
&lt;br /&gt;
Download link: [http://arduino.cc/en/Main/Software Arduino 1.0 Software]&lt;br /&gt;
&lt;br /&gt;
*ZG2100BasedWiFiShield’s Library files and code / WiFiShield’s Library files and code&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/ZG2100BasedWiFiShield ZG2100BasedWiFiShield]&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/WiShield WiShield]&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
'''Connect to WIFI'''&lt;br /&gt;
&lt;br /&gt;
*Download file:linksprite-ZG2100BasedWiFiShield-68b2001.zip, unzip it and rename it as ZG2100BasedWiFiShield, then put it under the arduino-1.0\libraries directory.[[File:Cuhead 12.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe,choose an example such as SimpleServer.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 4.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 5.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 6.jpg]]&lt;br /&gt;
&lt;br /&gt;
*When Cuhead V2.0 connected to the router through WiFi,the red LED will turn on.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 7.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Input the IP address of Cuhead V2.0 as we set it：192.168.3.120, it showed what SimpleServer is about.(this IP is for demo)&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 8.jpg]]&lt;br /&gt;
&lt;br /&gt;
'''Download the DataFlash'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-DataFlash-e90ea99.zip , unzip it and rename it as DataFlash, then put it under the arduino-0022\libraries directory.&lt;br /&gt;
&lt;br /&gt;
*Please note: Using Arduino-0023 and Arduino-0023 the following version, download Data Flash ( DataFlash Download link: [https://github.com/linksprite/DataFlash DataFlash] ) &lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe，choose an example such as DataFlash_Intro.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 9.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 10.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Click on the Serial Monitor, COM22 window appears information.&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 11.jpg]]&lt;br /&gt;
&lt;br /&gt;
== FAQ  ==&lt;br /&gt;
&lt;br /&gt;
'''Q1. Program can't be compiled'''&lt;br /&gt;
&lt;br /&gt;
A1：Check these if you found that the example we provide cannot compile.&lt;br /&gt;
&lt;br /&gt;
Whether you choose the right Board. You should choose the board you are using when compile.&lt;br /&gt;
&lt;br /&gt;
Here enter ZG2100BasedWiFiShield[[File:Cuhead 12.jpg]] , and open apps-conf.h&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 13.jpg]]&lt;br /&gt;
 &lt;br /&gt;
To prevent repeated quotation of the same file, which will cause compile error like duplicate definition and nested quoted.&lt;br /&gt;
&lt;br /&gt;
You have to change it here according to your needs. To different examples, the macro definition is different, the default is:&lt;br /&gt;
&lt;br /&gt;
'''#define APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 14.jpg]]&lt;br /&gt;
 &lt;br /&gt;
If you want to use another example, such as how to use webserver.h,&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WEBSERVER'''&lt;br /&gt;
&lt;br /&gt;
'''//#define  APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
'''Q2. Red LED（D1）not on'''&lt;br /&gt;
&lt;br /&gt;
A2：If the program has been downloaded to Arduino, yet red LED（D1）on Cuhead V1.0 is not on, which means Wi-Fi not connected,please check below part.&lt;br /&gt;
&lt;br /&gt;
Check the IP address,default gate way and subnet mask in the code if it is right with the WiFi routor settings. &lt;br /&gt;
&lt;br /&gt;
And check the SSID、PASSWORD and encryption method. Or you can reset Cuhead V2.0/Arduino module and reconnect them.&lt;br /&gt;
&lt;br /&gt;
Check the jump line parts:&lt;br /&gt;
&lt;br /&gt;
*INTX1, used to choose to interrupt mode, jump line 1, 2 pin is D8, jump line 2, 3 pin is D2. No influence on the use of  Cuhead V2.0,  not normally use.&lt;br /&gt;
&lt;br /&gt;
*Flash_sn, jump line 1, 2 pin is SS, jump line 2, 3 pin is CS, when you using Wi-Fi choice SS, make Flash invalid.&lt;br /&gt;
&lt;br /&gt;
*Wi-Fi connection indicator light, jump line 1, 2 pin. Cuhead V2.0 leave factory, need to jump line of the part we have adjusted, you can use directly.&lt;br /&gt;
&lt;br /&gt;
'''Q3. Using UNO R3'''&lt;br /&gt;
&lt;br /&gt;
A3:When Cuhead V2.0 connected to Arduino UNO R3, Cuhead V2.0 may be unable to connect to wifi. &lt;br /&gt;
&lt;br /&gt;
You need to download the latest version of the Bootloader to Arduino microcontroller (ATmegaXXXX).&lt;br /&gt;
&lt;br /&gt;
Open optiboot folder ( X: \ arduino-XXXX \ hardware \ arduino\ bootloaders \ optiboot ) &lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 15.jpg]]&lt;br /&gt;
 &lt;br /&gt;
Bootloader (.hex file) download to corresponding version of the Arduino microcontroller (ATmegaXXXX).&lt;br /&gt;
&lt;br /&gt;
'''Q4.I have your Cuhead module,but when i connect it with my Arduino Mega 2560,it is not working.what can i do now?'''&lt;br /&gt;
&lt;br /&gt;
A4:Please check the connections with the arduino board carefully,it is different with different arduino boards.&lt;br /&gt;
&lt;br /&gt;
For example,Arduino Mega uses different pins for the SPI interface than the previous boards, so you may not able to use the headers to stack the shield onto the Mega.&lt;br /&gt;
&lt;br /&gt;
And you may have to pull pins to match the correct SPI pins to get it working.&lt;br /&gt;
&lt;br /&gt;
== Support  ==&lt;br /&gt;
&lt;br /&gt;
If you have questions or other better design ideas, you can go to our [http://www.linksprite.com/forum/index.php forum] to discuss or creat a ticket for your issue at [http://www.linksprite.com/support/ linksprite support].&lt;br /&gt;
&lt;br /&gt;
== Resources  ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/article/shownews.php?lang=en&amp;amp;id=58 source code github]&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/article/shownews.php?lang=en&amp;amp;id=106 Can CuHead WiFi Shield be used with Arduino Mega?]&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=236 Wifi Shield Chip-MRF24WB0MA Datasheet]&lt;br /&gt;
&lt;br /&gt;
== How to buy  ==&lt;br /&gt;
&lt;br /&gt;
Here to buy CuHead V2.0 [http://www.cutedigi.com/wireless/wifi/cuhead-wifi-shield-v2-0-for-arduino.html CUHEADWIFIV2] on LinkSprite [http://www.cutedigi.com/ Cart]&lt;br /&gt;
&lt;br /&gt;
== See Also  ==&lt;br /&gt;
&lt;br /&gt;
Other related products and resources.&lt;br /&gt;
&lt;br /&gt;
== Licensing  ==&lt;br /&gt;
&lt;br /&gt;
This documentation is licensed under the Creative Commons [http://creativecommons.org/licenses/by-sa/3.0/ Attribution-ShareAlike License 3.0] Source code and libraries are licensed under [http://www.gnu.org/licenses/gpl.html GPL/LGPL], see source code files for details.&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_Mega&amp;diff=263</id>
		<title>CuHead WiFi Shield for Arduino Mega</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_Mega&amp;diff=263"/>
		<updated>2012-11-14T09:56:39Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* Programming */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
This document is to introduce LinkSprite CuHead WiFi Shield for Arduino Mega（hereafter we call Cuhead Mega).&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega adopt standard Arduino Mega laminated design . It is designed to plug on Arduino, MEGA, Romeo, etc.&lt;br /&gt;
&lt;br /&gt;
[[File:Mega 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
== Features  ==&lt;br /&gt;
&lt;br /&gt;
'''Standard spec'''&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega has charging and discharging function, the charging circuit is used to tell voltage of the battery.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
When Cuhead Mega connect Arduino, there are two working status：&lt;br /&gt;
&lt;br /&gt;
*Connect Arduino with USB/Adaptor , Arduino gives power to Cuhead Mega, the charging circuit on Cuhead Mega will disconnect；&lt;br /&gt;
&lt;br /&gt;
*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.&lt;br /&gt;
&lt;br /&gt;
'''Add Potentiometer'''&lt;br /&gt;
&lt;br /&gt;
The new added potentiometer is to adjust the voltage to any value needed (by adjust AMS1117 Vin to 5.6V~6.0V). &lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module Features'''&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11-compliant RF Transceiver&lt;br /&gt;
&lt;br /&gt;
*Serialized unique MAC address&lt;br /&gt;
&lt;br /&gt;
*Data Rate: 1 and 2 Mbps&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11b/g/n compatible&lt;br /&gt;
&lt;br /&gt;
*Small size: 21mm x 31mm 36-pin Surface Mount Module&lt;br /&gt;
&lt;br /&gt;
*Integrated PCB antenna (MRF24WB0MA)&lt;br /&gt;
&lt;br /&gt;
*Range: up to 400m (1300 ft.)&lt;br /&gt;
&lt;br /&gt;
*Single operating voltage: 2.7V–3.6V (3.3V typical)&lt;br /&gt;
&lt;br /&gt;
*Simple, four-wire SPI interface with interrupt&lt;br /&gt;
&lt;br /&gt;
*Low-current consumption:&lt;br /&gt;
&lt;br /&gt;
RX mode – 85 mA (typical)&lt;br /&gt;
&lt;br /&gt;
TX mode – 154 mA (+10 dBm typic&lt;br /&gt;
&lt;br /&gt;
Sleep – 250 µA (typical)&lt;br /&gt;
&lt;br /&gt;
Hibernate – &amp;lt;0.1 µA (typical)&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module RF/Analog Features'''&lt;br /&gt;
&lt;br /&gt;
*ISM Band 2.400–2.484 GHz operation&lt;br /&gt;
&lt;br /&gt;
*14 Channels selectable individually or domain-restricted&lt;br /&gt;
&lt;br /&gt;
*DSSS Modulation&lt;br /&gt;
&lt;br /&gt;
*Data Rate – 1000 kbps&lt;br /&gt;
&lt;br /&gt;
*-91 dBm Typical sensitivity at 1 Mbps&lt;br /&gt;
&lt;br /&gt;
*+10 dBm Typical output power with control&lt;br /&gt;
&lt;br /&gt;
*Integrated low phase noise VCO, RF frequency synthesizer, PLL loop filter and PA&lt;br /&gt;
&lt;br /&gt;
*Digital VCO and filter calibration&lt;br /&gt;
&lt;br /&gt;
*Integrated RSSI ADC and I/Q DACs, RSSI readings available to host&lt;br /&gt;
&lt;br /&gt;
*Balanced receiver and transmitter characteristics for low power consumption&lt;br /&gt;
&lt;br /&gt;
'''Cuhead Mega MAC/Baseband Features'''&lt;br /&gt;
&lt;br /&gt;
*Hardware CSMA/CA acce ss control, automatic ACK, and FCS creation and checking&lt;br /&gt;
&lt;br /&gt;
*Automatic MAC packet retransmit&lt;br /&gt;
&lt;br /&gt;
*Hardware Security Engine for AES and RC4-based ciphers&lt;br /&gt;
&lt;br /&gt;
*Supports 802.1x, 802.1i&lt;br /&gt;
&lt;br /&gt;
*Security: WEP, WPA-PSK, and WPA-2-PSK&lt;br /&gt;
&lt;br /&gt;
== Application Ideas  ==&lt;br /&gt;
&lt;br /&gt;
*Video Introduces:[http://v.youku.com/v_show/id_XMzkzMzgwNzky.html Linksprite Copperhead WiFi Shield arduino Mega]&lt;br /&gt;
&lt;br /&gt;
== Cautions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematic  ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=234 LinkSprite CuHead WiFi Shield for Arduino Mega Schematic]&lt;br /&gt;
&lt;br /&gt;
== Specification  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Pin definition and Rating  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Mechanic Dimensions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
&lt;br /&gt;
'''Ready To Hardware'''&lt;br /&gt;
&lt;br /&gt;
*LinkSprite CuHead WiFi Shield for Arduino Mega module&lt;br /&gt;
&lt;br /&gt;
[[File:Mega 2.jpg]]&lt;br /&gt;
 &lt;br /&gt;
*Arduino Mega module&lt;br /&gt;
&lt;br /&gt;
[[File:Mega 3.jpg]]&lt;br /&gt;
  &lt;br /&gt;
*USB CABLE&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 3.jpg]]&lt;br /&gt;
 &lt;br /&gt;
'''Ready To Software'''&lt;br /&gt;
&lt;br /&gt;
*Arduino 1.0&lt;br /&gt;
 &lt;br /&gt;
Download link: [http://arduino.cc/en/Main/Software Arduino]&lt;br /&gt;
	&lt;br /&gt;
*Cuhead Mega’s Library files and code&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/cuheadmega cuheadmega]&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
'''Example demonstration'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-cuheadmega-1545a16.zip, unzip it and rename it as cuheadmega, then put it under the arduino-1.0\libraries directory.[[File:Mega 4.jpg]]&lt;br /&gt;
 &lt;br /&gt;
*Open arduino.exe, choose an example such as SimpleServer.&lt;br /&gt;
 &lt;br /&gt;
[[File:Mega 5.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
&lt;br /&gt;
[[File:Mega 6.jpg]]&lt;br /&gt;
 &lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
[[File:Mega 7.jpg]]&lt;br /&gt;
 &lt;br /&gt;
*When Cuhead Mega connected to the router through WiFi，the red LED will turn on.&lt;br /&gt;
&lt;br /&gt;
[[File:Mega 8.jpg]]&lt;br /&gt;
 &lt;br /&gt;
*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)&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 8.jpg]]&lt;br /&gt;
&lt;br /&gt;
== FAQ  ==&lt;br /&gt;
'''Q1. Program can't be compiled'''&lt;br /&gt;
&lt;br /&gt;
A1：Check these if you found that the example we provide cannot compile.&lt;br /&gt;
&lt;br /&gt;
*Whether you choose the right Board. Because Arduino Mega and other versions of the Arduino interface is different. You should choose the board you are using when compile.&lt;br /&gt;
&lt;br /&gt;
*Here enter cuheadmaga , and open apps-conf.h&lt;br /&gt;
 &lt;br /&gt;
To prevent repeated quotation of the same file, which will cause compile error like duplicate definition and nested quoted. You have to change it here according to your needs. To different examples, the macro definition is different, the default is:&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WISERVER'''&lt;br /&gt;
 &lt;br /&gt;
If you want to use another example, such as how to use webserver.h,&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WEBSERVER'''&lt;br /&gt;
&lt;br /&gt;
'''//#define  APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
'''Q2. Red LED（D1） not on'''&lt;br /&gt;
&lt;br /&gt;
A2：If the program has been downloaded to Arduino, yet red LED（D1）on Cuhead Mega is not on, which means Wi-Fi not connected,please check below part.&lt;br /&gt;
&lt;br /&gt;
Check the IP address,default gate way and subnet mask in the code if it is right with the WiFi routor settings. And check the SSID、PASSWORD and encryption method. Or you can reset Cuhead Mega/Arduino module and reconnect them.&lt;br /&gt;
&lt;br /&gt;
== Support  ==&lt;br /&gt;
&lt;br /&gt;
If you have questions or other better design ideas, you can go to our [http://www.linksprite.com/forum/index.php forum] to discuss or creat a ticket for your issue at [http://www.linksprite.com/support/ linksprite support].&lt;br /&gt;
&lt;br /&gt;
== Resources  ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=235 LinkSprite CuHead WiFi Shield for Arduino Mega User Manual V1.0-english]&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=236 Wifi Shield Chip-MRF24WB0MA Datasheet]&lt;br /&gt;
&lt;br /&gt;
== How to buy  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See Also  ==&lt;br /&gt;
&lt;br /&gt;
Other related products and resources.&lt;br /&gt;
&lt;br /&gt;
== Licensing  ==&lt;br /&gt;
&lt;br /&gt;
This documentation is licensed under the Creative Commons [http://creativecommons.org/licenses/by-sa/3.0/ Attribution-ShareAlike License 3.0] Source code and libraries are licensed under [http://www.gnu.org/licenses/gpl.html GPL/LGPL], see source code files for details.&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_V2.0&amp;diff=262</id>
		<title>CuHead WiFi Shield for Arduino V2.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_V2.0&amp;diff=262"/>
		<updated>2012-11-14T09:53:52Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* Programming */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
This document is to introduce Cuhead WiFi Shield V2.0（hereafter we call Cuhead V2.0).&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 adopt standard Arduino laminated design . It is designed to plug on Arduino  Diecimila/Duemilanove/Uno etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
== Features  ==&lt;br /&gt;
&lt;br /&gt;
'''Standard spec'''&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 has charging and discharging function, the charging circuit is used to tell voltage of the battery. &lt;br /&gt;
&lt;br /&gt;
We can connect the positive and negtive of the battery to BAT, if the battery is full, then Cuhead V2.0 wont charge battery; if it is not, the external battery will be charged.&lt;br /&gt;
&lt;br /&gt;
We bring comparator to check the operating current of Cuhead V2.0 so you know it is Arduino giving power to Cuhead V2.0 or the opposite way, and change the charging circuit to connect/disconnect based on that.&lt;br /&gt;
&lt;br /&gt;
When Cuhead V2.0 connect Arduino, there are two working status：&lt;br /&gt;
&lt;br /&gt;
*Connect Arduino with USB/Adaptor , Arduino gives power to Cuhead V2.0, the charging circuit on Cuhead V2.0 will disconnect；&lt;br /&gt;
&lt;br /&gt;
*No external power for Arduino, then the charging circuit of Cuhead V2.0 is working, and the battery will power the boards. Normally we give power to Arduino directly, thus the charging circuit is inactive.&lt;br /&gt;
&lt;br /&gt;
'''Add Potentiometer'''&lt;br /&gt;
&lt;br /&gt;
The new added potentiometer is to adjust the voltage to any value needed (by adjust AMS1117 Vin to 5.6V~6.0V). &lt;br /&gt;
&lt;br /&gt;
It is hard to do so by fixed resistance. The default voltage of Cuhead V2.0 has been set in the right voltage，normally you don't have to adjust it.&lt;br /&gt;
&lt;br /&gt;
'''Increase the Flash memory chip'''&lt;br /&gt;
&lt;br /&gt;
The increase of the Flash memory chip is serial interface of the Flash memory chip, it can work in 2.5 V-2.7 V, can be used as program code data storage. Flash memory chip and Arduino are used together SPI interface,  the speed can be up to 66 MHz. It contains 17301504 bytes, is organized for 4096 page, each page 512 or 528 bytes. In addition to main memory, the Flash memory chip also includes two SRAM data buffer, each buffer 512/528 bytes. When main memory is programming, buffer is allowed to receive the data, and to support data stream write. And the Flash memory chip allow simple in the system to programming, without having to input high programming voltage.  It can through the # CS Enable, and through the three line interface (SI, SO, SCK) in data communication.&lt;br /&gt;
&lt;br /&gt;
Because Cuhead V2.0 Flash memory chip and Arduino uses the same SPI interface, we through the Cuhead V2.0 module of the flash_sn jump line to select is public SS or CS. The flash_sn connect 1, 2 pin is SS, connect 2,3 pins for CS.&lt;br /&gt;
&lt;br /&gt;
When Cuhead V2.0 need to use Wi-Fi choose SS, make Flash is invalid, so Wi-Fi can accurately to receive information, and deal with the IP protocol. If this time not banned Flash, data through the SPI send come over, Flash and Arduino will receive the data and have the conflict.&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module Features'''&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11-compliant RF Transceiver&lt;br /&gt;
*Serialized unique MAC address&lt;br /&gt;
*Data Rate: 1 and 2 Mbps&lt;br /&gt;
*IEEE Std. 802.11b/g/n compatible&lt;br /&gt;
*Small size: 21mm x 31mm 36-pin Surface Mount Module&lt;br /&gt;
*Integrated PCB antenna (MRF24WB0MA)&lt;br /&gt;
*Range: up to 400m (1300 ft.)&lt;br /&gt;
*Single operating voltage: 2.7V–3.6V (3.3V typical)&lt;br /&gt;
*Simple, four-wire SPI interface with interrupt&lt;br /&gt;
*Low-current consumption:&lt;br /&gt;
*RX mode – 85 mA (typical)&lt;br /&gt;
*TX mode – 154 mA (+10 dBm typic&lt;br /&gt;
*Sleep – 250 µA (typical)&lt;br /&gt;
*Hibernate – &amp;lt;0.1 µA (typical)&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module RF/Analog Features'''&lt;br /&gt;
&lt;br /&gt;
*ISM Band 2.400–2.484 GHz operation&lt;br /&gt;
*14 Channels selectable individually or domain-restricted&lt;br /&gt;
*DSSS Modulation&lt;br /&gt;
*Data Rate – 1000 kbps&lt;br /&gt;
*-91 dBm Typical sensitivity at 1 Mbps&lt;br /&gt;
*+10 dBm Typical output power with control&lt;br /&gt;
*Integrated low phase noise VCO, RF frequency synthesizer, PLL loop filter and PA&lt;br /&gt;
*Digital VCO and filter calibration&lt;br /&gt;
*Integrated RSSI ADC and I/Q DACs, RSSI readings available to host&lt;br /&gt;
*Balanced receiver and transmitter characteristics for low power consumption&lt;br /&gt;
&lt;br /&gt;
'''Cuhead V2.0 MAC/Baseband Features'''&lt;br /&gt;
&lt;br /&gt;
*Hardware CSMA/CA acce ss control, automatic ACK, and FCS creation and checking&lt;br /&gt;
*Automatic MAC packet retransmit&lt;br /&gt;
*Hardware Security Engine for AES and RC4-based ciphers&lt;br /&gt;
*Supports 802.1x, 802.1i&lt;br /&gt;
*Security: WEP, WPA-PSK, and WPA-2-PSK&lt;br /&gt;
&lt;br /&gt;
== Application Ideas  ==&lt;br /&gt;
&lt;br /&gt;
'''Video Introduces'''&lt;br /&gt;
&lt;br /&gt;
*[http://v.youku.com/v_show/id_XMzkxMjI2NDgw.html Features of CuHead V2.0]&lt;br /&gt;
&lt;br /&gt;
*[http://v.youku.com/v_show/id_XMzkwNTM0OTA0.html CuHead Enabled WiFi Controllable Robot: Controlled by iPad]&lt;br /&gt;
&lt;br /&gt;
== Cautions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematic  ==&lt;br /&gt;
&lt;br /&gt;
*[http://linksprite.com/download/showdownload.php?lang=en&amp;amp;id=230 Schematics of CuHead WiFi Shield for Arduino V2.0 ]&lt;br /&gt;
&lt;br /&gt;
== Specification  ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=233 Cuhead WiFi Shield V2.0 User Manual]&lt;br /&gt;
&lt;br /&gt;
*[http://www.cutedigi.com/pub/Arduino/CuHead/HowToCompileCuHeadSampleCodeforArduinoUno.pdf How To Compile CuHead Sample Code for ArduinoUno]&lt;br /&gt;
&lt;br /&gt;
== Pin definition and Rating  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Mechanic Dimensions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
'''Ready To Hardware'''	&lt;br /&gt;
*Cuhead WiFi Shield V2.0 module&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Arduino Duemilanove module&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 2.jpg]]&lt;br /&gt;
&lt;br /&gt;
*USB CABLE&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 3.jpg]]&lt;br /&gt;
 &lt;br /&gt;
'''Ready To Software'''&lt;br /&gt;
*Arduino 1.0&lt;br /&gt;
&lt;br /&gt;
Download link: [http://arduino.cc/en/Main/Software Arduino 1.0 Software]&lt;br /&gt;
&lt;br /&gt;
*ZG2100BasedWiFiShield’s Library files and code / WiFiShield’s Library files and code&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/ZG2100BasedWiFiShield ZG2100BasedWiFiShield]&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/WiShield WiShield]&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
'''Connect to WIFI'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-ZG2100BasedWiFiShield-68b2001.zip, unzip it and rename it as ZG2100BasedWiFiShield, then put it under the arduino-1.0\libraries directory.[[File:Cuhead 12.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe，choose an example such as SimpleServer.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 4.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 5.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 6.jpg]]&lt;br /&gt;
&lt;br /&gt;
*When Cuhead V2.0 connected to the router through WiFi，the red LED will turn on.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 7.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Input the IP address of Cuhead V2.0 as we set it：192.168.3.120, it showed what SimpleServer is about.(this IP is for demo)&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 8.jpg]]&lt;br /&gt;
&lt;br /&gt;
'''Download the DataFlash'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-DataFlash-e90ea99.zip , unzip it and rename it as DataFlash, then put it under the arduino-0022\libraries directory.&lt;br /&gt;
&lt;br /&gt;
*Please note: Using Arduino-0023 and Arduino-0023 the following version, download Data Flash ( DataFlash Download link: [https://github.com/linksprite/DataFlash DataFlash] ) &lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe，choose an example such as DataFlash_Intro.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 9.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 10.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Click on the Serial Monitor, COM22 window appears information.&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 11.jpg]]&lt;br /&gt;
&lt;br /&gt;
== FAQ  ==&lt;br /&gt;
&lt;br /&gt;
'''Q1. Program can't be compiled'''&lt;br /&gt;
&lt;br /&gt;
A1：Check these if you found that the example we provide cannot compile.&lt;br /&gt;
&lt;br /&gt;
Whether you choose the right Board. You should choose the board you are using when compile.&lt;br /&gt;
&lt;br /&gt;
Here enter ZG2100BasedWiFiShield[[File:Cuhead 12.jpg]] , and open apps-conf.h&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 13.jpg]]&lt;br /&gt;
 &lt;br /&gt;
To prevent repeated quotation of the same file, which will cause compile error like duplicate definition and nested quoted.&lt;br /&gt;
&lt;br /&gt;
You have to change it here according to your needs. To different examples, the macro definition is different, the default is:&lt;br /&gt;
&lt;br /&gt;
'''#define APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 14.jpg]]&lt;br /&gt;
 &lt;br /&gt;
If you want to use another example, such as how to use webserver.h,&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WEBSERVER'''&lt;br /&gt;
&lt;br /&gt;
'''//#define  APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
'''Q2. Red LED（D1）not on'''&lt;br /&gt;
&lt;br /&gt;
A2：If the program has been downloaded to Arduino, yet red LED（D1）on Cuhead V1.0 is not on, which means Wi-Fi not connected,please check below part.&lt;br /&gt;
&lt;br /&gt;
Check the IP address,default gate way and subnet mask in the code if it is right with the WiFi routor settings. &lt;br /&gt;
&lt;br /&gt;
And check the SSID、PASSWORD and encryption method. Or you can reset Cuhead V2.0/Arduino module and reconnect them.&lt;br /&gt;
&lt;br /&gt;
Check the jump line parts:&lt;br /&gt;
&lt;br /&gt;
*INTX1, used to choose to interrupt mode, jump line 1, 2 pin is D8, jump line 2, 3 pin is D2. No influence on the use of  Cuhead V2.0,  not normally use.&lt;br /&gt;
&lt;br /&gt;
*Flash_sn, jump line 1, 2 pin is SS, jump line 2, 3 pin is CS, when you using Wi-Fi choice SS, make Flash invalid.&lt;br /&gt;
&lt;br /&gt;
*Wi-Fi connection indicator light, jump line 1, 2 pin. Cuhead V2.0 leave factory, need to jump line of the part we have adjusted, you can use directly.&lt;br /&gt;
&lt;br /&gt;
'''Q3. Using UNO R3'''&lt;br /&gt;
&lt;br /&gt;
A3:When Cuhead V2.0 connected to Arduino UNO R3, Cuhead V2.0 may be unable to connect to wifi. &lt;br /&gt;
&lt;br /&gt;
You need to download the latest version of the Bootloader to Arduino microcontroller (ATmegaXXXX).&lt;br /&gt;
&lt;br /&gt;
Open optiboot folder ( X: \ arduino-XXXX \ hardware \ arduino\ bootloaders \ optiboot ) &lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 15.jpg]]&lt;br /&gt;
 &lt;br /&gt;
Bootloader (.hex file) download to corresponding version of the Arduino microcontroller (ATmegaXXXX).&lt;br /&gt;
&lt;br /&gt;
'''Q4.I have your Cuhead module,but when i connect it with my Arduino Mega 2560,it is not working.what can i do now?'''&lt;br /&gt;
&lt;br /&gt;
A4:Please check the connections with the arduino board carefully,it is different with different arduino boards.&lt;br /&gt;
&lt;br /&gt;
For example,Arduino Mega uses different pins for the SPI interface than the previous boards, so you may not able to use the headers to stack the shield onto the Mega.&lt;br /&gt;
&lt;br /&gt;
And you may have to pull pins to match the correct SPI pins to get it working.&lt;br /&gt;
&lt;br /&gt;
== Support  ==&lt;br /&gt;
&lt;br /&gt;
If you have questions or other better design ideas, you can go to our [http://www.linksprite.com/forum/index.php forum] to discuss or creat a ticket for your issue at [http://www.linksprite.com/support/ linksprite support].&lt;br /&gt;
&lt;br /&gt;
== Resources  ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/article/shownews.php?lang=en&amp;amp;id=58 source code github]&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/article/shownews.php?lang=en&amp;amp;id=106 Can CuHead WiFi Shield be used with Arduino Mega?]&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=236 Wifi Shield Chip-MRF24WB0MA Datasheet]&lt;br /&gt;
&lt;br /&gt;
== How to buy  ==&lt;br /&gt;
&lt;br /&gt;
Here to buy CuHead V2.0 [http://www.cutedigi.com/wireless/wifi/cuhead-wifi-shield-v2-0-for-arduino.html CUHEADWIFIV2] on LinkSprite [http://www.cutedigi.com/ Cart]&lt;br /&gt;
&lt;br /&gt;
== See Also  ==&lt;br /&gt;
&lt;br /&gt;
Other related products and resources.&lt;br /&gt;
&lt;br /&gt;
== Licensing  ==&lt;br /&gt;
&lt;br /&gt;
This documentation is licensed under the Creative Commons [http://creativecommons.org/licenses/by-sa/3.0/ Attribution-ShareAlike License 3.0] Source code and libraries are licensed under [http://www.gnu.org/licenses/gpl.html GPL/LGPL], see source code files for details.&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_V2.0&amp;diff=261</id>
		<title>CuHead WiFi Shield for Arduino V2.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_V2.0&amp;diff=261"/>
		<updated>2012-11-14T09:53:15Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* Programming */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
This document is to introduce Cuhead WiFi Shield V2.0（hereafter we call Cuhead V2.0).&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 adopt standard Arduino laminated design . It is designed to plug on Arduino  Diecimila/Duemilanove/Uno etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
== Features  ==&lt;br /&gt;
&lt;br /&gt;
'''Standard spec'''&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 has charging and discharging function, the charging circuit is used to tell voltage of the battery. &lt;br /&gt;
&lt;br /&gt;
We can connect the positive and negtive of the battery to BAT, if the battery is full, then Cuhead V2.0 wont charge battery; if it is not, the external battery will be charged.&lt;br /&gt;
&lt;br /&gt;
We bring comparator to check the operating current of Cuhead V2.0 so you know it is Arduino giving power to Cuhead V2.0 or the opposite way, and change the charging circuit to connect/disconnect based on that.&lt;br /&gt;
&lt;br /&gt;
When Cuhead V2.0 connect Arduino, there are two working status：&lt;br /&gt;
&lt;br /&gt;
*Connect Arduino with USB/Adaptor , Arduino gives power to Cuhead V2.0, the charging circuit on Cuhead V2.0 will disconnect；&lt;br /&gt;
&lt;br /&gt;
*No external power for Arduino, then the charging circuit of Cuhead V2.0 is working, and the battery will power the boards. Normally we give power to Arduino directly, thus the charging circuit is inactive.&lt;br /&gt;
&lt;br /&gt;
'''Add Potentiometer'''&lt;br /&gt;
&lt;br /&gt;
The new added potentiometer is to adjust the voltage to any value needed (by adjust AMS1117 Vin to 5.6V~6.0V). &lt;br /&gt;
&lt;br /&gt;
It is hard to do so by fixed resistance. The default voltage of Cuhead V2.0 has been set in the right voltage，normally you don't have to adjust it.&lt;br /&gt;
&lt;br /&gt;
'''Increase the Flash memory chip'''&lt;br /&gt;
&lt;br /&gt;
The increase of the Flash memory chip is serial interface of the Flash memory chip, it can work in 2.5 V-2.7 V, can be used as program code data storage. Flash memory chip and Arduino are used together SPI interface,  the speed can be up to 66 MHz. It contains 17301504 bytes, is organized for 4096 page, each page 512 or 528 bytes. In addition to main memory, the Flash memory chip also includes two SRAM data buffer, each buffer 512/528 bytes. When main memory is programming, buffer is allowed to receive the data, and to support data stream write. And the Flash memory chip allow simple in the system to programming, without having to input high programming voltage.  It can through the # CS Enable, and through the three line interface (SI, SO, SCK) in data communication.&lt;br /&gt;
&lt;br /&gt;
Because Cuhead V2.0 Flash memory chip and Arduino uses the same SPI interface, we through the Cuhead V2.0 module of the flash_sn jump line to select is public SS or CS. The flash_sn connect 1, 2 pin is SS, connect 2,3 pins for CS.&lt;br /&gt;
&lt;br /&gt;
When Cuhead V2.0 need to use Wi-Fi choose SS, make Flash is invalid, so Wi-Fi can accurately to receive information, and deal with the IP protocol. If this time not banned Flash, data through the SPI send come over, Flash and Arduino will receive the data and have the conflict.&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module Features'''&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11-compliant RF Transceiver&lt;br /&gt;
*Serialized unique MAC address&lt;br /&gt;
*Data Rate: 1 and 2 Mbps&lt;br /&gt;
*IEEE Std. 802.11b/g/n compatible&lt;br /&gt;
*Small size: 21mm x 31mm 36-pin Surface Mount Module&lt;br /&gt;
*Integrated PCB antenna (MRF24WB0MA)&lt;br /&gt;
*Range: up to 400m (1300 ft.)&lt;br /&gt;
*Single operating voltage: 2.7V–3.6V (3.3V typical)&lt;br /&gt;
*Simple, four-wire SPI interface with interrupt&lt;br /&gt;
*Low-current consumption:&lt;br /&gt;
*RX mode – 85 mA (typical)&lt;br /&gt;
*TX mode – 154 mA (+10 dBm typic&lt;br /&gt;
*Sleep – 250 µA (typical)&lt;br /&gt;
*Hibernate – &amp;lt;0.1 µA (typical)&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module RF/Analog Features'''&lt;br /&gt;
&lt;br /&gt;
*ISM Band 2.400–2.484 GHz operation&lt;br /&gt;
*14 Channels selectable individually or domain-restricted&lt;br /&gt;
*DSSS Modulation&lt;br /&gt;
*Data Rate – 1000 kbps&lt;br /&gt;
*-91 dBm Typical sensitivity at 1 Mbps&lt;br /&gt;
*+10 dBm Typical output power with control&lt;br /&gt;
*Integrated low phase noise VCO, RF frequency synthesizer, PLL loop filter and PA&lt;br /&gt;
*Digital VCO and filter calibration&lt;br /&gt;
*Integrated RSSI ADC and I/Q DACs, RSSI readings available to host&lt;br /&gt;
*Balanced receiver and transmitter characteristics for low power consumption&lt;br /&gt;
&lt;br /&gt;
'''Cuhead V2.0 MAC/Baseband Features'''&lt;br /&gt;
&lt;br /&gt;
*Hardware CSMA/CA acce ss control, automatic ACK, and FCS creation and checking&lt;br /&gt;
*Automatic MAC packet retransmit&lt;br /&gt;
*Hardware Security Engine for AES and RC4-based ciphers&lt;br /&gt;
*Supports 802.1x, 802.1i&lt;br /&gt;
*Security: WEP, WPA-PSK, and WPA-2-PSK&lt;br /&gt;
&lt;br /&gt;
== Application Ideas  ==&lt;br /&gt;
&lt;br /&gt;
'''Video Introduces'''&lt;br /&gt;
&lt;br /&gt;
*[http://v.youku.com/v_show/id_XMzkxMjI2NDgw.html Features of CuHead V2.0]&lt;br /&gt;
&lt;br /&gt;
*[http://v.youku.com/v_show/id_XMzkwNTM0OTA0.html CuHead Enabled WiFi Controllable Robot: Controlled by iPad]&lt;br /&gt;
&lt;br /&gt;
== Cautions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematic  ==&lt;br /&gt;
&lt;br /&gt;
*[http://linksprite.com/download/showdownload.php?lang=en&amp;amp;id=230 Schematics of CuHead WiFi Shield for Arduino V2.0 ]&lt;br /&gt;
&lt;br /&gt;
== Specification  ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=233 Cuhead WiFi Shield V2.0 User Manual]&lt;br /&gt;
&lt;br /&gt;
*[http://www.cutedigi.com/pub/Arduino/CuHead/HowToCompileCuHeadSampleCodeforArduinoUno.pdf How To Compile CuHead Sample Code for ArduinoUno]&lt;br /&gt;
&lt;br /&gt;
== Pin definition and Rating  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Mechanic Dimensions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
'''Ready To Hardware'''	&lt;br /&gt;
*Cuhead WiFi Shield V2.0 module&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Arduino Duemilanove module&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 2.jpg]]&lt;br /&gt;
&lt;br /&gt;
*USB CABLE&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 3.jpg]]&lt;br /&gt;
 &lt;br /&gt;
'''Ready To Software'''&lt;br /&gt;
*Arduino 1.0&lt;br /&gt;
&lt;br /&gt;
Download link: [http://arduino.cc/en/Main/Software Arduino 1.0 Software]&lt;br /&gt;
&lt;br /&gt;
*ZG2100BasedWiFiShield’s Library files and code / WiFiShield’s Library files and code&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/ZG2100BasedWiFiShield ZG2100BasedWiFiShield]&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/WiShield WiShield]&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
'''Connect to WIFI'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-ZG2100BasedWiFiShield-68b2001.zip, unzip it and rename it as ZG2100BasedWiFiShield, then put it under the arduino-1.0\libraries directory.[[File:Cuhead 12.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe，choose an example such as SimpleServer.&lt;br /&gt;
 [[File:Cuhead 4.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
 [[File:Cuhead 5.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
 [[File:Cuhead 6.jpg]]&lt;br /&gt;
&lt;br /&gt;
*When Cuhead V2.0 connected to the router through WiFi，the red LED will turn on.&lt;br /&gt;
 [[File:Cuhead 7.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Input the IP address of Cuhead V2.0 as we set it：192.168.3.120, it showed what SimpleServer is about.（this IP is for demo）&lt;br /&gt;
 [[File:Cuhead 8.jpg]]&lt;br /&gt;
&lt;br /&gt;
'''Download the DataFlash'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-DataFlash-e90ea99.zip , unzip it and rename it as DataFlash, then put it under the arduino-0022\libraries directory.&lt;br /&gt;
&lt;br /&gt;
*Please note: Using Arduino-0023 and Arduino-0023 the following version, download Data Flash ( DataFlash Download link: [https://github.com/linksprite/DataFlash DataFlash] ) &lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe，choose an example such as DataFlash_Intro.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 9.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 10.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Click on the Serial Monitor, COM22 window appears information.&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 11.jpg]]&lt;br /&gt;
&lt;br /&gt;
== FAQ  ==&lt;br /&gt;
&lt;br /&gt;
'''Q1. Program can't be compiled'''&lt;br /&gt;
&lt;br /&gt;
A1：Check these if you found that the example we provide cannot compile.&lt;br /&gt;
&lt;br /&gt;
Whether you choose the right Board. You should choose the board you are using when compile.&lt;br /&gt;
&lt;br /&gt;
Here enter ZG2100BasedWiFiShield[[File:Cuhead 12.jpg]] , and open apps-conf.h&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 13.jpg]]&lt;br /&gt;
 &lt;br /&gt;
To prevent repeated quotation of the same file, which will cause compile error like duplicate definition and nested quoted.&lt;br /&gt;
&lt;br /&gt;
You have to change it here according to your needs. To different examples, the macro definition is different, the default is:&lt;br /&gt;
&lt;br /&gt;
'''#define APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 14.jpg]]&lt;br /&gt;
 &lt;br /&gt;
If you want to use another example, such as how to use webserver.h,&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WEBSERVER'''&lt;br /&gt;
&lt;br /&gt;
'''//#define  APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
'''Q2. Red LED（D1）not on'''&lt;br /&gt;
&lt;br /&gt;
A2：If the program has been downloaded to Arduino, yet red LED（D1）on Cuhead V1.0 is not on, which means Wi-Fi not connected,please check below part.&lt;br /&gt;
&lt;br /&gt;
Check the IP address,default gate way and subnet mask in the code if it is right with the WiFi routor settings. &lt;br /&gt;
&lt;br /&gt;
And check the SSID、PASSWORD and encryption method. Or you can reset Cuhead V2.0/Arduino module and reconnect them.&lt;br /&gt;
&lt;br /&gt;
Check the jump line parts:&lt;br /&gt;
&lt;br /&gt;
*INTX1, used to choose to interrupt mode, jump line 1, 2 pin is D8, jump line 2, 3 pin is D2. No influence on the use of  Cuhead V2.0,  not normally use.&lt;br /&gt;
&lt;br /&gt;
*Flash_sn, jump line 1, 2 pin is SS, jump line 2, 3 pin is CS, when you using Wi-Fi choice SS, make Flash invalid.&lt;br /&gt;
&lt;br /&gt;
*Wi-Fi connection indicator light, jump line 1, 2 pin. Cuhead V2.0 leave factory, need to jump line of the part we have adjusted, you can use directly.&lt;br /&gt;
&lt;br /&gt;
'''Q3. Using UNO R3'''&lt;br /&gt;
&lt;br /&gt;
A3:When Cuhead V2.0 connected to Arduino UNO R3, Cuhead V2.0 may be unable to connect to wifi. &lt;br /&gt;
&lt;br /&gt;
You need to download the latest version of the Bootloader to Arduino microcontroller (ATmegaXXXX).&lt;br /&gt;
&lt;br /&gt;
Open optiboot folder ( X: \ arduino-XXXX \ hardware \ arduino\ bootloaders \ optiboot ) &lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 15.jpg]]&lt;br /&gt;
 &lt;br /&gt;
Bootloader (.hex file) download to corresponding version of the Arduino microcontroller (ATmegaXXXX).&lt;br /&gt;
&lt;br /&gt;
'''Q4.I have your Cuhead module,but when i connect it with my Arduino Mega 2560,it is not working.what can i do now?'''&lt;br /&gt;
&lt;br /&gt;
A4:Please check the connections with the arduino board carefully,it is different with different arduino boards.&lt;br /&gt;
&lt;br /&gt;
For example,Arduino Mega uses different pins for the SPI interface than the previous boards, so you may not able to use the headers to stack the shield onto the Mega.&lt;br /&gt;
&lt;br /&gt;
And you may have to pull pins to match the correct SPI pins to get it working.&lt;br /&gt;
&lt;br /&gt;
== Support  ==&lt;br /&gt;
&lt;br /&gt;
If you have questions or other better design ideas, you can go to our [http://www.linksprite.com/forum/index.php forum] to discuss or creat a ticket for your issue at [http://www.linksprite.com/support/ linksprite support].&lt;br /&gt;
&lt;br /&gt;
== Resources  ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/article/shownews.php?lang=en&amp;amp;id=58 source code github]&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/article/shownews.php?lang=en&amp;amp;id=106 Can CuHead WiFi Shield be used with Arduino Mega?]&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=236 Wifi Shield Chip-MRF24WB0MA Datasheet]&lt;br /&gt;
&lt;br /&gt;
== How to buy  ==&lt;br /&gt;
&lt;br /&gt;
Here to buy CuHead V2.0 [http://www.cutedigi.com/wireless/wifi/cuhead-wifi-shield-v2-0-for-arduino.html CUHEADWIFIV2] on LinkSprite [http://www.cutedigi.com/ Cart]&lt;br /&gt;
&lt;br /&gt;
== See Also  ==&lt;br /&gt;
&lt;br /&gt;
Other related products and resources.&lt;br /&gt;
&lt;br /&gt;
== Licensing  ==&lt;br /&gt;
&lt;br /&gt;
This documentation is licensed under the Creative Commons [http://creativecommons.org/licenses/by-sa/3.0/ Attribution-ShareAlike License 3.0] Source code and libraries are licensed under [http://www.gnu.org/licenses/gpl.html GPL/LGPL], see source code files for details.&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_V2.0&amp;diff=260</id>
		<title>CuHead WiFi Shield for Arduino V2.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_V2.0&amp;diff=260"/>
		<updated>2012-11-14T09:52:43Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* Programming */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
This document is to introduce Cuhead WiFi Shield V2.0（hereafter we call Cuhead V2.0).&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 adopt standard Arduino laminated design . It is designed to plug on Arduino  Diecimila/Duemilanove/Uno etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
== Features  ==&lt;br /&gt;
&lt;br /&gt;
'''Standard spec'''&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 has charging and discharging function, the charging circuit is used to tell voltage of the battery. &lt;br /&gt;
&lt;br /&gt;
We can connect the positive and negtive of the battery to BAT, if the battery is full, then Cuhead V2.0 wont charge battery; if it is not, the external battery will be charged.&lt;br /&gt;
&lt;br /&gt;
We bring comparator to check the operating current of Cuhead V2.0 so you know it is Arduino giving power to Cuhead V2.0 or the opposite way, and change the charging circuit to connect/disconnect based on that.&lt;br /&gt;
&lt;br /&gt;
When Cuhead V2.0 connect Arduino, there are two working status：&lt;br /&gt;
&lt;br /&gt;
*Connect Arduino with USB/Adaptor , Arduino gives power to Cuhead V2.0, the charging circuit on Cuhead V2.0 will disconnect；&lt;br /&gt;
&lt;br /&gt;
*No external power for Arduino, then the charging circuit of Cuhead V2.0 is working, and the battery will power the boards. Normally we give power to Arduino directly, thus the charging circuit is inactive.&lt;br /&gt;
&lt;br /&gt;
'''Add Potentiometer'''&lt;br /&gt;
&lt;br /&gt;
The new added potentiometer is to adjust the voltage to any value needed (by adjust AMS1117 Vin to 5.6V~6.0V). &lt;br /&gt;
&lt;br /&gt;
It is hard to do so by fixed resistance. The default voltage of Cuhead V2.0 has been set in the right voltage，normally you don't have to adjust it.&lt;br /&gt;
&lt;br /&gt;
'''Increase the Flash memory chip'''&lt;br /&gt;
&lt;br /&gt;
The increase of the Flash memory chip is serial interface of the Flash memory chip, it can work in 2.5 V-2.7 V, can be used as program code data storage. Flash memory chip and Arduino are used together SPI interface,  the speed can be up to 66 MHz. It contains 17301504 bytes, is organized for 4096 page, each page 512 or 528 bytes. In addition to main memory, the Flash memory chip also includes two SRAM data buffer, each buffer 512/528 bytes. When main memory is programming, buffer is allowed to receive the data, and to support data stream write. And the Flash memory chip allow simple in the system to programming, without having to input high programming voltage.  It can through the # CS Enable, and through the three line interface (SI, SO, SCK) in data communication.&lt;br /&gt;
&lt;br /&gt;
Because Cuhead V2.0 Flash memory chip and Arduino uses the same SPI interface, we through the Cuhead V2.0 module of the flash_sn jump line to select is public SS or CS. The flash_sn connect 1, 2 pin is SS, connect 2,3 pins for CS.&lt;br /&gt;
&lt;br /&gt;
When Cuhead V2.0 need to use Wi-Fi choose SS, make Flash is invalid, so Wi-Fi can accurately to receive information, and deal with the IP protocol. If this time not banned Flash, data through the SPI send come over, Flash and Arduino will receive the data and have the conflict.&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module Features'''&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11-compliant RF Transceiver&lt;br /&gt;
*Serialized unique MAC address&lt;br /&gt;
*Data Rate: 1 and 2 Mbps&lt;br /&gt;
*IEEE Std. 802.11b/g/n compatible&lt;br /&gt;
*Small size: 21mm x 31mm 36-pin Surface Mount Module&lt;br /&gt;
*Integrated PCB antenna (MRF24WB0MA)&lt;br /&gt;
*Range: up to 400m (1300 ft.)&lt;br /&gt;
*Single operating voltage: 2.7V–3.6V (3.3V typical)&lt;br /&gt;
*Simple, four-wire SPI interface with interrupt&lt;br /&gt;
*Low-current consumption:&lt;br /&gt;
*RX mode – 85 mA (typical)&lt;br /&gt;
*TX mode – 154 mA (+10 dBm typic&lt;br /&gt;
*Sleep – 250 µA (typical)&lt;br /&gt;
*Hibernate – &amp;lt;0.1 µA (typical)&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module RF/Analog Features'''&lt;br /&gt;
&lt;br /&gt;
*ISM Band 2.400–2.484 GHz operation&lt;br /&gt;
*14 Channels selectable individually or domain-restricted&lt;br /&gt;
*DSSS Modulation&lt;br /&gt;
*Data Rate – 1000 kbps&lt;br /&gt;
*-91 dBm Typical sensitivity at 1 Mbps&lt;br /&gt;
*+10 dBm Typical output power with control&lt;br /&gt;
*Integrated low phase noise VCO, RF frequency synthesizer, PLL loop filter and PA&lt;br /&gt;
*Digital VCO and filter calibration&lt;br /&gt;
*Integrated RSSI ADC and I/Q DACs, RSSI readings available to host&lt;br /&gt;
*Balanced receiver and transmitter characteristics for low power consumption&lt;br /&gt;
&lt;br /&gt;
'''Cuhead V2.0 MAC/Baseband Features'''&lt;br /&gt;
&lt;br /&gt;
*Hardware CSMA/CA acce ss control, automatic ACK, and FCS creation and checking&lt;br /&gt;
*Automatic MAC packet retransmit&lt;br /&gt;
*Hardware Security Engine for AES and RC4-based ciphers&lt;br /&gt;
*Supports 802.1x, 802.1i&lt;br /&gt;
*Security: WEP, WPA-PSK, and WPA-2-PSK&lt;br /&gt;
&lt;br /&gt;
== Application Ideas  ==&lt;br /&gt;
&lt;br /&gt;
'''Video Introduces'''&lt;br /&gt;
&lt;br /&gt;
*[http://v.youku.com/v_show/id_XMzkxMjI2NDgw.html Features of CuHead V2.0]&lt;br /&gt;
&lt;br /&gt;
*[http://v.youku.com/v_show/id_XMzkwNTM0OTA0.html CuHead Enabled WiFi Controllable Robot: Controlled by iPad]&lt;br /&gt;
&lt;br /&gt;
== Cautions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematic  ==&lt;br /&gt;
&lt;br /&gt;
*[http://linksprite.com/download/showdownload.php?lang=en&amp;amp;id=230 Schematics of CuHead WiFi Shield for Arduino V2.0 ]&lt;br /&gt;
&lt;br /&gt;
== Specification  ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=233 Cuhead WiFi Shield V2.0 User Manual]&lt;br /&gt;
&lt;br /&gt;
*[http://www.cutedigi.com/pub/Arduino/CuHead/HowToCompileCuHeadSampleCodeforArduinoUno.pdf How To Compile CuHead Sample Code for ArduinoUno]&lt;br /&gt;
&lt;br /&gt;
== Pin definition and Rating  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Mechanic Dimensions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
'''Ready To Hardware'''	&lt;br /&gt;
*Cuhead WiFi Shield V2.0 module&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Arduino Duemilanove module&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 2.jpg]]&lt;br /&gt;
&lt;br /&gt;
*USB CABLE&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 3.jpg]]&lt;br /&gt;
 &lt;br /&gt;
'''Ready To Software'''&lt;br /&gt;
*Arduino 1.0&lt;br /&gt;
&lt;br /&gt;
Download link: [http://arduino.cc/en/Main/Software Arduino 1.0 Software]&lt;br /&gt;
&lt;br /&gt;
*ZG2100BasedWiFiShield’s Library files and code / WiFiShield’s Library files and code&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/ZG2100BasedWiFiShield ZG2100BasedWiFiShield]&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/WiShield WiShield]&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
'''Connect to WIFI'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-ZG2100BasedWiFiShield-68b2001.zip, unzip it and rename it as ZG2100BasedWiFiShield, then put it under the arduino-1.0\libraries directory.[[File:Cuhead 12.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe，choose an example such as SimpleServer.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 4.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 5.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 6.jpg]]&lt;br /&gt;
&lt;br /&gt;
*When Cuhead V2.0 connected to the router through WiFi，the red LED will turn on.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 7.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Input the IP address of Cuhead V2.0 as we set it：192.168.3.120, it showed what SimpleServer is about.（this IP is for demo）&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 8.jpg]]&lt;br /&gt;
&lt;br /&gt;
'''Download the DataFlash'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-DataFlash-e90ea99.zip , unzip it and rename it as DataFlash, then put it under the arduino-0022\libraries directory.&lt;br /&gt;
&lt;br /&gt;
*Please note: Using Arduino-0023 and Arduino-0023 the following version, download Data Flash ( DataFlash Download link: [https://github.com/linksprite/DataFlash DataFlash] ) &lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe，choose an example such as DataFlash_Intro.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 9.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 10.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Click on the Serial Monitor, COM22 window appears information.&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 11.jpg]]&lt;br /&gt;
&lt;br /&gt;
== FAQ  ==&lt;br /&gt;
&lt;br /&gt;
'''Q1. Program can't be compiled'''&lt;br /&gt;
&lt;br /&gt;
A1：Check these if you found that the example we provide cannot compile.&lt;br /&gt;
&lt;br /&gt;
Whether you choose the right Board. You should choose the board you are using when compile.&lt;br /&gt;
&lt;br /&gt;
Here enter ZG2100BasedWiFiShield[[File:Cuhead 12.jpg]] , and open apps-conf.h&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 13.jpg]]&lt;br /&gt;
 &lt;br /&gt;
To prevent repeated quotation of the same file, which will cause compile error like duplicate definition and nested quoted.&lt;br /&gt;
&lt;br /&gt;
You have to change it here according to your needs. To different examples, the macro definition is different, the default is:&lt;br /&gt;
&lt;br /&gt;
'''#define APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 14.jpg]]&lt;br /&gt;
 &lt;br /&gt;
If you want to use another example, such as how to use webserver.h,&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WEBSERVER'''&lt;br /&gt;
&lt;br /&gt;
'''//#define  APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
'''Q2. Red LED（D1）not on'''&lt;br /&gt;
&lt;br /&gt;
A2：If the program has been downloaded to Arduino, yet red LED（D1）on Cuhead V1.0 is not on, which means Wi-Fi not connected,please check below part.&lt;br /&gt;
&lt;br /&gt;
Check the IP address,default gate way and subnet mask in the code if it is right with the WiFi routor settings. &lt;br /&gt;
&lt;br /&gt;
And check the SSID、PASSWORD and encryption method. Or you can reset Cuhead V2.0/Arduino module and reconnect them.&lt;br /&gt;
&lt;br /&gt;
Check the jump line parts:&lt;br /&gt;
&lt;br /&gt;
*INTX1, used to choose to interrupt mode, jump line 1, 2 pin is D8, jump line 2, 3 pin is D2. No influence on the use of  Cuhead V2.0,  not normally use.&lt;br /&gt;
&lt;br /&gt;
*Flash_sn, jump line 1, 2 pin is SS, jump line 2, 3 pin is CS, when you using Wi-Fi choice SS, make Flash invalid.&lt;br /&gt;
&lt;br /&gt;
*Wi-Fi connection indicator light, jump line 1, 2 pin. Cuhead V2.0 leave factory, need to jump line of the part we have adjusted, you can use directly.&lt;br /&gt;
&lt;br /&gt;
'''Q3. Using UNO R3'''&lt;br /&gt;
&lt;br /&gt;
A3:When Cuhead V2.0 connected to Arduino UNO R3, Cuhead V2.0 may be unable to connect to wifi. &lt;br /&gt;
&lt;br /&gt;
You need to download the latest version of the Bootloader to Arduino microcontroller (ATmegaXXXX).&lt;br /&gt;
&lt;br /&gt;
Open optiboot folder ( X: \ arduino-XXXX \ hardware \ arduino\ bootloaders \ optiboot ) &lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 15.jpg]]&lt;br /&gt;
 &lt;br /&gt;
Bootloader (.hex file) download to corresponding version of the Arduino microcontroller (ATmegaXXXX).&lt;br /&gt;
&lt;br /&gt;
'''Q4.I have your Cuhead module,but when i connect it with my Arduino Mega 2560,it is not working.what can i do now?'''&lt;br /&gt;
&lt;br /&gt;
A4:Please check the connections with the arduino board carefully,it is different with different arduino boards.&lt;br /&gt;
&lt;br /&gt;
For example,Arduino Mega uses different pins for the SPI interface than the previous boards, so you may not able to use the headers to stack the shield onto the Mega.&lt;br /&gt;
&lt;br /&gt;
And you may have to pull pins to match the correct SPI pins to get it working.&lt;br /&gt;
&lt;br /&gt;
== Support  ==&lt;br /&gt;
&lt;br /&gt;
If you have questions or other better design ideas, you can go to our [http://www.linksprite.com/forum/index.php forum] to discuss or creat a ticket for your issue at [http://www.linksprite.com/support/ linksprite support].&lt;br /&gt;
&lt;br /&gt;
== Resources  ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/article/shownews.php?lang=en&amp;amp;id=58 source code github]&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/article/shownews.php?lang=en&amp;amp;id=106 Can CuHead WiFi Shield be used with Arduino Mega?]&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=236 Wifi Shield Chip-MRF24WB0MA Datasheet]&lt;br /&gt;
&lt;br /&gt;
== How to buy  ==&lt;br /&gt;
&lt;br /&gt;
Here to buy CuHead V2.0 [http://www.cutedigi.com/wireless/wifi/cuhead-wifi-shield-v2-0-for-arduino.html CUHEADWIFIV2] on LinkSprite [http://www.cutedigi.com/ Cart]&lt;br /&gt;
&lt;br /&gt;
== See Also  ==&lt;br /&gt;
&lt;br /&gt;
Other related products and resources.&lt;br /&gt;
&lt;br /&gt;
== Licensing  ==&lt;br /&gt;
&lt;br /&gt;
This documentation is licensed under the Creative Commons [http://creativecommons.org/licenses/by-sa/3.0/ Attribution-ShareAlike License 3.0] Source code and libraries are licensed under [http://www.gnu.org/licenses/gpl.html GPL/LGPL], see source code files for details.&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_Mega&amp;diff=259</id>
		<title>CuHead WiFi Shield for Arduino Mega</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_Mega&amp;diff=259"/>
		<updated>2012-11-14T09:51:58Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* Hardware Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
This document is to introduce LinkSprite CuHead WiFi Shield for Arduino Mega（hereafter we call Cuhead Mega).&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega adopt standard Arduino Mega laminated design . It is designed to plug on Arduino, MEGA, Romeo, etc.&lt;br /&gt;
&lt;br /&gt;
[[File:Mega 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
== Features  ==&lt;br /&gt;
&lt;br /&gt;
'''Standard spec'''&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega has charging and discharging function, the charging circuit is used to tell voltage of the battery.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
When Cuhead Mega connect Arduino, there are two working status：&lt;br /&gt;
&lt;br /&gt;
*Connect Arduino with USB/Adaptor , Arduino gives power to Cuhead Mega, the charging circuit on Cuhead Mega will disconnect；&lt;br /&gt;
&lt;br /&gt;
*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.&lt;br /&gt;
&lt;br /&gt;
'''Add Potentiometer'''&lt;br /&gt;
&lt;br /&gt;
The new added potentiometer is to adjust the voltage to any value needed (by adjust AMS1117 Vin to 5.6V~6.0V). &lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module Features'''&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11-compliant RF Transceiver&lt;br /&gt;
&lt;br /&gt;
*Serialized unique MAC address&lt;br /&gt;
&lt;br /&gt;
*Data Rate: 1 and 2 Mbps&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11b/g/n compatible&lt;br /&gt;
&lt;br /&gt;
*Small size: 21mm x 31mm 36-pin Surface Mount Module&lt;br /&gt;
&lt;br /&gt;
*Integrated PCB antenna (MRF24WB0MA)&lt;br /&gt;
&lt;br /&gt;
*Range: up to 400m (1300 ft.)&lt;br /&gt;
&lt;br /&gt;
*Single operating voltage: 2.7V–3.6V (3.3V typical)&lt;br /&gt;
&lt;br /&gt;
*Simple, four-wire SPI interface with interrupt&lt;br /&gt;
&lt;br /&gt;
*Low-current consumption:&lt;br /&gt;
&lt;br /&gt;
RX mode – 85 mA (typical)&lt;br /&gt;
&lt;br /&gt;
TX mode – 154 mA (+10 dBm typic&lt;br /&gt;
&lt;br /&gt;
Sleep – 250 µA (typical)&lt;br /&gt;
&lt;br /&gt;
Hibernate – &amp;lt;0.1 µA (typical)&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module RF/Analog Features'''&lt;br /&gt;
&lt;br /&gt;
*ISM Band 2.400–2.484 GHz operation&lt;br /&gt;
&lt;br /&gt;
*14 Channels selectable individually or domain-restricted&lt;br /&gt;
&lt;br /&gt;
*DSSS Modulation&lt;br /&gt;
&lt;br /&gt;
*Data Rate – 1000 kbps&lt;br /&gt;
&lt;br /&gt;
*-91 dBm Typical sensitivity at 1 Mbps&lt;br /&gt;
&lt;br /&gt;
*+10 dBm Typical output power with control&lt;br /&gt;
&lt;br /&gt;
*Integrated low phase noise VCO, RF frequency synthesizer, PLL loop filter and PA&lt;br /&gt;
&lt;br /&gt;
*Digital VCO and filter calibration&lt;br /&gt;
&lt;br /&gt;
*Integrated RSSI ADC and I/Q DACs, RSSI readings available to host&lt;br /&gt;
&lt;br /&gt;
*Balanced receiver and transmitter characteristics for low power consumption&lt;br /&gt;
&lt;br /&gt;
'''Cuhead Mega MAC/Baseband Features'''&lt;br /&gt;
&lt;br /&gt;
*Hardware CSMA/CA acce ss control, automatic ACK, and FCS creation and checking&lt;br /&gt;
&lt;br /&gt;
*Automatic MAC packet retransmit&lt;br /&gt;
&lt;br /&gt;
*Hardware Security Engine for AES and RC4-based ciphers&lt;br /&gt;
&lt;br /&gt;
*Supports 802.1x, 802.1i&lt;br /&gt;
&lt;br /&gt;
*Security: WEP, WPA-PSK, and WPA-2-PSK&lt;br /&gt;
&lt;br /&gt;
== Application Ideas  ==&lt;br /&gt;
&lt;br /&gt;
*Video Introduces:[http://v.youku.com/v_show/id_XMzkzMzgwNzky.html Linksprite Copperhead WiFi Shield arduino Mega]&lt;br /&gt;
&lt;br /&gt;
== Cautions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematic  ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=234 LinkSprite CuHead WiFi Shield for Arduino Mega Schematic]&lt;br /&gt;
&lt;br /&gt;
== Specification  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Pin definition and Rating  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Mechanic Dimensions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
&lt;br /&gt;
'''Ready To Hardware'''&lt;br /&gt;
&lt;br /&gt;
*LinkSprite CuHead WiFi Shield for Arduino Mega module&lt;br /&gt;
&lt;br /&gt;
[[File:Mega 2.jpg]]&lt;br /&gt;
 &lt;br /&gt;
*Arduino Mega module&lt;br /&gt;
&lt;br /&gt;
[[File:Mega 3.jpg]]&lt;br /&gt;
  &lt;br /&gt;
*USB CABLE&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 3.jpg]]&lt;br /&gt;
 &lt;br /&gt;
'''Ready To Software'''&lt;br /&gt;
&lt;br /&gt;
*Arduino 1.0&lt;br /&gt;
 &lt;br /&gt;
Download link: [http://arduino.cc/en/Main/Software Arduino]&lt;br /&gt;
	&lt;br /&gt;
*Cuhead Mega’s Library files and code&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/cuheadmega cuheadmega]&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
'''Example demonstration'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-cuheadmega-1545a16.zip, unzip it and rename it as cuheadmega, then put it under the arduino-1.0\libraries directory.&lt;br /&gt;
 &lt;br /&gt;
*Open arduino.exe, choose an example such as SimpleServer.&lt;br /&gt;
 &lt;br /&gt;
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
 &lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
 &lt;br /&gt;
*When Cuhead Mega connected to the router through WiFi，the red LED will turn on.&lt;br /&gt;
 &lt;br /&gt;
*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）&lt;br /&gt;
&lt;br /&gt;
== FAQ  ==&lt;br /&gt;
'''Q1. Program can't be compiled'''&lt;br /&gt;
&lt;br /&gt;
A1：Check these if you found that the example we provide cannot compile.&lt;br /&gt;
&lt;br /&gt;
*Whether you choose the right Board. Because Arduino Mega and other versions of the Arduino interface is different. You should choose the board you are using when compile.&lt;br /&gt;
&lt;br /&gt;
*Here enter cuheadmaga , and open apps-conf.h&lt;br /&gt;
 &lt;br /&gt;
To prevent repeated quotation of the same file, which will cause compile error like duplicate definition and nested quoted. You have to change it here according to your needs. To different examples, the macro definition is different, the default is:&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WISERVER'''&lt;br /&gt;
 &lt;br /&gt;
If you want to use another example, such as how to use webserver.h,&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WEBSERVER'''&lt;br /&gt;
&lt;br /&gt;
'''//#define  APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
'''Q2. Red LED（D1） not on'''&lt;br /&gt;
&lt;br /&gt;
A2：If the program has been downloaded to Arduino, yet red LED（D1）on Cuhead Mega is not on, which means Wi-Fi not connected,please check below part.&lt;br /&gt;
&lt;br /&gt;
Check the IP address,default gate way and subnet mask in the code if it is right with the WiFi routor settings. And check the SSID、PASSWORD and encryption method. Or you can reset Cuhead Mega/Arduino module and reconnect them.&lt;br /&gt;
&lt;br /&gt;
== Support  ==&lt;br /&gt;
&lt;br /&gt;
If you have questions or other better design ideas, you can go to our [http://www.linksprite.com/forum/index.php forum] to discuss or creat a ticket for your issue at [http://www.linksprite.com/support/ linksprite support].&lt;br /&gt;
&lt;br /&gt;
== Resources  ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=235 LinkSprite CuHead WiFi Shield for Arduino Mega User Manual V1.0-english]&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=236 Wifi Shield Chip-MRF24WB0MA Datasheet]&lt;br /&gt;
&lt;br /&gt;
== How to buy  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See Also  ==&lt;br /&gt;
&lt;br /&gt;
Other related products and resources.&lt;br /&gt;
&lt;br /&gt;
== Licensing  ==&lt;br /&gt;
&lt;br /&gt;
This documentation is licensed under the Creative Commons [http://creativecommons.org/licenses/by-sa/3.0/ Attribution-ShareAlike License 3.0] Source code and libraries are licensed under [http://www.gnu.org/licenses/gpl.html GPL/LGPL], see source code files for details.&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_Mega&amp;diff=258</id>
		<title>CuHead WiFi Shield for Arduino Mega</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_Mega&amp;diff=258"/>
		<updated>2012-11-14T09:50:53Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* Hardware Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
This document is to introduce LinkSprite CuHead WiFi Shield for Arduino Mega（hereafter we call Cuhead Mega).&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega adopt standard Arduino Mega laminated design . It is designed to plug on Arduino, MEGA, Romeo, etc.&lt;br /&gt;
&lt;br /&gt;
[[File:Mega 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
== Features  ==&lt;br /&gt;
&lt;br /&gt;
'''Standard spec'''&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega has charging and discharging function, the charging circuit is used to tell voltage of the battery.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
When Cuhead Mega connect Arduino, there are two working status：&lt;br /&gt;
&lt;br /&gt;
*Connect Arduino with USB/Adaptor , Arduino gives power to Cuhead Mega, the charging circuit on Cuhead Mega will disconnect；&lt;br /&gt;
&lt;br /&gt;
*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.&lt;br /&gt;
&lt;br /&gt;
'''Add Potentiometer'''&lt;br /&gt;
&lt;br /&gt;
The new added potentiometer is to adjust the voltage to any value needed (by adjust AMS1117 Vin to 5.6V~6.0V). &lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module Features'''&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11-compliant RF Transceiver&lt;br /&gt;
&lt;br /&gt;
*Serialized unique MAC address&lt;br /&gt;
&lt;br /&gt;
*Data Rate: 1 and 2 Mbps&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11b/g/n compatible&lt;br /&gt;
&lt;br /&gt;
*Small size: 21mm x 31mm 36-pin Surface Mount Module&lt;br /&gt;
&lt;br /&gt;
*Integrated PCB antenna (MRF24WB0MA)&lt;br /&gt;
&lt;br /&gt;
*Range: up to 400m (1300 ft.)&lt;br /&gt;
&lt;br /&gt;
*Single operating voltage: 2.7V–3.6V (3.3V typical)&lt;br /&gt;
&lt;br /&gt;
*Simple, four-wire SPI interface with interrupt&lt;br /&gt;
&lt;br /&gt;
*Low-current consumption:&lt;br /&gt;
&lt;br /&gt;
RX mode – 85 mA (typical)&lt;br /&gt;
&lt;br /&gt;
TX mode – 154 mA (+10 dBm typic&lt;br /&gt;
&lt;br /&gt;
Sleep – 250 µA (typical)&lt;br /&gt;
&lt;br /&gt;
Hibernate – &amp;lt;0.1 µA (typical)&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module RF/Analog Features'''&lt;br /&gt;
&lt;br /&gt;
*ISM Band 2.400–2.484 GHz operation&lt;br /&gt;
&lt;br /&gt;
*14 Channels selectable individually or domain-restricted&lt;br /&gt;
&lt;br /&gt;
*DSSS Modulation&lt;br /&gt;
&lt;br /&gt;
*Data Rate – 1000 kbps&lt;br /&gt;
&lt;br /&gt;
*-91 dBm Typical sensitivity at 1 Mbps&lt;br /&gt;
&lt;br /&gt;
*+10 dBm Typical output power with control&lt;br /&gt;
&lt;br /&gt;
*Integrated low phase noise VCO, RF frequency synthesizer, PLL loop filter and PA&lt;br /&gt;
&lt;br /&gt;
*Digital VCO and filter calibration&lt;br /&gt;
&lt;br /&gt;
*Integrated RSSI ADC and I/Q DACs, RSSI readings available to host&lt;br /&gt;
&lt;br /&gt;
*Balanced receiver and transmitter characteristics for low power consumption&lt;br /&gt;
&lt;br /&gt;
'''Cuhead Mega MAC/Baseband Features'''&lt;br /&gt;
&lt;br /&gt;
*Hardware CSMA/CA acce ss control, automatic ACK, and FCS creation and checking&lt;br /&gt;
&lt;br /&gt;
*Automatic MAC packet retransmit&lt;br /&gt;
&lt;br /&gt;
*Hardware Security Engine for AES and RC4-based ciphers&lt;br /&gt;
&lt;br /&gt;
*Supports 802.1x, 802.1i&lt;br /&gt;
&lt;br /&gt;
*Security: WEP, WPA-PSK, and WPA-2-PSK&lt;br /&gt;
&lt;br /&gt;
== Application Ideas  ==&lt;br /&gt;
&lt;br /&gt;
*Video Introduces:[http://v.youku.com/v_show/id_XMzkzMzgwNzky.html Linksprite Copperhead WiFi Shield arduino Mega]&lt;br /&gt;
&lt;br /&gt;
== Cautions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematic  ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=234 LinkSprite CuHead WiFi Shield for Arduino Mega Schematic]&lt;br /&gt;
&lt;br /&gt;
== Specification  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Pin definition and Rating  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Mechanic Dimensions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
&lt;br /&gt;
'''Ready To Hardware'''&lt;br /&gt;
&lt;br /&gt;
*LinkSprite CuHead WiFi Shield for Arduino Mega module&lt;br /&gt;
&lt;br /&gt;
[[File:Mega 2.jpg]]&lt;br /&gt;
 &lt;br /&gt;
*Arduino Mega module&lt;br /&gt;
&lt;br /&gt;
[[File:Mega 3.jpg]]&lt;br /&gt;
  &lt;br /&gt;
*USB CABLE&lt;br /&gt;
 &lt;br /&gt;
'''Ready To Software'''&lt;br /&gt;
&lt;br /&gt;
*Arduino 1.0&lt;br /&gt;
 &lt;br /&gt;
Download link: [http://arduino.cc/en/Main/Software Arduino]&lt;br /&gt;
	&lt;br /&gt;
*Cuhead Mega’s Library files and code&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/cuheadmega cuheadmega]&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
'''Example demonstration'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-cuheadmega-1545a16.zip, unzip it and rename it as cuheadmega, then put it under the arduino-1.0\libraries directory.&lt;br /&gt;
 &lt;br /&gt;
*Open arduino.exe, choose an example such as SimpleServer.&lt;br /&gt;
 &lt;br /&gt;
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
 &lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
 &lt;br /&gt;
*When Cuhead Mega connected to the router through WiFi，the red LED will turn on.&lt;br /&gt;
 &lt;br /&gt;
*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）&lt;br /&gt;
&lt;br /&gt;
== FAQ  ==&lt;br /&gt;
'''Q1. Program can't be compiled'''&lt;br /&gt;
&lt;br /&gt;
A1：Check these if you found that the example we provide cannot compile.&lt;br /&gt;
&lt;br /&gt;
*Whether you choose the right Board. Because Arduino Mega and other versions of the Arduino interface is different. You should choose the board you are using when compile.&lt;br /&gt;
&lt;br /&gt;
*Here enter cuheadmaga , and open apps-conf.h&lt;br /&gt;
 &lt;br /&gt;
To prevent repeated quotation of the same file, which will cause compile error like duplicate definition and nested quoted. You have to change it here according to your needs. To different examples, the macro definition is different, the default is:&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WISERVER'''&lt;br /&gt;
 &lt;br /&gt;
If you want to use another example, such as how to use webserver.h,&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WEBSERVER'''&lt;br /&gt;
&lt;br /&gt;
'''//#define  APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
'''Q2. Red LED（D1） not on'''&lt;br /&gt;
&lt;br /&gt;
A2：If the program has been downloaded to Arduino, yet red LED（D1）on Cuhead Mega is not on, which means Wi-Fi not connected,please check below part.&lt;br /&gt;
&lt;br /&gt;
Check the IP address,default gate way and subnet mask in the code if it is right with the WiFi routor settings. And check the SSID、PASSWORD and encryption method. Or you can reset Cuhead Mega/Arduino module and reconnect them.&lt;br /&gt;
&lt;br /&gt;
== Support  ==&lt;br /&gt;
&lt;br /&gt;
If you have questions or other better design ideas, you can go to our [http://www.linksprite.com/forum/index.php forum] to discuss or creat a ticket for your issue at [http://www.linksprite.com/support/ linksprite support].&lt;br /&gt;
&lt;br /&gt;
== Resources  ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=235 LinkSprite CuHead WiFi Shield for Arduino Mega User Manual V1.0-english]&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=236 Wifi Shield Chip-MRF24WB0MA Datasheet]&lt;br /&gt;
&lt;br /&gt;
== How to buy  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See Also  ==&lt;br /&gt;
&lt;br /&gt;
Other related products and resources.&lt;br /&gt;
&lt;br /&gt;
== Licensing  ==&lt;br /&gt;
&lt;br /&gt;
This documentation is licensed under the Creative Commons [http://creativecommons.org/licenses/by-sa/3.0/ Attribution-ShareAlike License 3.0] Source code and libraries are licensed under [http://www.gnu.org/licenses/gpl.html GPL/LGPL], see source code files for details.&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_Mega&amp;diff=257</id>
		<title>CuHead WiFi Shield for Arduino Mega</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_Mega&amp;diff=257"/>
		<updated>2012-11-14T09:48:45Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
This document is to introduce LinkSprite CuHead WiFi Shield for Arduino Mega（hereafter we call Cuhead Mega).&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega adopt standard Arduino Mega laminated design . It is designed to plug on Arduino, MEGA, Romeo, etc.&lt;br /&gt;
&lt;br /&gt;
[[File:Mega 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
== Features  ==&lt;br /&gt;
&lt;br /&gt;
'''Standard spec'''&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega has charging and discharging function, the charging circuit is used to tell voltage of the battery.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
When Cuhead Mega connect Arduino, there are two working status：&lt;br /&gt;
&lt;br /&gt;
*Connect Arduino with USB/Adaptor , Arduino gives power to Cuhead Mega, the charging circuit on Cuhead Mega will disconnect；&lt;br /&gt;
&lt;br /&gt;
*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.&lt;br /&gt;
&lt;br /&gt;
'''Add Potentiometer'''&lt;br /&gt;
&lt;br /&gt;
The new added potentiometer is to adjust the voltage to any value needed (by adjust AMS1117 Vin to 5.6V~6.0V). &lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module Features'''&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11-compliant RF Transceiver&lt;br /&gt;
&lt;br /&gt;
*Serialized unique MAC address&lt;br /&gt;
&lt;br /&gt;
*Data Rate: 1 and 2 Mbps&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11b/g/n compatible&lt;br /&gt;
&lt;br /&gt;
*Small size: 21mm x 31mm 36-pin Surface Mount Module&lt;br /&gt;
&lt;br /&gt;
*Integrated PCB antenna (MRF24WB0MA)&lt;br /&gt;
&lt;br /&gt;
*Range: up to 400m (1300 ft.)&lt;br /&gt;
&lt;br /&gt;
*Single operating voltage: 2.7V–3.6V (3.3V typical)&lt;br /&gt;
&lt;br /&gt;
*Simple, four-wire SPI interface with interrupt&lt;br /&gt;
&lt;br /&gt;
*Low-current consumption:&lt;br /&gt;
&lt;br /&gt;
RX mode – 85 mA (typical)&lt;br /&gt;
&lt;br /&gt;
TX mode – 154 mA (+10 dBm typic&lt;br /&gt;
&lt;br /&gt;
Sleep – 250 µA (typical)&lt;br /&gt;
&lt;br /&gt;
Hibernate – &amp;lt;0.1 µA (typical)&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module RF/Analog Features'''&lt;br /&gt;
&lt;br /&gt;
*ISM Band 2.400–2.484 GHz operation&lt;br /&gt;
&lt;br /&gt;
*14 Channels selectable individually or domain-restricted&lt;br /&gt;
&lt;br /&gt;
*DSSS Modulation&lt;br /&gt;
&lt;br /&gt;
*Data Rate – 1000 kbps&lt;br /&gt;
&lt;br /&gt;
*-91 dBm Typical sensitivity at 1 Mbps&lt;br /&gt;
&lt;br /&gt;
*+10 dBm Typical output power with control&lt;br /&gt;
&lt;br /&gt;
*Integrated low phase noise VCO, RF frequency synthesizer, PLL loop filter and PA&lt;br /&gt;
&lt;br /&gt;
*Digital VCO and filter calibration&lt;br /&gt;
&lt;br /&gt;
*Integrated RSSI ADC and I/Q DACs, RSSI readings available to host&lt;br /&gt;
&lt;br /&gt;
*Balanced receiver and transmitter characteristics for low power consumption&lt;br /&gt;
&lt;br /&gt;
'''Cuhead Mega MAC/Baseband Features'''&lt;br /&gt;
&lt;br /&gt;
*Hardware CSMA/CA acce ss control, automatic ACK, and FCS creation and checking&lt;br /&gt;
&lt;br /&gt;
*Automatic MAC packet retransmit&lt;br /&gt;
&lt;br /&gt;
*Hardware Security Engine for AES and RC4-based ciphers&lt;br /&gt;
&lt;br /&gt;
*Supports 802.1x, 802.1i&lt;br /&gt;
&lt;br /&gt;
*Security: WEP, WPA-PSK, and WPA-2-PSK&lt;br /&gt;
&lt;br /&gt;
== Application Ideas  ==&lt;br /&gt;
&lt;br /&gt;
*Video Introduces:[http://v.youku.com/v_show/id_XMzkzMzgwNzky.html Linksprite Copperhead WiFi Shield arduino Mega]&lt;br /&gt;
&lt;br /&gt;
== Cautions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematic  ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=234 LinkSprite CuHead WiFi Shield for Arduino Mega Schematic]&lt;br /&gt;
&lt;br /&gt;
== Specification  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Pin definition and Rating  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Mechanic Dimensions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
&lt;br /&gt;
'''Ready To Hardware'''&lt;br /&gt;
&lt;br /&gt;
*LinkSprite CuHead WiFi Shield for Arduino Mega module&lt;br /&gt;
 &lt;br /&gt;
*Arduino Mega module&lt;br /&gt;
  &lt;br /&gt;
*USB CABLE&lt;br /&gt;
 &lt;br /&gt;
'''Ready To Software'''&lt;br /&gt;
&lt;br /&gt;
*Arduino 1.0&lt;br /&gt;
 &lt;br /&gt;
Download link: [http://arduino.cc/en/Main/Software Arduino]&lt;br /&gt;
	&lt;br /&gt;
*Cuhead Mega’s Library files and code&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/cuheadmega cuheadmega]&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
'''Example demonstration'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-cuheadmega-1545a16.zip, unzip it and rename it as cuheadmega, then put it under the arduino-1.0\libraries directory.&lt;br /&gt;
 &lt;br /&gt;
*Open arduino.exe, choose an example such as SimpleServer.&lt;br /&gt;
 &lt;br /&gt;
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
 &lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
 &lt;br /&gt;
*When Cuhead Mega connected to the router through WiFi，the red LED will turn on.&lt;br /&gt;
 &lt;br /&gt;
*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）&lt;br /&gt;
&lt;br /&gt;
== FAQ  ==&lt;br /&gt;
'''Q1. Program can't be compiled'''&lt;br /&gt;
&lt;br /&gt;
A1：Check these if you found that the example we provide cannot compile.&lt;br /&gt;
&lt;br /&gt;
*Whether you choose the right Board. Because Arduino Mega and other versions of the Arduino interface is different. You should choose the board you are using when compile.&lt;br /&gt;
&lt;br /&gt;
*Here enter cuheadmaga , and open apps-conf.h&lt;br /&gt;
 &lt;br /&gt;
To prevent repeated quotation of the same file, which will cause compile error like duplicate definition and nested quoted. You have to change it here according to your needs. To different examples, the macro definition is different, the default is:&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WISERVER'''&lt;br /&gt;
 &lt;br /&gt;
If you want to use another example, such as how to use webserver.h,&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WEBSERVER'''&lt;br /&gt;
&lt;br /&gt;
'''//#define  APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
'''Q2. Red LED（D1） not on'''&lt;br /&gt;
&lt;br /&gt;
A2：If the program has been downloaded to Arduino, yet red LED（D1）on Cuhead Mega is not on, which means Wi-Fi not connected,please check below part.&lt;br /&gt;
&lt;br /&gt;
Check the IP address,default gate way and subnet mask in the code if it is right with the WiFi routor settings. And check the SSID、PASSWORD and encryption method. Or you can reset Cuhead Mega/Arduino module and reconnect them.&lt;br /&gt;
&lt;br /&gt;
== Support  ==&lt;br /&gt;
&lt;br /&gt;
If you have questions or other better design ideas, you can go to our [http://www.linksprite.com/forum/index.php forum] to discuss or creat a ticket for your issue at [http://www.linksprite.com/support/ linksprite support].&lt;br /&gt;
&lt;br /&gt;
== Resources  ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=235 LinkSprite CuHead WiFi Shield for Arduino Mega User Manual V1.0-english]&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=236 Wifi Shield Chip-MRF24WB0MA Datasheet]&lt;br /&gt;
&lt;br /&gt;
== How to buy  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See Also  ==&lt;br /&gt;
&lt;br /&gt;
Other related products and resources.&lt;br /&gt;
&lt;br /&gt;
== Licensing  ==&lt;br /&gt;
&lt;br /&gt;
This documentation is licensed under the Creative Commons [http://creativecommons.org/licenses/by-sa/3.0/ Attribution-ShareAlike License 3.0] Source code and libraries are licensed under [http://www.gnu.org/licenses/gpl.html GPL/LGPL], see source code files for details.&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=File:Mega_8.jpg&amp;diff=256</id>
		<title>File:Mega 8.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=File:Mega_8.jpg&amp;diff=256"/>
		<updated>2012-11-14T09:46:46Z</updated>

		<summary type="html">&lt;p&gt;Nancy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=File:Mega_7.jpg&amp;diff=255</id>
		<title>File:Mega 7.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=File:Mega_7.jpg&amp;diff=255"/>
		<updated>2012-11-14T09:46:23Z</updated>

		<summary type="html">&lt;p&gt;Nancy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=File:Mega_6.jpg&amp;diff=254</id>
		<title>File:Mega 6.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=File:Mega_6.jpg&amp;diff=254"/>
		<updated>2012-11-14T09:46:04Z</updated>

		<summary type="html">&lt;p&gt;Nancy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=File:Mega_5.jpg&amp;diff=253</id>
		<title>File:Mega 5.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=File:Mega_5.jpg&amp;diff=253"/>
		<updated>2012-11-14T09:45:41Z</updated>

		<summary type="html">&lt;p&gt;Nancy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=File:Mega_4.jpg&amp;diff=252</id>
		<title>File:Mega 4.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=File:Mega_4.jpg&amp;diff=252"/>
		<updated>2012-11-14T09:45:18Z</updated>

		<summary type="html">&lt;p&gt;Nancy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=File:Mega_3.jpg&amp;diff=251</id>
		<title>File:Mega 3.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=File:Mega_3.jpg&amp;diff=251"/>
		<updated>2012-11-14T09:45:00Z</updated>

		<summary type="html">&lt;p&gt;Nancy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=File:Mega_2.jpg&amp;diff=250</id>
		<title>File:Mega 2.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=File:Mega_2.jpg&amp;diff=250"/>
		<updated>2012-11-14T09:44:39Z</updated>

		<summary type="html">&lt;p&gt;Nancy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=File:Mega_1.jpg&amp;diff=249</id>
		<title>File:Mega 1.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=File:Mega_1.jpg&amp;diff=249"/>
		<updated>2012-11-14T09:43:28Z</updated>

		<summary type="html">&lt;p&gt;Nancy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_V2.0&amp;diff=248</id>
		<title>CuHead WiFi Shield for Arduino V2.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_V2.0&amp;diff=248"/>
		<updated>2012-11-14T09:38:20Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* Resources */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
This document is to introduce Cuhead WiFi Shield V2.0（hereafter we call Cuhead V2.0).&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 adopt standard Arduino laminated design . It is designed to plug on Arduino  Diecimila/Duemilanove/Uno etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
== Features  ==&lt;br /&gt;
&lt;br /&gt;
'''Standard spec'''&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 has charging and discharging function, the charging circuit is used to tell voltage of the battery. &lt;br /&gt;
&lt;br /&gt;
We can connect the positive and negtive of the battery to BAT, if the battery is full, then Cuhead V2.0 wont charge battery; if it is not, the external battery will be charged.&lt;br /&gt;
&lt;br /&gt;
We bring comparator to check the operating current of Cuhead V2.0 so you know it is Arduino giving power to Cuhead V2.0 or the opposite way, and change the charging circuit to connect/disconnect based on that.&lt;br /&gt;
&lt;br /&gt;
When Cuhead V2.0 connect Arduino, there are two working status：&lt;br /&gt;
&lt;br /&gt;
*Connect Arduino with USB/Adaptor , Arduino gives power to Cuhead V2.0, the charging circuit on Cuhead V2.0 will disconnect；&lt;br /&gt;
&lt;br /&gt;
*No external power for Arduino, then the charging circuit of Cuhead V2.0 is working, and the battery will power the boards. Normally we give power to Arduino directly, thus the charging circuit is inactive.&lt;br /&gt;
&lt;br /&gt;
'''Add Potentiometer'''&lt;br /&gt;
&lt;br /&gt;
The new added potentiometer is to adjust the voltage to any value needed (by adjust AMS1117 Vin to 5.6V~6.0V). &lt;br /&gt;
&lt;br /&gt;
It is hard to do so by fixed resistance. The default voltage of Cuhead V2.0 has been set in the right voltage，normally you don't have to adjust it.&lt;br /&gt;
&lt;br /&gt;
'''Increase the Flash memory chip'''&lt;br /&gt;
&lt;br /&gt;
The increase of the Flash memory chip is serial interface of the Flash memory chip, it can work in 2.5 V-2.7 V, can be used as program code data storage. Flash memory chip and Arduino are used together SPI interface,  the speed can be up to 66 MHz. It contains 17301504 bytes, is organized for 4096 page, each page 512 or 528 bytes. In addition to main memory, the Flash memory chip also includes two SRAM data buffer, each buffer 512/528 bytes. When main memory is programming, buffer is allowed to receive the data, and to support data stream write. And the Flash memory chip allow simple in the system to programming, without having to input high programming voltage.  It can through the # CS Enable, and through the three line interface (SI, SO, SCK) in data communication.&lt;br /&gt;
&lt;br /&gt;
Because Cuhead V2.0 Flash memory chip and Arduino uses the same SPI interface, we through the Cuhead V2.0 module of the flash_sn jump line to select is public SS or CS. The flash_sn connect 1, 2 pin is SS, connect 2,3 pins for CS.&lt;br /&gt;
&lt;br /&gt;
When Cuhead V2.0 need to use Wi-Fi choose SS, make Flash is invalid, so Wi-Fi can accurately to receive information, and deal with the IP protocol. If this time not banned Flash, data through the SPI send come over, Flash and Arduino will receive the data and have the conflict.&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module Features'''&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11-compliant RF Transceiver&lt;br /&gt;
*Serialized unique MAC address&lt;br /&gt;
*Data Rate: 1 and 2 Mbps&lt;br /&gt;
*IEEE Std. 802.11b/g/n compatible&lt;br /&gt;
*Small size: 21mm x 31mm 36-pin Surface Mount Module&lt;br /&gt;
*Integrated PCB antenna (MRF24WB0MA)&lt;br /&gt;
*Range: up to 400m (1300 ft.)&lt;br /&gt;
*Single operating voltage: 2.7V–3.6V (3.3V typical)&lt;br /&gt;
*Simple, four-wire SPI interface with interrupt&lt;br /&gt;
*Low-current consumption:&lt;br /&gt;
*RX mode – 85 mA (typical)&lt;br /&gt;
*TX mode – 154 mA (+10 dBm typic&lt;br /&gt;
*Sleep – 250 µA (typical)&lt;br /&gt;
*Hibernate – &amp;lt;0.1 µA (typical)&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module RF/Analog Features'''&lt;br /&gt;
&lt;br /&gt;
*ISM Band 2.400–2.484 GHz operation&lt;br /&gt;
*14 Channels selectable individually or domain-restricted&lt;br /&gt;
*DSSS Modulation&lt;br /&gt;
*Data Rate – 1000 kbps&lt;br /&gt;
*-91 dBm Typical sensitivity at 1 Mbps&lt;br /&gt;
*+10 dBm Typical output power with control&lt;br /&gt;
*Integrated low phase noise VCO, RF frequency synthesizer, PLL loop filter and PA&lt;br /&gt;
*Digital VCO and filter calibration&lt;br /&gt;
*Integrated RSSI ADC and I/Q DACs, RSSI readings available to host&lt;br /&gt;
*Balanced receiver and transmitter characteristics for low power consumption&lt;br /&gt;
&lt;br /&gt;
'''Cuhead V2.0 MAC/Baseband Features'''&lt;br /&gt;
&lt;br /&gt;
*Hardware CSMA/CA acce ss control, automatic ACK, and FCS creation and checking&lt;br /&gt;
*Automatic MAC packet retransmit&lt;br /&gt;
*Hardware Security Engine for AES and RC4-based ciphers&lt;br /&gt;
*Supports 802.1x, 802.1i&lt;br /&gt;
*Security: WEP, WPA-PSK, and WPA-2-PSK&lt;br /&gt;
&lt;br /&gt;
== Application Ideas  ==&lt;br /&gt;
&lt;br /&gt;
'''Video Introduces'''&lt;br /&gt;
&lt;br /&gt;
*[http://v.youku.com/v_show/id_XMzkxMjI2NDgw.html Features of CuHead V2.0]&lt;br /&gt;
&lt;br /&gt;
*[http://v.youku.com/v_show/id_XMzkwNTM0OTA0.html CuHead Enabled WiFi Controllable Robot: Controlled by iPad]&lt;br /&gt;
&lt;br /&gt;
== Cautions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematic  ==&lt;br /&gt;
&lt;br /&gt;
*[http://linksprite.com/download/showdownload.php?lang=en&amp;amp;id=230 Schematics of CuHead WiFi Shield for Arduino V2.0 ]&lt;br /&gt;
&lt;br /&gt;
== Specification  ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=233 Cuhead WiFi Shield V2.0 User Manual]&lt;br /&gt;
&lt;br /&gt;
*[http://www.cutedigi.com/pub/Arduino/CuHead/HowToCompileCuHeadSampleCodeforArduinoUno.pdf How To Compile CuHead Sample Code for ArduinoUno]&lt;br /&gt;
&lt;br /&gt;
== Pin definition and Rating  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Mechanic Dimensions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
'''Ready To Hardware'''	&lt;br /&gt;
*Cuhead WiFi Shield V2.0 module&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Arduino Duemilanove module&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 2.jpg]]&lt;br /&gt;
&lt;br /&gt;
*USB CABLE&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 3.jpg]]&lt;br /&gt;
 &lt;br /&gt;
'''Ready To Software'''&lt;br /&gt;
*Arduino 1.0&lt;br /&gt;
&lt;br /&gt;
Download link: [http://arduino.cc/en/Main/Software Arduino 1.0 Software]&lt;br /&gt;
&lt;br /&gt;
*ZG2100BasedWiFiShield’s Library files and code / WiFiShield’s Library files and code&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/ZG2100BasedWiFiShield ZG2100BasedWiFiShield]&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/WiShield WiShield]&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
'''Connect to WIFI'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-ZG2100BasedWiFiShield-68b2001.zip, unzip it and rename it as ZG2100BasedWiFiShield, then put it under the arduino-1.0\libraries directory.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 12.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe，choose an example such as SimpleServer.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 4.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 5.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 6.jpg]]&lt;br /&gt;
&lt;br /&gt;
*When Cuhead V2.0 connected to the router through WiFi，the red LED will turn on.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 7.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Input the IP address of Cuhead V2.0 as we set it：192.168.3.120, it showed what SimpleServer is about.（this IP is for demo）&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 8.jpg]]&lt;br /&gt;
&lt;br /&gt;
'''Download the DataFlash'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-DataFlash-e90ea99.zip , unzip it and rename it as DataFlash, then put it under the arduino-0022\libraries directory.&lt;br /&gt;
&lt;br /&gt;
*Please note: Using Arduino-0023 and Arduino-0023 the following version, download Data Flash ( DataFlash Download link: [https://github.com/linksprite/DataFlash DataFlash] ) &lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe，choose an example such as DataFlash_Intro.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 9.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 10.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Click on the Serial Monitor, COM22 window appears information.&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 11.jpg]]&lt;br /&gt;
&lt;br /&gt;
== FAQ  ==&lt;br /&gt;
&lt;br /&gt;
'''Q1. Program can't be compiled'''&lt;br /&gt;
&lt;br /&gt;
A1：Check these if you found that the example we provide cannot compile.&lt;br /&gt;
&lt;br /&gt;
Whether you choose the right Board. You should choose the board you are using when compile.&lt;br /&gt;
&lt;br /&gt;
Here enter ZG2100BasedWiFiShield[[File:Cuhead 12.jpg]] , and open apps-conf.h&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 13.jpg]]&lt;br /&gt;
 &lt;br /&gt;
To prevent repeated quotation of the same file, which will cause compile error like duplicate definition and nested quoted.&lt;br /&gt;
&lt;br /&gt;
You have to change it here according to your needs. To different examples, the macro definition is different, the default is:&lt;br /&gt;
&lt;br /&gt;
'''#define APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 14.jpg]]&lt;br /&gt;
 &lt;br /&gt;
If you want to use another example, such as how to use webserver.h,&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WEBSERVER'''&lt;br /&gt;
&lt;br /&gt;
'''//#define  APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
'''Q2. Red LED（D1）not on'''&lt;br /&gt;
&lt;br /&gt;
A2：If the program has been downloaded to Arduino, yet red LED（D1）on Cuhead V1.0 is not on, which means Wi-Fi not connected,please check below part.&lt;br /&gt;
&lt;br /&gt;
Check the IP address,default gate way and subnet mask in the code if it is right with the WiFi routor settings. &lt;br /&gt;
&lt;br /&gt;
And check the SSID、PASSWORD and encryption method. Or you can reset Cuhead V2.0/Arduino module and reconnect them.&lt;br /&gt;
&lt;br /&gt;
Check the jump line parts:&lt;br /&gt;
&lt;br /&gt;
*INTX1, used to choose to interrupt mode, jump line 1, 2 pin is D8, jump line 2, 3 pin is D2. No influence on the use of  Cuhead V2.0,  not normally use.&lt;br /&gt;
&lt;br /&gt;
*Flash_sn, jump line 1, 2 pin is SS, jump line 2, 3 pin is CS, when you using Wi-Fi choice SS, make Flash invalid.&lt;br /&gt;
&lt;br /&gt;
*Wi-Fi connection indicator light, jump line 1, 2 pin. Cuhead V2.0 leave factory, need to jump line of the part we have adjusted, you can use directly.&lt;br /&gt;
&lt;br /&gt;
'''Q3. Using UNO R3'''&lt;br /&gt;
&lt;br /&gt;
A3:When Cuhead V2.0 connected to Arduino UNO R3, Cuhead V2.0 may be unable to connect to wifi. &lt;br /&gt;
&lt;br /&gt;
You need to download the latest version of the Bootloader to Arduino microcontroller (ATmegaXXXX).&lt;br /&gt;
&lt;br /&gt;
Open optiboot folder ( X: \ arduino-XXXX \ hardware \ arduino\ bootloaders \ optiboot ) &lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 15.jpg]]&lt;br /&gt;
 &lt;br /&gt;
Bootloader (.hex file) download to corresponding version of the Arduino microcontroller (ATmegaXXXX).&lt;br /&gt;
&lt;br /&gt;
'''Q4.I have your Cuhead module,but when i connect it with my Arduino Mega 2560,it is not working.what can i do now?'''&lt;br /&gt;
&lt;br /&gt;
A4:Please check the connections with the arduino board carefully,it is different with different arduino boards.&lt;br /&gt;
&lt;br /&gt;
For example,Arduino Mega uses different pins for the SPI interface than the previous boards, so you may not able to use the headers to stack the shield onto the Mega.&lt;br /&gt;
&lt;br /&gt;
And you may have to pull pins to match the correct SPI pins to get it working.&lt;br /&gt;
&lt;br /&gt;
== Support  ==&lt;br /&gt;
&lt;br /&gt;
If you have questions or other better design ideas, you can go to our [http://www.linksprite.com/forum/index.php forum] to discuss or creat a ticket for your issue at [http://www.linksprite.com/support/ linksprite support].&lt;br /&gt;
&lt;br /&gt;
== Resources  ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/article/shownews.php?lang=en&amp;amp;id=58 source code github]&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/article/shownews.php?lang=en&amp;amp;id=106 Can CuHead WiFi Shield be used with Arduino Mega?]&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=236 Wifi Shield Chip-MRF24WB0MA Datasheet]&lt;br /&gt;
&lt;br /&gt;
== How to buy  ==&lt;br /&gt;
&lt;br /&gt;
Here to buy CuHead V2.0 [http://www.cutedigi.com/wireless/wifi/cuhead-wifi-shield-v2-0-for-arduino.html CUHEADWIFIV2] on LinkSprite [http://www.cutedigi.com/ Cart]&lt;br /&gt;
&lt;br /&gt;
== See Also  ==&lt;br /&gt;
&lt;br /&gt;
Other related products and resources.&lt;br /&gt;
&lt;br /&gt;
== Licensing  ==&lt;br /&gt;
&lt;br /&gt;
This documentation is licensed under the Creative Commons [http://creativecommons.org/licenses/by-sa/3.0/ Attribution-ShareAlike License 3.0] Source code and libraries are licensed under [http://www.gnu.org/licenses/gpl.html GPL/LGPL], see source code files for details.&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_Mega&amp;diff=247</id>
		<title>CuHead WiFi Shield for Arduino Mega</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_Mega&amp;diff=247"/>
		<updated>2012-11-14T09:38:03Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* Resources */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
This document is to introduce LinkSprite CuHead WiFi Shield for Arduino Mega（hereafter we call Cuhead Mega).&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega adopt standard Arduino Mega laminated design . It is designed to plug on Arduino, MEGA, Romeo, etc.&lt;br /&gt;
&lt;br /&gt;
== Features  ==&lt;br /&gt;
&lt;br /&gt;
'''Standard spec'''&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega has charging and discharging function, the charging circuit is used to tell voltage of the battery.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
When Cuhead Mega connect Arduino, there are two working status：&lt;br /&gt;
&lt;br /&gt;
*Connect Arduino with USB/Adaptor , Arduino gives power to Cuhead Mega, the charging circuit on Cuhead Mega will disconnect；&lt;br /&gt;
&lt;br /&gt;
*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.&lt;br /&gt;
&lt;br /&gt;
'''Add Potentiometer'''&lt;br /&gt;
&lt;br /&gt;
The new added potentiometer is to adjust the voltage to any value needed (by adjust AMS1117 Vin to 5.6V~6.0V). &lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module Features'''&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11-compliant RF Transceiver&lt;br /&gt;
&lt;br /&gt;
*Serialized unique MAC address&lt;br /&gt;
&lt;br /&gt;
*Data Rate: 1 and 2 Mbps&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11b/g/n compatible&lt;br /&gt;
&lt;br /&gt;
*Small size: 21mm x 31mm 36-pin Surface Mount Module&lt;br /&gt;
&lt;br /&gt;
*Integrated PCB antenna (MRF24WB0MA)&lt;br /&gt;
&lt;br /&gt;
*Range: up to 400m (1300 ft.)&lt;br /&gt;
&lt;br /&gt;
*Single operating voltage: 2.7V–3.6V (3.3V typical)&lt;br /&gt;
&lt;br /&gt;
*Simple, four-wire SPI interface with interrupt&lt;br /&gt;
&lt;br /&gt;
*Low-current consumption:&lt;br /&gt;
&lt;br /&gt;
RX mode – 85 mA (typical)&lt;br /&gt;
&lt;br /&gt;
TX mode – 154 mA (+10 dBm typic&lt;br /&gt;
&lt;br /&gt;
Sleep – 250 µA (typical)&lt;br /&gt;
&lt;br /&gt;
Hibernate – &amp;lt;0.1 µA (typical)&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module RF/Analog Features'''&lt;br /&gt;
&lt;br /&gt;
*ISM Band 2.400–2.484 GHz operation&lt;br /&gt;
&lt;br /&gt;
*14 Channels selectable individually or domain-restricted&lt;br /&gt;
&lt;br /&gt;
*DSSS Modulation&lt;br /&gt;
&lt;br /&gt;
*Data Rate – 1000 kbps&lt;br /&gt;
&lt;br /&gt;
*-91 dBm Typical sensitivity at 1 Mbps&lt;br /&gt;
&lt;br /&gt;
*+10 dBm Typical output power with control&lt;br /&gt;
&lt;br /&gt;
*Integrated low phase noise VCO, RF frequency synthesizer, PLL loop filter and PA&lt;br /&gt;
&lt;br /&gt;
*Digital VCO and filter calibration&lt;br /&gt;
&lt;br /&gt;
*Integrated RSSI ADC and I/Q DACs, RSSI readings available to host&lt;br /&gt;
&lt;br /&gt;
*Balanced receiver and transmitter characteristics for low power consumption&lt;br /&gt;
&lt;br /&gt;
'''Cuhead Mega MAC/Baseband Features'''&lt;br /&gt;
&lt;br /&gt;
*Hardware CSMA/CA acce ss control, automatic ACK, and FCS creation and checking&lt;br /&gt;
&lt;br /&gt;
*Automatic MAC packet retransmit&lt;br /&gt;
&lt;br /&gt;
*Hardware Security Engine for AES and RC4-based ciphers&lt;br /&gt;
&lt;br /&gt;
*Supports 802.1x, 802.1i&lt;br /&gt;
&lt;br /&gt;
*Security: WEP, WPA-PSK, and WPA-2-PSK&lt;br /&gt;
&lt;br /&gt;
== Application Ideas  ==&lt;br /&gt;
&lt;br /&gt;
*Video Introduces:[http://v.youku.com/v_show/id_XMzkzMzgwNzky.html Linksprite Copperhead WiFi Shield arduino Mega]&lt;br /&gt;
&lt;br /&gt;
== Cautions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematic  ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=234 LinkSprite CuHead WiFi Shield for Arduino Mega Schematic]&lt;br /&gt;
&lt;br /&gt;
== Specification  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Pin definition and Rating  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Mechanic Dimensions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
&lt;br /&gt;
'''Ready To Hardware'''&lt;br /&gt;
&lt;br /&gt;
*LinkSprite CuHead WiFi Shield for Arduino Mega module&lt;br /&gt;
 &lt;br /&gt;
*Arduino Mega module&lt;br /&gt;
  &lt;br /&gt;
*USB CABLE&lt;br /&gt;
 &lt;br /&gt;
'''Ready To Software'''&lt;br /&gt;
&lt;br /&gt;
*Arduino 1.0&lt;br /&gt;
 &lt;br /&gt;
Download link: [http://arduino.cc/en/Main/Software Arduino]&lt;br /&gt;
	&lt;br /&gt;
*Cuhead Mega’s Library files and code&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/cuheadmega cuheadmega]&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
'''Example demonstration'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-cuheadmega-1545a16.zip, unzip it and rename it as cuheadmega, then put it under the arduino-1.0\libraries directory.&lt;br /&gt;
 &lt;br /&gt;
*Open arduino.exe, choose an example such as SimpleServer.&lt;br /&gt;
 &lt;br /&gt;
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
 &lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
 &lt;br /&gt;
*When Cuhead Mega connected to the router through WiFi，the red LED will turn on.&lt;br /&gt;
 &lt;br /&gt;
*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）&lt;br /&gt;
&lt;br /&gt;
== FAQ  ==&lt;br /&gt;
'''Q1. Program can't be compiled'''&lt;br /&gt;
&lt;br /&gt;
A1：Check these if you found that the example we provide cannot compile.&lt;br /&gt;
&lt;br /&gt;
*Whether you choose the right Board. Because Arduino Mega and other versions of the Arduino interface is different. You should choose the board you are using when compile.&lt;br /&gt;
&lt;br /&gt;
*Here enter cuheadmaga , and open apps-conf.h&lt;br /&gt;
 &lt;br /&gt;
To prevent repeated quotation of the same file, which will cause compile error like duplicate definition and nested quoted. You have to change it here according to your needs. To different examples, the macro definition is different, the default is:&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WISERVER'''&lt;br /&gt;
 &lt;br /&gt;
If you want to use another example, such as how to use webserver.h,&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WEBSERVER'''&lt;br /&gt;
&lt;br /&gt;
'''//#define  APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
'''Q2. Red LED（D1） not on'''&lt;br /&gt;
&lt;br /&gt;
A2：If the program has been downloaded to Arduino, yet red LED（D1）on Cuhead Mega is not on, which means Wi-Fi not connected,please check below part.&lt;br /&gt;
&lt;br /&gt;
Check the IP address,default gate way and subnet mask in the code if it is right with the WiFi routor settings. And check the SSID、PASSWORD and encryption method. Or you can reset Cuhead Mega/Arduino module and reconnect them.&lt;br /&gt;
&lt;br /&gt;
== Support  ==&lt;br /&gt;
&lt;br /&gt;
If you have questions or other better design ideas, you can go to our [http://www.linksprite.com/forum/index.php forum] to discuss or creat a ticket for your issue at [http://www.linksprite.com/support/ linksprite support].&lt;br /&gt;
&lt;br /&gt;
== Resources  ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=235 LinkSprite CuHead WiFi Shield for Arduino Mega User Manual V1.0-english]&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=236 Wifi Shield Chip-MRF24WB0MA Datasheet]&lt;br /&gt;
&lt;br /&gt;
== How to buy  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See Also  ==&lt;br /&gt;
&lt;br /&gt;
Other related products and resources.&lt;br /&gt;
&lt;br /&gt;
== Licensing  ==&lt;br /&gt;
&lt;br /&gt;
This documentation is licensed under the Creative Commons [http://creativecommons.org/licenses/by-sa/3.0/ Attribution-ShareAlike License 3.0] Source code and libraries are licensed under [http://www.gnu.org/licenses/gpl.html GPL/LGPL], see source code files for details.&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_Mega&amp;diff=246</id>
		<title>CuHead WiFi Shield for Arduino Mega</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_Mega&amp;diff=246"/>
		<updated>2012-11-14T09:37:26Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* Resources */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
This document is to introduce LinkSprite CuHead WiFi Shield for Arduino Mega（hereafter we call Cuhead Mega).&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega adopt standard Arduino Mega laminated design . It is designed to plug on Arduino, MEGA, Romeo, etc.&lt;br /&gt;
&lt;br /&gt;
== Features  ==&lt;br /&gt;
&lt;br /&gt;
'''Standard spec'''&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega has charging and discharging function, the charging circuit is used to tell voltage of the battery.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
When Cuhead Mega connect Arduino, there are two working status：&lt;br /&gt;
&lt;br /&gt;
*Connect Arduino with USB/Adaptor , Arduino gives power to Cuhead Mega, the charging circuit on Cuhead Mega will disconnect；&lt;br /&gt;
&lt;br /&gt;
*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.&lt;br /&gt;
&lt;br /&gt;
'''Add Potentiometer'''&lt;br /&gt;
&lt;br /&gt;
The new added potentiometer is to adjust the voltage to any value needed (by adjust AMS1117 Vin to 5.6V~6.0V). &lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module Features'''&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11-compliant RF Transceiver&lt;br /&gt;
&lt;br /&gt;
*Serialized unique MAC address&lt;br /&gt;
&lt;br /&gt;
*Data Rate: 1 and 2 Mbps&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11b/g/n compatible&lt;br /&gt;
&lt;br /&gt;
*Small size: 21mm x 31mm 36-pin Surface Mount Module&lt;br /&gt;
&lt;br /&gt;
*Integrated PCB antenna (MRF24WB0MA)&lt;br /&gt;
&lt;br /&gt;
*Range: up to 400m (1300 ft.)&lt;br /&gt;
&lt;br /&gt;
*Single operating voltage: 2.7V–3.6V (3.3V typical)&lt;br /&gt;
&lt;br /&gt;
*Simple, four-wire SPI interface with interrupt&lt;br /&gt;
&lt;br /&gt;
*Low-current consumption:&lt;br /&gt;
&lt;br /&gt;
RX mode – 85 mA (typical)&lt;br /&gt;
&lt;br /&gt;
TX mode – 154 mA (+10 dBm typic&lt;br /&gt;
&lt;br /&gt;
Sleep – 250 µA (typical)&lt;br /&gt;
&lt;br /&gt;
Hibernate – &amp;lt;0.1 µA (typical)&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module RF/Analog Features'''&lt;br /&gt;
&lt;br /&gt;
*ISM Band 2.400–2.484 GHz operation&lt;br /&gt;
&lt;br /&gt;
*14 Channels selectable individually or domain-restricted&lt;br /&gt;
&lt;br /&gt;
*DSSS Modulation&lt;br /&gt;
&lt;br /&gt;
*Data Rate – 1000 kbps&lt;br /&gt;
&lt;br /&gt;
*-91 dBm Typical sensitivity at 1 Mbps&lt;br /&gt;
&lt;br /&gt;
*+10 dBm Typical output power with control&lt;br /&gt;
&lt;br /&gt;
*Integrated low phase noise VCO, RF frequency synthesizer, PLL loop filter and PA&lt;br /&gt;
&lt;br /&gt;
*Digital VCO and filter calibration&lt;br /&gt;
&lt;br /&gt;
*Integrated RSSI ADC and I/Q DACs, RSSI readings available to host&lt;br /&gt;
&lt;br /&gt;
*Balanced receiver and transmitter characteristics for low power consumption&lt;br /&gt;
&lt;br /&gt;
'''Cuhead Mega MAC/Baseband Features'''&lt;br /&gt;
&lt;br /&gt;
*Hardware CSMA/CA acce ss control, automatic ACK, and FCS creation and checking&lt;br /&gt;
&lt;br /&gt;
*Automatic MAC packet retransmit&lt;br /&gt;
&lt;br /&gt;
*Hardware Security Engine for AES and RC4-based ciphers&lt;br /&gt;
&lt;br /&gt;
*Supports 802.1x, 802.1i&lt;br /&gt;
&lt;br /&gt;
*Security: WEP, WPA-PSK, and WPA-2-PSK&lt;br /&gt;
&lt;br /&gt;
== Application Ideas  ==&lt;br /&gt;
&lt;br /&gt;
*Video Introduces:[http://v.youku.com/v_show/id_XMzkzMzgwNzky.html Linksprite Copperhead WiFi Shield arduino Mega]&lt;br /&gt;
&lt;br /&gt;
== Cautions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematic  ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=234 LinkSprite CuHead WiFi Shield for Arduino Mega Schematic]&lt;br /&gt;
&lt;br /&gt;
== Specification  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Pin definition and Rating  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Mechanic Dimensions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
&lt;br /&gt;
'''Ready To Hardware'''&lt;br /&gt;
&lt;br /&gt;
*LinkSprite CuHead WiFi Shield for Arduino Mega module&lt;br /&gt;
 &lt;br /&gt;
*Arduino Mega module&lt;br /&gt;
  &lt;br /&gt;
*USB CABLE&lt;br /&gt;
 &lt;br /&gt;
'''Ready To Software'''&lt;br /&gt;
&lt;br /&gt;
*Arduino 1.0&lt;br /&gt;
 &lt;br /&gt;
Download link: [http://arduino.cc/en/Main/Software Arduino]&lt;br /&gt;
	&lt;br /&gt;
*Cuhead Mega’s Library files and code&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/cuheadmega cuheadmega]&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
'''Example demonstration'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-cuheadmega-1545a16.zip, unzip it and rename it as cuheadmega, then put it under the arduino-1.0\libraries directory.&lt;br /&gt;
 &lt;br /&gt;
*Open arduino.exe, choose an example such as SimpleServer.&lt;br /&gt;
 &lt;br /&gt;
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
 &lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
 &lt;br /&gt;
*When Cuhead Mega connected to the router through WiFi，the red LED will turn on.&lt;br /&gt;
 &lt;br /&gt;
*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）&lt;br /&gt;
&lt;br /&gt;
== FAQ  ==&lt;br /&gt;
'''Q1. Program can't be compiled'''&lt;br /&gt;
&lt;br /&gt;
A1：Check these if you found that the example we provide cannot compile.&lt;br /&gt;
&lt;br /&gt;
*Whether you choose the right Board. Because Arduino Mega and other versions of the Arduino interface is different. You should choose the board you are using when compile.&lt;br /&gt;
&lt;br /&gt;
*Here enter cuheadmaga , and open apps-conf.h&lt;br /&gt;
 &lt;br /&gt;
To prevent repeated quotation of the same file, which will cause compile error like duplicate definition and nested quoted. You have to change it here according to your needs. To different examples, the macro definition is different, the default is:&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WISERVER'''&lt;br /&gt;
 &lt;br /&gt;
If you want to use another example, such as how to use webserver.h,&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WEBSERVER'''&lt;br /&gt;
&lt;br /&gt;
'''//#define  APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
'''Q2. Red LED（D1） not on'''&lt;br /&gt;
&lt;br /&gt;
A2：If the program has been downloaded to Arduino, yet red LED（D1）on Cuhead Mega is not on, which means Wi-Fi not connected,please check below part.&lt;br /&gt;
&lt;br /&gt;
Check the IP address,default gate way and subnet mask in the code if it is right with the WiFi routor settings. And check the SSID、PASSWORD and encryption method. Or you can reset Cuhead Mega/Arduino module and reconnect them.&lt;br /&gt;
&lt;br /&gt;
== Support  ==&lt;br /&gt;
&lt;br /&gt;
If you have questions or other better design ideas, you can go to our [http://www.linksprite.com/forum/index.php forum] to discuss or creat a ticket for your issue at [http://www.linksprite.com/support/ linksprite support].&lt;br /&gt;
&lt;br /&gt;
== Resources  ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=235 LinkSprite CuHead WiFi Shield for Arduino Mega User Manual V1.0-english]&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=236 Wifi Shield-MRF24WB0MA Datasheet]&lt;br /&gt;
&lt;br /&gt;
== How to buy  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See Also  ==&lt;br /&gt;
&lt;br /&gt;
Other related products and resources.&lt;br /&gt;
&lt;br /&gt;
== Licensing  ==&lt;br /&gt;
&lt;br /&gt;
This documentation is licensed under the Creative Commons [http://creativecommons.org/licenses/by-sa/3.0/ Attribution-ShareAlike License 3.0] Source code and libraries are licensed under [http://www.gnu.org/licenses/gpl.html GPL/LGPL], see source code files for details.&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_Mega&amp;diff=245</id>
		<title>CuHead WiFi Shield for Arduino Mega</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_Mega&amp;diff=245"/>
		<updated>2012-11-14T09:35:21Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* Schematic */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
This document is to introduce LinkSprite CuHead WiFi Shield for Arduino Mega（hereafter we call Cuhead Mega).&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega adopt standard Arduino Mega laminated design . It is designed to plug on Arduino, MEGA, Romeo, etc.&lt;br /&gt;
&lt;br /&gt;
== Features  ==&lt;br /&gt;
&lt;br /&gt;
'''Standard spec'''&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega has charging and discharging function, the charging circuit is used to tell voltage of the battery.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
When Cuhead Mega connect Arduino, there are two working status：&lt;br /&gt;
&lt;br /&gt;
*Connect Arduino with USB/Adaptor , Arduino gives power to Cuhead Mega, the charging circuit on Cuhead Mega will disconnect；&lt;br /&gt;
&lt;br /&gt;
*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.&lt;br /&gt;
&lt;br /&gt;
'''Add Potentiometer'''&lt;br /&gt;
&lt;br /&gt;
The new added potentiometer is to adjust the voltage to any value needed (by adjust AMS1117 Vin to 5.6V~6.0V). &lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module Features'''&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11-compliant RF Transceiver&lt;br /&gt;
&lt;br /&gt;
*Serialized unique MAC address&lt;br /&gt;
&lt;br /&gt;
*Data Rate: 1 and 2 Mbps&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11b/g/n compatible&lt;br /&gt;
&lt;br /&gt;
*Small size: 21mm x 31mm 36-pin Surface Mount Module&lt;br /&gt;
&lt;br /&gt;
*Integrated PCB antenna (MRF24WB0MA)&lt;br /&gt;
&lt;br /&gt;
*Range: up to 400m (1300 ft.)&lt;br /&gt;
&lt;br /&gt;
*Single operating voltage: 2.7V–3.6V (3.3V typical)&lt;br /&gt;
&lt;br /&gt;
*Simple, four-wire SPI interface with interrupt&lt;br /&gt;
&lt;br /&gt;
*Low-current consumption:&lt;br /&gt;
&lt;br /&gt;
RX mode – 85 mA (typical)&lt;br /&gt;
&lt;br /&gt;
TX mode – 154 mA (+10 dBm typic&lt;br /&gt;
&lt;br /&gt;
Sleep – 250 µA (typical)&lt;br /&gt;
&lt;br /&gt;
Hibernate – &amp;lt;0.1 µA (typical)&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module RF/Analog Features'''&lt;br /&gt;
&lt;br /&gt;
*ISM Band 2.400–2.484 GHz operation&lt;br /&gt;
&lt;br /&gt;
*14 Channels selectable individually or domain-restricted&lt;br /&gt;
&lt;br /&gt;
*DSSS Modulation&lt;br /&gt;
&lt;br /&gt;
*Data Rate – 1000 kbps&lt;br /&gt;
&lt;br /&gt;
*-91 dBm Typical sensitivity at 1 Mbps&lt;br /&gt;
&lt;br /&gt;
*+10 dBm Typical output power with control&lt;br /&gt;
&lt;br /&gt;
*Integrated low phase noise VCO, RF frequency synthesizer, PLL loop filter and PA&lt;br /&gt;
&lt;br /&gt;
*Digital VCO and filter calibration&lt;br /&gt;
&lt;br /&gt;
*Integrated RSSI ADC and I/Q DACs, RSSI readings available to host&lt;br /&gt;
&lt;br /&gt;
*Balanced receiver and transmitter characteristics for low power consumption&lt;br /&gt;
&lt;br /&gt;
'''Cuhead Mega MAC/Baseband Features'''&lt;br /&gt;
&lt;br /&gt;
*Hardware CSMA/CA acce ss control, automatic ACK, and FCS creation and checking&lt;br /&gt;
&lt;br /&gt;
*Automatic MAC packet retransmit&lt;br /&gt;
&lt;br /&gt;
*Hardware Security Engine for AES and RC4-based ciphers&lt;br /&gt;
&lt;br /&gt;
*Supports 802.1x, 802.1i&lt;br /&gt;
&lt;br /&gt;
*Security: WEP, WPA-PSK, and WPA-2-PSK&lt;br /&gt;
&lt;br /&gt;
== Application Ideas  ==&lt;br /&gt;
&lt;br /&gt;
*Video Introduces:[http://v.youku.com/v_show/id_XMzkzMzgwNzky.html Linksprite Copperhead WiFi Shield arduino Mega]&lt;br /&gt;
&lt;br /&gt;
== Cautions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematic  ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=234 LinkSprite CuHead WiFi Shield for Arduino Mega Schematic]&lt;br /&gt;
&lt;br /&gt;
== Specification  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Pin definition and Rating  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Mechanic Dimensions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
&lt;br /&gt;
'''Ready To Hardware'''&lt;br /&gt;
&lt;br /&gt;
*LinkSprite CuHead WiFi Shield for Arduino Mega module&lt;br /&gt;
 &lt;br /&gt;
*Arduino Mega module&lt;br /&gt;
  &lt;br /&gt;
*USB CABLE&lt;br /&gt;
 &lt;br /&gt;
'''Ready To Software'''&lt;br /&gt;
&lt;br /&gt;
*Arduino 1.0&lt;br /&gt;
 &lt;br /&gt;
Download link: [http://arduino.cc/en/Main/Software Arduino]&lt;br /&gt;
	&lt;br /&gt;
*Cuhead Mega’s Library files and code&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/cuheadmega cuheadmega]&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
'''Example demonstration'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-cuheadmega-1545a16.zip, unzip it and rename it as cuheadmega, then put it under the arduino-1.0\libraries directory.&lt;br /&gt;
 &lt;br /&gt;
*Open arduino.exe, choose an example such as SimpleServer.&lt;br /&gt;
 &lt;br /&gt;
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
 &lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
 &lt;br /&gt;
*When Cuhead Mega connected to the router through WiFi，the red LED will turn on.&lt;br /&gt;
 &lt;br /&gt;
*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）&lt;br /&gt;
&lt;br /&gt;
== FAQ  ==&lt;br /&gt;
'''Q1. Program can't be compiled'''&lt;br /&gt;
&lt;br /&gt;
A1：Check these if you found that the example we provide cannot compile.&lt;br /&gt;
&lt;br /&gt;
*Whether you choose the right Board. Because Arduino Mega and other versions of the Arduino interface is different. You should choose the board you are using when compile.&lt;br /&gt;
&lt;br /&gt;
*Here enter cuheadmaga , and open apps-conf.h&lt;br /&gt;
 &lt;br /&gt;
To prevent repeated quotation of the same file, which will cause compile error like duplicate definition and nested quoted. You have to change it here according to your needs. To different examples, the macro definition is different, the default is:&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WISERVER'''&lt;br /&gt;
 &lt;br /&gt;
If you want to use another example, such as how to use webserver.h,&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WEBSERVER'''&lt;br /&gt;
&lt;br /&gt;
'''//#define  APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
'''Q2. Red LED（D1） not on'''&lt;br /&gt;
&lt;br /&gt;
A2：If the program has been downloaded to Arduino, yet red LED（D1）on Cuhead Mega is not on, which means Wi-Fi not connected,please check below part.&lt;br /&gt;
&lt;br /&gt;
Check the IP address,default gate way and subnet mask in the code if it is right with the WiFi routor settings. And check the SSID、PASSWORD and encryption method. Or you can reset Cuhead Mega/Arduino module and reconnect them.&lt;br /&gt;
&lt;br /&gt;
== Support  ==&lt;br /&gt;
&lt;br /&gt;
If you have questions or other better design ideas, you can go to our [http://www.linksprite.com/forum/index.php forum] to discuss or creat a ticket for your issue at [http://www.linksprite.com/support/ linksprite support].&lt;br /&gt;
&lt;br /&gt;
== Resources  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to buy  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See Also  ==&lt;br /&gt;
&lt;br /&gt;
Other related products and resources.&lt;br /&gt;
&lt;br /&gt;
== Licensing  ==&lt;br /&gt;
&lt;br /&gt;
This documentation is licensed under the Creative Commons [http://creativecommons.org/licenses/by-sa/3.0/ Attribution-ShareAlike License 3.0] Source code and libraries are licensed under [http://www.gnu.org/licenses/gpl.html GPL/LGPL], see source code files for details.&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_Mega&amp;diff=241</id>
		<title>CuHead WiFi Shield for Arduino Mega</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_Mega&amp;diff=241"/>
		<updated>2012-11-14T08:34:18Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* Application Ideas */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
This document is to introduce LinkSprite CuHead WiFi Shield for Arduino Mega（hereafter we call Cuhead Mega).&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega adopt standard Arduino Mega laminated design . It is designed to plug on Arduino, MEGA, Romeo, etc.&lt;br /&gt;
&lt;br /&gt;
== Features  ==&lt;br /&gt;
&lt;br /&gt;
'''Standard spec'''&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega has charging and discharging function, the charging circuit is used to tell voltage of the battery.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
When Cuhead Mega connect Arduino, there are two working status：&lt;br /&gt;
&lt;br /&gt;
*Connect Arduino with USB/Adaptor , Arduino gives power to Cuhead Mega, the charging circuit on Cuhead Mega will disconnect；&lt;br /&gt;
&lt;br /&gt;
*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.&lt;br /&gt;
&lt;br /&gt;
'''Add Potentiometer'''&lt;br /&gt;
&lt;br /&gt;
The new added potentiometer is to adjust the voltage to any value needed (by adjust AMS1117 Vin to 5.6V~6.0V). &lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module Features'''&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11-compliant RF Transceiver&lt;br /&gt;
&lt;br /&gt;
*Serialized unique MAC address&lt;br /&gt;
&lt;br /&gt;
*Data Rate: 1 and 2 Mbps&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11b/g/n compatible&lt;br /&gt;
&lt;br /&gt;
*Small size: 21mm x 31mm 36-pin Surface Mount Module&lt;br /&gt;
&lt;br /&gt;
*Integrated PCB antenna (MRF24WB0MA)&lt;br /&gt;
&lt;br /&gt;
*Range: up to 400m (1300 ft.)&lt;br /&gt;
&lt;br /&gt;
*Single operating voltage: 2.7V–3.6V (3.3V typical)&lt;br /&gt;
&lt;br /&gt;
*Simple, four-wire SPI interface with interrupt&lt;br /&gt;
&lt;br /&gt;
*Low-current consumption:&lt;br /&gt;
&lt;br /&gt;
RX mode – 85 mA (typical)&lt;br /&gt;
&lt;br /&gt;
TX mode – 154 mA (+10 dBm typic&lt;br /&gt;
&lt;br /&gt;
Sleep – 250 µA (typical)&lt;br /&gt;
&lt;br /&gt;
Hibernate – &amp;lt;0.1 µA (typical)&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module RF/Analog Features'''&lt;br /&gt;
&lt;br /&gt;
*ISM Band 2.400–2.484 GHz operation&lt;br /&gt;
&lt;br /&gt;
*14 Channels selectable individually or domain-restricted&lt;br /&gt;
&lt;br /&gt;
*DSSS Modulation&lt;br /&gt;
&lt;br /&gt;
*Data Rate – 1000 kbps&lt;br /&gt;
&lt;br /&gt;
*-91 dBm Typical sensitivity at 1 Mbps&lt;br /&gt;
&lt;br /&gt;
*+10 dBm Typical output power with control&lt;br /&gt;
&lt;br /&gt;
*Integrated low phase noise VCO, RF frequency synthesizer, PLL loop filter and PA&lt;br /&gt;
&lt;br /&gt;
*Digital VCO and filter calibration&lt;br /&gt;
&lt;br /&gt;
*Integrated RSSI ADC and I/Q DACs, RSSI readings available to host&lt;br /&gt;
&lt;br /&gt;
*Balanced receiver and transmitter characteristics for low power consumption&lt;br /&gt;
&lt;br /&gt;
'''Cuhead Mega MAC/Baseband Features'''&lt;br /&gt;
&lt;br /&gt;
*Hardware CSMA/CA acce ss control, automatic ACK, and FCS creation and checking&lt;br /&gt;
&lt;br /&gt;
*Automatic MAC packet retransmit&lt;br /&gt;
&lt;br /&gt;
*Hardware Security Engine for AES and RC4-based ciphers&lt;br /&gt;
&lt;br /&gt;
*Supports 802.1x, 802.1i&lt;br /&gt;
&lt;br /&gt;
*Security: WEP, WPA-PSK, and WPA-2-PSK&lt;br /&gt;
&lt;br /&gt;
== Application Ideas  ==&lt;br /&gt;
&lt;br /&gt;
*Video Introduces:[http://v.youku.com/v_show/id_XMzkzMzgwNzky.html Linksprite Copperhead WiFi Shield arduino Mega]&lt;br /&gt;
&lt;br /&gt;
== Cautions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematic  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Specification  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Pin definition and Rating  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Mechanic Dimensions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
&lt;br /&gt;
'''Ready To Hardware'''&lt;br /&gt;
&lt;br /&gt;
*LinkSprite CuHead WiFi Shield for Arduino Mega module&lt;br /&gt;
 &lt;br /&gt;
*Arduino Mega module&lt;br /&gt;
  &lt;br /&gt;
*USB CABLE&lt;br /&gt;
 &lt;br /&gt;
'''Ready To Software'''&lt;br /&gt;
&lt;br /&gt;
*Arduino 1.0&lt;br /&gt;
 &lt;br /&gt;
Download link: [http://arduino.cc/en/Main/Software Arduino]&lt;br /&gt;
	&lt;br /&gt;
*Cuhead Mega’s Library files and code&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/cuheadmega cuheadmega]&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
'''Example demonstration'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-cuheadmega-1545a16.zip, unzip it and rename it as cuheadmega, then put it under the arduino-1.0\libraries directory.&lt;br /&gt;
 &lt;br /&gt;
*Open arduino.exe, choose an example such as SimpleServer.&lt;br /&gt;
 &lt;br /&gt;
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
 &lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
 &lt;br /&gt;
*When Cuhead Mega connected to the router through WiFi，the red LED will turn on.&lt;br /&gt;
 &lt;br /&gt;
*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）&lt;br /&gt;
&lt;br /&gt;
== FAQ  ==&lt;br /&gt;
'''Q1. Program can't be compiled'''&lt;br /&gt;
&lt;br /&gt;
A1：Check these if you found that the example we provide cannot compile.&lt;br /&gt;
&lt;br /&gt;
*Whether you choose the right Board. Because Arduino Mega and other versions of the Arduino interface is different. You should choose the board you are using when compile.&lt;br /&gt;
&lt;br /&gt;
*Here enter cuheadmaga , and open apps-conf.h&lt;br /&gt;
 &lt;br /&gt;
To prevent repeated quotation of the same file, which will cause compile error like duplicate definition and nested quoted. You have to change it here according to your needs. To different examples, the macro definition is different, the default is:&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WISERVER'''&lt;br /&gt;
 &lt;br /&gt;
If you want to use another example, such as how to use webserver.h,&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WEBSERVER'''&lt;br /&gt;
&lt;br /&gt;
'''//#define  APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
'''Q2. Red LED（D1） not on'''&lt;br /&gt;
&lt;br /&gt;
A2：If the program has been downloaded to Arduino, yet red LED（D1）on Cuhead Mega is not on, which means Wi-Fi not connected,please check below part.&lt;br /&gt;
&lt;br /&gt;
Check the IP address,default gate way and subnet mask in the code if it is right with the WiFi routor settings. And check the SSID、PASSWORD and encryption method. Or you can reset Cuhead Mega/Arduino module and reconnect them.&lt;br /&gt;
&lt;br /&gt;
== Support  ==&lt;br /&gt;
&lt;br /&gt;
If you have questions or other better design ideas, you can go to our [http://www.linksprite.com/forum/index.php forum] to discuss or creat a ticket for your issue at [http://www.linksprite.com/support/ linksprite support].&lt;br /&gt;
&lt;br /&gt;
== Resources  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to buy  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See Also  ==&lt;br /&gt;
&lt;br /&gt;
Other related products and resources.&lt;br /&gt;
&lt;br /&gt;
== Licensing  ==&lt;br /&gt;
&lt;br /&gt;
This documentation is licensed under the Creative Commons [http://creativecommons.org/licenses/by-sa/3.0/ Attribution-ShareAlike License 3.0] Source code and libraries are licensed under [http://www.gnu.org/licenses/gpl.html GPL/LGPL], see source code files for details.&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_Mega&amp;diff=240</id>
		<title>CuHead WiFi Shield for Arduino Mega</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_Mega&amp;diff=240"/>
		<updated>2012-11-14T08:33:58Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
This document is to introduce LinkSprite CuHead WiFi Shield for Arduino Mega（hereafter we call Cuhead Mega).&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega adopt standard Arduino Mega laminated design . It is designed to plug on Arduino, MEGA, Romeo, etc.&lt;br /&gt;
&lt;br /&gt;
== Features  ==&lt;br /&gt;
&lt;br /&gt;
'''Standard spec'''&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega has charging and discharging function, the charging circuit is used to tell voltage of the battery.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
When Cuhead Mega connect Arduino, there are two working status：&lt;br /&gt;
&lt;br /&gt;
*Connect Arduino with USB/Adaptor , Arduino gives power to Cuhead Mega, the charging circuit on Cuhead Mega will disconnect；&lt;br /&gt;
&lt;br /&gt;
*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.&lt;br /&gt;
&lt;br /&gt;
'''Add Potentiometer'''&lt;br /&gt;
&lt;br /&gt;
The new added potentiometer is to adjust the voltage to any value needed (by adjust AMS1117 Vin to 5.6V~6.0V). &lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module Features'''&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11-compliant RF Transceiver&lt;br /&gt;
&lt;br /&gt;
*Serialized unique MAC address&lt;br /&gt;
&lt;br /&gt;
*Data Rate: 1 and 2 Mbps&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11b/g/n compatible&lt;br /&gt;
&lt;br /&gt;
*Small size: 21mm x 31mm 36-pin Surface Mount Module&lt;br /&gt;
&lt;br /&gt;
*Integrated PCB antenna (MRF24WB0MA)&lt;br /&gt;
&lt;br /&gt;
*Range: up to 400m (1300 ft.)&lt;br /&gt;
&lt;br /&gt;
*Single operating voltage: 2.7V–3.6V (3.3V typical)&lt;br /&gt;
&lt;br /&gt;
*Simple, four-wire SPI interface with interrupt&lt;br /&gt;
&lt;br /&gt;
*Low-current consumption:&lt;br /&gt;
&lt;br /&gt;
RX mode – 85 mA (typical)&lt;br /&gt;
&lt;br /&gt;
TX mode – 154 mA (+10 dBm typic&lt;br /&gt;
&lt;br /&gt;
Sleep – 250 µA (typical)&lt;br /&gt;
&lt;br /&gt;
Hibernate – &amp;lt;0.1 µA (typical)&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module RF/Analog Features'''&lt;br /&gt;
&lt;br /&gt;
*ISM Band 2.400–2.484 GHz operation&lt;br /&gt;
&lt;br /&gt;
*14 Channels selectable individually or domain-restricted&lt;br /&gt;
&lt;br /&gt;
*DSSS Modulation&lt;br /&gt;
&lt;br /&gt;
*Data Rate – 1000 kbps&lt;br /&gt;
&lt;br /&gt;
*-91 dBm Typical sensitivity at 1 Mbps&lt;br /&gt;
&lt;br /&gt;
*+10 dBm Typical output power with control&lt;br /&gt;
&lt;br /&gt;
*Integrated low phase noise VCO, RF frequency synthesizer, PLL loop filter and PA&lt;br /&gt;
&lt;br /&gt;
*Digital VCO and filter calibration&lt;br /&gt;
&lt;br /&gt;
*Integrated RSSI ADC and I/Q DACs, RSSI readings available to host&lt;br /&gt;
&lt;br /&gt;
*Balanced receiver and transmitter characteristics for low power consumption&lt;br /&gt;
&lt;br /&gt;
'''Cuhead Mega MAC/Baseband Features'''&lt;br /&gt;
&lt;br /&gt;
*Hardware CSMA/CA acce ss control, automatic ACK, and FCS creation and checking&lt;br /&gt;
&lt;br /&gt;
*Automatic MAC packet retransmit&lt;br /&gt;
&lt;br /&gt;
*Hardware Security Engine for AES and RC4-based ciphers&lt;br /&gt;
&lt;br /&gt;
*Supports 802.1x, 802.1i&lt;br /&gt;
&lt;br /&gt;
*Security: WEP, WPA-PSK, and WPA-2-PSK&lt;br /&gt;
&lt;br /&gt;
== Application Ideas  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Cautions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematic  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Specification  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Pin definition and Rating  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Mechanic Dimensions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
&lt;br /&gt;
'''Ready To Hardware'''&lt;br /&gt;
&lt;br /&gt;
*LinkSprite CuHead WiFi Shield for Arduino Mega module&lt;br /&gt;
 &lt;br /&gt;
*Arduino Mega module&lt;br /&gt;
  &lt;br /&gt;
*USB CABLE&lt;br /&gt;
 &lt;br /&gt;
'''Ready To Software'''&lt;br /&gt;
&lt;br /&gt;
*Arduino 1.0&lt;br /&gt;
 &lt;br /&gt;
Download link: [http://arduino.cc/en/Main/Software Arduino]&lt;br /&gt;
	&lt;br /&gt;
*Cuhead Mega’s Library files and code&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/cuheadmega cuheadmega]&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
'''Example demonstration'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-cuheadmega-1545a16.zip, unzip it and rename it as cuheadmega, then put it under the arduino-1.0\libraries directory.&lt;br /&gt;
 &lt;br /&gt;
*Open arduino.exe, choose an example such as SimpleServer.&lt;br /&gt;
 &lt;br /&gt;
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
 &lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
 &lt;br /&gt;
*When Cuhead Mega connected to the router through WiFi，the red LED will turn on.&lt;br /&gt;
 &lt;br /&gt;
*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）&lt;br /&gt;
&lt;br /&gt;
== FAQ  ==&lt;br /&gt;
'''Q1. Program can't be compiled'''&lt;br /&gt;
&lt;br /&gt;
A1：Check these if you found that the example we provide cannot compile.&lt;br /&gt;
&lt;br /&gt;
*Whether you choose the right Board. Because Arduino Mega and other versions of the Arduino interface is different. You should choose the board you are using when compile.&lt;br /&gt;
&lt;br /&gt;
*Here enter cuheadmaga , and open apps-conf.h&lt;br /&gt;
 &lt;br /&gt;
To prevent repeated quotation of the same file, which will cause compile error like duplicate definition and nested quoted. You have to change it here according to your needs. To different examples, the macro definition is different, the default is:&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WISERVER'''&lt;br /&gt;
 &lt;br /&gt;
If you want to use another example, such as how to use webserver.h,&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WEBSERVER'''&lt;br /&gt;
&lt;br /&gt;
'''//#define  APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
'''Q2. Red LED（D1） not on'''&lt;br /&gt;
&lt;br /&gt;
A2：If the program has been downloaded to Arduino, yet red LED（D1）on Cuhead Mega is not on, which means Wi-Fi not connected,please check below part.&lt;br /&gt;
&lt;br /&gt;
Check the IP address,default gate way and subnet mask in the code if it is right with the WiFi routor settings. And check the SSID、PASSWORD and encryption method. Or you can reset Cuhead Mega/Arduino module and reconnect them.&lt;br /&gt;
&lt;br /&gt;
== Support  ==&lt;br /&gt;
&lt;br /&gt;
If you have questions or other better design ideas, you can go to our [http://www.linksprite.com/forum/index.php forum] to discuss or creat a ticket for your issue at [http://www.linksprite.com/support/ linksprite support].&lt;br /&gt;
&lt;br /&gt;
== Resources  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to buy  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See Also  ==&lt;br /&gt;
&lt;br /&gt;
Other related products and resources.&lt;br /&gt;
&lt;br /&gt;
== Licensing  ==&lt;br /&gt;
&lt;br /&gt;
This documentation is licensed under the Creative Commons [http://creativecommons.org/licenses/by-sa/3.0/ Attribution-ShareAlike License 3.0] Source code and libraries are licensed under [http://www.gnu.org/licenses/gpl.html GPL/LGPL], see source code files for details.&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_V2.0&amp;diff=239</id>
		<title>CuHead WiFi Shield for Arduino V2.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_V2.0&amp;diff=239"/>
		<updated>2012-11-14T08:33:31Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* Application Ideas */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
This document is to introduce Cuhead WiFi Shield V2.0（hereafter we call Cuhead V2.0).&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 adopt standard Arduino laminated design . It is designed to plug on Arduino  Diecimila/Duemilanove/Uno etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
== Features  ==&lt;br /&gt;
&lt;br /&gt;
'''Standard spec'''&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 has charging and discharging function, the charging circuit is used to tell voltage of the battery. &lt;br /&gt;
&lt;br /&gt;
We can connect the positive and negtive of the battery to BAT, if the battery is full, then Cuhead V2.0 wont charge battery; if it is not, the external battery will be charged.&lt;br /&gt;
&lt;br /&gt;
We bring comparator to check the operating current of Cuhead V2.0 so you know it is Arduino giving power to Cuhead V2.0 or the opposite way, and change the charging circuit to connect/disconnect based on that.&lt;br /&gt;
&lt;br /&gt;
When Cuhead V2.0 connect Arduino, there are two working status：&lt;br /&gt;
&lt;br /&gt;
*Connect Arduino with USB/Adaptor , Arduino gives power to Cuhead V2.0, the charging circuit on Cuhead V2.0 will disconnect；&lt;br /&gt;
&lt;br /&gt;
*No external power for Arduino, then the charging circuit of Cuhead V2.0 is working, and the battery will power the boards. Normally we give power to Arduino directly, thus the charging circuit is inactive.&lt;br /&gt;
&lt;br /&gt;
'''Add Potentiometer'''&lt;br /&gt;
&lt;br /&gt;
The new added potentiometer is to adjust the voltage to any value needed (by adjust AMS1117 Vin to 5.6V~6.0V). &lt;br /&gt;
&lt;br /&gt;
It is hard to do so by fixed resistance. The default voltage of Cuhead V2.0 has been set in the right voltage，normally you don't have to adjust it.&lt;br /&gt;
&lt;br /&gt;
'''Increase the Flash memory chip'''&lt;br /&gt;
&lt;br /&gt;
The increase of the Flash memory chip is serial interface of the Flash memory chip, it can work in 2.5 V-2.7 V, can be used as program code data storage. Flash memory chip and Arduino are used together SPI interface,  the speed can be up to 66 MHz. It contains 17301504 bytes, is organized for 4096 page, each page 512 or 528 bytes. In addition to main memory, the Flash memory chip also includes two SRAM data buffer, each buffer 512/528 bytes. When main memory is programming, buffer is allowed to receive the data, and to support data stream write. And the Flash memory chip allow simple in the system to programming, without having to input high programming voltage.  It can through the # CS Enable, and through the three line interface (SI, SO, SCK) in data communication.&lt;br /&gt;
&lt;br /&gt;
Because Cuhead V2.0 Flash memory chip and Arduino uses the same SPI interface, we through the Cuhead V2.0 module of the flash_sn jump line to select is public SS or CS. The flash_sn connect 1, 2 pin is SS, connect 2,3 pins for CS.&lt;br /&gt;
&lt;br /&gt;
When Cuhead V2.0 need to use Wi-Fi choose SS, make Flash is invalid, so Wi-Fi can accurately to receive information, and deal with the IP protocol. If this time not banned Flash, data through the SPI send come over, Flash and Arduino will receive the data and have the conflict.&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module Features'''&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11-compliant RF Transceiver&lt;br /&gt;
*Serialized unique MAC address&lt;br /&gt;
*Data Rate: 1 and 2 Mbps&lt;br /&gt;
*IEEE Std. 802.11b/g/n compatible&lt;br /&gt;
*Small size: 21mm x 31mm 36-pin Surface Mount Module&lt;br /&gt;
*Integrated PCB antenna (MRF24WB0MA)&lt;br /&gt;
*Range: up to 400m (1300 ft.)&lt;br /&gt;
*Single operating voltage: 2.7V–3.6V (3.3V typical)&lt;br /&gt;
*Simple, four-wire SPI interface with interrupt&lt;br /&gt;
*Low-current consumption:&lt;br /&gt;
*RX mode – 85 mA (typical)&lt;br /&gt;
*TX mode – 154 mA (+10 dBm typic&lt;br /&gt;
*Sleep – 250 µA (typical)&lt;br /&gt;
*Hibernate – &amp;lt;0.1 µA (typical)&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module RF/Analog Features'''&lt;br /&gt;
&lt;br /&gt;
*ISM Band 2.400–2.484 GHz operation&lt;br /&gt;
*14 Channels selectable individually or domain-restricted&lt;br /&gt;
*DSSS Modulation&lt;br /&gt;
*Data Rate – 1000 kbps&lt;br /&gt;
*-91 dBm Typical sensitivity at 1 Mbps&lt;br /&gt;
*+10 dBm Typical output power with control&lt;br /&gt;
*Integrated low phase noise VCO, RF frequency synthesizer, PLL loop filter and PA&lt;br /&gt;
*Digital VCO and filter calibration&lt;br /&gt;
*Integrated RSSI ADC and I/Q DACs, RSSI readings available to host&lt;br /&gt;
*Balanced receiver and transmitter characteristics for low power consumption&lt;br /&gt;
&lt;br /&gt;
'''Cuhead V2.0 MAC/Baseband Features'''&lt;br /&gt;
&lt;br /&gt;
*Hardware CSMA/CA acce ss control, automatic ACK, and FCS creation and checking&lt;br /&gt;
*Automatic MAC packet retransmit&lt;br /&gt;
*Hardware Security Engine for AES and RC4-based ciphers&lt;br /&gt;
*Supports 802.1x, 802.1i&lt;br /&gt;
*Security: WEP, WPA-PSK, and WPA-2-PSK&lt;br /&gt;
&lt;br /&gt;
== Application Ideas  ==&lt;br /&gt;
&lt;br /&gt;
'''Video Introduces'''&lt;br /&gt;
&lt;br /&gt;
*[http://v.youku.com/v_show/id_XMzkxMjI2NDgw.html Features of CuHead V2.0]&lt;br /&gt;
&lt;br /&gt;
*[http://v.youku.com/v_show/id_XMzkwNTM0OTA0.html CuHead Enabled WiFi Controllable Robot: Controlled by iPad]&lt;br /&gt;
&lt;br /&gt;
== Cautions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematic  ==&lt;br /&gt;
&lt;br /&gt;
*[http://linksprite.com/download/showdownload.php?lang=en&amp;amp;id=230 Schematics of CuHead WiFi Shield for Arduino V2.0 ]&lt;br /&gt;
&lt;br /&gt;
== Specification  ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=233 Cuhead WiFi Shield V2.0 User Manual]&lt;br /&gt;
&lt;br /&gt;
*[http://www.cutedigi.com/pub/Arduino/CuHead/HowToCompileCuHeadSampleCodeforArduinoUno.pdf How To Compile CuHead Sample Code for ArduinoUno]&lt;br /&gt;
&lt;br /&gt;
== Pin definition and Rating  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Mechanic Dimensions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
'''Ready To Hardware'''	&lt;br /&gt;
*Cuhead WiFi Shield V2.0 module&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Arduino Duemilanove module&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 2.jpg]]&lt;br /&gt;
&lt;br /&gt;
*USB CABLE&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 3.jpg]]&lt;br /&gt;
 &lt;br /&gt;
'''Ready To Software'''&lt;br /&gt;
*Arduino 1.0&lt;br /&gt;
&lt;br /&gt;
Download link: [http://arduino.cc/en/Main/Software Arduino 1.0 Software]&lt;br /&gt;
&lt;br /&gt;
*ZG2100BasedWiFiShield’s Library files and code / WiFiShield’s Library files and code&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/ZG2100BasedWiFiShield ZG2100BasedWiFiShield]&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/WiShield WiShield]&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
'''Connect to WIFI'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-ZG2100BasedWiFiShield-68b2001.zip, unzip it and rename it as ZG2100BasedWiFiShield, then put it under the arduino-1.0\libraries directory.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 12.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe，choose an example such as SimpleServer.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 4.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 5.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 6.jpg]]&lt;br /&gt;
&lt;br /&gt;
*When Cuhead V2.0 connected to the router through WiFi，the red LED will turn on.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 7.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Input the IP address of Cuhead V2.0 as we set it：192.168.3.120, it showed what SimpleServer is about.（this IP is for demo）&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 8.jpg]]&lt;br /&gt;
&lt;br /&gt;
'''Download the DataFlash'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-DataFlash-e90ea99.zip , unzip it and rename it as DataFlash, then put it under the arduino-0022\libraries directory.&lt;br /&gt;
&lt;br /&gt;
*Please note: Using Arduino-0023 and Arduino-0023 the following version, download Data Flash ( DataFlash Download link: [https://github.com/linksprite/DataFlash DataFlash] ) &lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe，choose an example such as DataFlash_Intro.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 9.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 10.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Click on the Serial Monitor, COM22 window appears information.&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 11.jpg]]&lt;br /&gt;
&lt;br /&gt;
== FAQ  ==&lt;br /&gt;
&lt;br /&gt;
'''Q1. Program can't be compiled'''&lt;br /&gt;
&lt;br /&gt;
A1：Check these if you found that the example we provide cannot compile.&lt;br /&gt;
&lt;br /&gt;
Whether you choose the right Board. You should choose the board you are using when compile.&lt;br /&gt;
&lt;br /&gt;
Here enter ZG2100BasedWiFiShield[[File:Cuhead 12.jpg]] , and open apps-conf.h&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 13.jpg]]&lt;br /&gt;
 &lt;br /&gt;
To prevent repeated quotation of the same file, which will cause compile error like duplicate definition and nested quoted.&lt;br /&gt;
&lt;br /&gt;
You have to change it here according to your needs. To different examples, the macro definition is different, the default is:&lt;br /&gt;
&lt;br /&gt;
'''#define APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 14.jpg]]&lt;br /&gt;
 &lt;br /&gt;
If you want to use another example, such as how to use webserver.h,&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WEBSERVER'''&lt;br /&gt;
&lt;br /&gt;
'''//#define  APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
'''Q2. Red LED（D1）not on'''&lt;br /&gt;
&lt;br /&gt;
A2：If the program has been downloaded to Arduino, yet red LED（D1）on Cuhead V1.0 is not on, which means Wi-Fi not connected,please check below part.&lt;br /&gt;
&lt;br /&gt;
Check the IP address,default gate way and subnet mask in the code if it is right with the WiFi routor settings. &lt;br /&gt;
&lt;br /&gt;
And check the SSID、PASSWORD and encryption method. Or you can reset Cuhead V2.0/Arduino module and reconnect them.&lt;br /&gt;
&lt;br /&gt;
Check the jump line parts:&lt;br /&gt;
&lt;br /&gt;
*INTX1, used to choose to interrupt mode, jump line 1, 2 pin is D8, jump line 2, 3 pin is D2. No influence on the use of  Cuhead V2.0,  not normally use.&lt;br /&gt;
&lt;br /&gt;
*Flash_sn, jump line 1, 2 pin is SS, jump line 2, 3 pin is CS, when you using Wi-Fi choice SS, make Flash invalid.&lt;br /&gt;
&lt;br /&gt;
*Wi-Fi connection indicator light, jump line 1, 2 pin. Cuhead V2.0 leave factory, need to jump line of the part we have adjusted, you can use directly.&lt;br /&gt;
&lt;br /&gt;
'''Q3. Using UNO R3'''&lt;br /&gt;
&lt;br /&gt;
A3:When Cuhead V2.0 connected to Arduino UNO R3, Cuhead V2.0 may be unable to connect to wifi. &lt;br /&gt;
&lt;br /&gt;
You need to download the latest version of the Bootloader to Arduino microcontroller (ATmegaXXXX).&lt;br /&gt;
&lt;br /&gt;
Open optiboot folder ( X: \ arduino-XXXX \ hardware \ arduino\ bootloaders \ optiboot ) &lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 15.jpg]]&lt;br /&gt;
 &lt;br /&gt;
Bootloader (.hex file) download to corresponding version of the Arduino microcontroller (ATmegaXXXX).&lt;br /&gt;
&lt;br /&gt;
'''Q4.I have your Cuhead module,but when i connect it with my Arduino Mega 2560,it is not working.what can i do now?'''&lt;br /&gt;
&lt;br /&gt;
A4:Please check the connections with the arduino board carefully,it is different with different arduino boards.&lt;br /&gt;
&lt;br /&gt;
For example,Arduino Mega uses different pins for the SPI interface than the previous boards, so you may not able to use the headers to stack the shield onto the Mega.&lt;br /&gt;
&lt;br /&gt;
And you may have to pull pins to match the correct SPI pins to get it working.&lt;br /&gt;
&lt;br /&gt;
== Support  ==&lt;br /&gt;
&lt;br /&gt;
If you have questions or other better design ideas, you can go to our [http://www.linksprite.com/forum/index.php forum] to discuss or creat a ticket for your issue at [http://www.linksprite.com/support/ linksprite support].&lt;br /&gt;
&lt;br /&gt;
== Resources  ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/article/shownews.php?lang=en&amp;amp;id=58 source code github]&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/article/shownews.php?lang=en&amp;amp;id=106 Can CuHead WiFi Shield be used with Arduino Mega?]&lt;br /&gt;
&lt;br /&gt;
== How to buy  ==&lt;br /&gt;
&lt;br /&gt;
Here to buy CuHead V2.0 [http://www.cutedigi.com/wireless/wifi/cuhead-wifi-shield-v2-0-for-arduino.html CUHEADWIFIV2] on LinkSprite [http://www.cutedigi.com/ Cart]&lt;br /&gt;
&lt;br /&gt;
== See Also  ==&lt;br /&gt;
&lt;br /&gt;
Other related products and resources.&lt;br /&gt;
&lt;br /&gt;
== Licensing  ==&lt;br /&gt;
&lt;br /&gt;
This documentation is licensed under the Creative Commons [http://creativecommons.org/licenses/by-sa/3.0/ Attribution-ShareAlike License 3.0] Source code and libraries are licensed under [http://www.gnu.org/licenses/gpl.html GPL/LGPL], see source code files for details.&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_V2.0&amp;diff=238</id>
		<title>CuHead WiFi Shield for Arduino V2.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_V2.0&amp;diff=238"/>
		<updated>2012-11-14T08:33:04Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* Application Ideas */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
This document is to introduce Cuhead WiFi Shield V2.0（hereafter we call Cuhead V2.0).&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 adopt standard Arduino laminated design . It is designed to plug on Arduino  Diecimila/Duemilanove/Uno etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
== Features  ==&lt;br /&gt;
&lt;br /&gt;
'''Standard spec'''&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 has charging and discharging function, the charging circuit is used to tell voltage of the battery. &lt;br /&gt;
&lt;br /&gt;
We can connect the positive and negtive of the battery to BAT, if the battery is full, then Cuhead V2.0 wont charge battery; if it is not, the external battery will be charged.&lt;br /&gt;
&lt;br /&gt;
We bring comparator to check the operating current of Cuhead V2.0 so you know it is Arduino giving power to Cuhead V2.0 or the opposite way, and change the charging circuit to connect/disconnect based on that.&lt;br /&gt;
&lt;br /&gt;
When Cuhead V2.0 connect Arduino, there are two working status：&lt;br /&gt;
&lt;br /&gt;
*Connect Arduino with USB/Adaptor , Arduino gives power to Cuhead V2.0, the charging circuit on Cuhead V2.0 will disconnect；&lt;br /&gt;
&lt;br /&gt;
*No external power for Arduino, then the charging circuit of Cuhead V2.0 is working, and the battery will power the boards. Normally we give power to Arduino directly, thus the charging circuit is inactive.&lt;br /&gt;
&lt;br /&gt;
'''Add Potentiometer'''&lt;br /&gt;
&lt;br /&gt;
The new added potentiometer is to adjust the voltage to any value needed (by adjust AMS1117 Vin to 5.6V~6.0V). &lt;br /&gt;
&lt;br /&gt;
It is hard to do so by fixed resistance. The default voltage of Cuhead V2.0 has been set in the right voltage，normally you don't have to adjust it.&lt;br /&gt;
&lt;br /&gt;
'''Increase the Flash memory chip'''&lt;br /&gt;
&lt;br /&gt;
The increase of the Flash memory chip is serial interface of the Flash memory chip, it can work in 2.5 V-2.7 V, can be used as program code data storage. Flash memory chip and Arduino are used together SPI interface,  the speed can be up to 66 MHz. It contains 17301504 bytes, is organized for 4096 page, each page 512 or 528 bytes. In addition to main memory, the Flash memory chip also includes two SRAM data buffer, each buffer 512/528 bytes. When main memory is programming, buffer is allowed to receive the data, and to support data stream write. And the Flash memory chip allow simple in the system to programming, without having to input high programming voltage.  It can through the # CS Enable, and through the three line interface (SI, SO, SCK) in data communication.&lt;br /&gt;
&lt;br /&gt;
Because Cuhead V2.0 Flash memory chip and Arduino uses the same SPI interface, we through the Cuhead V2.0 module of the flash_sn jump line to select is public SS or CS. The flash_sn connect 1, 2 pin is SS, connect 2,3 pins for CS.&lt;br /&gt;
&lt;br /&gt;
When Cuhead V2.0 need to use Wi-Fi choose SS, make Flash is invalid, so Wi-Fi can accurately to receive information, and deal with the IP protocol. If this time not banned Flash, data through the SPI send come over, Flash and Arduino will receive the data and have the conflict.&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module Features'''&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11-compliant RF Transceiver&lt;br /&gt;
*Serialized unique MAC address&lt;br /&gt;
*Data Rate: 1 and 2 Mbps&lt;br /&gt;
*IEEE Std. 802.11b/g/n compatible&lt;br /&gt;
*Small size: 21mm x 31mm 36-pin Surface Mount Module&lt;br /&gt;
*Integrated PCB antenna (MRF24WB0MA)&lt;br /&gt;
*Range: up to 400m (1300 ft.)&lt;br /&gt;
*Single operating voltage: 2.7V–3.6V (3.3V typical)&lt;br /&gt;
*Simple, four-wire SPI interface with interrupt&lt;br /&gt;
*Low-current consumption:&lt;br /&gt;
*RX mode – 85 mA (typical)&lt;br /&gt;
*TX mode – 154 mA (+10 dBm typic&lt;br /&gt;
*Sleep – 250 µA (typical)&lt;br /&gt;
*Hibernate – &amp;lt;0.1 µA (typical)&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module RF/Analog Features'''&lt;br /&gt;
&lt;br /&gt;
*ISM Band 2.400–2.484 GHz operation&lt;br /&gt;
*14 Channels selectable individually or domain-restricted&lt;br /&gt;
*DSSS Modulation&lt;br /&gt;
*Data Rate – 1000 kbps&lt;br /&gt;
*-91 dBm Typical sensitivity at 1 Mbps&lt;br /&gt;
*+10 dBm Typical output power with control&lt;br /&gt;
*Integrated low phase noise VCO, RF frequency synthesizer, PLL loop filter and PA&lt;br /&gt;
*Digital VCO and filter calibration&lt;br /&gt;
*Integrated RSSI ADC and I/Q DACs, RSSI readings available to host&lt;br /&gt;
*Balanced receiver and transmitter characteristics for low power consumption&lt;br /&gt;
&lt;br /&gt;
'''Cuhead V2.0 MAC/Baseband Features'''&lt;br /&gt;
&lt;br /&gt;
*Hardware CSMA/CA acce ss control, automatic ACK, and FCS creation and checking&lt;br /&gt;
*Automatic MAC packet retransmit&lt;br /&gt;
*Hardware Security Engine for AES and RC4-based ciphers&lt;br /&gt;
*Supports 802.1x, 802.1i&lt;br /&gt;
*Security: WEP, WPA-PSK, and WPA-2-PSK&lt;br /&gt;
&lt;br /&gt;
== Application Ideas  ==&lt;br /&gt;
&lt;br /&gt;
Video Introduces&lt;br /&gt;
&lt;br /&gt;
*[http://v.youku.com/v_show/id_XMzkxMjI2NDgw.html Features of CuHead V2.0]&lt;br /&gt;
&lt;br /&gt;
*[http://v.youku.com/v_show/id_XMzkwNTM0OTA0.html CuHead Enabled WiFi Controllable Robot: Controlled by iPad]&lt;br /&gt;
&lt;br /&gt;
== Cautions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematic  ==&lt;br /&gt;
&lt;br /&gt;
*[http://linksprite.com/download/showdownload.php?lang=en&amp;amp;id=230 Schematics of CuHead WiFi Shield for Arduino V2.0 ]&lt;br /&gt;
&lt;br /&gt;
== Specification  ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=233 Cuhead WiFi Shield V2.0 User Manual]&lt;br /&gt;
&lt;br /&gt;
*[http://www.cutedigi.com/pub/Arduino/CuHead/HowToCompileCuHeadSampleCodeforArduinoUno.pdf How To Compile CuHead Sample Code for ArduinoUno]&lt;br /&gt;
&lt;br /&gt;
== Pin definition and Rating  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Mechanic Dimensions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
'''Ready To Hardware'''	&lt;br /&gt;
*Cuhead WiFi Shield V2.0 module&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Arduino Duemilanove module&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 2.jpg]]&lt;br /&gt;
&lt;br /&gt;
*USB CABLE&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 3.jpg]]&lt;br /&gt;
 &lt;br /&gt;
'''Ready To Software'''&lt;br /&gt;
*Arduino 1.0&lt;br /&gt;
&lt;br /&gt;
Download link: [http://arduino.cc/en/Main/Software Arduino 1.0 Software]&lt;br /&gt;
&lt;br /&gt;
*ZG2100BasedWiFiShield’s Library files and code / WiFiShield’s Library files and code&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/ZG2100BasedWiFiShield ZG2100BasedWiFiShield]&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/WiShield WiShield]&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
'''Connect to WIFI'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-ZG2100BasedWiFiShield-68b2001.zip, unzip it and rename it as ZG2100BasedWiFiShield, then put it under the arduino-1.0\libraries directory.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 12.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe，choose an example such as SimpleServer.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 4.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 5.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 6.jpg]]&lt;br /&gt;
&lt;br /&gt;
*When Cuhead V2.0 connected to the router through WiFi，the red LED will turn on.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 7.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Input the IP address of Cuhead V2.0 as we set it：192.168.3.120, it showed what SimpleServer is about.（this IP is for demo）&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 8.jpg]]&lt;br /&gt;
&lt;br /&gt;
'''Download the DataFlash'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-DataFlash-e90ea99.zip , unzip it and rename it as DataFlash, then put it under the arduino-0022\libraries directory.&lt;br /&gt;
&lt;br /&gt;
*Please note: Using Arduino-0023 and Arduino-0023 the following version, download Data Flash ( DataFlash Download link: [https://github.com/linksprite/DataFlash DataFlash] ) &lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe，choose an example such as DataFlash_Intro.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 9.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 10.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Click on the Serial Monitor, COM22 window appears information.&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 11.jpg]]&lt;br /&gt;
&lt;br /&gt;
== FAQ  ==&lt;br /&gt;
&lt;br /&gt;
'''Q1. Program can't be compiled'''&lt;br /&gt;
&lt;br /&gt;
A1：Check these if you found that the example we provide cannot compile.&lt;br /&gt;
&lt;br /&gt;
Whether you choose the right Board. You should choose the board you are using when compile.&lt;br /&gt;
&lt;br /&gt;
Here enter ZG2100BasedWiFiShield[[File:Cuhead 12.jpg]] , and open apps-conf.h&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 13.jpg]]&lt;br /&gt;
 &lt;br /&gt;
To prevent repeated quotation of the same file, which will cause compile error like duplicate definition and nested quoted.&lt;br /&gt;
&lt;br /&gt;
You have to change it here according to your needs. To different examples, the macro definition is different, the default is:&lt;br /&gt;
&lt;br /&gt;
'''#define APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 14.jpg]]&lt;br /&gt;
 &lt;br /&gt;
If you want to use another example, such as how to use webserver.h,&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WEBSERVER'''&lt;br /&gt;
&lt;br /&gt;
'''//#define  APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
'''Q2. Red LED（D1）not on'''&lt;br /&gt;
&lt;br /&gt;
A2：If the program has been downloaded to Arduino, yet red LED（D1）on Cuhead V1.0 is not on, which means Wi-Fi not connected,please check below part.&lt;br /&gt;
&lt;br /&gt;
Check the IP address,default gate way and subnet mask in the code if it is right with the WiFi routor settings. &lt;br /&gt;
&lt;br /&gt;
And check the SSID、PASSWORD and encryption method. Or you can reset Cuhead V2.0/Arduino module and reconnect them.&lt;br /&gt;
&lt;br /&gt;
Check the jump line parts:&lt;br /&gt;
&lt;br /&gt;
*INTX1, used to choose to interrupt mode, jump line 1, 2 pin is D8, jump line 2, 3 pin is D2. No influence on the use of  Cuhead V2.0,  not normally use.&lt;br /&gt;
&lt;br /&gt;
*Flash_sn, jump line 1, 2 pin is SS, jump line 2, 3 pin is CS, when you using Wi-Fi choice SS, make Flash invalid.&lt;br /&gt;
&lt;br /&gt;
*Wi-Fi connection indicator light, jump line 1, 2 pin. Cuhead V2.0 leave factory, need to jump line of the part we have adjusted, you can use directly.&lt;br /&gt;
&lt;br /&gt;
'''Q3. Using UNO R3'''&lt;br /&gt;
&lt;br /&gt;
A3:When Cuhead V2.0 connected to Arduino UNO R3, Cuhead V2.0 may be unable to connect to wifi. &lt;br /&gt;
&lt;br /&gt;
You need to download the latest version of the Bootloader to Arduino microcontroller (ATmegaXXXX).&lt;br /&gt;
&lt;br /&gt;
Open optiboot folder ( X: \ arduino-XXXX \ hardware \ arduino\ bootloaders \ optiboot ) &lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 15.jpg]]&lt;br /&gt;
 &lt;br /&gt;
Bootloader (.hex file) download to corresponding version of the Arduino microcontroller (ATmegaXXXX).&lt;br /&gt;
&lt;br /&gt;
'''Q4.I have your Cuhead module,but when i connect it with my Arduino Mega 2560,it is not working.what can i do now?'''&lt;br /&gt;
&lt;br /&gt;
A4:Please check the connections with the arduino board carefully,it is different with different arduino boards.&lt;br /&gt;
&lt;br /&gt;
For example,Arduino Mega uses different pins for the SPI interface than the previous boards, so you may not able to use the headers to stack the shield onto the Mega.&lt;br /&gt;
&lt;br /&gt;
And you may have to pull pins to match the correct SPI pins to get it working.&lt;br /&gt;
&lt;br /&gt;
== Support  ==&lt;br /&gt;
&lt;br /&gt;
If you have questions or other better design ideas, you can go to our [http://www.linksprite.com/forum/index.php forum] to discuss or creat a ticket for your issue at [http://www.linksprite.com/support/ linksprite support].&lt;br /&gt;
&lt;br /&gt;
== Resources  ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/article/shownews.php?lang=en&amp;amp;id=58 source code github]&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/article/shownews.php?lang=en&amp;amp;id=106 Can CuHead WiFi Shield be used with Arduino Mega?]&lt;br /&gt;
&lt;br /&gt;
== How to buy  ==&lt;br /&gt;
&lt;br /&gt;
Here to buy CuHead V2.0 [http://www.cutedigi.com/wireless/wifi/cuhead-wifi-shield-v2-0-for-arduino.html CUHEADWIFIV2] on LinkSprite [http://www.cutedigi.com/ Cart]&lt;br /&gt;
&lt;br /&gt;
== See Also  ==&lt;br /&gt;
&lt;br /&gt;
Other related products and resources.&lt;br /&gt;
&lt;br /&gt;
== Licensing  ==&lt;br /&gt;
&lt;br /&gt;
This documentation is licensed under the Creative Commons [http://creativecommons.org/licenses/by-sa/3.0/ Attribution-ShareAlike License 3.0] Source code and libraries are licensed under [http://www.gnu.org/licenses/gpl.html GPL/LGPL], see source code files for details.&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_Mega&amp;diff=237</id>
		<title>CuHead WiFi Shield for Arduino Mega</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_Mega&amp;diff=237"/>
		<updated>2012-11-14T08:30:38Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
This document is to introduce LinkSprite CuHead WiFi Shield for Arduino Mega（hereafter we call Cuhead Mega).&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega adopt standard Arduino Mega laminated design . It is designed to plug on Arduino, MEGA, Romeo, etc.&lt;br /&gt;
&lt;br /&gt;
*Video Introduces:[http://v.youku.com/v_show/id_XMzkzMzgwNzky.html Linksprite Copperhead WiFi Shield arduino Mega]&lt;br /&gt;
&lt;br /&gt;
== Features  ==&lt;br /&gt;
&lt;br /&gt;
'''Standard spec'''&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega has charging and discharging function, the charging circuit is used to tell voltage of the battery.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
When Cuhead Mega connect Arduino, there are two working status：&lt;br /&gt;
&lt;br /&gt;
*Connect Arduino with USB/Adaptor , Arduino gives power to Cuhead Mega, the charging circuit on Cuhead Mega will disconnect；&lt;br /&gt;
&lt;br /&gt;
*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.&lt;br /&gt;
&lt;br /&gt;
'''Add Potentiometer'''&lt;br /&gt;
&lt;br /&gt;
The new added potentiometer is to adjust the voltage to any value needed (by adjust AMS1117 Vin to 5.6V~6.0V). &lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module Features'''&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11-compliant RF Transceiver&lt;br /&gt;
&lt;br /&gt;
*Serialized unique MAC address&lt;br /&gt;
&lt;br /&gt;
*Data Rate: 1 and 2 Mbps&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11b/g/n compatible&lt;br /&gt;
&lt;br /&gt;
*Small size: 21mm x 31mm 36-pin Surface Mount Module&lt;br /&gt;
&lt;br /&gt;
*Integrated PCB antenna (MRF24WB0MA)&lt;br /&gt;
&lt;br /&gt;
*Range: up to 400m (1300 ft.)&lt;br /&gt;
&lt;br /&gt;
*Single operating voltage: 2.7V–3.6V (3.3V typical)&lt;br /&gt;
&lt;br /&gt;
*Simple, four-wire SPI interface with interrupt&lt;br /&gt;
&lt;br /&gt;
*Low-current consumption:&lt;br /&gt;
&lt;br /&gt;
RX mode – 85 mA (typical)&lt;br /&gt;
&lt;br /&gt;
TX mode – 154 mA (+10 dBm typic&lt;br /&gt;
&lt;br /&gt;
Sleep – 250 µA (typical)&lt;br /&gt;
&lt;br /&gt;
Hibernate – &amp;lt;0.1 µA (typical)&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module RF/Analog Features'''&lt;br /&gt;
&lt;br /&gt;
*ISM Band 2.400–2.484 GHz operation&lt;br /&gt;
&lt;br /&gt;
*14 Channels selectable individually or domain-restricted&lt;br /&gt;
&lt;br /&gt;
*DSSS Modulation&lt;br /&gt;
&lt;br /&gt;
*Data Rate – 1000 kbps&lt;br /&gt;
&lt;br /&gt;
*-91 dBm Typical sensitivity at 1 Mbps&lt;br /&gt;
&lt;br /&gt;
*+10 dBm Typical output power with control&lt;br /&gt;
&lt;br /&gt;
*Integrated low phase noise VCO, RF frequency synthesizer, PLL loop filter and PA&lt;br /&gt;
&lt;br /&gt;
*Digital VCO and filter calibration&lt;br /&gt;
&lt;br /&gt;
*Integrated RSSI ADC and I/Q DACs, RSSI readings available to host&lt;br /&gt;
&lt;br /&gt;
*Balanced receiver and transmitter characteristics for low power consumption&lt;br /&gt;
&lt;br /&gt;
'''Cuhead Mega MAC/Baseband Features'''&lt;br /&gt;
&lt;br /&gt;
*Hardware CSMA/CA acce ss control, automatic ACK, and FCS creation and checking&lt;br /&gt;
&lt;br /&gt;
*Automatic MAC packet retransmit&lt;br /&gt;
&lt;br /&gt;
*Hardware Security Engine for AES and RC4-based ciphers&lt;br /&gt;
&lt;br /&gt;
*Supports 802.1x, 802.1i&lt;br /&gt;
&lt;br /&gt;
*Security: WEP, WPA-PSK, and WPA-2-PSK&lt;br /&gt;
&lt;br /&gt;
== Application Ideas  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Cautions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematic  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Specification  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Pin definition and Rating  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Mechanic Dimensions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
&lt;br /&gt;
'''Ready To Hardware'''&lt;br /&gt;
&lt;br /&gt;
*LinkSprite CuHead WiFi Shield for Arduino Mega module&lt;br /&gt;
 &lt;br /&gt;
*Arduino Mega module&lt;br /&gt;
  &lt;br /&gt;
*USB CABLE&lt;br /&gt;
 &lt;br /&gt;
'''Ready To Software'''&lt;br /&gt;
&lt;br /&gt;
*Arduino 1.0&lt;br /&gt;
 &lt;br /&gt;
Download link: [http://arduino.cc/en/Main/Software Arduino]&lt;br /&gt;
	&lt;br /&gt;
*Cuhead Mega’s Library files and code&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/cuheadmega cuheadmega]&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
'''Example demonstration'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-cuheadmega-1545a16.zip, unzip it and rename it as cuheadmega, then put it under the arduino-1.0\libraries directory.&lt;br /&gt;
 &lt;br /&gt;
*Open arduino.exe, choose an example such as SimpleServer.&lt;br /&gt;
 &lt;br /&gt;
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
 &lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
 &lt;br /&gt;
*When Cuhead Mega connected to the router through WiFi，the red LED will turn on.&lt;br /&gt;
 &lt;br /&gt;
*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）&lt;br /&gt;
&lt;br /&gt;
== FAQ  ==&lt;br /&gt;
'''Q1. Program can't be compiled'''&lt;br /&gt;
&lt;br /&gt;
A1：Check these if you found that the example we provide cannot compile.&lt;br /&gt;
&lt;br /&gt;
*Whether you choose the right Board. Because Arduino Mega and other versions of the Arduino interface is different. You should choose the board you are using when compile.&lt;br /&gt;
&lt;br /&gt;
*Here enter cuheadmaga , and open apps-conf.h&lt;br /&gt;
 &lt;br /&gt;
To prevent repeated quotation of the same file, which will cause compile error like duplicate definition and nested quoted. You have to change it here according to your needs. To different examples, the macro definition is different, the default is:&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WISERVER'''&lt;br /&gt;
 &lt;br /&gt;
If you want to use another example, such as how to use webserver.h,&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WEBSERVER'''&lt;br /&gt;
&lt;br /&gt;
'''//#define  APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
'''Q2. Red LED（D1） not on'''&lt;br /&gt;
&lt;br /&gt;
A2：If the program has been downloaded to Arduino, yet red LED（D1）on Cuhead Mega is not on, which means Wi-Fi not connected,please check below part.&lt;br /&gt;
&lt;br /&gt;
Check the IP address,default gate way and subnet mask in the code if it is right with the WiFi routor settings. And check the SSID、PASSWORD and encryption method. Or you can reset Cuhead Mega/Arduino module and reconnect them.&lt;br /&gt;
&lt;br /&gt;
== Support  ==&lt;br /&gt;
&lt;br /&gt;
If you have questions or other better design ideas, you can go to our [http://www.linksprite.com/forum/index.php forum] to discuss or creat a ticket for your issue at [http://www.linksprite.com/support/ linksprite support].&lt;br /&gt;
&lt;br /&gt;
== Resources  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to buy  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See Also  ==&lt;br /&gt;
&lt;br /&gt;
Other related products and resources.&lt;br /&gt;
&lt;br /&gt;
== Licensing  ==&lt;br /&gt;
&lt;br /&gt;
This documentation is licensed under the Creative Commons [http://creativecommons.org/licenses/by-sa/3.0/ Attribution-ShareAlike License 3.0] Source code and libraries are licensed under [http://www.gnu.org/licenses/gpl.html GPL/LGPL], see source code files for details.&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_Mega&amp;diff=236</id>
		<title>CuHead WiFi Shield for Arduino Mega</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_Mega&amp;diff=236"/>
		<updated>2012-11-14T08:14:48Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* FAQ */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
This document is to introduce LinkSprite CuHead WiFi Shield for Arduino Mega（hereafter we call Cuhead Mega).&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega adopt standard Arduino Mega laminated design . It is designed to plug on Arduino, MEGA, Romeo, etc.&lt;br /&gt;
&lt;br /&gt;
== Features  ==&lt;br /&gt;
&lt;br /&gt;
'''Standard spec'''&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega has charging and discharging function, the charging circuit is used to tell voltage of the battery.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
When Cuhead Mega connect Arduino, there are two working status：&lt;br /&gt;
&lt;br /&gt;
*Connect Arduino with USB/Adaptor , Arduino gives power to Cuhead Mega, the charging circuit on Cuhead Mega will disconnect；&lt;br /&gt;
&lt;br /&gt;
*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.&lt;br /&gt;
&lt;br /&gt;
'''Add Potentiometer'''&lt;br /&gt;
&lt;br /&gt;
The new added potentiometer is to adjust the voltage to any value needed (by adjust AMS1117 Vin to 5.6V~6.0V). &lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module Features'''&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11-compliant RF Transceiver&lt;br /&gt;
&lt;br /&gt;
*Serialized unique MAC address&lt;br /&gt;
&lt;br /&gt;
*Data Rate: 1 and 2 Mbps&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11b/g/n compatible&lt;br /&gt;
&lt;br /&gt;
*Small size: 21mm x 31mm 36-pin Surface Mount Module&lt;br /&gt;
&lt;br /&gt;
*Integrated PCB antenna (MRF24WB0MA)&lt;br /&gt;
&lt;br /&gt;
*Range: up to 400m (1300 ft.)&lt;br /&gt;
&lt;br /&gt;
*Single operating voltage: 2.7V–3.6V (3.3V typical)&lt;br /&gt;
&lt;br /&gt;
*Simple, four-wire SPI interface with interrupt&lt;br /&gt;
&lt;br /&gt;
*Low-current consumption:&lt;br /&gt;
&lt;br /&gt;
RX mode – 85 mA (typical)&lt;br /&gt;
&lt;br /&gt;
TX mode – 154 mA (+10 dBm typic&lt;br /&gt;
&lt;br /&gt;
Sleep – 250 µA (typical)&lt;br /&gt;
&lt;br /&gt;
Hibernate – &amp;lt;0.1 µA (typical)&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module RF/Analog Features'''&lt;br /&gt;
&lt;br /&gt;
*ISM Band 2.400–2.484 GHz operation&lt;br /&gt;
&lt;br /&gt;
*14 Channels selectable individually or domain-restricted&lt;br /&gt;
&lt;br /&gt;
*DSSS Modulation&lt;br /&gt;
&lt;br /&gt;
*Data Rate – 1000 kbps&lt;br /&gt;
&lt;br /&gt;
*-91 dBm Typical sensitivity at 1 Mbps&lt;br /&gt;
&lt;br /&gt;
*+10 dBm Typical output power with control&lt;br /&gt;
&lt;br /&gt;
*Integrated low phase noise VCO, RF frequency synthesizer, PLL loop filter and PA&lt;br /&gt;
&lt;br /&gt;
*Digital VCO and filter calibration&lt;br /&gt;
&lt;br /&gt;
*Integrated RSSI ADC and I/Q DACs, RSSI readings available to host&lt;br /&gt;
&lt;br /&gt;
*Balanced receiver and transmitter characteristics for low power consumption&lt;br /&gt;
&lt;br /&gt;
'''Cuhead Mega MAC/Baseband Features'''&lt;br /&gt;
&lt;br /&gt;
*Hardware CSMA/CA acce ss control, automatic ACK, and FCS creation and checking&lt;br /&gt;
&lt;br /&gt;
*Automatic MAC packet retransmit&lt;br /&gt;
&lt;br /&gt;
*Hardware Security Engine for AES and RC4-based ciphers&lt;br /&gt;
&lt;br /&gt;
*Supports 802.1x, 802.1i&lt;br /&gt;
&lt;br /&gt;
*Security: WEP, WPA-PSK, and WPA-2-PSK&lt;br /&gt;
&lt;br /&gt;
== Application Ideas  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Cautions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematic  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Specification  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Pin definition and Rating  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Mechanic Dimensions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
&lt;br /&gt;
'''Ready To Hardware'''&lt;br /&gt;
&lt;br /&gt;
*LinkSprite CuHead WiFi Shield for Arduino Mega module&lt;br /&gt;
 &lt;br /&gt;
*Arduino Mega module&lt;br /&gt;
  &lt;br /&gt;
*USB CABLE&lt;br /&gt;
 &lt;br /&gt;
'''Ready To Software'''&lt;br /&gt;
&lt;br /&gt;
*Arduino 1.0&lt;br /&gt;
 &lt;br /&gt;
Download link: [http://arduino.cc/en/Main/Software Arduino]&lt;br /&gt;
	&lt;br /&gt;
*Cuhead Mega’s Library files and code&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/cuheadmega cuheadmega]&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
'''Example demonstration'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-cuheadmega-1545a16.zip, unzip it and rename it as cuheadmega, then put it under the arduino-1.0\libraries directory.&lt;br /&gt;
 &lt;br /&gt;
*Open arduino.exe, choose an example such as SimpleServer.&lt;br /&gt;
 &lt;br /&gt;
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
 &lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
 &lt;br /&gt;
*When Cuhead Mega connected to the router through WiFi，the red LED will turn on.&lt;br /&gt;
 &lt;br /&gt;
*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）&lt;br /&gt;
&lt;br /&gt;
== FAQ  ==&lt;br /&gt;
'''Q1. Program can't be compiled'''&lt;br /&gt;
&lt;br /&gt;
A1：Check these if you found that the example we provide cannot compile.&lt;br /&gt;
&lt;br /&gt;
*Whether you choose the right Board. Because Arduino Mega and other versions of the Arduino interface is different. You should choose the board you are using when compile.&lt;br /&gt;
&lt;br /&gt;
*Here enter cuheadmaga , and open apps-conf.h&lt;br /&gt;
 &lt;br /&gt;
To prevent repeated quotation of the same file, which will cause compile error like duplicate definition and nested quoted. You have to change it here according to your needs. To different examples, the macro definition is different, the default is:&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WISERVER'''&lt;br /&gt;
 &lt;br /&gt;
If you want to use another example, such as how to use webserver.h,&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WEBSERVER'''&lt;br /&gt;
&lt;br /&gt;
'''//#define  APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
'''Q2. Red LED（D1） not on'''&lt;br /&gt;
&lt;br /&gt;
A2：If the program has been downloaded to Arduino, yet red LED（D1）on Cuhead Mega is not on, which means Wi-Fi not connected,please check below part.&lt;br /&gt;
&lt;br /&gt;
Check the IP address,default gate way and subnet mask in the code if it is right with the WiFi routor settings. And check the SSID、PASSWORD and encryption method. Or you can reset Cuhead Mega/Arduino module and reconnect them.&lt;br /&gt;
&lt;br /&gt;
== Support  ==&lt;br /&gt;
&lt;br /&gt;
If you have questions or other better design ideas, you can go to our [http://www.linksprite.com/forum/index.php forum] to discuss or creat a ticket for your issue at [http://www.linksprite.com/support/ linksprite support].&lt;br /&gt;
&lt;br /&gt;
== Resources  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to buy  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See Also  ==&lt;br /&gt;
&lt;br /&gt;
Other related products and resources.&lt;br /&gt;
&lt;br /&gt;
== Licensing  ==&lt;br /&gt;
&lt;br /&gt;
This documentation is licensed under the Creative Commons [http://creativecommons.org/licenses/by-sa/3.0/ Attribution-ShareAlike License 3.0] Source code and libraries are licensed under [http://www.gnu.org/licenses/gpl.html GPL/LGPL], see source code files for details.&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_Mega&amp;diff=235</id>
		<title>CuHead WiFi Shield for Arduino Mega</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_Mega&amp;diff=235"/>
		<updated>2012-11-14T08:03:50Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
This document is to introduce LinkSprite CuHead WiFi Shield for Arduino Mega（hereafter we call Cuhead Mega).&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega adopt standard Arduino Mega laminated design . It is designed to plug on Arduino, MEGA, Romeo, etc.&lt;br /&gt;
&lt;br /&gt;
== Features  ==&lt;br /&gt;
&lt;br /&gt;
'''Standard spec'''&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega has charging and discharging function, the charging circuit is used to tell voltage of the battery.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
When Cuhead Mega connect Arduino, there are two working status：&lt;br /&gt;
&lt;br /&gt;
*Connect Arduino with USB/Adaptor , Arduino gives power to Cuhead Mega, the charging circuit on Cuhead Mega will disconnect；&lt;br /&gt;
&lt;br /&gt;
*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.&lt;br /&gt;
&lt;br /&gt;
'''Add Potentiometer'''&lt;br /&gt;
&lt;br /&gt;
The new added potentiometer is to adjust the voltage to any value needed (by adjust AMS1117 Vin to 5.6V~6.0V). &lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module Features'''&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11-compliant RF Transceiver&lt;br /&gt;
&lt;br /&gt;
*Serialized unique MAC address&lt;br /&gt;
&lt;br /&gt;
*Data Rate: 1 and 2 Mbps&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11b/g/n compatible&lt;br /&gt;
&lt;br /&gt;
*Small size: 21mm x 31mm 36-pin Surface Mount Module&lt;br /&gt;
&lt;br /&gt;
*Integrated PCB antenna (MRF24WB0MA)&lt;br /&gt;
&lt;br /&gt;
*Range: up to 400m (1300 ft.)&lt;br /&gt;
&lt;br /&gt;
*Single operating voltage: 2.7V–3.6V (3.3V typical)&lt;br /&gt;
&lt;br /&gt;
*Simple, four-wire SPI interface with interrupt&lt;br /&gt;
&lt;br /&gt;
*Low-current consumption:&lt;br /&gt;
&lt;br /&gt;
RX mode – 85 mA (typical)&lt;br /&gt;
&lt;br /&gt;
TX mode – 154 mA (+10 dBm typic&lt;br /&gt;
&lt;br /&gt;
Sleep – 250 µA (typical)&lt;br /&gt;
&lt;br /&gt;
Hibernate – &amp;lt;0.1 µA (typical)&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module RF/Analog Features'''&lt;br /&gt;
&lt;br /&gt;
*ISM Band 2.400–2.484 GHz operation&lt;br /&gt;
&lt;br /&gt;
*14 Channels selectable individually or domain-restricted&lt;br /&gt;
&lt;br /&gt;
*DSSS Modulation&lt;br /&gt;
&lt;br /&gt;
*Data Rate – 1000 kbps&lt;br /&gt;
&lt;br /&gt;
*-91 dBm Typical sensitivity at 1 Mbps&lt;br /&gt;
&lt;br /&gt;
*+10 dBm Typical output power with control&lt;br /&gt;
&lt;br /&gt;
*Integrated low phase noise VCO, RF frequency synthesizer, PLL loop filter and PA&lt;br /&gt;
&lt;br /&gt;
*Digital VCO and filter calibration&lt;br /&gt;
&lt;br /&gt;
*Integrated RSSI ADC and I/Q DACs, RSSI readings available to host&lt;br /&gt;
&lt;br /&gt;
*Balanced receiver and transmitter characteristics for low power consumption&lt;br /&gt;
&lt;br /&gt;
'''Cuhead Mega MAC/Baseband Features'''&lt;br /&gt;
&lt;br /&gt;
*Hardware CSMA/CA acce ss control, automatic ACK, and FCS creation and checking&lt;br /&gt;
&lt;br /&gt;
*Automatic MAC packet retransmit&lt;br /&gt;
&lt;br /&gt;
*Hardware Security Engine for AES and RC4-based ciphers&lt;br /&gt;
&lt;br /&gt;
*Supports 802.1x, 802.1i&lt;br /&gt;
&lt;br /&gt;
*Security: WEP, WPA-PSK, and WPA-2-PSK&lt;br /&gt;
&lt;br /&gt;
== Application Ideas  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Cautions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematic  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Specification  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Pin definition and Rating  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Mechanic Dimensions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
&lt;br /&gt;
'''Ready To Hardware'''&lt;br /&gt;
&lt;br /&gt;
*LinkSprite CuHead WiFi Shield for Arduino Mega module&lt;br /&gt;
 &lt;br /&gt;
*Arduino Mega module&lt;br /&gt;
  &lt;br /&gt;
*USB CABLE&lt;br /&gt;
 &lt;br /&gt;
'''Ready To Software'''&lt;br /&gt;
&lt;br /&gt;
*Arduino 1.0&lt;br /&gt;
 &lt;br /&gt;
Download link: [http://arduino.cc/en/Main/Software Arduino]&lt;br /&gt;
	&lt;br /&gt;
*Cuhead Mega’s Library files and code&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/cuheadmega cuheadmega]&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
'''Example demonstration'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-cuheadmega-1545a16.zip, unzip it and rename it as cuheadmega, then put it under the arduino-1.0\libraries directory.&lt;br /&gt;
 &lt;br /&gt;
*Open arduino.exe, choose an example such as SimpleServer.&lt;br /&gt;
 &lt;br /&gt;
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
 &lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
 &lt;br /&gt;
*When Cuhead Mega connected to the router through WiFi，the red LED will turn on.&lt;br /&gt;
 &lt;br /&gt;
*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）&lt;br /&gt;
&lt;br /&gt;
== FAQ  ==&lt;br /&gt;
Please list your question here:&lt;br /&gt;
&lt;br /&gt;
== Support  ==&lt;br /&gt;
&lt;br /&gt;
If you have questions or other better design ideas, you can go to our [http://www.linksprite.com/forum/index.php forum] to discuss or creat a ticket for your issue at [http://www.linksprite.com/support/ linksprite support].&lt;br /&gt;
&lt;br /&gt;
== Resources  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to buy  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See Also  ==&lt;br /&gt;
&lt;br /&gt;
Other related products and resources.&lt;br /&gt;
&lt;br /&gt;
== Licensing  ==&lt;br /&gt;
&lt;br /&gt;
This documentation is licensed under the Creative Commons [http://creativecommons.org/licenses/by-sa/3.0/ Attribution-ShareAlike License 3.0] Source code and libraries are licensed under [http://www.gnu.org/licenses/gpl.html GPL/LGPL], see source code files for details.&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_Mega&amp;diff=232</id>
		<title>CuHead WiFi Shield for Arduino Mega</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_Mega&amp;diff=232"/>
		<updated>2012-11-14T07:58:39Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* Features */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
This document is to introduce LinkSprite CuHead WiFi Shield for Arduino Mega（hereafter we call Cuhead Mega).&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega adopt standard Arduino Mega laminated design . It is designed to plug on Arduino, MEGA, Romeo, etc.&lt;br /&gt;
&lt;br /&gt;
== Features  ==&lt;br /&gt;
&lt;br /&gt;
'''Standard spec'''&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega has charging and discharging function, the charging circuit is used to tell voltage of the battery.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
When Cuhead Mega connect Arduino, there are two working status：&lt;br /&gt;
&lt;br /&gt;
*Connect Arduino with USB/Adaptor , Arduino gives power to Cuhead Mega, the charging circuit on Cuhead Mega will disconnect；&lt;br /&gt;
&lt;br /&gt;
*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.&lt;br /&gt;
&lt;br /&gt;
'''Add Potentiometer'''&lt;br /&gt;
&lt;br /&gt;
The new added potentiometer is to adjust the voltage to any value needed (by adjust AMS1117 Vin to 5.6V~6.0V). &lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module Features'''&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11-compliant RF Transceiver&lt;br /&gt;
&lt;br /&gt;
*Serialized unique MAC address&lt;br /&gt;
&lt;br /&gt;
*Data Rate: 1 and 2 Mbps&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11b/g/n compatible&lt;br /&gt;
&lt;br /&gt;
*Small size: 21mm x 31mm 36-pin Surface Mount Module&lt;br /&gt;
&lt;br /&gt;
*Integrated PCB antenna (MRF24WB0MA)&lt;br /&gt;
&lt;br /&gt;
*Range: up to 400m (1300 ft.)&lt;br /&gt;
&lt;br /&gt;
*Single operating voltage: 2.7V–3.6V (3.3V typical)&lt;br /&gt;
&lt;br /&gt;
*Simple, four-wire SPI interface with interrupt&lt;br /&gt;
&lt;br /&gt;
*Low-current consumption:&lt;br /&gt;
&lt;br /&gt;
RX mode – 85 mA (typical)&lt;br /&gt;
&lt;br /&gt;
TX mode – 154 mA (+10 dBm typic&lt;br /&gt;
&lt;br /&gt;
Sleep – 250 µA (typical)&lt;br /&gt;
&lt;br /&gt;
Hibernate – &amp;lt;0.1 µA (typical)&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module RF/Analog Features'''&lt;br /&gt;
&lt;br /&gt;
*ISM Band 2.400–2.484 GHz operation&lt;br /&gt;
&lt;br /&gt;
*14 Channels selectable individually or domain-restricted&lt;br /&gt;
&lt;br /&gt;
*DSSS Modulation&lt;br /&gt;
&lt;br /&gt;
*Data Rate – 1000 kbps&lt;br /&gt;
&lt;br /&gt;
*-91 dBm Typical sensitivity at 1 Mbps&lt;br /&gt;
&lt;br /&gt;
*+10 dBm Typical output power with control&lt;br /&gt;
&lt;br /&gt;
*Integrated low phase noise VCO, RF frequency synthesizer, PLL loop filter and PA&lt;br /&gt;
&lt;br /&gt;
*Digital VCO and filter calibration&lt;br /&gt;
&lt;br /&gt;
*Integrated RSSI ADC and I/Q DACs, RSSI readings available to host&lt;br /&gt;
&lt;br /&gt;
*Balanced receiver and transmitter characteristics for low power consumption&lt;br /&gt;
&lt;br /&gt;
'''Cuhead Mega MAC/Baseband Features'''&lt;br /&gt;
&lt;br /&gt;
*Hardware CSMA/CA acce ss control, automatic ACK, and FCS creation and checking&lt;br /&gt;
&lt;br /&gt;
*Automatic MAC packet retransmit&lt;br /&gt;
&lt;br /&gt;
*Hardware Security Engine for AES and RC4-based ciphers&lt;br /&gt;
&lt;br /&gt;
*Supports 802.1x, 802.1i&lt;br /&gt;
&lt;br /&gt;
*Security: WEP, WPA-PSK, and WPA-2-PSK&lt;br /&gt;
&lt;br /&gt;
== Application Ideas  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Cautions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematic  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Specification  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Pin definition and Rating  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Mechanic Dimensions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== FAQ  ==&lt;br /&gt;
Please list your question here:&lt;br /&gt;
&lt;br /&gt;
== Support  ==&lt;br /&gt;
&lt;br /&gt;
If you have questions or other better design ideas, you can go to our [http://www.linksprite.com/forum/index.php forum] to discuss or creat a ticket for your issue at [http://www.linksprite.com/support/ linksprite support].&lt;br /&gt;
&lt;br /&gt;
== Resources  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to buy  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See Also  ==&lt;br /&gt;
&lt;br /&gt;
Other related products and resources.&lt;br /&gt;
&lt;br /&gt;
== Licensing  ==&lt;br /&gt;
&lt;br /&gt;
This documentation is licensed under the Creative Commons [http://creativecommons.org/licenses/by-sa/3.0/ Attribution-ShareAlike License 3.0] Source code and libraries are licensed under [http://www.gnu.org/licenses/gpl.html GPL/LGPL], see source code files for details.&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_Mega&amp;diff=227</id>
		<title>CuHead WiFi Shield for Arduino Mega</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_Mega&amp;diff=227"/>
		<updated>2012-11-14T07:34:57Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
This document is to introduce LinkSprite CuHead WiFi Shield for Arduino Mega（hereafter we call Cuhead Mega).&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
&lt;br /&gt;
Cuhead Mega adopt standard Arduino Mega laminated design . It is designed to plug on Arduino, MEGA, Romeo, etc.&lt;br /&gt;
&lt;br /&gt;
== Features  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Application Ideas  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Cautions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematic  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Specification  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Pin definition and Rating  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Mechanic Dimensions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== FAQ  ==&lt;br /&gt;
Please list your question here:&lt;br /&gt;
&lt;br /&gt;
== Support  ==&lt;br /&gt;
&lt;br /&gt;
If you have questions or other better design ideas, you can go to our [http://www.linksprite.com/forum/index.php forum] to discuss or creat a ticket for your issue at [http://www.linksprite.com/support/ linksprite support].&lt;br /&gt;
&lt;br /&gt;
== Resources  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to buy  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See Also  ==&lt;br /&gt;
&lt;br /&gt;
Other related products and resources.&lt;br /&gt;
&lt;br /&gt;
== Licensing  ==&lt;br /&gt;
&lt;br /&gt;
This documentation is licensed under the Creative Commons [http://creativecommons.org/licenses/by-sa/3.0/ Attribution-ShareAlike License 3.0] Source code and libraries are licensed under [http://www.gnu.org/licenses/gpl.html GPL/LGPL], see source code files for details.&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_V2.0&amp;diff=224</id>
		<title>CuHead WiFi Shield for Arduino V2.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_V2.0&amp;diff=224"/>
		<updated>2012-11-14T06:58:42Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* Specification */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
This document is to introduce Cuhead WiFi Shield V2.0（hereafter we call Cuhead V2.0).&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 adopt standard Arduino laminated design . It is designed to plug on Arduino  Diecimila/Duemilanove/Uno etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
== Features  ==&lt;br /&gt;
&lt;br /&gt;
'''Standard spec'''&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 has charging and discharging function, the charging circuit is used to tell voltage of the battery. &lt;br /&gt;
&lt;br /&gt;
We can connect the positive and negtive of the battery to BAT, if the battery is full, then Cuhead V2.0 wont charge battery; if it is not, the external battery will be charged.&lt;br /&gt;
&lt;br /&gt;
We bring comparator to check the operating current of Cuhead V2.0 so you know it is Arduino giving power to Cuhead V2.0 or the opposite way, and change the charging circuit to connect/disconnect based on that.&lt;br /&gt;
&lt;br /&gt;
When Cuhead V2.0 connect Arduino, there are two working status：&lt;br /&gt;
&lt;br /&gt;
*Connect Arduino with USB/Adaptor , Arduino gives power to Cuhead V2.0, the charging circuit on Cuhead V2.0 will disconnect；&lt;br /&gt;
&lt;br /&gt;
*No external power for Arduino, then the charging circuit of Cuhead V2.0 is working, and the battery will power the boards. Normally we give power to Arduino directly, thus the charging circuit is inactive.&lt;br /&gt;
&lt;br /&gt;
'''Add Potentiometer'''&lt;br /&gt;
&lt;br /&gt;
The new added potentiometer is to adjust the voltage to any value needed (by adjust AMS1117 Vin to 5.6V~6.0V). &lt;br /&gt;
&lt;br /&gt;
It is hard to do so by fixed resistance. The default voltage of Cuhead V2.0 has been set in the right voltage，normally you don't have to adjust it.&lt;br /&gt;
&lt;br /&gt;
'''Increase the Flash memory chip'''&lt;br /&gt;
&lt;br /&gt;
The increase of the Flash memory chip is serial interface of the Flash memory chip, it can work in 2.5 V-2.7 V, can be used as program code data storage. Flash memory chip and Arduino are used together SPI interface,  the speed can be up to 66 MHz. It contains 17301504 bytes, is organized for 4096 page, each page 512 or 528 bytes. In addition to main memory, the Flash memory chip also includes two SRAM data buffer, each buffer 512/528 bytes. When main memory is programming, buffer is allowed to receive the data, and to support data stream write. And the Flash memory chip allow simple in the system to programming, without having to input high programming voltage.  It can through the # CS Enable, and through the three line interface (SI, SO, SCK) in data communication.&lt;br /&gt;
&lt;br /&gt;
Because Cuhead V2.0 Flash memory chip and Arduino uses the same SPI interface, we through the Cuhead V2.0 module of the flash_sn jump line to select is public SS or CS. The flash_sn connect 1, 2 pin is SS, connect 2,3 pins for CS.&lt;br /&gt;
&lt;br /&gt;
When Cuhead V2.0 need to use Wi-Fi choose SS, make Flash is invalid, so Wi-Fi can accurately to receive information, and deal with the IP protocol. If this time not banned Flash, data through the SPI send come over, Flash and Arduino will receive the data and have the conflict.&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module Features'''&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11-compliant RF Transceiver&lt;br /&gt;
*Serialized unique MAC address&lt;br /&gt;
*Data Rate: 1 and 2 Mbps&lt;br /&gt;
*IEEE Std. 802.11b/g/n compatible&lt;br /&gt;
*Small size: 21mm x 31mm 36-pin Surface Mount Module&lt;br /&gt;
*Integrated PCB antenna (MRF24WB0MA)&lt;br /&gt;
*Range: up to 400m (1300 ft.)&lt;br /&gt;
*Single operating voltage: 2.7V–3.6V (3.3V typical)&lt;br /&gt;
*Simple, four-wire SPI interface with interrupt&lt;br /&gt;
*Low-current consumption:&lt;br /&gt;
*RX mode – 85 mA (typical)&lt;br /&gt;
*TX mode – 154 mA (+10 dBm typic&lt;br /&gt;
*Sleep – 250 µA (typical)&lt;br /&gt;
*Hibernate – &amp;lt;0.1 µA (typical)&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module RF/Analog Features'''&lt;br /&gt;
&lt;br /&gt;
*ISM Band 2.400–2.484 GHz operation&lt;br /&gt;
*14 Channels selectable individually or domain-restricted&lt;br /&gt;
*DSSS Modulation&lt;br /&gt;
*Data Rate – 1000 kbps&lt;br /&gt;
*-91 dBm Typical sensitivity at 1 Mbps&lt;br /&gt;
*+10 dBm Typical output power with control&lt;br /&gt;
*Integrated low phase noise VCO, RF frequency synthesizer, PLL loop filter and PA&lt;br /&gt;
*Digital VCO and filter calibration&lt;br /&gt;
*Integrated RSSI ADC and I/Q DACs, RSSI readings available to host&lt;br /&gt;
*Balanced receiver and transmitter characteristics for low power consumption&lt;br /&gt;
&lt;br /&gt;
'''Cuhead V2.0 MAC/Baseband Features'''&lt;br /&gt;
&lt;br /&gt;
*Hardware CSMA/CA acce ss control, automatic ACK, and FCS creation and checking&lt;br /&gt;
*Automatic MAC packet retransmit&lt;br /&gt;
*Hardware Security Engine for AES and RC4-based ciphers&lt;br /&gt;
*Supports 802.1x, 802.1i&lt;br /&gt;
*Security: WEP, WPA-PSK, and WPA-2-PSK&lt;br /&gt;
&lt;br /&gt;
== Application Ideas  ==&lt;br /&gt;
&lt;br /&gt;
*[http://v.youku.com/v_show/id_XMzkxMjI2NDgw.html Features of CuHead V2.0]&lt;br /&gt;
&lt;br /&gt;
*[http://v.youku.com/v_show/id_XMzkwNTM0OTA0.html CuHead Enabled WiFi Controllable Robot: Controlled by iPad]&lt;br /&gt;
&lt;br /&gt;
== Cautions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematic  ==&lt;br /&gt;
&lt;br /&gt;
*[http://linksprite.com/download/showdownload.php?lang=en&amp;amp;id=230 Schematics of CuHead WiFi Shield for Arduino V2.0 ]&lt;br /&gt;
&lt;br /&gt;
== Specification  ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=233 Cuhead WiFi Shield V2.0 User Manual]&lt;br /&gt;
&lt;br /&gt;
*[http://www.cutedigi.com/pub/Arduino/CuHead/HowToCompileCuHeadSampleCodeforArduinoUno.pdf How To Compile CuHead Sample Code for ArduinoUno]&lt;br /&gt;
&lt;br /&gt;
== Pin definition and Rating  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Mechanic Dimensions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
'''Ready To Hardware'''	&lt;br /&gt;
*Cuhead WiFi Shield V2.0 module&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Arduino Duemilanove module&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 2.jpg]]&lt;br /&gt;
&lt;br /&gt;
*USB CABLE&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 3.jpg]]&lt;br /&gt;
 &lt;br /&gt;
'''Ready To Software'''&lt;br /&gt;
*Arduino 1.0&lt;br /&gt;
&lt;br /&gt;
Download link: [http://arduino.cc/en/Main/Software Arduino 1.0 Software]&lt;br /&gt;
&lt;br /&gt;
*ZG2100BasedWiFiShield’s Library files and code / WiFiShield’s Library files and code&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/ZG2100BasedWiFiShield ZG2100BasedWiFiShield]&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/WiShield WiShield]&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
'''Connect to WIFI'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-ZG2100BasedWiFiShield-68b2001.zip, unzip it and rename it as ZG2100BasedWiFiShield, then put it under the arduino-1.0\libraries directory.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 12.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe，choose an example such as SimpleServer.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 4.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 5.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 6.jpg]]&lt;br /&gt;
&lt;br /&gt;
*When Cuhead V2.0 connected to the router through WiFi，the red LED will turn on.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 7.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Input the IP address of Cuhead V2.0 as we set it：192.168.3.120, it showed what SimpleServer is about.（this IP is for demo）&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 8.jpg]]&lt;br /&gt;
&lt;br /&gt;
'''Download the DataFlash'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-DataFlash-e90ea99.zip , unzip it and rename it as DataFlash, then put it under the arduino-0022\libraries directory.&lt;br /&gt;
&lt;br /&gt;
*Please note: Using Arduino-0023 and Arduino-0023 the following version, download Data Flash ( DataFlash Download link: [https://github.com/linksprite/DataFlash DataFlash] ) &lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe，choose an example such as DataFlash_Intro.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 9.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 10.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Click on the Serial Monitor, COM22 window appears information.&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 11.jpg]]&lt;br /&gt;
&lt;br /&gt;
== FAQ  ==&lt;br /&gt;
&lt;br /&gt;
'''Q1. Program can't be compiled'''&lt;br /&gt;
&lt;br /&gt;
A1：Check these if you found that the example we provide cannot compile.&lt;br /&gt;
&lt;br /&gt;
Whether you choose the right Board. You should choose the board you are using when compile.&lt;br /&gt;
&lt;br /&gt;
Here enter ZG2100BasedWiFiShield[[File:Cuhead 12.jpg]] , and open apps-conf.h&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 13.jpg]]&lt;br /&gt;
 &lt;br /&gt;
To prevent repeated quotation of the same file, which will cause compile error like duplicate definition and nested quoted.&lt;br /&gt;
&lt;br /&gt;
You have to change it here according to your needs. To different examples, the macro definition is different, the default is:&lt;br /&gt;
&lt;br /&gt;
'''#define APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 14.jpg]]&lt;br /&gt;
 &lt;br /&gt;
If you want to use another example, such as how to use webserver.h,&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WEBSERVER'''&lt;br /&gt;
&lt;br /&gt;
'''//#define  APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
'''Q2. Red LED（D1）not on'''&lt;br /&gt;
&lt;br /&gt;
A2：If the program has been downloaded to Arduino, yet red LED（D1）on Cuhead V1.0 is not on, which means Wi-Fi not connected,please check below part.&lt;br /&gt;
&lt;br /&gt;
Check the IP address,default gate way and subnet mask in the code if it is right with the WiFi routor settings. &lt;br /&gt;
&lt;br /&gt;
And check the SSID、PASSWORD and encryption method. Or you can reset Cuhead V2.0/Arduino module and reconnect them.&lt;br /&gt;
&lt;br /&gt;
Check the jump line parts:&lt;br /&gt;
&lt;br /&gt;
*INTX1, used to choose to interrupt mode, jump line 1, 2 pin is D8, jump line 2, 3 pin is D2. No influence on the use of  Cuhead V2.0,  not normally use.&lt;br /&gt;
&lt;br /&gt;
*Flash_sn, jump line 1, 2 pin is SS, jump line 2, 3 pin is CS, when you using Wi-Fi choice SS, make Flash invalid.&lt;br /&gt;
&lt;br /&gt;
*Wi-Fi connection indicator light, jump line 1, 2 pin. Cuhead V2.0 leave factory, need to jump line of the part we have adjusted, you can use directly.&lt;br /&gt;
&lt;br /&gt;
'''Q3. Using UNO R3'''&lt;br /&gt;
&lt;br /&gt;
A3:When Cuhead V2.0 connected to Arduino UNO R3, Cuhead V2.0 may be unable to connect to wifi. &lt;br /&gt;
&lt;br /&gt;
You need to download the latest version of the Bootloader to Arduino microcontroller (ATmegaXXXX).&lt;br /&gt;
&lt;br /&gt;
Open optiboot folder ( X: \ arduino-XXXX \ hardware \ arduino\ bootloaders \ optiboot ) &lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 15.jpg]]&lt;br /&gt;
 &lt;br /&gt;
Bootloader (.hex file) download to corresponding version of the Arduino microcontroller (ATmegaXXXX).&lt;br /&gt;
&lt;br /&gt;
'''Q4.I have your Cuhead module,but when i connect it with my Arduino Mega 2560,it is not working.what can i do now?'''&lt;br /&gt;
&lt;br /&gt;
A4:Please check the connections with the arduino board carefully,it is different with different arduino boards.&lt;br /&gt;
&lt;br /&gt;
For example,Arduino Mega uses different pins for the SPI interface than the previous boards, so you may not able to use the headers to stack the shield onto the Mega.&lt;br /&gt;
&lt;br /&gt;
And you may have to pull pins to match the correct SPI pins to get it working.&lt;br /&gt;
&lt;br /&gt;
== Support  ==&lt;br /&gt;
&lt;br /&gt;
If you have questions or other better design ideas, you can go to our [http://www.linksprite.com/forum/index.php forum] to discuss or creat a ticket for your issue at [http://www.linksprite.com/support/ linksprite support].&lt;br /&gt;
&lt;br /&gt;
== Resources  ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/article/shownews.php?lang=en&amp;amp;id=58 source code github]&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/article/shownews.php?lang=en&amp;amp;id=106 Can CuHead WiFi Shield be used with Arduino Mega?]&lt;br /&gt;
&lt;br /&gt;
== How to buy  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See Also  ==&lt;br /&gt;
&lt;br /&gt;
Other related products and resources.&lt;br /&gt;
&lt;br /&gt;
== Licensing  ==&lt;br /&gt;
&lt;br /&gt;
This documentation is licensed under the Creative Commons [http://creativecommons.org/licenses/by-sa/3.0/ Attribution-ShareAlike License 3.0] Source code and libraries are licensed under [http://www.gnu.org/licenses/gpl.html GPL/LGPL], see source code files for details.&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_V2.0&amp;diff=223</id>
		<title>CuHead WiFi Shield for Arduino V2.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_V2.0&amp;diff=223"/>
		<updated>2012-11-14T06:58:11Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* Resources */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
This document is to introduce Cuhead WiFi Shield V2.0（hereafter we call Cuhead V2.0).&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 adopt standard Arduino laminated design . It is designed to plug on Arduino  Diecimila/Duemilanove/Uno etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
== Features  ==&lt;br /&gt;
&lt;br /&gt;
'''Standard spec'''&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 has charging and discharging function, the charging circuit is used to tell voltage of the battery. &lt;br /&gt;
&lt;br /&gt;
We can connect the positive and negtive of the battery to BAT, if the battery is full, then Cuhead V2.0 wont charge battery; if it is not, the external battery will be charged.&lt;br /&gt;
&lt;br /&gt;
We bring comparator to check the operating current of Cuhead V2.0 so you know it is Arduino giving power to Cuhead V2.0 or the opposite way, and change the charging circuit to connect/disconnect based on that.&lt;br /&gt;
&lt;br /&gt;
When Cuhead V2.0 connect Arduino, there are two working status：&lt;br /&gt;
&lt;br /&gt;
*Connect Arduino with USB/Adaptor , Arduino gives power to Cuhead V2.0, the charging circuit on Cuhead V2.0 will disconnect；&lt;br /&gt;
&lt;br /&gt;
*No external power for Arduino, then the charging circuit of Cuhead V2.0 is working, and the battery will power the boards. Normally we give power to Arduino directly, thus the charging circuit is inactive.&lt;br /&gt;
&lt;br /&gt;
'''Add Potentiometer'''&lt;br /&gt;
&lt;br /&gt;
The new added potentiometer is to adjust the voltage to any value needed (by adjust AMS1117 Vin to 5.6V~6.0V). &lt;br /&gt;
&lt;br /&gt;
It is hard to do so by fixed resistance. The default voltage of Cuhead V2.0 has been set in the right voltage，normally you don't have to adjust it.&lt;br /&gt;
&lt;br /&gt;
'''Increase the Flash memory chip'''&lt;br /&gt;
&lt;br /&gt;
The increase of the Flash memory chip is serial interface of the Flash memory chip, it can work in 2.5 V-2.7 V, can be used as program code data storage. Flash memory chip and Arduino are used together SPI interface,  the speed can be up to 66 MHz. It contains 17301504 bytes, is organized for 4096 page, each page 512 or 528 bytes. In addition to main memory, the Flash memory chip also includes two SRAM data buffer, each buffer 512/528 bytes. When main memory is programming, buffer is allowed to receive the data, and to support data stream write. And the Flash memory chip allow simple in the system to programming, without having to input high programming voltage.  It can through the # CS Enable, and through the three line interface (SI, SO, SCK) in data communication.&lt;br /&gt;
&lt;br /&gt;
Because Cuhead V2.0 Flash memory chip and Arduino uses the same SPI interface, we through the Cuhead V2.0 module of the flash_sn jump line to select is public SS or CS. The flash_sn connect 1, 2 pin is SS, connect 2,3 pins for CS.&lt;br /&gt;
&lt;br /&gt;
When Cuhead V2.0 need to use Wi-Fi choose SS, make Flash is invalid, so Wi-Fi can accurately to receive information, and deal with the IP protocol. If this time not banned Flash, data through the SPI send come over, Flash and Arduino will receive the data and have the conflict.&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module Features'''&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11-compliant RF Transceiver&lt;br /&gt;
*Serialized unique MAC address&lt;br /&gt;
*Data Rate: 1 and 2 Mbps&lt;br /&gt;
*IEEE Std. 802.11b/g/n compatible&lt;br /&gt;
*Small size: 21mm x 31mm 36-pin Surface Mount Module&lt;br /&gt;
*Integrated PCB antenna (MRF24WB0MA)&lt;br /&gt;
*Range: up to 400m (1300 ft.)&lt;br /&gt;
*Single operating voltage: 2.7V–3.6V (3.3V typical)&lt;br /&gt;
*Simple, four-wire SPI interface with interrupt&lt;br /&gt;
*Low-current consumption:&lt;br /&gt;
*RX mode – 85 mA (typical)&lt;br /&gt;
*TX mode – 154 mA (+10 dBm typic&lt;br /&gt;
*Sleep – 250 µA (typical)&lt;br /&gt;
*Hibernate – &amp;lt;0.1 µA (typical)&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module RF/Analog Features'''&lt;br /&gt;
&lt;br /&gt;
*ISM Band 2.400–2.484 GHz operation&lt;br /&gt;
*14 Channels selectable individually or domain-restricted&lt;br /&gt;
*DSSS Modulation&lt;br /&gt;
*Data Rate – 1000 kbps&lt;br /&gt;
*-91 dBm Typical sensitivity at 1 Mbps&lt;br /&gt;
*+10 dBm Typical output power with control&lt;br /&gt;
*Integrated low phase noise VCO, RF frequency synthesizer, PLL loop filter and PA&lt;br /&gt;
*Digital VCO and filter calibration&lt;br /&gt;
*Integrated RSSI ADC and I/Q DACs, RSSI readings available to host&lt;br /&gt;
*Balanced receiver and transmitter characteristics for low power consumption&lt;br /&gt;
&lt;br /&gt;
'''Cuhead V2.0 MAC/Baseband Features'''&lt;br /&gt;
&lt;br /&gt;
*Hardware CSMA/CA acce ss control, automatic ACK, and FCS creation and checking&lt;br /&gt;
*Automatic MAC packet retransmit&lt;br /&gt;
*Hardware Security Engine for AES and RC4-based ciphers&lt;br /&gt;
*Supports 802.1x, 802.1i&lt;br /&gt;
*Security: WEP, WPA-PSK, and WPA-2-PSK&lt;br /&gt;
&lt;br /&gt;
== Application Ideas  ==&lt;br /&gt;
&lt;br /&gt;
*[http://v.youku.com/v_show/id_XMzkxMjI2NDgw.html Features of CuHead V2.0]&lt;br /&gt;
&lt;br /&gt;
*[http://v.youku.com/v_show/id_XMzkwNTM0OTA0.html CuHead Enabled WiFi Controllable Robot: Controlled by iPad]&lt;br /&gt;
&lt;br /&gt;
== Cautions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematic  ==&lt;br /&gt;
&lt;br /&gt;
*[http://linksprite.com/download/showdownload.php?lang=en&amp;amp;id=230 Schematics of CuHead WiFi Shield for Arduino V2.0 ]&lt;br /&gt;
&lt;br /&gt;
== Specification  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Pin definition and Rating  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Mechanic Dimensions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
'''Ready To Hardware'''	&lt;br /&gt;
*Cuhead WiFi Shield V2.0 module&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Arduino Duemilanove module&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 2.jpg]]&lt;br /&gt;
&lt;br /&gt;
*USB CABLE&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 3.jpg]]&lt;br /&gt;
 &lt;br /&gt;
'''Ready To Software'''&lt;br /&gt;
*Arduino 1.0&lt;br /&gt;
&lt;br /&gt;
Download link: [http://arduino.cc/en/Main/Software Arduino 1.0 Software]&lt;br /&gt;
&lt;br /&gt;
*ZG2100BasedWiFiShield’s Library files and code / WiFiShield’s Library files and code&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/ZG2100BasedWiFiShield ZG2100BasedWiFiShield]&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/WiShield WiShield]&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
'''Connect to WIFI'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-ZG2100BasedWiFiShield-68b2001.zip, unzip it and rename it as ZG2100BasedWiFiShield, then put it under the arduino-1.0\libraries directory.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 12.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe，choose an example such as SimpleServer.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 4.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 5.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 6.jpg]]&lt;br /&gt;
&lt;br /&gt;
*When Cuhead V2.0 connected to the router through WiFi，the red LED will turn on.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 7.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Input the IP address of Cuhead V2.0 as we set it：192.168.3.120, it showed what SimpleServer is about.（this IP is for demo）&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 8.jpg]]&lt;br /&gt;
&lt;br /&gt;
'''Download the DataFlash'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-DataFlash-e90ea99.zip , unzip it and rename it as DataFlash, then put it under the arduino-0022\libraries directory.&lt;br /&gt;
&lt;br /&gt;
*Please note: Using Arduino-0023 and Arduino-0023 the following version, download Data Flash ( DataFlash Download link: [https://github.com/linksprite/DataFlash DataFlash] ) &lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe，choose an example such as DataFlash_Intro.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 9.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 10.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Click on the Serial Monitor, COM22 window appears information.&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 11.jpg]]&lt;br /&gt;
&lt;br /&gt;
== FAQ  ==&lt;br /&gt;
&lt;br /&gt;
'''Q1. Program can't be compiled'''&lt;br /&gt;
&lt;br /&gt;
A1：Check these if you found that the example we provide cannot compile.&lt;br /&gt;
&lt;br /&gt;
Whether you choose the right Board. You should choose the board you are using when compile.&lt;br /&gt;
&lt;br /&gt;
Here enter ZG2100BasedWiFiShield[[File:Cuhead 12.jpg]] , and open apps-conf.h&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 13.jpg]]&lt;br /&gt;
 &lt;br /&gt;
To prevent repeated quotation of the same file, which will cause compile error like duplicate definition and nested quoted.&lt;br /&gt;
&lt;br /&gt;
You have to change it here according to your needs. To different examples, the macro definition is different, the default is:&lt;br /&gt;
&lt;br /&gt;
'''#define APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 14.jpg]]&lt;br /&gt;
 &lt;br /&gt;
If you want to use another example, such as how to use webserver.h,&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WEBSERVER'''&lt;br /&gt;
&lt;br /&gt;
'''//#define  APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
'''Q2. Red LED（D1）not on'''&lt;br /&gt;
&lt;br /&gt;
A2：If the program has been downloaded to Arduino, yet red LED（D1）on Cuhead V1.0 is not on, which means Wi-Fi not connected,please check below part.&lt;br /&gt;
&lt;br /&gt;
Check the IP address,default gate way and subnet mask in the code if it is right with the WiFi routor settings. &lt;br /&gt;
&lt;br /&gt;
And check the SSID、PASSWORD and encryption method. Or you can reset Cuhead V2.0/Arduino module and reconnect them.&lt;br /&gt;
&lt;br /&gt;
Check the jump line parts:&lt;br /&gt;
&lt;br /&gt;
*INTX1, used to choose to interrupt mode, jump line 1, 2 pin is D8, jump line 2, 3 pin is D2. No influence on the use of  Cuhead V2.0,  not normally use.&lt;br /&gt;
&lt;br /&gt;
*Flash_sn, jump line 1, 2 pin is SS, jump line 2, 3 pin is CS, when you using Wi-Fi choice SS, make Flash invalid.&lt;br /&gt;
&lt;br /&gt;
*Wi-Fi connection indicator light, jump line 1, 2 pin. Cuhead V2.0 leave factory, need to jump line of the part we have adjusted, you can use directly.&lt;br /&gt;
&lt;br /&gt;
'''Q3. Using UNO R3'''&lt;br /&gt;
&lt;br /&gt;
A3:When Cuhead V2.0 connected to Arduino UNO R3, Cuhead V2.0 may be unable to connect to wifi. &lt;br /&gt;
&lt;br /&gt;
You need to download the latest version of the Bootloader to Arduino microcontroller (ATmegaXXXX).&lt;br /&gt;
&lt;br /&gt;
Open optiboot folder ( X: \ arduino-XXXX \ hardware \ arduino\ bootloaders \ optiboot ) &lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 15.jpg]]&lt;br /&gt;
 &lt;br /&gt;
Bootloader (.hex file) download to corresponding version of the Arduino microcontroller (ATmegaXXXX).&lt;br /&gt;
&lt;br /&gt;
'''Q4.I have your Cuhead module,but when i connect it with my Arduino Mega 2560,it is not working.what can i do now?'''&lt;br /&gt;
&lt;br /&gt;
A4:Please check the connections with the arduino board carefully,it is different with different arduino boards.&lt;br /&gt;
&lt;br /&gt;
For example,Arduino Mega uses different pins for the SPI interface than the previous boards, so you may not able to use the headers to stack the shield onto the Mega.&lt;br /&gt;
&lt;br /&gt;
And you may have to pull pins to match the correct SPI pins to get it working.&lt;br /&gt;
&lt;br /&gt;
== Support  ==&lt;br /&gt;
&lt;br /&gt;
If you have questions or other better design ideas, you can go to our [http://www.linksprite.com/forum/index.php forum] to discuss or creat a ticket for your issue at [http://www.linksprite.com/support/ linksprite support].&lt;br /&gt;
&lt;br /&gt;
== Resources  ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/article/shownews.php?lang=en&amp;amp;id=58 source code github]&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/article/shownews.php?lang=en&amp;amp;id=106 Can CuHead WiFi Shield be used with Arduino Mega?]&lt;br /&gt;
&lt;br /&gt;
== How to buy  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See Also  ==&lt;br /&gt;
&lt;br /&gt;
Other related products and resources.&lt;br /&gt;
&lt;br /&gt;
== Licensing  ==&lt;br /&gt;
&lt;br /&gt;
This documentation is licensed under the Creative Commons [http://creativecommons.org/licenses/by-sa/3.0/ Attribution-ShareAlike License 3.0] Source code and libraries are licensed under [http://www.gnu.org/licenses/gpl.html GPL/LGPL], see source code files for details.&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_V2.0&amp;diff=222</id>
		<title>CuHead WiFi Shield for Arduino V2.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_V2.0&amp;diff=222"/>
		<updated>2012-11-14T06:56:46Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* Resources */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
This document is to introduce Cuhead WiFi Shield V2.0（hereafter we call Cuhead V2.0).&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 adopt standard Arduino laminated design . It is designed to plug on Arduino  Diecimila/Duemilanove/Uno etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
== Features  ==&lt;br /&gt;
&lt;br /&gt;
'''Standard spec'''&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 has charging and discharging function, the charging circuit is used to tell voltage of the battery. &lt;br /&gt;
&lt;br /&gt;
We can connect the positive and negtive of the battery to BAT, if the battery is full, then Cuhead V2.0 wont charge battery; if it is not, the external battery will be charged.&lt;br /&gt;
&lt;br /&gt;
We bring comparator to check the operating current of Cuhead V2.0 so you know it is Arduino giving power to Cuhead V2.0 or the opposite way, and change the charging circuit to connect/disconnect based on that.&lt;br /&gt;
&lt;br /&gt;
When Cuhead V2.0 connect Arduino, there are two working status：&lt;br /&gt;
&lt;br /&gt;
*Connect Arduino with USB/Adaptor , Arduino gives power to Cuhead V2.0, the charging circuit on Cuhead V2.0 will disconnect；&lt;br /&gt;
&lt;br /&gt;
*No external power for Arduino, then the charging circuit of Cuhead V2.0 is working, and the battery will power the boards. Normally we give power to Arduino directly, thus the charging circuit is inactive.&lt;br /&gt;
&lt;br /&gt;
'''Add Potentiometer'''&lt;br /&gt;
&lt;br /&gt;
The new added potentiometer is to adjust the voltage to any value needed (by adjust AMS1117 Vin to 5.6V~6.0V). &lt;br /&gt;
&lt;br /&gt;
It is hard to do so by fixed resistance. The default voltage of Cuhead V2.0 has been set in the right voltage，normally you don't have to adjust it.&lt;br /&gt;
&lt;br /&gt;
'''Increase the Flash memory chip'''&lt;br /&gt;
&lt;br /&gt;
The increase of the Flash memory chip is serial interface of the Flash memory chip, it can work in 2.5 V-2.7 V, can be used as program code data storage. Flash memory chip and Arduino are used together SPI interface,  the speed can be up to 66 MHz. It contains 17301504 bytes, is organized for 4096 page, each page 512 or 528 bytes. In addition to main memory, the Flash memory chip also includes two SRAM data buffer, each buffer 512/528 bytes. When main memory is programming, buffer is allowed to receive the data, and to support data stream write. And the Flash memory chip allow simple in the system to programming, without having to input high programming voltage.  It can through the # CS Enable, and through the three line interface (SI, SO, SCK) in data communication.&lt;br /&gt;
&lt;br /&gt;
Because Cuhead V2.0 Flash memory chip and Arduino uses the same SPI interface, we through the Cuhead V2.0 module of the flash_sn jump line to select is public SS or CS. The flash_sn connect 1, 2 pin is SS, connect 2,3 pins for CS.&lt;br /&gt;
&lt;br /&gt;
When Cuhead V2.0 need to use Wi-Fi choose SS, make Flash is invalid, so Wi-Fi can accurately to receive information, and deal with the IP protocol. If this time not banned Flash, data through the SPI send come over, Flash and Arduino will receive the data and have the conflict.&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module Features'''&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11-compliant RF Transceiver&lt;br /&gt;
*Serialized unique MAC address&lt;br /&gt;
*Data Rate: 1 and 2 Mbps&lt;br /&gt;
*IEEE Std. 802.11b/g/n compatible&lt;br /&gt;
*Small size: 21mm x 31mm 36-pin Surface Mount Module&lt;br /&gt;
*Integrated PCB antenna (MRF24WB0MA)&lt;br /&gt;
*Range: up to 400m (1300 ft.)&lt;br /&gt;
*Single operating voltage: 2.7V–3.6V (3.3V typical)&lt;br /&gt;
*Simple, four-wire SPI interface with interrupt&lt;br /&gt;
*Low-current consumption:&lt;br /&gt;
*RX mode – 85 mA (typical)&lt;br /&gt;
*TX mode – 154 mA (+10 dBm typic&lt;br /&gt;
*Sleep – 250 µA (typical)&lt;br /&gt;
*Hibernate – &amp;lt;0.1 µA (typical)&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module RF/Analog Features'''&lt;br /&gt;
&lt;br /&gt;
*ISM Band 2.400–2.484 GHz operation&lt;br /&gt;
*14 Channels selectable individually or domain-restricted&lt;br /&gt;
*DSSS Modulation&lt;br /&gt;
*Data Rate – 1000 kbps&lt;br /&gt;
*-91 dBm Typical sensitivity at 1 Mbps&lt;br /&gt;
*+10 dBm Typical output power with control&lt;br /&gt;
*Integrated low phase noise VCO, RF frequency synthesizer, PLL loop filter and PA&lt;br /&gt;
*Digital VCO and filter calibration&lt;br /&gt;
*Integrated RSSI ADC and I/Q DACs, RSSI readings available to host&lt;br /&gt;
*Balanced receiver and transmitter characteristics for low power consumption&lt;br /&gt;
&lt;br /&gt;
'''Cuhead V2.0 MAC/Baseband Features'''&lt;br /&gt;
&lt;br /&gt;
*Hardware CSMA/CA acce ss control, automatic ACK, and FCS creation and checking&lt;br /&gt;
*Automatic MAC packet retransmit&lt;br /&gt;
*Hardware Security Engine for AES and RC4-based ciphers&lt;br /&gt;
*Supports 802.1x, 802.1i&lt;br /&gt;
*Security: WEP, WPA-PSK, and WPA-2-PSK&lt;br /&gt;
&lt;br /&gt;
== Application Ideas  ==&lt;br /&gt;
&lt;br /&gt;
*[http://v.youku.com/v_show/id_XMzkxMjI2NDgw.html Features of CuHead V2.0]&lt;br /&gt;
&lt;br /&gt;
*[http://v.youku.com/v_show/id_XMzkwNTM0OTA0.html CuHead Enabled WiFi Controllable Robot: Controlled by iPad]&lt;br /&gt;
&lt;br /&gt;
== Cautions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematic  ==&lt;br /&gt;
&lt;br /&gt;
*[http://linksprite.com/download/showdownload.php?lang=en&amp;amp;id=230 Schematics of CuHead WiFi Shield for Arduino V2.0 ]&lt;br /&gt;
&lt;br /&gt;
== Specification  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Pin definition and Rating  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Mechanic Dimensions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
'''Ready To Hardware'''	&lt;br /&gt;
*Cuhead WiFi Shield V2.0 module&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Arduino Duemilanove module&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 2.jpg]]&lt;br /&gt;
&lt;br /&gt;
*USB CABLE&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 3.jpg]]&lt;br /&gt;
 &lt;br /&gt;
'''Ready To Software'''&lt;br /&gt;
*Arduino 1.0&lt;br /&gt;
&lt;br /&gt;
Download link: [http://arduino.cc/en/Main/Software Arduino 1.0 Software]&lt;br /&gt;
&lt;br /&gt;
*ZG2100BasedWiFiShield’s Library files and code / WiFiShield’s Library files and code&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/ZG2100BasedWiFiShield ZG2100BasedWiFiShield]&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/WiShield WiShield]&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
'''Connect to WIFI'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-ZG2100BasedWiFiShield-68b2001.zip, unzip it and rename it as ZG2100BasedWiFiShield, then put it under the arduino-1.0\libraries directory.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 12.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe，choose an example such as SimpleServer.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 4.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 5.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 6.jpg]]&lt;br /&gt;
&lt;br /&gt;
*When Cuhead V2.0 connected to the router through WiFi，the red LED will turn on.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 7.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Input the IP address of Cuhead V2.0 as we set it：192.168.3.120, it showed what SimpleServer is about.（this IP is for demo）&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 8.jpg]]&lt;br /&gt;
&lt;br /&gt;
'''Download the DataFlash'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-DataFlash-e90ea99.zip , unzip it and rename it as DataFlash, then put it under the arduino-0022\libraries directory.&lt;br /&gt;
&lt;br /&gt;
*Please note: Using Arduino-0023 and Arduino-0023 the following version, download Data Flash ( DataFlash Download link: [https://github.com/linksprite/DataFlash DataFlash] ) &lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe，choose an example such as DataFlash_Intro.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 9.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 10.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Click on the Serial Monitor, COM22 window appears information.&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 11.jpg]]&lt;br /&gt;
&lt;br /&gt;
== FAQ  ==&lt;br /&gt;
&lt;br /&gt;
'''Q1. Program can't be compiled'''&lt;br /&gt;
&lt;br /&gt;
A1：Check these if you found that the example we provide cannot compile.&lt;br /&gt;
&lt;br /&gt;
Whether you choose the right Board. You should choose the board you are using when compile.&lt;br /&gt;
&lt;br /&gt;
Here enter ZG2100BasedWiFiShield[[File:Cuhead 12.jpg]] , and open apps-conf.h&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 13.jpg]]&lt;br /&gt;
 &lt;br /&gt;
To prevent repeated quotation of the same file, which will cause compile error like duplicate definition and nested quoted.&lt;br /&gt;
&lt;br /&gt;
You have to change it here according to your needs. To different examples, the macro definition is different, the default is:&lt;br /&gt;
&lt;br /&gt;
'''#define APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 14.jpg]]&lt;br /&gt;
 &lt;br /&gt;
If you want to use another example, such as how to use webserver.h,&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WEBSERVER'''&lt;br /&gt;
&lt;br /&gt;
'''//#define  APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
'''Q2. Red LED（D1）not on'''&lt;br /&gt;
&lt;br /&gt;
A2：If the program has been downloaded to Arduino, yet red LED（D1）on Cuhead V1.0 is not on, which means Wi-Fi not connected,please check below part.&lt;br /&gt;
&lt;br /&gt;
Check the IP address,default gate way and subnet mask in the code if it is right with the WiFi routor settings. &lt;br /&gt;
&lt;br /&gt;
And check the SSID、PASSWORD and encryption method. Or you can reset Cuhead V2.0/Arduino module and reconnect them.&lt;br /&gt;
&lt;br /&gt;
Check the jump line parts:&lt;br /&gt;
&lt;br /&gt;
*INTX1, used to choose to interrupt mode, jump line 1, 2 pin is D8, jump line 2, 3 pin is D2. No influence on the use of  Cuhead V2.0,  not normally use.&lt;br /&gt;
&lt;br /&gt;
*Flash_sn, jump line 1, 2 pin is SS, jump line 2, 3 pin is CS, when you using Wi-Fi choice SS, make Flash invalid.&lt;br /&gt;
&lt;br /&gt;
*Wi-Fi connection indicator light, jump line 1, 2 pin. Cuhead V2.0 leave factory, need to jump line of the part we have adjusted, you can use directly.&lt;br /&gt;
&lt;br /&gt;
'''Q3. Using UNO R3'''&lt;br /&gt;
&lt;br /&gt;
A3:When Cuhead V2.0 connected to Arduino UNO R3, Cuhead V2.0 may be unable to connect to wifi. &lt;br /&gt;
&lt;br /&gt;
You need to download the latest version of the Bootloader to Arduino microcontroller (ATmegaXXXX).&lt;br /&gt;
&lt;br /&gt;
Open optiboot folder ( X: \ arduino-XXXX \ hardware \ arduino\ bootloaders \ optiboot ) &lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 15.jpg]]&lt;br /&gt;
 &lt;br /&gt;
Bootloader (.hex file) download to corresponding version of the Arduino microcontroller (ATmegaXXXX).&lt;br /&gt;
&lt;br /&gt;
'''Q4.I have your Cuhead module,but when i connect it with my Arduino Mega 2560,it is not working.what can i do now?'''&lt;br /&gt;
&lt;br /&gt;
A4:Please check the connections with the arduino board carefully,it is different with different arduino boards.&lt;br /&gt;
&lt;br /&gt;
For example,Arduino Mega uses different pins for the SPI interface than the previous boards, so you may not able to use the headers to stack the shield onto the Mega.&lt;br /&gt;
&lt;br /&gt;
And you may have to pull pins to match the correct SPI pins to get it working.&lt;br /&gt;
&lt;br /&gt;
== Support  ==&lt;br /&gt;
&lt;br /&gt;
If you have questions or other better design ideas, you can go to our [http://www.linksprite.com/forum/index.php forum] to discuss or creat a ticket for your issue at [http://www.linksprite.com/support/ linksprite support].&lt;br /&gt;
&lt;br /&gt;
== Resources  ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/download/showdownload.php?lang=en&amp;amp;id=233 Cuhead WiFi Shield V2.0 User Manual]&lt;br /&gt;
&lt;br /&gt;
*[http://www.cutedigi.com/pub/Arduino/CuHead/HowToCompileCuHeadSampleCodeforArduinoUno.pdf How To Compile CuHead Sample Code for ArduinoUno]&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/article/shownews.php?lang=en&amp;amp;id=58 source code github]&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/article/shownews.php?lang=en&amp;amp;id=106 Can CuHead WiFi Shield be used with Arduino Mega?]&lt;br /&gt;
&lt;br /&gt;
== How to buy  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See Also  ==&lt;br /&gt;
&lt;br /&gt;
Other related products and resources.&lt;br /&gt;
&lt;br /&gt;
== Licensing  ==&lt;br /&gt;
&lt;br /&gt;
This documentation is licensed under the Creative Commons [http://creativecommons.org/licenses/by-sa/3.0/ Attribution-ShareAlike License 3.0] Source code and libraries are licensed under [http://www.gnu.org/licenses/gpl.html GPL/LGPL], see source code files for details.&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_V2.0&amp;diff=220</id>
		<title>CuHead WiFi Shield for Arduino V2.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_V2.0&amp;diff=220"/>
		<updated>2012-11-14T06:34:57Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* Schematic */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
This document is to introduce Cuhead WiFi Shield V2.0（hereafter we call Cuhead V2.0).&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 adopt standard Arduino laminated design . It is designed to plug on Arduino  Diecimila/Duemilanove/Uno etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
== Features  ==&lt;br /&gt;
&lt;br /&gt;
'''Standard spec'''&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 has charging and discharging function, the charging circuit is used to tell voltage of the battery. &lt;br /&gt;
&lt;br /&gt;
We can connect the positive and negtive of the battery to BAT, if the battery is full, then Cuhead V2.0 wont charge battery; if it is not, the external battery will be charged.&lt;br /&gt;
&lt;br /&gt;
We bring comparator to check the operating current of Cuhead V2.0 so you know it is Arduino giving power to Cuhead V2.0 or the opposite way, and change the charging circuit to connect/disconnect based on that.&lt;br /&gt;
&lt;br /&gt;
When Cuhead V2.0 connect Arduino, there are two working status：&lt;br /&gt;
&lt;br /&gt;
*Connect Arduino with USB/Adaptor , Arduino gives power to Cuhead V2.0, the charging circuit on Cuhead V2.0 will disconnect；&lt;br /&gt;
&lt;br /&gt;
*No external power for Arduino, then the charging circuit of Cuhead V2.0 is working, and the battery will power the boards. Normally we give power to Arduino directly, thus the charging circuit is inactive.&lt;br /&gt;
&lt;br /&gt;
'''Add Potentiometer'''&lt;br /&gt;
&lt;br /&gt;
The new added potentiometer is to adjust the voltage to any value needed (by adjust AMS1117 Vin to 5.6V~6.0V). &lt;br /&gt;
&lt;br /&gt;
It is hard to do so by fixed resistance. The default voltage of Cuhead V2.0 has been set in the right voltage，normally you don't have to adjust it.&lt;br /&gt;
&lt;br /&gt;
'''Increase the Flash memory chip'''&lt;br /&gt;
&lt;br /&gt;
The increase of the Flash memory chip is serial interface of the Flash memory chip, it can work in 2.5 V-2.7 V, can be used as program code data storage. Flash memory chip and Arduino are used together SPI interface,  the speed can be up to 66 MHz. It contains 17301504 bytes, is organized for 4096 page, each page 512 or 528 bytes. In addition to main memory, the Flash memory chip also includes two SRAM data buffer, each buffer 512/528 bytes. When main memory is programming, buffer is allowed to receive the data, and to support data stream write. And the Flash memory chip allow simple in the system to programming, without having to input high programming voltage.  It can through the # CS Enable, and through the three line interface (SI, SO, SCK) in data communication.&lt;br /&gt;
&lt;br /&gt;
Because Cuhead V2.0 Flash memory chip and Arduino uses the same SPI interface, we through the Cuhead V2.0 module of the flash_sn jump line to select is public SS or CS. The flash_sn connect 1, 2 pin is SS, connect 2,3 pins for CS.&lt;br /&gt;
&lt;br /&gt;
When Cuhead V2.0 need to use Wi-Fi choose SS, make Flash is invalid, so Wi-Fi can accurately to receive information, and deal with the IP protocol. If this time not banned Flash, data through the SPI send come over, Flash and Arduino will receive the data and have the conflict.&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module Features'''&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11-compliant RF Transceiver&lt;br /&gt;
*Serialized unique MAC address&lt;br /&gt;
*Data Rate: 1 and 2 Mbps&lt;br /&gt;
*IEEE Std. 802.11b/g/n compatible&lt;br /&gt;
*Small size: 21mm x 31mm 36-pin Surface Mount Module&lt;br /&gt;
*Integrated PCB antenna (MRF24WB0MA)&lt;br /&gt;
*Range: up to 400m (1300 ft.)&lt;br /&gt;
*Single operating voltage: 2.7V–3.6V (3.3V typical)&lt;br /&gt;
*Simple, four-wire SPI interface with interrupt&lt;br /&gt;
*Low-current consumption:&lt;br /&gt;
*RX mode – 85 mA (typical)&lt;br /&gt;
*TX mode – 154 mA (+10 dBm typic&lt;br /&gt;
*Sleep – 250 µA (typical)&lt;br /&gt;
*Hibernate – &amp;lt;0.1 µA (typical)&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module RF/Analog Features'''&lt;br /&gt;
&lt;br /&gt;
*ISM Band 2.400–2.484 GHz operation&lt;br /&gt;
*14 Channels selectable individually or domain-restricted&lt;br /&gt;
*DSSS Modulation&lt;br /&gt;
*Data Rate – 1000 kbps&lt;br /&gt;
*-91 dBm Typical sensitivity at 1 Mbps&lt;br /&gt;
*+10 dBm Typical output power with control&lt;br /&gt;
*Integrated low phase noise VCO, RF frequency synthesizer, PLL loop filter and PA&lt;br /&gt;
*Digital VCO and filter calibration&lt;br /&gt;
*Integrated RSSI ADC and I/Q DACs, RSSI readings available to host&lt;br /&gt;
*Balanced receiver and transmitter characteristics for low power consumption&lt;br /&gt;
&lt;br /&gt;
'''Cuhead V2.0 MAC/Baseband Features'''&lt;br /&gt;
&lt;br /&gt;
*Hardware CSMA/CA acce ss control, automatic ACK, and FCS creation and checking&lt;br /&gt;
*Automatic MAC packet retransmit&lt;br /&gt;
*Hardware Security Engine for AES and RC4-based ciphers&lt;br /&gt;
*Supports 802.1x, 802.1i&lt;br /&gt;
*Security: WEP, WPA-PSK, and WPA-2-PSK&lt;br /&gt;
&lt;br /&gt;
== Application Ideas  ==&lt;br /&gt;
&lt;br /&gt;
*[http://v.youku.com/v_show/id_XMzkxMjI2NDgw.html Features of CuHead V2.0]&lt;br /&gt;
&lt;br /&gt;
*[http://v.youku.com/v_show/id_XMzkwNTM0OTA0.html CuHead Enabled WiFi Controllable Robot: Controlled by iPad]&lt;br /&gt;
&lt;br /&gt;
== Cautions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematic  ==&lt;br /&gt;
&lt;br /&gt;
*[http://linksprite.com/download/showdownload.php?lang=en&amp;amp;id=230 Schematics of CuHead WiFi Shield for Arduino V2.0 ]&lt;br /&gt;
&lt;br /&gt;
== Specification  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Pin definition and Rating  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Mechanic Dimensions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
'''Ready To Hardware'''	&lt;br /&gt;
*Cuhead WiFi Shield V2.0 module&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Arduino Duemilanove module&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 2.jpg]]&lt;br /&gt;
&lt;br /&gt;
*USB CABLE&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 3.jpg]]&lt;br /&gt;
 &lt;br /&gt;
'''Ready To Software'''&lt;br /&gt;
*Arduino 1.0&lt;br /&gt;
&lt;br /&gt;
Download link: [http://arduino.cc/en/Main/Software Arduino 1.0 Software]&lt;br /&gt;
&lt;br /&gt;
*ZG2100BasedWiFiShield’s Library files and code / WiFiShield’s Library files and code&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/ZG2100BasedWiFiShield ZG2100BasedWiFiShield]&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/WiShield WiShield]&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
'''Connect to WIFI'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-ZG2100BasedWiFiShield-68b2001.zip, unzip it and rename it as ZG2100BasedWiFiShield, then put it under the arduino-1.0\libraries directory.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 12.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe，choose an example such as SimpleServer.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 4.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 5.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 6.jpg]]&lt;br /&gt;
&lt;br /&gt;
*When Cuhead V2.0 connected to the router through WiFi，the red LED will turn on.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 7.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Input the IP address of Cuhead V2.0 as we set it：192.168.3.120, it showed what SimpleServer is about.（this IP is for demo）&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 8.jpg]]&lt;br /&gt;
&lt;br /&gt;
'''Download the DataFlash'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-DataFlash-e90ea99.zip , unzip it and rename it as DataFlash, then put it under the arduino-0022\libraries directory.&lt;br /&gt;
&lt;br /&gt;
*Please note: Using Arduino-0023 and Arduino-0023 the following version, download Data Flash ( DataFlash Download link: [https://github.com/linksprite/DataFlash DataFlash] ) &lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe，choose an example such as DataFlash_Intro.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 9.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 10.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Click on the Serial Monitor, COM22 window appears information.&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 11.jpg]]&lt;br /&gt;
&lt;br /&gt;
== FAQ  ==&lt;br /&gt;
&lt;br /&gt;
'''Q1. Program can't be compiled'''&lt;br /&gt;
&lt;br /&gt;
A1：Check these if you found that the example we provide cannot compile.&lt;br /&gt;
&lt;br /&gt;
Whether you choose the right Board. You should choose the board you are using when compile.&lt;br /&gt;
&lt;br /&gt;
Here enter ZG2100BasedWiFiShield[[File:Cuhead 12.jpg]] , and open apps-conf.h&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 13.jpg]]&lt;br /&gt;
 &lt;br /&gt;
To prevent repeated quotation of the same file, which will cause compile error like duplicate definition and nested quoted.&lt;br /&gt;
&lt;br /&gt;
You have to change it here according to your needs. To different examples, the macro definition is different, the default is:&lt;br /&gt;
&lt;br /&gt;
'''#define APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 14.jpg]]&lt;br /&gt;
 &lt;br /&gt;
If you want to use another example, such as how to use webserver.h,&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WEBSERVER'''&lt;br /&gt;
&lt;br /&gt;
'''//#define  APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
'''Q2. Red LED（D1）not on'''&lt;br /&gt;
&lt;br /&gt;
A2：If the program has been downloaded to Arduino, yet red LED（D1）on Cuhead V1.0 is not on, which means Wi-Fi not connected,please check below part.&lt;br /&gt;
&lt;br /&gt;
Check the IP address,default gate way and subnet mask in the code if it is right with the WiFi routor settings. &lt;br /&gt;
&lt;br /&gt;
And check the SSID、PASSWORD and encryption method. Or you can reset Cuhead V2.0/Arduino module and reconnect them.&lt;br /&gt;
&lt;br /&gt;
Check the jump line parts:&lt;br /&gt;
&lt;br /&gt;
*INTX1, used to choose to interrupt mode, jump line 1, 2 pin is D8, jump line 2, 3 pin is D2. No influence on the use of  Cuhead V2.0,  not normally use.&lt;br /&gt;
&lt;br /&gt;
*Flash_sn, jump line 1, 2 pin is SS, jump line 2, 3 pin is CS, when you using Wi-Fi choice SS, make Flash invalid.&lt;br /&gt;
&lt;br /&gt;
*Wi-Fi connection indicator light, jump line 1, 2 pin. Cuhead V2.0 leave factory, need to jump line of the part we have adjusted, you can use directly.&lt;br /&gt;
&lt;br /&gt;
'''Q3. Using UNO R3'''&lt;br /&gt;
&lt;br /&gt;
A3:When Cuhead V2.0 connected to Arduino UNO R3, Cuhead V2.0 may be unable to connect to wifi. &lt;br /&gt;
&lt;br /&gt;
You need to download the latest version of the Bootloader to Arduino microcontroller (ATmegaXXXX).&lt;br /&gt;
&lt;br /&gt;
Open optiboot folder ( X: \ arduino-XXXX \ hardware \ arduino\ bootloaders \ optiboot ) &lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 15.jpg]]&lt;br /&gt;
 &lt;br /&gt;
Bootloader (.hex file) download to corresponding version of the Arduino microcontroller (ATmegaXXXX).&lt;br /&gt;
&lt;br /&gt;
'''Q4.I have your Cuhead module,but when i connect it with my Arduino Mega 2560,it is not working.what can i do now?'''&lt;br /&gt;
&lt;br /&gt;
A4:Please check the connections with the arduino board carefully,it is different with different arduino boards.&lt;br /&gt;
&lt;br /&gt;
For example,Arduino Mega uses different pins for the SPI interface than the previous boards, so you may not able to use the headers to stack the shield onto the Mega.&lt;br /&gt;
&lt;br /&gt;
And you may have to pull pins to match the correct SPI pins to get it working.&lt;br /&gt;
&lt;br /&gt;
== Support  ==&lt;br /&gt;
&lt;br /&gt;
If you have questions or other better design ideas, you can go to our [http://www.linksprite.com/forum/index.php forum] to discuss or creat a ticket for your issue at [http://www.linksprite.com/support/ linksprite support].&lt;br /&gt;
&lt;br /&gt;
== Resources  ==&lt;br /&gt;
&lt;br /&gt;
*[Cuhead WiFi Shield V2.0 User Manual]&lt;br /&gt;
&lt;br /&gt;
*[http://www.cutedigi.com/pub/Arduino/CuHead/HowToCompileCuHeadSampleCodeforArduinoUno.pdf How To Compile CuHead Sample Code for ArduinoUno]&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/article/shownews.php?lang=en&amp;amp;id=58 source code github]&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/article/shownews.php?lang=en&amp;amp;id=106 Can CuHead WiFi Shield be used with Arduino Mega?]&lt;br /&gt;
&lt;br /&gt;
== How to buy  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See Also  ==&lt;br /&gt;
&lt;br /&gt;
Other related products and resources.&lt;br /&gt;
&lt;br /&gt;
== Licensing  ==&lt;br /&gt;
&lt;br /&gt;
This documentation is licensed under the Creative Commons [http://creativecommons.org/licenses/by-sa/3.0/ Attribution-ShareAlike License 3.0] Source code and libraries are licensed under [http://www.gnu.org/licenses/gpl.html GPL/LGPL], see source code files for details.&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_V2.0&amp;diff=219</id>
		<title>CuHead WiFi Shield for Arduino V2.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.linksprite.com/index.php?title=CuHead_WiFi_Shield_for_Arduino_V2.0&amp;diff=219"/>
		<updated>2012-11-14T06:34:28Z</updated>

		<summary type="html">&lt;p&gt;Nancy: /* Schematic */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
This document is to introduce Cuhead WiFi Shield V2.0（hereafter we call Cuhead V2.0).&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 use low consumption MRF24WB0MA embedded Wi-Fi Transceiver Module，match 2.4 GHz IEEE 802.11b™ RF Standard.&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 adopt standard Arduino laminated design . It is designed to plug on Arduino  Diecimila/Duemilanove/Uno etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
== Features  ==&lt;br /&gt;
&lt;br /&gt;
'''Standard spec'''&lt;br /&gt;
&lt;br /&gt;
Cuhead V2.0 has charging and discharging function, the charging circuit is used to tell voltage of the battery. &lt;br /&gt;
&lt;br /&gt;
We can connect the positive and negtive of the battery to BAT, if the battery is full, then Cuhead V2.0 wont charge battery; if it is not, the external battery will be charged.&lt;br /&gt;
&lt;br /&gt;
We bring comparator to check the operating current of Cuhead V2.0 so you know it is Arduino giving power to Cuhead V2.0 or the opposite way, and change the charging circuit to connect/disconnect based on that.&lt;br /&gt;
&lt;br /&gt;
When Cuhead V2.0 connect Arduino, there are two working status：&lt;br /&gt;
&lt;br /&gt;
*Connect Arduino with USB/Adaptor , Arduino gives power to Cuhead V2.0, the charging circuit on Cuhead V2.0 will disconnect；&lt;br /&gt;
&lt;br /&gt;
*No external power for Arduino, then the charging circuit of Cuhead V2.0 is working, and the battery will power the boards. Normally we give power to Arduino directly, thus the charging circuit is inactive.&lt;br /&gt;
&lt;br /&gt;
'''Add Potentiometer'''&lt;br /&gt;
&lt;br /&gt;
The new added potentiometer is to adjust the voltage to any value needed (by adjust AMS1117 Vin to 5.6V~6.0V). &lt;br /&gt;
&lt;br /&gt;
It is hard to do so by fixed resistance. The default voltage of Cuhead V2.0 has been set in the right voltage，normally you don't have to adjust it.&lt;br /&gt;
&lt;br /&gt;
'''Increase the Flash memory chip'''&lt;br /&gt;
&lt;br /&gt;
The increase of the Flash memory chip is serial interface of the Flash memory chip, it can work in 2.5 V-2.7 V, can be used as program code data storage. Flash memory chip and Arduino are used together SPI interface,  the speed can be up to 66 MHz. It contains 17301504 bytes, is organized for 4096 page, each page 512 or 528 bytes. In addition to main memory, the Flash memory chip also includes two SRAM data buffer, each buffer 512/528 bytes. When main memory is programming, buffer is allowed to receive the data, and to support data stream write. And the Flash memory chip allow simple in the system to programming, without having to input high programming voltage.  It can through the # CS Enable, and through the three line interface (SI, SO, SCK) in data communication.&lt;br /&gt;
&lt;br /&gt;
Because Cuhead V2.0 Flash memory chip and Arduino uses the same SPI interface, we through the Cuhead V2.0 module of the flash_sn jump line to select is public SS or CS. The flash_sn connect 1, 2 pin is SS, connect 2,3 pins for CS.&lt;br /&gt;
&lt;br /&gt;
When Cuhead V2.0 need to use Wi-Fi choose SS, make Flash is invalid, so Wi-Fi can accurately to receive information, and deal with the IP protocol. If this time not banned Flash, data through the SPI send come over, Flash and Arduino will receive the data and have the conflict.&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module Features'''&lt;br /&gt;
&lt;br /&gt;
*IEEE Std. 802.11-compliant RF Transceiver&lt;br /&gt;
*Serialized unique MAC address&lt;br /&gt;
*Data Rate: 1 and 2 Mbps&lt;br /&gt;
*IEEE Std. 802.11b/g/n compatible&lt;br /&gt;
*Small size: 21mm x 31mm 36-pin Surface Mount Module&lt;br /&gt;
*Integrated PCB antenna (MRF24WB0MA)&lt;br /&gt;
*Range: up to 400m (1300 ft.)&lt;br /&gt;
*Single operating voltage: 2.7V–3.6V (3.3V typical)&lt;br /&gt;
*Simple, four-wire SPI interface with interrupt&lt;br /&gt;
*Low-current consumption:&lt;br /&gt;
*RX mode – 85 mA (typical)&lt;br /&gt;
*TX mode – 154 mA (+10 dBm typic&lt;br /&gt;
*Sleep – 250 µA (typical)&lt;br /&gt;
*Hibernate – &amp;lt;0.1 µA (typical)&lt;br /&gt;
&lt;br /&gt;
'''Wi-Fi Transceiver Module RF/Analog Features'''&lt;br /&gt;
&lt;br /&gt;
*ISM Band 2.400–2.484 GHz operation&lt;br /&gt;
*14 Channels selectable individually or domain-restricted&lt;br /&gt;
*DSSS Modulation&lt;br /&gt;
*Data Rate – 1000 kbps&lt;br /&gt;
*-91 dBm Typical sensitivity at 1 Mbps&lt;br /&gt;
*+10 dBm Typical output power with control&lt;br /&gt;
*Integrated low phase noise VCO, RF frequency synthesizer, PLL loop filter and PA&lt;br /&gt;
*Digital VCO and filter calibration&lt;br /&gt;
*Integrated RSSI ADC and I/Q DACs, RSSI readings available to host&lt;br /&gt;
*Balanced receiver and transmitter characteristics for low power consumption&lt;br /&gt;
&lt;br /&gt;
'''Cuhead V2.0 MAC/Baseband Features'''&lt;br /&gt;
&lt;br /&gt;
*Hardware CSMA/CA acce ss control, automatic ACK, and FCS creation and checking&lt;br /&gt;
*Automatic MAC packet retransmit&lt;br /&gt;
*Hardware Security Engine for AES and RC4-based ciphers&lt;br /&gt;
*Supports 802.1x, 802.1i&lt;br /&gt;
*Security: WEP, WPA-PSK, and WPA-2-PSK&lt;br /&gt;
&lt;br /&gt;
== Application Ideas  ==&lt;br /&gt;
&lt;br /&gt;
*[http://v.youku.com/v_show/id_XMzkxMjI2NDgw.html Features of CuHead V2.0]&lt;br /&gt;
&lt;br /&gt;
*[http://v.youku.com/v_show/id_XMzkwNTM0OTA0.html CuHead Enabled WiFi Controllable Robot: Controlled by iPad]&lt;br /&gt;
&lt;br /&gt;
== Cautions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematic  ==&lt;br /&gt;
&lt;br /&gt;
*[http://linksprite.com/download/showdownload.php?lang=en&amp;amp;id=230 Schematics of CopperHead V2]&lt;br /&gt;
&lt;br /&gt;
== Specification  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Pin definition and Rating  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Mechanic Dimensions  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Usage  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hardware Installation  ===&lt;br /&gt;
'''Ready To Hardware'''	&lt;br /&gt;
*Cuhead WiFi Shield V2.0 module&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Arduino Duemilanove module&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 2.jpg]]&lt;br /&gt;
&lt;br /&gt;
*USB CABLE&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 3.jpg]]&lt;br /&gt;
 &lt;br /&gt;
'''Ready To Software'''&lt;br /&gt;
*Arduino 1.0&lt;br /&gt;
&lt;br /&gt;
Download link: [http://arduino.cc/en/Main/Software Arduino 1.0 Software]&lt;br /&gt;
&lt;br /&gt;
*ZG2100BasedWiFiShield’s Library files and code / WiFiShield’s Library files and code&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/ZG2100BasedWiFiShield ZG2100BasedWiFiShield]&lt;br /&gt;
 &lt;br /&gt;
Download link: [https://github.com/linksprite/WiShield WiShield]&lt;br /&gt;
&lt;br /&gt;
=== Programming  ===&lt;br /&gt;
&lt;br /&gt;
'''Connect to WIFI'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-ZG2100BasedWiFiShield-68b2001.zip, unzip it and rename it as ZG2100BasedWiFiShield, then put it under the arduino-1.0\libraries directory.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 12.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe，choose an example such as SimpleServer.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 4.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Change the settings, input the right IP address, default gateway and subnet mask according to your wireless router settings.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 5.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 6.jpg]]&lt;br /&gt;
&lt;br /&gt;
*When Cuhead V2.0 connected to the router through WiFi，the red LED will turn on.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 7.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Input the IP address of Cuhead V2.0 as we set it：192.168.3.120, it showed what SimpleServer is about.（this IP is for demo）&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 8.jpg]]&lt;br /&gt;
&lt;br /&gt;
'''Download the DataFlash'''&lt;br /&gt;
&lt;br /&gt;
*Download file : linksprite-DataFlash-e90ea99.zip , unzip it and rename it as DataFlash, then put it under the arduino-0022\libraries directory.&lt;br /&gt;
&lt;br /&gt;
*Please note: Using Arduino-0023 and Arduino-0023 the following version, download Data Flash ( DataFlash Download link: [https://github.com/linksprite/DataFlash DataFlash] ) &lt;br /&gt;
&lt;br /&gt;
*Open arduino.exe，choose an example such as DataFlash_Intro.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 9.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Choose the right Serial Port and Board.&lt;br /&gt;
&lt;br /&gt;
 [[File:Cuhead 10.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Click on the Serial Monitor, COM22 window appears information.&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 11.jpg]]&lt;br /&gt;
&lt;br /&gt;
== FAQ  ==&lt;br /&gt;
&lt;br /&gt;
'''Q1. Program can't be compiled'''&lt;br /&gt;
&lt;br /&gt;
A1：Check these if you found that the example we provide cannot compile.&lt;br /&gt;
&lt;br /&gt;
Whether you choose the right Board. You should choose the board you are using when compile.&lt;br /&gt;
&lt;br /&gt;
Here enter ZG2100BasedWiFiShield[[File:Cuhead 12.jpg]] , and open apps-conf.h&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 13.jpg]]&lt;br /&gt;
 &lt;br /&gt;
To prevent repeated quotation of the same file, which will cause compile error like duplicate definition and nested quoted.&lt;br /&gt;
&lt;br /&gt;
You have to change it here according to your needs. To different examples, the macro definition is different, the default is:&lt;br /&gt;
&lt;br /&gt;
'''#define APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 14.jpg]]&lt;br /&gt;
 &lt;br /&gt;
If you want to use another example, such as how to use webserver.h,&lt;br /&gt;
&lt;br /&gt;
'''#define  APP_WEBSERVER'''&lt;br /&gt;
&lt;br /&gt;
'''//#define  APP_WISERVER'''&lt;br /&gt;
&lt;br /&gt;
'''Q2. Red LED（D1）not on'''&lt;br /&gt;
&lt;br /&gt;
A2：If the program has been downloaded to Arduino, yet red LED（D1）on Cuhead V1.0 is not on, which means Wi-Fi not connected,please check below part.&lt;br /&gt;
&lt;br /&gt;
Check the IP address,default gate way and subnet mask in the code if it is right with the WiFi routor settings. &lt;br /&gt;
&lt;br /&gt;
And check the SSID、PASSWORD and encryption method. Or you can reset Cuhead V2.0/Arduino module and reconnect them.&lt;br /&gt;
&lt;br /&gt;
Check the jump line parts:&lt;br /&gt;
&lt;br /&gt;
*INTX1, used to choose to interrupt mode, jump line 1, 2 pin is D8, jump line 2, 3 pin is D2. No influence on the use of  Cuhead V2.0,  not normally use.&lt;br /&gt;
&lt;br /&gt;
*Flash_sn, jump line 1, 2 pin is SS, jump line 2, 3 pin is CS, when you using Wi-Fi choice SS, make Flash invalid.&lt;br /&gt;
&lt;br /&gt;
*Wi-Fi connection indicator light, jump line 1, 2 pin. Cuhead V2.0 leave factory, need to jump line of the part we have adjusted, you can use directly.&lt;br /&gt;
&lt;br /&gt;
'''Q3. Using UNO R3'''&lt;br /&gt;
&lt;br /&gt;
A3:When Cuhead V2.0 connected to Arduino UNO R3, Cuhead V2.0 may be unable to connect to wifi. &lt;br /&gt;
&lt;br /&gt;
You need to download the latest version of the Bootloader to Arduino microcontroller (ATmegaXXXX).&lt;br /&gt;
&lt;br /&gt;
Open optiboot folder ( X: \ arduino-XXXX \ hardware \ arduino\ bootloaders \ optiboot ) &lt;br /&gt;
&lt;br /&gt;
[[File:Cuhead 15.jpg]]&lt;br /&gt;
 &lt;br /&gt;
Bootloader (.hex file) download to corresponding version of the Arduino microcontroller (ATmegaXXXX).&lt;br /&gt;
&lt;br /&gt;
'''Q4.I have your Cuhead module,but when i connect it with my Arduino Mega 2560,it is not working.what can i do now?'''&lt;br /&gt;
&lt;br /&gt;
A4:Please check the connections with the arduino board carefully,it is different with different arduino boards.&lt;br /&gt;
&lt;br /&gt;
For example,Arduino Mega uses different pins for the SPI interface than the previous boards, so you may not able to use the headers to stack the shield onto the Mega.&lt;br /&gt;
&lt;br /&gt;
And you may have to pull pins to match the correct SPI pins to get it working.&lt;br /&gt;
&lt;br /&gt;
== Support  ==&lt;br /&gt;
&lt;br /&gt;
If you have questions or other better design ideas, you can go to our [http://www.linksprite.com/forum/index.php forum] to discuss or creat a ticket for your issue at [http://www.linksprite.com/support/ linksprite support].&lt;br /&gt;
&lt;br /&gt;
== Resources  ==&lt;br /&gt;
&lt;br /&gt;
*[Cuhead WiFi Shield V2.0 User Manual]&lt;br /&gt;
&lt;br /&gt;
*[http://www.cutedigi.com/pub/Arduino/CuHead/HowToCompileCuHeadSampleCodeforArduinoUno.pdf How To Compile CuHead Sample Code for ArduinoUno]&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/article/shownews.php?lang=en&amp;amp;id=58 source code github]&lt;br /&gt;
&lt;br /&gt;
*[http://www.linksprite.com/article/shownews.php?lang=en&amp;amp;id=106 Can CuHead WiFi Shield be used with Arduino Mega?]&lt;br /&gt;
&lt;br /&gt;
== How to buy  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See Also  ==&lt;br /&gt;
&lt;br /&gt;
Other related products and resources.&lt;br /&gt;
&lt;br /&gt;
== Licensing  ==&lt;br /&gt;
&lt;br /&gt;
This documentation is licensed under the Creative Commons [http://creativecommons.org/licenses/by-sa/3.0/ Attribution-ShareAlike License 3.0] Source code and libraries are licensed under [http://www.gnu.org/licenses/gpl.html GPL/LGPL], see source code files for details.&lt;/div&gt;</summary>
		<author><name>Nancy</name></author>
		
	</entry>
</feed>