[Q] DAQ speed and stream data speed limits? - General Questions and Answers

I am considering making a proof-of-concept using my smartphone sensors but before I crack open the Android IDE I want to ask if this is even possible:
- Can I acquire 9 sensor readings (acceleration, rotation, compass) with reasonable precision (8-bit) and stream above 30 Hz over Bluetooth with under 10 mS lag? The above numbers are not exact requirements, and higher is better. Ideally I would probably shoot for 60 Hz and 5 mS lag and 16-bit resolution, although I'm fairly confident the sensors don't have that level of precision.
- I have a Note 4, if it matters.
-This is not for distribution or even for another device. It is only a (hopefully) quick proxy for the hardware I eventually plan to build so that I can focus on other design tasks.
thanks

Related

[Q] Make APP _ Optical Tachometer (Helicopter etc)

Hi all, Got a Desire HD and a radio control helicopter (Trex 500).
Would like to be able to look at the heli in flight with the camera (in video mode is ok) and see what speed the rotors are spinning at.
All that's required is a method of adjusting the camera shutter speed while pointing at the heli until the blades look stationary. (Maybe use the volume rocker for adjustment)
Also a little routine to put the revolution figures on screen.
The heli blades should spin at about 2700rpm but for a wider variety of helis, would like to read a range from about 1900 to 3200 rpm.
A shutter harmonic frequency could be used as I dont think the shutter can operate at these speeds.
There are units available that use this method... But the mobile phone with camera already has the hardware needed. Just need a little bit of programming, I'm guessing.
If anyone can help i'm sure there would be a lot of interest from various fields....
Feedback on the idea welcome.....
aero star
PS. Thinking of existing measuring apps available, any reason why shutter speed can't be added to give object speed calculation and result etc etc
PPS Recording the heli in flight and then applying the Tachometer software would be ok.... might be easier to adjust the shutter speed for the video recording... ???
To measure the things like fan, you could simply add tachometer app for iOS on your iPhone. The fan blades will chop the light signal to provide the measurement. I would say very need app to have around. Search "Tachometer App for iOS"

The particular Android Cellphones regarding Summertime Vacation

Check out the i5500 is equipped with Android Only two.1 functioning program. It utilizes a 600MHz model. The memory setup is actually 256MB Range of motion 128MB Random access memory, therefore the running velocity is just not sluggish for people. It can assist micro-SDHC credit card slot and possesses a built in Two million mega-pixel camera. This doesn't support auto-focus along with flash nonetheless it could meet the regular capturing requires. The common 1200mAh lithium battery has a good battery life overall performance.
ZTE V880 comes with Android os Two.Two operating-system. It works on the 600MHz Qualcomm MSM7227 processor chip. We have an unbiased Adreno200 Graphics processing unit and also the recollection settings is actually 256MB Memory 512MB Range of motion, and so the working pace is fine for some. It has a integrated 320W pixel camera this means you will help GPS/AGPS routing operate. What's more, it could be appropriate for many different types of audio and video files. It could support EQ realignment, integrated Radio. And contains total enjoyment overall performance as it can certainly help TXT, Office (expression, stand out, PPT) and also Adobe Pdf browsing, Workplace document enhancing along with e-mail synchronization. The business enterprise performance is additionally spectacular. The particular 1230mAh lithium battery power could make sure the successful battery.
Atrix provides you with Android mobile phone Twnly two os. The idea uses Tagra Only two twin key processor which could provide you with the unexpected procedure knowledge. The actual built in 500W pixel photographic camera may auto focus. With a twin Directed thumb mild, it might capture 1080p degree HD movies. It could help High-definition multimedia interface and movie efficiency is quite highly effective.
Discomfort provides you with Android os Only two.Three operating-system. This makes use of MSM8260 two key cpu. The storage setup is 768MB Memory 1GB Range of motion, the actual performance is incredibly effective. The particular built in 800W pixel camera along with auto-focus plus a double Directed expensive mild can blast 1080p stage High definition videos. It could support High-definition multimedia result and SRS music technology. They have integrated GPS navigation function. With the built-in Google Routes Navigation, it may achieve the navigation services, integrated Android os Market, Yahoo Routes, Search, Googlemail, Metacafe as well as other circle support. It offer the internal Navigation receiver operate. Much like the Gps navigation data logger, it could obtain the signals from your Navigation geostationary satellites to provide us all. For your system, it might support GSM/WCDMA and the quicker HSPA network. The actual wi-fi circle surfing is extremely convenient for us. With a 1520mAh lithium battery, the particular successful battery can be ensured absolutely.

Continuous Camera app that doesn't require preview

This was a buzz a few versions ago, but not a popular topic anymore it seems. I am looking to create an app that can take pictures and save them as fast as the hardware will allow. AFAIK the preview was made a mandatory part of using the camera back around 2.3.3. We are currently working on rebuilding a version of CM without this requirements, but want to make sure we are not duplicating work. I have found a few little nuggets around that have given us hints, but doesn't seem like anyone has cracked the nut on this one yet. The overall goal being an app that captures high resolution imagery at a slow frame rate (compared to video). I would be happy with 5-10 fps. With the preview requirement, we see anywhere from 1-3 fps, usually in the lower range depending on the device. The target device for us will be the Samsung Galaxy Camera, but it should work across multiple devices as it is just a tweak to the camera API and underlying services.

[GUIDE] How to Really improve the gaming framerates on your Mi A1

