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

来自Microduino Wikipedia
跳转至: 导航搜索
Pins
Development
 
(未显示3个用户的12个中间版本)
第4行: 第4行:
 
|
 
|
 
[[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 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.
+
'''[[Microduino-CC3000]]''' is a well-equipped wireless network module, which can simplify the implementation of the internet connection. SimpleLink? Wi-Fi can largely reduce MCU(Micro Controller Unit)'s software requirement of the host machine, making it ideal for using in any low-cost and low-power MCU of embedded applications.
  
  
第12行: 第12行:
 
|
 
|
 
==Features==
 
==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 can largely reduce MCU(Micro Controller Unit)'s software requirement of the host machine;
* SimpleLink Wi-Fi SmartConfig ™ technology, a unique one-step activation process of Wi-Fi;
+
SimpleLink? Wi-Fi SmartConfig™ technology can ensure a unique and fast Wi-Fi activation process;
* Small, cheap, stackable, opened platform;
+
* Small, cheap, stackable and open;
* Open source hardware circuit design, compatible with the Arduino IDE development environment for programming;
+
* Open hardware circuit design and Arduino compatible programming development environment;
* Define unified interface Microduino specification and contain rich peripheral modules. Set up the quick connection with other Microduino modules and sensors easily and flexibly.
+
* Uniform Microduino interface standard and rich peripheral modules, capable of having a fast and flexible connection and extension with other modules and sensors in accord with Microduino interface standard;
* 2.54 pitch row female connector for easy integration into breadboard.
+
* Easy to be integrated to pegboards with a 2.45-pitch female header connector interface.  
  
 
|-
 
|-
 
|
 
|
 +
 
==Specifications==
 
==Specifications==
 
* Wireless Network Processor
 
* Wireless Network Processor
 
** IEEE 802.11 b/g
 
** IEEE 802.11 b/g
 
** Embedded IPv4 TCP/IP stack
 
** Embedded IPv4 TCP/IP stack
* The best performance in radio industry
+
* Best wireless performance in the industry
** Tx power:11Mbps CCK with +18dBm
+
** Power of Tx:11Mbps CCK with +18dBm
** Rx sensitivity: 11Mbps CCK with -82dBm
+
** Sensitivity of Rx: 11Mbps CCK with -82dBm
* Work together with a low-cost microcontroller which using compact memory package and process a  million instructions per second (MIPS)
+
* Work together with a low-cost microcontroller which usese a compact memory package and processes one million instruction per second (MIPS)
 
** 2K bytes Flash
 
** 2K bytes Flash
 
** 250 bytes RAM
 
** 250 bytes RAM
 
* Low power consumption
 
* Low power consumption
** Use the FET, shutdown mode current is less than 5uA
+
** Use the FET and own less than 5uA shutdown mode current
 
* Operating temperature range
 
* Operating temperature range
 
** -20°C ~ 70°C
 
** -20°C ~ 70°C
第43行: 第44行:
 
|
 
|
 
===About SmartConfig===
 
===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.
+
SimpleLink ™ Wi-Fi SmartConfig ™ technology can ensure a unique and fast activation of Wi-Fi. Developers or end-users could configure the current wireless network through other devices, such as smart phones, tablet PC SmartConfig App program installation. It can configure wireless network information of the current Wifi environment for hardware circuit equipped with CC3000 through the program, including SSID, wireless password, security authentication, and so on. Just one step can it make several devices without display connected to Wifi network and allow people to connect their home network and the Cloud wirelessly.  
  
 
|-
 
|-
第49行: 第50行:
  
 
===Pins===
 
===Pins===
* Microduino-WiFi expansion board is used as a slave on the SPI bus, SPI master to communicate with Microduino
+
* We should know that Microduino-Wifi extension board is used as a slave machine, which communicates with Microduino host machine's SPI.
 
:{|class="wikitable"
 
:{|class="wikitable"
 
! Microduino-WiFi Module Pin
 
! Microduino-WiFi Module Pin
第84行: 第85行:
 
| 26
 
| 26
 
| D9
 
| D9
| Microduino set this PIN to high to enable CC3000
+
| Microduino activates CC3000 by setting the pin to high level.
 
|}
 
|}
  
第104行: 第105行:
 
|
 
|
 
==Development==
 
==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.
+
* Make sure the current(+3.3 v) can reach 200ma. It is not recommended for using FT232R to debug directly since the output current of FT232R is too small. The FT232R datasheet says you can draw up to 50 mA from its 3.3V output.
 +
*Liberary for upgrade:[[File:CC3000Patch.zip]]
 +
*CC3000Patch liberary is for firmware upgrade,develop liberary is _03_Microduino_WIFI_CC3000 and _03_Microduino_WIFI_CC3000_MDNS。
  
 
===Arduino library and supported package===
 
===Arduino library and supported package===
第111行: 第114行:
 
*https://github.com/Microduino/Microduino_Tutorials/tree/master/Microduino_Libraries/_01_Microduino_OLED_U8glib
 
*https://github.com/Microduino/Microduino_Tutorials/tree/master/Microduino_Libraries/_01_Microduino_OLED_U8glib
  
===Notes for how to use the library===
+
===Notice 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.
+
*CC3000 patch libry is used for upgrading the firmware and can't be activated with Adafruit_CC3000's libray at the same time.
*If you want to make these two libraries compatible Microduino Core+:  
+
*If you want to make these two libraries compatible with Microduino Core+:  
**You need open the “Adafruit_CC3000_4Patching.cpp”(CC3000Patch)or “Adafruit_CC3000.cpp”(Adafruit_CC3000)in library's fold firstly;
+
**You need open the “Adafruit_CC3000_4Patching.cpp”(CC3000Patch)or “Adafruit_CC3000.cpp”(Adafruit_CC3000)in library directories firstly;
**Find line that“#elif defined(__AVR_ATmega1281__) || defined(__AVR_ATmega2561__) || defined(__AVR_ATmega2560__) || defined(__AVR_ATmega1280__)” in file;
+
**Find the line #elif defined(__AVR_ATmega1281__) || defined(__AVR_ATmega2561__) || defined(__AVR_ATmega2560__) || defined(__AVR_ATmega1280__)” in the file;
**Add this “ || defined(__AVR_ATmega1284P__)  || defined(__AVR_ATmega644P__) ” in the tial of the last line.
+
**Add this “ || defined(__AVR_ATmega1284P__)  || defined(__AVR_ATmega644P__) ” after the line.
 
*CC3000Patch:
 
*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.  
+
**When using CC3000PATCH, please make sure any other cc3000 library should be removed to avoid conflict. And we recommend using "Aroduino version 1.01 or higher", if you are using lower version, 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\";
+
**CC3000Patch can be used to upgrade the firmware of CC3000,you need to 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”;
+
**You need to 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]
+
**More usage, please refer to [https://github.com/cmagagna/CC3000Patch/blob/master/README.md author's README]
 
*Adafruit_CC3000:
 
*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”
+
**You need to 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==
 
==Application==
===Upgrade the frimware of CC3000===
+
===Upgrade the firmware of CC3000===
*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]
+
*It is recommended to use CC3000Patch library  to upgrade the firmware of CC3000 to version 1.24. More information, please refer to [https://github.com/cmagagna/CC3000Patch/blob/master/README.md 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")
+
**(Note: Since the upgrade of firmware is operated by the serial monitor, so please set the new-line ending character of Arduino IDE serial monitor to "Newline and Enter". )
*After upgraed, delete the CC3000Patch library,and then start the Adafruit_CC3000 libray,you can run the included examples!
+
*After the upgrade, just delete the CC3000Patch library and start the Adafruit_CC3000 libray,then you can run the examples!
  
 
===SimpleLink™ Wi-Fi SmartConfig™ Function===
 
===SimpleLink™ Wi-Fi SmartConfig™ Function===
 
*If you want to use 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;
+
**Take the IOS as example,download the "TI WIFI SMARTCINFIG" from the App Store firstly;
**Connect the IOS device to router,open the "TI WIFI SMARTCINFIG",fill the route key in Password;
+
**Connect the IOS device to router,open the "TI WIFI SMARTCINFIG" and fill the route key in Password;
 
**Download the SmartConfigCreate to Microduino from the Adafruit_CC3000 library's examples;
 
**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。
+
**Open the serial port monitor(baud rade:115200)till “Waiting for a SmartConfig connection (~60s) ...” shows,just click the "Start" of TI WIFI SMARTCINFIG and wait for the result.
 +
 
 +
==FAQ==
 +
*Does this module have the antenna?
 +
**Yes
 +
*CC3000 module can’t open the webpage, but the “ping” command works. Identify the root cause in software “www.fastrprint (F("GET "));”, how to resolve this issue?
 +
**Need to burn the new firmware, please refer to following link:https://github.com/cmagagna/CC3000Patch/blob/master/README.md
  
==Bug==
+
==Buy==
  
 
==History==
 
==History==

2015年10月15日 (四) 06:52的最新版本

Language English
Microduino-CC3000

Microduino-CC3000 is a well-equipped wireless network module, which can simplify the implementation of the internet connection. SimpleLink? Wi-Fi can largely reduce MCU(Micro Controller Unit)'s software requirement of the host machine, making it ideal for using in any low-cost and low-power MCU of embedded applications.



Features

  • SimpleLink? Wi-Fi can largely reduce MCU(Micro Controller Unit)'s software requirement of the host machine;

SimpleLink? Wi-Fi SmartConfig™ technology can ensure a unique and fast Wi-Fi activation process;

  • Small, cheap, stackable and open;
  • Open hardware circuit design and Arduino compatible programming development environment;
  • Uniform Microduino interface standard and rich peripheral modules, capable of having a fast and flexible connection and extension with other modules and sensors in accord with Microduino interface standard;
  • Easy to be integrated to pegboards with a 2.45-pitch female header connector interface.

Specifications

  • Wireless Network Processor
    • IEEE 802.11 b/g
    • Embedded IPv4 TCP/IP stack
  • Best wireless performance in the industry
    • Power of Tx:11Mbps CCK with +18dBm
    • Sensitivity of Rx: 11Mbps CCK with -82dBm
  • Work together with a low-cost microcontroller which usese a compact memory package and processes one million instruction per second (MIPS)
    • 2K bytes Flash
    • 250 bytes RAM
  • Low power consumption
    • Use the FET and own less than 5uA shutdown mode current
  • 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 can ensure a unique and fast activation of Wi-Fi. Developers or end-users could configure the current wireless network through other devices, such as smart phones, tablet PC SmartConfig App program installation. It can configure wireless network information of the current Wifi environment for hardware circuit equipped with CC3000 through the program, including SSID, wireless password, security authentication, and so on. Just one step can it make several devices without display connected to Wifi network and allow people to connect their home network and the Cloud wirelessly.

Pins

  • We should know that Microduino-Wifi extension board is used as a slave machine, which communicates with Microduino host machine's SPI.
Microduino-WiFi 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 activates CC3000 by setting the pin to high level.

Documents

Eagle PCB 文件:Microduino-CC3000.zip

Main Components

Development

  • Make sure the current(+3.3 v) can reach 200ma. It is not recommended for using FT232R to debug directly since the output current of FT232R is too small. The FT232R datasheet says you can draw up to 50 mA from its 3.3V output.
  • Liberary for upgrade:文件:CC3000Patch.zip
  • CC3000Patch liberary is for firmware upgrade,develop liberary is _03_Microduino_WIFI_CC3000 and _03_Microduino_WIFI_CC3000_MDNS。

Arduino library and supported package

Notice for how to use the library

  • CC3000 patch libry is used for upgrading the firmware and can't be activated with Adafruit_CC3000's libray at the same time.
  • If you want to make these two libraries compatible with Microduino Core+:
    • You need open the “Adafruit_CC3000_4Patching.cpp”(CC3000Patch)or “Adafruit_CC3000.cpp”(Adafruit_CC3000)in library directories firstly;
    • Find the line “#elif defined(__AVR_ATmega1281__) || defined(__AVR_ATmega2561__) || defined(__AVR_ATmega2560__) || defined(__AVR_ATmega1280__)” in the file;
    • Add this “ || defined(__AVR_ATmega1284P__) || defined(__AVR_ATmega644P__) ” after the line.
  • CC3000Patch:
    • When using CC3000PATCH, please make sure any other cc3000 library should be removed to avoid conflict. And we recommend using "Aroduino version 1.01 or higher", if you are using lower version, please re-install it again from zero.
    • CC3000Patch can be used to upgrade the firmware of CC3000,you need to copy the CC3000Patch.ino to "\examples\CC3000Patch\";
    • You need to 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”;
    • More usage, please refer to author's README
  • Adafruit_CC3000:
    • You need to 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 firmware of CC3000

  • It is recommended to use CC3000Patch library to upgrade the firmware of CC3000 to version 1.24. More information, please refer to author's README
    • (Note: Since the upgrade of firmware is operated by the serial monitor, so please set the new-line ending character of Arduino IDE serial monitor to "Newline and Enter". )
  • After the upgrade, just delete the CC3000Patch library and start the Adafruit_CC3000 libray,then you can run the 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 the App Store firstly;
    • Connect the IOS device to router,open the "TI WIFI SMARTCINFIG" and 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)till “Waiting for a SmartConfig connection (~60s) ...” shows,just click the "Start" of TI WIFI SMARTCINFIG and wait for the result.

FAQ

  • Does this module have the antenna?
    • Yes
  • CC3000 module can’t open the webpage, but the “ping” command works. Identify the root cause in software “www.fastrprint (F("GET "));”, how to resolve this issue?

Buy

History

Picture

Front
Back

Video