Avatar for AccMagno

AccMagno

Member since May 2023 • Last active May 2023
  • 1 conversations
  • 8 comments

Most recent activity

  • in Bangle.js
    Avatar for AccMagno

    just a update:
    tried simple trick by editing Accellog app by changing the "Bangle.setPollInterval(x)" value to 50 ms. First sample gets in around 50 ms, but rest of the values have around 100ms interval. I tried to disable layout updating, because maybe that takes too much time, but didn't help.
    Maybe I need to go with accelrec app and modify it. Maybe it can't write to file so fast. I will continue to try different things.

    you can throw for 30 minutes and end up with only like 10 seconds of actual data
    True. Now I just want to collect data. If the writing to text file takes too much time, I can make it write only when there is a peak. Otherwise I will just update an array on the ram with new values. Lets see.

  • in Bangle.js
    Avatar for AccMagno

    Good to know that I can't 'burn' it :D Then I will test different thinks.

    "How's it gone from..." ah yeah, sorry for that. The idea is measure now the data and explore it and see how it behaves. Then later I will make an app that shows you live how many throws you have had and speed of the throws and so one. So I don't eventually need to measure 30 min, just now to collect the data from the game. In the future app I need to have live array or list of acceleration data and then update it by adding new one and removing oldest. Then when the app measures spike on the acceleration, it can calculate all the data from the array. But first I need to explore the data. For example I was expecting do see from data, which way the hand is moving (backwards or forwards), but for some reasons I cant see that. I only see spikes on x-axis but all the spikes are negatives, so I need to explored more why. Maybe the hand just turns when there is bull forward.

    But now I think I will modify the "Acceleration Logger" app and add option to change the data collection frequency, so I can see what is good enough, so when I will make the app, I know what frequency to have and it doesn't use all battery in one call :D

    Thanks for the "http://www.espruino.com/Data+Collection#­flash-memory " link. This was good!

    I still feel I need to order second watch, just in case my one breaks down ^^ or is there there bangle.js 3 coming with gyro ;)?

  • in Bangle.js
    Avatar for AccMagno

    It works, but it only records for 2s ( or 5 second as code says so). I need to record 30min. What if I increase sample size, like 1800 * Hz. Will my watch burn or something else? Is 256 kB ram enough?
    Other option is to modify "Acceleration Logger" app and change setPollInterval to lower value. Maybe like 10 ms. Documentation mentions "max value" for this but not a minimum :D

  • in Bangle.js
    Avatar for AccMagno

    I could swear that wasn't there for two days. I looked through all your commits and I didn't see that one. Thanks!

  • in Bangle.js
    Avatar for AccMagno

    " I have just fixed that.." Where is that? I can't find any new commit on "Acceleration Recorder" or on the " Acceleration Logger" app in development branch :/

  • in Bangle.js
    Avatar for AccMagno

    I have been using "Acceleration Logger" app and it gets the data in 12.5Hz. What would be the max logger frequency (about a guess) and how I can get "higher speed mode" on?
    I got some data, but it is not accurate enough or I have to analyze it more.

  • in Bangle.js
    Avatar for AccMagno

    Yeah, I was wondering why bangle doesn't have gyro. I thought magnetometer is there for that.
    Your idea is good. I'm drying to measure hand speed when you throw disk or ball, so there is time frame when there is no acceleration( I can get the gravity direction) and the throw will last 2s so I might get the right speed and maybe even hand location.

  • in Bangle.js
    Avatar for AccMagno

    Hi,

    Is there any good ways to get acceleration sensor data without gravity? Like it would use magnetometer to get the orientation and then remove gravity based on it? Some ready made examples.
    I would like to calculate 3-4 seconds the speed the watch has and if possible, also a location/orientation.

Actions