app needed for distance measurement using LASER sensor on OPT - OnePlus 2 Themes and Apps

Guys can someone get access of the LAF and make an app to get real time distance of an object /wall from the Laser sensor

I think its not more than 2 feet.

That's enough but I need to use it as a distance sensor

Dial *#808# and then LaserFocus->Basic Functions Test->100MM/400MM. The LIVE distances are shown when the test is done.

Related

Phone with 3-axis accelerometer

Anybody know of a current or recent phone that can be developed for and which includes a 3-axis accelerometer.
I'm looking this for a project that would enable to do movement (rough) capture in 3D space. Think big hand drawn lines in the air done with glow stick in the dark, but of course now on mobile phone and capturing the data.
I know some phones have 2-axis accelerometers, but that's not enough.
Any EUR/USA models with 3-axis sensors (in theory it could be something other than an accelerometer, just that it enables motion capture).
Anyone?

Latency when using sensor data?

Hey, guys!
I am working on a project using HTC magic which requires the data from the electronic compass, including both the accelerometer and magnetic sensor. But I find that there is a significant latency between the move of the phone and the trigger of the sensorChanged event. In other word, the acceleration and magnetic data obtained from sensor are updated about half of a second after my motion. And I have several questions about the problem as follow.
1. Are the orientation data computed by the acceleration and magnetic data? Or are there a physical sensor for orientation?
2. Does the latency result from the android API (using the event) or the physical limitation of the electronic compass?
3. It is said that the model of the electronic compass is AK8976A from Asahi Kasei. Does anybody have the datasheet or know the frequency of the sampling?
4. Any idea to improve the real-time experience?
Thank you in advance!

calibrate altimeter

does anybody know how to calibrate the altimeter on the watch 2? it does work very precise tracking how many meters you ascent or descent while out and about, but knowing your excact altitude depends on barometric presure which is variable and needs calibrating. there is one standard watch face included called 'outside' on the watch which shows pressure and current altitude, but i cant seem to find a way to calibrate the altimeter. anybody any ideas?
glenner05 said:
does anybody know how to calibrate the altimeter on the watch 2? it does work very precise tracking how many meters you ascent or descent while out and about, but knowing your excact altitude depends on barometric presure which is variable and needs calibrating. there is one standard watch face included called 'outside' on the watch which shows pressure and current altitude, but i cant seem to find a way to calibrate the altimeter. anybody any ideas?
Click to expand...
Click to collapse
Did you ever find a way? I'm at sea level and it tells me I'm -21m
Sent from my Pixel 2 using Tapatalk
It's not that simple, and it's probably nothing that should be calibrated too. Giving you the altitude, based only on the barometic pressure (which is the sensor that the watch has), it's impossible. You need the local temperature too. Since the watch doesn't have a temp sensor, it relies on the temperature received from the internet to calculate the altitude. So, if the temperature is not accurate enough, it wil show you incorrect altitude "readings".
you can calibrate it by tapping the weather icon on Outdoor watch face ( see https://consumer.huawei.com/en/support/faqs/detail/?id=154328&name=HUAWEI WATCH 2 ) .It has nothing (or very little) to do with temperature. Altitude can be directly estimated from pressure, the problem is that air pressure varies over time (cyclone, anticyclone...).
More to the point is how to calibrate the barometer. It reads way too low (by 9mb/hPa).

Remapping The Heart Rate Sensor

Back story:
Recently I bought these dirt cheap VR goggles, they suck, but for the time being it's all I have.
I've noticed that having a touch control over the phone was prety usefull, pausing a video, recentering, selecting, etc.
My goggles are basically wide open from the back, meaning the camera, jack, nfc (probably), usb and the Heartrate sensor are not blocked.
That in mind, I remembered that feature where you can take selfies with the Heartrate sensor and tought to myself "Heck this outta be easy!"
Let's start,
I need to use the heartrate proximity sensor to create a touch action in the middle of my screen
I first headed to the "Automate" app as it is quite flexible and simple (yet anoying) to use. To my avail, the sensor was not listed.
Tasker it was then!
Turns out tasker has a %HEART value but I am uncertain if it's even remotly close to what I need. (tasker.joaoapps. com/userguide/en/variables.html)
also one of my problems is, I don't even know how to activate the sensor in the first place.
I don't know anything about developping on mobile but,
Here's what I know:
-Samsung offers the Sensor Extension for developpers, but you need to register to ask for the dev kit via Email and apparently they don't respond to them very often. (developer.samsung. com/galaxy/sensor-extension)
-You can activate and monitor the sensors using the Samsung test menu
By entering *#0*# in the phone/call keypad and going to Sensor.
-Technically, for my purpose I would only want the proximity sensor of the Heart rate sensor but I believe they come in a package.
-I could attempt using NFC or bluetooth, but I guess I prefer to not cary something in my hand.
-I am sort of noob/alright when it comes to programming C++ so I can atleast understand code.
I'm asking for someone to shed some light if this was done before, I might be missing some obvious answer or other 3rd party app
I don't want to ask alot to be honest.
I guess other solutions will be much easier anyway, I just like to break my head thinking about other ways to do things.
Thx.

Question Barometer react to display tap/pressure?

Can someone confirm that this is present on yours X5III? Wondering if this is by design or some fault.
I'm using barometer to log an altitude of my trips..
->
Open app showing barometer data (preferably Phyphox), run pressure test.
Tapping or making pressure to middle part of the display makes pressure go peaking high and low. Like this:
Probably normal, you're changing the internal pressure when you do that.
Means the watertight seal still intact.
Fun fact: this water-tight seal, plus a barometric sensor, has been used by apps to simulate features like the side squeeze Pixels had from series 2 thru 3a.
I tried the same thing on my old X Compact and it does the same thing. Only the sensor on XC has a lot slower readout so it does not show so rapidly and sometimes it smooth it out. Well, need to be more soft on tapping while also recording altitude with barometet ) thx for replies

Categories

Resources