Breakout with arduino mega

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
hsoon22
 
Posts: 1
Joined: Fri Aug 29, 2014 8:39 am

Breakout with arduino mega

Post by hsoon22 »

is there any problem if i use CC3000 breakout with arduino mega

if not, how connect mega to arduino pins ( What are the numbers of pins )

Thank you

User avatar
Franklin97355
 
Posts: 23910
Joined: Mon Apr 21, 2008 2:33 pm

Re: Breakout with arduino mega

Post by Franklin97355 »

The CC3000 is (electrically) fairly simple to use. The module requires an SPI connection, including a clock (CLK), data in from a microcontroller (MOSI) and data out to the microcontroller (MISO). It also uses a chip-select line (CS) for SPI to indicate when a data transfer as started

Along with the SPI interface, there is a power-enable type pin called VBAT_EN which we use to start the module properly and also an IRQ pin, which is the interrupt from the CC3000. The IRQ pin is required to communicate and must be tied to an interrupt-in pin on the Arduino. On the Mega/UNO, we suggest #2 or #3

On the CC3000 shield, we use the following pin connections
SCK - #13
MISO #12
MOSI #11
CS for CC3000 #10
VBAT_EN #5
CS for SD Card #4
IRQ #3
On the breakout, be aware that the MISO (data out from module) pin does not go 'high impedance' when CS is driven high. Check the shield for how we use a 74AHC125 to manually tri-state this pin when it's shared with an SD card.
and here is the mega pinout the spi connections are in the upper right.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”