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
-
Based on page 9 of the pdf, the device address is 1110110x where x=1 for read and x=0 for write. You can probably use 0x0 for register address, and set numBytes to 1.
-
Use the high frequency stream when streaming multiple sensors at 50hz. You should also modify the connection parameters to reduce the max connection interval is 7.5ms.
-
* Those values are simply how they are displayed as a string. You can use String.format to set how many decimals should be show in the string * High freq lets you stream at higher frequencies but you are still bound by the 100Hz throughput limitati…
-
MetaWear only has a small subset of those functions available so there aren't that many options you can realistically use with the on-board processing. You can checkout the available processors on the Android documentation: https://mbientlab.com/…
-
Unfortunately there really isn't anything that can be done other than to check the drivers and try re-pairing devices. Do the erred Win10 machines at least recognize the MetaWear service GUID?
-
The pymetawear is a community provided library, not an official MbientLab one. You can checkout the accelerometer example code to see if that can answer your question, or if not, leave a question with the pymetawear author. https://github.com/hbl…
-
Based on the stack traces from the various crashes with the Windows app, one of the crashes may be related to trying to acquire a path in the Downloads folder to store the data. Try moving the existing MetaBase folder to another location and see if…
-
Hm, that is a good question. Since we don't know what the macro is, it's difficult to say. It looks like the macro was enabling the accelerometer at 25Hz given the 40ms time offsets however that is something that we'd need more information in orde…
-
Setup one 30s timer to do silent reads that go to the logger, and another 1s timer to do normal reads which the app will pick up.
-
No, drivers vary depending on hardware. You can check the manufacturer's website or use the Windows provided drivers. Are both laptops running the same Windows 10 build?
-
Did you switch to using high frequency stream?
-
You need to use the high frequency stream for streaming at 200Hz.
-
Good to hear everything is sorted out. Out of curiosity, what was that macro doing?
-
It looks like it's a driver issue with your bt adapter. You can try re-pairing the device and/or reinstalling the drivers.
-
The code you provided does not compute velocity using the aforementioned equation.
-
Why are there two route managers if you are only logging temperature?
-
The SensorFragment class is the base class for all data streaming fragments.
-
* What is the value of LOG_KEY? Is it the same value as the string passed into setLogMessageHandler * Remove the call to clearEntries from the download handler
-
See this post by Matt.http://community.mbientlab.com/discussion/comment/2191/#Comment_2191
-
No API will let you log all of those sensors together. Yes, you can log both sensor fusion outputs and stream gpio data.
-
You know how often the sensor is sampling data and that MetaHub packs 3 data samples together. Given these parameters, you can compute when every 3rd data sample should arrive. If the next set of 3 samples has an elapsed time greater than the expe…
-
You can look at the MetaWear app and the 'example' module from the Android API for examples on retrieving sensor data. You'll have to either build the app yourself or modify the MetaWear app to connect to FireBase. Your app will be much simpler th…
-
* A full download of the flash memory should only take about 35-40 min, which is to be expected as Bluetooth LE has a much lower bandwidth than classic Bluetooth or WiFi Direct. An hour is pretty * The Windows MetaHub app writes data to the user's…
-
MetaHub streams data to the Android device. Please contact us directly regarding the MetaHbu source code as it is not publicly available at the moment. https://mbientlab.com/contact/
-
The API itself does not attempt to reconnect to the board.
-
You can use the MetaHub and MetaBase apps to record data with a few button presses.
-
Yes
-
The button triggering ble advertisement is separate from the custom programming feature; it is there to as a fail safe to recover from accidentally setting the ble ad period to a small value. You don't need to press the button to connect if it is a…
-
For discrete sampling, you cannot simply sum the acceleration as you would if you had continuous sampling. Try using the formula a(n) = v(n) - v(n - 1) / deltaT
-
You are trying to log too many sensors at once. For your specific usage, you can only log euler angles + linear acc, or either one along with the the 2 gpio pins.