external power Serial ports?

I’m trying to communicate between TX on Esplora and RX on the micro, one way. I thought the hardware TX and RX LED’s are directly connected to the serial port, but nothing will blink unless I open the serial monitor with the IDE. I uploaded code to the micro, and I am trying to read through the RX of the Esplora.

RX is labeled on the Micro, and It looks like TX on the Esplora is the 8th pin from the top(3rd from the bottom).

I have micro TX connected to Esplora RX with code below.

Micro:

void setup()  
{
  // Open serial communications and wait for port to open:
  Serial.begin(9600);
  while (!Serial) {
    ; // wait for serial port to connect. Needed for Leonardo/Esplora
  }
}

void loop() // run over and over
{
    Serial.write("test");
    delay(100);
}

Esplora:

#include <SoftwareSerial.h>

SoftwareSerial mySerial(8,1); // RX, TX Esplora Right Connector Pins 6 and 8 as 7 cannot receive via softserial)

void setup()  
{
  // Open serial communications and wait for port to open:
  Serial.begin(9600);
  while (!Serial) {
    ; // wait for serial port to connect. Needed for Leonardo/Esplora
  }
  // set the data rate for the SoftwareSerial port
  mySerial.begin(9600);
}

void loop() // run over and over
{
      mySerial.read();
      delay(100);
}

I’ve tried various combinations of Serial, Serial1 and SoftwareSerial to no avail. I’m sure it’s simple, but my guess-and-check method isn’t working.

It possibly . your delay time too short 100ms. make to 1000ms so that you see the blink.

The TX and RX LEDs are controlled by the USB driver software so in communicating between two micro controllers they will not flash.

That helped. I was able to use the onboard led’s to make sure it was working. Must use Serial1 on Micro and SoftwareSerial on Esplora

Micro:

int led = 13;

void setup()  
{
  pinMode(led, OUTPUT);  
  // Open serial communications and wait for port to open:
  Serial1.begin(9600);
  while (!Serial1) {
    ; // wait for serial port to connect. Needed for Leonardo/Esplora
  }
}

void loop() // run over and over
{
  for (int a =1; a<100;a++){    
    Serial1.println("test");
    digitalWrite(led, HIGH);    
  }
  digitalWrite(led, LOW);
  delay(500);
}

Esplora:

#include <SoftwareSerial.h>
#include <Esplora.h>

SoftwareSerial mySerial(8,1); // RX, TX Esplora Right Connector Pins 6 and 8 as 7 cannot receive via softserial)

void setup()  
{
  // set the data rate for the SoftwareSerial port
  mySerial.begin(9600);
}

void loop() // run over and over
{
  while(mySerial.available()>0){
      mySerial.read();
      Esplora.writeRGB(5,5,5);
  }
  Esplora.writeRGB(0,0,0);
  delay(1);
}