Home

LinkSprite CuHead WiFi Shield for Arduino Mega User Manual V1.0

image

Contents

1. HET I e link pr ita com Coonerhead MAGA wifi shield 1 1 Cuhead Mega This document is to introduce LinkSprite CuHead WiFi Shield for Arduino Mega hereafter we call Cuhead Mega Cuhead Mega use low consumption MRF24WBOMA embedded Wi Fi Transceiver Module match 2 4 GHz IEEE 802 11b RF Standard Cuhead Mega adopt standard Arduino Mega laminated design It 1s designed to plug on Arduino MEGA Romeo etc 1 2 Characteristic 1 2 1 Standard spec Cuhead Mega has charging and discharging function the charging circuit is used to tell voltage of the battery We can connect the positive and negtive of the battery to BAT if the battery is full then Cuhead Mega wont charge battery if it is not the external battery will be charged We bring comparator to check the operating current of Cuhead Mega so you know it is Arduino giving power to Cuhead Mega or the opposite way and change the N LinkSprite LinkSprite Technologies Inc LinkSprite CuHead WiFi Shield for Arduino Mega User Manual charging circuit to connect disconnect based on that When Cuhead Mega connect Arduino there are two working status 1 Connect Arduino with USB Adaptor Arduino gives power to Cuhead Mega the charging circuit on Cuhead Mega will disconnect 2 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
2. en Main Software Download cuheadmega s Library files and code cuheadmega Download link https github com linksprite cuheadmega 3 3 Example demonstration Download file linksprite cuheadmega 1545a16 zip unzip it and rename it as cuheadmega then put it under the arduino 1 OMibraries directory PE Sic ie um ne de F arduina 1 USlibraries cuheadmeqa Open arduino exe choose an example such as SimpleServer 10 N LinkSprite LinkSprite Technologies Inc XS ERI FEL E rd File Edit Sketch Tool New Open Sketchbook Examples Close Save Save As Upload Upload Using Programmer Page Setup Print Preferences Quit LinkSprite CuHead WiFi Shield for Arduino Mega User Manual s Help Ctrl N Ctrl O Ctrl W Ctrl 5 Ctrl Shift S Ctrl LU Ctrl Shift U Ctrl Shift P Ctrl P Ctrl Comma Ctrl o L Basics LI 2 Digital 3 Analog b 4 Communication 3 Control Ld b Sensors 7 Display 8 Strings ArduinoISP Flash simpleClient cuheadmega EEPROM Ethernet Firmata simpleServer Simple Tweeter SocketAnp UDPApp WebChent WebServer LiquidCrystal 3D servo SoftwareSerial SPI Stepper Wire Change the settings input the right IP address default gateway and subnet mask according to your wireless router settings 11 N LinkSprite LinkSprite Technologies Inc LinkSprite CuHead WiFi Shield for Arduino Mega User Man
3. is inactive 1 2 2 Add Potentiometer The new added potentiometer is to adjust the voltage to any value needed by adjust AMS1117 Vin to 5 6V 6 0V It is hard to do so by fixed resistance The default voltage of Cuhead Mega has been set in the right voltage normally you don t have to adjust it 1 2 3 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 lt 0 1 uA typical N LinkSprite LinkSprite Technologies Inc LinkSprite CuHead WiFi Shield for Arduino Mega User Manual 1 2 4 Wi Fi Transceiver Module RF Analog Features ISM Band 2 400 2 484 GHz operation 14 Channels selectable individually or domain restricted DSSS Modulation Data Rate 1000 kbps 91 dBm Typical sensitivity at 1 Mbps 10 dBm Typical output power with control Integrated low phase noise VCO RF frequency synthesizer PLL loop filter and PA Digital VCO and filter calibration Integrated RSSI ADC and I Q DACs RSSI readings available to host Balanced rece
4. CPHA 0 and CPOL 1 CPHA 1 modes 0 and 3 of operation That 1s 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 N LinkSprite LinkSprite Technologies Inc LinkSprite CuHead WiFi Shield for Arduino Mega User Manual 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 lt _Tcss gt e TCSH SCK i sed y i _ _ SU THO i l SO High Impedance fr e 1r9ra ziu CS must be toggled for each SPI block transfer 2 3 SPI OUTPUT TIMING scala ud M B Tois I lam l I I I I Don t Care SI LSbin X N LinkSprite LinkSprite Technologies Inc LinkSprite CuHead WiFi Shield for Arduino Mega User Manual 2 4 SPI INTERFACE AC CHARACTERISTICS cS Sasa time 1 m sotano w 3 some w mw sowie 3 1l 5 3 Cuhead Mega User Guide 3 1 Ready To Hardware LinkSprite CuHead WiFi Shield for Arduino Mega module USB CABLE N LinkSprite LinkSprite Technologies Inc LinkSprite CuHead WiFi Shield for Arduino Mega User Manual 3 2 Ready To Software Arduino 1 0 arduino exe Download link http arduino cc
5. N LinkSprite LinkSprite CuHead WiFi Shield for Arduino Mega User Manual May 2012 LinkSprite Technologies Inc www linksprite com N LinkSprite LinkSprite Technologies Inc LinkSprite CuHead WiFi Shield for Arduino Mega User Manual LinkSprite CuHead WiFi Shield for Number fo Doc Title Arduino Mega User Manual V1 0 Version Date Description Author N LinkSprite LinkSprite Technologies Inc LinkSprite CuHead WiFi Shield for Arduino Mega User Manual Table of Contents Ao OU o 4 MEA E 4 PA EC ARR E E doe dM Eu U 4 NA ni 4 1 2 2 Add AA RO A 5 1 2 3 Wi Fi Transceiver Module FeaturesS 5 1 2 4 Wi Fi Transceiver Module RF Analog Features 6 1 2 5 Cuhead Mega MAC Baseband Features 6 2 Functional Block DIA MD ies 7 IES Ne AA o on 7 2 2 SPEBNPET TIBI AAA ei APP 8 O AAA GE cada et oe E 8 2 4 SPI INTERFACE AC CHARACTERISTICS ii 9 SN Cal SB SRO 9 LL Ready TO HardWare ET Om UM 9 IA A A ato di ai 10 2 9 Example demons CAMION 10 8 A o e 13 OL Prosram cam be comple duero ria 13 Q2 Red LED D1 not on oooononccncncconnnnnnananuneccnnonanonsanannnccononconnonannonecoronanonnaneres 15 N LinkSprite LinkSprite Technologies Inc LinkSprite CuHead WiFi Shield for Arduino Mega User Manual 1 Intro 4 AT i Un dl ow im i Ml E 4 a m C LE n a
6. iver and transmitter characteristics for low power consumption 1 2 5 Cuhead Mega MAC Baseband Features Hardware CSMA CA acce ss control automatic ACK and FCS creation and checking Automatic MAC packet retransmit Hardware Security Engine for AES and RC4 based ciphers Supports 802 1x 802 1i Security WEP WPA PSK and WPA 2 PSK N LinkSprite LinkSprite Technologies Inc LinkSprite CuHead WiFi Shield for Arduino Mega User Manual 2 Functional Block Diagram MRFZIWEOMA 2 4 GHz IEEE Std 802 115 RF Transoeiver Module Digital VO interrupt Power PLA Antenna i MAF 24V BDMA m Rasel 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 2 1 SPI Interface The slave Serial Peripheral Interface SPI 1s 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 asserted logic high by the Wi Fi after the data is transferred to the host PIC microcontroller The SPI SCK frequency can be up to 25 MHz The slave SPI interface implements the CPOL 0
7. n 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 Mega Arduino module and reconnect them 15 N LinkSprite LinkSprite Technologies Inc LinkSprite CuHead WiFi Shield for Arduino Mega User Manual LinkSprite Technologies Inc Add 1067 S Hover St Unit 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 16
8. no Mini vw 4Tmega328 unsigned char security type 3 fi U open 1 Arduino Mini w 4Tmega168 Soles Arduino Ethernet const prog char security passphrase PROGUEM links Mn ist r E B Leo 1 T prog uchar wep_keys FEOGMEM x01 0x02 Ox05 0x0 passphrase Arduino Fio Arduino BT w ATmega328 Arduino BT w ATmegal63 1 Fey la HEX key LilyPad Arduino w ATmega328 LilyPad Arduino vw ATmega168 Arduino Pro or Pro Mini SV 16 MHz w ATmega328 Arduino Pro or Pro Mini SV 16 MHz w ATmegalt3 Arduino Pro or Pro Mini 3 34 B MHz w ATmega328 334 brtas of a 126976 byte mazim Arduino Pro or Pro Mini 3 34 8 MHz w ATmeqa168 Arduino NG or older w ATmegal 8 Arduino NG or older w ATmegad nt NRUIBPARSEPEBRE BS TP ERST URS B1 B I MR 12 N LinkSprite LinkSprite Technologies Inc LinkSprite CuHead WiFi Shield for Arduino Mega User Manual When Cuhead Mega connected to the router through WiFi the red LED will turn On Input the IP address of Cuhead Mega as we set it 192 168 3 120 it showed what SimpleServer is about this IP is for demo Em T RF ABE AO E On O MAG pw HCD d http 192 168 3 120 I PRTC HCE fe ED ASEN Hello World 4 FAQ Q1 Program can t be compiled Al Check these if you found that the example we provide cannot compile 13 N LinkSprite LinkSprite Technologies Inc LinkSprite CuHead WiFi Shield for Arduino Mega U
9. ser Manual 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 e Firarduimo 10 libraries kcuheadmega Here enter cuheadmaga and open apps conf h Ej examples E apps canf h E avrlibdefs h El awrlibtypes h El clack h E clack arch c El clock arch h E config h E g2100 c El g2100 h glabal h 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 define APP_WISERVER 14 N LinkSprite LinkSprite Technologies Inc ifndef define APPS CONF H _ APPS CONF H applicationis LinkSprite CuHead WiFi Shield for Arduino Mega User Manual we use in our project APP UDPAPP define APP WISERVER fifdef APP WEBSERVER include mebservye El fendif fifdef APP _ WEBCLIENT finclude webclient n endif ifdef APP SOCKAPP include socketapp h fendif ifdef APP UDPAPP finclude udpapp h fendif fifdef APP WISERVER include server 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 noton A2 If the program has been downloaded to Arduino yet red LED D1 on Cuhead Mega is not o
10. ual define WIRELESS MODE INFRA 1 define WIRELESS MODE_ADHOC E La xr amp Leszs onnfirnratron A A A ee ee ttt unsigned char local ip 1192 158 3 120 ff IP address of WiShield unsigned char gateway ip 192 166 3 254 ff router or gateway IP addres E unsigned char subnet mask 255 255 255 0 subnet mask for the local n const prog char ssid PROGMEM LS TEST T fy max 32 bytes unsigned char security type 3 ff 0 open 4 WEF 2 WFA 3 WPA ff YEA WEA passphrase const prog char security passphrase PROGMEM linksprite001 ff max sample HEX keys prog uchar wep keyz PROGMEM Ox01 0x0 0x03 Ox04 0x05 Ox06 0x07 Ox_ 41 FRI j Binary sketch size 17934 bytes fof a 126976 byte mazimum Arduino Mega 4T7mega12307 on COMO Choose the right Serial Port and Board Gia Ta e sa FO IE File Edit Sketch Tools Help Auto Format Ctrl T Archive Sketch Fix Encoding amp Reload Serial Monitor Ctrl Shift M define WIRELESS A j define WIRELESS y o etatai Serial Port H Arduino Duemilanowe w ATmega328 ixelexkvcontiy ae N Arduino Diecimila or Duemilanove w ATmega 168 ansigned char loei Arduino Nano w ATmega328 unsigned char gat w Seelen set re Arduino Mano w Almegal68 unsigned char subnet_mask 1255 255 255 0 subi Arduino Mega 2560 or Mega ADK const prog char ssid PROGMEM IS TEST Arduino Mega ATmega1280 Ardui

Download Pdf Manuals

image

Related Search

Related Contents

details here  VoIP Aastra 6737i User Guide  Quick Instructions for Setting up Swe-dish  modd. DH801PK e DH801PL MANUALE TECNICO  ER-A220 Operation-Manual FR  Samsung Хол-к French Door, 495л Инструкция по использованию  Empirical Potential Structure Refinement  Si Touch User Manual  Embedded System Design Course Description  quindi fare clic su [OK].  

Copyright © All rights reserved.
Failed to retrieve file