Jump to content


  • Content Count

  • Joined

  • Last visited

About Sana95

  • Rank
    Noob Class

Profile Information

  • Gender
  • Interests
    System software, automation, Java, Web Scripts, Energia
  1. I haven't yet included the ping function of the sensors yet. once the database accepts these dummy values i can incorporate the function into the code as well. as of now, the cc3200 connects periodically to the server, but as i mentioned, the server returns only an error message. i am trying to update the value of a particular variable in the database.
  2. Hi, I'm using heroku to host my server which is coded using ruby on rails. the server returns an error message. code 500 and the logs state that the template isn't found. Yeah, I just used the example as a base to build my own application as i'm just starting off with the cc3200. The current code is: #ifndef __CC3200R1M1RGC__ // Do not include SPI for CC3200 LaunchPad #include <SPI.h> #endif #include <WiFi.h> const int pingPin = 1; // your network name also called SSID char ssid[] = "samiya"; // your network password char password[] = "samiya95"; // Initialize the Wifi
  3. Hi, I'm trying to read in data from my sensor and then send it to my server over Wifi. I am not very sure about the best format to send numerical data. the CC3200 is the client that periodically sends values to the server. The server is being built using Ruby on Rails with HTTP and TCP. There also seems to be some ambiguity about the usage of the GET method. Is the PUT method a better choice? if so, what would be the correct format to send the data?? The code I'm working with: #ifndef __CC3200R1M1RGC__ // Do not include SPI for CC3200 LaunchPad #include <SPI.h> #endif #include <W
  4. @cubeberg: Thanks, but it works fine if you add a resistor to the circuit.
  5. http://processors.wiki.ti.com/index.php/CC32xx_Quick_Start_Guide?DCMP=cc3100cc3200&HQS=cc3200launchpadstart I found this link to be pretty useful regarding the cc3200 when i started. Sample code for the startSmartConfig: taken from a forum example #include <SPI.h> #include <WiFi.h> void setup() { Serial.begin(115200); Serial.println("Starting WiFi SmartConfig"); WiFi.startSmartConfig(); Serial.print("Connected to SSID: "); Serial.println(WiFi.SSID()); while (WiFi.localIP() == INADDR_NONE) { // print dots while we wait for an ip addresss Serial.print("."); delay(300);
  6. I am essentially trying to connect an External LED and execute the Blink example pre loaded in Energia on it instead of the inbuilt LED. This is the code I was trying to use. I also used the internal LED to check if the code was working or not. With regard to the connections, i connected the LED, to a resistor and then connected it to PIN_50. the circuit was completed by connecting the other end of the LED, to the Gnd. #define L GREEN_LED void setup() { // put your setup code here, to run once: pinMode(PIN_50, OUTPUT); pinMode(L, OUTPUT); //digitalWrite(PIN_50, LOW); } void loop
  7. Hi, I am just getting started with CC3200 and Energia for my very first project. I wanted to know if it's possible to use pinmux to configure pins of the cc3200 on Energia? if yes/no, what is the procedure/alternative?
  • Create New...