You can select what events to watch for, and what interupt pin to trigger when it is sensed (I had issues with INT2, it would not reset). These special detection features have the ability to trigger 2 interrupt pins, making the pin go HIGH the moment one of the events is sensed. (tap, double tap, free fall, activity and inactivity) Today, we are talking about getting the special features of the ADX元45 up and running. It is pretty decent all around, but were not really going to spend much time talking about boring stuff today. Out of the box, the ADX元45 is an I2C 3-axis accelerometer with user selectable sensitivity and 10-13 bit resolution (depending on sensitivity). Im using the ADX元45 breakout board from sparkfun. It is able to sense taps, double taps, free-fall, activity and inactivity all by just configuring some parameters. BUT!!! What if your accelerometer did the heavy lifting for you? Well the ADX元45 does just that. But we mortals often lack the insane math skills needed to write these movement profiles, and so we often just use our accelerometers as orientation sensors. This is how your wii-mote can tell if your are bowling and not throwing, and your high-end pedometer knows the difference between running and walking. many actions like walking, throwing or jumping have particular movements associated with them, and a profile can be designed to recognize these movements. Accelerometers for all intents and purposes sense movement, so because gravity is pulling on the object it senses that and we can then determine orientation. Excuse my oversimplification here, but this is going to help those who don't know what's going on. ![]() But, believe it or not accelerometers are best suited for something other than sensing orientation. the things that tell your phone how it is orientated.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |