Stufin
Home Quick Cart Profile

Arduino Uno CC3000 Wifi Shield

Buy Now

Data transmission

The shield enables the transmission of data between the Arduino Uno board and online services or other devices connected to the internet.

Key Features

Texas Instruments CC3000 Wi-Fi moduleThe shield is based on the CC3000 module, which provides a reliable and efficient Wi-Fi connection.

Arduino Uno compatibility

The shield is specifically designed for the Arduino Uno board and is compatible with its pinout.

Wi-Fi protocolsThe shield supports Wi-Fi protocols 802.11b/g/n and operates at a frequency of 2.4 GHz.

Security

The shield supports WPA2 encryption, ensuring secure data transmission over Wi-Fi networks.

Power management

The shield has built-in power management, which reduces power consumption and extends battery life in battery-powered applications.

Simple API

The shield comes with a simple API that allows for easy integration with the Arduino IDE.

On-board antennaThe shield has an on-board antenna, which provides optimal Wi-Fi signal strength and reception.

Compatibility with Arduino libraries

The shield is compatible with various Arduino libraries, including the Wi-Fi library, which provides a comprehensive set of functions for Wi-Fi communication.

Technical Specifications

Operating voltage

3.3V

Operating frequency

2.4 GHz

Wi-Fi protocols802.11b/g/n

Encryption

WPA2

Data transfer rate

Up to 65 Mbps

Power consumption

200 mA (peak), 20 mA (average)

Dimensions

68.58 mm x 53.34 mm (2.7 in x 2.1 in)

Conclusion

The Arduino Uno CC3000 Wifi Shield is a reliable and efficient Wi-Fi expansion board for the Arduino Uno microcontroller board. It provides a simple and cost-effective way to add Wi-Fi connectivity to IoT projects, enabling users to connect their devices to the internet and interact with online services. Its compact design, simple API, and compatibility with Arduino libraries make it an ideal choice for a wide range of applications, from home automation to wearable devices.

Pin Configuration

  • Arduino Uno CC3000 Wifi Shield Pinout Guide
  • The Arduino Uno CC3000 Wifi Shield is a wireless communication module designed to provide Wi-Fi connectivity to Arduino Uno boards. The shield is based on the Texas Instruments CC3000 Wi-Fi module and features a compact design with a 2x6 pin header for easy connection to the Arduino Uno. Below is a detailed explanation of each pin on the shield:
  • Header 1 (Upper Row)
  • 1. VIN: This pin is used to power the CC3000 Wi-Fi module and can be connected to the Vin pin on the Arduino Uno. It can accept a voltage range of 3.3V to 5V.
  • 2. GND: This is a ground pin and should be connected to the GND pin on the Arduino Uno.
  • 3. IRQ: This pin is used to interrupt the Arduino Uno when the CC3000 Wi-Fi module has data available or requires attention.
  • 4. RST: This pin is used to reset the CC3000 Wi-Fi module and should be connected to a digital pin on the Arduino Uno (typically D8).
  • 5. EN: This pin is used to enable or disable the CC3000 Wi-Fi module and should be connected to a digital pin on the Arduino Uno (typically D5).
  • 6. CSI: This pin is not used in the CC3000 Wi-Fi module and should be left unconnected.
  • Header 2 (Lower Row)
  • 1. SCK: This pin is used as the clock signal for the SPI bus and should be connected to the SCK pin on the Arduino Uno (typically D13).
  • 2. MISO: This pin is used as the Master In Slave Out signal for the SPI bus and should be connected to the MISO pin on the Arduino Uno (typically D12).
  • 3. MOSI: This pin is used as the Master Out Slave In signal for the SPI bus and should be connected to the MOSI pin on the Arduino Uno (typically D11).
  • 4. SS: This pin is used as the Slave Select signal for the SPI bus and should be connected to a digital pin on the Arduino Uno (typically D10).
  • 5. AFE: This pin is not used in the CC3000 Wi-Fi module and should be left unconnected.
  • 6. ANT: This pin is used as the antenna connection for the CC3000 Wi-Fi module and should be connected to an external antenna.
  • Connection Structure:
  • To connect the Arduino Uno CC3000 Wifi Shield to an Arduino Uno board, follow these steps:
  • 1. Align the pins on the shield with the corresponding pins on the Arduino Uno board.
  • 2. Connect the VIN pin on the shield to the Vin pin on the Arduino Uno.
  • 3. Connect the GND pin on the shield to the GND pin on the Arduino Uno.
  • 4. Connect the IRQ pin on the shield to a digital pin on the Arduino Uno (typically D2 or D3).
  • 5. Connect the RST pin on the shield to a digital pin on the Arduino Uno (typically D8).
  • 6. Connect the EN pin on the shield to a digital pin on the Arduino Uno (typically D5).
  • 7. Connect the SCK pin on the shield to the SCK pin on the Arduino Uno (typically D13).
  • 8. Connect the MISO pin on the shield to the MISO pin on the Arduino Uno (typically D12).
  • 9. Connect the MOSI pin on the shield to the MOSI pin on the Arduino Uno (typically D11).
  • 10. Connect the SS pin on the shield to a digital pin on the Arduino Uno (typically D10).
  • Note: Ensure proper connection and alignment of the pins to avoid damage to the shield or the Arduino Uno board.

