Having problems establishing a SoftwareSerial connection with my serial device

Im trying to read data from an off the shelf knockoff GPS (Manual and specs) on an Adafruit itsy bitsy 3v 32u4. The gps is sending data properly through its TX pin. The 32u4 has run other sketches just fine, and ive tested various pins on both sides of the board and none seem to work for this connection(3,4,5,7)
my breadboard layout Here and ive tested for faulty connections thoroughly and swapped TX/RX many times.
And heres the most simple test sketch ive got:

#include <SoftwareSerial.h>

#define rxPin 7
#define txPin 5

// Set up a new SoftwareSerial object
SoftwareSerial mySerial =  SoftwareSerial(rxPin, txPin);

void setup()  {
    
    // Set the baud rate for the SoftwareSerial object
    mySerial.begin(9600);
    Serial.begin(9600);
}

void loop() {
    if (mySerial.available() > 0) {
        Serial.println(mySerial.read());
    }
    else {
       Serial.println(F("No response"));
       delay(100);
    }
}

Ive yet to find help by search because most people can at least get machine gibberish, but my serial window will only ever read "no response" etc

From the SoftwareSerial library reference:

Not all pins on the Leonardo and Micro support change interrupts, so only the following can be used for RX: 8, 9, 10, 11, 14 (MISO), 15 (SCK), 16 (MOSI).

The Arduino Leonardo is a microcontroller board based on the ATmega32u4

Based on this image i doubted your answer, but then i tried 10/11, no luck, then i tried 8/9 and my serial monitor is spitting out numbers! woo hoo!
i knew interrupts had something to do with it, so i used the hardware interrupt enabled pins to begin with. weird that pin 10 is labeled PCINT6 and didnt work, but pin 8 PCINT4 did.

Great. Glad that I could help.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.