EM-506 GPS on ATmega32U4 Pro Micro 3.3v

Hello,

I am a newbie so please bear with me. I’m looking for advice on a GPS problem I am running into after building an independent LiDAR datalogger system for a drone. Full disclosure, I did not design this build myself, but on the other hand the good news is that I know people who have and that it should work as built. I’ve assembled all components and connections in the attached schematic, verified all connections are correct and tested for continuity. The GPS is a Globalsat EM-506 and the board I am using is a Sparkfun Pro Micro 3.3v. Perhaps not relevant, but the IMU is a Pololu MinIMU-9 and the LiDAR is a lightware SF11/C. When not connected via micro USB, the system is powered by a small 7.4v LiPo.

The issue is that after the sketch is compiled and uploaded to the board, the RX/TX LEDs blink together at the same time about once per second and nothing is written to the SD Card. However, the RX/TX LEDs on the Pro Micro cycle when the script is uploaded so I believe it is flashing to the board correctly. The code is long and I don’t expect anyone to spend time looking at it but if needed I am happy to include.

The reason why I think the issue is the GPS is I cannot see any NMEA data getting sent to the serial terminal, despite the GPS LED blinking red as if it has a fix. I should also mention I installed the TinyGPS++ and LSM6 libraries. I’ve tried to play around with the baud settings in the terminal (default of GPS is apparently 4800). Even using the incorrect baud should at least return some gibberish character strings. I’ve tried to back up a step and forget about the main sketch trying to parse any data, and instead just trying to figure out how to use an Example from TinyGPS++ to view data coming in via the serial terminal to no avail.

From my limited understanding I would need to be using Serial1 since the GPS Rx and Tx are hooked up to TXO and RXI, respectively, which are the 1 and 0 pins on the board.

Any suggestions on how I should be approaching this to troubleshoot?

Thank you

Update: I was finally able to successfully get an echo using simple hardware serial sketch at least proving the GPS is not faulty or wired incorrectly.

Is there a better place for this post where someone may be interested in looking at the full sketch that doesn’t work and making suggestions?

Thank you

I’d be interested in looking at the code.