Code Examples

Arduino Uno CC3000 Wifi Shield Documentation
Overview
The Arduino Uno CC3000 Wifi Shield is a popular Wi-Fi shield designed to work with the Arduino Uno board. It provides a simple and cost-effective way to add Wi-Fi connectivity to your Arduino projects. The shield is based on the CC3000 Wi-Fi module from Texas Instruments, which is a low-power, low-cost Wi-Fi solution.
Hardware Description
The Arduino Uno CC3000 Wifi Shield consists of the following components:
CC3000 Wi-Fi module
 Antenna
 Reset button
 LED indicators for Wi-Fi status and activity
 SPI bus interface for communication with the Arduino board
Software Library
To use the Arduino Uno CC3000 Wifi Shield, you need to install the CC3000 library for Arduino. You can download the library from the Arduino website or install it through the Arduino Library Manager.
Code Examples
### Example 1: Connecting to a Wi-Fi Network
In this example, we will connect the Arduino Uno board to a Wi-Fi network using the CC3000 Wifi Shield.
```c
#include <CC3000.h>
#define WLAN_SSID "your_wifi_ssid"
#define WLAN_PASS "your_wifi_password"
#define WLAN_SECURITY WLAN_SEC_WPA2
void setup() {
  Serial.begin(9600);
/ Initialize CC3000 module /
  CC3000.begin();
/ Connect to Wi-Fi network /
  Serial.println("Connecting to Wi-Fi...");
  if (!CC3000.connectToAP(WLAN_SSID, WLAN_PASS, WLAN_SECURITY)) {
    Serial.println("Failed to connect to Wi-Fi");
    while(1);
  }
  Serial.println("Connected to Wi-Fi!");
}
void loop() {
  / Do something after connecting to Wi-Fi /
  Serial.println("Connected to Wi-Fi!");
  delay(1000);
}
```
### Example 2: Sending an HTTP Request
In this example, we will send an HTTP request to a web server using the CC3000 Wifi Shield.
```c
#include <CC3000.h>
#include <CC3000Net.h>
#define WLAN_SSID "your_wifi_ssid"
#define WLAN_PASS "your_wifi_password"
#define WLAN_SECURITY WLAN_SEC_WPA2
#define SERVER_IP "google.com"
#define PORT 80
CC3000Net net;
void setup() {
  Serial.begin(9600);
/ Initialize CC3000 module /
  CC3000.begin();
/ Connect to Wi-Fi network /
  Serial.println("Connecting to Wi-Fi...");
  if (!CC3000.connectToAP(WLAN_SSID, WLAN_PASS, WLAN_SECURITY)) {
    Serial.println("Failed to connect to Wi-Fi");
    while(1);
  }
  Serial.println("Connected to Wi-Fi!");
/ Initialize TCP client /
  net = CC3000Net();
}
void loop() {
  / Send an HTTP request to the server /
  Serial.println("Sending HTTP request...");
  net.connect(SERVER_IP, PORT);
  net.print("GET / HTTP/1.1
Host: ");
  net.print(SERVER_IP);
  net.println("

");
/ Read the response from the server /
  while (net.connected()) {
    if (net.available()) {
      char c = net.read();
      Serial.print(c);
    }
  }
/ Close the connection /
  net.close();
  delay(1000);
}
```
### Example 3: Scanner Application (List Available Wi-Fi Networks)
In this example, we will create a scanner application that lists the available Wi-Fi networks in range.
```c
#include <CC3000.h>
void setup() {
  Serial.begin(9600);
/ Initialize CC3000 module /
  CC3000.begin();
}
void loop() {
  int i;
  int numNetworks = CC3000.scanNetworks();
Serial.println("Available Wi-Fi networks:");
  for (i = 0; i < numNetworks; i++) {
    Serial.print(i + 1);
    Serial.print(": ");
    Serial.println(CC3000.SSID(i));
  }
delay(10000);
}
```
Troubleshooting
Make sure to install the CC3000 library for Arduino and import it in your sketch.
 Ensure that you have the correct Wi-Fi credentials and network settings.
 Check the CC3000 module's antenna connection and ensure it is properly connected to the shield.
Conclusion
The Arduino Uno CC3000 Wifi Shield is a powerful tool for adding Wi-Fi connectivity to your Arduino projects. With the provided code examples, you can start building your own Wi-Fi-enabled projects, such as IoT devices, robotics, and more.