From b389c9e3e1578d0a1d4488521df6112f98bab6d4 Mon Sep 17 00:00:00 2001
From: Krisjanis Rijnieks <krisjanis.rijnieks@gmail.com>
Date: Sat, 21 Oct 2023 18:15:47 +0300
Subject: [PATCH] Fix ADXL343BCCZ

---
 fab.kicad_sym                                 |  4 +-
 .../Sensor_Accelerometer_ADXL343.kicad_mod    | 61 +++++++++++++++++++
 2 files changed, 63 insertions(+), 2 deletions(-)
 create mode 100644 fab.pretty/Sensor_Accelerometer_ADXL343.kicad_mod

diff --git a/fab.kicad_sym b/fab.kicad_sym
index cb63be9..f86f005 100644
--- a/fab.kicad_sym
+++ b/fab.kicad_sym
@@ -12867,13 +12867,13 @@
     (property "Value" "Sensor_Accelerometer_ADXL343" (at -7.62 -11.43 0)
       (effects (font (size 1.27 1.27)))
     )
-    (property "Footprint" "fab:LGA-14_3x5mm" (at 0 0 0)
+    (property "Footprint" "fab:Sensor_Accelerometer_ADXL343" (at 0 0 0)
       (effects (font (size 1.27 1.27)) hide)
     )
     (property "Datasheet" "https://www.analog.com/media/en/technical-documentation/data-sheets/ADXL343.pdf" (at 0 0 0)
       (effects (font (size 1.27 1.27)) hide)
     )
-    (property "ki_keywords" "3-axis accelerometer i2c spi mems" (at 0 0 0)
+    (property "ki_keywords" "3-axis accelerometer i2c spi mems ADXL343BCCZ" (at 0 0 0)
       (effects (font (size 1.27 1.27)) hide)
     )
     (property "ki_description" "3-Axis MEMS Accelerometer, 2/4/8/16g range, I2C/SPI, LGA-14" (at 0 0 0)
diff --git a/fab.pretty/Sensor_Accelerometer_ADXL343.kicad_mod b/fab.pretty/Sensor_Accelerometer_ADXL343.kicad_mod
new file mode 100644
index 0000000..a706b50
--- /dev/null
+++ b/fab.pretty/Sensor_Accelerometer_ADXL343.kicad_mod
@@ -0,0 +1,61 @@
+(footprint "Sensor_Accelerometer_ADXL343" (version 20221018) (generator pcbnew)
+  (layer "F.Cu")
+  (attr smd)
+  (fp_text reference "REF**" (at 0 -3.556) (layer "F.SilkS")
+      (effects (font (size 1 1) (thickness 0.15)))
+    (tstamp 3f6cd31b-9750-46d4-b589-e70efedf0473)
+  )
+  (fp_text value "Sensor_Accelerometer_ADXL343" (at 0 3.556) (layer "F.Fab")
+      (effects (font (size 1 1) (thickness 0.15)))
+    (tstamp ca16cf99-3398-46c8-a586-40da0caac2fb)
+  )
+  (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab")
+      (effects (font (size 0.5 0.5) (thickness 0.075)))
+    (tstamp 4c343cd6-5e5e-4629-b77b-7a480d218926)
+  )
+  (fp_line (start -2.4 -2.366) (end -0.88 -2.366)
+    (stroke (width 0.1) (type solid)) (layer "F.SilkS") (tstamp 9def3db9-fd14-4a5c-84d9-abf10d1f6d00))
+  (fp_line (start -1.6 2.366) (end -0.88 2.366)
+    (stroke (width 0.1) (type solid)) (layer "F.SilkS") (tstamp 9afa6ead-2c02-4402-889a-48441396b7ca))
+  (fp_line (start 0.88 -2.366) (end 1.6 -2.366)
+    (stroke (width 0.1) (type solid)) (layer "F.SilkS") (tstamp b722a680-a435-4155-bab7-89a28dc3f329))
+  (fp_line (start 1.6 2.366) (end 0.88 2.366)
+    (stroke (width 0.1) (type solid)) (layer "F.SilkS") (tstamp 9bc469eb-449d-4fbc-a991-ea901723f21e))
+  (fp_line (start -1.85 -2.54) (end 1.85 -2.54)
+    (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp e9a3fbe3-b7f9-4575-8f0c-1a8c7a1424a3))
+  (fp_line (start -1.85 2.54) (end -1.85 -2.54)
+    (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 32199239-a09c-4a5f-ba63-5364e2259f86))
+  (fp_line (start 1.85 -2.54) (end 1.85 2.54)
+    (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 276d06fb-84fa-425b-b4ed-ad5af5f02568))
+  (fp_line (start 1.85 2.54) (end -1.85 2.54)
+    (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 9ea110a4-5065-4170-9cf4-28b475ff908a))
+  (fp_line (start -1.524 2.54) (end -1.524 -1.524)
+    (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp b667fd56-2c2e-4b17-bc41-bc33bca72461))
+  (fp_line (start -0.774 -2.54) (end -1.524 -1.524)
+    (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 910e0b4d-2b43-4c2f-98a9-2c87588e7e5f))
+  (fp_line (start -0.75 -2.54) (end 1.5 -2.54)
+    (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 91261319-fa4b-49e9-8e45-ec3f880e1f7e))
+  (fp_line (start 1.5 -2.54) (end 1.5 2.54)
+    (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 02a43d77-a9d9-48ef-89d7-083ee2e004c9))
+  (fp_line (start 1.5 2.54) (end -1.5 2.54)
+    (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 4c5b2d7d-9d1f-45f8-b13c-d9766e91940c))
+  (pad "1" smd rect (at -1.15 -2) (size 1.2 0.5) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 06bf94b7-c89a-402c-ae86-373af7f1d051))
+  (pad "2" smd rect (at -1.15 -1.2) (size 1.2 0.5) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp d8c91ec4-a7fd-47c8-a8c5-01b214cbcf7d))
+  (pad "3" smd rect (at -1.15 -0.4) (size 1.2 0.5) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 947fd883-8052-49dd-92ee-f00be9d6e326))
+  (pad "4" smd rect (at -1.15 0.4) (size 1.2 0.5) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp d5f8f3d6-441b-4a0c-9950-45d8384d3055))
+  (pad "5" smd rect (at -1.15 1.2) (size 1.2 0.5) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 30e20e67-8dfc-444f-b8d4-a24e61f8b4dc))
+  (pad "6" smd rect (at -1.15 2) (size 1.2 0.5) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 5f7156b4-7750-4698-b2e3-e6f0db0a9561))
+  (pad "7" smd rect (at 0 2.032) (size 0.5 1.2) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 5285e018-8b6d-4509-b27f-74376053cddd))
+  (pad "8" smd rect (at 1.15 2) (size 1.2 0.5) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp d0650660-0458-4464-b5d8-0c43cf39790c))
+  (pad "9" smd rect (at 1.15 1.2) (size 1.2 0.5) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp d2217774-3d0a-458e-8e3d-956fb5213448))
+  (pad "10" smd rect (at 1.15 0.4) (size 1.2 0.5) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp baa1c642-ac4a-4ffc-8c09-ca6a6dbb8139))
+  (pad "11" smd rect (at 1.15 -0.4) (size 1.2 0.5) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 1cedf8bf-55ef-457f-9f4d-746d5bb8cdf8))
+  (pad "12" smd rect (at 1.15 -1.2) (size 1.2 0.5) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 0b5944aa-3811-418d-a69b-b6bdbb5cd49c))
+  (pad "13" smd rect (at 1.15 -2) (size 1.2 0.5) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp d5e1ac97-9fa5-4012-9ebb-572f539af753))
+  (pad "14" smd rect (at 0 -2.032) (size 0.5 1.2) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp db1230f9-6aa1-4ffe-9655-882a407b30ee))
+  (model "${KISYS3DMOD}/Housings_LGA.3dshapes/Bosch_LGA-14_3x2.5mm_Pitch0.5mm.wrl"
+    (offset (xyz 0 0 0))
+    (scale (xyz 1 1 1))
+    (rotate (xyz 0 0 0))
+  )
+)
-- 
GitLab