Do waveshield and CC3000 wifi shield work on the same arduin
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88154
- Joined: Sat Feb 07, 2009 10:11 am
- 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
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.
Dani
(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
- local_dani_21
- Posts: 128
- Joined: Sun Apr 19, 2009 3:10 pm
Do waveshield & CC3000 wifi breakout work on an arduino mega
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
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
- 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
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.
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.
- 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
Hi Rick
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
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)).So, you've got the CC3000 breakout, and you've installed the 74HC125 on MISO, right?
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
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: Do waveshield and CC3000 wifi shield work on the same ar
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!
Please be positive and constructive with your questions and comments.