Avatar for HughB

HughB

Member since Dec 2020 • Last active May 2021
  • 33 conversations
  • 152 comments

Been in IT for 40 years. Love interprative programming languages. Wrote my own small Emacs in 2000 lines of C (see Atto on Github).

Most recent activity

  • in Bangle.js
    Avatar for HughB

    I get this when I try to connect to my own app loader and load apps from it.
    There is nothing in the apps list and in my apps its shows 'unknown' version for everything ?
    I have tried clearing browser cache and cookies in case it is something to do with that.

  • in Bangle.js
    Avatar for HughB

    you actually could just include it with Inline C though, so you could tweak it quickly on real >hardware without recompiling. If there's interest I could paste up an example of how to do that?

    Sounds like a great option. I think having to recompile the firmware might put a few off.

    If you can write up the basic process loop of what you do to iterate round the process. I could have a go. I've done a lot of C in the past but nothing todo with filters or machine learning etc. I still have a few more enhancements and bug fixes to do to 'kitchen combo' though.

    Is there a way to simulate this in javascript first, run on the bangle and then translate it to C ?

  • in Bangle.js
    Avatar for HughB

    the 'new' Bangle.js (the SMA Q3)

    This sounds interesting, tell me more. I was wondering if there would be a another smartwatch hardware that would run Espurino. I will google it. I would love something like the form factor of the AmizFit Bip if that were possible. It has some advantages. The charging connector is not magnetic and interferes less with compass calibration. Its smaller. Battery life is very good. Having said that I curently have that test Bangle you sent me not needing a recharge after 300+ hours.

    Found this.

    https://hackaday.io/project/175577-hacka­ble-nrf52840-smart-watch

    Looks really cool. When are these going on sale in the Bangle Shop, can you place advance orders. Only snag for me is that is another GPS data sheet to grapple with. Nice looking watch though.

  • in Bangle.js
    Avatar for HughB

    I use the manual sort order option in the App Manager to set the order in which my Apps present in the launchers. The problem is that new Apps have 0 set as the sort order by default. I have to confess I dont like that much myself but I can see that some might like it as it makes the new App immediately visible. Maybe new Apps should have a sort order of 99 by default so that they would go on the end of the launcher list. Maybe the default value for a new App could be one of the Settings in the Settings app, IE newApps get sort order 0 or 99 ?

  • in Bangle.js
    Avatar for HughB

    Is it actually better than the old step counter? If not, I might as well revert it.

    Gut feel, I think it is improved, but still quite a way off being able to say we have reliable step counter. I was going to give a good test on a known 1.03mile route I have previously used many times to test step counters - but when I saw I was logging 1000s of steps sat at a desk I thought it would be better to see if that got sorted first. I may try it with the activepedom as well, assuming it is still compatible with that widget. ActivePedom has the X steps in X seconds feature which effectively takes out any counting when sat still.

    Is that something you normally do? I don't really see how I'm supposed to filter this
    out if it's at a rate that's the same as walking?

    No. Apologies - maybe that sample was not that great an idea. Maybe I should have done it just 3 times in 30 seconds.

    I could be wrong but I think if you did this to most step counters, they would count steps as well.

    I have an AmizFit Bip and an old FitBit and neither count steps on reaching across a desk or rotating a wrist, maybe the odd time but not consistantly to the point that by the end of the day when my AmizFit would say 1200 steps and the bangle says 8000+ today.

    I can't really afford to spend too long on this

    Yeah - I understand, this will be one of many things wanting attention.

    Maybe its time to have a competition to see if anyone can get a better version. I might have a go myself if its not to hard a jump to get into. I had a quick look at the link. What is the lifcycle of trying to improve this ? EG - do you just add samples until you get better figures at the end or would the C need to be adjusted etc ? How would one actually test this for real on a Bangle ? Is there a way to patch the firmware or would you have to build your own firmware from the source etc and then use the DFU loader etc. I think real world testing is needed here - I know all too well how time consuming that is from walking outside waiting for a GPS fix etc.

    Having a good enough step counter is an essential base level feature of any smartwatch though. I would rather Bangle became my default smartwatch than have to wear a second one to get an accurate step count etc.

    Maybe float the idea of a competion and see if there is much enthiusiasm for it ?

    • 5 comments
    • 48 views
  • in Bangle.js
    Avatar for HughB

    Yes I am sharing waypoints.json with other Apps but they are not installed. However I did not specify that the file was data and now realise this is what I need to do. Another check in at some point then :)

  • in Bangle.js
    Avatar for HughB

    Here you go. This log is wrist twisting through 90 degrees and back, on my right hand. Maybe 30 wrist twists at the rate of 1 per second in this sample.

  • in Bangle.js
    Avatar for HughB

    @Gordon - appreciate its not going to be perfect (2% error over 1 km would be excellent, 5% would be good.). But its definitely still counting 1000s of steps over the course of a day when steps are not there. Today I have apparantly done 3671 steps but all I have done is been up and down stairs maybe 4 times and the rest of the time sat at a desk. I would expect maybe 250 or 300 steps max for such activity.

    Its quite easy to reproduce the issue. Just sit look at the watch then twist your wrist through 90 degrees and back varying the speed at which you turn the wrist. The twist used to turn the LCD on should not cause steps.

    Will send you another accel log of me doing this, maybe another tuning session will get this to be filtered out.

Actions