Blog

Updates on firmware, logging, apps, etc.

Dear Reader,

The last two weeks have been a lot of work on a variety of issues. There is no longer a single unifying goal – “Get the meters shipped” – now there are many smaller goals. Here is what’s been happening.

Android App

Google Play Store

The Mooshimeter Android app is now available in the Google Play Store. The apk files will still be available at moosh.im/s , but beta testing will also be moving to Google Play’s beta testing service. The beta program allows for better feedback, and the Play Store also warns users about hardware and software compatibility. To join the Android app beta group, click here [Edit Feb 28: Fixed link].

Firmware upload

The Android app can now upload new application firmware over the air to the Mooshimeter. There are still some bugs in the Android BLE stack that make the process clumsier and slower than from the iOS app. To upload the firmware the user must reboot the Mooshimeter and connect to it within the first 5 seconds of it booting (while it is giving the long, slow flashes).  I’ll post an instruction video soon.

From the iOS app firmware upload takes about a minute, from the Android app it takes about 8 minutes. The Android BLE stack has a nasty habit of dropping packets when you try to send data too quickly, so the Android firmware upload process is doing a level of verification that the iOS version does not.

Rotation handling

Users of some Android tablets were reporting the screen rotation behavior was exactly wrong: when they were in portrait, the app would turn to landscape and vice versa. Screen rotation was based on the angle reported by the orientation sensor before, but it turns out the zero angle is not standard in all devices.  This has been addressed.

iOS App

Manual Rotation Button

By popular demand, there is now a button to manually switch between meter and graph view.  There is still a bug in auto-rotation on the iPad, working on it.

IMG_0022

Beta testing

Previously beta testing has been through TestFlight, which is a separate entity from the App Store. Apple is shutting down TestFlight on Feb. 26, so beta testers have been migrated to the new Apple App Store testing service. I have mixed feelings about this new service… the integration with the App Store is nice because it means one less entity to deal with, but to upload a beta app requires “Beta Approval”, which seems to take 1-2 days. If you joined through the recruitment link before Feb 26th you’ve been ported to the new system.  The new system doesn’t provide an easy recruitment link, so I might set up a separate Google Group for that and port it manually.

64 bit support

Apple started requiring in February that all submissions to the App Store be built for both arm32 and arm64. This makes apps more efficient on newer devices, but creates a bit of a pain for developers who have linked in static pre-built libraries that are only arm32 compatible. CorePlot is the graphic library used in the Mooshimeter iOS app and I haven’t seen universal (arm32 and arm64 compatible) libraries anywhere, so I built some. If you’re a developer and need to jump through the same hoop, I put the pre-built library here.

Firmware

SD card logging

This firmware is still in development but I aim to release it in the next few days.  I’m fighting some issues with data corruption and timing differences between the various flavors of microSD cards.  Last night as an experiment I put a Mooshimeter in the fridge hooked to a light sensor and logged the light and temperature.  I was curious whether I could see the duty cycle of the fridge compressor (thank you Prof. Hellman for the idea).

lvt

The spikes correspond to the opening of the fridge door

tvt

Before you warn me that the office fridge is not cold enough, don’t worry: the meter was logging continuously so the ADC has a few degrees of self-heating.

Sure enough, the data clearly reflects the fridge compressor kicking in every 45 minutes.  This data needed a little bit of cleanup though – it’s been run through a median filter to catch outliers, because there is intermittent data corruption that I haven’t completely hammered out yet.  Without the median filter the temperature data looks like this:

So the logging feature is very solidly in the “debugging” phase.  It’ll be in your hands soon.

Resistance Measurement Lock-up

A user in the forums reported an issue measuring resistances in the 10KΩ range.  Upon deeper investigation I found it’s another manifestation of the bug I detailed back in December here.  The firmware correction for that bug fixed the 10MΩ mode but left the 10KΩ mode vulnerable to a lockup.  I’ll push the patch with the release of the logging firmware.

That’s all for now, thanks for reading!

16 Responses to “Updates on firmware, logging, apps, etc.”

  1. Boyd February 27, 2015 at 7:24 am #

    James,
    The Android app beta group appears to not work.

    • James February 28, 2015 at 11:35 am #

      Sorry, fixed the link. Try again

  2. Adam Shea February 27, 2015 at 7:25 am #

    I’m getting a “nothing here” for the testing link.

    • James February 28, 2015 at 11:35 am #

      Sorry, fixed the link. Try again

  3. Thorsten February 27, 2015 at 10:30 am #

    Good work, James.

    Sometimes I wonder how many hours per week you spend on this “little project” per week.

    Anyways, keep up the good work. You’re making people around the world happy with it. For me, this has been my first – and so far only – baking project ever.

    Best Regards,
    – Thorsten

  4. kroegerama February 28, 2015 at 3:31 am #

    To get access to the Android beta channel, we have to know which group we have to join before. It’s either a group in groups.google.com or a plus.google.com community.

    If one is not member of this group/community, he will only see the “Sorry – nothing to see here.” message, if he clicks on your link above.

  5. Brett Johnson February 28, 2015 at 8:55 am #

    Hi James et al,
    Is a reboot the same as a hard reset? Also, how can I search this website, like for “reset” for instance? Is there a search tool and I just missed it?
    Thanks,
    b.

    • James February 28, 2015 at 11:34 am #

      Hi Bret,

      Reboot and hard reset are the same when talking about the meter. It just means pushing the little button on the side. I did a video showing it here (reset button is 30 seconds in)

  6. kroegerama February 28, 2015 at 7:32 pm #

    Hi,
    you still need to provide the link to the beta testing form.
    The beta testers need to join the google group AND AFTER that, they will be able to use this link:
    https://play.google.com/apps/testing/com.mooshim.mooshimeter?hl=en

  7. Kathleen March 1, 2015 at 5:57 am #

    Great job, James.

  8. Rod Nash March 8, 2015 at 5:25 pm #

    Hi James
    Received my 3 meters and I’m enjoying playing with them.
    Very earlier on there were are few requests to provide an audible indication
    on the conductance/resistance ranges. Is this still planned?
    Also is an external temperature facility planned to allow thermocouples/ temperature sensing devices.
    Thanks

  9. Boyd March 9, 2015 at 2:32 pm #

    James,
    Is there any update on the SD card logging? I have not heard any thing new in a while.

  10. Lafont Yves April 29, 2015 at 8:17 am #

    I just receive my Mooshimeter (fast shipping to France), and it work very well on my Nexus 7 (2013).
    Thank you very much for this nice and versatile product.

    Y.L.

  11. Alfred January 22, 2016 at 8:07 pm #

    Any update on the SD card logging? I really need a logger and hope I can use my mooshimeter!

    • James January 28, 2016 at 1:21 am #

      Hi Alfred!

      Logging functionality works – if you were a crowdfunding backer you may have to update your firmware first though. You just need to insert an SD card, set up the meter to display the reading you are trying to log, press the “logging:on” button and that’s it. You can disconnect from the meter and readings will be saved in a CSV file on the SD card, which you can retrieve later.

Leave a Reply to James Click here to cancel reply.