Topic | Logging function

Home Forums Mooshimeter Support Logging function

Viewing 19 reply threads
  • Author
    Posts
    • #1877 Reply
      Jonathan Bishop
      Guest

      Just got my meter today and it’s fantastic! Really appreciate the hard work you’ve put into it so far.

      Any idea yet how soon you’ll have the logging functionality working?

      Thanks again for building such an impressive, useful device!

    • #1878 Reply
      admin
      Keymaster

      Much appreciated Jonathan :) ! And thanks for your understanding about some features still not being there… the project was late enough that I thought it better to release with the core functionality and modify the software on the go.

      Logging is a matter of firmware debugging – I think it’s a few days of work but there probably won’t be time for it until late next week (what with fulfillment and documentation and everything else going on). It will require an app update as well, which means another approval process in the app store, which takes a week. So I tentatively estimate 2.5 weeks for iOS, hopefully a week sooner for Android.

      Best
      ~James

    • #1935 Reply
      Anonymous
      Guest

      Awesome! I’m looking forward to using that functionality, so definitely let me know if I can help beta test. I’m running on iOS 8 here.

    • #1936 Reply
      admin
      Keymaster

      Thanks Jonathan,

      No builds have been released to this group yet but if you want to beta test in iOS, please register your device here: http://tflig.ht/1huIf6f

    • #1990 Reply
      Anonymous
      Guest

      When the logging function is fully enabled it will only log data to the SD card, correct? Or is there going to be some way to log data directly on the iOS or Android device?

      I formatted my SD micro card in FAT32 format and found a small, blank text file written. Thus, I guess that FAT32 was the correct format. I used an older 2GB SD card for this test. Any limits on the SD card size?

      Will there be some consideration to having much slower sampling intervals? It looks like 125 Hz is the low end of the sampling rate. I’d be keen to have slower sampling rates, e.g. 10 Hz, 1 Hz, 0.1 Hz. For example, yesterday in a class demo I was looking at the voltage output from a simple ion chamber (build using a tin can and a few simple parts – see madscientisthut.com). We were measuring the radioactive decay of radon-220 from thorium (a small amount of gas in the bottom of a baggie containing an old Colman Lantern mantle is withdrawn using a syringe. the gas is injected into the ion chamber and the voltage (9V max) jumps up. I had students read off the voltage at 10 second intervals from a connected multi-meter and enter the data into a spreadsheet. The data, when plotted on a semi-log plot, yields a straight line indicating an exponential decay. I could use the mooshimeter for this experiment if I had a slower sampling rate.

    • #1991 Reply
      admin
      Keymaster

      Hi Rob,

      I formatted my SD micro card in FAT32 format and found a small, blank text file written. Thus, I guess that FAT32 was the correct format. I used an older 2GB SD card for this test. Any limits on the SD card size?

      Great! There is some SD card code stubbed in to the firmware, but it’s deactivated because the timing messes with stability at runtime.

      The meter can handle SDSC and SDHC cards, so the max size if 32GB. SDXC cards will not work.

      Will there be some consideration to having much slower sampling intervals?

      Yes. The draft design has the user set a wakeup interval in seconds. When the meter is in standby it would wake up onces every N seconds, take a sample according to the settings left when it was last connected to a smartphone, records the results to the SD card and go back to standby.

      I’m also working on a way to export the graph views to CSV format, which I can see being useful.

      That experiment sounds really cool.

      Thank you!

    • #1996 Reply
      Anonymous
      Guest

      Wow! Pretty fast turnaround for a response. Thanks for the reply. I’ll keep an eye out for the latest updates.

    • #2208 Reply
      Anonymous
      Guest

      I signed up to test flight (iPhone 5s) – I am very interested in testing new firmware/apps (especially for data logging :)

    • #4871 Reply
      Anonymous
      Guest

      Logging to sd card in an excel compatible format would be vey useful. Logging to excel directly would be an upgrade i would pay extra for.

    • #5612 Reply
      admin
      Keymaster

      Reviving this thread because the latest firmware release logs natively to CSV instead of to the intermediate binary format. So I encourage you to update your apps and then push a firmware update to your meter, and logging will be easier for you!

    • #7112 Reply
      Anonymous
      Guest

      I seem to have mastered all the functions except logging frequency, which seems to be determined approximately by adc frequency divided by sample size. The Max 1s 10s 1m selection seems to have no effect on logging rate. I do want a much slower logging rate. Am I missing how to get this or is this not currently available? I use IOS on an Iphone 4s.

    • #7909 Reply
      admin
      Keymaster

      Hi Jim,

      Sorry to reply so late, but I wanted to let you know I’ve found that issue and it’s in the iOS app. A new release with correct logging interval should be out in early-mid January. Thanks!

      ~James

    • #9550 Reply
      Anonymous
      Guest

      Hi James

      Nice job on the meter hardware and built quality – I am very impressed.

      I am unable to get the logging function to operate properly. No matter what logging interval I select the meter seems to log at maximum rate (~3 Hz). I do get a readable CSV file but just too much data and semi-random headers inserted into the stream. The other strange behavior I have noticed is that the LED stops blinking when an SD card is inserted. I am using IOS 9.3.1 on a iphone 6s.

      Keep up the good work.

      Best
      Marc

    • #9551 Reply
      Anonymous
      Guest

      James

      Quick update — upon further examination of the CSV file, I do in fact see the logged data at the selected sampling rate buried deep in the file. What appears to be happening is that the meter is ALWAYS logging data to the SD card whenever it is inserted, regardless of whether logging is enabled or not. When logging is enabled and then disabled, a new log file is immediately opened. I also notice that the logging interval is not that accurate (e.g. 11.3 sec interval when 10 sec is selected). I am running firmware version 1447470000 on PCB 008 with iOS 9.3.1.

      Still loving the meter — it is amazing what you were able to accomplish with such a wimpy CPU. Imagine if you had one of those sweet 32 bit ARM Core M4 bluetooth modules from Nordic ;-)

      Best
      Marc

    • #9560 Reply
      admin
      Keymaster

      Hi Marc,

      Glad you figured it out. That’s quite odd that it’s logging whenever the SD card is inserted… the meter should respect the “LOGGING:ON” or “LOGGING:OFF” setting you see in the iOS app.

      Regarding metadata/headers being written in to the log files: the header block is rewritten every time the settings change. This is something I’m rethinking, as I have also gotten frustrated scrolling through spreadsheets picking out headers.

      Also regarding logging interval being off by about 1.3 seconds: there’s a legacy reason for this which I discuss in this thread if you’re interested. Bottom line though is I’m going to try to change that behavior in another firmware release.

      Thanks for understanding the pains of working on such a wimpy processor. There are limitations to it I didn’t even realize when I started… like the whole TI BLE stack crashing and burning if you hog the processor too long doing math. And 24-bit math takes a long time on an 8-bit 8051. I sometimes cast longing glances at the Nordic lineup and think about what could have been. But there are too many Mooshimeters in the wild not to support such a switch. TI has wised up though and released the CC2640, which looks quite exciting and I might use it on the next product.

      Best
      ~James

    • #9570 Reply
      rosaura41d
      Participant

      Hello from France, and sorry for my bad english

      I had the mooshimeter yesterday, and made few test. It works fine for the most part ; only few bugs in app (auto scale don’t work well, e.g. if I connect the 2 wires in ohmeter, sometime it stay on 2.5M scale.

      I did test with logger with 1min step for a day with a NTC, sometime I have a lot of measures in the same minute (40 to 175 plots).

      It would be really great if I could choice larger steps for the logger (like 10min and 1 hour).

      Thanks,
      Olivier

    • #9587 Reply
      rosaura41d
      Participant

      I did more tests today : The logging fonction don’t works at all… With a 100k CTN values are between -7E10 and 1E10, I have no values near 100K.

      Do you think it will work one day, or should i return it to the distributor now ?

    • #9591 Reply
      admin
      Keymaster

      Hi Olivier,

      It sounds like a defect in the resistance measurement. Sorry for the trouble.

      I’ll arrange a replacement through Elektor – can you send me a copy of the invoice you received from them to james@moosh.im?

      Best
      ~James

    • #9673 Reply
      Anonymous
      Inactive

      Is there any method to get the data off the uSD card without opening the case and removing it? Alternatively a slot in the case to insert/remove the card would be useful.

      Thanks – Duncan

    • #9687 Reply
      admin
      Keymaster

      Hi Duncan,

      Unfortunately no, you must remove the SD card to get the data. It’s possible on a hardware level to stream out over bluetooth, but I haven’t implemented this feature yet. It wasn’t a priority in the beginning because there was supposed to be a slot in the side of the case to easily extract the SD card. We had to close this slot during safety testing to get our CATIII 600V rating. Sorry for the inconvenience. You can read more about those tests here:

      https://moosh.im/2014/07/safety-improvements/

      Some users have ground the slot in the side of the case open again with a dremel, but this obviously voids the safety rating.

      Let me know if you have other questions. Best
      ~James

Viewing 19 reply threads
Reply To: Logging function
Your information:




This site is protected by reCaptcha and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.