nerdegutta
Senior Member
Hi, so I've made a GPS logger.
Everything seems to work fine, but when I read the data back from the 24LC16b EEPROM, something strange is happening. It looks like the EEPROM address has moved one place too far. I've not seen any pattern. Sometime all data is read back perfect, and other times the last digit in the Lon has become the first digit in the Hour.
I'd appreciate if someone could see if I've made any obvious mistakes in my program, or in my schema.
The idea: I will have the GPS logger in my pocket/backpack. It will receive GPS data, and store it on a 24LC16b EEPROM. When I get home, I want to download the GPS data to my computer, and bring it up in Google Earth.
This is my schema:
The GPS-module is a EM-411, sending NMEA sentences.
The program is attached. I have used a lot of comments in the program.
- nerdegutta
Everything seems to work fine, but when I read the data back from the 24LC16b EEPROM, something strange is happening. It looks like the EEPROM address has moved one place too far. I've not seen any pattern. Sometime all data is read back perfect, and other times the last digit in the Lon has become the first digit in the Hour.
I'd appreciate if someone could see if I've made any obvious mistakes in my program, or in my schema.
The idea: I will have the GPS logger in my pocket/backpack. It will receive GPS data, and store it on a 24LC16b EEPROM. When I get home, I want to download the GPS data to my computer, and bring it up in Google Earth.
This is my schema:
The GPS-module is a EM-411, sending NMEA sentences.
The program is attached. I have used a lot of comments in the program.
- nerdegutta
Attachments
-
14.5 KB Views: 34