Skip to content

Commit

Permalink
feat: added LSM6DSO as IMU
Browse files Browse the repository at this point in the history
  • Loading branch information
ClemensElflein committed Feb 16, 2023
1 parent 5ff3c74 commit 5377a0a
Show file tree
Hide file tree
Showing 10 changed files with 11,775 additions and 2,219 deletions.
38 changes: 38 additions & 0 deletions Hardware/OpenMowerMainboard/LSM6DSOTR/LGA-14_2.5X3X0.86_.kicad_mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
(module "LGA-14(2.5X3X0.86)" (layer F.Cu)
(descr "LGA-14(2.5x3x0.86)")
(tags "Accelerometer")
(attr smd)
(fp_text reference AC** (at -0.29 -0.006) (layer F.SilkS)
(effects (font (size 1.27 1.27) (thickness 0.254)))
)
(fp_text user %R (at -0.29 -0.006) (layer F.Fab)
(effects (font (size 1.27 1.27) (thickness 0.254)))
)
(fp_text value "LGA-14(2.5X3X0.86)" (at -0.29 -0.006) (layer F.SilkS) hide
(effects (font (size 1.27 1.27) (thickness 0.254)))
)
(fp_line (start -1.5 -1.25) (end 1.5 -1.25) (layer F.Fab) (width 0.2))
(fp_line (start 1.5 -1.25) (end 1.5 1.25) (layer F.Fab) (width 0.2))
(fp_line (start 1.5 1.25) (end -1.5 1.25) (layer F.Fab) (width 0.2))
(fp_line (start -1.5 1.25) (end -1.5 -1.25) (layer F.Fab) (width 0.2))
(fp_circle (center -1.905 -0.98) (end -1.905 -0.953) (layer F.SilkS) (width 0.2))
(pad 1 smd rect (at -1.1625 -0.75 90) (size 0.25 0.475) (layers F.Cu F.Paste F.Mask))
(pad 2 smd rect (at -1.1625 -0.25 90) (size 0.25 0.475) (layers F.Cu F.Paste F.Mask))
(pad 3 smd rect (at -1.1625 0.25 90) (size 0.25 0.475) (layers F.Cu F.Paste F.Mask))
(pad 4 smd rect (at -1.1625 0.75 90) (size 0.25 0.475) (layers F.Cu F.Paste F.Mask))
(pad 5 smd rect (at -0.5 0.9125 0) (size 0.25 0.475) (layers F.Cu F.Paste F.Mask))
(pad 6 smd rect (at 0 0.9125 0) (size 0.25 0.475) (layers F.Cu F.Paste F.Mask))
(pad 7 smd rect (at 0.5 0.9125 0) (size 0.25 0.475) (layers F.Cu F.Paste F.Mask))
(pad 8 smd rect (at 1.1625 0.75 90) (size 0.25 0.475) (layers F.Cu F.Paste F.Mask))
(pad 9 smd rect (at 1.1625 0.25 90) (size 0.25 0.475) (layers F.Cu F.Paste F.Mask))
(pad 10 smd rect (at 1.1625 -0.25 90) (size 0.25 0.475) (layers F.Cu F.Paste F.Mask))
(pad 11 smd rect (at 1.1625 -0.75 90) (size 0.25 0.475) (layers F.Cu F.Paste F.Mask))
(pad 12 smd rect (at 0.5 -0.9125 0) (size 0.25 0.475) (layers F.Cu F.Paste F.Mask))
(pad 13 smd rect (at 0 -0.9125 0) (size 0.25 0.475) (layers F.Cu F.Paste F.Mask))
(pad 14 smd rect (at -0.5 -0.9125 0) (size 0.25 0.475) (layers F.Cu F.Paste F.Mask))
(model LSM6DSOTR.stp
(at (xyz 0 0 0.033858268279729))
(scale (xyz 1 1 1))
(rotate (xyz 90 0 0))
)
)
9 changes: 9 additions & 0 deletions Hardware/OpenMowerMainboard/LSM6DSOTR/LSM6DSOTR.dcm
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
EESchema-DOCLIB Version 2.0
#
$CMP LSM6DSOTR
D IMUs - Inertial Measurement Units iNEMO inertial module: 3D accelerometer and 3D gyroscope
K
F https://www.st.com/resource/en/datasheet/lsm6dso.pdf
$ENDCMP
#
#End Doc Library
35 changes: 35 additions & 0 deletions Hardware/OpenMowerMainboard/LSM6DSOTR/LSM6DSOTR.lib
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
EESchema-LIBRARY Version 2.3
#encoding utf-8
#SamacSys ECAD Model LSM6DSOTR
#/1490857/101608/2.49/14/4/Accelerometer
DEF LSM6DSOTR AC 0 30 Y Y 1 F N
F0 "AC" 1250 600 50 H V L CNN
F1 "LSM6DSOTR" 1250 500 50 H V L CNN
F2 "LGA-14(2.5X3X0.86)" 1250 400 50 H I L CNN
F3 "https://www.st.com/resource/en/datasheet/lsm6dso.pdf" 1250 300 50 H I L CNN
F4 "IMUs - Inertial Measurement Units iNEMO inertial module: 3D accelerometer and 3D gyroscope" 1250 200 50 H I L CNN "Description"
F5 "" 1250 100 50 H I L CNN "Height"
F6 "511-LSM6DSOTR" 1250 0 50 H I L CNN "Mouser Part Number"
F7 "https://www.mouser.co.uk/ProductDetail/STMicroelectronics/LSM6DSOTR?qs=lc2O%252BfHJPVbD197C5c7oNw%3D%3D" 1250 -100 50 H I L CNN "Mouser Price/Stock"
F8 "STMicroelectronics" 1250 -200 50 H I L CNN "Manufacturer_Name"
F9 "LSM6DSOTR" 1250 -300 50 H I L CNN "Manufacturer_Part_Number"
DRAW
X SDO/SA0 1 0 0 200 R 50 50 0 0 P
X SDX 2 0 -100 200 R 50 50 0 0 P
X SCX 3 0 -200 200 R 50 50 0 0 P
X INT1 4 0 -300 200 R 50 50 0 0 P
X VDDIO 5 600 -1000 200 U 50 50 0 0 P
X GND_1 6 700 -1000 200 U 50 50 0 0 P
X GND_2 7 800 -1000 200 U 50 50 0 0 P
X VDD 8 1400 -300 200 L 50 50 0 0 P
X INT2 9 1400 -200 200 L 50 50 0 0 P
X OCS_AUX 10 1400 -100 200 L 50 50 0 0 P
X SDO_AUX 11 1400 0 200 L 50 50 0 0 P
X CS 12 800 600 200 D 50 50 0 0 P
X SCL 13 700 600 200 D 50 50 0 0 P
X SDA 14 600 600 200 D 50 50 0 0 P
P 5 0 1 6 200 400 1200 400 1200 -800 200 -800 200 400 N
ENDDRAW
ENDDEF
#
#End Library
108 changes: 108 additions & 0 deletions Hardware/OpenMowerMainboard/LSM6DSOTR/LSM6DSOTR.mod

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5377a0a

Please sign in to comment.