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 - mhudspeth

Pages: 1
1
General Discussion / Re: WIFI
« on: November 26, 2013, 03:31:03 PM »
mhudspeth,

I was just looking at the Adafruit library too. I'm completely new to Arduino, so bear with me, but taking the InternetTime.ino code as an example the following would be true?

Code: [Select]
. . .

That's what I had, yes. Make sure you have the network SSID, password, and security information on the next couple lines.

Code: [Select]
// These are the interrupt and control pins
#define ADAFRUIT_CC3000_IRQ   2  // MUST be an interrupt pin!
// These can be any two pins
#define ADAFRUIT_CC3000_VBAT  A3
#define ADAFRUIT_CC3000_CS    8
// Use hardware SPI for the remaining pins
// On an UNO, SCK = 13, MISO = 12, and MOSI = 11
Adafruit_CC3000 cc3000 = Adafruit_CC3000(ADAFRUIT_CC3000_CS, ADAFRUIT_CC3000_IRQ, ADAFRUIT_CC3000_VBAT,
                                         SPI_CLOCK_DIV2); // you can change this clock speed but DI

#define WLAN_SSID       "mySSID"        // cannot be longer than 32 characters!
#define WLAN_PASS       "myPassword"
// Security can be WLAN_SEC_UNSEC, WLAN_SEC_WEP, WLAN_SEC_WPA or WLAN_SEC_WPA2
#define WLAN_SECURITY   WLAN_SEC_WPA2

2
General Discussion / Re: WIFI
« on: November 26, 2013, 02:19:08 PM »
Through my searches, I have found that the Adafruit CC3000 library (https://github.com/adafruit/Adafruit_CC3000_Library) seems to work so far. Using this and playing with variables, it seems that CS from the wifi module is bound to pin 8, IRQ on pin 2, and the final pin is A3 (I believe this is used to turn the WiFi on/off).

Someone please correct me if I am wrong.

3
General Discussion / Re: WIFI
« on: November 26, 2013, 01:37:09 PM »
I, too, am looking for any info regarding the WiFI TinyShield. The only potentially useful info I have been able to find is that the Wifi module uses pins A3, 2, 8, MISO, MOSI, and SCK. The last three are helpful in that they are standard for most of the libraries you can find for the CC3000, but the first three don't help me because I don't know which functions those pins are being used for.

Hopefully someone close to the project can come and answer some questions in this thread. It seems there are how-tos (http://tiny-circuits.com/learn/) for every module but WiFi.

Pages: 1
SMF spam blocked by CleanTalk