2019-06-08 22:10:47 +01:00
//
// NopSCADlib Copyright Chris Palmer 2018
// nop.head@gmail.com
// hydraraptor.blogspot.com
//
// This file is part of NopSCADlib.
//
// NopSCADlib is free software: you can redistribute it and/or modify it under the terms of the
// GNU General Public License as published by the Free Software Foundation, either version 3 of
// the License, or (at your option) any later version.
//
// NopSCADlib is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
// without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License along with NopSCADlib.
// If not, see <https://www.gnu.org/licenses/>.
//
2020-02-17 06:58:09 +00:00
include < microswitches.scad >
2020-02-29 17:52:36 +00:00
include < d_connectors.scad >
2020-04-10 12:39:46 +01:00
include < leds.scad >
2020-04-14 18:09:58 +01:00
include < axials.scad >
2023-02-01 01:31:06 +00:00
include < radials.scad >
2020-04-21 11:02:48 +01:00
include < smds.scad >
2021-01-17 16:29:42 +00:00
include < green_terminals.scad >
2021-09-11 11:15:39 +01:00
include < 7_segments.scad >
include < potentiometers.scad >
2023-10-29 21:56:08 +00:00
include < buttons.scad >
2020-04-10 12:39:46 +01:00
2019-06-08 22:10:47 +01:00
//
// l w t r h l c b h
// e i h a o a o o o
// n d i d l n l m l
// g t c i e d o e
// t h k u u s
// h n s d d r
// e
// s
// s
//
2019-07-04 12:03:38 +01:00
Ethernet = [ "Ethernet" , "Duet Ethernet piggy back" ,
33.8 , 37.5 , 1.6 , 0 , 2.54 , 0 , "#1D39AB" , false , [ [ 27.1 , - 6.3 ] , [ 7.5 , - 2.7 ] , [ 21.3 , - 31.1 ] ] ,
[ [ 10.7 , - 13.1 , 180 , "rj45" ] ,
[ 7.75 , - 36.2 , 0 , "-2p54header" , 6 , 1 ] ,
[ 7.75 , - 26.04 , 0 , "-2p54header" , 6 , 1 ] ,
[ 27.1 , - 6.3 , 0 , "-standoff" , 5 , 4.5 , 12.5 , 2.54 ] ,
[ 7.5 , - 2.70 , 0 , "-standoff" , 5 , 4.5 , 12.5 , 2.54 ] ,
[ 21.3 , - 31.1 , 0 , "-standoff" , 5 , 4.5 , 12.5 , 2.54 ] ,
] ,
[ ] ] ;
DuetE = [ "DuetE" , "Duet 2 Ethernet electronics" ,
123 , 100 , 1.6 , 0 , 4.2 , 0 , "#2140BE" , false , [ [ - 4 , 4 ] , [ - 4 , - 4 ] , [ 4 , - 4 ] , [ 4 , 4 ] ] ,
[ [ 18.5 , - 69.15 , 0 , "pcb" , 5 , Ethernet ] ,
[ 42.9 , - 3.2 , 90 , "molex_hdr" , 4 ] ,
[ 59.8 , - 3.2 , 90 , "molex_hdr" , 4 ] ,
[ 76.2 , - 3.2 , 90 , "molex_hdr" , 4 ] ,
[ 92.6 , - 3.2 , 90 , "molex_hdr" , 4 ] ,
[ 109.9 , - 3.2 , 90 , "molex_hdr" , 4 ] ,
[ 109.9 , - 9.6 , 90 , "molex_hdr" , 4 ] ,
[ 119.7 , - 31 , 0 , "molex_hdr" , 3 ] ,
[ 119.7 , - 88.6 , 0 , "molex_hdr" , 2 ] ,
[ 114.9 , - 75.1 , 0 , "gterm635" , 2 ] ,
[ 114.9 , - 43.5 , 0 , "gterm635" , 2 ] ,
[ 39 , - 97 , - 90 , "molex_hdr" , 4 ] ,
[ 27.9 , - 97 , - 90 , "molex_hdr" , 4 ] ,
[ 83.7 , - 38.7 , - 90 , "molex_hdr" , 3 ] ,
[ 74.3 , - 40.7 , - 90 , "molex_hdr" , 3 ] ,
[ 64.0 , - 40.7 , - 90 , "molex_hdr" , 3 ] ,
[ 54.0 , - 40.7 , - 90 , "molex_hdr" , 3 ] ,
[ 44.1 , - 40.7 , - 90 , "molex_hdr" , 3 ] ,
[ 35.0 , - 40.7 , - 90 , "molex_hdr" , 2 ] ,
[ 28.9 , - 40.7 , - 90 , "molex_hdr" , 2 ] ,
[ 103.0 , - 48.8 , - 90 , "molex_hdr" , 2 ] ,
[ 97.0 , - 48.8 , - 90 , "molex_hdr" , 2 ] ,
[ 90.3 , - 48.8 , - 90 , "molex_hdr" , 2 ] ,
[ 84.1 , - 48.8 , - 90 , "molex_hdr" , 2 ] ,
[ 77.9 , - 48.8 , - 90 , "molex_hdr" , 2 ] ,
[ 105.2 , - 54.9 , 0 , "2p54header" , 2 , 1 ] ,
[ 98.4 , - 54.9 , 0 , "2p54header" , 2 , 1 ] ,
[ 90.2 , - 54.9 , 0 , "2p54header" , 3 , 1 ] ,
[ 61.7 , - 83.1 , 0 , "2p54header" , 5 , 2 ] ,
[ 29.5 , - 3.6 , 90 , "gterm35" , 4 ] ,
[ 45.0 , - 70.8 , 45 , "chip" , 19 , 19 , 1.5 ] ,
[ 34.6 , - 18.8 , 0 , "chip" , 10 , 10 , 2 ] ,
[ 53.2 , - 18.8 , 0 , "chip" , 10 , 10 , 2 ] ,
[ 71.8 , - 18.8 , 0 , "chip" , 10 , 10 , 2 ] ,
[ 90.4 , - 18.8 , 0 , "chip" , 10 , 10 , 2 ] ,
[ 109.9 , - 22.0 , 0 , "chip" , 10 , 10 , 2 ] ,
[ 105.8 , - 86.3 , 0 , "2p54boxhdr" , 5 , 2 ] ,
[ 85.2 , - 86.3 , 0 , "2p54boxhdr" , 5 , 2 ] ,
[ 79.9 , - 95.7 , 180 , "2p54boxhdr" , 25 , 2 ] ,
[ 2.0 , - 47.3 , 180 , "usb_uA" ] ,
[ 8.4 , - 63.3 , 180 , "uSD" , [ 15 , 14.5 , 2 ] ] ,
[ 2.2 , - 9.7 , 0 , "chip" , inch ( 0.03 ) , inch ( 0.06 ) , 1 , "red" ] , // E1 heater
[ 2.2 , - 13.2 , 0 , "chip" , inch ( 0.03 ) , inch ( 0.06 ) , 1 , "red" ] , // E0 heater
[ 2.2 , - 16.7 , 0 , "chip" , inch ( 0.03 ) , inch ( 0.06 ) , 1 , "blue" ] , // Vin
[ 2.2 , - 20.2 , 0 , "chip" , inch ( 0.03 ) , inch ( 0.06 ) , 1 , "red" ] , // 5V
[ 2.2 , - 24.0 , 0 , "chip" , inch ( 0.03 ) , inch ( 0.06 ) , 1 , "green" ] , // 3.3V
[ 1.8 , - 41.8 , 90 , "chip" , inch ( 0.03 ) , inch ( 0.06 ) , 1 , "red" ] , // USB
[ 2.3 , - 53.5 , 0 , "chip" , inch ( 0.03 ) , inch ( 0.06 ) , 1 , "red" ] , // Diag
[ 49.8 , - 2.0 , 90 , "chip" , inch ( 0.03 ) , inch ( 0.06 ) , 1 , "red" ] , // E1 stop
[ 52.9 , - 2.0 , 90 , "chip" , inch ( 0.03 ) , inch ( 0.06 ) , 1 , "red" ] , // E0 stop
[ 68.8 , - 2.4 , 90 , "chip" , inch ( 0.03 ) , inch ( 0.06 ) , 1 , "red" ] , // X stop
[ 85.4 , - 2.4 , 90 , "chip" , inch ( 0.03 ) , inch ( 0.06 ) , 1 , "red" ] , // Y stop
[ 101.6 , - 1.8 , 90 , "chip" , inch ( 0.03 ) , inch ( 0.06 ) , 1 , "red" ] , // Z stop
[ 109.8 , - 58.8 , 0 , "chip" , inch ( 0.03 ) , inch ( 0.06 ) , 1 , "red" ] , // Bed heater
[ 2.3 , - 37.2 , 0 , "chip" , 3.6 , 4.8 , 2.0 , "silver" ] , // Reset switch
2020-06-20 10:17:29 +01:00
[ 0.0 , - 37.2 , 0 , "chip" , 2.0 , 2.6 , 1.4 , grey ( 20 ) ] , // Reset button
2019-07-04 12:03:38 +01:00
] ,
[ ": Micro SD card" , ": Cat 5 patch cable 300mm" ] ] ;
Duex2 = [ "Duex2" , "Duex2 expansion board" ,
123 , 100 , 1.6 , 0 , 4.2 , 0 , "#2140BE" , false , [ [ - 4 , 4 ] , [ - 4 , - 4 ] , [ 4 , - 4 ] , [ 4 , 4 ] ] ,
[ [ 79.8 , - 4.3 , 180 , "2p54boxhdr" , 25 , 2 ] ,
[ 27.8 , - 3.0 , 0 , "2p54header" , 10 , 1 ] ,
[ 45.7 , - 14.7 , 0 , "2p54header" , 3 , 1 ] , // Endstop voltage select
[ 34.8 , - 15.1 , 0 , "2p54header" , 3 , 2 ] , // Fan voltage select
[ 4.8 , - 55.2 , 90 , "2p54header" , 1 , 2 ] , // 12V EN
[ 59.5 , - 30.3 , 0 , "2p54header" , 3 , 1 ] , // 5V Aux select
[ 31.6 , - 41.4 , 0 , "2p54header" , 2 , 5 ] , // SPIO
[ 4.7 , - 11.8 , - 90 , "molex_hdr" , 2 ] , // Fan / LED 8
[ 4.9 , - 23.9 , - 90 , "molex_hdr" , 2 ] , // Fan / LED 7
[ 12.0 , - 23.9 , - 90 , "molex_hdr" , 2 ] , // Fan / LED 6
[ 19.7 , - 23.9 , - 90 , "molex_hdr" , 2 ] , // Fan / LED 5
[ 27.3 , - 23.9 , - 90 , "molex_hdr" , 2 ] , // Fan / LED 4
[ 34.9 , - 23.9 , - 90 , "molex_hdr" , 2 ] , // Fan / LED 3
[ 44.3 , - 23.9 , - 90 , "molex_hdr" , 3 ] , // E6 stop
[ 54.5 , - 23.9 , - 90 , "molex_hdr" , 3 ] , // E5 stop
[ 64.6 , - 23.9 , - 90 , "molex_hdr" , 3 ] , // E4 stop
[ 74.8 , - 23.9 , - 90 , "molex_hdr" , 3 ] , // E3 stop
[ 84.9 , - 23.9 , - 90 , "molex_hdr" , 3 ] , // E2 stop
[ 57.0 , - 46.8 , - 90 , "molex_hdr" , 2 ] , // E6 temp
[ 64.6 , - 46.8 , - 90 , "molex_hdr" , 2 ] , // E5 temp
[ 57.0 , - 36.6 , - 90 , "molex_hdr" , 2 ] , // E4 temp
[ 64.6 , - 36.6 , - 90 , "molex_hdr" , 2 ] , // E3 temp
[ 72.2 , - 36.6 , - 90 , "molex_hdr" , 2 ] , // E2 temp
[ 26.5 , - 58.2 , - 90 , "molex_hdr" , 3 ] , // PWM_5
[ 36.7 , - 58.2 , - 90 , "molex_hdr" , 3 ] , // PWM_4
[ 46.8 , - 58.2 , - 90 , "molex_hdr" , 3 ] , // PWM_3
[ 57.0 , - 58.2 , - 90 , "molex_hdr" , 3 ] , // PWM_2
[ 67.2 , - 58.2 , - 90 , "molex_hdr" , 3 ] , // PWM_1
[ 83.2 , - 18.3 , 90 , "chip" , inch ( 0.03 ) , inch ( 0.06 ) , 1 , "red" ] , // E2 stop
[ 74.5 , - 18.3 , 90 , "chip" , inch ( 0.03 ) , inch ( 0.06 ) , 1 , "red" ] , // E3 stop
[ 63.8 , - 18.7 , 90 , "chip" , inch ( 0.03 ) , inch ( 0.06 ) , 1 , "red" ] , // E4 stop
[ 54.7 , - 18.3 , 90 , "chip" , inch ( 0.03 ) , inch ( 0.06 ) , 1 , "red" ] , // E5 stop
[ 44.3 , - 18.4 , 90 , "chip" , inch ( 0.03 ) , inch ( 0.06 ) , 1 , "red" ] , // E6 stop
[ 112.4 , - 15.5 , 0 , "chip" , inch ( 0.03 ) , inch ( 0.06 ) , 1 , "red" ] , // E2 heat
[ 112.4 , - 22.9 , 0 , "chip" , inch ( 0.03 ) , inch ( 0.06 ) , 1 , "red" ] , // E3 heat
[ 112.4 , - 29.1 , 0 , "chip" , inch ( 0.03 ) , inch ( 0.06 ) , 1 , "red" ] , // E4 heat
[ 112.4 , - 36.1 , 0 , "chip" , inch ( 0.03 ) , inch ( 0.06 ) , 1 , "red" ] , // E5 heat
[ 112.4 , - 43.4 , 0 , "chip" , inch ( 0.03 ) , inch ( 0.06 ) , 1 , "red" ] , // E6 heat
[ 118.6 , - 30.3 , 0 , "gterm35" , 10 ] , // Heaters
[ 114.9 , - 56.5 , 0 , "gterm635" , 2 ] , // VIN
[ 119.6 , - 69.0 , 0 , "molex_hdr" , 2 ] , // 5V AUX in
[ 4.5 , - 49.4 , 90 , "molex_hdr" , 2 ] , // 12V
[ 110.7 , - 81.2 , 0 , "chip" , 10 , 10 , 2 ] ,
[ 86.1 , - 81.2 , 0 , "chip" , 10 , 10 , 2 ] ,
[ 109.9 , - 96.8 , - 90 , "molex_hdr" , 4 ] ,
[ 86.1 , - 96.8 , - 90 , "molex_hdr" , 4 ] ,
] ,
[ ] ] ;
2020-04-08 19:13:06 +01:00
Duex5 = [ "Duex5" , "Duex5 expansion board" ,
2019-07-04 12:03:38 +01:00
123 , 100 , 1.6 , 0 , 4.2 , 0 , "#2140BE" , false , [ [ - 4 , 4 ] , [ - 4 , - 4 ] , [ 4 , - 4 ] , [ 4 , 4 ] ] ,
concat ( Duex2 [ 11 ] , [
[ 61.5 , - 81.2 , 0 , "chip" , 10 , 10 , 2 ] ,
[ 36.9 , - 81.2 , 0 , "chip" , 10 , 10 , 2 ] ,
[ 12.3 , - 81.2 , 0 , "chip" , 10 , 10 , 2 ] ,
[ 61.5 , - 96.4 , - 90 , "molex_hdr" , 4 ] ,
[ 36.9 , - 96.4 , - 90 , "molex_hdr" , 4 ] ,
[ 14.3 , - 96.4 , - 90 , "molex_hdr" , 4 ] ,
] ) ,
2019-06-08 22:10:47 +01:00
[ ] ] ;
2022-01-23 19:47:06 +00:00
BTT_RELAY_V1_2 = [
"BTT_RELAY_V1_2" , "BigTreeTech Relay Module v1.2" ,
80.4 , 36.3 , 1.5 , // size
1 , // corner radius
3 , // mounting hole diameter
5 , // pad around mounting hole
grey ( 25 ) , // color
false , // true if parts should be separate BOM items
[ // hole positions
[ 3 , 3.5 ] , [ - 3 , 3.5 ] , [ 3 , - 3.5 ] , [ - 3 , - 3.5 ]
] ,
[ // components
[ 44.5 , 10.0 , 0 , "block" , 25 , 20 , 15.8 , grey ( 20 ) ] ,
[ 47.5 , - 7.6 , 0 , "block" , 19 , 15.25 , 15.8 , "SkyBlue" ] ,
//[ -14.5, 18.15, 0, "block", 16, 30, 17.0, grey(25) ],
//[ -14.5, 18.15, 0, "block", 15, 25.5, 17.1, "PaleGoldenrod" ],
[ 2.5 , 10.65 , 270 , "jst_xh" , 2 , false , grey ( 20 ) , ] ,
[ 2.5 , 18.15 , 270 , "jst_xh" , 2 , false , grey ( 20 ) , ] ,
[ 2.5 , 25.65 , 270 , "jst_xh" , 2 , false , grey ( 20 ) , ] ,
[ 11.0 , 2.0 , 0 , "2p54header" , 2 , 1 ] ,
[ 23.0 , 2.0 , 0 , "2p54header" , 4 , 1 ] ,
[ 7.9 , - 3.3 , 90 , "2p54header" , 2 , 1 ] ,
[ - 6.5 , 2.45 , 180 , "terminal" , 3 , [ 10 , 1.33 , 13.2 , 16 , 7 , 13 ] ] ,
] ,
[ ] , // accessories
[ ] , // grid
] ;
2021-01-24 10:55:49 +00:00
BTT_SKR_MINI_E3_V2_0 = [
"BTT_SKR_MINI_E3_V2_0" , "BigTreeTech SKR Mini E3 v2.0" ,
100.75 , 70.25 , 1.6 , // size
1 , // corner radius
3 , // mounting hole diameter
5 , // pad around mounting hole
grey ( 30 ) , // color
false , // true if parts should be separate BOM items
[ // hole positions
2021-02-01 19:19:20 +00:00
for ( i = [ [ 0 , 0 ] , [ 62.15 , 0 ] ] )
( i + [ 20.3 , - 2.89 ] ) ,
for ( i = [ [ 0 , - 34.98 ] , [ 31.80 , - 37.63 ] , [ 95.68 , - 64.47 ] ] )
( i + [ 2.535 , - 2.89 ] )
2021-01-24 10:55:49 +00:00
] ,
[ // components
// cpu
[ 55 , 33 , 0 , "chip" , 10 , 10 , 1 , grey ( 15 ) ] ,
// driver chips
2021-02-01 19:19:20 +00:00
for ( x = [ 10.5 , 30.5 , 50.5 , 70.5 ] )
[ x , - 17.5 , 0 , "chip" , 5 , 5 , 1 , grey ( 15 ) ] ,
2021-01-24 10:55:49 +00:00
// mock up heat sinks over the chips
2021-02-01 19:19:20 +00:00
for ( x = [ 10.5 , 30.5 , 50.5 , 70.5 ] )
[ x , - 17.5 , 0 , "block" , 9 , 8.5 , 2 , "DeepSkyBlue" ] ,
for ( x = [ 10.5 , 30.5 , 50.5 , 70.5 ] , y = [ - 4 , - 2 , 0 , 2 , 4 ] )
[ x , - 17.5 + y , 0 , "block" , 9 , 0.75 , 11 , "DeepSkyBlue" ] ,
// heat dissipation for drivers under board
[ 43 , - 17.5 , 0 , "-block" , 85 , 8 , 0.1 , gold ] ,
// heated bed
[ 26 , 16 , 0 , "chip" , 9.5 , 8.5 , 4 , grey ( 15 ) ] ,
[ 27 , 19 , 0 , "-block" , 13 , 14 , 0.1 , gold ] ,
// hotend
[ 37 , 14 , 0 , "chip" , 6 , 6 , 2.5 , grey ( 15 ) ] ,
[ 40 , 16 , 0 , "-block" , 10 , 8 , 0.1 , gold ] ,
// voltage regulator heat dissipation
[ 12 , 28.5 , 0 , "-block" , 11 , 7 , 0.1 , gold ] ,
2021-01-24 10:55:49 +00:00
// terminals
[ 5.25 , 5.3 , 180 , "gterm" , gt_5x17 , 2 , undef , grey ( 20 ) ] ,
[ 18.1 , 5.1 , - 90 , "gterm" , gt_5x17 , 2 , undef , grey ( 20 ) ] ,
[ 29.3 , 5.1 , - 90 , "gterm" , gt_5x17 , 2 , undef , grey ( 20 ) ] ,
[ 40.5 , 5.1 , - 90 , "gterm" , gt_5x11 , 2 , undef , grey ( 20 ) ] ,
// SD and USB
[ - 3 , - ( 22.27 + 29.92 ) / 2 , 0 , "usb_uA" ] ,
[ - 8 , - ( 2.13 + 17.17 ) / 2 , 0 , "uSD" , [ 17.17 - 2.13 , 16 , 2 ] ] ,
// EXP
[ - 4.5 , 17 , - 90 , "2p54boxhdr" , 5 , 2 ] ,
// TFT
[ 66.1 , 21.7 , 0 , "2p54header" , 5 , 1 ] ,
// FAN0
[ 50.25 , 3.8 , 0 , "jst_xh" , 2 , false , grey ( 20 ) ] ,
// FAN1
[ 49.9 , 16.1 , 0 , "jst_xh" , 2 , false , grey ( 20 ) ] ,
// PS-ON
[ 58.1 , 16.1 , 0 , "jst_xh" , 2 , false , grey ( 20 ) ] ,
// PWR-DET
[ 67.5 , 16.0 , 0 , "jst_xh" , 3 , false , grey ( 20 ) ] ,
// E0-STOP
[ 78.2 , 16.0 , 0 , "jst_xh" , 3 , false , grey ( 20 ) ] ,
// Z-PROBE
[ 87.2 , 20.5 , - 90 , "jst_xh" , 5 , false , grey ( 20 ) ] ,
// NEO Pixel
[ 78.2 , 27.1 , 0 , "jst_xh" , 3 , false , grey ( 20 ) ] ,
// end stops
[ 58.60 , 3.8 , 0 , "jst_xh" , 2 , false , grey ( 20 ) ] ,
[ 66.70 , 3.8 , 0 , "jst_xh" , 2 , false , grey ( 20 ) ] ,
[ 74.90 , 3.8 , 0 , "jst_xh" , 2 , false , grey ( 20 ) ] ,
// thermistors
[ 83.00 , 3.8 , 0 , "jst_xh" , 2 , false , grey ( 20 ) ] ,
[ 91.10 , 3.8 , 0 , "jst_xh" , 2 , false , grey ( 20 ) ] ,
// motor connections
[ 10.15 , - 4.2 , 0 , "jst_xh" , 4 , false , grey ( 20 ) ] ,
[ 30.35 , - 4.2 , 0 , "jst_xh" , 4 , false , grey ( 20 ) ] ,
[ 43.90 , - 4.2 , 0 , "jst_xh" , 4 , false , grey ( 20 ) ] ,
[ 57.25 , - 4.2 , 0 , "jst_xh" , 4 , false , grey ( 20 ) ] ,
[ 70.75 , - 4.2 , 0 , "jst_xh" , 4 , false , grey ( 20 ) ] ,
// motor jumpers
[ 20.6 , 44.1 , 0 , "2p54header" , 2 , 1 ] ,
[ 39.6 , 44.2 , 0 , "2p54header" , 2 , 1 ] ,
[ 60.1 , 44.1 , 0 , "2p54header" , 2 , 1 ] ,
[ 80.3 , 44.1 , 0 , "2p54header" , 2 , 1 ] ,
// SWD
[ 43.9 , 39.2 , 0 , "2p54header" , 1 , 5 ] ,
// SPI
[ - 3.1 , 31.9 , 0 , "2p54header" , 2 , 3 ] ,
// PWR-1
[ - 12.8 , 30.3 , 0 , "2p54header" , 3 , 1 ] ,
// VOUT
[ - 14.0 , 34.4 , 0 , "2p54header" , 2 , 2 ] ,
// VIN
[ 17.3 , 19.6 , 0 , "2p54header" , 2 , 2 ] ,
] ,
[ ] // accessories
] ;
2021-02-07 07:51:10 +00:00
BTT_SKR_E3_TURBO = [
"BTT_SKR_E3_TURBO" , "BigTreeTech SKR E3 Turbo" ,
102 , 90.25 , 1.6 , // size
1 , // corner radius
3.5 , // mounting hole diameter
5 , // pad around mounting hole
grey ( 30 ) , // color
false , // true if parts should be separate BOM items
[ // hole positions
for ( i = [ [ 0 , 0 ] , [ 62.15 , 0.25 ] ] )
( i + [ 21.6 , - 13.3 ] ) ,
for ( i = [ [ 0 , - 34.98 ] , [ 31.80 , - 37.62 ] , [ 95.68 , - 64.47 ] ] )
( i + [ 3.75 , - 13.25 ] )
] ,
[ // components
// cpu
[ 62.8 , 42.5 , 0 , "chip" , 14 , 14 , 1 , grey ( 15 ) ] ,
// driver chips
for ( x = [ 8.5 , 27.5 , 43.2 , 58.5 , 74 ] )
[ x , - 20 , 0 , "chip" , 5 , 5 , 1 , grey ( 15 ) ] ,
// mock up heat sinks over the chips
for ( x = [ 8.5 , 27.5 , 43.2 , 58.5 , 74 ] )
[ x , - 20 , 0 , "chip" , 9 , 8.5 , 2 , "DeepSkyBlue" ] ,
for ( x = [ 8.5 , 27.5 , 43.2 , 58.5 , 74 ] , y = [ - 4 , - 2 , 0 , 2 , 4 ] )
[ x , - 20 + y , 0 , "chip" , 9 , 0.75 , 11 , "DeepSkyBlue" ] ,
// heat dissipation for drivers under board
[ 43 , - 21 , 0 , "-block" , 85 , 8 , 0.1 , gold ] ,
// hotend and heated bed
[ 25.5 , 20 , 0 , "chip" , 10 , 8.5 , 4 , grey ( 15 ) ] ,
[ 25.5 , 20 , 0 , "-block" , 11 , 11 , 0.1 , gold ] ,
[ 36.25 , 16.75 , 0 , "chip" , 6.5 , 6 , 2.5 , grey ( 15 ) ] ,
[ 36.25 , 17 , 0 , "-block" , 7.5 , 7.5 , 0.1 , gold ] ,
[ 44.25 , 16.75 , 0 , "chip" , 6.5 , 6 , 2.5 , grey ( 15 ) ] ,
[ 44.25 , 17 , 0 , "-block" , 7.5 , 7.5 , 0.1 , gold ] ,
// voltage regulator
[ 15.1 , 44.2 , 0 , "chip" , 4 , 5 , 2 , grey ( 15 ) ] ,
[ 12.1 , 44.2 , 0 , "-block" , 10 , 10 , 0.1 , gold ] ,
// terminals
[ 5.25 , 5.3 , 180 , "gterm" , gt_5x17 , 2 , undef , grey ( 20 ) ] ,
[ 16.25 , 5.4 , - 90 , "gterm" , gt_5x17 , 2 , undef , grey ( 20 ) ] ,
[ 26.25 , 5.4 , - 90 , "gterm" , gt_5x17 , 2 , undef , grey ( 20 ) ] ,
[ 36.1 , 6.7 , - 90 , "gterm" , gt_5x11 , 2 , undef , "lightgreen" ] ,
[ 45.0 , 6.7 , - 90 , "gterm" , gt_5x11 , 2 , undef , "lightgreen" ] ,
[ - 3 , - ( 32.27 + 39.92 ) / 2 , 0 , "usb_uA" ] ,
[ - 8 , - ( 12.13 + 27.17 ) / 2 , 0 , "uSD" , [ 17.17 - 2.13 , 16 , 2 ] ] ,
[ - 22.2 , 51.6 , 0 , "button_6mm" ] ,
// EXP
[ - 4.45 , 27.2 , - 90 , "2p54boxhdr" , 5 , 2 ] ,
// AUX-2
[ - 3.4 , 42.5 , - 90 , "2p54header" , 4 , 2 ] ,
// TFT
[ 73.7 , 21 , 0 , "2p54header" , 5 , 1 ] ,
// FAN0
[ 52.1 , 15.3 , 180 , "jst_xh" , 2 , false , grey ( 20 ) ] ,
// FAN1
[ 60.1 , 15.3 , 180 , "jst_xh" , 2 , false , grey ( 20 ) ] ,
// PS-ON
[ 67.9 , 15.3 , 180 , "jst_xh" , 2 , false , grey ( 20 ) ] ,
// E0-STOP
[ 77.1 , 15.3 , 180 , "jst_xh" , 3 , false , grey ( 20 ) ] ,
// E1-STOP
[ 87.5 , 15.3 , 180 , "jst_xh" , 3 , false , grey ( 20 ) ] ,
// Z-PROBE
[ 85.05 , 34.6 , 180 , "jst_xh" , 5 , false , grey ( 20 ) ] ,
// NEO Pixel
[ 77 , 26.8 , 180 , "jst_xh" , 3 , false , grey ( 20 ) ] ,
// PWR-DET
[ 87.7 , 26.8 , 180 , "jst_xh" , 3 , false , grey ( 20 ) ] ,
// FAN2
[ 52.1 , 3.8 , 0 , "2p54header" , 1 , 2 ] ,
// end stops and thermistors
for ( x = [ 58.5 : 7.9 : 98.1 ] )
[ x , 3.7 , 180 , "jst_xh" , 2 , false , grey ( 20 ) ] ,
// motor connections
for ( x = [ 7 , 27.1 , 47.3 , 67.5 , 87.9 ] )
[ x , - 3.9 , 0 , "jst_xh" , 4 , false , grey ( 20 ) ] ,
[ 47.3 , - 10.4 , 0 , "jst_xh" , 4 , false , grey ( 20 ) ] , // second Z connector
// motor jumpers
for ( x = [ 9.4 , 26.4 , 42.5 , 58.7 , 75.3 ] )
[ x , - 33.7 , 0 , "2p54header" , 2 , 1 ] ,
// SWD
[ 45.4 , 35.7 , 0 , "2p54header" , 5 , 1 ] ,
// USB power jumber
[ - 12.6 , 40.3 , 0 , "2p54header" , 3 , 1 ] ,
// VOUT
[ - 13.9 , 44.5 , 0 , "2p54header" , 2 , 2 ] ,
// VIN
[ 18.6 , 29.8 , 0 , "2p54header" , 2 , 2 ] ,
] ,
[ ] // accessories
] ;
2021-01-17 16:29:42 +00:00
TMC2130 = [
"TMC2130" , "TMC2130" ,
20 , 14 , 1.6 , // size
0 , 0 , 0 , // corner radius, mounting hole diameter, pad around mounting hole
grey ( 95 ) , // colour
false , // true if parts should be separate BOM items
[ ] , // hole positions
[
[ 10 , 1 , 0 , "-2p54header" , 8 , 1 ] ,
[ 10 , 13 , 0 , "-2p54header" , 8 , 1 ] ,
[ 12 , 7 , 0 , "-chip" , 6 , 4 , 1 , grey ( 20 ) ] ,
// mock up a heat sink
[ 10 , 7 , 0 , "block" , 9 , 8.5 , 2 , "DeepSkyBlue" ] ,
for ( y = [ - 4 , - 2 , 0 , 2 , 4 ] ) [ 10 , 7 + y , 0 , "block" , 9 , 0.75 , 11 , "DeepSkyBlue" ] ,
] ,
[ ]
] ;
BTT_SKR_V1_4_TURBO = [
"BTT_SKR_V1_4_TURBO" , "BigTreeTech SKR v1.4 Turbo" ,
110 , 85 , 1.6 , // size
1 , // corner radius
3 , // mounting hole diameter
4 , // pad around mounting hole
grey ( 30 ) , // colour
false , // true if parts should be separate BOM items
[ // hole positions
[ - 4 , 4 ] , [ - 4 , - 4 ] , [ 4 , - 4 ] , [ 4 , 4 ]
] ,
[ // components
[ ( 29.15 + 31.5 ) / 2 , 8 , - 90 , "usb_B" ] ,
[ ( 46.9 + 51.55 ) / 2 , 7 , - 90 , "uSD" , [ 14 , 14 , 2 ] ] ,
[ 105 , 13 , 0 , "button_6mm" ] ,
[ 58 , 43 , 0 , "chip" , 15 , 15 , 1 , grey ( 20 ) ] ,
// ESP-01 socket
[ 69.8 , 4 , 0 , "2p54socket" , 4 , 2 ] ,
// terminals
[ 5.3 , 13.2 , 180 , "gterm" , gt_5x17 , 2 , undef , grey ( 20 ) ] ,
[ 5.3 , 25.8 , 180 , "gterm" , gt_5x17 , 2 , undef , grey ( 20 ) ] ,
[ 5.3 , 37.2 , 180 , "gterm" , gt_5x11 , 2 , undef , grey ( 20 ) ] ,
[ 5.3 , 47.2 , 180 , "gterm" , gt_5x11 , 2 , undef , grey ( 20 ) ] ,
[ 2.8 , 56.7 , - 90 , "jst_xh" , 2 , false , grey ( 20 ) ] ,
[ 10.9 , 56.7 , 90 , "jst_xh" , 2 , false , grey ( 20 ) ] ,
[ 82 , 4 , 0 , "jst_xh" , 2 , false , grey ( 20 ) ] ,
[ 90 , 4 , 0 , "jst_xh" , 2 , false , grey ( 20 ) ] ,
[ 98 , 4 , 0 , "jst_xh" , 2 , false , grey ( 20 ) ] ,
[ 87.7 , 29.0 , - 90 , "jst_xh" , 3 , false , grey ( 20 ) ] ,
[ 87.7 , 39.5 , - 90 , "jst_xh" , 3 , false , grey ( 20 ) ] ,
[ 87.7 , 50.1 , - 90 , "jst_xh" , 3 , false , grey ( 20 ) ] ,
[ 95.3 , 29.0 , - 90 , "jst_xh" , 3 , false , grey ( 20 ) ] ,
[ 95.3 , 39.5 , - 90 , "jst_xh" , 3 , false , grey ( 20 ) ] ,
[ 95.3 , 50.1 , - 90 , "jst_xh" , 3 , false , grey ( 20 ) ] ,
[ 85.7 , 18.2 , 180 , "jst_xh" , 3 , false , grey ( 20 ) ] ,
[ 94.9 , 18.2 , 180 , "jst_xh" , 2 , false , grey ( 20 ) ] ,
[ 77.2 , 19.6 , - 90 , "jst_xh" , 3 , false , grey ( 20 ) ] ,
[ 69.8 , 11.0 , 0 , "jst_xh" , 5 , false , grey ( 20 ) ] ,
[ 69.0 , 19.2 , 0 , "2p54header" , 4 , 1 ] ,
[ 57.8 , 18.0 , 0 , "2p54header" , 3 , 2 ] ,
[ 28.0 , 19.7 , 0 , "2p54header" , 2 , 2 ] ,
[ 37.6 , 28.8 , 0 , "2p54header" , 1 , 3 , undef , "red" ] ,
[ 77.8 , 27.5 , 0 , "2p54header" , 2 , 2 ] ,
[ 81.8 , 26.4 , 0 , "2p54header" , 1 , 3 , undef , "red" ] ,
[ 43.8 , 42.8 , 0 , "2p54header" , 1 , 5 ] ,
// EXP1 & EXP2
[ - 6.6 , 29.4 , 90 , "2p54boxhdr" , 5 , 2 ] ,
[ - 6.6 , 50.4 , 90 , "2p54boxhdr" , 5 , 2 ] ,
// motor axes connections
[ 11.2 , - 3.75 , 180 , "jst_xh" , 2 , false , grey ( 20 ) ] ,
[ 21.8 , - 3.75 , 180 , "jst_xh" , 4 , false , grey ( 20 ) ] ,
[ 35.0 , - 3.75 , 180 , "jst_xh" , 4 , false , grey ( 20 ) ] ,
[ 48.2 , - 3.75 , 180 , "jst_xh" , 4 , false , grey ( 20 ) ] ,
[ 61.4 , - 3.75 , 180 , "jst_xh" , 4 , false , grey ( 20 ) ] ,
[ 74.7 , - 3.75 , 180 , "jst_xh" , 4 , false , grey ( 20 ) ] ,
[ 87.9 , - 3.75 , 180 , "jst_xh" , 4 , false , grey ( 20 ) ] ,
[ 98.5 , - 3.75 , 180 , "jst_xh" , 2 , false , grey ( 20 ) ] ,
// stepper drivers
[ 11.5 , 62.5 , 0 , "2p54socket" , 8 , 1 , undef , undef , undef , "red" ] ,
[ 11.5 , 75.2 , 0 , "2p54socket" , 8 , 1 ] ,
[ 2.6 , 66.3 , 90 , "2p54socket" , 2 , 1 , undef , undef , undef , "red" ] ,
[ 11.5 , 68.85 , 0 , "pcb" , 11 , TMC2130 ] ,
[ 33.1 , 62.5 , 0 , "2p54socket" , 8 , 1 , undef , undef , undef , "red" ] ,
[ 33.1 , 75.2 , 0 , "2p54socket" , 8 , 1 ] ,
[ 24.2 , 66.3 , 90 , "2p54socket" , 2 , 1 , undef , undef , undef , "red" ] ,
[ 33.1 , 68.85 , 0 , "pcb" , 11 , TMC2130 ] ,
[ 54.8 , 62.5 , 0 , "2p54socket" , 8 , 1 , undef , undef , undef , "red" ] ,
[ 54.8 , 75.2 , 0 , "2p54socket" , 8 , 1 ] ,
[ 45.9 , 66.3 , 90 , "2p54socket" , 2 , 1 , undef , undef , undef , "red" ] ,
[ 54.8 , 68.85 , 0 , "pcb" , 11 , TMC2130 ] ,
[ 76.4 , 62.5 , 0 , "2p54socket" , 8 , 1 , undef , undef , undef , "red" ] ,
[ 76.4 , 75.2 , 0 , "2p54socket" , 8 , 1 ] ,
[ 67.5 , 66.3 , 90 , "2p54socket" , 2 , 1 , undef , undef , undef , "red" ] ,
[ 76.4 , 68.85 , 0 , "pcb" , 11 , TMC2130 ] ,
[ 98.1 , 62.5 , 0 , "2p54socket" , 8 , 1 , undef , undef , undef , "red" ] ,
[ 98.1 , 75.2 , 0 , "2p54socket" , 8 , 1 ] ,
[ 89.2 , 66.3 , 90 , "2p54socket" , 2 , 1 , undef , undef , undef , "red" ] ,
// closed loop pins
[ 24.4 , 57.5 , 0 , "2p54header" , 6 , 1 ] ,
[ 40.6 , 57.5 , 0 , "2p54header" , 6 , 1 ] ,
[ 56.7 , 57.5 , 0 , "2p54header" , 6 , 1 ] ,
[ 72.9 , 57.5 , 0 , "2p54header" , 6 , 1 ] ,
[ 89.1 , 57.5 , 0 , "2p54header" , 6 , 1 ] ,
] ,
[ ] // accessories
] ;
2019-07-04 12:03:38 +01:00
2019-06-08 22:10:47 +01:00
Melzi = [ "Melzi" , "Melzi electronics" , 203.2 , 49.53 , 1.6 , 3.81 , 3.1 , 6 , "green" , false , [ [ 3.81 , 3.81 ] , [ - 3.81 , 3.81 ] , [ - 3.81 , - 3.81 ] , [ 3.81 , - 3.81 ] ] ,
[ ] ,
[ ": USB A to Mini B lead" , ": Micro SD card" ] ] ;
2023-01-28 13:37:47 -06:00
OPZ2 = [ "OPZ2" , "Orange Pi Zero 2" , 60 , 53 , 1.4 , 1.75 , 3 , 5 , "blue" , false , [ [ 2.5 , 2.5 ] , [ - 2.5 , 2.5 ] , [ - 2.5 , - 2.5 ] , [ 2.5 , - 2.5 ] ] ,
[ [ - 2.54 , 53 / 2 , 90 , "2p54header" , 13 , 2 ] ,
[ - 10 , - 10 - 2.54 * 2 , 0 , "2p54header" , 3 , 1 ] ,
[ 2.54 / 2 , 53 / 2 , 90 , "2p54header" , 13 , 1 ] ,
[ 6 + 16 / 2 , - 10.5 + 1 , 90 , "rj45" ] ,
[ 24 + 9 / 2 , - 3.6 + 1 , 90 , "usb_C" ] ,
[ 37 + 6.5 / 2 , - 8.5 / 2 + 1 , 90 , "micro_hdmi" ] ,
[ - 7 - 5.8 / 2 , - 7 + 1 , 90 , "usb_vAx1" ] ,
[ - 17 , 18 , 0 , "chip" , 13 , 7.5 , 1 ] ,
[ - 17 , 28 , 0 , "chip" , 13 , 7.5 , 1 ] ,
[ 26 , 23 , 0 , "chip" , 12.2 , 14 , 1 ] ,
[ 8.1 + 10.3 / 2 , 3.7 + 10.3 / 2 , 0 , "chip" , 10.3 , 10.3 , 1.8 , "silver" ] ,
[ 10.7 + 14.6 / 2 , 14.7 / 2 , 90 , "-uSD" , [ 14.6 , 14.7 , 2 ] ] ,
] ,
[ ": Micro SD card" ] ,
[ 60 - 2.54 * 1.5 , 53 / 2 - 6 * 2.54 , 2 , 13 ] ] ;
2023-01-23 12:50:00 -06:00
RPI3A = [ "RPI3A" , "Raspberry Pi 3 A+" , 65 , 56 , 1.4 , 3 , 2.75 , 6 , "green" , false , [ [ 3.5 , 3.5 ] , [ 61.5 , 3.5 ] , [ 61.5 , - 3.5 ] , [ 3.5 , - 3.5 ] ] ,
[ [ 32.5 , - 3.5 , 0 , "2p54header" , 20 , 2 ] ,
[ 27 , - 24.6 , 0 , "chip" , 14 , 14 , 1 ] ,
[ 53.5 , 6 , - 90 , "jack" ] ,
[ 32 , 4.4 , - 90 , "hdmi" ] ,
[ - 6.5 , 31.45 , 0 , "usb_Ax1" ] ,
[ 10.6 , 2 , - 90 , "usb_uA" ] ,
[ 3.6 , 28 , 90 , "flex" ] ,
[ 45 , 11.5 , - 90 , "flex" ] ,
[ 7.75 , 28 , 180 , "-uSD" , [ 12 , 11.5 , 1.28 ] ] ,
] ,
[ ": Micro SD card" ] ,
[ 32.5 - 9.5 * 2.54 , 52.5 - 1.27 , 20 , 2 ] ] ;
2019-06-08 22:10:47 +01:00
RPI3 = [ "RPI3" , "Raspberry Pi 3" , 85 , 56 , 1.4 , 3 , 2.75 , 6 , "green" , false , [ [ 3.5 , 3.5 ] , [ 61.5 , 3.5 ] , [ 61.5 , - 3.5 ] , [ 3.5 , - 3.5 ] ] ,
[ [ 32.5 , - 3.5 , 0 , "2p54header" , 20 , 2 ] ,
[ 27 , - 24.6 , 0 , "chip" , 14 , 14 , 1 ] ,
[ 60 , - 22.3 , 0 , "chip" , 9 , 9 , 0.6 ] ,
[ - 8.5 , 10.25 , 0 , "rj45" ] ,
[ - 6.5 , 29 , 0 , "usb_Ax2" ] ,
[ - 6.5 , 47 , 0 , "usb_Ax2" ] ,
[ 53.5 , 6 , - 90 , "jack" ] ,
[ 32 , 4.4 , - 90 , "hdmi" ] ,
[ 10.6 , 2 , - 90 , "usb_uA" ] ,
[ 3.6 , 28 , 90 , "flex" ] ,
[ 45 , 11.5 , - 90 , "flex" ] ,
2019-07-04 12:03:38 +01:00
[ 7.75 , 28 , 180 , "-uSD" , [ 12 , 11.5 , 1.28 ] ] ,
2019-06-08 22:10:47 +01:00
] ,
2019-09-14 23:26:26 +01:00
[ ": Micro SD card" ] ,
[ 32.5 - 9.5 * 2.54 , 52.5 - 1.27 , 20 , 2 ] ] ;
2020-08-01 19:38:22 +01:00
RPI4 = [ "RPI4" , "Raspberry Pi 4" , 85 , 56 , 1.4 , 3 , 2.75 , 6 , "green" , false , [ [ 3.5 , 3.5 ] , [ 61.5 , 3.5 ] , [ 61.5 , - 3.5 ] , [ 3.5 , - 3.5 ] ] , [
[ 32.5 , - 3.5 , 0 , "2p54header" , 20 , 2 ] ,
[ - 6.5 , 9 , 0 , "usb_Ax2" ] ,
[ - 6.5 , 27 , 0 , "usb_Ax2" ] ,
[ - 8.5 , 45.75 , 0 , "rj45" ] ,
[ 4 , 28 , 90 , "flex" ] ,
[ 11.2 , 3.675 - 1.6 , - 90 , "usb_C" ] ,
[ 26 , 2.5 , - 90 , "micro_hdmi" ] ,
[ 39.5 , 2.5 , - 90 , "micro_hdmi" ] ,
[ 46.5 , 11.5 , - 90 , "flex" ] ,
[ 54 , 6 , - 90 , "jack" ] ,
[ 29.25 , 32.5 , 0 , "chip" , 14 , 14 , 2.4 ] ,
[ 60 , - 22.3 , 0 , "chip" , 9 , 9 , 0.6 ] ,
[ 7.75 , 28 , 180 , "-uSD" , [ 12 , 11.5 , 1.28 ] ]
] , [ ": Micro SD card" ] , [ 32.5 - 9.5 * 2.54 , 52.5 - 1.27 , 20 , 2 ]
] ;
2019-09-14 23:26:26 +01:00
RPI0 = [ "RPI0" , "Raspberry Pi Zero" , 65 , 30 , 1.4 , 3 , 2.75 , 6 , "green" , false , [ [ 3.5 , 3.5 ] , [ - 3.5 , 3.5 ] , [ - 3.5 , - 3.5 ] , [ 3.5 , - 3.5 ] ] ,
[ //[32.5, -3.5, 0, "2p54header", 20, 2],
2019-10-22 16:32:26 +01:00
[ 25.5 , 13 , 0 , "chip" , 12 , 12 , 1.2 ] ,
[ 12.4 , 3.4 , - 90 , "mini_hdmi" ] ,
[ 54 , 2 , - 90 , "usb_uA" ] ,
[ 41.4 , 2 , - 90 , "usb_uA" ] ,
2019-11-15 13:28:02 +00:00
[ 7.25 , 16.7 , 180 , "uSD" , [ 12 , 11.5 , 1.4 ] ] ,
2020-06-29 23:01:34 +01:00
[ - 1.3 , 15 , - 90 , "flat_flex" ] ,
2019-09-14 23:26:26 +01:00
] ,
[ ": Micro SD card" ] ,
[ 32.5 - 9.5 * 2.54 , 26.5 - 1.27 , 20 , 2 ] ] ;
2019-06-08 22:10:47 +01:00
2021-08-13 10:05:27 +01:00
RPI_Pico = [
"RPI_Pico" , "Raspberry Pi Pico" ,
51 , 21 , 1.6 , // size
0.5 , // corner radius
2.1 , // mounting hole diameter
0 , // pad around mounting hole, pad is actually 3.8, but unplated
"green" , // colour
false , // true if parts should be separate BOM items
[ // hole positions
[ - 2 , 4.8 ] , [ - 2 , - 4.8 ] , [ 2 , - 4.8 ] , [ 2 , 4.8 ]
] ,
[ // components
[ 1.75 , 21 / 2 , 180 , "usb_uA" ] ,
[ 25 , 21 / 2 , 0 , "chip" , 7 , 7 , 0.8 ] ,
// mock up the reset button
[ 12.75 , 7.5 , 0 , "block" , 4.5 , 3.35 , 2 , "DarkGray" ] ,
[ 12.75 , 7.5 , 0 , "block" , 3 , 2.25 , 2.75 , "LightGray" ] ,
] ,
[ ] , // accessories
[ 1.37 , 1.61 , 20 , 2 , gold , 2.54 , 17.78 ] , // 20x2 grid of holes
] ;
2019-11-15 13:28:02 +00:00
EnviroPlus = [ "EnviroPlus" , "Enviro+" , 65 , 30.6 , 1.6 , 3 , 2.75 , 6 , "white" , false , [ [ 3.5 , 3.8 ] , [ - 3.5 , 3.8 ] , [ - 3.5 , - 3.8 ] , [ 3.5 , - 3.8 ] ] ,
[ [ 32.5 , - 3.8 , 0 , "-2p54socket" , 20 , 2 , false , 5 , true ] ,
[ - 15.5 , 2.5 , 0 , "-chip" , 15 , 5 , 3 , "white" ] ,
[ - 14.25 , 16.25 , 0 , "chip" , 27.5 , 13.5 , 1.5 ]
2019-10-22 16:32:26 +01:00
] ,
[ ] ,
2019-11-15 13:28:02 +00:00
[ 8 , 1.5 , 9 , 1 ] ] ;
2019-10-22 16:32:26 +01:00
2019-07-04 12:03:38 +01:00
ArduinoUno3 = [ "ArduinoUno3" , "Arduino Uno R3" , 68.58 , 53.34 , 1.6 , 0 , 3.3 , 0 , "#2140BE" , false , [ [ 15.24 , 50.8 ] , [ 66.04 , 35.56 ] , [ 66.04 , 7.62 ] , [ 13.97 , 2.54 ] ] ,
2019-06-08 22:10:47 +01:00
[ [ 30.226 , - 2.54 , 0 , "2p54socket" , 10 , 1 ] ,
[ 54.61 , - 2.54 , 0 , "2p54socket" , 8 , 1 ] ,
[ 36.83 , 2.54 , 0 , "2p54socket" , 8 , 1 ] ,
[ 57.15 , 2.54 , 0 , "2p54socket" , 6 , 1 ] ,
[ 64.91 , 27.89 , 0 , "2p54header" , 2 , 3 ] ,
[ 18.796 , - 7.00 , 0 , "2p54header" , 3 , 2 ] ,
[ 6.5 , - 3.5 , 0 , "button_6mm" ] ,
2020-04-13 18:06:09 +01:00
[ 4.7625 , 7.62 , 180 , "barrel_jack" ] ,
[ 1.5875 , 37.78 , 180 , "usb_B" ] ,
[ 46.99 , 17 , 270 , "pdip" , 28 , "ATMEGA328" , true ] ,
2023-02-04 00:09:16 +00:00
[ 18.7 , 25.8 , 0 , "rd_xtal" , HC49_4H ] ,
[ 7.5 , 17.2 , 90 , "smd_sot" , SOT223 ] ,
[ 7.9 , 26.5 , 90 , "smd_sot" , SOT23 ] ,
2023-05-08 19:42:05 +01:00
[ 21.3 , 2.7 , 0 , "smd_diode" , DO214AC ] ,
2023-02-04 00:09:16 +00:00
[ 27.8 , 34.6 , 0 , "smd_led" , LED0805 , "red" ] ,
[ 27.8 , 37 , 0 , "smd_led" , LED0805 , "red" ] ,
[ 27.8 , 42.3 , 0 , "smd_led" , LED0805 , "red" ] ,
[ 58.8 , 37.1 , 0 , "smd_led" , LED0805 , "red" ] ,
2019-06-08 22:10:47 +01:00
] ,
[ ] , [ ] ,
inch ( [
[ - 1.35 , - 1.05 ] ,
[ - 1.35 , 1.05 ] ,
[ 1.19 , 1.05 ] ,
[ 1.25 , 0.99 ] ,
[ 1.25 , 0.54 ] ,
[ 1.35 , 0.44 ] ,
[ 1.35 , - 0.85 ] ,
[ 1.25 , - 0.95 ] ,
[ 1.25 , - 1.05 ] ,
] ) ,
M2p5_pan_screw
] ;
2019-08-21 16:28:32 +01:00
ArduinoLeonardo = [ "ArduinoLeonardo" , "Arduino Leonardo" , 68.58 , 53.34 , 1.6 , 0 , 3.3 , 0 , "#2140BE" , false , [ [ 15.24 , 50.8 ] , [ 66.04 , 35.56 ] , [ 66.04 , 7.62 ] , [ 13.97 , 2.54 ] ] ,
[ [ 30.226 , - 2.54 , 0 , "2p54socket" , 10 , 1 ] ,
[ 54.61 , - 2.54 , 0 , "2p54socket" , 8 , 1 ] ,
[ 36.83 , 2.54 , 0 , "2p54socket" , 8 , 1 ] ,
[ 57.15 , 2.54 , 0 , "2p54socket" , 6 , 1 ] ,
[ 64.91 , 27.89 , 0 , "2p54header" , 2 , 3 ] ,
[ 6.5 , - 3.5 , 0 , "button_6mm" ] ,
[ 4.7625 , 7.62 , 180 , "barrel_jack" ] ,
[ 1.5875 , 38.1 , 180 , "usb_uA" ] ,
] ,
[ ] , [ ] ,
inch ( [
[ - 1.35 , - 1.05 ] ,
[ - 1.35 , 1.05 ] ,
[ 1.19 , 1.05 ] ,
[ 1.25 , 0.99 ] ,
[ 1.25 , 0.54 ] ,
[ 1.35 , 0.44 ] ,
[ 1.35 , - 0.85 ] ,
[ 1.25 , - 0.95 ] ,
[ 1.25 , - 1.05 ] ,
] ) ,
M2p5_pan_screw
] ;
2019-07-04 12:03:38 +01:00
Keyes5p1 = [ "Keyes5p1" , "Keyes5.1 Arduino Uno expansion board" , 68.58 , 53.34 , 1.6 , 0 , 3.3 , 0 , "#2140BE" , false , [ [ 15.24 , 50.8 ] , [ 66.04 , 35.56 ] , [ 66.04 , 7.62 ] , [ 13.97 , 2.54 ] ] ,
2019-06-08 22:10:47 +01:00
[ [ 30.226 , - 2.54 , 0 , "-2p54header" , 10 , 1 ] ,
[ 54.61 , - 2.54 , 0 , "-2p54header" , 8 , 1 ] ,
[ 36.83 , 2.54 , 0 , "-2p54header" , 8 , 1 ] ,
[ 57.15 , 2.54 , 0 , "-2p54header" , 6 , 1 ] ,
] ,
[ ] , [ ] ,
inch ( [
[ - 1.35 , - 1.05 ] ,
[ - 1.35 , 1.05 ] ,
[ 1.19 , 1.05 ] ,
[ 1.25 , 0.99 ] ,
[ 1.25 , 0.54 ] ,
[ 1.35 , 0.44 ] ,
[ 1.35 , - 0.85 ] ,
[ 1.25 , - 0.95 ] ,
[ 1.25 , - 1.05 ] ,
] ) ,
M2p5_pan_screw
] ;
ExtruderPCB = [ "ExtruderPCB" , "Extruder connection PCB" ,
33.02 , 24.13 , 1.6 , 0 , 0 , 0 , "green" , true , [ ] ,
[ [ 3 * 1.27 , 24.13 / 2 , 90 , "D_plug" , DCONN15 ] ,
[ - ( 8.89 + 2.75 * 2.54 ) , 2.5 * 1.27 + 24.13 / 2 , 90 , "molex_hdr" , 3 ] ,
[ - ( 8.89 - 1.5 * 2.54 ) , - 3.5 * 1.27 + 24.13 / 2 , - 90 , "molex_hdr" , 2 ] ,
[ - ( 8.89 - 2.54 ) , 2.5 * 1.27 + 24.13 / 2 , 90 , "term254" , 4 ] ,
[ - ( 8.89 + 2 * 2.54 ) , - 3.5 * 1.27 + 24.13 / 2 , - 90 , "term254" , 4 ] ,
] , [ ] ] ;
PI_IO = [ "PI_IO" , "PI_IO V2" , 35.56 , 25.4 , 1.6 , 0 , 0 , 0 , "green" , true , [ ] ,
[ [ ( 3.015 - 2.7 ) * 25.4 - 3.5 / 2 , ( 4.5 - 3.685 ) * 25.4 , 90 , "term35" , 2 ] ,
[ ( 3.46 - 2.7 ) * 25.4 - 3.5 / 2 , ( 4.5 - 3.69 ) * 25.4 , 90 , "term35" , 2 ] ,
[ ( 3.91 - 2.7 ) * 25.4 - 3.5 / 2 , ( 4.5 - 3.69 ) * 25.4 , 90 , "term35" , 2 ] ,
[ ( 3.4 - 2.7 ) * 25.4 , ( 4.5 - 4.15 ) * 25.4 , 0 , "2p54socket" , 13 , 2 , true ] ,
] , [ ] ] ;
2019-08-18 11:46:33 +01:00
ZC_A0591 = [ "ZC_A0591" , "ZC-A0591 ULN2003 driver PCB" , 35 , 32 , 1.6 , 0 , 2.5 , 0 , "green" , false , [ [ 2.25 , 3.25 ] , [ - 2.25 , 3.25 ] , [ 2.25 , - 3.25 ] , [ - 2.25 , - 3.25 ] ] ,
2020-11-12 23:34:59 +00:00
[ [ 11.725 , 8.3 , - 90 , "jst_xh" , 5 ] ,
2020-04-10 12:39:46 +01:00
[ - 6.5 , 10 , 0 , "2p54header" , 1 , 4 ] ,
2020-04-13 18:06:09 +01:00
[ 20.4 , - 4.5 , 0 , "2p54header" , 4 , 1 ] ,
[ 20.4 , 11 , 180 , "pdip" , 16 , "ULN2803AN" , true ] ,
2020-04-10 12:39:46 +01:00
[ 5.5 , 6 , 0 , "led" , LED3mm , [ 1 , 1 , 1 , 0.5 ] ] ,
[ 5.5 , 10.5 , 0 , "led" , LED3mm , [ 1 , 1 , 1 , 0.5 ] ] ,
[ 5.5 , 15 , 0 , "led" , LED3mm , [ 1 , 1 , 1 , 0.5 ] ] ,
[ 5.5 , 19.5 , 0 , "led" , LED3mm , [ 1 , 1 , 1 , 0.5 ] ] ,
2020-04-14 18:09:58 +01:00
for ( i = [ 0 : 3 ] ) [ 5.5 + inch ( 0.1 ) * i , - 5.5 , - 90 , "ax_res" , res1_8 , 510 , 5 , 5.5 ]
2020-04-10 12:39:46 +01:00
] , [ ] , [ ] , [ ] , M2p5_pan_screw ] ;
2019-08-18 11:46:33 +01:00
2024-04-21 15:40:51 +01:00
MT3608 = [ "MT3608" , "MT3608 boost converter module" , 37 , 17 , 1.2 , 2 , 1.5 , [ 5 , 3 ] , "#2140BE" , false ,
2024-03-14 19:21:52 +02:00
[ [ 3.0725 , 5.095 ] , [ 3.0725 , - 5.095 ] , [ - 3.0725 , 5.095 ] , [ - 3.0725 , - 5.095 ] ] ,
[ [ - 12.05 , - 6.8 , 180 , "trimpot10" ] ,
[ - 24.05 , 13.8 , 90 , "smd_soic" , SOT23_6 , "B628" ] ,
[ - 12.3 , - 14.4 , 0 , "smd_diode" , DO214AC , "SS34" ] ,
[ - 28.5 , 13.2 , 90 , "smd_cap" , CAP1206 , 0.5 ] ,
[ - 20 , 13.2 , 90 , "smd_cap" , CAP1206 , 0.5 ] ,
[ - 24.05 , - 11.8 , 180 , "smd_inductor" , CDRH104 , "220" ] ]
] ;
2020-03-28 10:54:06 +00:00
2024-02-02 20:31:19 +01:00
HW803_1WAY_RELAY = [
"HW803_1WAY_RELAY" , "HW-803 5V 1 way relay module" ,
50 , 26 , 1.6 , // size
2 , // corner radius
3 , // mounting hole diameter
4 , // pad around mounting hole
"red" , // color
false , // true if parts should be separate BOM items
[ // hole positions
[ 3 , 3 ] , [ - 3 , 3 ] , [ 3 , - 3 ] , [ - 3 , - 3 ]
] ,
[ // components
[ 10.5 + 19 / 2 , 26 / 2 , 0 , "block" , 19 , 15 , 15.5 , "SkyBlue" ] ,
[ 50 - 5 , 26 / 2 , 0 , "term35" , 3 ] ,
[ 5 , 26 / 2 , 180 , "term35" , 3 ] ,
[ 34 , 2 , 0 , "2p54header" , 3 , 1 ] ,
] ,
[ ] , // accessories
[ ] , // grid
] ;
2020-03-28 10:54:06 +00:00
TP4056 = [ "TP4056" , "TP4056 Li-lon Battery charger module" , 26.2 , 17.5 , 1.0 , 0 , 1.0 , [ 2.4 , 2.4 ] , "#2140BE" , false ,
[ [ 1.67 , 1.8 ] , [ 1.67 , - 1.8 ] , [ - 1.67 , 1.8 ] , [ - 1.67 , - 1.8 ] , [ - 1.67 , - 4.98 ] , [ - 1.67 , 4.98 ] ] ,
[ [ 2 , 17.5 / 2 , 180 , "usb_uA" ] ,
2020-04-21 11:02:48 +01:00
[ 7 , - 2 , 0 , "smd_led" , LED0805 , "red" ] ,
[ 11 , - 2 , 0 , "smd_led" , LED0805 , "blue" ] ,
2020-03-28 10:54:06 +00:00
] ] ;
2020-04-08 20:53:19 +01:00
WD2002SJ = [ "WD2002SJ" , "WD2002SJ Buck Boost DC-DC converter" , 78 , 47 , 1.6 , 0 , 3.2 , 0 , "#2140BE" , false , [ [ 4 , 4 ] , [ - 4 , 4 ] , [ - 4 , - 4 ] , [ 4 , - 4 ] ] ,
2020-04-20 17:47:37 +01:00
[ [ 39 , - 20.5 , 0 , "-chip" , 63 , 41 , 3.4 , "silver" ] ,
2020-04-08 20:53:19 +01:00
[ - 4 , 12 , 0 , "gterm508" , 2 , [ ] , "blue" ] ,
[ 4 , 12 , 180 , "gterm508" , 2 , [ ] , "blue" ] ,
[ - 25.5 , 3.1 , 0 , "trimpot10" , true ] ,
[ 30.5 , 3.1 , 0 , "trimpot10" , true ] ,
[ 41.5 , 3.1 , 0 , "trimpot10" , true ] ,
2020-04-25 19:39:16 +01:00
[ - 10.4 , 1.4 , 0 , "smd_led" , LED0805 , "blue" ] ,
[ 15.7 , 2.7 , 0 , "smd_led" , LED0805 , "red" ] ,
2020-04-08 20:53:19 +01:00
] ,
[ ] ] ;
2023-01-12 23:00:21 +00:00
MP1584EN = [ "MP1584EN" , "MP1584EN 3A buck converter" , 22 , 17 , 1.25 , 0 , 1 , [ 2 , 2 ] , "green" , false ,
2023-01-24 09:21:58 +00:00
[ [ 1.75 , 1.75 ] , [ - 1.75 , 1.75 ] , [ - 1.75 , 4.4 ] , [ 1.75 , 4.4 ] ] ,
2023-01-12 23:00:21 +00:00
[ [ 1.75 , 8.5 , 90 , "smd_cap" , CAP1206 , 1 ] ,
[ - 1.75 , 8.5 , 90 , "smd_cap" , CAP1206 , 1 ] ,
[ 7.5 , 8.5 , 0 , "smd_soic" , SOIC8 , "WP1584EN" ] ,
[ 3.9 , 8.3 , 90 , "smd_res" , RES0603 , "104" ] ,
[ 3.9 , 11.2 , 90 , "smd_cap" , CAP0603 , 0.5 ] ,
[ 3.9 , 5.4 , 90 , "smd_res" , RES0603 , "822" ] ,
[ 6.2 , 3.5 , 0 , "smd_res" , RES0603 , "104" ] ,
[ 6.2 , 2.1 , 0 , "smd_cap" , CAP0603 , 0.5 ] ,
[ 9.2 , 3.5 , 0 , "smd_res" , RES0603 , "104" ] ,
[ 9.2 , 2.1 , 0 , "smd_res" , RES0603 , "104" ] ,
2023-05-08 19:42:05 +01:00
[ 6.3 , 14.4 , 0 , "smd_diode" , DO214AC , "SS34" ] ,
2023-01-12 23:00:21 +00:00
[ 12.1 , 4.9 , 0 , "smd_cap" , CAP0603 , 0.5 ] ,
[ 15.8 , 4.9 , 0 , "smd_cap" , CAP0603 , 0.5 ] ,
[ 14.5 , 10 , 90 , "smd_inductor" , IND2525 , "4R7" ] ,
[ 14.7 , 1.8 , - 90 , "smd_pot" , TC33X1 , "10K" ] ,
2023-01-24 09:21:58 +00:00
[ 13.9 , - 1.4 , 0 , "text" , 5 , 1.5 , "D-SUN" , "Liberation Mono:style=Bold" ] ,
[ 17.7 , - 1.2 , 0 , "text" , 1.5 , 1.5 , "\u2296" , "MS Gothic:style=Bold" ] ,
[ 17.9 , 1.75 , 0 , "text" , 1.5 , 1.5 , "\u2295" , "MS Gothic:style=Bold" ] ,
] ,
[ ] ,
[ 1.75 , 17 - 4.4 , 2 , 2 , silver , 18.5 , 2.65 ] , // Abuse the grid facility to get the round pads
2020-10-05 10:40:43 +01:00
] ;
2022-01-08 00:10:57 +01:00
PERF80x20 = [ "PERF80x20" , "Perfboard 80 x 20mm" , 80 , 20 , 1.6 , 0 , 2.3 , 0 , "green" , true , [ [ 2 , 2 ] , [ - 2 , 2 ] , [ 2 , - 2 ] , [ - 2 , - 2 ] ] , [ ] , [ ] , [ 5.71 , 3.65 ] ] ;
2019-06-08 22:10:47 +01:00
2022-01-08 00:10:57 +01:00
PERF70x50 = [ "PERF70x50" , "Perfboard 70 x 50mm" , 70 , 50 , 1.6 , 0 , 2.3 , 0 , "green" , true , [ [ 2 , 2 ] , [ - 2 , 2 ] , [ 2 , - 2 ] , [ - 2 , - 2 ] ] , [ ] , [ ] , [ 5.79 , 3.41 ] ] ;
2019-06-08 22:10:47 +01:00
2022-01-08 00:10:57 +01:00
PERF70x30 = [ "PERF70x30" , "Perfboard 70 x 30mm" , 70 , 30 , 1.6 , 0 , 2.3 , 0 , "green" , true , [ [ 2 , 2 ] , [ - 2 , 2 ] , [ 2 , - 2 ] , [ - 2 , - 2 ] ] , [ ] , [ ] , [ 5.79 , 3.57 ] ] ;
2019-06-08 22:10:47 +01:00
2022-01-08 00:10:57 +01:00
PERF60x40 = [ "PERF60x40" , "Perfboard 60 x 40mm" , 60 , 40 , 1.6 , 0 , 2.3 , 0 , "green" , true , [ [ 2 , 2 ] , [ - 2 , 2 ] , [ 2 , - 2 ] , [ - 2 , - 2 ] ] , [ ] , [ ] , [ 5.87 , 3.49 ] ] ;
2019-06-08 22:10:47 +01:00
2021-06-06 17:18:37 +01:00
PERF70x51 = [ "PERF70x51" , "Perfboard 70 x 51mm" , 70 , 51 , 1.0 , 0 , 3.0 , 0 , "sienna" , true , [ [ 3.0 , 5.25 ] , [ - 3.0 , 5.25 ] , [ 3.0 , - 5.25 ] , [ - 3.0 , - 5.25 ] ] , [ ] , [ ] , [ 5.79 , 3.91 ] ] ;
2022-01-11 00:00:16 +01:00
PERF74x51 = [ "PERF74x51" , "Perfboard 74 x 51mm" , 74 , 51 , 1.0 , 0 , 3.0 , 0 , "sienna" , true , [ [ 3.0 , 3.5 ] , [ - 3.0 , 3.5 ] , [ 3.0 , - 3.5 ] , [ - 3.0 , - 3.5 ] ] , [ ] , [ ] , [ 9.5 , 4.5 ] ] ;
2019-06-08 22:10:47 +01:00
PSU12V1A = [ "PSU12V1A" , "PSU 12V 1A" , 67 , 31 , 1.7 , 0 , 3.9 , 0 , "green" , true , [ [ 3.5 , 3.5 ] , [ - 3.5 , 3.5 ] , [ - 3.5 , - 3.5 ] , [ 3.5 , - 3.5 ] ] , [ ] , [ ] ] ;
2020-02-17 06:58:09 +00:00
RAMPSEndstop = [ "RAMPSEndstop" , "RAMPS Endstop Switch" ,
2020-02-25 21:38:53 +00:00
40.0 , 16.0 , 1.6 , 0.5 , 2.54 , 0 , "red" , false ,
2020-02-17 06:58:09 +00:00
[
2020-03-07 22:11:09 +00:00
[ 2 , 2 , false ] , [ 2 , 13.5 , false ] , [ 17 , 13.5 ] , [ 36 , 13.5 ]
2020-02-17 06:58:09 +00:00
] ,
[
2020-11-12 23:34:59 +00:00
[ 11.6 , 8 , - 90 , "jst_xh" , 3 , true , "white" , "silver" ] ,
2020-02-17 06:58:09 +00:00
[ 26.5 , 12.75 , 0 , "microswitch" , small_microswitch ] ,
2020-02-25 21:38:53 +00:00
[ 27.5 , 17.5 , 15 , "chip" , 15 , 0.5 , 4.5 , "silver" ] ,
2020-02-17 06:58:09 +00:00
] ,
[ ] ] ;
2021-01-13 18:52:14 +00:00
ESP_01 = [
2023-11-27 23:46:29 +00:00
"ESP_01" , "ESP-01" ,
2021-01-13 18:52:14 +00:00
24.8 , 14.6 , 1 , // size
2021-01-13 17:22:46 +00:00
0 , // corner radius
0 , // mounting hole diameter
0 , // pad around mounting hole
grey ( 25 ) , // color
false , // true if parts should be separate BOM items
[ ] , // hole positions
[ // components
2021-01-13 18:52:14 +00:00
[ 2.8 , - 7.25 , 0 , "-2p54header" , 2 , 4 ] ,
[ - 14.55 , - 11.3 , 0 , "chip" , 5.25 , 5.25 , 2.25 , grey ( 15 ) ] ,
[ - 14 , - 5.2 , 0 , "chip" , 4.5 , 4.75 , 1.1 , grey ( 15 ) ] ,
2021-01-13 17:22:46 +00:00
// antenna
2021-01-13 18:52:14 +00:00
for ( y = [ 2.8 : 2.3 : 7.4 ] ) [ - 0.7 , - y , 0 , "block" , 0.7 , 1.75 , 0.1 , gold ] ,
for ( y = [ 4 : 2.3 : 10.6 ] ) [ - 4.3 , - y , 0 , "block" , 0.7 , 1.75 , 0.1 , gold ] ,
for ( y = [ 3.4 : 2.3 : 10.1 ] ) [ - 2.5 , - y , 0 , "block" , 4.3 , 0.7 , 0.1 , gold ] ,
for ( y = [ 4.55 : 2.3 : 11.2 ] ) [ - 2.5 , - y , 0 , "block" , 4.3 , 0.7 , 0.1 , gold ] ,
[ - 0.7 , - 10.85 , 0 , "block" , 0.7 , 3.75 , 0.1 , gold ] ,
[ - 6.6 , - 5.8 , 0 , "block" , 0.7 , 7.5 , 0.1 , gold ] ,
[ - 4.8 , - 2.3 , 0 , "block" , 8.8 , 0.7 , 0.1 , gold ] ,
2021-01-13 17:22:46 +00:00
] ,
2023-05-08 19:56:53 +01:00
[ ] , // accessories
[ 2.8 - 1.27 , 3.54 , 2 , 4 , silver , 2.54 , 2.54 ] // grid
2021-01-13 17:22:46 +00:00
] ;
2020-02-25 21:38:53 +00:00
2023-11-27 23:46:29 +00:00
//================================================
// ESP_01M WIFI Module
// by Karl McMurdo (XrXca)
//================================================
ESP_01M = [
"ESP_01M" , "ESP-01M WiFi module (ESP8285)" ,
18 , 18 , 0.8 , // size
0 , // corner radius
0 , // mounting hole diameter
0 , // pad around mounting hole
grey ( 25 ) , // color
false , // true if parts should be separate BOM items
[ ] , // hole positions
[ // components
[ 7.6 , 9 , 0 , "chip" , 8.5 , 16.8 , 2 , "silver" ] ,
// edge connector
for ( y = [ 2.6 : 1.6 : 16 ] ) [ - 16.8 , - y , 0 , "block" , 2.4 , 0.8 , 0.05 , gold ] ,
for ( y = [ 2.6 : 1.6 : 16 ] ) [ - 16.8 , - y , 0 , "-block" , 2.4 , 0.8 , 0.05 , gold ] ,
// antenna
[ - 2.6 , 15.5 , 0 , "block" , 4.7 , 0.5 , 0.05 , gold ] ,
[ - 2.6 , 3.75 , 0 , "block" , 4.7 , 0.5 , 0.05 , gold ] ,
[ - 2.6 , 1.5 , 0 , "block" , 4.7 , 0.7 , 0.05 , gold ] ,
for ( y = [ 5.9 , 8.5 , 10.7 , 13.3 ] ) [ - 1.9 , y , 0 , "block" , 3.3 , 0.5 , 0.05 , gold ] ,
[ - 0.5 , 14.4 , 0 , "block" , 0.5 , 2.7 , 0.05 , gold ] ,
[ - 0.5 , 9.6 , 0 , "block" , 0.5 , 2.7 , 0.05 , gold ] ,
[ - 3.3 , 12 , 0 , "block" , 0.5 , 3.1 , 0.05 , gold ] ,
[ - 3.3 , 7.2 , 0 , "block" , 0.5 , 3.1 , 0.05 , gold ] ,
[ - 0.5 , 3.65 , 0 , "block" , 0.5 , 5 , 0.05 , gold ] ,
// Silkscreen
[ 16.5 , - 14.5 , 270 , "-text" , 5 , 1.2 , "ESP-01M" , "Liberation Sans:style=Bold" ] ,
] ,
[ ] , // accessories
[ ] , //grid
[ [ 9 , - 9 ] , [ 9 , 9 ] , [ - 6 , 9 ] , [ - 6 , 7.4 ] , [ - 8.5 , 7.4 ] , [ - 9 , 6.9 ] , [ - 9 , - 6.9 ] , [ - 8.5 , - 7.4 ] , [ - 6 , - 7.4 ] , [ - 6 , - 9 ] ] // Polygon
] ;
2021-06-07 12:23:29 +01:00
XIAO = [
"XIAO" , "Seeeduino XIAO" ,
21 , 18 , 1.2 , // Size
1.5 , // corner radius
0.8 , // mounting hole diameter
[ 2 , 2.6 , 1 - eps , gold ] , // pad around mounting hole
grey ( 25 ) , // color
false , // true if parts should be separate BOM items
[ for ( x = [ 0 : 6 ] , y = [ - 1 , 1 ] ) [ x * 2.54 + 2.71 , y * 3 * 2.54 + 9 ] , // Inboard hole positions
for ( x = [ 0 : 6 ] , y = [ - 1 , 1 ] ) [ x * 2.54 + 2.71 , y * 9 + 9 ] ] , // Hole positions on the edge, pad overlaps the inboard holes
[ // components
2023-02-01 18:31:33 +00:00
[ 7.6 , 9 , 0 , "block" , 12.3 , 12 , 2.41 , silver , false , 0.3 , 0.3 ] , // can
2021-06-07 12:23:29 +01:00
[ 21 + 1.76 - 7.35 / 2 , 9 , 0 , "usb_C" ] ,
] ,
[ ] // accessories
] ;
2021-06-08 08:09:08 +01:00
LIPO_fuel_gauge = [
"LIPO_fuel_gauge" , "LIPO fuel gauge" ,
24 , 10 , 1.6 , // Size
0 , // corner radius
1 , // mounting hole diameter
1.8 , // pad around mounting hole
"red" , // color
false , // true if parts should be separate BOM items
[ for ( x = [ 0 : 2 ] , y = [ - 1 , 1 ] ) [ x * 2.54 + 5.27 , y * 1.5 * 2.54 + 5 ] ,
for ( x = 3 , y = [ - 1 , 1 ] ) [ x * 2.54 + 5.27 , y * 0.5 * 2.54 + 5 ] ] ,
[ // components
[ 17 , 5 , 90 , "jst_ph" , 2 , true ] ,
[ 2.54 + 5.27 , 1.5 * 2.54 + 5 , 0 , "-2p54joiner" , 3 , 1 ] ,
[ 2.54 + 5.27 , - 1.5 * 2.54 + 5 , 0 , "-2p54joiner" , 3 , 1 ] ,
[ 3 * 2.54 + 5.27 , 5 , 0 , "-2p54joiner" , 1 , 2 ] ,
[ 6.4 + 1.5 , 5 , 0 , "chip" , 3 , 2 , 0.8 ] ,
[ 1.2 , 2.5 , 90 , "smd_res" , RES0603 , "472" ] ,
[ 2.4 , 2.5 , 90 , "smd_res" , RES0603 , "472" ] ,
[ 1.2 , - 2.5 , 90 , "smd_res" , RES0603 , "472" ] ,
[ 2.4 , - 2.5 , 90 , "smd_res" , RES0603 , "472" ] ,
[ 10.35 , - 4 , - 90 , "smd_res" , RES0603 , "181" ] ,
[ 10.35 , 4 , - 90 , "smd_res" , RES0603 , "102" ] ,
[ 12.89 , 1.5 * 2.54 + 5 , 0 , "smd_cap" , CAP0603 , 0.85 ] ,
[ 12.89 , - 1.5 * 2.54 + 5 , 0 , "smd_cap" , CAP0603 , 0.85 ] ,
] ,
[ ] // accessories
] ;
2021-09-11 12:01:04 +01:00
ESP32_DOIT_V1 = let ( l = 51.45 , w = 28.33 , pitch = inch ( 1 ) , pins = 15 , poffset = inch ( 0.05 ) ) [
"ESP32_DOIT_V1" , "ESP32 DOIT DEV KIT V1" ,
l , w , 1.6 , // Size
2 , // corner radius
3 , // mounting hole diameter
0 , // pad around mounting hole
grey ( 20 ) , // color
false , // true if parts should be separate BOM items
[ for ( x = [ - 1 , 1 ] , y = [ - 1 , 1 ] ) [ x * 46.7 / 2 + l / 2 , y * 23.4 / 2 + w / 2 , false ] ] ,
[ // components
[ l / 2 + poffset , w / 2 - pitch / 2 , 0 , "-2p54joiner" , pins , 1 ] ,
[ l / 2 + poffset , w / 2 + pitch / 2 , 0 , "-2p54joiner" , pins , 1 ] ,
[ 1.75 , w / 2 , 180 , "usb_uA" ] ,
2023-02-01 18:31:33 +00:00
[ 35 , w / 2 , 0 , "block" , 17.7 , 16 , 3 , silver , false , 0.3 , 0.3 ] , // can
2021-09-11 12:01:04 +01:00
for ( y = [ - 1 , 1 ] ) [ 3.5 , y * 6.5 , 0 , "chip" , 4 , 3 , 1.6 , silver ] , // Mock button surround
for ( y = [ - 1 , 1 ] ) [ 3.5 , y * 6.5 , 0 , "chip" , 1.8 , 0 , 2.0 , grey ( 20 ) ] , // Mock buttons
for ( y = [ - 1 , 1 ] ) [ 21.6 , y * 9 , 0 , "smd_led" , LED0603 , y < 0 ? "red" : "blue" ] ,
[ 14.8 - 2.5 , 8 , 0 , "chip" , 5 , 5 , 0.8 ] ,
[ l / 2 + poffset + inch ( 0.7 ) , w / 2 + pitch / 2 - 2 , 90 , "smd_cap" , CAP1206 , 1.75 ] ,
] ,
[ ] , // accessories
[ ( l - inch ( pins - 1 ) / 10 ) / 2 + inch ( 0.05 ) , ( w - pitch ) / 2 , pins , 2 , silver , 2.54 , pitch ] , // 15x2 grid of holes
] ;
ArduinoNano = let ( l = 43.18 , w = 17.78 , pitch = inch ( 0.6 ) , pins = 15 , poffset = - 0.05 , led_spacing = [ 1.5 , 1.8 ] ) [
"ArduinoNano" , "Arduino Nano" ,
l , w , 1.6 , // Size
0 , // corner radius
1.85 , // mounting hole diameter
0 , // pad around mounting hole
"#2140BE" , // color
false , // true if parts should be separate BOM items
[ for ( x = [ - 1 , 1 ] , y = [ - 1 , 1 ] ) [ x * 40.64 / 2 + l / 2 , y * 15.24 / 2 + w / 2 ] ] ,
[ // components
[ l / 2 + poffset , w / 2 - pitch / 2 , 0 , "-2p54joiner" , pins , 1 ] ,
[ l / 2 + poffset , w / 2 + pitch / 2 , 0 , "-2p54joiner" , pins , 1 ] ,
2021-09-27 16:36:47 +01:00
[ l / 2 + poffset + inch ( 0.75 ) , w / 2 , 0 , "2p54header" , 2 , 3 , false , undef , false , false ] ,
2022-05-31 17:20:52 +01:00
[ 3.1 , w / 2 , 180 , "usb_miniA" ] ,
2021-09-11 12:01:04 +01:00
[ l / 2 - inch ( 0.25 ) , w / 2 , 45 , "chip" , 7 , 7 , 1.3 ] ,
[ l / 2 + poffset + inch ( 0.15 ) , w / 2 , 0 , "chip" , 3.5 , 6 , 1.8 , silver ] , // mock button
[ l / 2 + poffset + inch ( 0.15 ) , w / 2 , 0 , "chip" , 1.3 , 2.6 , 2.6 , grey ( 90 ) ] , // mock button
for ( y = [ - 1.5 : 1.5 ] ) [ l / 2 + poffset + inch ( 0.4 ) - led_spacing . x , w / 2 + y * led_spacing . y , 0 , "smd_res" , RES0603 , "1K" ] ,
for ( y = [ - 1.5 : 1.5 ] ) [ l / 2 + poffset + inch ( 0.4 ) + led_spacing . x , w / 2 + y * led_spacing . y , 0 , "smd_led" , LED0603 , [ "green" , "red" , "orange" , "orange" ] [ y + 1.5 ] ] ,
] ,
[ ] , // accessories
[ ( l - inch ( pins - 1 ) / 10 ) / 2 + poffset , ( w - pitch ) / 2 , pins , 2 , silver , 2.54 , pitch ] , // 15x2 grid of holes
] ;
2021-10-01 12:32:47 +01:00
KY_040 = [ "KY_040" , "KY-040 rotart encoder breakout" ,
2021-09-11 12:01:04 +01:00
26.3 , 19.5 , 1.6 , 0 , 3 , 0 , grey ( 20 ) , false ,
[
[ 3.23 + 1.5 , 1.3 + 1.5 ] ,
[ 3.23 + 1.5 + 16.775 , 1.3 + 1.5 ]
] ,
[
[ - 3 , 12 , 90 , "2p54header" , 5 , 1 , undef , undef , true ] ,
[ 10.8 , 11.3 , 0 , "potentiometer" , KY_040_encoder ] ,
] ,
[ ] ] ;
2022-08-29 11:04:17 +01:00
L9110S = [ "L9110S" , "L9110S 2-Channel motor driver module" , 29.2 , 23 , 1.6 , 0 , 3 , 0 , "#2140BE" , false , [ [ 10.7 , 2.3 ] , [ 10.7 , - 2.3 ] , [ - 5.3 , 2.3 ] , [ - 5.3 , - 2.3 ] ] ,
[
[ - 1.3 , 11.5 , 0 , "2p54header" , 1 , 6 ] ,
[ 16 , 9.5 , 0 , "smd_led" , LED0805 , "red" ] ,
for ( i = [ - 1 , 1 ] ) [ 4 , 5.5 * i , 180 , "gterm508" , 2 ] ,
2022-08-30 22:18:24 +01:00
for ( i = [ - 1 , 1 ] ) [ 17.38 , 3 * i , 90 , "smd_soic" , SOIC8 , "" ]
2022-08-29 11:04:17 +01:00
] ,
[ ] ] ;
2023-05-08 20:14:18 +01:00
PanelDue_v3 = [ "PanelDue_v3" , "Panel Due v3.0a LCD Display interface" , 53 , 73 , 1.2 , 0 , 3.2 , 0 , "#2140BE" , false , [ [ 5 , 5 ] , [ 5 , - 5 ] , [ 43.7 , 37.2 ] ] ,
[
[ 45.0 , 26.5 , 45 , "buzzer" , 6 , 12 ] ,
[ 32.8 , 36.5 , 90 , "2p54socket" , 20 , 2 ] ,
[ 31.3 , 5.9 , 180 , "molex_hdr" , 4 , 1 ] ,
[ 38.0 , 53.2 , - 90 , "2p54boxhdr" , 5 , 2 , false , true , true ] ,
[ 40.8 , 67.4 , 0 , "button_6mm" ] ,
[ 45.1 , 16.5 , 0 , "button_6mm" ] ,
[ 51.2 , 68.0 , 0 , "usb_uA" ] ,
[ 13.6 , 35.2 , 0 , "smd_qfp" , QFP50P1200X1200X160_64N , "ATSAM4S4BA" ] ,
[ 14.6 , 7.9 , 180 , "smd_sot" , SOT223 ] ,
[ 23.2 , 14 , 0 , "smd_sot" , SOT23 ] ,
[ 31.7 , 65 , 180 , "smd_diode" , DO214AC ] ,
[ 24.9 , 3.8 , 180 , "smd_diode" , DO214AC ] ,
[ 1.9 , 33 , - 90 , "smd_cap" , CAP0603 , 0.5 ] ,
[ 1.9 , 28.9 , 90 , "smd_cap" , CAP0603 , 0.5 ] ,
[ 14.6 , 13.2 , 0 , "smd_cap" , CAP0805 , 0.85 ] ,
[ 20.3 , 57.5 , 90 , "smd_res" , RES0603 ] ,
[ 18.1 , 57.5 , 90 , "smd_res" , RES0603 ] ,
[ 27.6 , 57 , 0 , "smd_res" , RES0603 ] ,
[ 27.3 , 7.2 , 0 , "smd_res" , RES0603 ] ,
[ 27.3 , 9.7 , 0 , "smd_res" , RES0603 ] ,
[ 18.5 , 11.5 , 90 , "smd_cap" , CAP0805 , 0.85 ] ,
[ 32.5 , 71.2 , 180 , "smd_cap" , CAP0603 , 0.5 ] ,
[ 14.1 , 25.1 , 90 , "smd_cap" , CAP0603 , 0.5 ] ,
[ 4.2 , 36.9 , 0 , "smd_cap" , CAP0603 , 0.5 ] ,
[ 7.7 , 28.4 , 90 , "smd_cap" , CAP0603 , 0.5 ] ,
[ 22.0 , 34.6 , 0 , "smd_cap" , CAP0603 , 0.5 ] ,
[ 11.4 , 44.5 , 90 , "smd_cap" , CAP0603 , 0.5 ] ,
[ 22.1 , 31.2 , 0 , "smd_cap" , CAP0603 , 0.5 ] ,
[ 12.0 , 25.5 , 90 , "smd_cap" , CAP0603 , 0.5 ] ,
[ 16.2 , 24.2 , 90 , "smd_cap" , CAP0603 , 0.85 ] ,
[ 9.3 , 44.5 , 90 , "smd_cap" , CAP0603 , 0.85 ] ,
[ 5.3 , 34.9 , 0 , "smd_cap" , CAP0603 , 0.5 ] ,
[ 37.5 , 61.9 , 90 , "smd_res" , RES0603 , "0" ] ,
[ 4.8 , 26.5 , 0 , "smd_cap" , CAP0603 , 0.85 ] ,
[ 3.3 , 24.5 , 0 , "smd_res" , RES0603 , "1" ] ,
[ 4.8 , 30.8 , 90 , "chip" , 5 , 3.2 , 1.1 ] ,
[ 6.9 , 24.5 , 0 , "smd_res" , L2012C ] ,
[ 21.8 , 7.4 , 0 , "smd_res" , L2012C ] ,
[ 40.8 , 71.9 , 0 , "text" , 6 , 1.42 , "Erase" ] ,
[ 51.4 , 16.5 , 90 , "text" , 6 , 1.42 , "Reset" ] ,
[ 51.4 , 52.2 , 90 , "text" , 7.4 , 1.42 , "CONN_SD" ] ,
[ 2.7 , 9.7 , 0 , "text" , 4 , 1.27 , "GND" ] ,
[ 8.0 , 9.7 , 0 , "text" , 4 , 1.27 , "3.3V" ] ,
[ 38.1 , 21.2 , 0 , "text" , 4 , 1.42 , "3.3V" ] ,
[ 40.7 , 12.2 , 0 , "text" , 2 , 1.42 , "5V" ] ,
[ 49.8 , 9.8 , 0 , "text" , 3 , 1.27 , "Din" ] ,
[ 50.3 , 7.3 , 0 , "text" , 4 , 1.27 , "Dout" ] ,
[ 49.8 , 4.7 , 0 , "text" , 3 , 1.27 , "Gnd" ] ,
[ 49.8 , 2.2 , 0 , "text" , 3 , 1.27 , "+5V" ] ,
] ,
[ ] ,
[ 6 , 60.8 - inch ( 0.3 ) , 1 , 4 , silver , 2.54 , 2.54 , // X4
38 , 16.1 - inch ( 0.1 ) , 1 , 3 , silver , 2.54 , 2.54 , // JP1
3.1 , 12 , 2 , 1 , silver , 4.6 , 2.54 , // test points
31.3 , 5.9 - inch ( 0.15 ) , 1 , 4 , silver , 2.54 , 2.64 , // X1
38 - inch ( 0.05 ) , 53.2 - inch ( 0.2 ) , 2 , 5 , silver , 2.54 , 2.54 , // X5
32.8 - inch ( 0.05 ) , 36.5 - inch ( 0.95 ) , 2 , 20 , silver , 2.54 , 2.54 , // X3
] ,
] ;
2022-08-29 11:04:17 +01:00
2023-07-22 23:56:42 +01:00
//================================================
// Adafruit Feather
// by Chris Lott, chris@thestumbler.io
// Sacheon South Korea, 17 Jul 2023
//================================================
// NOTES:
// * mounting holes should be accurate
// * corner radius was just eyeballed
// * pin headers should be accurate
// * battery and qwiik connectore just eyeballed
Feather405 = let ( size = [ inch ( 2.0 ) , inch ( 0.9 ) ] )
2023-10-29 21:56:08 +00:00
pcb ( "Feather405" , "Adafruit Feather 405" , [ size . x , size . y , 1.6 ] ,
corner_r = inch ( 0.10 ) ,
hole_d = inch ( 0.1 ) ,
land_d = inch ( 0.175 ) ,
screw = M2p5_dome_screw ,
holes = [
[ inch ( 0.1 ) , inch ( 0.1 ) ] ,
2023-07-22 23:56:42 +01:00
[ - inch ( 0.1 ) , inch ( 0.1 ) ] ,
[ - inch ( 0.1 ) , - inch ( 0.1 ) ] ,
[ inch ( 0.1 ) , - inch ( 0.1 ) ] ,
2023-10-29 21:56:08 +00:00
] ,
grid = [ inch ( 0.65 ) , inch ( 0.05 ) , 12 , 2 , gold , inch ( 0.1 ) , inch ( 0.8 ) ,
inch ( 0.25 ) , inch ( 0.05 ) , 4 , 1 , gold , inch ( 0.1 ) , 0 ] , // grids of holes for the pins
components = [
[ size . x / 2 , inch ( 0.05 ) , 0 , "-2p54header" , 16 , 1 ] ,
[ inch ( 1.2 ) , - inch ( 0.05 ) , 0 , "-2p54header" , 12 , 1 ] ,
[ inch ( 1.3 ) , size . y / 2 , - 90 , "smd_qfp" , QFP50P1200X1200X160_64N , "STM32F405" ] ,
[ 3 , size . y / 2 , 180 , "usb_C" ] ,
[ 10 , - 6.5 , 180 , "jst_ph" , 2 , true , grey ( 25 ) ] ,
[ - 5 , 0.40 * size . y , 90 , "jst_zh" , 4 , true , grey ( 30 ) ] ,
]
) ;
ESP_201 = let ( size = [ 33.5 , 25.5 , 1.2 ] , font = "Liberation Mono:style=Bold" )
pcb ( "ESP_201" , "ESP-201 ESP8266 WiFi module" , size , colour = "white" ,
components = [
for ( side = [ - 1 , 1 ] ) [ 2 + inch ( 0.5 ) , size . y / 2 + side * inch ( 0.45 ) , 0 , "-2p54joiner" , 11 , 1 ] ,
[ 2 + inch ( 1.1 ) , size . y / 2 , 90 , "2p54header" , 4 , 1 ] ,
[ - 1.5 , size . y / 2 , - 90 , "text" , 10 , 1 , "3.3V RX TX GND" , font , "black" ] ,
[ 2 + inch ( 0.5 ) , - 3 , 0 , "text" , inch ( 1 ) + 2 , 1 , "3.3V 3.3V IO4 D3 D1 D0 CMD CLK D2 IO2 IO0" , font , "black" ] ,
[ 2 + inch ( 0.5 ) , 3 , 180 , "text" , inch ( 1 ) + 2 , 1 , "IO15 IO13 IO12 IO14 XPD CPEN RST TOUT IO5 GND GND" , font , "black" ] ,
[ 9.5 , 13.5 , 90 , "smd_coax" , U_FL_R_SMT_1 ] ,
[ 21 , 18 , 90 , "smd_soic" , SOIC8 , "" ] ,
[ 21 , 9.7 , 0 , "chip" , 5 , 5 , 0.8 ] ,
[ - 7 , 9.7 , 90 , "smd_cap" , CAP0603 , 0.8 ] ,
[ 11.5 , - 5.5 , 180 , "smd_res" , RES0603 , "301" ] ,
[ 11.5 , - 7.0 , 0 , "smd_led" , LED0603 , "red" ] ,
[ 14.5 , - 5.5 , 180 , "smd_res" , RES0603 , "301" ] ,
[ 14.5 , - 7.0 , 0 , "smd_led" , LED0603 , "blue" ] ,
[ 14.5 , - 8.5 , 0 , "smd_cap" , CAP0603 , 0.6 ] ,
[ 15.5 , 11 , 0 , "smd_cap" , CAP0603 , 0.6 ] ,
[ 15.5 , 9 , 180 , "smd_res" , RES0603 , "123" ] ,
[ 11.5 , 7.8 , 0 , "smd_cap" , CAP0603 , 0.6 ] ,
[ 9.5 , 8.7 , 90 , "smd_res" , RES0603 , "0" ] ,
[ 15 , 14 , 0 , "block" , 3 , 2.5 , 0.6 , silver , false , 0.2 ] ,
[ 15 , 14 , 0 , "block" , 3.1 , 2.6 , 0.5 , gold , false , 0.195 ] ,
[ 15 , 14 , 0 , "block" , 3.11 , 2.61 , 0.3 , "black" , false , 0.195 ] ,
// Antenna
let ( o = 5 , x = [ 0.9 + o , 3.2 + o , 5.7 + o , 8.1 + o , 10.6 + o , 12.8 + o , 15 + o , 15.2 + o ] , c = "black" )
each [
for ( i = [ 0 , 5 , 6 , 7 ] ) [ 2.8 , - x [ i ] , 0 , "block" , 4.8 , 0.6 , 0.2 , c ] , // long verticals
for ( i = [ 1 : 4 ] ) [ 2.05 , - x [ i ] , 0 , "block" , 3.3 , 0.6 , 0.2 , c ] , // short verticals
for ( i = [ 0 , 2 , 4 , 5 ] ) [ 0.7 , - ( x [ i ] + x [ i + 1 ] ) / 2 , 0 , "block" , 0.6 , x [ i + 1 ] - x [ i ] , 0.2 , c ] , // top horizontals
for ( i = [ 1 , 3 ] ) [ 3.4 , - ( x [ i ] + x [ i + 1 ] ) / 2 , 0 , "block" , 0.6 , x [ i + 1 ] - x [ i ] , 0.2 , c ] , // lower horizontals
]
] ,
grid = [ 2 , size . y / 2 - inch ( 0.45 ) , 11 , 2 , silver , inch ( 0.1 ) , inch ( 0.9 ) ,
2 + inch ( 1.1 ) , size . y / 2 - inch ( 0.15 ) , 1 , 4 , silver , inch ( 0.1 ) , inch ( 0.1 ) ]
) ;
ESP_12F = pcb ( "ESP_12F" , "ESP-12F ESP8266 WiFi module" , [ 24 , 16 , 0.8 ] ,
colour = grey ( 25 ) ,
hole_d = 0.6 ,
land_d = [ 1 , 1 , 0 , gold ] ,
holes = [
for ( x = [ 0 : 7 ] , y = [ - 1 , 1 ] )
each [
[ 1.5 + x * 2 , 8 + y * 7 ] , // Inboard hole positions
[ 1.5 + x * 2 , 8 + y * 8 ] // Outboard half holes
] ,
for ( y = [ 0 : 5 ] ) [ 0 , 3 + y * 2 ] // Along the bottom edge
] ,
components = [
[ 1.3 + 7.5 , 8 , 0 , "block" , 15 , 12 , 2.3 , silver , false , 0.1 , 0.1 ] , // can
[ 1.3 + 7.5 , 8 , 0 , "block" , 15.5 , 12.5 , 0.2 , silver * 1.2 , false ] , // pcb track it is solder on
[ - 6.4 , 1.7 , 90 , "smd_led" , LED0603 , "blue" ] ,
// Antenna
let ( o = 0 , x = [ 0.9 + o , 3.2 + o , 5.7 + o , 8.1 + o , 10.6 + o , 12.8 + o , 15 + o , 15.2 + o ] , c = gold )
each [
for ( i = [ 0 , 5 , 6 , 7 ] ) [ - 2.8 , x [ i ] , 0 , "block" , 4.8 , 0.6 , 0.2 , c ] , // long verticals
for ( i = [ 1 : 4 ] ) [ - 2.05 , x [ i ] , 0 , "block" , 3.3 , 0.6 , 0.2 , c ] , // short verticals
for ( i = [ 0 , 2 , 4 , 5 ] ) [ - 0.7 , ( x [ i ] + x [ i + 1 ] ) / 2 , 0 , "block" , 0.6 , x [ i + 1 ] - x [ i ] , 0.2 , c ] , // top horizontals
for ( i = [ 1 , 3 ] ) [ - 3.4 , ( x [ i ] + x [ i + 1 ] ) / 2 , 0 , "block" , 0.6 , x [ i + 1 ] - x [ i ] , 0.2 , c ] , // lower horizontals
]
]
) ;
2024-04-21 15:40:51 +01:00
2024-04-20 12:59:16 +03:00
RCWL0516 = pcb (
"RCWL-0516" , "Microwave Radar Sensor" ,
size = [ 36 , 17.3 , 1.2 ] ,
colour = "#17682d" ,
hole_d = 1.7 ,
holes = [
[ inch ( 0.05 ) , inch ( 0.05 ) ] ,
[ - inch ( 0.05 ) , inch ( 0.05 ) ] ,
[ - inch ( 0.05 ) , - inch ( 0.05 ) ] ,
[ inch ( 0.05 ) , - inch ( 0.05 ) ] ,
[ - inch ( 0.65 ) , - inch ( 0.05 ) ] ,
[ - inch ( 0.65 ) , inch ( 0.05 ) ] ,
] ,
grid = [ inch ( 0.05 ) , inch ( 0.13 ) , 1 , 5 , silver , inch ( 0.1 ) , inch ( 0.1 ) ] ,
components = [
[ inch ( 0.18 ) , inch ( 0.13 ) , 90 , "smd_cap" , CAP1206 , 0.5 ] ,
[ inch ( 0.18 ) , inch ( 0.32 ) , 90 , "smd_cap" , CAP1206 , 0.5 ] ,
[ inch ( 0.18 ) , inch ( 0.54 ) , 90 , "smd_cap" , CAP1206 , 0.5 ] ,
[ inch ( 0.45 ) , inch ( 0.34 ) , 0 , "smd_soic" , SOIC16 , "RCWL9196" ] ,
]
) ;
2023-10-29 21:56:08 +00:00
tiny_buck = pcb ( "tiny_buck" , "Ultra Small 3A buck regulator" , [ 20 , 11 , 1.6 ] ,
hole_d = 1.2 ,
land_d = [ 2 , 2 ] ,
holes = [ for ( i = [ 0 : 3 ] ) [ 1.5 , 11 / 2 - inch ( 0.15 - i / 10 ) ] ] ,
components = [
[ 4.5 , 2.5 , 90 , "smd_cap" , CAP1210 , 2 ] ,
[ 4.5 , - 2.8 , 90 , "smd_cap" , CAP1210 , 2 ] ,
[ 10 , - 4.4 , 90 , "smd_inductor" , IND2525 , "4R7" ] ,
for ( i = [ 0 : 5 ] ) [ 6.5 + i * 1.6 , 1.5 , 90 , "smd_res" , RES0603 ] ,
[ 17.8 , 2 , 90 , "smd_pot" , TC33X1 ] ,
for ( i = [ 0 : 2 ] ) [ - 1.5 , - 1.5 - i * 1.6 , 0 , "smd_res" , RES0603 ] ,
[ - 1.5 , - 6.3 , 0 , "smd_cap" , CAP0603 , 0.8 ] ,
[ - 5 , - 1.5 , 0 , "smd_res" , RES0603 ] ,
[ - 5.5 , 5.5 , 0 , "smd_cap" , CAP0603 , 0.8 ] ,
[ - 5.5 , 4.0 , 0 , "smd_res" , RES0603 ] ,
[ - 4.8 , - 3.5 , 90 , "smd_soic" , TSOT23_8 , "DKAAD" ] ,
for ( i = [ 0 : 3 ] ) [ 4 , 11 / 2 - inch ( 0.15 - i / 10 ) , 0 , "-text" , 2.5 , 1 , [ "VO+" , "GND" , "IN+" , "+EN" ] [ i ] , undef , silver ] ,
]
) ;
2024-02-04 23:32:13 +00:00
tiny_pcbs = [ ESP_201 , ESP_01M , XIAO , ESP_12F , MP1584EN , ESP_01 , tiny_buck , LIPO_fuel_gauge ] ;
2021-06-07 12:23:29 +01:00
2023-01-29 06:54:02 +00:00
big_pcbs = [ BTT_RELAY_V1_2 , BTT_SKR_MINI_E3_V2_0 , BTT_SKR_E3_TURBO , BTT_SKR_V1_4_TURBO , DuetE , Duex5 ] ;
2024-04-21 15:40:51 +01:00
pcbs = [ KY_040 , TP4056 , L9110S , ZC_A0591 , RCWL0516 , MT3608 , RAMPSEndstop , ArduinoNano , HW803_1WAY_RELAY , Feather405 , RPI_Pico , ESP32_DOIT_V1 , RPI0 , EnviroPlus , ArduinoUno3 , ArduinoLeonardo , WD2002SJ , OPZ2 , PanelDue_v3 , RPI3A , RPI3 , RPI4 ] ;
2021-01-18 15:56:09 +00:00
2021-09-11 12:01:04 +01:00
pcbs_not_shown = [ Melzi , Duex2 , PSU12V1A , Keyes5p1 , PI_IO , ExtruderPCB ] ;
2020-03-28 10:54:06 +00:00
2021-06-06 17:18:37 +01:00
perfboards = [ PERF74x51 , PERF70x51 , PERF70x50 , PERF60x40 , PERF70x30 , PERF80x20 ] ;
2019-06-08 22:10:47 +01:00
use < pcb.scad >