![]() Download Latest Version This application uses: |
June 9th, 2009 ·
980 views / 4267 downloads 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 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 |
| Viewing SensorTest | Link |
3 Comments |
|
UGG01 said on January 6th, 2012 09:05:44 PM
zuolachen said on January 10th, 2012 08:44:22 PM



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