Eric
Do not send private messages with technical questions; they will be discarded. All technical questions must be posted publicly on the forum.
About
- Username
- Eric
- Joined
- Visits
- 9,275
- Last Active
- Roles
- Administrator
Comments
-
No, USB is for only for power. Did you decrease the connection interval, as noted in the documentation? (2nd paragraph of this section) https://mbientlab.com/androiddocs/latest/advanced_features.html#high-frequency-streaming
-
How were you using the board prior to this happening? Maybe another app or device is still connected to it.
-
MetaWear C is powered by a CR2032 battery. On average, the it'll last 1.5 weeks on a single battery charge. Depending on your use case, the battery can last between 2 hours and 6 months.
-
Looking at your code again, you start a log download, then immediately tell the logger to clear all entries. Remove the clearEntries call.
-
Meant to point you to this line:https://github.com/mbientlab/Metawear-SampleAndroidApp/blob/master/app/src/main/java/com/mbientlab/metawear/app/TemperatureFragment.java#L250 Though back my original point, you have to wait for asynchronous tasks …
-
Did the task succeed? Based on what you have said, the task should be failing, and if that is indeed the case, then post the stack trace. We have a few tutorial apps on our GitHub page. The freefall app demonstrates using the logger. https://gi…
-
* Sounds good enough to at least detect potential matches * Yes, that is correct. * Hrm that's odd. Can you record the rss and avg values and post them in the thread? Also, when/where are you configuring the accelerometer in your code?
-
The BMI160 comes with a few motion detection algorithms: https://mbientlab.com/androiddocs/3/accelerometer_bosch.html#motion-detectionhttps://mbientlab.com/androiddocs/3/accelerometer_bmi160.html#significant-motion If these don't suit your …
-
The free fall tutorial demonstrates how to get data from the logger to your connected device; what you do with the data afterwards is up to you. In the case of said tutorial, it simply prints it out to the debug console. If you want to write the d…
-
https://github.com/BoltsFramework/Bolts-Android#the-continuewith-method
-
* What version of the API are you using? * Add error handling to the addRouteAsync task and see if it was successful.
-
You have to wait for asynchronous tasks to finish before you can use their result. https://github.com/mbientlab/Metawear-SampleAndroidApp/blob/master/app/src/main/java/com/mbientlab/metawear/app/TemperatureFragment.java#L233
-
What firmware is your board running?
-
https://mbientlab.com/androiddocs/3/timer.html
-
If # of samples = sampling rate * recording time Is true, then you're doing it right. If you're logging, you can also check the time difference between consecutive samples.
-
Looks like you are adding the same route multiple times. Either add the route only once, or remove it every time you are done sampling.
-
What platform are you developing on?
-
Which sensors are you using and how fast are you sampling data? There is a trade off between number of connected sensors per adapter and how fast you can stream them.
-
Hrm what I2C device are you using?
-
That is expected behavior for accelerometer data. The only metric that matters is number of samples downloaded. If your sample count is roughly equal to sampling rate * logging time, then you are good to go. All of these other values mentioned ar…
-
Can you provide some CSV files that demonstrate this issue? How are you using the code from your app? Also, the file you linked does not have the recent updates so I can't tell if you everything was implemented correctly. Did you follow both ste…
-
See this thread for battery level discussion:http://community.mbientlab.com/discussion/comment/1923 Nowhere in the docs does it say mbl_mw_metawearboard_tear_down stops sensors, either explicitly or implicitly. The only thing the docs say is t…
-
https://mbientlab.com/androiddocs/3/advanced_features.html#high-frequency-streaming
-
n_log_entries isn't used at that point and isn't set until you start a log download so its value is irrelevant. As you can see, it is the same values as the two function pointers defined above it, which are also not set until a log download. Look…
-
Hrm, well lets go back to my earlier suggestion from this post so we at leats see what bytes were being sent back and forth lading up to the crash. http://community.mbientlab.com/discussion/comment/4399/#Comment_4399
-
The threshold filter only checks if the input crosses a boundary value so it's expected that it will produce false positives as double taps requires 2 pulses. Try using a conditional data switch (passthrough) that is controlled by the double tap e…
-
The error is most likely caused by the automatic graph scrolling. You can try fiddling with the offsets to see what stabilizes the app for your device. https://github.com/mbientlab/Metawear-SampleAndroidApp/blob/master/app/src/main/java/com/mbien…
-
* Which sensors are you running (accelerometer, gyro, barometer, etc.)? * How frequently are you sampling data? * Are you stopping them before you close your app? Calling tearDown does not stop the sensors.
-
We don't have any Arduino source code. Please consult the Arduino documentation for BLE examples.
-
Can you post more lines of stack trace? What you have posted only tells me where in the charting library the crash occurs, not where in the app.