Skip to content

Commit

Permalink
add HM-MOD-UART footprint
Browse files Browse the repository at this point in the history
  • Loading branch information
stan23 committed Nov 14, 2019
1 parent 86b4114 commit 44a2dd7
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 0 deletions.
20 changes: 20 additions & 0 deletions libraries/myRadioModules.lib
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,24 @@ X ANT 9 550 0 200 L 50 50 1 1 I
ENDDRAW
ENDDEF
#
# HM-MOD-UART
#
DEF HM-MOD-UART U 0 40 Y Y 1 F N
F0 "U" -250 550 60 H V C CNN
F1 "HM-MOD-UART" 0 -550 60 H V C CNN
F2 "" -150 550 60 H I C CNN
F3 "" -150 550 60 H I C CNN
DRAW
S -300 500 300 -500 0 1 10 f
X VCC 1 -500 400 200 R 50 50 1 1 W
X Shield 10 500 -100 200 L 50 50 1 1 P
X GND 2 -500 -400 200 R 50 50 1 1 W
X C2D 3 -500 200 200 R 50 50 1 1 P
X C2CK 4 -500 100 200 R 50 50 1 1 P
X TX 5 -500 -50 200 R 50 50 1 1 O
X RX 6 -500 -150 200 R 50 50 1 1 I
X ANT 9 500 100 200 L 50 50 1 1 I
ENDDRAW
ENDDEF
#
#End Library
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
(module HM-MOD-UART_SMD_THT_Antenna (layer F.Cu) (tedit 5DC1B6BC)
(fp_text reference SMD (at 0 -6.5) (layer F.SilkS) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value HM-MOD-UART_SMD_THT_Antenna (at 0 -8.27) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user HM-MOD-UART (at 0 -5.4 180) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -7.5 0) (end -7.5 -22.5) (layer F.SilkS) (width 0.15))
(fp_line (start -7.5 -22.5) (end 7.5 -22.5) (layer F.SilkS) (width 0.15))
(fp_line (start 7.5 -22.5) (end 7.5 0) (layer F.SilkS) (width 0.15))
(fp_line (start 7.5 0) (end -7.5 0) (layer F.SilkS) (width 0.15))
(fp_line (start -7.5 -4) (end 7.5 -4) (layer F.SilkS) (width 0.15))
(fp_line (start -7.5 -23.5) (end -7.5 -24.5) (layer F.SilkS) (width 0.15))
(fp_line (start -7.5 -25.5) (end -7.5 -26.5) (layer F.SilkS) (width 0.15))
(fp_line (start -7.5 -26.5) (end -6.5 -26.5) (layer F.SilkS) (width 0.15))
(fp_line (start -5.5 -26.5) (end -4.5 -26.5) (layer F.SilkS) (width 0.15))
(fp_line (start -3.5 -26.5) (end -2.5 -26.5) (layer F.SilkS) (width 0.15))
(fp_line (start -1.5 -26.5) (end -0.5 -26.5) (layer F.SilkS) (width 0.15))
(fp_line (start 0.5 -26.5) (end 1.5 -26.5) (layer F.SilkS) (width 0.15))
(fp_line (start 2.5 -26.5) (end 3.5 -26.5) (layer F.SilkS) (width 0.15))
(fp_line (start 4.5 -26.5) (end 5.5 -26.5) (layer F.SilkS) (width 0.15))
(fp_line (start 6.5 -26.5) (end 7.5 -26.5) (layer F.SilkS) (width 0.15))
(fp_line (start 7.5 -23.5) (end 7.5 -24.5) (layer F.SilkS) (width 0.15))
(fp_line (start 7.5 -25.5) (end 7.5 -26.5) (layer F.SilkS) (width 0.15))
(pad 1 thru_hole circle (at 5 -2) (size 1.27 1.27) (drill 0.762) (layers *.Cu *.Mask))
(pad 2 thru_hole circle (at 3 -2) (size 1.27 1.27) (drill 0.762) (layers *.Cu *.Mask))
(pad 3 thru_hole circle (at 1 -2) (size 1.27 1.27) (drill 0.762) (layers *.Cu *.Mask))
(pad 4 thru_hole circle (at -1 -2) (size 1.27 1.27) (drill 0.762) (layers *.Cu *.Mask))
(pad 5 thru_hole circle (at -3 -2) (size 1.27 1.27) (drill 0.762) (layers *.Cu *.Mask))
(pad 6 thru_hole oval (at -5 -2) (size 1.27 1.27) (drill 0.762) (layers *.Cu *.Mask))
(pad 1 smd rect (at 5 -2) (size 1.2 5) (layers F.Cu F.Mask))
(pad 2 smd rect (at 3 -2) (size 1.2 5) (layers F.Cu F.Mask))
(pad 3 smd rect (at 1 -2) (size 1.2 5) (layers F.Cu F.Mask))
(pad 4 smd rect (at -1 -2) (size 1.2 5) (layers F.Cu F.Mask))
(pad 5 smd rect (at -3 -2) (size 1.2 5) (layers F.Cu F.Mask))
(pad 6 smd rect (at -5 -2) (size 1.2 5) (layers F.Cu F.Mask))
(pad 9 smd rect (at -2.5 -26.5) (size 1.5 4) (layers F.Cu F.Mask))
(pad 10 smd rect (at -5.5 -26.5) (size 2 4) (layers F.Cu F.Mask))
(pad 10 smd rect (at 5.5 -26.5) (size 2 4) (layers F.Cu F.Mask))
(pad "" np_thru_hole circle (at -2.5 -21.5) (size 2.5 2.5) (drill 2.5) (layers *.Cu *.Mask))
)

0 comments on commit 44a2dd7

Please sign in to comment.