TXLog - an Eggfinder accessory

Discussion in 'Rocketry Electronics and Software' started by Worsaer, May 4, 2017.

Help Support The Rocketry Forum by donating:

  1. Jul 24, 2017 #61

    cerving

    cerving

    cerving

    Owner, Eggtimer Rocketry TRF Sponsor TRF Supporter

    Joined:
    Feb 3, 2012
    Messages:
    3,414
    Likes Received:
    664
    Flash memory is written in sectors, much like rotating disk memory. Whether you write one byte or 512, you're writing the entire sector. If something interrupts that process, you'll lose the sector. An Eggfinder sends around 100 bytes per second, so you'd potentially lose 4 or 5 seconds, and if that data spans multiple sectors you could potentially lose more. Maybe the card jiggled loose... we recommend that you tape it in with some good masking tape (not the low-tack blue/green stuff).
     
  2. Jul 25, 2017 #62

    SpaceManMat

    SpaceManMat

    SpaceManMat

    Space Nut

    Joined:
    Dec 20, 2013
    Messages:
    647
    Likes Received:
    44
    i suspect that the issue was my daughter powered down the entire RX with everything running - Bluetooth and logger. Apparently because I had no labels on the switches she thought she would find out what they do:facepalm:. The PC got upset about it so I gave up on it and thought I'll just fall back on the logger to get data. I think at that stage however the data card was corrupt and not recording anything. But just to be sure my son also decided that he would find out what they do :facepalm::facepalm:. So between them they managed to make the thing unhappy. Fortunately not a critical flight but I'll be making a few adjustments to try and prevent these issues.
     
  3. Apr 8, 2018 #63

    Oberon

    Oberon

    Oberon

    Well-Known Member

    Joined:
    Apr 12, 2015
    Messages:
    330
    Likes Received:
    14
    Just set mine up. However, after running for ~5 minutes, no log file is created. The Eggfinder works (verified I was getting signal on the receiver) and the SD card has a config file, but no log file.

    Any ideas?
     
  4. Apr 8, 2018 #64

    Worsaer

    Worsaer

    Worsaer

    Amateur Propulsionist TRF Lifetime Supporter

    Joined:
    Jan 11, 2012
    Messages:
    1,730
    Likes Received:
    44
    Location:
    Central Virginia
    Is the LED on the OpenLog module flashing? It should log entries almost immediately after powering up. It does not need to obtain GPS lock to write to the log.
     
  5. Apr 8, 2018 #65

    Keisling

    Keisling

    Keisling

    Licensed Practical Rocket Surgeon

    Joined:
    Jan 22, 2017
    Messages:
    193
    Likes Received:
    76
    Location:
    Florida
    Did you buy the OpenLog module from Cris (Eggfinder)? I tried it with one from Ebay and it didn't work, same problem as you. I think the one bought was set with the wrong bit rate to work with the Eggfinder.

     
  6. Apr 8, 2018 #66

    Worsaer

    Worsaer

    Worsaer

    Amateur Propulsionist TRF Lifetime Supporter

    Joined:
    Jan 11, 2012
    Messages:
    1,730
    Likes Received:
    44
    Location:
    Central Virginia
    If you could post the content of the config file, that may tell us if it needs to be changed.
     
  7. Apr 8, 2018 #67

    Oberon

    Oberon

    Oberon

    Well-Known Member

    Joined:
    Apr 12, 2015
    Messages:
    330
    Likes Received:
    14
    Just needed to turn it off and on again a couple times! Chris' instructions indicated there might be an initial setup, but I had already power cycled it once. For whatever reason, one more off and on again did the trick.

    The instructions didn't make it quite clear that there were two green LEDs on the underside of the GPS log. Once it was working it was obvious.

    It's been fine since then, need to try it a couple more times on flights. First flight I got no data because the card popped out when the rocket tipped over while I was loading it on the pad, and I didn't notice until I got it back. Second one stayed in (tape) but didn't get many good points on the way up (really good data on the walk to the pad and for the last ~20 seconds of descent, but must have partially lost lock or something on the up. Used GPS cockpit to convert and Google Earth to view.
     
  8. Apr 9, 2018 #68

    Worsaer

    Worsaer

    Worsaer

    Amateur Propulsionist TRF Lifetime Supporter

    Joined:
    Jan 11, 2012
    Messages:
    1,730
    Likes Received:
    44
    Location:
    Central Virginia
    Glad to hear it.
    Yes, it’s pretty normal to lose lock on the way up. Google earth will plot the launch pad, then the point at which lock is regained, and then the descent. Sometimes you may have some ‘noise’, in the form of invalid coordinates as it’s regaining lock. It’s easy to delete those lines from the text file, giving a much cleaner Google Earth view.
     
  9. Apr 9, 2018 #69

    Worsaer

    Worsaer

    Worsaer

    Amateur Propulsionist TRF Lifetime Supporter

    Joined:
    Jan 11, 2012
    Messages:
    1,730
    Likes Received:
    44
    Location:
    Central Virginia
  10. Apr 9, 2018 #70

    BryRocket

    BryRocket

    BryRocket

    Well-Known Member

    Joined:
    Jun 19, 2017
    Messages:
    415
    Likes Received:
    81
    Did I read that this will/can work with the Mini as well?


    Sent from my iPhone using Rocketry Forum
     
  11. Apr 9, 2018 #71

    Worsaer

    Worsaer

    Worsaer

    Amateur Propulsionist TRF Lifetime Supporter

    Joined:
    Jan 11, 2012
    Messages:
    1,730
    Likes Received:
    44
    Location:
    Central Virginia
    Nope, the adapter only fits the full size board, versions B6/B7. Cris’s most recent version accepts the OpenLog module without needing the adapter board.
     
  12. Apr 9, 2018 #72

    BryRocket

    BryRocket

    BryRocket

    Well-Known Member

    Joined:
    Jun 19, 2017
    Messages:
    415
    Likes Received:
    81
    I guess I was asking if you could just wire an OpenLogger to the Mini. Not necessarily via an adapter or attachment.


    Sent from my iPhone using Rocketry Forum
     
  13. Apr 9, 2018 #73

    BryRocket

    BryRocket

    BryRocket

    Well-Known Member

    Joined:
    Jun 19, 2017
    Messages:
    415
    Likes Received:
    81
    I was referring to this.


    Sent from my iPhone using Rocketry Forum
     
  14. Apr 9, 2018 #74

    Worsaer

    Worsaer

    Worsaer

    Amateur Propulsionist TRF Lifetime Supporter

    Joined:
    Jan 11, 2012
    Messages:
    1,730
    Likes Received:
    44
    Location:
    Central Virginia
    Yep, I understand. If you look at the documentation for the Hope RF module and OpenLog, you can simply map the appropriate pins. I have not experimented with one yet.
     
  15. Apr 9, 2018 #75

    cerving

    cerving

    cerving

    Owner, Eggtimer Rocketry TRF Sponsor TRF Supporter

    Joined:
    Feb 3, 2012
    Messages:
    3,414
    Likes Received:
    664
    You can connect an OpenLog directly to the programming header on the Eggfinder Mini. Connect the two power pins on the OpenLog to the appropriate power pins on the Mini, and connect the RXD pin to RXD on the OpenLog.
     
  16. Apr 9, 2018 #76

    BryRocket

    BryRocket

    BryRocket

    Well-Known Member

    Joined:
    Jun 19, 2017
    Messages:
    415
    Likes Received:
    81
    Thanks Cris!


    Sent from my iPhone using Rocketry Forum
     
  17. Jan 14, 2019 #77

    pcalviln

    pcalviln

    pcalviln

    Well-Known Member

    Joined:
    Nov 26, 2014
    Messages:
    107
    Likes Received:
    7
    Wired up an OpenLog to a mini with half of a 3 pin cable, (can go to a regular Tx if needed). I also wire jumpered another to my LCD gps to record my wandering around the launch for fun. Now I just need to put some connectors on my TRS. Digging the NMEA converter Kurt posted, makes for a slick Google Earth display.
     
  18. Jan 14, 2019 #78

    lowga

    lowga

    lowga

    Forum Supporter TRF Supporter

    Joined:
    Dec 4, 2016
    Messages:
    351
    Likes Received:
    53
    Gender:
    Male
    Location:
    Birmingham, AL
    Let's make this simple.

    +1

    Take my money.
     
  19. Jan 6, 2020 #79

    pcalviln

    pcalviln

    pcalviln

    Well-Known Member

    Joined:
    Nov 26, 2014
    Messages:
    107
    Likes Received:
    7
    Anyone know where to get a good 3.3v source on the TRS? One of the pgm pins showed 3.3v, but really didn't like running the data logger.
     
    Denis Grguric likes this.
  20. Jan 6, 2020 #80

    Voyager1

    Voyager1

    Voyager1

    Forum Supporter TRF Supporter

    Joined:
    Oct 23, 2015
    Messages:
    377
    Likes Received:
    94
    Location:
    Oz
    You could get 3.3V directly off the LD1117-33 regulator IC tab and pin 2, or off the 3.3V pgm pin, but check with Cris to confirm this.

    You might need to increase the capacity of your battery if the extra load from the additional circuit is significant.
     
    Last edited: Jan 7, 2020
  21. Jan 6, 2020 #81

    beeblebrox

    beeblebrox

    beeblebrox

    8 C6-0, 12 D11-9, 20 D20-0, 20 E5-0, 3 Cinerocs

    Joined:
    Mar 19, 2016
    Messages:
    382
    Likes Received:
    93
    Gender:
    Male
    Location:
    West Chester, PA
  22. Jan 7, 2020 #82

    cerving

    cerving

    cerving

    Owner, Eggtimer Rocketry TRF Sponsor TRF Supporter

    Joined:
    Feb 3, 2012
    Messages:
    3,414
    Likes Received:
    664
    I've connected OpenLog's to TRS's several times... connect it to the RF module. From left to right, Pin 1 is 3.3v, Pin 3 is GND, and Pin 4 is RXD (which you will connect to RXD on your OpenLog). On the next release of the TRS PC boards there will be a place to put the OpenLog header, just like there is on the TX.
     
    pcalviln likes this.
  23. Jan 8, 2020 #83

    pcalviln

    pcalviln

    pcalviln

    Well-Known Member

    Joined:
    Nov 26, 2014
    Messages:
    107
    Likes Received:
    7
    Thanks Cris, exactly what I was hoping for.
     

Share This Page

Group Builder