Eggfinder / Open Log problems..

Discussion in 'Rocketry Electronics and Software' started by Tim51, Jun 5, 2019.

Help Support The Rocketry Forum by donating:

  1. Jun 5, 2019 #1

    Tim51

    Tim51

    Tim51

    Well-Known Member

    Joined:
    Jul 4, 2015
    Messages:
    650
    Likes Received:
    52
    Gender:
    Male
    Location:
    London, United Kingdom
    Hi All
    Some time ago I added an Open Log board to my Eggfinder Tx which I fly in the NC of my 4”. Whilst the EF Tx continues to work fine, no .txt files appear on the uSD card after flights, so I’ve been unable to create .nmea files for plotting on Google Earth etc. To be double sure, I've checked over the soldering and reflowed the joints on the Open Log , and the blue LED on the OpenLog board blinks as it did before when the TX is transmitting data (three rapid blinks, short pause, repeat). However, when I open the uSD card after a flight it still does not show either a .config.txt file nor a lognnnnn.txt - when I insert the card into an adapter and open it on my laptop, it opens as a blank field showing no file at all (I've tried this with a range of new uSD cards to ensure it wasn't just a faulty one) but in all cases no file is created. I reached out to Cris Erving who suggested I try using Notepad to create the config file 9600,26,3,0,0,0,0 to the uSD card. I did this, but unfortunately the problem persists - when I take the tracker for a walk it doesn’t record anything. Again, the EF Tx itself was working fine. Has anyone any thoughts on what might be the problem here? Any thoughts / prognoses / suggestions welcome. Thanks!

    20190521_222425.jpg 20190521_222503.jpg
     
    Last edited: Jun 5, 2019
  2. Jun 5, 2019 #2

    cerving

    cerving

    cerving

    Owner, Eggtimer Rocketry TRF Supporter TRF Sponsor

    Joined:
    Feb 3, 2012
    Messages:
    3,051
    Likes Received:
    234
    Try this... tack a wire to the TX0 and -/GND pad on the OpenLog module, and connect it to an Eggtimer data cable so that the black wire is on "-" and the white wire is on TX0. Fire up Putty or a similar terminal program on your PC at 9600/8/n/1, and power up the TX. You should see data streaming across your screen. If you do NOT, then there is a bad connection somewhere on the OpenLog adapter board. If you DO get data, but it's not recording, then you probably have a bad OpenLog module.
     
    Tim51 likes this.
  3. Jun 5, 2019 #3

    Tim51

    Tim51

    Tim51

    Well-Known Member

    Joined:
    Jul 4, 2015
    Messages:
    650
    Likes Received:
    52
    Gender:
    Male
    Location:
    London, United Kingdom
    Thanks Cris I'll try that.
     
  4. Jun 5, 2019 #4

    heada

    heada

    heada

    Well-Known Member

    Joined:
    Jan 18, 2009
    Messages:
    2,496
    Likes Received:
    115
    Gender:
    Male
    Location:
    Indianapolis, Indiana
    What size uSD card and how is it formatted? (FAT, exFAT, FAT32) I know that some devices have size limits and format issues. If the test Cris suggested shows data but it still isn't recording, it could be that the module simply can't write to the card. If possible, find a uSD that is less than 2GB and format it as FAT and try that.
     
  5. Jun 5, 2019 #5

    Tim51

    Tim51

    Tim51

    Well-Known Member

    Joined:
    Jul 4, 2015
    Messages:
    650
    Likes Received:
    52
    Gender:
    Male
    Location:
    London, United Kingdom
    Thanks very much for the input. I hadn't realised card size is/could be an issue. I've been using a 64 GB SanDisk ...too big perhaps?
    In terms of format - I'm not au fait with the different types you mention. I simply took it out the pack and secured it in the open log. ..please advise if I'm missing something!
     
  6. Jun 5, 2019 #6

    heada

    heada

    heada

    Well-Known Member

    Joined:
    Jan 18, 2009
    Messages:
    2,496
    Likes Received:
    115
    Gender:
    Male
    Location:
    Indianapolis, Indiana
    A quick look at amazon.co.uk shows you can get a 2gb uSD card for between 4 and 10 pounds. Crazy since a 16gb goes for about the same cost.

    For formatting, you can insert it into any computer that has a uSD slot or use a uSD to SD adapter and insert into a SD slot. Once inserted, it looks like a normal removable drive and you can reformat it. FAT is the most forgiving but has size limitations but 2gb is within that limit.

    Since its recording text data, you could store days and days of data on a 2gb card so no need for a large one. I use a 512mb card from a 10 year old camera.
     
    Tim51 likes this.
  7. Jun 5, 2019 #7

    Tim51

    Tim51

    Tim51

    Well-Known Member

    Joined:
    Jul 4, 2015
    Messages:
    650
    Likes Received:
    52
    Gender:
    Male
    Location:
    London, United Kingdom
    Again, thanks very much I shall look into that.
     
  8. Jun 5, 2019 #8

    cerving

    cerving

    cerving

    Owner, Eggtimer Rocketry TRF Supporter TRF Sponsor

    Joined:
    Feb 3, 2012
    Messages:
    3,051
    Likes Received:
    234
    I use 8 GB cards, they work fine.
     
    Tim51 likes this.
  9. Jun 5, 2019 #9

    heada

    heada

    heada

    Well-Known Member

    Joined:
    Jan 18, 2009
    Messages:
    2,496
    Likes Received:
    115
    Gender:
    Male
    Location:
    Indianapolis, Indiana
    Do you know how they're formatted? I don't remember if basic FAT works at 8gb or if you have to go to FAT32.
     
  10. Jun 6, 2019 #10

    Donnie

    Donnie

    Donnie

    Forum Supporter TRF Supporter

    Joined:
    Mar 6, 2015
    Messages:
    105
    Likes Received:
    10
    Sounds like the issue may be that the OP isn't formatting the card at all before installing on the open log?
     
  11. Jun 6, 2019 #11

    Tim51

    Tim51

    Tim51

    Well-Known Member

    Joined:
    Jul 4, 2015
    Messages:
    650
    Likes Received:
    52
    Gender:
    Male
    Location:
    London, United Kingdom
    That's correct. I didn't realise it was necessary. What format would you recommend?
     
  12. Jun 6, 2019 #12

    Donnie

    Donnie

    Donnie

    Forum Supporter TRF Supporter

    Joined:
    Mar 6, 2015
    Messages:
    105
    Likes Received:
    10
    Full disclosure, I've never used an Open Log, lol... however, when reading this thread last night I googled it and came up with this information from sparkfun: https://learn.sparkfun.com/tutorial...85.1877064299.1559831702-975723592.1551799628

    It discusses SD card capacities, as well as the need to format... as to how, it's likely just as simple as plugging it into your PC (through a card slot and/or USB adapter). It'll probably either format it automatically or ask you if you want to format it.

    Not saying this is the issue, but it'd be pretty quick to try it out...

    Thanks!
     
  13. Jun 6, 2019 #13

    heada

    heada

    heada

    Well-Known Member

    Joined:
    Jan 18, 2009
    Messages:
    2,496
    Likes Received:
    115
    Gender:
    Male
    Location:
    Indianapolis, Indiana
    uSD cards come pre-formatted. Most of the newer/larger ones are formatted as exFAT so that all the space on the card is available. Due to filesystem limitations, FAT and FAT32 are only valid up to 32GB (FAT is really only valid up to 4GB but you can use large block sizes to get up to 32GB). A 64GB uSD card would be formatted as exFAT which supports up to 2TB (2048GB) If the OpenLog doesn't support the exFAT filesystem (I don't know if it does) then you have a few options.
    1) use a 32GB or smaller uSD card formatted as FAT/FAT32
    2) destroy and recreate the partition table on the 64GB card such that you have a 32GB partition formatted as FAT/FAT32 and 32GB of unusable space. You could create a second partition for that unusable space but I don't know how OpenLog would react to a card with multiple partitions since it would appear as 2 different drives.

    I would try to find a smaller uSD card, 8GB and 16GB are readily available and dirt cheap.
     
    Tim51 likes this.
  14. Jun 6, 2019 #14

    Tim51

    Tim51

    Tim51

    Well-Known Member

    Joined:
    Jul 4, 2015
    Messages:
    650
    Likes Received:
    52
    Gender:
    Male
    Location:
    London, United Kingdom
    Thanks for explaining. I've ordered a 2GB and an 8GB from Mr Bezos's online emporium. I haven't had time yet to run through the test Cris described above but will also do that.
     
  15. Jun 6, 2019 #15

    heada

    heada

    heada

    Well-Known Member

    Joined:
    Jan 18, 2009
    Messages:
    2,496
    Likes Received:
    115
    Gender:
    Male
    Location:
    Indianapolis, Indiana
    I would do the test first because if that isn't working then it wont matter what storage device you use.
     
    Tim51 likes this.
  16. Jun 6, 2019 #16

    heada

    heada

    heada

    Well-Known Member

    Joined:
    Jan 18, 2009
    Messages:
    2,496
    Likes Received:
    115
    Gender:
    Male
    Location:
    Indianapolis, Indiana
    Reading the link from a few posts above, OpenLog only supports FAT/FAT32 filesystems on cards up to 32GB. Your 64GB card is 99% probability formatted as exFAT and thus would never work. Swapping out for the 2GB or 8GB would probably work with no other changes needed.

    2GB card storging 16 NMEA 0183 GPS sentences per second (128bits/second) can record non-stop for 194 days. You would probably run out of battery before you ran out of storage capacity.
     
    Donnie likes this.
  17. Jun 6, 2019 #17

    Tim51

    Tim51

    Tim51

    Well-Known Member

    Joined:
    Jul 4, 2015
    Messages:
    650
    Likes Received:
    52
    Gender:
    Male
    Location:
    London, United Kingdom
    Thanks for following up on that - much appreciated. In the meantime I'd looked up some 'how to format' guides online and noticed the point about exFAT for larger cards also. As you say, thinking about it now it makes sense to try out the simplest check first - Occam's Razor and all that.. so I'll wait for the 2GB card to arrive tomorrow or Saturday. If it's no go then I'll run through Cris's test, but I'll need to familiarise myself with Putty etc first. Software and firmware are not my area.

    Again, thanks for the info and reassurance - really helpful. I'll post results.
     
  18. Jun 7, 2019 #18

    Worsaer

    Worsaer

    Worsaer

    Amateur Propulsionist TRF Lifetime Supporter

    Joined:
    Jan 11, 2012
    Messages:
    1,706
    Likes Received:
    37
    Location:
    Central Virginia
    Sorry I didn't see this thread sooner. As pointed out, the tutorial on Sparkfun does indeed have your most likely answer:

    "All data logged by the OpenLog is stored on the microSD card. The OpenLog works with microSD cards that involve the following features:
    >64MB to 32GB
    >FAT16 or FAT32"

    If it continues to give you problems, let me know.
     
    Tim51 likes this.
  19. Jun 7, 2019 #19

    Tim51

    Tim51

    Tim51

    Well-Known Member

    Joined:
    Jul 4, 2015
    Messages:
    650
    Likes Received:
    52
    Gender:
    Male
    Location:
    London, United Kingdom
    Thanks for posting - I hadn't seen the Sparkfun tutorial. Will update this thread when I get the chance.
     
  20. Jun 16, 2019 #20

    Tim51

    Tim51

    Tim51

    Well-Known Member

    Joined:
    Jul 4, 2015
    Messages:
    650
    Likes Received:
    52
    Gender:
    Male
    Location:
    London, United Kingdom
    Hello again.. well, finally got round to testing the 8GB uSD card (fresh from the packaging and un-reformatted) by taking the EF tracker for a 20minute walk around the neighbourhood. As before all LEDs were flashing normally. Two relatively small .txt files appeared, which I then renamed as .nmea files, saved to my desktop and attempted to open in Google Earth: Screen Shot 2019-06-16 at 21.01.09.png
    However the next prompt has me puzzled as to how to proceed -
    Specify Delimiter.png

    The following page is a cul de sac in that it has options for '<Back' and 'Cancel'. Any ideas on what am I doing wrong here gratefully received!
    Thanks
     
  21. Jun 16, 2019 #21

    heada

    heada

    heada

    Well-Known Member

    Joined:
    Jan 18, 2009
    Messages:
    2,496
    Likes Received:
    115
    Gender:
    Male
    Location:
    Indianapolis, Indiana
    Can you open the text file in a text application (notepad, etc) and copy the first few lines and show us? That'll give us the format it recorded in. Most are comma delimited meaning a comma separates each field in the line. Others are tab delimited and some are just a fixed length.
     
  22. Jun 16, 2019 #22

    Tim51

    Tim51

    Tim51

    Well-Known Member

    Joined:
    Jul 4, 2015
    Messages:
    650
    Likes Received:
    52
    Gender:
    Male
    Location:
    London, United Kingdom
    Sure - it looks like this:

    $PSRF150,1*3E
    $GPGGA,,,,,,0,00,,,M,0.0,M,,0000*48
    $GPGSA,A,1,,,,,,,,,,,,,,,*1E
    $GPRMC,,V,,,,,,,,,,N*53
     
  23. Jun 16, 2019 #23

    heada

    heada

    heada

    Well-Known Member

    Joined:
    Jan 18, 2009
    Messages:
    2,496
    Likes Received:
    115
    Gender:
    Male
    Location:
    Indianapolis, Indiana
    So your data is standard comma delimited. Here is an example with explanation of each field.

    $GPGGA,123519,4807.038,N,01131.000,E,1,08,0.9,545.4,M,46.9,M,,*47

    Where:
    GGA Global Positioning System Fix Data
    123519 Fix taken at 12:35:19 UTC
    4807.038,N Latitude 48 deg 07.038' N
    01131.000,E Longitude 11 deg 31.000' E
    1 Fix quality: 0 = invalid
    1 = GPS fix (SPS)
    2 = DGPS fix
    3 = PPS fix
    4 = Real Time Kinematic
    5 = Float RTK
    6 = estimated (dead reckoning) (2.3 feature)
    7 = Manual input mode
    8 = Simulation mode
    08 Number of satellites being tracked
    0.9 Horizontal dilution of position
    545.4,M Altitude, Meters, above mean sea level
    46.9,M Height of geoid (mean sea level) above WGS84
    ellipsoid
    (empty field) time in seconds since last DGPS update
    (empty field) DGPS station ID number
    *47 the checksum data, always begins with *

    Further down in your text file, do you have full nmea sentences that match the example?
     
  24. Jun 17, 2019 #24

    Worsaer

    Worsaer

    Worsaer

    Amateur Propulsionist TRF Lifetime Supporter

    Joined:
    Jan 11, 2012
    Messages:
    1,706
    Likes Received:
    37
    Location:
    Central Virginia
    So, your hardware is indeed working correctly.

    Here are some tips I've used in the past to create a 3D flight profile in Google Earth:

    1. Rename your text file to a .NMEA extension. For example, LOG00042.txt -> LOG00042.nmea
    2. In Google Earth, select File -> Import [filename]
    3. When the popup box displays, be sure to uncheck 'Adjust altitudes to ground height'. This is the key to showing a flight profile instead of a ground profile.
     
  25. Jun 17, 2019 #25

    Tim51

    Tim51

    Tim51

    Well-Known Member

    Joined:
    Jul 4, 2015
    Messages:
    650
    Likes Received:
    52
    Gender:
    Male
    Location:
    London, United Kingdom
    Thanks - yes, further down there is (for example) this:

    $GPGSV,3,1,12,01,00,000,28,11,00,000,29,14,66,062,34,18,62,206,36*72
    $GPGSV,3,2,12,22,00,000,23,31,00,000,37,32,00,000,35,16,64,129,*74
    $GPGSV,3,3,12,29,59,275,,24,59,076,,27,41,244,,09,38,229,*7F
    $GPRMC,185726.595,V,,,,,,,160619,,,N*42
    $GPGGA,185727.597,5131.0626,N,00002.1126,W,1,04,5.9,46.4,M,47.0,M,,0000*74
    $GPGSA,A,3,14,18,11,31,,,,,,,,,7.9,5.9,5.2*39
    $GPRMC,185727.597,A,5131.0626,N,00002.1126,W,0.41,243.65,160619,,,A*71
    $GPGGA,185728.597,5131.0626,N,00002.1125,W,1,04,5.9,46.5,M,47.0,M,,0000*79
    $GPGSA,A,3,11,18,14,31,,,,,,,,,7.9,5.9,5.2*39
    $GPRMC,185728.597,A,5131.0626,N,00002.1125,W,0.81,243.65,160619,,,A*71
    $GPGGA,185729.597,5131.0626,N,00002.1127,W,1,04,5.9,46.4,M,47.0,M,,0000*7B
    $GPGSA,A,3,11,18,14,31,,,,,,,,,7.9,5.9,5.2*39
     
  26. Jun 17, 2019 #26

    Tim51

    Tim51

    Tim51

    Well-Known Member

    Joined:
    Jul 4, 2015
    Messages:
    650
    Likes Received:
    52
    Gender:
    Male
    Location:
    London, United Kingdom
    Thanks. I had renamed the files to .nmea, but when I select File > Import [fle name] the pop up I get does not give me the option to uncheck ground height, but rather this:
    1.png

    ..then this (when I click 'Next'):

    2.png

    not sure how to proceed!
     
  27. Jun 17, 2019 #27

    heada

    heada

    heada

    Well-Known Member

    Joined:
    Jan 18, 2009
    Messages:
    2,496
    Likes Received:
    115
    Gender:
    Male
    Location:
    Indianapolis, Indiana
    Can you post your 2 files, the LOG files that end in .txt and .nmea? That will allow us to open it and walk through the same process. I see valid position sentences, the ones that start with $GPGGA
     
  28. Jun 17, 2019 #28

    Tim51

    Tim51

    Tim51

    Well-Known Member

    Joined:
    Jul 4, 2015
    Messages:
    650
    Likes Received:
    52
    Gender:
    Male
    Location:
    London, United Kingdom
    PM sent
     
  29. Jun 18, 2019 #29

    Worsaer

    Worsaer

    Worsaer

    Amateur Propulsionist TRF Lifetime Supporter

    Joined:
    Jan 11, 2012
    Messages:
    1,706
    Likes Received:
    37
    Location:
    Central Virginia
    So, here are the steps...
    1. Rename the log file. For example, if it's LOG00010.TXT, rename it as LOG00010.nmea It's really important that the extension ends in .nmea - Sometimes Windows hides the file extension, and you may not know the .TXT extension is there.
    2. In Google Earth, select File -> Open (not Import), and select file type GPS. Select your log file ending in .nmea
    3. Be sure to unselect the box, "Adjust altitude to ground height' if you want to see the 3D flight profile.
     
    heada likes this.
  30. Jun 18, 2019 #30

    Tim51

    Tim51

    Tim51

    Well-Known Member

    Joined:
    Jul 4, 2015
    Messages:
    650
    Likes Received:
    52
    Gender:
    Male
    Location:
    London, United Kingdom
    Thanks. I'm unclear how to 'select file type' when opening the file in Google Earth. Where do I find that option? I'm using Mac High Sierra, btw.
     

Share This Page