Skip to content

Commit

Permalink
Merge pull request #640 from ohmtech-rdi/rogan-3s
Browse files Browse the repository at this point in the history
Add rogan 3s knob support
  • Loading branch information
ohmtech-rdi authored Dec 19, 2023
2 parents 6cf10ae + 9fa7d9f commit 8c90846
Show file tree
Hide file tree
Showing 10 changed files with 882 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build-system/erbui/generators/front_pcb/DiyManual.erbui
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@ manufacturer DiyManual {
class "erb::BournsPec11R <erb::Rogan2SBlack>"
}

control Encoder {
style rogan.3s, rogan, 3s, large, skirt, d_shaft
parts bourns.pec11r.manual, rogan.3s
class "erb::BournsPec11R <erb::Rogan3S>"
}

control Led {
style led.3mm.red, 3mm, red
parts led.3mm.red.manual
Expand Down
6 changes: 6 additions & 0 deletions build-system/erbui/generators/front_pcb/DiyWire.erbui
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ manufacturer DiyWire {
class "erb::BournsPec11R <erb::Rogan2SBlack>"
}

control Encoder {
style rogan.3s, rogan, 3s, large, skirt, d_shaft
parts bourns.pec11r.wire, rogan.3s
class "erb::BournsPec11R <erb::Rogan3S>"
}

control Led {
style led.3mm.red, 3mm, red
parts led.3mm.red.wire
Expand Down
3 changes: 3 additions & 0 deletions build-system/erbui/generators/front_pcb/rogan.3s/fp-lib-table
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(fp_lib_table
(lib (name Empty)(type KiCad)(uri ${KIPRJMOD}/../../../../../submodules/kicad-libs/footprints/Empty.pretty)(options "")(descr ""))
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
(kicad_pcb (version 20211014) (generator pcbnew)

(general
(thickness 1.6)
)

(paper "A4")
(layers
(0 "F.Cu" signal)
(31 "B.Cu" signal)
(32 "B.Adhes" user "B.Adhesive")
(33 "F.Adhes" user "F.Adhesive")
(34 "B.Paste" user)
(35 "F.Paste" user)
(36 "B.SilkS" user "B.Silkscreen")
(37 "F.SilkS" user "F.Silkscreen")
(38 "B.Mask" user)
(39 "F.Mask" user)
(40 "Dwgs.User" user "User.Drawings")
(41 "Cmts.User" user "User.Comments")
(42 "Eco1.User" user "User.Eco1")
(43 "Eco2.User" user "User.Eco2")
(44 "Edge.Cuts" user)
(45 "Margin" user)
(46 "B.CrtYd" user "B.Courtyard")
(47 "F.CrtYd" user "F.Courtyard")
(48 "B.Fab" user)
(49 "F.Fab" user)
)

(setup
(pad_to_mask_clearance 0.2)
(pcbplotparams
(layerselection 0x00010fc_ffffffff)
(disableapertmacros false)
(usegerberextensions false)
(usegerberattributes false)
(usegerberadvancedattributes false)
(creategerberjobfile false)
(svguseinch false)
(svgprecision 6)
(excludeedgelayer true)
(plotframeref false)
(viasonmask false)
(mode 1)
(useauxorigin false)
(hpglpennumber 1)
(hpglpenspeed 20)
(hpglpendiameter 15.000000)
(dxfpolygonmode true)
(dxfimperialunits true)
(dxfusepcbnewfont true)
(psnegative false)
(psa4output false)
(plotreference true)
(plotvalue true)
(plotinvisibletext false)
(sketchpadsonfab false)
(subtractmaskfromsilk false)
(outputformat 1)
(mirror false)
(drillshape 1)
(scaleselection 1)
(outputdirectory "")
)
)

(net 0 "")

(footprint "Empty:Empty" locked (layer "F.Cu")
(tedit 61B34763) (tstamp 00000000-0000-0000-0000-00006266a549)
(at 0 0)
(property "Description" "3S - Large Encoder WHITE (D Shaft) - Rogan PT Plastic Knob")
(property "Device" "Knob")
(property "Dist" "Electro-Smith")
(property "DistLink" "https://www.electro-smith.com/parts/rogans")
(property "Place" "No")
(property "Sheetfile" "rogan.3s.kicad_sch")
(property "Sheetname" "")
(path "/00000000-0000-0000-0000-00005fcae65b")
(attr through_hole)
(fp_text reference "H1" (at -0.02 0.63) (layer "F.SilkS") hide
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 9e779956-f238-4667-9629-11f802430c64)
)
(fp_text value "ROGAN 3S" (at -0.14 -0.55) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp d8d7114d-711d-4cdc-8b8f-e2ef3043ce5f)
)
(fp_circle (center 0 0) (end 9.235 0) (layer "Dwgs.User") (width 0.15) (fill none) (tstamp 640c0447-5afd-4553-a2c2-4ad521945f0a))
)

)
Loading

0 comments on commit 8c90846

Please sign in to comment.