SensorTest

App Image

 Download Latest Version 

This application uses:
Bugmotion 
   June 9th, 2009   ·   980 views  /  4267 downloads

Admin Administrators: finsprings, Bug Labs teamjconnolly, Bug Labs teamkgilmer, theterg, bcruskie, Bug Labs teampsemme
Collaborator Collaborators: akweon

Category: Utilities    Maturity: Planning    API version: not specified
Tags: sensor 

Tests the various sensors on the sensor module.

Currently there are tests for:

  • LEDs
  • Temperature
  • Humidity
  • Compass

On startup it defaults to testing them all one after another, then looping.
If you press HK1 it will just loop the LED test; press it again and it will just loop the Temperature test, and so on.

The BUG LCD is used to display data for the test that’s being run, and for transition messages when you press HK1. So if you are in Humidity test and press HK1 the LCD will briefly show ”-> CMP” then it will start showing Hx and Hy values from the compass. This allows you to test without being tethered to a handylink.

HK2 will start/stop a compass calibration. During compass calibration the red and green LEDs on the sensor module will both light up. To calibrate the compass, press HK2, observe the LEDs light up then slowly rotate the BUG base at least 360 degrees. As you do this the sensor module is tracking the min/max Hx and Hy readings. When you’re done, press HK2 to stop the calibration. At this point the LEDs will turn off and the observed min/max readings will be used to calculate the zero points for the X and Y axes. You should find that rotating the BUG 360 results in an equivalent change in heading now.


Download Download Latest Version

