“Microduino-CC3000”的版本间的差异

来自Microduino Wikipedia
跳转至: 导航搜索
Pkj讨论 | 贡献
Arduino library and supported package
 
(未显示3个用户的6个中间版本)
第1行: 第1行:
 +
{{Language|Microduino-CC3000}}
 
{| style="width: 800px;"
 
{| style="width: 800px;"
 
|-
 
|-
 
|
 
|
[[file:Microduino-CC3000-rect.jpg|400px|thumb|right|Microduino-CC3000]]
+
[[file:Microduino-cc3000-rect.jpg|400px|thumb|right|Microduino-CC3000]]
'''[[Microduino-CC3000]]''' is a well-equipped wireless network processor, which simplifies the implementation process of Internet connectivity. SimpleLink ™ Wi-Fi can significantly reduce a host microcontroller (MCU) software requirements, making it ideal for use in any low-cost and low-power MCU solution for embedded applications.
+
'''[[Microduino-CC3000]]''' is a well-equipped wireless network module, which simplifies the implementation process of Internet connectivity. SimpleLink ™ Wi-Fi can significantly reduce a host microcontroller (MCU) software requirements, making it ideal for using in any low-cost and low-power MCU solution of embedded applications.
  
  
第42行: 第43行:
 
|
 
|
 
===About SmartConfig===
 
===About SmartConfig===
SimpleLink ™ Wi-Fi SmartConfig ™ technology, a unique one-step activation process of Wi-Fi that is the developer or end-user, through other devices, such as smart phones, tablet PCs installed SmartConfig App program, and through the program CC3000 is equipped with a hardware circuit to configure current wireless network information of Wifi environment, such as: SSID, wireless password, security authentication, and so on. Just one simple step can make no more than one display device connected to Wifi network to solve wirelessly connect to your home network and the cloud.
+
SimpleLink ™ Wi-Fi SmartConfig ™ technology is an unique one-step activation process of Wi-Fi, the developer or end-user could configure current wireless network through other devices, such as smart phones, tablet PCs installed SmartConfig App program, and through the program CC3000 is equipped with a hardware circuit. The configuration information of Wifi environment includes SSID, wireless password, security authentication, and so on. Just one simple step can make no more than one display device connected to Wifi network to solve wirelessly connect to your home network and the cloud.
  
 
|-
 
|-
第95行: 第96行:
 
*2.4G antenna:AT8010-T2R9HAA  '''[[File:AT8010-T2R9HAA.pdf]]'''
 
*2.4G antenna:AT8010-T2R9HAA  '''[[File:AT8010-T2R9HAA.pdf]]'''
  
*[http://processors.wiki.ti.com/index.php/CC3000_Serial_Port_Interface_(SPI) TI 官方 SPI 协议栈]
+
*[http://processors.wiki.ti.com/index.php/CC3000_Serial_Port_Interface_(SPI) TI Official SPI Stack]
  
*[http://processors.wiki.ti.com/index.php/CC3000 TI官方WIKI]
+
*[http://processors.wiki.ti.com/index.php/CC3000 TI Official WIKI]
  
 
|-
 
|-
 
|
 
|
==开发==
+
==Development==
*请先确定+3.3v电源的电流能达到200ma,不推荐直接采用FT232R调试,因为FT232R输出的+3.3v的电流太小。  The FT232R datasheet says you can draw up to 50 mA from its 3.3V output.
+
* Make sure +3.3 v power supply current can reach 200ma, not recommended for using FT232R debugging directly because FT232R output +3.3 v current is too small. The FT232R datasheet says you can draw up to 50 mA from its 3.3V output.
  
===Arduino库及支持包===
+
===Arduino library and supported package===
*【CC3000Patch库'''[https://github.com/cmagagna/CC3000Patch github下载 ]''' 】
+
*https://github.com/Microduino/Microduino_Tutorials/tree/master/Microduino_Libraries/_03_Microduino_WIFI_CC3000
*【Adafruit_CC3000库'''[https://github.com/adafruit/Adafruit_CC3000_Library github下载 ]''' 】
+
*https://github.com/Microduino/Microduino_Tutorials/tree/master/Microduino_Libraries/_03_Microduino_WIFI_CC3000_MDNS
*【U8glib库'''[http://code.google.com/p/u8glib/ google下载 ]''' 】
+
*https://github.com/Microduino/Microduino_Tutorials/tree/master/Microduino_Libraries/_01_Microduino_OLED_U8glib
  
===库的使用事项===
+
===Notes for how to use the library===
*CC3000Patch库是用来升级firmware之用,不可以与Adafruit_CC3000库同时启用;
+
*CC3000 patch libry is used for upgarde the firmware and can't run it with Adafruit_CC3000's libray.
*如果要想使得这两个库兼容Microduino Core+:
+
*If you want to make these two libraries compatible Microduino Core+:  
**你需要先打开库目录中的“Adafruit_CC3000_4Patching.cpp”(CC3000Patch)或者“Adafruit_CC3000.cpp”(Adafruit_CC3000)文件;
+
**You need open the “Adafruit_CC3000_4Patching.cpp”(CC3000Patch)or “Adafruit_CC3000.cpp”(Adafruit_CC3000)in library's fold firstly;
**在文件中找到“#elif defined(__AVR_ATmega1281__) || defined(__AVR_ATmega2561__) || defined(__AVR_ATmega2560__) || defined(__AVR_ATmega1280__)”这一行;
+
**Find line that“#elif defined(__AVR_ATmega1281__) || defined(__AVR_ATmega2561__) || defined(__AVR_ATmega2560__) || defined(__AVR_ATmega1280__)” in file;
**将这一行之后加上“ || defined(__AVR_ATmega1284P__)  || defined(__AVR_ATmega644P__) ”这一句即可。
+
**Add this “ || defined(__AVR_ATmega1284P__)  || defined(__AVR_ATmega644P__) ” in the tial of the last line.
 
*CC3000Patch:
 
*CC3000Patch:
**CC3000Patch可用来升级CC3000的firmware,你需要将CC3000Patch.ino放到新建的\examples\CC3000Patch\目录中;
+
**When using CC3000PATCH, please make sure any other cc3000 library should be removed to avoid conflict. And recommend use "Aroduino 1.01 or upper release", if you are using lower release, please re-install it again from zero.
**你需要确定程序中的IRQ、VBAT、CS引脚都设置正确,即“#define CC3000_IRQ  2 ”、“#define ADAFRUIT_CC3000_VBAT  9”、“#define ADAFRUIT_CC3000_CS  10”;
+
**CC3000Patch can be used to upgarde the firmware of CC3000,you need copy the CC3000Patch.ino to "\examples\CC3000Patch\";
**更详细的使用方法参考[https://github.com/cmagagna/CC3000Patch/blob/master/README.md 作者的README]
+
**You need set the IRP,VBAT and CI correctly in your program,as follows:“#define CC3000_IRQ  2 ”、“#define ADAFRUIT_CC3000_VBAT  9”、“#define ADAFRUIT_CC3000_CS  10”;
 +
**Detailed usage, please refer to [https://github.com/cmagagna/CC3000Patch/blob/master/README.md author's README]
 
*Adafruit_CC3000:
 
*Adafruit_CC3000:
**你需要确定程序中的IRQ、VBAT、CS引脚都设置正确,即“#define CC3000_IRQ  2 ”、“#define ADAFRUIT_CC3000_VBAT  9”、“#define ADAFRUIT_CC3000_CS  10”
+
**You need set the IRP,VBAT and CI correctly in your program,as follows:“#define CC3000_IRQ  2 ”、“#define ADAFRUIT_CC3000_VBAT  9”、“#define ADAFRUIT_CC3000_CS  10”
  
==应用==
+
==Application==
===升级CC3000的firmware===
+
===Upgrade the frimware of CC3000===
*推荐用CC3000Patch库将CC3000的firmware升级至1.24,详细的使用方法参考[https://github.com/cmagagna/CC3000Patch/blob/master/README.md 作者的README]
+
*Recommend that upgarde the firmware of CC3000 to 1.24 using CC3000Patch,detaile usage refer to [https://github.com/cmagagna/CC3000Patch/blob/master/README.md author's README]
**(注意事项:升级firmware的过程是通过串口监视器进行操作的,请将Arduino IDE的串口监视器的换行结束符设为“换行和回车”)
+
**(Note:Firmware upgrade process is operated via the serial port monitor, set the Arduino IDE newline terminator serial monitor is set to "newline and carriage return")
 +
*After upgraed, delete the CC3000Patch library,and then start the Adafruit_CC3000 libray,you can run the included examples!
  
*升级完成后,将CC3000Patch库删除,启用Adafruit_CC3000库,就可以开始里面的examples了!
+
===SimpleLink™ Wi-Fi SmartConfig™ Function===
 +
*If you want to use SimpleLink™ Wi-Fi SmartConfig™ function:
 +
**Take the IOS as example,download the "TI WIFI SMARTCINFIG" from App Store firstly;
 +
**Connect the IOS device to router,open the "TI WIFI SMARTCINFIG",fill the route key in Password;
 +
**Download the SmartConfigCreate to Microduino from the Adafruit_CC3000 library's examples;
 +
**Open the serial port monitor(baud rade:115200),When “Waiting for a SmartConfig connection (~60s) ...” displayed,click the "Start" of TI WIFI SMARTCINFIG,waiting for result。
  
===SimpleLink™ Wi-Fi SmartConfig™ 功能===
+
==Bug==
*如果要用到SimpleLink™ Wi-Fi SmartConfig™ 功能:
 
**以IOS为例,先在App Store里下载TI WIFI SMARTCINFIG;
 
**将IOS设备连接上路由器,打开TI WIFI SMARTCINFIG,在Password中填上路由器密匙;
 
**将Adafruit_CC3000库examples中的SmartConfigCreate下载到Microduino;
 
**打开串口监视器(波特率115200),当出现“Waiting for a SmartConfig connection (~60s) ...”时候,按下TI WIFI SMARTCINFIG的Start,等待串口结果。
 
  
==购买==
+
==History==
  
==历史==
+
==Picture==
 +
[[File:Microduino-cc3000-t1.jpg|thumb|600px|center|Front]]
 +
[[File:Microduino-cc3000-b1.jpg|thumb|600px|center|Back]]
  
==图库==
+
==Video==
[[File:Microduino-cc3000-t1.jpg|thumb|600px|center|正面]]
 
[[File:Microduino-cc3000-b1.jpg|thumb|600px|center|背面]]
 
 
 
==视频==
 
 
*[http://www.kaltura.com/index.php/kwidget/wid/0_yp64zx3k/uiconf_id/2342281 Texas Instruments SimpleLink™ Wi-Fi SmartConfig™Technology]
 
*[http://www.kaltura.com/index.php/kwidget/wid/0_yp64zx3k/uiconf_id/2342281 Texas Instruments SimpleLink™ Wi-Fi SmartConfig™Technology]
 
|}
 
|}

2014年7月2日 (三) 06:05的最新版本

Language English
Microduino-CC3000

Microduino-CC3000 is a well-equipped wireless network module, which simplifies the implementation process of Internet connectivity. SimpleLink ™ Wi-Fi can significantly reduce a host microcontroller (MCU) software requirements, making it ideal for using in any low-cost and low-power MCU solution of embedded applications.



Features

  • SimpleLink ™ Wi-Fi can significantly reduce a host microcontroller (MCU) software requirements;* Toggle switch controls the charging and discharging, reboot and sleep mode;
  • SimpleLink ™ Wi-Fi SmartConfig ™ technology, a unique one-step activation process of Wi-Fi;
  • Small, cheap, stackable, opened platform;
  • Open source hardware circuit design, compatible with the Arduino IDE development environment for programming;
  • Define unified interface Microduino specification and contain rich peripheral modules. Set up the quick connection with other Microduino modules and sensors easily and flexibly.
  • 2.54 pitch row female connector for easy integration into breadboard.

Specifications

  • Wireless Network Processor
    • IEEE 802.11 b/g
    • Embedded IPv4 TCP/IP stack
  • The best performance in radio industry
    • Tx power:11Mbps CCK with +18dBm
    • Rx sensitivity: 11Mbps CCK with -82dBm
  • Work together with a low-cost microcontroller which using compact memory package and process a million instructions per second (MIPS)
    • 2K bytes Flash
    • 250 bytes RAM
  • Low power consumption
    • Use the FET, shutdown mode current is less than 5uA
  • Operating temperature range
    • -20°C ~ 70°C
  • Authenticated by U.S. Federal Communications Commission(FCC), Industry Canada(IC) and Council of Europe (CE)
  • Based on Texas Instruments (TI)'s seventh generation Wi-Fi solutions.
文件:CC3000-Pinout-2.jpg
Microduino-CC3000-Pinout

About SmartConfig

SimpleLink ™ Wi-Fi SmartConfig ™ technology is an unique one-step activation process of Wi-Fi, the developer or end-user could configure current wireless network through other devices, such as smart phones, tablet PCs installed SmartConfig App program, and through the program CC3000 is equipped with a hardware circuit. The configuration information of Wifi environment includes SSID, wireless password, security authentication, and so on. Just one simple step can make no more than one display device connected to Wifi network to solve wirelessly connect to your home network and the cloud.

Pins

  • CC3000 expansion board is used as a slave on the SPI bus, SPI master to communicate with Microduino
CC3000 Module Pin CC3000 Chip Pin Micorduino Pin Function
SCK 17 D13 SIP Bus clock
DI 15(DIN) D12 Microduino sends data to CC3000
DO 13(DOUT) D11 CC3000 sends data to Micorduino
CS 12 D10 SPI Chip-select signal
IRQ 14 D2 Interrupt(INT0)
EN 26 D9 Microduino set this PIN to high to enable CC3000

Documents

Eagle PCB 文件:Microduino-CC3000.zip

Main Components

Development

  • Make sure +3.3 v power supply current can reach 200ma, not recommended for using FT232R debugging directly because FT232R output +3.3 v current is too small. The FT232R datasheet says you can draw up to 50 mA from its 3.3V output.

Arduino library and supported package

Notes for how to use the library

  • CC3000 patch libry is used for upgarde the firmware and can't run it with Adafruit_CC3000's libray.
  • If you want to make these two libraries compatible Microduino Core+:
    • You need open the “Adafruit_CC3000_4Patching.cpp”(CC3000Patch)or “Adafruit_CC3000.cpp”(Adafruit_CC3000)in library's fold firstly;
    • Find line that“#elif defined(__AVR_ATmega1281__) || defined(__AVR_ATmega2561__) || defined(__AVR_ATmega2560__) || defined(__AVR_ATmega1280__)” in file;
    • Add this “ || defined(__AVR_ATmega1284P__) || defined(__AVR_ATmega644P__) ” in the tial of the last line.
  • CC3000Patch:
    • When using CC3000PATCH, please make sure any other cc3000 library should be removed to avoid conflict. And recommend use "Aroduino 1.01 or upper release", if you are using lower release, please re-install it again from zero.
    • CC3000Patch can be used to upgarde the firmware of CC3000,you need copy the CC3000Patch.ino to "\examples\CC3000Patch\";
    • You need set the IRP,VBAT and CI correctly in your program,as follows:“#define CC3000_IRQ 2 ”、“#define ADAFRUIT_CC3000_VBAT 9”、“#define ADAFRUIT_CC3000_CS 10”;
    • Detailed usage, please refer to author's README
  • Adafruit_CC3000:
    • You need set the IRP,VBAT and CI correctly in your program,as follows:“#define CC3000_IRQ 2 ”、“#define ADAFRUIT_CC3000_VBAT 9”、“#define ADAFRUIT_CC3000_CS 10”

Application

Upgrade the frimware of CC3000

  • Recommend that upgarde the firmware of CC3000 to 1.24 using CC3000Patch,detaile usage refer to author's README
    • (Note:Firmware upgrade process is operated via the serial port monitor, set the Arduino IDE newline terminator serial monitor is set to "newline and carriage return")
  • After upgraed, delete the CC3000Patch library,and then start the Adafruit_CC3000 libray,you can run the included examples!

SimpleLink™ Wi-Fi SmartConfig™ Function

  • If you want to use SimpleLink™ Wi-Fi SmartConfig™ function:
    • Take the IOS as example,download the "TI WIFI SMARTCINFIG" from App Store firstly;
    • Connect the IOS device to router,open the "TI WIFI SMARTCINFIG",fill the route key in Password;
    • Download the SmartConfigCreate to Microduino from the Adafruit_CC3000 library's examples;
    • Open the serial port monitor(baud rade:115200),When “Waiting for a SmartConfig connection (~60s) ...” displayed,click the "Start" of TI WIFI SMARTCINFIG,waiting for result。

Bug

History

Picture

Front
Back

Video