![]() Serial.println("Accelerometer Test") Serial.println("") Serial.print ("Resolution: ") Serial.print(sensor.resolution) Serial.println(" m/s^2") Serial.print ("Min Value: ") Serial.print(sensor.min_value) Serial.println(" m/s^2") Serial.print ("Max Value: ") Serial.print(sensor.max_value) Serial.println(" m/s^2") Serial.print ("Unique ID: ") Serial.println(nsor_id) Serial.print ("Driver Ver: ") Serial.println(sensor.version) Serial.print ("Sensor: ") Serial.println(sensor.name) * Assign a unique ID to this sensor at the same time */Īdafruit_ADX元45_Unified accel = Adafruit_ADX元45_Unified(12345) This is just the sensor test code from the library above I used the following connection from the module above to my Arduino Arduino Connection An integrated, patent pending 32-level first in, first out (FIFO) buffer can be used to store data to minimize host processor intervention.Īgain a module is easiest to use, here is atypical one that I used These functions can be mapped to one of two interrupt output pins. Free-fall sensing detects if the device is falling. Tap sensing detects single and double taps. Activity and inactivity sensing detect the presence or lack of motion and if the acceleration on any axis exceeds a user-set level. Several special sensing functions are provided. Its high resolution (4 m g/LSB) enables measurement of inclination changes less than 1.0°. It measures the static acceleration of gravity in tilt-sensing applications, as well as dynamic acceleration resulting from motion or shock. The ADX元45 is well suited for mobile device applications. Digital output data is formatted as 16-bit twos complement and is accessible through either a SPI (3- or 4-wire) or I 2C digital interface. The ADX元45 is a small, thin, low power, 3-axis accelerometer with high resolution (13-bit) measurement at up to ☑6 g.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |