Home

Cuhead WiFi Shield V2.0 User Manual

image

Contents

1. 0 the charging circuit on Cuhead V2 0 will disconnect 2 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 1 2 2 Add Potentiometer The new added potentiometer is to adjust the voltage to any value needed by adjust AMSIII7 Vin to 5 6V 6 0V 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 1 2 3 Increase the Flash memory chip 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 1s 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 Because Cuhead V2 0 Flash memory chip and Arduino uses the same SPI interface we through the Cuhead V2 0
2. H IRre mote k A LiquidCrystal Matrix ewsoftserial b Binary sketch size 3504 bytes lof D p Servo k SP stepper k Wire shield b Choose the right Serial Port and Board 15 N LinkSprite LinkSprite Technologies Inc xs Binary sketch size HAT ols Help Auto Format Archive sketch Fix Encoding amp Reload Serial Monitor Ctrl T Ctrl e Shift hd Board serial Port V Pt write Burn Bootloader is irn D dflash Buffer Write Byte l i 0 fe transfer the data from Page O in the DataFlazh into the SRAM buffer 1 x dflash Fage To Buffer O 1 f print the integers from the SRAM buffer 1 to the serial port for ki 0 1 4 10 itt 1 Serial print dflash Buffer Read Byte l 3504 bytes fof a 30720 byte mazimum Ar iasrrelit A Fr EI DOLLS GO Di Binary sketch size program the data in the SRAM buffer 1 to Page O in the DataFlash dflash Buffer To Page l 0 f write zeros into the SRAM buffer 1 for O 1 4 10 itt 1 dflash Buffer Write Byte l i QJ Pk transfer the data from Page O in the DataFlash into the SRAM buffer 1 dflash Page To Buffer 0 1 fk print the integers from the SRAM buffer 1 to the serial port for ki 0 i 10 i Serial print dflash Buffer Read Byte 1 3504 bytes of a 30720 byte mazimum 16 Cuhead WiFi Shield V2 0 User Manual Ardu
3. hd aimpleServer EN C9 define WIRELESS ho Board b Arduino Uno define WIRELESS Serial Port pod Arduino Duemilanove w amp Tmeqa328 Mise uus soup Arduina Diecimila ar Duemilanove wy ATrmegal6s is PLES LL p b unsigned char loc de nes dd Arduino Nano w amp Tmega328 Burn Bootloader unsigned char gat ray rpi VEADOS ey 131 311 Arduino Nano wi ATmegalho unsigned char subnet maski 1255 255 255 0 4 subg Arduino Mega 2560 or Mega ADK const prog char ssid PROGMEM LS TEST Arduino Mega ATmegal28ll Arduina Mini wy amp Tmega328 unsigned char security type D fy OD open 1 ee Arduino Mini wy ATrmegalho Arduino Ethernet ff WAWA passphrase const prog char security passphrase PROGMEM links ias iate Fp Arduino BT w amp Tmega328 WEF 128 bit Keys Arduino BT w ATmegal6s Af sample HEX keys LilyPad Arduino w ATmega328 LilyPad Arduino w amp Tmegalb8 Arduina Pra or Pro Mini SV 16 MHz wy amp Tmega328 Arduina Pro or Pro Mini 5 16 MHz wy amp Tmegalb8 Arduina Pra or Pro Mini 3 3V 8 MHz w amp Tmegqa328 Arduina Pro or Pro Mini 3 3V 8 MHz w ATrmegalds Arduina NG or older w ATrmegalho Arduino WG or older wy ATrmegas Arduino Duemilanewe wy amp Tmega328 on COMO prog uchar wep_keys PROGMEM i 0x01 0x02 0403 Ox0 4 n 13 N LinkSprite LinkSprite Technologies Inc When Cuhead V2 0 connected to the router through WiFi the red LED will t
4. k P b stepper k Wire k FG2100BasedWiFiShield P Flash simpleClient Simple serrer simple Tweeter Socket pp UDP App Web ent Webserver Arduino Duemilanowe my AT mega Change the settings input the right IP address default gateway and subnet mask according to your wireless router settings 12 N LinkSprite LinkSprite Technologies Inc Cuhead WiFi Shield V2 0 User Manual define WIRELESS MODE INFRA 1 define WIRELESS MODE ADHOC E fae Lets eonfisuratron pak am eer ett tt tt et et tt unsigned char local ip 192 166 3 120 ff IP address of WiShield unsigned char gateway ip 1192 188 3 254 router or gateway IP addres unsigned char subnet maskl 1255 255 255 0 5 subnet mask for the local n const prog char ssid PROGMEM LS TEST if max 32 bytes Em unsigned char security type 3 FE ped i WEB NR ee ER Of WEA WEA passphras const prog char security passphrase PROGMEM LinkspriteOO1 if max fj WEP 128 bit keys ff sample HEX keys prog uchar wep keys PROGMEM i Ox01 Ox02 Ox03 Ox04 0x05 Ox06 Ox0T Dx 4 IM p Binary sketch size 17934 bytes of a 126976 byte mazimum Choose the right Serial Port and Board E SOS RECOM rapa ra QU File Edit Sketch Tools Help i raik PRP re HITO SE m i BC File Edit Sketch Tools Help sketa Auto Format Ctrl T Archive Sketch Fix Encoding amp Reload Serial Monitor Ctrl Shift
5. 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 When Cuhead V2 0 need to use Wi Fi choose SS make Flash is invalid so N LinkSprite LinkSprite Technologies Inc Cuhead WiFi Shield V2 0 User Manual 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 1 2 4 Wi Fi Transceiver Module Features IEEE Std 802 11 compliant RF Transceiver Serialized unique MAC address Data Rate 1 and 2 Mbps IEEE Std 802 11b g n compatible Small size 21mm x 31mm 36 pin Surface Mount Module Integrated PCB antenna MRF24WBOMA Range up to 400m 1300 ft Single operating voltage 2 7V 3 6V 3 3V typical Simple four wire SPI interface with interrupt Low current consumption RX mode 85 mA typical TX mode 154 mA 10 dBm typic Sleep 250 uA typical Hibernate 0 1 uA typical 1 2 5 Wi Fi Transceiver Module RF Analog Features ISM Band 2 400 2 484 GHz operation 14 Channels selectable individually or domain restricted DSSS Modulation Data Rate 1000 kbps 91 dBm Typical sensitivity at 1 Mbps 10 dBm Typical output power with control Integrated low phase noise VCO RF frequency synthesizer PLL loop filter and PA N LinkSprite LinkSprite Technologies I
6. un ne aes e ace e Un Vu ana reas ia 14 270 17 OT Propran cant De Compass asian sadias mes ubi ateu run 17 Q2 Red LED D1 noton nee seen 18 O SUS UNOR 9 P asadi ads 19 N LinkSprite LinkSprite Technologies Inc Cuhead WiFi Shield V2 0 User Manual 1 Product Introduction 1 1 Cuhead WiFi Shield V2 0 This document is to introduce Cuhead WiFi Shield V2 0 Chereafter we call Cuhead V2 0 Cuhead V2 0 use low consumption MRF24WBOMA embedded Wi Fi Transceiver Module match 2 4 GHz IEEE 802 11b RF Standard Cuhead V2 0 adopt standard Arduino laminated design It is designed to plug on Arduino Diecimila Duemilanove Uno etc 1 2 Features 1 2 1 Standard spec Cuhead V2 0 has charging and discharging function the charging circuit 1s used to tell voltage of the battery We can connect the positive and negtive of the battery to BAT if the battery is full then Cuhead V2 0 wont charge battery if it is not the external battery will be charged 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 N LinkSprite LinkSprite Technologies Inc Cuhead WiFi Shield V2 0 User Manual charging circuit to connect disconnect based on that When Cuhead V2 0 connect Arduino there are two working status 1 Connect Arduino with USB Adaptor Arduino gives power to Cuhead V2
7. N LinkSprite Cuhead WiFi Shield User Manual May 2012 LinkSprite Technologies Inc www linksprite com N LinkSprite LinkSprite Technologies Inc Cuhead WiFi Shield V2 0 User Manual Doc Title User Manual V12 Version Date Description Author 2012 0126 The front page 2012 05 10 The second edition 2012 0712 The died edition N LinkSprite LinkSprite Technologies Inc Cuhead WiFi Shield V2 0 User Manual Table of Contents L Product MTT OCC TOUR ee ee ee ee ee el 4 M Ee lio WiFi Shield V20 anne 4 MD SISTERE EET ETE ETT 4 1 2 2 Standard Spree anne 4 1 22 Ada Pol BIBIORTIE EG sense ee en 2 1 2 3 Increase the Flama J 1 2 4 Wi Fi Transceiver Module FeatureS weeeeeemenenenennwa 6 1 2 5 Wi Fi Transceiver Module RF Analog Features 6 1 2 6 Cuhead V2 0 MAC Baseband Features weeeeeneenennwa 7 2 Functional Block Diagram eeeeeeseseesesesseeee nennen nennen nennen enne nnn 7 PAN RES tl Ian E D OO 8 2 2 SPEENPOT OMIN seen 8 23SEL OUTPUT FINIA AI 9 2 4 SPI INTERFACE AC CHARACTERISTICS eeeeeeeeeeeee enne 9 5B Culead v 2 0 Der Di E RR reete tatio rare ord REIS eee 9 3 1 Ready To Hardware oe ccrte estu oor nn 9 22 Ieady 6 o 6 NE VER seus cies omae asic ee heen dE 10 3 3 Example demonstration ii Ai awali knew 11 NI NIE 6 ee aA diu m een 11 5 0 2 Download the Data Flash
8. are Arduino 1 0 OO arduino exe 10 N LinkSprite LinkSprite Technologies Inc Cuhead WiFi Shield V2 0 User Manual Download link http arduino cc en Main Software Download ZG2100BasedWiFiShield s Library files and code WiFiShield s Library files and code 62100BasedWiFiShield Download link https github com linksprite ZG2 100BasedWiFiShield E wiShield Download link https github com linksprite WiShield 3 3 Example demonstration 3 3 1 Connect to WIFI Download file linksprite ZG2100BasedWiFiShield 68b2001 zip unzip it and rename it as ZG2100BasedWiFiShield then put it under the arduino 1 O libraries directory ca Farduina 1 libraries 2100BasedWiFiShield Open arduino exe choose an example such as SimpleServer 11 N LinkSprite LinkSprite Technologies Inc Cuhead WiFi Shield V2 0 User Manual Sol Shetchotmavilulaleerouino LL Oo mM J File Edit Sketch Tools Help Ctrl h Open Ctrl 0 sketchbook Examples l Basics Digital 3 Analag Ctrl V Save Ctrl 3 save AS Ctr Shift e Upload Ctrl l Upload Using Programmer Ctrl 3hitt U Close 4 Communication 5 Coantral 6 Sensors Display T F F F F F F F Fage Setup Ctrl 3hit P Print Ctrl P B strings Arduinolse Ctrl Comma Preferences EEPROM Ethernet k b Firmata LiquidCrystal F SD SEPO k saftwareSerial
9. dicator light jump line 1 2 pin Cuhead V2 0 leave 18 N LinkSprite LinkSprite Technologies Inc Cuhead WiFi Shield V2 0 User Manual factory need to jump line of the part we have adjusted you can use directly Q3 Using UNO R3 A3 When Cuhead V2 0 connected to Arduino UNO R3 Cuhead V2 0 may be unable to connect to wifi You need to download the latest version of the Bootloader to Arduino microcontroller ATmegaX XXX Open optiboot folder X arduino XXXX hardware arduino bootloaders E F arduina 1 UShardwaresarduimnosbootloaderssoptibaot optiboot ct booth makeall C compiler header file AP 34 KB 1 KB Makefile omake AT AE 13 KB 1 KB 3 ornake bat p optiboot c MS DOS Foto compiler source file 1EB d KB optiboot_atmeqad hex optiboot_atmegad lst Intel HEX file LST AERE 2 KB 20 KB optiboot_atrnegalis hex optiboot_atrnegalos st Intel HEX file LST AERE 2 KB 20 KB optiboot atmeqa328 hex optiboot atmeqa328 st Intel HEX file LST ari 2 KB 20 KB optiboot atmega328 Mini hex pin defs h Intel HEX file C compiler header file 2 KB 2 KE RES DME TXT stk500 h PEAS compiler header file 4 KB E 2 KE Bootloader hex file download to corresponding version of the Arduino microcontroller ATmegaXXX X 19 N LinkSprite LinkSprite Technologies Inc Cuhead WiFi Shield V2 0 User Manual LinkSprite Technologies Inc Add 1067 S Hover St Uni
10. erted logic high by the Wi Fi after the data 1s transferred to the host PIC microcontroller The SPI SCK frequency can be up to 25 MHz The slave SPI interface implements the CPOL 0 CPHA 0 and CPOL 1 CPHA 1 modes 0 and 3 of operation That is data is clocked in on the first rising edge of the clock after Chip Select CS is asserted Data is placed on the bus with most significant bit MSb first The CS pin must be toggled with transfer blocks and cannot be held low permanently The falling edge of CS is used to indicate the start of a transfer The rising edge of CS is used to indicate the completion of a transfer 2 2 SPI INPUT TIMING e TCSD gw CK cs _ gl Ho l Tess TCSH l llt SCK han un TS Tuo THD Jim SO High Impedance CS must be toggled for each SPI block transfer N LinkSprite LinkSprite Technologies Inc Cuhead WiFi Shield V2 0 User Manual 2 3 SPI OUTPUT TIMING cs p T j u A NH NANA p I I TW Pe Tv TDS e l r MSb Out LSb Out E me sw 9 xm Www xe Www 9 mw SW o m E m 3 Cuhead V2 0 User Guide 3 1 Ready To Hardware Cuhead WiFi Shield V2 0 module N LinkSprite LinkSprite Technologies Inc Cuhead WiFi Shield V2 0 User Manual Arduino Duemilanove module USB CABLE 3 2 Ready To Softw
11. ino Uno Arduino Duemilanove or Nano wy ATmegai2s Arduino Diecimila Duemilanose ar Mano w ATrmegal6 Arduino Mega 2560 Arduino Mega 4Trnegalzel Arduino Miri Arduina Fio Arduino BT w ATrmega328 Arduino BT w ATrmegal s LilyPad Arduino w amp Tmega328 LilyPad Arduino w amp Tmegal 8 Arduina Pra or Pro Mini 3 16 MHz w A amp Tmega328 Arduino Pra or Pro Mini SV 16 MHz w ATimegalho Arduina Pra or Pro Mini 13 3 8 MHZ w amp Tmeqga328 Arduina Pra or Pro Mini 13 3 8 MHz w amp Tmegal 8 Arduina WG or older w amp Tmegalbs Arduino NG or older w amp Tmegas File Edit Sketch Tools Help Mfg ID iF Dev ID 260 0123456759 Autoscroll Ho line ending 1115200 baud N LinkSprite LinkSprite Technologies Inc Cuhead WiFi Shield V2 0 User Manual 4 FAQ Q1 Program can t be compiled Al Check these if you found that the example we provide cannot compile Whether you choose the right Board You should choose the board you are using when compile Here enter ZG2100BasedWiFiShield 2 ER ein cH Se ae eu TUNE ee were and open apps conf h Lj examples apps canf h E avrlibdefs h avrlibtypes h El clack h clack arch c clack arch h config h g2100 c E g2100 h glabal h rE 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 exam
12. nc Cuhead WiFi Shield V2 0 User Manual Digital VCO and filter calibration Integrated RSSI ADC and I Q DACs RSSI readings available to host Balanced receiver and transmitter characteristics for low power consumption 1 2 6 Cuhead V2 0 MAC Baseband Features Hardware CSMA CA acce ss control automatic ACK and FCS creation and checking Automatic MAC packet retransmit Hardware Security Engine for AES and RC4 based ciphers Supports 802 1x 802 1i Security WEP WPA PSK and WPA 2 PSK 2 Functional Block Diagram MERF24WBOMA 2 4 GHz IEEE Std 802 116 RF Transceiver Module Digital WO eralic as interrupt Power 2 4 GHz Transceiver PCE j F Antenna i 7 MRF24WBOMA Vini Reset The block diagram in Figure represents a Wi Fi module Data communications with the MRF24WBOMA are through the SPI interface wire serial slave SPI interface interrupt reset power and ground signals It SPI interfaces connected to microcomputer The module runs on a single supply voltage of nominally 3 3V N LinkSprite LinkSprite Technologies Inc Cuhead WiFi Shield V2 0 User Manual 2 1 SPI Interface The slave Serial Peripheral Interface SPI is used to interface with the host PIC microcontroller The slave SPI interface works with the Interrupt line INT When data is available for the PIC microcontroller during operation the INT line is asserted logic low by the Wi Fi module The INT line is de ass
13. ples the macro definition is different the default is define APP_WISERVER 17 N LinkSprite LinkSprite Technologies Inc Cuhead WiFi Shield V2 0 User Manual ifndef APPS CONF H define APPS CONF H _ Here we include th tdefine APF WE fi define APP WEBCLIEI tdefine APP SOC KAPP tdefine APP UDPAPFE tfdefine APP WISERVER ifdef APE WEBSERVEK finclude uebserver t T fendif fifdet APP WEBCL IENI finclude webclient h endif ifdef ARE SOCRAPE include socketapp h endif ifdef APP UDPAPP finclude udpapp h fendif ifdef APP WISERVER finclude zerver h fendif If you want to use another example such as how to use webserver h define APP WEBSERVER define APP WISERVER Q2 Red LED D1 not on 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 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 V2 0 Arduino module and reconnect them Check the jump line parts 1 INTXI 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 2 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 3 Wi Fi connection in
14. t E 186 Longmont CO 80501 Tel 720 204 8599 MST 9 00am 5 00pm 720 279 0774 MST 6 00pm 3 00am Support System www linksprite com support Technical Support support linksprite com sales sales linksprite com Website www linksprite com N LinkSprite 20
15. urn Cuhead WiFi Shield V2 0 User Manual On aa gi sdn T E ee ii uum TA em 1 3 23 mum mos ms ua LI rr i 25 gt t imc c j E me LET AER O wn Ib Traci AXE Sist BE u _ pe i X FE i gt i x me HirtED 68 http 192 168 3 1207 Hello World 3 3 2 Download the DataFlash Download file linksprite DataFlash e90ea99 zip unzip it and rename it as DataFlash then put it under the arduino 0022 libraries directory Please note Using Arduino 0023 and Arduino 0023 the following version 14 N LinkSprite LinkSprite Technologies Inc Cuhead WiFi Shield V2 0 User Manual download Data Flash DataFlash Download link https github com linksprite DataFlash Open arduino exe choose an example such as DataFlash Intro p DataElasHesinitrej esrduinailzz File Edit Sketch Tools Help Mew Ctrl h pen Cel sketchbook k Examples kh 1Bas cs b Clase Ctrl ti 2 Digital d Save Ctrl s Analog Save As Ctrl e Shift 5 4C Communication b Upload to IO Board Ctrl LI 3 Control d B Sensors d Page Setup Ctrl eShift P 7 Display un an B strings Preferences Ctrl Camma ArduinalsP Quit Ctrl Arduinolestsuite b u Da DataFlash DatsFlash Intra print the integers from aie 5 to the serial port x iemet lE for Gombe tite at Doo Errata Serial print dfla Gameduino k i MEX ig

Download Pdf Manuals

image

Related Search

Related Contents

Durst Rho 600 Pictor User's Manual  [ ノイズ ブラックキューブ ] 詳細情報(86KB)  Impex MWB-PRO5 Owner's Manual  System 9 Manual - Audio  KOHLER K-14761-4-CP Installation Guide  Manual de instrucciones  instrumentation study- black liquor solids content    PDF-Datei - Lipinski Telekom  Notice - Castorama  

Copyright © All rights reserved.
Failed to retrieve file