Do waveshield and CC3000 wifi shield work on the same arduin

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
adafruit_support_bill
 
Posts: 88154
Joined: Sat Feb 07, 2009 10:11 am

Re: Do waveshield and CC3000 wifi shield work on the same ar

Post by adafruit_support_bill »

Yes.

User avatar
local_dani_21
 
Posts: 128
Joined: Sun Apr 19, 2009 3:10 pm

Re: Do waveshield and CC3000 wifi shield work on the same ar

Post by local_dani_21 »

If anyone is interested on how to use the CC3000 wifi breakout board together with another SPI-device, you should have a look at the drawing. Makes the MISO line go high impedance when the CC3000 is not used / selected by the CS connection.
setup_small.jpg
setup_small.jpg (179.58 KiB) Viewed 324 times
(I personally think this chip (74AHC125) should be part of the breakout board ... otherwise the board is useless as soon as another SPI-device is part of the project ... or it should be meantioned in big letters in the corresponding shop site).

Dani

User avatar
local_dani_21
 
Posts: 128
Joined: Sun Apr 19, 2009 3:10 pm

Do waveshield & CC3000 wifi breakout work on an arduino mega

Post by local_dani_21 »

Ok, now I have a running CC3000 (6 Pins: 21(IRQ), 42(VBEN), 43(CS), 50(MISO), 51(MOSI), 52(SCK)) and a running waveshield (7 Pins: 46(CLK), 48(DI), 49(LCS), 50(MISO), 51(MOSI), 52(SCK), 53(SS)). They both work well with their own example-scripts. When I put the scripts together into one script, I can first use CC3000 to look up a website, then play a sound. As soon as the waveshield is used (or has been used), I can no longer use the CC3000, the module seems to get hung up (for example at cc3000.getHostByName(WEBSITE, &ip), without returning anything, so the script cannot detect a failure, which blocks the whole installation, which is a shame.

However: I'm able to get pings while the sound is playing ( uint8_t replies = cc3000.ping(ip, 1);)!

Do you have any idea how to solve this?

Thanks, Dani

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Do waveshield and CC3000 wifi shield work on the same ar

Post by adafruit_support_rick »

So, you've got the CC3000 breakout, and you've installed the 74HC125 on MISO, right?

You also have a CC3000 shield - have you tried this with the waveshield?

Can you check the voltage levels of all of the CS lines when the sketch hangs? Only one of the lines should be low.

User avatar
local_dani_21
 
Posts: 128
Joined: Sun Apr 19, 2009 3:10 pm

Re: Do waveshield and CC3000 wifi shield work on the same ar

Post by local_dani_21 »

Hi Rick
So, you've got the CC3000 breakout, and you've installed the 74HC125 on MISO, right?
That is correct and the module works nicely with your example scripts. I used the pins as follows: CC3000 (6 Pins: 21(IRQ), 42(VBEN), 43(CS), 50(MISO), 51(MOSI), 52(SCK)) / waveshield (7 Pins: 46(CLK), 48(DI), 49(LCS), 50(MISO), 51(MOSI), 52(SCK), 53(SS)).

I don't have a cc3000 shield, only the breakoutboard.

My installation went life yesterday (unfortunately without wifi functionality) so I won't be able to access it to measure the CS lines until mid-january (it's standing outside).

Thank you for the suggestion, I will get back to it.
Dani

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: Do waveshield and CC3000 wifi shield work on the same ar

Post by adafruit »

we havent used those together, we're going to assume they are not compatible - both have a lot of code complexity that might be interfering. Sorry, we don't have any other suggestions!

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

Return to “Arduino Shields from Adafruit”