diff --git a/fab.dcm b/fab.dcm
index d445e6259acc2bed669efe2bc8f4fbe80d617e01..2521f93d220eb464520bd499afa40a887d9eb5e6 100644
--- a/fab.dcm
+++ b/fab.dcm
@@ -169,6 +169,12 @@ K linear regulator ldo fixed positive
 F http://ww1.microchip.com/downloads/en/DeviceDoc/20005785A.pdf
 $ENDCMP
 #
+$CMP Regulator_Linear_ZLDO1117-3.3V
+D 1A Low Dropout regulator, positive, 3.3V fixed output, SOT-223
+K linear regulator ldo fixed positive obsolete
+F http://www.diodes.com/datasheets/AP1117.pdf
+$ENDCMP
+#
 $CMP STEPPER_DRIVER_A4982
 D Bipolar Motor Driver DMOS Logic 24-TSSOP-EP Allegro MicroSystems A4982SLPTR-T
 K bipolar half bridge h-bridge motor driver allegro microsystems
diff --git a/fab.lib b/fab.lib
index badc45514d3120c7125a57728185e472fed5406e..ec0e6e64d17ed8563fef63db8154abebf104c6fe 100644
--- a/fab.lib
+++ b/fab.lib
@@ -2628,6 +2628,24 @@ X OUT 5 300 100 100 L 50 50 1 1 w
 ENDDRAW
 ENDDEF
 #
+# Regulator_Linear_ZLDO1117-3.3V
+#
+DEF Regulator_Linear_ZLDO1117-3.3V U 0 10 Y Y 1 F N
+F0 "U" -150 125 50 H V C CNN
+F1 "Regulator_Linear_ZLDO1117-3.3V" 0 125 50 H V L CNN
+F2 "fab:SOT-223-3_TabPin2" 0 200 50 H I C CNN
+F3 "" 100 -250 50 H I C CNN
+$FPLIST
+ SOT?223*TabPin2*
+$ENDFPLIST
+DRAW
+S -200 -200 200 75 0 1 10 f
+X GND 1 0 -300 100 U 50 50 1 1 W
+X VO 2 300 0 100 L 50 50 1 1 w
+X VI 3 -300 0 100 R 50 50 1 1 W
+ENDDRAW
+ENDDEF
+#
 # SOLDER_JUMPER
 #
 DEF SOLDER_JUMPER M 0 40 N Y 1 L N
diff --git a/fab.pretty/SOT-223-3_TabPin2.kicad_mod b/fab.pretty/SOT-223-3_TabPin2.kicad_mod
new file mode 100644
index 0000000000000000000000000000000000000000..aaa9412e8d0e5255ce61e48acb20a090273c01dd
--- /dev/null
+++ b/fab.pretty/SOT-223-3_TabPin2.kicad_mod
@@ -0,0 +1,36 @@
+(module SOT-223-3_TabPin2 (layer F.Cu) (tedit 58CE4E7E)
+  (descr "module CMS SOT223 4 pins")
+  (tags "CMS SOT")
+  (attr smd)
+  (fp_text reference REF** (at 0 -4.5) (layer F.SilkS)
+    (effects (font (size 1 1) (thickness 0.15)))
+  )
+  (fp_text value SOT-223-3_TabPin2 (at 0 4.5) (layer F.Fab)
+    (effects (font (size 1 1) (thickness 0.15)))
+  )
+  (fp_text user %R (at 0 0 90) (layer F.Fab)
+    (effects (font (size 0.8 0.8) (thickness 0.12)))
+  )
+  (fp_line (start 1.91 3.41) (end 1.91 2.15) (layer F.SilkS) (width 0.12))
+  (fp_line (start 1.91 -3.41) (end 1.91 -2.15) (layer F.SilkS) (width 0.12))
+  (fp_line (start 4.4 -3.6) (end -4.4 -3.6) (layer F.CrtYd) (width 0.05))
+  (fp_line (start 4.4 3.6) (end 4.4 -3.6) (layer F.CrtYd) (width 0.05))
+  (fp_line (start -4.4 3.6) (end 4.4 3.6) (layer F.CrtYd) (width 0.05))
+  (fp_line (start -4.4 -3.6) (end -4.4 3.6) (layer F.CrtYd) (width 0.05))
+  (fp_line (start -1.85 -2.35) (end -0.85 -3.35) (layer F.Fab) (width 0.1))
+  (fp_line (start -1.85 -2.35) (end -1.85 3.35) (layer F.Fab) (width 0.1))
+  (fp_line (start -1.85 3.41) (end 1.91 3.41) (layer F.SilkS) (width 0.12))
+  (fp_line (start -0.85 -3.35) (end 1.85 -3.35) (layer F.Fab) (width 0.1))
+  (fp_line (start -4.1 -3.41) (end 1.91 -3.41) (layer F.SilkS) (width 0.12))
+  (fp_line (start -1.85 3.35) (end 1.85 3.35) (layer F.Fab) (width 0.1))
+  (fp_line (start 1.85 -3.35) (end 1.85 3.35) (layer F.Fab) (width 0.1))
+  (pad 1 smd rect (at -3.15 -2.3) (size 2 1.5) (layers F.Cu F.Paste F.Mask))
+  (pad 3 smd rect (at -3.15 2.3) (size 2 1.5) (layers F.Cu F.Paste F.Mask))
+  (pad 2 smd rect (at -3.15 0) (size 2 1.5) (layers F.Cu F.Paste F.Mask))
+  (pad 2 smd rect (at 3.15 0) (size 2 3.8) (layers F.Cu F.Paste F.Mask))
+  (model ${KISYS3DMOD}/TO_SOT_Packages_SMD.3dshapes/SOT-223.wrl
+    (at (xyz 0 0 0))
+    (scale (xyz 1 1 1))
+    (rotate (xyz 0 0 0))
+  )
+)