Yo fellas, its your"rooting enthusiast SenpaiYank (lmao rooting enthusiast, as if such a thing exists)​
Well, as you know, our device has a quite outdated and not so beefy (at all) SoC, the snapdragon 625. While its CPU is not tremendously ridiculously bad, the GPU quite is. This is not a prolem to people who don't care about games but a very prominent one on the other side.
With the help of this trick, tweak, whatever you decide to call it, you'll practically be able to play any game out there that you're not able to or play that same game at a higher setting than you would. The trick consists basically on lowering the screen resolution through a script, trading some of the visual quality for a noticeable night day performance boost. It's a common trick that works on other devices too and I've yet to find a game that had problems with it.
I'm using "profile" scripts to achieve it so you can change it on the go. I feel that way is the most ergonomic and quick one. Just run each script with root permissions according to your need. I recommend FX file explorer. Wanna play a graphically intensive game? Switch to gaming profile. Wanna do something else besides gaming? Switch to the default one.
As I side note, the trick can be done on unrooted users too but you'll need a computer and you'll have to apply the gaming profile permanently (unless you're willing to repeat the procedure whenever you want to go back to default). I can talk about it if you guys get interested on it.
Enough blah blah, how do I do it ?​1st - Grab both of them (default.sh and gaming.sh)
2nd - Install (in case you don't have it), open and type this on the Terminal Emulator app:
Code:
su
To attain root access (not sure if needed but, just in case)
Code:
wm density
To get your current screen density value at 1080p (override density field).
Lets imagine you got 432.
3rd - Choose and calculate a new resolution for your gaming profile
So now lets ge to the actual work. Our device native resolution is 1080p (1920x1080) and we want to lower that.
I lower it to 810p (not a standard lmao) which is 75% of 1080p (1440x810) as it gives me agood balance between visual quality and performance. You can go even lower to something like 50% if you're ambituous about performance. At 810p I can expect a minimum of 25% performance uplift (not FPS).
So, to get your gaming profile resolution DPI, you multiply the relative percentage of it by the default profile resolution DPI.
Code:
[COLOR="darkred"]432[/COLOR] * [COLOR="RoyalBlue"]0.75[/COLOR] = [COLOR="Blue"]324[/COLOR]
This value will be your gaming resolution DPI a.k.a. the resolution from your gaming mode script.
4th - Edit default.sh and gaming.sh, apply the new values and save the files somewhere.
default.sh script should contain the values of your default resolution, in this case, 1920x1080 and 432. Size for resolution and density for DPI.
gaming.sh script should contain the values of your gaming profile resolution, in this case, 1440x810 and 324.
VOILÁ​
To make the process much much easier and quicker, I use FX file explorer and its shortcut feature so I can switch between both profiles from my home screen pretty easily. Whenever I'm not playing a demanding game Is stick to the default mode, whenever I'm playing a graphically intensive game, I switch to the gaming mode and enjoy the improvement.
Cool, cool. So, is there an actual improvement in performance or is this just one of these so called placebo tricks ?​It's definately not placebo and probably the most effective way around of increasing gaming performance!
I've tried to record a test with and without the trick (and failed, it doesn't look as effective in the video but I'll leave it here anyway). Take it with not 2 but 3 grains of salt due to all the uncontrallable factors that involved the scene, the actual gain in practical use is much more noticeable. The benchmark takes place in the super duper hot (pun intended) looking and intensive game, Shadowgun Legends.
On the first video, the device is running the Extreme Kernel, without the tweak, along a CPU cap of 2.5Ghz and a GPU cap of 855Mhz (or something around that). I didn't increase it further to prevent the device from overheating (which it already practically was) and because at a higher GPU clock, I would get arctifacts (my device does not support the 922Mhz frequency).
http://sendvid.com/zi9l8q44
On the second video, the device is running a beta batch of the velocity kernel, with the tweak, along a CPU cap of 1.9Ghz and GPU cap of 672Mhz. I ran the device at a lower speed so you can see how useful the improvement can also be.
http://sendvid.com/fqum12jw
I ran the game at the high graphical setting (30 FPS max) on one of its most intesive scenarios and were at very high ambient temperatures (30C) so again, take the videos with a grain of salt. Used an external gamepad to play and used Scrcpy to record the screen (through wifi so, the quality and framerate from the recording is considerably worse than the actual one). You should also remember the 5-6 FPS strain of capturing the screen.
I also used game bench to monitor the framerate (top right corner) where the last 1 minute of each benchmark were with the screen capturing off. Once again, sorry for the bad quality of the recordings, I'll leave a screenshot of the game bench results.
Not willing to write a outro so, yeah, basically thats it
Here's another sample video, of the same game, this time at medium settings. Along the very noticeable smoother gameplay you can also notice how the GPU load goes down from 95-100 to 70-80 and it becomes less of the bottleneck on the scenario. With the gaming profile could I could actually remove the 30 fps cap and run the game at +30.
Before:
https://photos.app.goo.gl/hwPg9KCwc6yLyt919
After:
https://photos.app.goo.gl/zDm4wkTHuAjQ7PA5A

Is it possible to make an average smartphone's camera sensor (...)

(...) capture visual data at especially high framerates if very little resolution is needed?
I know it's not exactly Android-related, but I had an interesting idea that requires video capture at framerates of probably several thousand images a second. The resolution can probably be kept at just a few hundreds of pixels, so my question is whether such implementation is possible (at least on some smartphones) hardware-wise?
I'm not really sure how the CMOS sensor and data processing work. I know it scans the pixels in a "rolling shutter" manner, which perhaps can impede feasibility, but my Xiaomi (in auto mode where it decides this value on its own) can capture a single image in daylight at tens-of-thousandth of a second, so the actual minimal scanning time of the entire CMOS sensor seems to be short enough. The question is whether there's a minimum pixel "reset time" between frames that can't allow it to capture a sort of "super fast video" even if a very low resolution is being used? Also, I'm not sure it matters, but the video doesn't really need to be "saved", it just needs to provide a live visual cue for my hypothetical app.
Thanks in advance!

Categories

Resources