From 6767495532d6d4439d7f1cdc2efb47edb0099da1 Mon Sep 17 00:00:00 2001 From: jeromebeguin Date: Tue, 31 Jan 2017 15:32:37 +0100 Subject: [PATCH 1/5] adding LSM9DS1 to sensors lib. I plan to creat the LGA-24L footprint. But don't know in which library I should put it. --- library/sensors.dcm | 6 ++++++ library/sensors.lib | 51 +++++++++++++++++++++++++++++++++++++++------ 2 files changed, 51 insertions(+), 6 deletions(-) diff --git a/library/sensors.dcm b/library/sensors.dcm index 31923e96..62c6f646 100644 --- a/library/sensors.dcm +++ b/library/sensors.dcm @@ -360,6 +360,12 @@ K Accelerometer Magnetometer MEMS F http://www.st.com/web/en/resource/technical/document/datasheet/DM00027543.pdf $ENDCMP # +$CMP LSM9DS1 +D I2C, SPI 9 axis IMU +K I2C SPI IMU accelerometer gyroscope magnetometer +F http://www.st.com/content/ccc/resource/technical/document/datasheet/1e/3f/2a/d6/25/eb/48/46/DM00103319.pdf/files/DM00103319.pdf/jcr:content/translations/en.DM00103319.pdf +$ENDCMP +# $CMP MAX31855 D Cold-Junction Compensated Thermocouple-to-Digital Converter K Thermocouple Converter diff --git a/library/sensors.lib b/library/sensors.lib index 8eead43b..d11a57a4 100644 --- a/library/sensors.lib +++ b/library/sensors.lib @@ -45,7 +45,7 @@ ENDDEF # # A1301KLHLT-T # -DEF A1301KLHLT-T IC 0 40 Y Y 1 F N +DEF A1301KLHLT-T U 0 40 Y Y 1 F N F0 "U" 0 450 50 H V L CNN F1 "A1301KLHLT-T" 0 350 50 H V L CNN F2 "SOT-23W" 0 -350 50 H I L CIN @@ -64,7 +64,7 @@ ENDDEF # # A1301KUA-T # -DEF A1301KUA-T IC 0 40 Y Y 1 F N +DEF A1301KUA-T U 0 40 Y Y 1 F N F0 "U" 0 450 50 H V L CNN F1 "A1301KUA-T" 0 350 50 H V L CNN F2 "" 0 -350 50 H I L CIN @@ -285,7 +285,7 @@ ENDDEF # # BMP085 # -DEF BMP085 IC 0 40 Y Y 1 F N +DEF BMP085 U 0 40 Y Y 1 F N F0 "U" 100 450 50 H V L CNN F1 "BMP085" 100 350 50 H V L CNN F2 "LCC-8" -100 0 50 H I C CIN @@ -528,7 +528,7 @@ ENDDEF # # L3G4200D # -DEF L3G4200D IC 0 40 Y Y 1 F N +DEF L3G4200D U 0 40 Y Y 1 F N F0 "U" 250 600 50 H V L CNN F1 "L3G4200D" 250 500 50 H V L CNN F2 "LGA-16" 0 0 50 H I C CIN @@ -559,7 +559,7 @@ ENDDEF # # L3GD20 # -DEF L3GD20 IC 0 40 Y Y 1 F N +DEF L3GD20 U 0 40 Y Y 1 F N F0 "U" 250 600 50 H V L CNN F1 "L3GD20" 250 500 50 H V L CNN F2 "LGA-16" 0 0 50 H I C CIN @@ -917,6 +917,45 @@ X VDD 14 100 700 150 D 50 50 1 1 W ENDDRAW ENDDEF # +# LSM9DS1 +# +DEF LSM9DS1 U 0 40 Y Y 1 F N +F0 "U" -600 850 50 H V L CNN +F1 "LSM9DS1" -600 750 50 H V L CNN +F2 "" 0 100 50 H I C CNN +F3 "" 0 100 50 H I C CNN +$FPLIST + LGA* +$ENDFPLIST +DRAW +S -600 700 600 -700 0 1 10 f +X VDDIO 1 0 900 200 D 50 50 1 1 W +X SCL/SPC 2 -800 400 200 R 50 50 1 1 I +X VDDIO 3 100 900 200 D 50 50 1 1 W +X SDA/SDI/SDO 4 -800 300 200 R 50 50 1 1 B +X SDO_A/G 5 -800 0 200 R 50 50 1 1 O +X SDO_M 6 800 300 200 L 50 50 1 1 O +X CS_A/G 7 -800 100 200 R 50 50 1 1 I +X CS_M 8 800 400 200 L 50 50 1 1 I +X DRDY_M 9 800 200 200 L 50 50 1 1 O +X INT_M 10 800 100 200 L 50 50 1 1 O +X GND 20 100 -900 200 U 50 50 1 1 W +X INT1_A/G 11 -800 -100 200 R 50 50 1 1 O +X CAP 21 -800 -500 200 R 50 50 1 1 B +X INT2_A/G 12 -800 -200 200 R 50 50 1 1 O +X VDD 22 300 900 200 D 50 50 1 1 W +X DEN_A/G 13 -800 -300 200 R 50 50 1 1 I +X VDD 23 400 900 200 D 50 50 1 1 W +X RES 14 800 -100 200 L 50 50 1 1 B +X C1 24 -800 -600 200 R 50 50 1 1 B +X RES 15 800 -200 200 L 50 50 1 1 B +X RES 16 800 -300 200 L 50 50 1 1 B +X RES 17 800 -400 200 L 50 50 1 1 B +X RES 18 800 -500 200 L 50 50 1 1 B +X GND 19 -100 -900 200 U 50 50 1 1 W +ENDDRAW +ENDDEF +# # MAX31855 # DEF MAX31855 U 0 40 Y Y 1 F N @@ -1113,7 +1152,7 @@ ENDDEF # # MP45DT02 # -DEF MP45DT02 IC 0 40 Y Y 1 F N +DEF MP45DT02 U 0 40 Y Y 1 F N F0 "U" -300 350 50 H V L CNN F1 "MP45DT02" -300 250 50 H V L CNN F2 "HLGA-6" -300 -250 50 H I L CIN From fe96064bf71108dfe8dd0d2a3564133bd43f3a7f Mon Sep 17 00:00:00 2001 From: jeromebeguin Date: Wed, 1 Feb 2017 10:31:12 +0100 Subject: [PATCH 2/5] adding LM73 & correction on LSM9DS1 --- library/sensors.dcm | 14 +++++++- library/sensors.lib | 80 +++++++++++++++++++++++++++++++-------------- 2 files changed, 69 insertions(+), 25 deletions(-) diff --git a/library/sensors.dcm b/library/sensors.dcm index 62c6f646..5505c36d 100644 --- a/library/sensors.dcm +++ b/library/sensors.dcm @@ -324,6 +324,18 @@ K temperature sensor thermistor F http://www.ti.com/lit/ds/symlink/lm35.pdf $ENDCMP # +$CMP LM73 +D 11 to 14 Bit digital temperature sensor with 2 wire interface +K digital temperature sensor +F http://www.ti.com/lit/ds/symlink/lm73.pdf +$ENDCMP +# +$CMP LM73-1 +D 11 to 14 Bit digital temperature sensor with 2 wire interface +K digital temperature sensor +F http://www.ti.com/lit/ds/symlink/lm73.pdf +$ENDCMP +# $CMP LMT84DCK D Analog temperature sensor, NTC, 0.4C accuracy, -5.5mV/C, -50C to +150C, 1.5 to 5.5V, SC-70-5 package K temperature sensor thermistor ntc @@ -361,7 +373,7 @@ F http://www.st.com/web/en/resource/technical/document/datasheet/DM00027543.pdf $ENDCMP # $CMP LSM9DS1 -D I2C, SPI 9 axis IMU +D I2C SPI 9 axis IMU accelerometer gyroscope magnetometer K I2C SPI IMU accelerometer gyroscope magnetometer F http://www.st.com/content/ccc/resource/technical/document/datasheet/1e/3f/2a/d6/25/eb/48/46/DM00103319.pdf/files/DM00103319.pdf/jcr:content/translations/en.DM00103319.pdf $ENDCMP diff --git a/library/sensors.lib b/library/sensors.lib index d11a57a4..0958df1c 100644 --- a/library/sensors.lib +++ b/library/sensors.lib @@ -737,6 +737,38 @@ X Vout 3 400 0 100 L 50 50 1 1 O ENDDRAW ENDDEF # +# LM73 +# +DEF LM73 U 0 40 Y Y 1 F N +F0 "U" -500 450 50 H V L CNN +F1 "LM73" -500 350 50 H V L CNN +F2 "TO_SOT_Packages_SMD:SOT-23-6" 450 350 50 H I L CNN +F3 "" -400 450 50 H I C CNN +ALIAS LM73-1 +$FPLIST + SOT-23* +$ENDFPLIST +DRAW +A 145 125 25 1 1799 0 1 10 N 170 125 120 125 +C 145 -100 50 0 1 10 F +S -500 300 500 -300 0 1 10 f +S 170 -75 120 0 0 1 10 F +P 2 0 1 10 120 25 145 25 N +P 2 0 1 10 120 50 145 50 N +P 2 0 1 10 120 75 145 75 N +P 2 0 1 10 120 100 145 100 N +P 2 0 1 10 120 125 120 0 N +P 2 0 1 10 120 125 145 125 N +P 2 0 1 10 170 125 170 0 N +X ADDR 1 600 100 100 L 50 50 1 1 I +X GND 2 0 -400 100 U 50 50 1 1 W +X VCC 3 0 400 100 D 50 50 1 1 W +X SMBCLK 4 -600 -100 100 R 50 50 1 1 I +X ~ALERT 5 600 -100 100 L 50 50 1 1 O +X SMBDAT 6 -600 100 100 R 50 50 1 1 B +ENDDRAW +ENDDEF +# # LMT84DCK # DEF LMT84DCK U 0 30 Y Y 1 F N @@ -929,30 +961,30 @@ $FPLIST $ENDFPLIST DRAW S -600 700 600 -700 0 1 10 f -X VDDIO 1 0 900 200 D 50 50 1 1 W -X SCL/SPC 2 -800 400 200 R 50 50 1 1 I -X VDDIO 3 100 900 200 D 50 50 1 1 W -X SDA/SDI/SDO 4 -800 300 200 R 50 50 1 1 B -X SDO_A/G 5 -800 0 200 R 50 50 1 1 O -X SDO_M 6 800 300 200 L 50 50 1 1 O -X CS_A/G 7 -800 100 200 R 50 50 1 1 I -X CS_M 8 800 400 200 L 50 50 1 1 I -X DRDY_M 9 800 200 200 L 50 50 1 1 O -X INT_M 10 800 100 200 L 50 50 1 1 O -X GND 20 100 -900 200 U 50 50 1 1 W -X INT1_A/G 11 -800 -100 200 R 50 50 1 1 O -X CAP 21 -800 -500 200 R 50 50 1 1 B -X INT2_A/G 12 -800 -200 200 R 50 50 1 1 O -X VDD 22 300 900 200 D 50 50 1 1 W -X DEN_A/G 13 -800 -300 200 R 50 50 1 1 I -X VDD 23 400 900 200 D 50 50 1 1 W -X RES 14 800 -100 200 L 50 50 1 1 B -X C1 24 -800 -600 200 R 50 50 1 1 B -X RES 15 800 -200 200 L 50 50 1 1 B -X RES 16 800 -300 200 L 50 50 1 1 B -X RES 17 800 -400 200 L 50 50 1 1 B -X RES 18 800 -500 200 L 50 50 1 1 B -X GND 19 -100 -900 200 U 50 50 1 1 W +X VDDIO 1 0 800 100 D 50 50 1 1 W +X SCL/SPC 2 -700 400 100 R 50 50 1 1 I +X VDDIO 3 100 800 100 D 50 50 1 1 W +X SDA/SDI/SDO 4 -700 300 100 R 50 50 1 1 B +X SDO_A/G 5 -700 0 100 R 50 50 1 1 O +X SDO_M 6 700 300 100 L 50 50 1 1 O +X CS_A/G 7 -700 100 100 R 50 50 1 1 I +X CS_M 8 700 400 100 L 50 50 1 1 I +X DRDY_M 9 700 200 100 L 50 50 1 1 O +X INT_M 10 700 100 100 L 50 50 1 1 O +X GND 20 100 -800 100 U 50 50 1 1 W +X INT1_A/G 11 -700 -100 100 R 50 50 1 1 O +X CAP 21 -700 -500 100 R 50 50 1 1 P +X INT2_A/G 12 -700 -200 100 R 50 50 1 1 O +X VDD 22 300 800 100 D 50 50 1 1 W +X DEN_A/G 13 -700 -300 100 R 50 50 1 1 I +X VDD 23 400 800 100 D 50 50 1 1 W +X RES 14 700 -100 100 L 50 50 1 1 B +X C1 24 -700 -600 100 R 50 50 1 1 P +X RES 15 700 -200 100 L 50 50 1 1 B +X RES 16 700 -300 100 L 50 50 1 1 B +X RES 17 700 -400 100 L 50 50 1 1 B +X RES 18 700 -500 100 L 50 50 1 1 B +X GND 19 -100 -800 100 U 50 50 1 1 W ENDDRAW ENDDEF # From 6c66e1984016aa796de47f79dc6e2e48c4793009 Mon Sep 17 00:00:00 2001 From: jeromebeguin Date: Thu, 2 Feb 2017 09:28:18 +0100 Subject: [PATCH 3/5] correction on LM73 & LSM9DS1 --- library/sensors.dcm | 2 +- library/sensors.lib | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/library/sensors.dcm b/library/sensors.dcm index 5505c36d..3fd4822a 100644 --- a/library/sensors.dcm +++ b/library/sensors.dcm @@ -325,7 +325,7 @@ F http://www.ti.com/lit/ds/symlink/lm35.pdf $ENDCMP # $CMP LM73 -D 11 to 14 Bit digital temperature sensor with 2 wire interface +D 11 to 14 Bit digital temperature sensor with 2 wire interface SOT23-6 K digital temperature sensor F http://www.ti.com/lit/ds/symlink/lm73.pdf $ENDCMP diff --git a/library/sensors.lib b/library/sensors.lib index 0958df1c..1884ac8b 100644 --- a/library/sensors.lib +++ b/library/sensors.lib @@ -957,7 +957,7 @@ F1 "LSM9DS1" -600 750 50 H V L CNN F2 "" 0 100 50 H I C CNN F3 "" 0 100 50 H I C CNN $FPLIST - LGA* + LGA*3x3.5mm*Pitch0.43mm* $ENDFPLIST DRAW S -600 700 600 -700 0 1 10 f From 9c85bcb48e2e439d5cf4c250663f83a34eb5c3dc Mon Sep 17 00:00:00 2001 From: jeromebeguin Date: Fri, 3 Feb 2017 10:04:30 +0100 Subject: [PATCH 4/5] Description modification on LM73 --- library/sensors.dcm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/sensors.dcm b/library/sensors.dcm index 3fd4822a..8a9a31c8 100644 --- a/library/sensors.dcm +++ b/library/sensors.dcm @@ -325,13 +325,13 @@ F http://www.ti.com/lit/ds/symlink/lm35.pdf $ENDCMP # $CMP LM73 -D 11 to 14 Bit digital temperature sensor with 2 wire interface SOT23-6 +D 11 to 14 Bit digital temperature sensor with 2 wire interface, SOT23-6 K digital temperature sensor F http://www.ti.com/lit/ds/symlink/lm73.pdf $ENDCMP # $CMP LM73-1 -D 11 to 14 Bit digital temperature sensor with 2 wire interface +D 11 to 14 Bit digital temperature sensor with 2 wire interface, SOT23-6 K digital temperature sensor F http://www.ti.com/lit/ds/symlink/lm73.pdf $ENDCMP From eeb3f42b5039c190ffce8e60a3d2a010232773e5 Mon Sep 17 00:00:00 2001 From: jeromebeguin Date: Mon, 6 Feb 2017 10:02:49 +0100 Subject: [PATCH 5/5] footprint reference for LSM9DS1 --- library/sensors.lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sensors.lib b/library/sensors.lib index 1884ac8b..f4ec4865 100644 --- a/library/sensors.lib +++ b/library/sensors.lib @@ -954,7 +954,7 @@ ENDDEF DEF LSM9DS1 U 0 40 Y Y 1 F N F0 "U" -600 850 50 H V L CNN F1 "LSM9DS1" -600 750 50 H V L CNN -F2 "" 0 100 50 H I C CNN +F2 "Housings_LGA:LGA-24L_3x3.5mm_Pitch0.43mm" 1500 750 50 H I C CNN F3 "" 0 100 50 H I C CNN $FPLIST LGA*3x3.5mm*Pitch0.43mm*