Jump to content

ESP8266 with MSP430G2553 launchpad

Recommended Posts

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.

Link to post
Share on other sites
  • 2 weeks later...

Hello yosh

I tried by connecting ESP to Hardware UART as per you suggest and i use software UART for debugging. The code is as follows:


#include <SoftwareSerial.h>
SoftwareSerial dbgSerial(5,6); // make RX MSP line is pin 5, make TX MSP line is pin 6.
                             // This means that you need to connect the TX line from the esp to the MSP's pin 5
                             // and the RX line from the esp to the MSP's pin 6
void setup()
  dbgSerial.begin(9600); // your esp's baud rate might be different
void loop()
  if(Serial.available()) // check if the esp is sending a message
      // The esp has data so display its output to the serial window
      char c = Serial.read(); // read the next character.
    // the following delay is required because otherwise the arduino will read the first letter of the command but not the rest
    // In other words without the delay if you use AT+RST, for example, the Arduino will read the letter A send it, then read the rest and send it
    // but we want to send everything at the same time.
    String command="";
    while(dbgSerial.available()) // read the command character by character
        // read one character
    Serial.println(command); // send the read character to the esp8266


and i got the response but it is not in standard format. For "AT+RST" command it is giving response as:


 8cau m

taim 0xle l0en


Link to post
Share on other sites
  • 2 weeks later...
  • 4 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...