diff --git a/library/sensors.dcm b/library/sensors.dcm index 6c8f3b18..7d467c5b 100644 --- a/library/sensors.dcm +++ b/library/sensors.dcm @@ -258,6 +258,12 @@ K 3-Axis MEMS Gyroscope F http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00036465.pdf $ENDCMP # +$CMP LIS2DH +D 3 axis accelerometer, 2/4/8/16g range, I2C/SPI interface +K accelerometer +F http://www.st.com/web/en/resource/technical/document/datasheet/DM00042751.pdf +$ENDCMP +# $CMP LIS331HH D 3-Axis Accelerometer, 6g/12g/24g range, 1000Hz, I2C and SPI interface K 3-axis accelerometer SPI I2C diff --git a/library/sensors.lib b/library/sensors.lib index 8d70a583..8430969b 100644 --- a/library/sensors.lib +++ b/library/sensors.lib @@ -342,6 +342,35 @@ X VDD 16 100 600 150 D 50 50 1 1 W ENDDRAW ENDDEF # +# LIS2DH +# +DEF LIS2DH U 0 40 Y Y 1 F N +F0 "U" 300 450 50 H V R CNN +F1 "LIS2DH" -400 450 50 H V L CNN +F2 "" -350 0 50 H V C CNN +F3 "" -350 0 50 H V C CNN +$FPLIST + LGA-14* +$ENDFPLIST +DRAW +S -400 400 300 -300 0 1 10 f +X SCK 1 -600 300 200 R 50 50 1 1 I +X MOSI 2 -600 200 200 R 50 50 1 1 I +X MISO 3 -600 100 200 R 50 50 1 1 O +X ~CS 4 -600 0 200 R 50 50 1 1 I +X INT2 5 500 0 200 L 50 50 1 1 O +X INT1 6 500 100 200 L 50 50 1 1 O +X Vddio 7 100 600 200 D 50 50 1 1 I +X Vdd 8 0 600 200 D 50 50 1 1 I +X GND 9 -300 -500 200 U 50 50 1 1 W +X GND 10 -200 -500 200 U 50 50 1 1 W +X GND 11 -100 -500 200 U 50 50 1 1 W +X GND 12 0 -500 200 U 50 50 1 1 W +X GND 13 100 -500 200 U 50 50 1 1 W +X GND 14 200 -500 200 U 50 50 1 1 W +ENDDRAW +ENDDEF +# # LIS331HH # DEF LIS331HH U 0 40 Y Y 1 F N