Version Date Uploaded by Notes  
Version 27 February 14th, 2010 finsprings  Reworked motion test to just do instantaneous now sensor modlet... (more) Reworked motion test to just do instantaneous now sensor modlet blocks on the interrupt. Pulled accelerometer interrupt test and all-tests pseudo-test out of the loop rotation because they end up requiring user input that needs you to watch the concierge log. Added a loop delay that's toggleable with HK3, because some tests go so fast without it that it's hard to get it to do anything else if you select them. Green led on means the delay is in place (default). (collapse) download
Version 26 February 14th, 2010 finsprings  Reworked humidity and proximity sensor code. Performance now vastly improved... (more) Reworked humidity and proximity sensor code. Performance now vastly improved. Humidity needed power on/off to not be part of the read loop, as it would error if that happened to fast, so I moved the on/off to setup/teardown logic in the app. The underlying modlet code also switch to the HUMRD ioctl which increased performance (sleep calls in the jni code are gone now). The jni code for the proximity sensor had a bug which meant the burst duration wasn't being set. With that fixed and a move of the set call out to setup code it's now pretty responsive. (collapse) download
Version 25 February 9th, 2010 finsprings  Added test for the interrupt-driven motion sensor interface. (more) Added test for the interrupt-driven motion sensor interface. (collapse) download
Version 24 February 4th, 2010 finsprings  free-fall working now that I understand that at rest gravity... (more) free-fall working now that I understand that at rest gravity is (by definition) exerting a downward force of 1g - in this case it shows up on our Z axis as a reading of around 0.9 or so. I had incorrectly compensated that out so free fall was always firing. I took out my bogus offset value and dropping the bug from one hand a couple of feet into the other triggered the free fall interrupt. (collapse) download
Version 23 February 4th, 2010 finsprings  Added free-fall detect, but I don't understand it yet -... (more) Added free-fall detect, but I don't understand it yet - the datasheet says "The FREE_FALL bit is set when acceleration of < THRESH_FF is experienced for > TIME_FF". If it's free-falling, wouldn't it be acceleration at 9.81ms2 toward the ground? (collapse) download
Version 22 February 4th, 2010 finsprings  (more) (collapse) download
Version 21 February 4th, 2010 finsprings  Added tests for activity and inactivity events. Increased window to... (more) Added tests for activity and inactivity events. Increased window to 250ms for double tap to make it more accepting. (collapse) download
Version 20 February 2nd, 2010 finsprings  Added double-tap test. I should probably up the allowable delay... (more) Added double-tap test. I should probably up the allowable delay between taps a bit, as you have to double tap quite quickly as it is. The app defaults to doing accelerometer tests, starting with the single tap, then the double tap, then back to the single tap. I'll keep adding to this test for the other interrupt-based events. This means you need to be watching concierge.log to know how you're supposed to interact with it. (collapse) download
Version 19 January 28th, 2010 finsprings  added draft event (via interrupt) support; only single-tap tested and... (more) added draft event (via interrupt) support; only single-tap tested and implemented so far (collapse) download
Version 18 October 24th, 2009 finsprings  Added ADXL345 tests (more) Added ADXL345 tests (collapse) download
Version 17 August 30th, 2009 finsprings  Made HK2 a start/stop toggle for calibration so you aren't... (more) Made HK2 a start/stop toggle for calibration so you aren't forced to spin it for 60 seconds. (collapse) download
Version 16 August 23rd, 2009 finsprings  add compass calibration test. it is initiated by HK2 rather... (more) add compass calibration test. it is initiated by HK2 rather than HK1 like the others, as you don't really want to repeat it and if you start it you need to do it properly or the compass heading will be off. (collapse) download
Version 15 August 23rd, 2009 finsprings  include aprox in test-all (more) include aprox in test-all (collapse) download
Version 14 August 23rd, 2009 finsprings  add nextTestChoice case stmts for light,aprox and compass point (more) add nextTestChoice case stmts for light,aprox and compass point (collapse) download
Version 13 August 22nd, 2009 finsprings  fixed proximity test code (forgot to add it in getServices... (more) fixed proximity test code (forgot to add it in getServices - doh) (collapse) download
Version 12 August 22nd, 2009 finsprings  add analog proximity test code (still unexercised) (more) add analog proximity test code (still unexercised) (collapse) download
Version 11 August 16th, 2009 finsprings  Add tests for the light sensor. Can't actually try the... (more) Add tests for the light sensor. Can't actually try the code since the ISL29003 (U21) is not populated on the board that I have. (collapse) download
Version 10 July 29th, 2009 finsprings  make is show something for compass when in TEST_ALL mode... (more) make is show something for compass when in TEST_ALL mode. put delays in between tests in TEST_ALL mode so you have time to see data on BUG lcd. (collapse) download
Version 9 July 29th, 2009 finsprings  add compass heading and points as toggleable display options. will... (more) add compass heading and points as toggleable display options. will probably move points string conversion into modlet in a min. (collapse) download
Version 8 July 27th, 2009 finsprings  update so compass code works. added Hx,Hy values to bug... (more) update so compass code works. added Hx,Hy values to bug lcd which is rather handy (collapse) download
Version 7 July 25th, 2009 finsprings  add (analog) compass test. haven't run it yet due to... (more) add (analog) compass test. haven't run it yet due to build problems. (collapse) download
Version 6 June 10th, 2009 finsprings  Added status bar and hotkey logic so you can do... (more) Added status bar and hotkey logic so you can do all tests or just one test (HK1 cycles through). Test values appear on base LCD. (collapse) download
Version 5 June 10th, 2009 finsprings  add humidity sensor test (more) add humidity sensor test (collapse) download
Version 4 June 10th, 2009 finsprings  reduce sleeps (more) reduce sleeps (collapse) download
Version 3 June 10th, 2009 finsprings  refactor (more) refactor (collapse) download
Version 2 June 10th, 2009 finsprings  add ISensorTemperature test code (more) add ISensorTemperature test code (collapse) download
Version 1 June 9th, 2009 finsprings  LED blinking and dump of presence flags. (more) LED blinking and dump of presence flags. (collapse) download

This application is licensed under the MIT license agreements.

Viewing SensorTest   Link

3 Comments

Comment_icon Login to add comment

UGG01

UGG01 said on December 17th, 2011 03:55:12 AM

UGG Outlet Store No one disputes the popularity and demand for snow boots. UGG Boots Outlet After all, the brand has been around for a long time, has proven itself, including the ruling party rule the roost in the fashion industry's top brands. UGG Boots Clearance Thus, not surprisingly, a pair can set you back position and financial, unless you are savvy enough to find a good bargain, or wait on sale, you should be prepared to table a pair of more than $150. UGG Classic Cardy Boots These projects created from the best sheepskin and wool lined snow boots sale exclusive appeal. This allows you to keep your feet warm and comfortable. UGG Bailey Button Boots Many elderly people suffer from foot disease, due to the cold blood circulation problems of individuals, found that these boots to help them against bad weather is very useful. UGG Roslynn Sheepskin is that it can provide you with the warmth in the winter and keep you cool in the summer. UGG Kenly This versatile property has been a major contributor to the popularity of UGG shoes, in addition to the unique shape and quality of the brand brings to the table. UGG Nightfall Build, they can not rely on the quality of sheep, they use to penetrate a wider market, the brand is the rapid introduction of a variety of patterns, colors and patterns, and help them gain support from young people, as well as children. UGG Classic Argyle Knit UGG Ultra Short UGG Sundance UGG Classic Tall Boots

UGG01

UGG01 said on January 6th, 2012 09:05:44 PM

Coach OutletThere is such thing as a good deal. However, if someone claims to have a handbag for sale that isn't even in stores yet, you should pass. Coach Outlet OnlineIf purchasing from an unauthorized dealer or from an auction site, the only understandable good deal would be if it were a bag from a past season. Coach Outlet Store Coach also commonly uses logo tags that are attached by a beaded metal chain. Usually, the tag should match the trim of the bag. The words "COACH" should be raised, not imprinted. Coach Factory Outlet Some styles do have metal tags. Do your research to make sure that the tag goes with the bag you are getting. Coach Factory OnlineIt is not uncommon for counterfeiters to mass-produce these metal tags; it's the cheaper more profitable way.Coach FactoryKeep in mind that tags are never made out of hard plastic. Coach Factory Outlet Online Dust bags are another way to tell if the seller is offering you aithentic Coach merchandise. Sleeper Bags Or Dust Bags should be dark chocolate brown with a red drawstring.Coach Outlet Store Online In the bottom right the words in all caps "COACH EST.1941″ written in white. Coach does not use cheap material to make these. Coach Poppy There are many replica dust bags floating around on the Internet. So if you see one stay away, chances are that bag is also a fake. Cheap Coach Purses You can tell by not only the style of the bag, but also the pattern. If the pattern is not the famous Coach signature C, but rather a different letter, such as an O or a G or even a Q then it's an obvious fake. Coach Purses There are some simple ways to train your eye to notice flaws in a fake, and distinguish whether its authentic or not. Coach Purses Outlet

zuolachen

zuolachen said on January 10th, 2012 08:44:22 PM

Neither point Air Max 2012 Cheap still holds, Air Max UK lawyers for Fox and ABC told the justices. But Justice Antonin Scalia, who Nike Air Max 87 Cheapin other settings has been hostile to government regulation of speech, said there was value in holding Cheap Air Max the line here. This Nike Air Max 90 Hyperfuse has a symbolic value,” Cheap Air Max 90 VT he said, “just Nike Air Max Classic BW as we require a certain modicum of dress for the people that attend this court.These are public airwaves,” Cheap Nike Air Max 95 Justice Scalia went on, adding Cheap Nike Air Max 90 has to relate to juveniles, to tell you the truth.Still, there was significant dissatisfaction among the justices with how the Federal Communications Commission has been Cheap Air Max 95 360 using its authority. One cannot tell what’s indecent and what Nike Air Max is Justice Ruth Bader Ginsburg said, referring to the agency as “the censor.The commission has, for instance, said that the swearing.