(kicad_pcb (version 20221018) (generator "jayis1 - bacnet-phantom") (general (thickness 1.6)) (paper "A4") (layers (0 "F.Cu" signal) (31 "B.Cu" signal) (32 "B.Adhes" user) (33 "F.Adhes" user) (34 "B.Paste" user) (35 "F.Paste" user) (36 "B.SilkS" user) (37 "F.SilkS" user) (38 "B.Mask" user) (39 "F.Mask" user) (40 "Dwgs.User" user) (41 "Cmts.User" user) (42 "Eco1.User" user) (43 "Eco2.User" user) (44 "Edge.Cuts" user) (45 "Margin" user) (46 "B.CrtYd" user) (47 "F.CrtYd" user) (48 "B.Fab" user) (49 "F.Fab" user) ) (setup (pad_to_mask_clearance 0.05) (pcbplotparams (layerselection 0x00010fc_ffffffff) (plotinvisibletext false) (padsonsilk false) (subtractmaskfromsilk false) (outputformat 1) (mirror false) (drillshape 0) (scaleselection 1) (outputdirectory "gerbers/")) ) (net 0 "") (net 1 "GND") (net 2 "+3V3") (net 3 "+5V") (net 4 "VBAT") (net 5 "VBUS") (net 6 "SPI_MOSI") (net 7 "SPI_MISO") (net 8 "SPI_SCLK") (net 9 "W5500_CS") (net 10 "W5500_RST") (net 11 "W5500_INT") (net 12 "MSTP_TX") (net 13 "MSTP_RX") (net 14 "MSTP_DE") (net 15 "MSTP_RE_N") (net 16 "OLED_SDA") (net 17 "OLED_SCL") (net 18 "WP_JUMPER") (net 19 "TAMPER") (net 20 "LED_R") (net 21 "LED_G") (net 22 "LED_B") (net 23 "CHRG") (net 24 "STDBY") (net 25 "BATT_DIV") (net 26 "RS485_A") (net 27 "RS485_B") (net 28 "USB_DP") (net 29 "USB_DM") (gr_text "BACnet Phantom - (c) jayis1 - authorized research only" (at 105 105 0) (layer "F.SilkS") (effects (font (size 1 1) (thickness 0.15)))) (footprint "Package_DFN_QFN:QFN-56-1EP_7x7mm_P0.4mm_EP5.6x5.6mm" (at 80 80) (property "Reference" "U1") (property "Value" "ESP32-S3-WROOM-1-N16R8") (property "Footprint" "") (property "Datasheet" "https://www.espressif.com/sites/default/files/documentation/esp32-s3-wroom-1_wroom-1u_datasheet_en.pdf") (property "Description" "ESP32-S3 module, 16MB flash, 8MB PSRAM") (pad "1" smd roundrect (at -3.5 -2.4) (size 0.2 0.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 2)) (pad "2" smd roundrect (at -3.5 -2.0) (size 0.2 0.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 1)) (pad "3" smd roundrect (at -3.5 -1.6) (size 0.2 0.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 6)) (pad "4" smd roundrect (at -3.5 -1.2) (size 0.2 0.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 7)) (pad "5" smd roundrect (at -3.5 -0.8) (size 0.2 0.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 8)) (pad "6" smd roundrect (at -3.5 -0.4) (size 0.2 0.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 9)) (pad "7" smd roundrect (at -3.5 0.0) (size 0.2 0.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 10)) (pad "8" smd roundrect (at -3.5 0.4) (size 0.2 0.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 11)) (pad "9" smd roundrect (at -3.5 0.8) (size 0.2 0.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 16)) (pad "10" smd roundrect (at -3.5 1.2) (size 0.2 0.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 17)) (pad "11" smd roundrect (at -3.5 1.6) (size 0.2 0.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 12)) (pad "12" smd roundrect (at -3.5 2.0) (size 0.2 0.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 13)) (pad "13" smd roundrect (at -3.5 2.4) (size 0.2 0.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 14)) (pad "14" smd roundrect (at -2.4 3.5) (size 0.8 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 15)) (pad "15" smd roundrect (at -2.0 3.5) (size 0.8 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 18)) (pad "16" smd roundrect (at -1.6 3.5) (size 0.8 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 19)) (pad "17" smd roundrect (at -1.2 3.5) (size 0.8 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 20)) (pad "18" smd roundrect (at -0.8 3.5) (size 0.8 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 21)) (pad "19" smd roundrect (at -0.4 3.5) (size 0.8 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 22)) (pad "20" smd roundrect (at 0.0 3.5) (size 0.8 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 23)) (pad "21" smd roundrect (at 0.4 3.5) (size 0.8 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 24)) (pad "22" smd roundrect (at 0.8 3.5) (size 0.8 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 25)) (pad "23" smd roundrect (at 1.2 3.5) (size 0.8 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 28)) (pad "24" smd roundrect (at 1.6 3.5) (size 0.8 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 29)) (pad "25" smd roundrect (at 2.0 3.5) (size 0.8 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 3)) (pad "26" smd roundrect (at 2.4 3.5) (size 0.8 0.2) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 3)) (pad "39" smd roundrect (at 3.5 2.4) (size 0.2 0.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 2)) (pad "40" smd roundrect (at 3.5 2.0) (size 0.2 0.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 1)) (pad "41" smd roundrect (at 3.5 1.6) (size 0.2 0.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 5)) (pad "42" smd roundrect (at 3.5 1.2) (size 0.2 0.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 5)) (pad "EP" smd roundrect (at 0 0) (size 5.6 5.6) (layers "F.Cu" "F.Paste" "F.Mask") (net 1)) ) (footprint "Package_QFP:LQFP-48_7x7mm_P0.5mm" (at 95 80) (property "Reference" "U2") (property "Value" "W5500") (property "Footprint" "") (property "Datasheet" "https://d3uz2evq0tkbw8.cloudfront.net/file/w5500_v1.0.7.pdf") (property "Description" "Hardwired TCP/IP, 10/100 Ethernet, SPI") (pad "1" smd roundrect (at -4 -3.5) (size 0.3 1.0) (layers "F.Cu" "F.Paste" "F.Mask") (net 2)) (pad "2" smd roundrect (at -4 -3.0) (size 0.3 1.0) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 1)) (pad "3" smd roundrect (at -4 -2.5) (size 0.3 1.0) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 6)) (pad "4" smd roundrect (at -4 -2.0) (size 0.3 1.0) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 7)) (pad "5" smd roundrect (at -4 -1.5) (size 0.3 1.0) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 8)) (pad "6" smd roundrect (at -4 -1.0) (size 0.3 1.0) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 9)) (pad "7" smd roundrect (at -4 -0.5) (size 0.3 1.0) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 10)) (pad "8" smd roundrect (at -4 0.0) (size 0.3 1.0) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 11)) (pad "9" smd roundrect (at -4 0.5) (size 0.3 1.0) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 5)) (pad "10" smd roundrect (at -4 1.0) (size 0.3 1.0) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 3)) (pad "EP" smd roundrect (at 0 0) (size 5 5) (layers "F.Cu" "F.Paste" "F.Mask") (net 1)) ) (footprint "Package_SO:SOIC-8_3.9x4.9mm_P1.27mm" (at 95 95) (property "Reference" "U4") (property "Value" "MAX3491ESA") (property "Footprint" "") (property "Datasheet" "https://www.analog.com/media/en/technical-documentation/data-sheets/max3490-max3491.pdf") (property "Description" "3.3V RS-485 transceiver, fail-safe bias") (pad "1" smd rect (at -2.7 -1.905) (size 1.8 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (net 2)) (pad "2" smd rect (at -2.7 -0.635) (size 1.8 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 14)) (pad "3" smd rect (at -2.7 0.635) (size 1.8 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 15)) (pad "4" smd rect (at -2.7 1.905) (size 1.8 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 12)) (pad "5" smd rect (at 2.7 1.905) (size 1.8 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 13)) (pad "6" smd rect (at 2.7 0.635) (size 1.8 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 1)) (pad "7" smd rect (at 2.7 -0.635) (size 1.8 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 26)) (pad "8" smd rect (at 2.7 -1.905) (size 1.8 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 27)) ) (footprint "Package_SO:SOIC-16_3.9x9.9mm_P1.27mm" (at 80 95) (property "Reference" "U3") (property "Value" "ISO1500") (property "Footprint" "") (property "Datasheet" "https://www.ti.com/lit/ds/symlink/iso1500.pdf") (property "Description" "2500Vrms digital isolator for RS-485") (pad "1" smd rect (at -3.7 -4.445) (size 1.8 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (net 2)) (pad "2" smd rect (at -3.7 -3.175) (size 1.8 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 2)) (pad "3" smd rect (at -3.7 -1.905) (size 1.8 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 12)) (pad "4" smd rect (at -3.7 -0.635) (size 1.8 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 14)) (pad "5" smd rect (at -3.7 0.635) (size 1.8 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 15)) (pad "6" smd rect (at -3.7 1.905) (size 1.8 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 13)) (pad "8" smd rect (at 3.7 1.905) (size 1.8 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 2)) (pad "9" smd rect (at 3.7 0.635) (size 1.8 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 1)) (pad "16" smd rect (at 3.7 -4.445) (size 1.8 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 1)) ) (footprint "Package_TO_SOT_SMD:SOT-23-5" (at 110 95) (property "Reference" "U5") (property "Value" "TP4056") (property "Footprint" "") (property "Datasheet" "https://dlnmhq6ucej1x2.cloudfront.net/datasheets/Prototyping/TP4056.pdf") (property "Description" "LiPo charger, 1A linear") (pad "1" smd rect (at -1.1 -0.95) (size 0.6 1.1) (layers "F.Cu" "F.Paste" "F.Mask") (net 5)) (pad "2" smd rect (at -1.1 0) (size 0.6 1.1) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 1)) (pad "3" smd rect (at -1.1 0.95) (size 0.6 1.1) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 4)) (pad "4" smd rect (at 1.1 0.95) (size 0.6 1.1) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 23)) (pad "5" smd rect (at 1.1 -0.95) (size 0.6 1.1) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 24)) ) (footprint "Connector:USB_C_Receptacle_USB2.0" (at 65 75) (property "Reference" "J1") (property "Value" "USB_C_2.0") (property "Footprint" "") (property "Datasheet" "https://www.usb.org/document-library/usb-type-c-cable-and-connector-specification") (property "Description" "USB-C 2.0 receptacle for power + DFU") (pad "A1" thru_hole circle (at -2.5 -3.5) (size 0.6 0.6) (drill 0.4) (layers "*.Cu" "*.Mask") (net 1)) (pad "A4" thru_hole circle (at -1.5 -3.5) (size 0.6 0.6) (drill 0.4) (layers "*.Cu" "*.Mask") (net 5)) (pad "A6" thru_hole circle (at 0.5 -3.5) (size 0.6 0.6) (drill 0.4) (layers "*.Cu" "*.Mask") (net 28)) (pad "A7" thru_hole circle (at 1.5 -3.5) (size 0.6 0.6) (drill 0.4) (layers "*.Cu" "*.Mask") (net 29)) (pad "B12" thru_hole circle (at 2.5 -3.5) (size 0.6 0.6) (drill 0.4) (layers "*.Cu" "*.Mask") (net 5)) ) (footprint "Connector_PinHeader_2.54mm:PinHeader_1x03" (at 65 95) (property "Reference" "J2") (property "Value" "RS485_HDR") (property "Footprint" "") (property "Description" "RS-485 tap output A/B/GND") (pad "1" thru_hole rect (at 0 -2.54) (size 1.6 1.6) (drill 1.0) (layers "*.Cu" "*.Mask") (net 26)) (pad "2" thru_hole circle (at 0 0) (size 1.6 1.6) (drill 1.0) (layers "*.Cu" "*.Mask") (net 27)) (pad "3" thru_hole circle (at 0 2.54) (size 1.6 1.6) (drill 1.0) (layers "*.Cu" "*.Mask") (net 1)) ) (footprint "Connector_PinHeader_2.54mm:PinHeader_1x02" (at 110 105) (property "Reference" "J3") (property "Value" "WP_BYPASS") (property "Footprint" "") (property "Description" "Hardware write-protect bypass jumper (life-safety interlock)") (pad "1" thru_hole circle (at 0 -1.27) (size 1.6 1.6) (drill 1.0) (layers "*.Cu" "*.Mask") (net 2)) (pad "2" thru_hole circle (at 0 1.27) (size 1.6 1.6) (drill 1.0) (layers "*.Cu" "*.Mask") (net 18)) ) (footprint "Resistor_SMD:R_0603" (at 90 90) (property "Reference" "R1") (property "Value" "10k") (property "Description" "RS-485 failsafe bias A") (pad "1" smd rect (at -0.8 0) (size 0.8 0.8) (layers "F.Cu" "F.Paste" "F.Mask") (net 2)) (pad "2" smd rect (at 0.8 0) (size 0.8 0.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 26)) ) (footprint "Resistor_SMD:R_0603" (at 92 90) (property "Reference" "R2") (property "Value" "10k") (property "Description" "RS-485 failsafe bias B") (pad "1" smd rect (at -0.8 0) (size 0.8 0.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 1)) (pad "2" smd rect (at 0.8 0) (size 0.8 0.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 27)) ) (footprint "Resistor_SMD:R_0603" (at 88 90) (property "Reference" "R3") (property "Value" "100k") (property "Description" "Battery voltage divider (2x)") (pad "1" smd rect (at -0.8 0) (size 0.8 0.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 4)) (pad "2" smd rect (at 0.8 0) (size 0.8 0.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 25)) ) (footprint "LED_SMD:LED_0603" (at 105 70) (property "Reference" "D1") (property "Value" "RED") (property "Description" "Status LED R") (pad "1" smd rect (at -0.8 0) (size 0.8 0.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 20)) (pad "2" smd rect (at 0.8 0) (size 0.8 0.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 2)) ) (footprint "LED_SMD:LED_0603" (at 107 70) (property "Reference" "D2") (property "Value" "GRN") (property "Description" "Status LED G") (pad "1" smd rect (at -0.8 0) (size 0.8 0.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 21)) (pad "2" smd rect (at 0.8 0) (size 0.8 0.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 2)) ) (footprint "LED_SMD:LED_0603" (at 109 70) (property "Reference" "D3") (property "Value" "BLU") (property "Description" "Status LED B") (pad "1" smd rect (at -0.8 0) (size 0.8 0.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 22)) (pad "2" smd rect (at 0.8 0) (size 0.8 0.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (net 2)) ) (gr_line (start 60 60) (end 130 60) (layer "Edge.Cuts") (width 0.1)) (gr_line (start 130 60) (end 130 110) (layer "Edge.Cuts") (width 0.1)) (gr_line (start 130 110) (end 60 110) (layer "Edge.Cuts") (width 0.1)) (gr_line (start 60 110) (end 60 60) (layer "Edge.Cuts") (width 0.1)) )