This library is available from 86Duino Coding 105 and is the 86Duino porting of Adafruit’s CC3000 library for Arduino to support the Adafruit CC3000 WiFi Shield. One can refer to Adafruit’s tutorial pages for the usage of this library.
How to connect Adafruit CC3000 WiFi Shield with 86Duino
The connecting method between 86Duino and Arduino is difference. Before using this library, first refer to the below description which tell you a correct method to connect Adafruit CC3000 WiFi shield with 86Duino.
Adafruit CC3000 WiFi shield communicates with the MCU by SPI interface. It has two kind of function pins: communicate pins and control pins. The communicate function pins are MOSI、MISO、CLK and can be connected to SPIDO、SPIDI、SPICLK pins in sequence on 86Duino SPI port; The control function pins are IRQ、CS、VBAT_EN and can be connected to 86Duino digital pin 42、43、44 in sequence. In addition, Adafruit CC3000 WiFi shield also needs 5V and GND, we connect them to 5V pin、GND pin on 86Duino in sequence. And then, you can use AdaWifi library to control Adafruit CC3000 module.
Getting the Adafruit CC3000 WiFi shield, you first need to solder eath header pins according to Adafruit CC3000 Shield Assembly Tutorial:
The connecting method of Adafruit CC3000 WiFi module and 86Duino, show as below (86Duino Zero for example):
Example for connecting:
Note: digital pin 43、SPICLK、SPIDI pins are very closed with the metal shell of 86Duino CPU. To avoid shorted each other, you should do some protecting thing for every pin to isolate the metal shell like below:
Libraries Reference Home
The text of the 86Duino reference is a modification of the Arduino reference and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.