I just bought a CC3000 shield, followed your instructions, plugged it into a mega2560 and attempted to run build test.
the serial monitor is displaying many lines of random characters which this forum would not accept
I'm trying to connect to a Securify Almond as a range extender, since my home system is an Airport Extreme and 3 Airport expresses, and I've read about all the issues trying to connect to an Apple.
I had the same response when attempting to connect to the Airport extreme
I also tried using TI's Smart Config from my iPhone, which after several minutes continued spinning showing no sign of progress
any idea whats happening?
Thanks
CC3000 Shield Set up
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- Franklin97355
- Posts: 23911
- Joined: Mon Apr 21, 2008 2:33 pm
Re: CC3000 Shield Set up
Make sure the baud rate you have set in the Serial.begin() is the same as the one in the serial monitor.the serial monitor is displaying many lines of random characters
- jerry_H
- Posts: 12
- Joined: Thu Aug 21, 2014 5:27 pm
Re: CC3000 Shield Set up
Wow, thats embarrassing! Cant believe i missed that, thanks so much! works perfectly! did all the tutorials, thanks again
- jerry_H
- Posts: 12
- Joined: Thu Aug 21, 2014 5:27 pm
Re: CC3000 Shield Set up
Thanks for your help, i was able to successfully execute all of the Adafruit CC3000 tutorials.
I bought the CC3000 because I saw it as supported hardware for the Arduino Manager app, which looks like the most amazing Arduino control interface i could imagine!
After working through the Adafruit tutorials, I downloaded the tutorials from Arduino managers web site. They have a tutorial specifically for the CC3000, which I was most interested in.
Their tutorial however crashed simply clicking on Verify code. I have emailed their tech support twice in the last week with no response. I have also posted on the Arduino web site with no response after I replied by posted my code.
Has anyone done this, who knows how... Would you please direct me to them?
I realize your tutorials work with your hardware, and I appreciate that.
Any advice on where I could find answers in setting up Arduino Manager with your CC3000 would be greatly appreciated.
Thank you
these are the error messages I get when running Verify-
Arduino: 1.0.5 (Mac OS X), Board: "Arduino Mega 2560 or Mega ADK"
BANNED:111: error: 'IOSControllerWiFiCC3000' does not name a type
BANNED.ino: In function 'void loop()':
BANNED:200: error: 'iosController' was not declared in this scope
BANNED.ino: In function 'void doSync(char*)':
BANNED:237: error: 'iosController' was not declared in this scope
BANNED:242: error: 'iosController' was not declared in this scope
BANNED:247: error: 'iosController' was not declared in this scope
BANNED.ino: In function 'void processIncomingMessages(char*, char*)':
BANNED:273: error: 'iosController' was not declared in this scope
BANNED:278: error: 'iosController' was not declared in this scope
BANNED.ino: In function 'void processOutgoingMessages()':
BANNED:295: error: 'iosController' was not declared in this scope
I bought the CC3000 because I saw it as supported hardware for the Arduino Manager app, which looks like the most amazing Arduino control interface i could imagine!
After working through the Adafruit tutorials, I downloaded the tutorials from Arduino managers web site. They have a tutorial specifically for the CC3000, which I was most interested in.
Their tutorial however crashed simply clicking on Verify code. I have emailed their tech support twice in the last week with no response. I have also posted on the Arduino web site with no response after I replied by posted my code.
Has anyone done this, who knows how... Would you please direct me to them?
I realize your tutorials work with your hardware, and I appreciate that.
Any advice on where I could find answers in setting up Arduino Manager with your CC3000 would be greatly appreciated.
Thank you
these are the error messages I get when running Verify-
Arduino: 1.0.5 (Mac OS X), Board: "Arduino Mega 2560 or Mega ADK"
BANNED:111: error: 'IOSControllerWiFiCC3000' does not name a type
BANNED.ino: In function 'void loop()':
BANNED:200: error: 'iosController' was not declared in this scope
BANNED.ino: In function 'void doSync(char*)':
BANNED:237: error: 'iosController' was not declared in this scope
BANNED:242: error: 'iosController' was not declared in this scope
BANNED:247: error: 'iosController' was not declared in this scope
BANNED.ino: In function 'void processIncomingMessages(char*, char*)':
BANNED:273: error: 'iosController' was not declared in this scope
BANNED:278: error: 'iosController' was not declared in this scope
BANNED.ino: In function 'void processOutgoingMessages()':
BANNED:295: error: 'iosController' was not declared in this scope
- Franklin97355
- Posts: 23911
- Joined: Mon Apr 21, 2008 2:33 pm
Re: CC3000 Shield Set up
It looks like there is a library you don't have installed or is installed in the wrong place.
- jerry_H
- Posts: 12
- Joined: Thu Aug 21, 2014 5:27 pm
Re: CC3000 Shield Set up
Thanks, these appear to be the libraries called from the sketch-
#include <Adafruit_CC3000.h>
#include <SPI.h>
#include "utility/debug.h"
#include "utility/socket.h"
#include <Servo.h>
#include <IOSControllerWiFiCC3000.h>
The Adafruit libraries appear to be installed at the correct place, or i would not have expected the Adafruit tutorials to work
The Arduino Manager files were all installed by their iOSControllerLibrariesInstaller.app and appear to be where you would expect them
how would i troubleshoot what might be missing or at the wrong place?
#include <Adafruit_CC3000.h>
#include <SPI.h>
#include "utility/debug.h"
#include "utility/socket.h"
#include <Servo.h>
#include <IOSControllerWiFiCC3000.h>
The Adafruit libraries appear to be installed at the correct place, or i would not have expected the Adafruit tutorials to work
The Arduino Manager files were all installed by their iOSControllerLibrariesInstaller.app and appear to be where you would expect them
how would i troubleshoot what might be missing or at the wrong place?
- Franklin97355
- Posts: 23911
- Joined: Mon Apr 21, 2008 2:33 pm
Re: CC3000 Shield Set up
Could you post some links to where you got your files for the manager? I couldn't find the CC3000 demo.
- jerry_H
- Posts: 12
- Joined: Thu Aug 21, 2014 5:27 pm
Re: CC3000 Shield Set up
I believe they downloaded with the installer app, which i think i found here... i have been all over their site and have read everything, so its hard to be certain what page I downloaded it from, but I believe this is it
https://sites.google.com/site/fabboco/h ... oneandipad
Thank you
https://sites.google.com/site/fabboco/h ... oneandipad
Thank you
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: CC3000 Shield Set up
This is telling you that the IOSControllerWiFiCC3000 library is not correctly installed. Make sure that IOSControllerWiFiCC3000.h and IOSControllerWiFiCC3000.cpp are at the top level of a folder called IOSControllerWiFiCC3000.jerry_H wrote:these are the error messages I get when running Verify-
Arduino: 1.0.5 (Mac OS X), Board: "Arduino Mega 2560 or Mega ADK"
BANNED:111: error: 'IOSControllerWiFiCC3000' does not name a type
- jerry_H
- Posts: 12
- Joined: Thu Aug 21, 2014 5:27 pm
Re: CC3000 Shield Set up
Thank you, You are right, the problem was the script was not finding the IOSControllerWiFiCC3000.h, I suppose, because i put it in a folder called Arduino Manager so my library folder wouldn't be more than a page long. Since I thought I installed it there and not seeing any directory information on the Arduino Manager script, I'm perplexed as to why it couldn't find it where i installed it.
I got the script loaded into the Mega and the serial monitor tells me its connected to my wifi, the i get continuing time synching errors while the iPad spins connecting indefinitely. Any idea where to go from here?
Looks like this-
Setting up
Connecting to VH...Connected!
IP Addr: 192.168.1.1
Netmask: 255.255.255.0
Gateway: 10.0.1.11
DHCPsrv: 0.0.0.0
DNSserv: 10.0.1.11
Setup Completed
Time Syncing...Error
I got the script loaded into the Mega and the serial monitor tells me its connected to my wifi, the i get continuing time synching errors while the iPad spins connecting indefinitely. Any idea where to go from here?
Looks like this-
Setting up
Connecting to VH...Connected!
IP Addr: 192.168.1.1
Netmask: 255.255.255.0
Gateway: 10.0.1.11
DHCPsrv: 0.0.0.0
DNSserv: 10.0.1.11
Setup Completed
Time Syncing...Error
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: CC3000 Shield Set up
Those don't look like valid IP addresses. Where are you seeing this - the iPad?
- jerry_H
- Posts: 12
- Joined: Thu Aug 21, 2014 5:27 pm
Re: CC3000 Shield Set up
No, the serial display on my Mac.
the first address is the one in the iPad, which seems like what it should be.
the second, a local engineer told me is typically the net mask and that is what was in the script as such
the gateway and DNS are the ip address of my wifi router
the first address is the one in the iPad, which seems like what it should be.
the second, a local engineer told me is typically the net mask and that is what was in the script as such
the gateway and DNS are the ip address of my wifi router
- jerry_H
- Posts: 12
- Joined: Thu Aug 21, 2014 5:27 pm
Re: CC3000 Shield Set up
The instructions say this-
Edit address in the setStaticIPAddress function call adapting them to your
network
First address is the address which you assign to the board
Second address is the network mask of your network
Third address is the address of your gateway
Forth address is the address of your DNS
Edit address in the setStaticIPAddress function call adapting them to your
network
First address is the address which you assign to the board
Second address is the network mask of your network
Third address is the address of your gateway
Forth address is the address of your DNS
- Franklin97355
- Posts: 23911
- Joined: Mon Apr 21, 2008 2:33 pm
Re: CC3000 Shield Set up
The IP of the device and the gateway need to be on the same segment of the network so 192.168.1.1 can't talk to 10.0.1.11
- jerry_H
- Posts: 12
- Joined: Thu Aug 21, 2014 5:27 pm
Re: CC3000 Shield Set up
Thank you, i corrected it, using the addresses from the buildtest.ino and I'm connected!
Thanks so much!
Thanks so much!
Please be positive and constructive with your questions and comments.