Buildtest does not work

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
chuchu
 
Posts: 5
Joined: Thu May 28, 2015 6:40 pm

Buildtest does not work

Post by chuchu »

I am using cc3000 WiFi board with tinyduino. And when I run the buildtest in the Adafruit library, I got the following error message:

Code: Select all

Request DHCP
Unable to retrieve the IP Address!
However, when I run other program like WebClient.io, which also uses

Code: Select all

cc3000.checkDHCP()
I can retrieve the IP Address.

For example,

Code: Select all

IP Addr: 10.105.139.108
Netmask: 255.255.252.0
Gateway: 10.105.136.1
DHCPsrv: 10.129.197.10
DNSserv: 128.32.206.9
www.adafruit.com -> 207.58.139.247-------------------------------------
HTTP/1.1 200 OK
Date: Thu, 28 May 2015 22:51:21 GMT
Server: Apache
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept, Accept-Encoding, Authorization, Referer, User-Agent
Access-Control-Allow-Methods: GET, POST, OPTIONS
Access-Control-Allow-Credentials: true
Access-Control-Max-Age: 1728000
Accept-Ranges: bytes
X-Mod-Pagespeed: 1.9.32.3-4448
Vary: Accept-Encoding
Cache-Control: max-age=0, no-cache
Content-Length: 74
Content-Type: text/html

This is a test of the CC3000 module!
If you can read this, its working :)
I has been stuck for a while, thanks for the help in advance

User avatar
tdicola
 
Posts: 1074
Joined: Thu Oct 17, 2013 9:11 pm

Re: Buildtest does not work

Post by tdicola »

Thanks for checking out the cc3000! That's interesting that other examples work but buildtest stops at the wait for DHCP. Just to check are you powering the CC3000 and Arduino from an external power supply or from a USB port on a computer? To rule out any power issue make sure to use an external supply that can provide 1 amp or more of current--we've seen a lot of issues with USB ports that sometimes can't supply enough current to power the Arduino & CC3000. Perhaps the initialization in buildtest is doing a little bit more work than other sketches and causing it to hit a power issues.

User avatar
chuchu
 
Posts: 5
Joined: Thu May 28, 2015 6:40 pm

Re: Buildtest does not work

Post by chuchu »

I am using USB to power the cc3000 board. Should I disconnect it with USB port? I am confused because how I can read serial monitor output if I disconnect arduino with my computer. Or should I connect it with a power supply and my computer at the same time? Thanks!

User avatar
tdicola
 
Posts: 1074
Joined: Thu Oct 17, 2013 9:11 pm

Re: Buildtest does not work

Post by tdicola »

Oh thanks for clarifying, yep you you can plug in both the USB connector to your computer (to get the serial output) and an external power supply to power the board. Check out the spec page for your Arduino, but if it's an Uno then a 7-12 volt power supply is what you can use to power the board: http://www.arduino.cc/en/Main/ArduinoBoardUno

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

Return to “Other Arduino products from Adafruit”