Jump to content
43oh

umesh

Members
  • Content Count

    26
  • Joined

  • Last visited

Reputation Activity

  1. Like
    umesh reacted to yosh in ESP8266 with MSP430G2553 launchpad   
    @@umesh are you sure your ESP8266 is set to 115.200 baud? Your output looks like the baudrate could be wrong. Maybe give 57.600 or even 9.600 baud a try !?
  2. Like
    umesh reacted to yosh in ESP8266 with MSP430G2553 launchpad   
    Had a typo ... of Pins 3 and 4 (RX and TX) for hardware serial! Sorry ... 
    Edit: Jumper Layout is like this http://forum.43oh.com/index.php?/topic/9179-MSP-<-->-EMULATOR-explanation#entry69818
     
    Entry #3
  3. Like
    umesh reacted to yosh in ESP8266 with MSP430G2553 launchpad   
    Try using pins 3 and 4 for the ESP : use jumper wire from these pins to connect to the ESP. Then remove the RX TX jumpers from the Launchpad (the most left one and the one next to it). Use softwareserial(e.g. on Pins 5 and 6 with 9600 baud) for debugging : connect the pins 5 and 6 e.g. with jumper wires to the pins where you have removed the jumpers.
  4. Like
    umesh reacted to yosh in ESP8266 with MSP430G2553 launchpad   
    You cannot use rx tx pins for communication with ESP and computer (serial monitor) at the same time. Try using software serial instead for one connection ....
  5. Like
    umesh reacted to energia in ESP8266 with MSP430G2553 launchpad   
    @@umesh can you please try an external power supply. It seems that @@Fmilburn had issues with the LaunchPad not supplying enough power to support the esp8266.
  6. Like
    umesh reacted to al1fch in ESP8266 with MSP430G2553 launchpad   
    Hello
     
    9600 bauds was OK for 'old' AT firmwares, check Serial.begin(115200) for 'recent' ESPxx modules.
     
    +only  250mA avaliable -> some Vss drop oup during strong radio +20dBm TX pulses, may cause 'unwanted' resets
    + so called "3V3" is 3.55V on my two MSP2553 Launchpad,   OK but 'high end' for ESP8266 chip (3.6V)
  7. Like
    umesh got a reaction from LIJsselstein in ESP8266 with MSP430G2553 launchpad   
    Hello
    I am trying to send data to browser using wifi module ESP8266 with MSP430G2553 launchpad.
    ESP8266 work on 3.3V and MSP430G2553 also. So here i connected ESP8266 directly to the launchpad.
    connections are-
    Tx of ESP to Rx of Launchpad
    Rx of ESP to Tx of Launchpad
    VCC to Vcc
    Gnd to Gnd
    CH_PD to 3.3V
     
    and i got code for energia from this forum only. code is as follows
    #define SSID        "friends"         #define PASS        "walchand"         #define DST_IP      "things.ubidots.com"         #define idvariable  "569fc4ba76254229c49896a6"   // replace with your Ubidots Variable ID         #define token       "aIdUatYb4QqgntExGmdi6xIllonUaY3AxwJjs5UzCCVib9reI1dI2XFEnfeX"  // replace with your Ubidots token         int len;                  void setup()         {           // Open serial communications and wait for port to open:           char cmd[254];           Serial.begin(9600);           Serial.setTimeout(5000);           //test if the module is ready           Serial.println("AT+RST");           delay(1000);           if (Serial.find("ready"))           {             Serial.println("Module is ready");           }           else           {             Serial.println("Module have no response.");             while (1);           }           delay (1000);           //connect to the wifi           boolean connected = false;           for (int i = 0; i < 5; i++)           {             if (connectWiFi())             {               connected = true;               break;             }           }           if (!connected) {             while (1);           }           delay(5000);           Serial.println("AT+CIPMUX=0");           }                  void loop()         {           int value = analogRead(A0);                          //you can change ir to another pin           int num=0;           String var = "{\"value\":"+ String(value) + "}";           num = var.length();           String cmd = "AT+CIPSTART=\"TCP\",\"";           cmd += DST_IP;           cmd += "\",80";           Serial.println(cmd);           if (Serial.find("Error")) return;                      len=strlen ("POST /api/v1.6/datasources/");           len=len+strlen (idvariable);           len=len+strlen ("/values HTTP/1.1\nContent-Type: application/json\nContent-Length: ");           char numlenght[4]; // this will hold the length of num which is the length of the JSON element           sprintf(numlenght, "%d", num); // saw this clever code off the net; works yay           len=len+strlen (numlenght);           len=len + num; //fixed length of the string that will print as Content-Length: in the POST           len=len+strlen ("\nX-Auth-Token: ");           len=len+strlen (token);           len=len+strlen ("\nHost: things.ubidots.com\n\n");           len=len+strlen ("\n\n");           Serial.print("AT+CIPSEND=");           Serial.println (len); //lenght of the entire data POST for the CIPSEND command of ESP2866           //Serial.println(cmd.length());           if (Serial.find(">"))           {             //Serial.print(">");           } else           {             Serial.println("AT+CIPCLOSE");             delay(1000);             return;           }           Serial.print ("POST /api/v1.6/variables/");           Serial.print (idvariable);           Serial.print ("/values HTTP/1.1\nContent-Type: application/json\nContent-Length: ");           Serial.print (num);           Serial.print ("\nX-Auth-Token: ");           Serial.print (token);           Serial.print ("\nHost: things.ubidots.com\n\n");           Serial.print (var);           Serial.println ("\n\n");           delay(9000);           //Serial.find("+IPD"); clear the input buffer after the web site responds to the POST           while (Serial.available())           {             char c = Serial.read();           }           delay(1000);         }         boolean connectWiFi()         {           Serial.println("AT+CWMODE=1");           String cmd = "AT+CWJAP=\"";           cmd += SSID;           cmd += "\",\"";           cmd += PASS;           cmd += "\"";           Serial.println(cmd);           delay(2000);           if (Serial.find("OK"))           {           return true;           } else           {            return false;           }         } when i trying to connect to wifi then it is not working properly
    it display only ..
     
    AT+RST
    Module have no response.
     
    So what can be the problem?? And one more thing is that blue LED on ESP is not blinking continuously.
     
  8. Like
    umesh reacted to Rei Vilo in how to set maximum clock frequency of 120 MHz in TM4C1294 connected launchpad   
    Use void setModule(unsigned long); to select the Serial port or any of the following objects
     
    extern HardwareSerial Serial;
    extern HardwareSerial Serial1;
    extern HardwareSerial Serial2;
    extern HardwareSerial Serial3;
    extern HardwareSerial Serial4;
    extern HardwareSerial Serial5;
    extern HardwareSerial Serial6;
    extern HardwareSerial Serial7;
  9. Like
    umesh reacted to dubnet in Problem facing while detecting peak   
    Another way to approach a peak detection task is in the analog domain.  With the proliferation of capable, inexpensive MCUs sometimes the simple tried and true analog solutions are not considered these days. That said, it may or may not make sense for your application but I thought I would throw it out there. Please see the discussion in the link below for some of the pros and cons. 
     
    http://www.planetanalog.com/author.asp?section_id=396&doc_id=562072
  10. Like
    umesh reacted to Rei Vilo in required primary expression   
    Help yourself: http://energia.nu/reference/attachinterrupt
  11. Like
    umesh reacted to igor in required primary expression   
    Where did you make the function take a void argument? Need to do in function definition, just leave function name in call.
     

    void calibrate(void) { if(maxValue<threshold) maxValue=threshold; }
  12. Like
    umesh reacted to yosh in How to export serial port data to excel sheet in energia?   
    You could just format your serial output as comma separated values (or semicolon or tab or ...) and copy/open these lines to/in excel . That's an easy way I use all the time to e.g. display sensor data in excel. Of course you have no "real time" processing and visualisation of your data - it is just post processing.


    Edit: you could also use a VBA script inside Excel to read the COM Port ....

    Edit2: PLX-DAQ should work with Launchpad too ... http://robottini.altervista.org/arduino-and-real-time-charts-in-excel
     ... just use the Sketch from there as a starting point
  13. Like
    umesh reacted to Mark Easley TI in pseudo code for input detection of sensor   
    Hi! Recommend Energia if you are new to programming the LaunchPad. Your project is not too difficult, logic is IF sensor threshold exceeded, then turn LED on. Else, turn LED off. Research your sensor you wish to use and there is probably example code available. If it is Arduino code, you can usually use this with Energia.
  14. Like
    umesh reacted to Fmilburn in pseudo code for input detection of sensor   
    Hi @@umesh and welcome,
     
    There are lots of examples on 43oh so if you have a specific sensor in mind then do a search.  If you are just getting started and are using Energia then you might try here.
     
    EDIT:  While not all aimed at lighting up an LED you can also see Energia examples here.
×
×
  • Create New...