Monday, January 7, 2008

Mr.clean Magic Eraser On Black




Wii Remote, is the super driver of the Nintendo Wii console. iPhone is the super Apple phone. Both devices have an acceleration sensor or three-axis three-axis accelerometer. This sensor is within the category of MEMS sensors (short for Micro-Electro-Mechanical System), which are those electronic sensors that are internally a mechanical device to function, in this case a mass (if, f = ma).
I was watching The accelerometer is the LIS302 of STMElectronics (other com the ADXL330). Some of the most interesting characteristics of this accelerometer are: low power, I2C/SPI interface, measuring range ± 2g / ± 8g and detection of click and double click.
communication with the accelerometer is I2C/SPI as preferred, this is true for the configuration as to read the acceleration values.
One of the things that caught my attention is the detection function click and double click. As I read when the sensor is subjected to a stimulus (mating, in one direction) will generate a signal indicating a click (stop). A more advanced variant of the same function can generate an interrupt when it detects a sequence of two consecutive stimuli (double click). The intensity of the stimulus and the time between the first and second stimulus is programmable. The advantage of this feature is that it simplifies programming the microcontroller / processor. The standard interface for communicating with the sensor is I2C/SPI, but using this feature, read the click or double click an entry simply involves connecting the micro to the sensor output INT.
How to use this sensor?, You can make an ad-hoc panel with a standard micro or use some of the platforms for prototyping, or CUI Arduino USB. Wiring (Arduino programming language) includes routines to handle I2C devices which greatly simplifies the issue.

Links:
STMElectronics
Wiring: routines to handle I2C devices

0 comments:

Post a Comment