Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - jcarter

Pages: 1
Dumb question here: what is the size (and better still the part number) of the screws in the original mounting kit?

According to the website:

    Four M1.2 Machine Screws, No Slot Oval Head, 15.0mm length
    Four M1.2 Hex Nuts, ACF 2.2mm
    Twelve Plastic Spacers, 3.0mm Height, 2.3mm ID, 3.2mm OD

I had some problems initially getting my wifi to connect.

Since the Adafruit website is covered with warnings about problems with newer IDEs, I'm only using 1.0.6.

First thing to notice is you need to set the serial monitor to 115200.

I modified the buildtest sketch with the pin names as directed, and it was unable to resolve (just waits forever, never times out).  I poked around my Wifi router config, and noticed that the address reported by the program ( was outside the range my DHCP server was supposed to give out (, and the DNS server and gateway (  were incorrect.

(Also, while my Wifi router could see my tinywifi MAC, it reported that no DHCP address had been assigned).

It appears that part of the Wifi config is saved inside the CC3000 chip. (The instructions for setting a static IP hint at this). I was able to get mine to work by uncommenting the code to activate DHCP:

/* Optional: Revert back from static IP addres to use DHCP.
     See note for setStaticIPAddress above, this only needs to be
     called once and will be remembered afterwards by the CC3000.
  if (!cc3000.setDHCP()) {
    Serial.println(F("Failed to set DHCP!"));

Apparently, if the chip is EVER used for not-DHCP, it remembers it. Kinda whack, because that means that if there was any testing done on the product, it risks leaving weird state behind.

After this change, I successfully received a valid DHCP IP, and the gateway & DNS server set correctly, and the rest of the buildtest program worked.

Pages: 1
SMF spam blocked by CleanTalk