[Tests][Added] For value change in shared sheets

This commit is contained in:
Salvador E. Tropea 2023-04-25 13:24:12 -03:00
parent 5a8c54fe44
commit 6dcdb0b363
17 changed files with 2870 additions and 1 deletions

View File

@ -0,0 +1,267 @@
(kicad_sch (version 20230121) (generator eeschema)
(uuid 8477a8a9-ae4c-4b8f-ba39-df77a7f58e15)
(paper "A4")
(title_block
(title "Value change, two filters example")
(date "2023-04-25")
(rev "A")
(company "Instituto Nacional de Tecnología Industrial (INTI)")
(comment 1 "KiBot")
)
(lib_symbols
(symbol "Device:C" (pin_numbers hide) (pin_names (offset 0.254)) (in_bom yes) (on_board yes)
(property "Reference" "C" (at 0.635 2.54 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "C" (at 0.635 -2.54 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "" (at 0.9652 -3.81 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "cap capacitor" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Unpolarized capacitor" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_fp_filters" "C_*" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "C_0_1"
(polyline
(pts
(xy -2.032 -0.762)
(xy 2.032 -0.762)
)
(stroke (width 0.508) (type default))
(fill (type none))
)
(polyline
(pts
(xy -2.032 0.762)
(xy 2.032 0.762)
)
(stroke (width 0.508) (type default))
(fill (type none))
)
)
(symbol "C_1_1"
(pin passive line (at 0 3.81 270) (length 2.794)
(name "~" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 0 -3.81 90) (length 2.794)
(name "~" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "Device:R" (pin_numbers hide) (pin_names (offset 0)) (in_bom yes) (on_board yes)
(property "Reference" "R" (at 2.032 0 90)
(effects (font (size 1.27 1.27)))
)
(property "Value" "R" (at 0 0 90)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at -1.778 0 90)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "R res resistor" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Resistor" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_fp_filters" "R_*" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "R_0_1"
(rectangle (start -1.016 -2.54) (end 1.016 2.54)
(stroke (width 0.254) (type default))
(fill (type none))
)
)
(symbol "R_1_1"
(pin passive line (at 0 3.81 270) (length 1.27)
(name "~" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 0 -3.81 90) (length 1.27)
(name "~" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "power:GND" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
(property "Reference" "#PWR" (at 0 -6.35 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (at 0 -3.81 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "global power" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Power symbol creates a global label with name \"GND\" , ground" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "GND_0_1"
(polyline
(pts
(xy 0 0)
(xy 0 -1.27)
(xy 1.27 -1.27)
(xy 0 -2.54)
(xy -1.27 -1.27)
(xy 0 -1.27)
)
(stroke (width 0) (type default))
(fill (type none))
)
)
(symbol "GND_1_1"
(pin power_in line (at 0 0 270) (length 0) hide
(name "GND" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
)
)
)
(junction (at 105.41 63.5) (diameter 0) (color 0 0 0 0)
(uuid c9afa402-f9a8-4ab2-99fd-269212540a76)
)
(wire (pts (xy 105.41 74.93) (xy 105.41 80.01))
(stroke (width 0) (type default))
(uuid 4398fbdb-dff8-4642-a5c8-e446321d4f57)
)
(wire (pts (xy 80.01 63.5) (xy 88.9 63.5))
(stroke (width 0) (type default))
(uuid 46a7dba7-87c6-47c6-81f8-e40d04928797)
)
(wire (pts (xy 105.41 63.5) (xy 105.41 67.31))
(stroke (width 0) (type default))
(uuid 6a5b8b50-4979-46e5-af65-95a746018454)
)
(wire (pts (xy 96.52 63.5) (xy 105.41 63.5))
(stroke (width 0) (type default))
(uuid ae69cf37-4e10-4c1a-8a75-24fd8bbcf604)
)
(wire (pts (xy 105.41 63.5) (xy 114.3 63.5))
(stroke (width 0) (type default))
(uuid fdfabd5a-e0f5-4dbe-a4fa-0d67846f458b)
)
(hierarchical_label "IN" (shape input) (at 80.01 63.5 180) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify right))
(uuid 47142687-eddc-4ef0-af74-ae0c7231769a)
)
(hierarchical_label "OUT" (shape output) (at 114.3 63.5 0) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify left))
(uuid c0c9256c-ff6e-4c03-9546-336766d210dd)
)
(symbol (lib_id "Device:R") (at 92.71 63.5 90) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid 4b2ed0a9-193c-4dcd-952d-dc6aa295a74b)
(property "Reference" "R1" (at 92.71 58.42 90)
(effects (font (size 1.27 1.27)))
)
(property "Value" "100k" (at 92.71 60.96 90)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 92.71 65.278 90)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 92.71 63.5 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid e7d9a469-49c0-499d-aa6d-8a45cb56d259))
(pin "2" (uuid 894b43e0-5977-4ba3-b495-bfcd23f38652))
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/49bdcc4e-2823-4776-aac0-f277d3282fc7"
(reference "R1") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/aafc6b56-bfde-4afa-a6ef-e6ff929a3567"
(reference "R2") (unit 1)
)
)
)
)
(symbol (lib_id "power:GND") (at 105.41 80.01 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid 5f54559d-3976-4b46-a67e-128f3285ecb3)
(property "Reference" "#PWR01" (at 105.41 86.36 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (at 105.41 85.09 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 105.41 80.01 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 105.41 80.01 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid c48b27d2-804f-47fb-a71e-8c365a1a24b1))
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/49bdcc4e-2823-4776-aac0-f277d3282fc7"
(reference "#PWR01") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/aafc6b56-bfde-4afa-a6ef-e6ff929a3567"
(reference "#PWR02") (unit 1)
)
)
)
)
(symbol (lib_id "Device:C") (at 105.41 71.12 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid d0cb8595-f05d-4625-b575-b68f75495f13)
(property "Reference" "C1" (at 109.22 70.485 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "150p" (at 109.22 73.025 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "" (at 106.3752 74.93 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 105.41 71.12 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 1f76fa8f-b54d-4bb0-b197-6f8e3720b6b3))
(pin "2" (uuid 5d294b12-83cb-41c9-9349-3ee48c88f97c))
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/49bdcc4e-2823-4776-aac0-f277d3282fc7"
(reference "C1") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/aafc6b56-bfde-4afa-a6ef-e6ff929a3567"
(reference "C2") (unit 1)
)
)
)
)
)

View File

@ -0,0 +1,2 @@
(kicad_pcb (version 20221018) (generator pcbnew)
)

View File

@ -0,0 +1,347 @@
(kicad_sch (version 20230121) (generator eeschema)
(uuid f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a)
(paper "A4")
(title_block
(title "Value change, two filters example")
(date "2023-04-25")
(rev "A")
(company "Instituto Nacional de Tecnología Industrial (INTI)")
(comment 1 "KiBot")
)
(lib_symbols
(symbol "Connector:Conn_01x03_Pin" (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes)
(property "Reference" "J" (at 0 5.08 0)
(effects (font (size 1.27 1.27)))
)
(property "Value" "Conn_01x03_Pin" (at 0 -5.08 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_locked" "" (at 0 0 0)
(effects (font (size 1.27 1.27)))
)
(property "ki_keywords" "connector" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Generic connector, single row, 01x03, script generated" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_fp_filters" "Connector*:*_1x??_*" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "Conn_01x03_Pin_1_1"
(polyline
(pts
(xy 1.27 -2.54)
(xy 0.8636 -2.54)
)
(stroke (width 0.1524) (type default))
(fill (type none))
)
(polyline
(pts
(xy 1.27 0)
(xy 0.8636 0)
)
(stroke (width 0.1524) (type default))
(fill (type none))
)
(polyline
(pts
(xy 1.27 2.54)
(xy 0.8636 2.54)
)
(stroke (width 0.1524) (type default))
(fill (type none))
)
(rectangle (start 0.8636 -2.413) (end 0 -2.667)
(stroke (width 0.1524) (type default))
(fill (type outline))
)
(rectangle (start 0.8636 0.127) (end 0 -0.127)
(stroke (width 0.1524) (type default))
(fill (type outline))
)
(rectangle (start 0.8636 2.667) (end 0 2.413)
(stroke (width 0.1524) (type default))
(fill (type outline))
)
(pin passive line (at 5.08 2.54 180) (length 3.81)
(name "Pin_1" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 5.08 0 180) (length 3.81)
(name "Pin_2" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 5.08 -2.54 180) (length 3.81)
(name "Pin_3" (effects (font (size 1.27 1.27))))
(number "3" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "power:GND" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
(property "Reference" "#PWR" (at 0 -6.35 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (at 0 -3.81 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "global power" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Power symbol creates a global label with name \"GND\" , ground" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "GND_0_1"
(polyline
(pts
(xy 0 0)
(xy 0 -1.27)
(xy 1.27 -1.27)
(xy 0 -2.54)
(xy -1.27 -1.27)
(xy 0 -1.27)
)
(stroke (width 0) (type default))
(fill (type none))
)
)
(symbol "GND_1_1"
(pin power_in line (at 0 0 270) (length 0) hide
(name "GND" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
)
)
)
(wire (pts (xy 139.7 82.55) (xy 152.4 82.55))
(stroke (width 0) (type default))
(uuid 1350f38a-f6a6-4b42-bfd9-c0a1c919bb25)
)
(wire (pts (xy 110.49 101.6) (xy 115.57 101.6))
(stroke (width 0) (type default))
(uuid 13c148bb-b5d2-418c-80e0-0e34355d5560)
)
(wire (pts (xy 146.05 101.6) (xy 139.7 101.6))
(stroke (width 0) (type default))
(uuid 289b27bb-e04b-473d-953e-73cff56801a6)
)
(wire (pts (xy 104.14 87.63) (xy 104.14 90.17))
(stroke (width 0) (type default))
(uuid 5c965a6e-462d-4ea5-9c96-0eaf68519783)
)
(wire (pts (xy 146.05 85.09) (xy 146.05 101.6))
(stroke (width 0) (type default))
(uuid 633c6fb4-1c5b-4e5c-b514-1ce3197687bd)
)
(wire (pts (xy 149.86 87.63) (xy 149.86 90.17))
(stroke (width 0) (type default))
(uuid 7d5274e9-ae56-4772-b3ef-2267970e6320)
)
(wire (pts (xy 101.6 82.55) (xy 115.57 82.55))
(stroke (width 0) (type default))
(uuid 8733965b-9b90-41ce-943f-e89c7a4fbbda)
)
(wire (pts (xy 152.4 85.09) (xy 146.05 85.09))
(stroke (width 0) (type default))
(uuid 88f18cc6-de48-42dc-b8e1-7a4866c3c744)
)
(wire (pts (xy 152.4 87.63) (xy 149.86 87.63))
(stroke (width 0) (type default))
(uuid a91a5e43-5aef-4c38-bb19-a12737684d95)
)
(wire (pts (xy 101.6 85.09) (xy 110.49 85.09))
(stroke (width 0) (type default))
(uuid c9ce41e6-fab2-4108-8805-ad38cdf72a55)
)
(wire (pts (xy 110.49 85.09) (xy 110.49 101.6))
(stroke (width 0) (type default))
(uuid e80a831d-085e-404b-9209-4eefec66ff47)
)
(wire (pts (xy 101.6 87.63) (xy 104.14 87.63))
(stroke (width 0) (type default))
(uuid ffdb6f52-c019-450b-b8aa-e021401ab3df)
)
(text "Test for sheet reuse. Not a real life circuit.\nWe have two filters A and B.\nFilter A is 10.6 kHz LPF\nBut we want filter B to be 7.3 kHz, not 10.6 kHz\nKiCad won't allow it because R1 must be exactly the same as R2 and C1 identical to C2.\nWe'll use KiBot to force this.\nWe'll change C2 from 150 pF to 220 pF"
(at 13.97 57.15 0)
(effects (font (size 3.8 3.8)) (justify left bottom))
(uuid 5f7d1d79-cbc2-45b6-a5c4-5c2fa6e514fc)
)
(symbol (lib_id "power:GND") (at 149.86 90.17 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid 7b9e2a15-2358-4c6b-b49d-edbec568653e)
(property "Reference" "#PWR03" (at 149.86 96.52 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (at 149.86 95.25 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 149.86 90.17 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 149.86 90.17 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 48a25b00-604e-4a9c-abfd-02903294c6d0))
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a"
(reference "#PWR03") (unit 1)
)
)
)
)
(symbol (lib_id "Connector:Conn_01x03_Pin") (at 96.52 85.09 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid ac7adf8a-4abb-4c14-91fe-21a7cf50ef66)
(property "Reference" "J1" (at 96.52 80.01 0)
(effects (font (size 1.27 1.27)))
)
(property "Value" "Input" (at 96.52 90.17 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 96.52 85.09 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 96.52 85.09 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 6c147ead-140b-4bbf-9e69-b760a61017c2))
(pin "2" (uuid 6e3aa771-dca2-4deb-8444-d095f95947f3))
(pin "3" (uuid f86afc52-fd58-4c90-9e47-1a0cad166440))
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a"
(reference "J1") (unit 1)
)
)
)
)
(symbol (lib_id "Connector:Conn_01x03_Pin") (at 157.48 85.09 0) (mirror y) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid c9080e06-601c-4631-8a1b-4163f4ae6459)
(property "Reference" "J2" (at 156.21 80.01 0)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Value" "Output" (at 153.67 90.17 0)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Footprint" "" (at 157.48 85.09 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 157.48 85.09 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 19f84772-4564-4c76-ad8f-fed3d412f2be))
(pin "2" (uuid efd4b35e-df90-40e0-ac5c-cacbc2ad0c05))
(pin "3" (uuid 563c2d6c-002e-42a7-91d6-21001bd89be5))
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a"
(reference "J2") (unit 1)
)
)
)
)
(symbol (lib_id "power:GND") (at 104.14 90.17 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid eca2c120-aafd-480b-93f5-44d2f699f880)
(property "Reference" "#PWR04" (at 104.14 96.52 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (at 104.14 95.25 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 104.14 90.17 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 104.14 90.17 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 2de78699-cc01-4acd-8178-624baa10b398))
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a"
(reference "#PWR04") (unit 1)
)
)
)
)
(sheet (at 115.57 76.2) (size 24.13 12.7) (fields_autoplaced)
(stroke (width 0.1524) (type solid))
(fill (color 0 0 0 0.0000))
(uuid 49bdcc4e-2823-4776-aac0-f277d3282fc7)
(property "Sheetname" "Low Pass Filter A" (at 115.57 75.4884 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
)
(property "Sheetfile" "filter.kicad_sch" (at 115.57 89.4846 0)
(effects (font (size 1.27 1.27)) (justify left top))
)
(pin "OUT" output (at 139.7 82.55 0)
(effects (font (size 1.27 1.27)) (justify right))
(uuid 3ba6ac20-d31f-4be7-a714-a2cb67559a30)
)
(pin "IN" input (at 115.57 82.55 180)
(effects (font (size 1.27 1.27)) (justify left))
(uuid bda600b0-2825-454d-9370-ef55abf6c950)
)
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a" (page "2"))
)
)
)
(sheet (at 115.57 95.25) (size 24.13 12.7) (fields_autoplaced)
(stroke (width 0.1524) (type solid))
(fill (color 0 0 0 0.0000))
(uuid aafc6b56-bfde-4afa-a6ef-e6ff929a3567)
(property "Sheetname" "Low Pass Filter B" (at 115.57 94.5384 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
)
(property "Sheetfile" "filter.kicad_sch" (at 115.57 108.5346 0)
(effects (font (size 1.27 1.27)) (justify left top))
)
(pin "OUT" output (at 139.7 101.6 0)
(effects (font (size 1.27 1.27)) (justify right))
(uuid 8abdac35-edd2-4be0-b815-a3a24b90a875)
)
(pin "IN" input (at 115.57 101.6 180)
(effects (font (size 1.27 1.27)) (justify left))
(uuid caa70085-057f-4713-b57e-8a922880c1b7)
)
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a" (page "3"))
)
)
)
(sheet_instances
(path "/" (page "1"))
)
)

View File

@ -0,0 +1,303 @@
(kicad_sch (version 20230121) (generator eeschema)
(uuid 8477a8a9-ae4c-4b8f-ba39-df77a7f58e15)
(paper "A4")
(title_block
(title "Value change, two filters example")
(date "2023-04-25")
(rev "A")
(company "Instituto Nacional de Tecnología Industrial (INTI)")
(comment 1 "KiBot")
)
(lib_symbols
(symbol "Device:C" (pin_numbers hide) (pin_names (offset 0.254)) (in_bom yes) (on_board yes)
(property "Reference" "C" (at 0.635 2.54 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "C" (at 0.635 -2.54 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "" (at 0.9652 -3.81 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "cap capacitor" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Unpolarized capacitor" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_fp_filters" "C_*" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "C_0_1"
(polyline
(pts
(xy -2.032 -0.762)
(xy 2.032 -0.762)
)
(stroke (width 0.508) (type default))
(fill (type none))
)
(polyline
(pts
(xy -2.032 0.762)
(xy 2.032 0.762)
)
(stroke (width 0.508) (type default))
(fill (type none))
)
)
(symbol "C_1_1"
(pin passive line (at 0 3.81 270) (length 2.794)
(name "~" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 0 -3.81 90) (length 2.794)
(name "~" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "Device:R" (pin_numbers hide) (pin_names (offset 0)) (in_bom yes) (on_board yes)
(property "Reference" "R" (at 2.032 0 90)
(effects (font (size 1.27 1.27)))
)
(property "Value" "R" (at 0 0 90)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at -1.778 0 90)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "R res resistor" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Resistor" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_fp_filters" "R_*" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "R_0_1"
(rectangle (start -1.016 -2.54) (end 1.016 2.54)
(stroke (width 0.254) (type default))
(fill (type none))
)
)
(symbol "R_1_1"
(pin passive line (at 0 3.81 270) (length 1.27)
(name "~" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 0 -3.81 90) (length 1.27)
(name "~" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "power:GND" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
(property "Reference" "#PWR" (at 0 -6.35 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (at 0 -3.81 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "global power" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Power symbol creates a global label with name \"GND\" , ground" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "GND_0_1"
(polyline
(pts
(xy 0 0)
(xy 0 -1.27)
(xy 1.27 -1.27)
(xy 0 -2.54)
(xy -1.27 -1.27)
(xy 0 -1.27)
)
(stroke (width 0) (type default))
(fill (type none))
)
)
(symbol "GND_1_1"
(pin power_in line (at 0 0 270) (length 0) hide
(name "GND" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
)
)
)
(junction (at 105.41 63.5) (diameter 0) (color 0 0 0 0)
(uuid c9afa402-f9a8-4ab2-99fd-269212540a76)
)
(wire (pts (xy 105.41 74.93) (xy 105.41 80.01))
(stroke (width 0) (type default))
(uuid 4398fbdb-dff8-4642-a5c8-e446321d4f57)
)
(wire (pts (xy 80.01 63.5) (xy 88.9 63.5))
(stroke (width 0) (type default))
(uuid 46a7dba7-87c6-47c6-81f8-e40d04928797)
)
(wire (pts (xy 105.41 63.5) (xy 105.41 67.31))
(stroke (width 0) (type default))
(uuid 6a5b8b50-4979-46e5-af65-95a746018454)
)
(wire (pts (xy 96.52 63.5) (xy 105.41 63.5))
(stroke (width 0) (type default))
(uuid ae69cf37-4e10-4c1a-8a75-24fd8bbcf604)
)
(wire (pts (xy 105.41 63.5) (xy 114.3 63.5))
(stroke (width 0) (type default))
(uuid fdfabd5a-e0f5-4dbe-a4fa-0d67846f458b)
)
(hierarchical_label "IN" (shape input) (at 80.01 63.5 180) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify right))
(uuid 47142687-eddc-4ef0-af74-ae0c7231769a)
)
(hierarchical_label "OUT" (shape output) (at 114.3 63.5 0) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify left))
(uuid c0c9256c-ff6e-4c03-9546-336766d210dd)
)
(symbol (lib_id "Device:R") (at 92.71 63.5 90) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid 4b2ed0a9-193c-4dcd-952d-dc6aa295a74b)
(property "Reference" "R1" (at 92.71 58.42 90)
(effects (font (size 1.27 1.27)))
)
(property "Value" "100k" (at 92.71 60.96 90)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 92.71 65.278 90)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 92.71 63.5 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid e7d9a469-49c0-499d-aa6d-8a45cb56d259))
(pin "2" (uuid 894b43e0-5977-4ba3-b495-bfcd23f38652))
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/49bdcc4e-2823-4776-aac0-f277d3282fc7"
(reference "R1") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/aafc6b56-bfde-4afa-a6ef-e6ff929a3567"
(reference "R2") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/f526d132-2d8c-4aa7-a506-166671bbad32/4ea64d1f-5820-44f2-a8e7-ebfd678427eb"
(reference "R4") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/7a273ceb-90c2-41c3-886f-c622f777334b/4ea64d1f-5820-44f2-a8e7-ebfd678427eb"
(reference "R6") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/f526d132-2d8c-4aa7-a506-166671bbad32/685b8cad-25ce-4e81-9215-637d908973dc"
(reference "R3") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/7a273ceb-90c2-41c3-886f-c622f777334b/685b8cad-25ce-4e81-9215-637d908973dc"
(reference "R5") (unit 1)
)
)
)
)
(symbol (lib_id "power:GND") (at 105.41 80.01 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid 5f54559d-3976-4b46-a67e-128f3285ecb3)
(property "Reference" "#PWR01" (at 105.41 86.36 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (at 105.41 85.09 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 105.41 80.01 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 105.41 80.01 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid c48b27d2-804f-47fb-a71e-8c365a1a24b1))
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/49bdcc4e-2823-4776-aac0-f277d3282fc7"
(reference "#PWR01") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/aafc6b56-bfde-4afa-a6ef-e6ff929a3567"
(reference "#PWR02") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/f526d132-2d8c-4aa7-a506-166671bbad32/4ea64d1f-5820-44f2-a8e7-ebfd678427eb"
(reference "#PWR06") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/7a273ceb-90c2-41c3-886f-c622f777334b/4ea64d1f-5820-44f2-a8e7-ebfd678427eb"
(reference "#PWR08") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/f526d132-2d8c-4aa7-a506-166671bbad32/685b8cad-25ce-4e81-9215-637d908973dc"
(reference "#PWR05") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/7a273ceb-90c2-41c3-886f-c622f777334b/685b8cad-25ce-4e81-9215-637d908973dc"
(reference "#PWR07") (unit 1)
)
)
)
)
(symbol (lib_id "Device:C") (at 105.41 71.12 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid d0cb8595-f05d-4625-b575-b68f75495f13)
(property "Reference" "C1" (at 109.22 70.485 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "150p" (at 109.22 73.025 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "" (at 106.3752 74.93 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 105.41 71.12 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 1f76fa8f-b54d-4bb0-b197-6f8e3720b6b3))
(pin "2" (uuid 5d294b12-83cb-41c9-9349-3ee48c88f97c))
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/49bdcc4e-2823-4776-aac0-f277d3282fc7"
(reference "C1") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/aafc6b56-bfde-4afa-a6ef-e6ff929a3567"
(reference "C2") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/f526d132-2d8c-4aa7-a506-166671bbad32/4ea64d1f-5820-44f2-a8e7-ebfd678427eb"
(reference "C4") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/7a273ceb-90c2-41c3-886f-c622f777334b/4ea64d1f-5820-44f2-a8e7-ebfd678427eb"
(reference "C6") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/f526d132-2d8c-4aa7-a506-166671bbad32/685b8cad-25ce-4e81-9215-637d908973dc"
(reference "C3") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/7a273ceb-90c2-41c3-886f-c622f777334b/685b8cad-25ce-4e81-9215-637d908973dc"
(reference "C5") (unit 1)
)
)
)
)
)

View File

@ -0,0 +1,64 @@
(kicad_sch (version 20230121) (generator eeschema)
(uuid b55844e1-2ad8-4e96-8c88-aee43f497339)
(paper "A4")
(lib_symbols
)
(sheet (at 134.62 73.66) (size 24.13 12.7) (fields_autoplaced)
(stroke (width 0.1524) (type solid))
(fill (color 0 0 0 0.0000))
(uuid 4ea64d1f-5820-44f2-a8e7-ebfd678427eb)
(property "Sheetname" "Low Pass Filter A1" (at 134.62 72.9484 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
)
(property "Sheetfile" "filter.kicad_sch" (at 134.62 86.9446 0)
(effects (font (size 1.27 1.27)) (justify left top))
)
(pin "OUT" output (at 158.75 80.01 0)
(effects (font (size 1.27 1.27)) (justify right))
(uuid c6331915-9340-4aeb-8eab-7e222fef7d18)
)
(pin "IN" input (at 134.62 80.01 180)
(effects (font (size 1.27 1.27)) (justify left))
(uuid 369a3eb4-b629-4643-b4bf-a4f6d738962c)
)
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a" (page "2"))
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/f526d132-2d8c-4aa7-a506-166671bbad32" (page "7"))
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/7a273ceb-90c2-41c3-886f-c622f777334b" (page "9"))
)
)
)
(sheet (at 134.62 92.71) (size 24.13 12.7) (fields_autoplaced)
(stroke (width 0.1524) (type solid))
(fill (color 0 0 0 0.0000))
(uuid 685b8cad-25ce-4e81-9215-637d908973dc)
(property "Sheetname" "Low Pass Filter B1" (at 134.62 91.9984 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
)
(property "Sheetfile" "filter.kicad_sch" (at 134.62 105.9946 0)
(effects (font (size 1.27 1.27)) (justify left top))
)
(pin "OUT" output (at 158.75 99.06 0)
(effects (font (size 1.27 1.27)) (justify right))
(uuid 446bcd67-0d8a-477f-99e3-d60fe7fdda4c)
)
(pin "IN" input (at 134.62 99.06 180)
(effects (font (size 1.27 1.27)) (justify left))
(uuid d891f93e-d0be-431a-9a1e-0a7f863263cf)
)
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a" (page "3"))
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/f526d132-2d8c-4aa7-a506-166671bbad32" (page "6"))
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/7a273ceb-90c2-41c3-886f-c622f777334b" (page "8"))
)
)
)
)

View File

@ -0,0 +1,2 @@
(kicad_pcb (version 20221018) (generator pcbnew)
)

View File

@ -0,0 +1,381 @@
(kicad_sch (version 20230121) (generator eeschema)
(uuid f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a)
(paper "A4")
(title_block
(title "Value change, two filters example")
(date "2023-04-25")
(rev "A")
(company "Instituto Nacional de Tecnología Industrial (INTI)")
(comment 1 "KiBot")
)
(lib_symbols
(symbol "Connector:Conn_01x03_Pin" (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes)
(property "Reference" "J" (at 0 5.08 0)
(effects (font (size 1.27 1.27)))
)
(property "Value" "Conn_01x03_Pin" (at 0 -5.08 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_locked" "" (at 0 0 0)
(effects (font (size 1.27 1.27)))
)
(property "ki_keywords" "connector" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Generic connector, single row, 01x03, script generated" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_fp_filters" "Connector*:*_1x??_*" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "Conn_01x03_Pin_1_1"
(polyline
(pts
(xy 1.27 -2.54)
(xy 0.8636 -2.54)
)
(stroke (width 0.1524) (type default))
(fill (type none))
)
(polyline
(pts
(xy 1.27 0)
(xy 0.8636 0)
)
(stroke (width 0.1524) (type default))
(fill (type none))
)
(polyline
(pts
(xy 1.27 2.54)
(xy 0.8636 2.54)
)
(stroke (width 0.1524) (type default))
(fill (type none))
)
(rectangle (start 0.8636 -2.413) (end 0 -2.667)
(stroke (width 0.1524) (type default))
(fill (type outline))
)
(rectangle (start 0.8636 0.127) (end 0 -0.127)
(stroke (width 0.1524) (type default))
(fill (type outline))
)
(rectangle (start 0.8636 2.667) (end 0 2.413)
(stroke (width 0.1524) (type default))
(fill (type outline))
)
(pin passive line (at 5.08 2.54 180) (length 3.81)
(name "Pin_1" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 5.08 0 180) (length 3.81)
(name "Pin_2" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 5.08 -2.54 180) (length 3.81)
(name "Pin_3" (effects (font (size 1.27 1.27))))
(number "3" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "power:GND" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
(property "Reference" "#PWR" (at 0 -6.35 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (at 0 -3.81 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "global power" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Power symbol creates a global label with name \"GND\" , ground" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "GND_0_1"
(polyline
(pts
(xy 0 0)
(xy 0 -1.27)
(xy 1.27 -1.27)
(xy 0 -2.54)
(xy -1.27 -1.27)
(xy 0 -1.27)
)
(stroke (width 0) (type default))
(fill (type none))
)
)
(symbol "GND_1_1"
(pin power_in line (at 0 0 270) (length 0) hide
(name "GND" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
)
)
)
(wire (pts (xy 139.7 82.55) (xy 152.4 82.55))
(stroke (width 0) (type default))
(uuid 1350f38a-f6a6-4b42-bfd9-c0a1c919bb25)
)
(wire (pts (xy 110.49 101.6) (xy 115.57 101.6))
(stroke (width 0) (type default))
(uuid 13c148bb-b5d2-418c-80e0-0e34355d5560)
)
(wire (pts (xy 146.05 101.6) (xy 139.7 101.6))
(stroke (width 0) (type default))
(uuid 289b27bb-e04b-473d-953e-73cff56801a6)
)
(wire (pts (xy 104.14 87.63) (xy 104.14 90.17))
(stroke (width 0) (type default))
(uuid 5c965a6e-462d-4ea5-9c96-0eaf68519783)
)
(wire (pts (xy 146.05 85.09) (xy 146.05 101.6))
(stroke (width 0) (type default))
(uuid 633c6fb4-1c5b-4e5c-b514-1ce3197687bd)
)
(wire (pts (xy 149.86 87.63) (xy 149.86 90.17))
(stroke (width 0) (type default))
(uuid 7d5274e9-ae56-4772-b3ef-2267970e6320)
)
(wire (pts (xy 101.6 82.55) (xy 115.57 82.55))
(stroke (width 0) (type default))
(uuid 8733965b-9b90-41ce-943f-e89c7a4fbbda)
)
(wire (pts (xy 152.4 85.09) (xy 146.05 85.09))
(stroke (width 0) (type default))
(uuid 88f18cc6-de48-42dc-b8e1-7a4866c3c744)
)
(wire (pts (xy 152.4 87.63) (xy 149.86 87.63))
(stroke (width 0) (type default))
(uuid a91a5e43-5aef-4c38-bb19-a12737684d95)
)
(wire (pts (xy 101.6 85.09) (xy 110.49 85.09))
(stroke (width 0) (type default))
(uuid c9ce41e6-fab2-4108-8805-ad38cdf72a55)
)
(wire (pts (xy 110.49 85.09) (xy 110.49 101.6))
(stroke (width 0) (type default))
(uuid e80a831d-085e-404b-9209-4eefec66ff47)
)
(wire (pts (xy 101.6 87.63) (xy 104.14 87.63))
(stroke (width 0) (type default))
(uuid ffdb6f52-c019-450b-b8aa-e021401ab3df)
)
(text "Test for sheet reuse. Not a real life circuit.\nThis is a more complex case of \"shared_page_value_change\"\nWe'll change C2 and C4 from 150 pF to 220 pF\nAnd also C5 from 150 pF to 330 pF"
(at 13.97 38.1 0)
(effects (font (size 3.8 3.8)) (justify left bottom))
(uuid 5f7d1d79-cbc2-45b6-a5c4-5c2fa6e514fc)
)
(symbol (lib_id "power:GND") (at 149.86 90.17 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid 7b9e2a15-2358-4c6b-b49d-edbec568653e)
(property "Reference" "#PWR03" (at 149.86 96.52 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (at 149.86 95.25 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 149.86 90.17 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 149.86 90.17 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 48a25b00-604e-4a9c-abfd-02903294c6d0))
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a"
(reference "#PWR03") (unit 1)
)
)
)
)
(symbol (lib_id "Connector:Conn_01x03_Pin") (at 96.52 85.09 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid ac7adf8a-4abb-4c14-91fe-21a7cf50ef66)
(property "Reference" "J1" (at 96.52 80.01 0)
(effects (font (size 1.27 1.27)))
)
(property "Value" "Input" (at 96.52 90.17 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 96.52 85.09 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 96.52 85.09 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 6c147ead-140b-4bbf-9e69-b760a61017c2))
(pin "2" (uuid 6e3aa771-dca2-4deb-8444-d095f95947f3))
(pin "3" (uuid f86afc52-fd58-4c90-9e47-1a0cad166440))
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a"
(reference "J1") (unit 1)
)
)
)
)
(symbol (lib_id "Connector:Conn_01x03_Pin") (at 157.48 85.09 0) (mirror y) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid c9080e06-601c-4631-8a1b-4163f4ae6459)
(property "Reference" "J2" (at 156.21 80.01 0)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Value" "Output" (at 153.67 90.17 0)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Footprint" "" (at 157.48 85.09 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 157.48 85.09 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 19f84772-4564-4c76-ad8f-fed3d412f2be))
(pin "2" (uuid efd4b35e-df90-40e0-ac5c-cacbc2ad0c05))
(pin "3" (uuid 563c2d6c-002e-42a7-91d6-21001bd89be5))
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a"
(reference "J2") (unit 1)
)
)
)
)
(symbol (lib_id "power:GND") (at 104.14 90.17 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid eca2c120-aafd-480b-93f5-44d2f699f880)
(property "Reference" "#PWR04" (at 104.14 96.52 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (at 104.14 95.25 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 104.14 90.17 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 104.14 90.17 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 2de78699-cc01-4acd-8178-624baa10b398))
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a"
(reference "#PWR04") (unit 1)
)
)
)
)
(sheet (at 115.57 76.2) (size 24.13 12.7) (fields_autoplaced)
(stroke (width 0.1524) (type solid))
(fill (color 0 0 0 0.0000))
(uuid 49bdcc4e-2823-4776-aac0-f277d3282fc7)
(property "Sheetname" "Low Pass Filter A" (at 115.57 75.4884 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
)
(property "Sheetfile" "filter.kicad_sch" (at 115.57 89.4846 0)
(effects (font (size 1.27 1.27)) (justify left top))
)
(pin "OUT" output (at 139.7 82.55 0)
(effects (font (size 1.27 1.27)) (justify right))
(uuid 3ba6ac20-d31f-4be7-a714-a2cb67559a30)
)
(pin "IN" input (at 115.57 82.55 180)
(effects (font (size 1.27 1.27)) (justify left))
(uuid bda600b0-2825-454d-9370-ef55abf6c950)
)
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a" (page "2"))
)
)
)
(sheet (at 177.8 96.52) (size 25.4 12.7) (fields_autoplaced)
(stroke (width 0.1524) (type solid))
(fill (color 0 0 0 0.0000))
(uuid 7a273ceb-90c2-41c3-886f-c622f777334b)
(property "Sheetname" "Group 2" (at 177.8 95.8084 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
)
(property "Sheetfile" "group.kicad_sch" (at 177.8 109.8046 0)
(effects (font (size 1.27 1.27)) (justify left top))
)
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a" (page "5"))
)
)
)
(sheet (at 115.57 95.25) (size 24.13 12.7) (fields_autoplaced)
(stroke (width 0.1524) (type solid))
(fill (color 0 0 0 0.0000))
(uuid aafc6b56-bfde-4afa-a6ef-e6ff929a3567)
(property "Sheetname" "Low Pass Filter B" (at 115.57 94.5384 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
)
(property "Sheetfile" "filter.kicad_sch" (at 115.57 108.5346 0)
(effects (font (size 1.27 1.27)) (justify left top))
)
(pin "OUT" output (at 139.7 101.6 0)
(effects (font (size 1.27 1.27)) (justify right))
(uuid 8abdac35-edd2-4be0-b815-a3a24b90a875)
)
(pin "IN" input (at 115.57 101.6 180)
(effects (font (size 1.27 1.27)) (justify left))
(uuid caa70085-057f-4713-b57e-8a922880c1b7)
)
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a" (page "3"))
)
)
)
(sheet (at 177.8 76.2) (size 25.4 12.7) (fields_autoplaced)
(stroke (width 0.1524) (type solid))
(fill (color 0 0 0 0.0000))
(uuid f526d132-2d8c-4aa7-a506-166671bbad32)
(property "Sheetname" "Group 1" (at 177.8 75.4884 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
)
(property "Sheetfile" "group.kicad_sch" (at 177.8 89.4846 0)
(effects (font (size 1.27 1.27)) (justify left top))
)
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a" (page "4"))
)
)
)
(sheet_instances
(path "/" (page "1"))
)
)

View File

@ -0,0 +1,267 @@
(kicad_sch (version 20230121) (generator eeschema)
(uuid 8477a8a9-ae4c-4b8f-ba39-df77a7f58e15)
(paper "A4")
(title_block
(title "Value change, two filters example")
(date "2023-04-25")
(rev "A")
(company "Instituto Nacional de Tecnología Industrial (INTI)")
(comment 1 "KiBot")
)
(lib_symbols
(symbol "Device:C" (pin_numbers hide) (pin_names (offset 0.254)) (in_bom yes) (on_board yes)
(property "Reference" "C" (at 0.635 2.54 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "C" (at 0.635 -2.54 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "" (at 0.9652 -3.81 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "cap capacitor" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Unpolarized capacitor" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_fp_filters" "C_*" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "C_0_1"
(polyline
(pts
(xy -2.032 -0.762)
(xy 2.032 -0.762)
)
(stroke (width 0.508) (type default))
(fill (type none))
)
(polyline
(pts
(xy -2.032 0.762)
(xy 2.032 0.762)
)
(stroke (width 0.508) (type default))
(fill (type none))
)
)
(symbol "C_1_1"
(pin passive line (at 0 3.81 270) (length 2.794)
(name "~" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 0 -3.81 90) (length 2.794)
(name "~" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "Device:R" (pin_numbers hide) (pin_names (offset 0)) (in_bom yes) (on_board yes)
(property "Reference" "R" (at 2.032 0 90)
(effects (font (size 1.27 1.27)))
)
(property "Value" "R" (at 0 0 90)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at -1.778 0 90)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "R res resistor" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Resistor" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_fp_filters" "R_*" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "R_0_1"
(rectangle (start -1.016 -2.54) (end 1.016 2.54)
(stroke (width 0.254) (type default))
(fill (type none))
)
)
(symbol "R_1_1"
(pin passive line (at 0 3.81 270) (length 1.27)
(name "~" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 0 -3.81 90) (length 1.27)
(name "~" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "power:GND" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
(property "Reference" "#PWR" (at 0 -6.35 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (at 0 -3.81 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "global power" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Power symbol creates a global label with name \"GND\" , ground" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "GND_0_1"
(polyline
(pts
(xy 0 0)
(xy 0 -1.27)
(xy 1.27 -1.27)
(xy 0 -2.54)
(xy -1.27 -1.27)
(xy 0 -1.27)
)
(stroke (width 0) (type default))
(fill (type none))
)
)
(symbol "GND_1_1"
(pin power_in line (at 0 0 270) (length 0) hide
(name "GND" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
)
)
)
(junction (at 105.41 63.5) (diameter 0) (color 0 0 0 0)
(uuid c9afa402-f9a8-4ab2-99fd-269212540a76)
)
(wire (pts (xy 105.41 74.93) (xy 105.41 80.01))
(stroke (width 0) (type default))
(uuid 4398fbdb-dff8-4642-a5c8-e446321d4f57)
)
(wire (pts (xy 80.01 63.5) (xy 88.9 63.5))
(stroke (width 0) (type default))
(uuid 46a7dba7-87c6-47c6-81f8-e40d04928797)
)
(wire (pts (xy 105.41 63.5) (xy 105.41 67.31))
(stroke (width 0) (type default))
(uuid 6a5b8b50-4979-46e5-af65-95a746018454)
)
(wire (pts (xy 96.52 63.5) (xy 105.41 63.5))
(stroke (width 0) (type default))
(uuid ae69cf37-4e10-4c1a-8a75-24fd8bbcf604)
)
(wire (pts (xy 105.41 63.5) (xy 114.3 63.5))
(stroke (width 0) (type default))
(uuid fdfabd5a-e0f5-4dbe-a4fa-0d67846f458b)
)
(hierarchical_label "IN" (shape input) (at 80.01 63.5 180) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify right))
(uuid 47142687-eddc-4ef0-af74-ae0c7231769a)
)
(hierarchical_label "OUT" (shape output) (at 114.3 63.5 0) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify left))
(uuid c0c9256c-ff6e-4c03-9546-336766d210dd)
)
(symbol (lib_id "Device:R") (at 92.71 63.5 90) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid 4b2ed0a9-193c-4dcd-952d-dc6aa295a74b)
(property "Reference" "R1" (at 92.71 58.42 90)
(effects (font (size 1.27 1.27)))
)
(property "Value" "100k" (at 92.71 60.96 90)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 92.71 65.278 90)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 92.71 63.5 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid e7d9a469-49c0-499d-aa6d-8a45cb56d259))
(pin "2" (uuid 894b43e0-5977-4ba3-b495-bfcd23f38652))
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/49bdcc4e-2823-4776-aac0-f277d3282fc7"
(reference "R1") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/aafc6b56-bfde-4afa-a6ef-e6ff929a3567"
(reference "R2") (unit 1)
)
)
)
)
(symbol (lib_id "power:GND") (at 105.41 80.01 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid 5f54559d-3976-4b46-a67e-128f3285ecb3)
(property "Reference" "#PWR01" (at 105.41 86.36 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (at 105.41 85.09 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 105.41 80.01 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 105.41 80.01 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid c48b27d2-804f-47fb-a71e-8c365a1a24b1))
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/49bdcc4e-2823-4776-aac0-f277d3282fc7"
(reference "#PWR01") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/aafc6b56-bfde-4afa-a6ef-e6ff929a3567"
(reference "#PWR02") (unit 1)
)
)
)
)
(symbol (lib_id "Device:C") (at 105.41 71.12 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid d0cb8595-f05d-4625-b575-b68f75495f13)
(property "Reference" "C1" (at 109.22 70.485 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "150p" (at 109.22 73.025 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "" (at 106.3752 74.93 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 105.41 71.12 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 1f76fa8f-b54d-4bb0-b197-6f8e3720b6b3))
(pin "2" (uuid 5d294b12-83cb-41c9-9349-3ee48c88f97c))
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/49bdcc4e-2823-4776-aac0-f277d3282fc7"
(reference "C1") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/aafc6b56-bfde-4afa-a6ef-e6ff929a3567"
(reference "C2") (unit 1)
)
)
)
)
)

View File

@ -0,0 +1,2 @@
(kicad_pcb (version 20221018) (generator pcbnew)
)

View File

@ -0,0 +1,347 @@
(kicad_sch (version 20230121) (generator eeschema)
(uuid f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a)
(paper "A4")
(title_block
(title "Value change, two filters example")
(date "2023-04-25")
(rev "A")
(company "Instituto Nacional de Tecnología Industrial (INTI)")
(comment 1 "KiBot")
)
(lib_symbols
(symbol "Connector:Conn_01x03_Pin" (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes)
(property "Reference" "J" (at 0 5.08 0)
(effects (font (size 1.27 1.27)))
)
(property "Value" "Conn_01x03_Pin" (at 0 -5.08 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_locked" "" (at 0 0 0)
(effects (font (size 1.27 1.27)))
)
(property "ki_keywords" "connector" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Generic connector, single row, 01x03, script generated" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_fp_filters" "Connector*:*_1x??_*" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "Conn_01x03_Pin_1_1"
(polyline
(pts
(xy 1.27 -2.54)
(xy 0.8636 -2.54)
)
(stroke (width 0.1524) (type default))
(fill (type none))
)
(polyline
(pts
(xy 1.27 0)
(xy 0.8636 0)
)
(stroke (width 0.1524) (type default))
(fill (type none))
)
(polyline
(pts
(xy 1.27 2.54)
(xy 0.8636 2.54)
)
(stroke (width 0.1524) (type default))
(fill (type none))
)
(rectangle (start 0.8636 -2.413) (end 0 -2.667)
(stroke (width 0.1524) (type default))
(fill (type outline))
)
(rectangle (start 0.8636 0.127) (end 0 -0.127)
(stroke (width 0.1524) (type default))
(fill (type outline))
)
(rectangle (start 0.8636 2.667) (end 0 2.413)
(stroke (width 0.1524) (type default))
(fill (type outline))
)
(pin passive line (at 5.08 2.54 180) (length 3.81)
(name "Pin_1" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 5.08 0 180) (length 3.81)
(name "Pin_2" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 5.08 -2.54 180) (length 3.81)
(name "Pin_3" (effects (font (size 1.27 1.27))))
(number "3" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "power:GND" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
(property "Reference" "#PWR" (at 0 -6.35 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (at 0 -3.81 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "global power" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Power symbol creates a global label with name \"GND\" , ground" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "GND_0_1"
(polyline
(pts
(xy 0 0)
(xy 0 -1.27)
(xy 1.27 -1.27)
(xy 0 -2.54)
(xy -1.27 -1.27)
(xy 0 -1.27)
)
(stroke (width 0) (type default))
(fill (type none))
)
)
(symbol "GND_1_1"
(pin power_in line (at 0 0 270) (length 0) hide
(name "GND" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
)
)
)
(wire (pts (xy 139.7 82.55) (xy 152.4 82.55))
(stroke (width 0) (type default))
(uuid 1350f38a-f6a6-4b42-bfd9-c0a1c919bb25)
)
(wire (pts (xy 110.49 101.6) (xy 115.57 101.6))
(stroke (width 0) (type default))
(uuid 13c148bb-b5d2-418c-80e0-0e34355d5560)
)
(wire (pts (xy 146.05 101.6) (xy 139.7 101.6))
(stroke (width 0) (type default))
(uuid 289b27bb-e04b-473d-953e-73cff56801a6)
)
(wire (pts (xy 104.14 87.63) (xy 104.14 90.17))
(stroke (width 0) (type default))
(uuid 5c965a6e-462d-4ea5-9c96-0eaf68519783)
)
(wire (pts (xy 146.05 85.09) (xy 146.05 101.6))
(stroke (width 0) (type default))
(uuid 633c6fb4-1c5b-4e5c-b514-1ce3197687bd)
)
(wire (pts (xy 149.86 87.63) (xy 149.86 90.17))
(stroke (width 0) (type default))
(uuid 7d5274e9-ae56-4772-b3ef-2267970e6320)
)
(wire (pts (xy 101.6 82.55) (xy 115.57 82.55))
(stroke (width 0) (type default))
(uuid 8733965b-9b90-41ce-943f-e89c7a4fbbda)
)
(wire (pts (xy 152.4 85.09) (xy 146.05 85.09))
(stroke (width 0) (type default))
(uuid 88f18cc6-de48-42dc-b8e1-7a4866c3c744)
)
(wire (pts (xy 152.4 87.63) (xy 149.86 87.63))
(stroke (width 0) (type default))
(uuid a91a5e43-5aef-4c38-bb19-a12737684d95)
)
(wire (pts (xy 101.6 85.09) (xy 110.49 85.09))
(stroke (width 0) (type default))
(uuid c9ce41e6-fab2-4108-8805-ad38cdf72a55)
)
(wire (pts (xy 110.49 85.09) (xy 110.49 101.6))
(stroke (width 0) (type default))
(uuid e80a831d-085e-404b-9209-4eefec66ff47)
)
(wire (pts (xy 101.6 87.63) (xy 104.14 87.63))
(stroke (width 0) (type default))
(uuid ffdb6f52-c019-450b-b8aa-e021401ab3df)
)
(text "Test for sheet reuse. Not a real life circuit.\nWe have two filters A and B.\nFilter A is 10.6 kHz LPF\nBut we want filter B to be 7.3 kHz, not 10.6 kHz\nKiCad won't allow it because R1 must be exactly the same as R2 and C1 identical to C2.\nWe'll use KiBot to force this.\nWe'll change C2 from 150 pF to 220 pF"
(at 13.97 57.15 0)
(effects (font (size 3.8 3.8)) (justify left bottom))
(uuid 5f7d1d79-cbc2-45b6-a5c4-5c2fa6e514fc)
)
(symbol (lib_id "power:GND") (at 149.86 90.17 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid 7b9e2a15-2358-4c6b-b49d-edbec568653e)
(property "Reference" "#PWR03" (at 149.86 96.52 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (at 149.86 95.25 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 149.86 90.17 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 149.86 90.17 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 48a25b00-604e-4a9c-abfd-02903294c6d0))
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a"
(reference "#PWR03") (unit 1)
)
)
)
)
(symbol (lib_id "Connector:Conn_01x03_Pin") (at 96.52 85.09 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid ac7adf8a-4abb-4c14-91fe-21a7cf50ef66)
(property "Reference" "J1" (at 96.52 80.01 0)
(effects (font (size 1.27 1.27)))
)
(property "Value" "Input" (at 96.52 90.17 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 96.52 85.09 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 96.52 85.09 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 6c147ead-140b-4bbf-9e69-b760a61017c2))
(pin "2" (uuid 6e3aa771-dca2-4deb-8444-d095f95947f3))
(pin "3" (uuid f86afc52-fd58-4c90-9e47-1a0cad166440))
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a"
(reference "J1") (unit 1)
)
)
)
)
(symbol (lib_id "Connector:Conn_01x03_Pin") (at 157.48 85.09 0) (mirror y) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid c9080e06-601c-4631-8a1b-4163f4ae6459)
(property "Reference" "J2" (at 156.21 80.01 0)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Value" "Output" (at 153.67 90.17 0)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Footprint" "" (at 157.48 85.09 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 157.48 85.09 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 19f84772-4564-4c76-ad8f-fed3d412f2be))
(pin "2" (uuid efd4b35e-df90-40e0-ac5c-cacbc2ad0c05))
(pin "3" (uuid 563c2d6c-002e-42a7-91d6-21001bd89be5))
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a"
(reference "J2") (unit 1)
)
)
)
)
(symbol (lib_id "power:GND") (at 104.14 90.17 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid eca2c120-aafd-480b-93f5-44d2f699f880)
(property "Reference" "#PWR04" (at 104.14 96.52 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (at 104.14 95.25 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 104.14 90.17 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 104.14 90.17 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 2de78699-cc01-4acd-8178-624baa10b398))
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a"
(reference "#PWR04") (unit 1)
)
)
)
)
(sheet (at 115.57 76.2) (size 24.13 12.7) (fields_autoplaced)
(stroke (width 0.1524) (type solid))
(fill (color 0 0 0 0.0000))
(uuid 49bdcc4e-2823-4776-aac0-f277d3282fc7)
(property "Sheetname" "Low Pass Filter A" (at 115.57 75.4884 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
)
(property "Sheetfile" "filter.kicad_sch" (at 115.57 89.4846 0)
(effects (font (size 1.27 1.27)) (justify left top))
)
(pin "OUT" output (at 139.7 82.55 0)
(effects (font (size 1.27 1.27)) (justify right))
(uuid 3ba6ac20-d31f-4be7-a714-a2cb67559a30)
)
(pin "IN" input (at 115.57 82.55 180)
(effects (font (size 1.27 1.27)) (justify left))
(uuid bda600b0-2825-454d-9370-ef55abf6c950)
)
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a" (page "2"))
)
)
)
(sheet (at 115.57 95.25) (size 24.13 12.7) (fields_autoplaced)
(stroke (width 0.1524) (type solid))
(fill (color 0 0 0 0.0000))
(uuid aafc6b56-bfde-4afa-a6ef-e6ff929a3567)
(property "Sheetname" "Low Pass Filter B" (at 115.57 94.5384 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
)
(property "Sheetfile" "filter.kicad_sch" (at 115.57 108.5346 0)
(effects (font (size 1.27 1.27)) (justify left top))
)
(pin "OUT" output (at 139.7 101.6 0)
(effects (font (size 1.27 1.27)) (justify right))
(uuid 8abdac35-edd2-4be0-b815-a3a24b90a875)
)
(pin "IN" input (at 115.57 101.6 180)
(effects (font (size 1.27 1.27)) (justify left))
(uuid caa70085-057f-4713-b57e-8a922880c1b7)
)
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a" (page "3"))
)
)
)
(sheet_instances
(path "/" (page "1"))
)
)

View File

@ -0,0 +1,303 @@
(kicad_sch (version 20230121) (generator eeschema)
(uuid 8477a8a9-ae4c-4b8f-ba39-df77a7f58e15)
(paper "A4")
(title_block
(title "Value change, two filters example")
(date "2023-04-25")
(rev "A")
(company "Instituto Nacional de Tecnología Industrial (INTI)")
(comment 1 "KiBot")
)
(lib_symbols
(symbol "Device:C" (pin_numbers hide) (pin_names (offset 0.254)) (in_bom yes) (on_board yes)
(property "Reference" "C" (at 0.635 2.54 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "C" (at 0.635 -2.54 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "" (at 0.9652 -3.81 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "cap capacitor" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Unpolarized capacitor" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_fp_filters" "C_*" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "C_0_1"
(polyline
(pts
(xy -2.032 -0.762)
(xy 2.032 -0.762)
)
(stroke (width 0.508) (type default))
(fill (type none))
)
(polyline
(pts
(xy -2.032 0.762)
(xy 2.032 0.762)
)
(stroke (width 0.508) (type default))
(fill (type none))
)
)
(symbol "C_1_1"
(pin passive line (at 0 3.81 270) (length 2.794)
(name "~" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 0 -3.81 90) (length 2.794)
(name "~" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "Device:R" (pin_numbers hide) (pin_names (offset 0)) (in_bom yes) (on_board yes)
(property "Reference" "R" (at 2.032 0 90)
(effects (font (size 1.27 1.27)))
)
(property "Value" "R" (at 0 0 90)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at -1.778 0 90)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "R res resistor" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Resistor" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_fp_filters" "R_*" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "R_0_1"
(rectangle (start -1.016 -2.54) (end 1.016 2.54)
(stroke (width 0.254) (type default))
(fill (type none))
)
)
(symbol "R_1_1"
(pin passive line (at 0 3.81 270) (length 1.27)
(name "~" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 0 -3.81 90) (length 1.27)
(name "~" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "power:GND" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
(property "Reference" "#PWR" (at 0 -6.35 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (at 0 -3.81 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "global power" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Power symbol creates a global label with name \"GND\" , ground" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "GND_0_1"
(polyline
(pts
(xy 0 0)
(xy 0 -1.27)
(xy 1.27 -1.27)
(xy 0 -2.54)
(xy -1.27 -1.27)
(xy 0 -1.27)
)
(stroke (width 0) (type default))
(fill (type none))
)
)
(symbol "GND_1_1"
(pin power_in line (at 0 0 270) (length 0) hide
(name "GND" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
)
)
)
(junction (at 105.41 63.5) (diameter 0) (color 0 0 0 0)
(uuid c9afa402-f9a8-4ab2-99fd-269212540a76)
)
(wire (pts (xy 105.41 74.93) (xy 105.41 80.01))
(stroke (width 0) (type default))
(uuid 4398fbdb-dff8-4642-a5c8-e446321d4f57)
)
(wire (pts (xy 80.01 63.5) (xy 88.9 63.5))
(stroke (width 0) (type default))
(uuid 46a7dba7-87c6-47c6-81f8-e40d04928797)
)
(wire (pts (xy 105.41 63.5) (xy 105.41 67.31))
(stroke (width 0) (type default))
(uuid 6a5b8b50-4979-46e5-af65-95a746018454)
)
(wire (pts (xy 96.52 63.5) (xy 105.41 63.5))
(stroke (width 0) (type default))
(uuid ae69cf37-4e10-4c1a-8a75-24fd8bbcf604)
)
(wire (pts (xy 105.41 63.5) (xy 114.3 63.5))
(stroke (width 0) (type default))
(uuid fdfabd5a-e0f5-4dbe-a4fa-0d67846f458b)
)
(hierarchical_label "IN" (shape input) (at 80.01 63.5 180) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify right))
(uuid 47142687-eddc-4ef0-af74-ae0c7231769a)
)
(hierarchical_label "OUT" (shape output) (at 114.3 63.5 0) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify left))
(uuid c0c9256c-ff6e-4c03-9546-336766d210dd)
)
(symbol (lib_id "Device:R") (at 92.71 63.5 90) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid 4b2ed0a9-193c-4dcd-952d-dc6aa295a74b)
(property "Reference" "R1" (at 92.71 58.42 90)
(effects (font (size 1.27 1.27)))
)
(property "Value" "100k" (at 92.71 60.96 90)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 92.71 65.278 90)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 92.71 63.5 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid e7d9a469-49c0-499d-aa6d-8a45cb56d259))
(pin "2" (uuid 894b43e0-5977-4ba3-b495-bfcd23f38652))
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/49bdcc4e-2823-4776-aac0-f277d3282fc7"
(reference "R1") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/aafc6b56-bfde-4afa-a6ef-e6ff929a3567"
(reference "R2") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/f526d132-2d8c-4aa7-a506-166671bbad32/4ea64d1f-5820-44f2-a8e7-ebfd678427eb"
(reference "R4") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/7a273ceb-90c2-41c3-886f-c622f777334b/4ea64d1f-5820-44f2-a8e7-ebfd678427eb"
(reference "R6") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/f526d132-2d8c-4aa7-a506-166671bbad32/685b8cad-25ce-4e81-9215-637d908973dc"
(reference "R3") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/7a273ceb-90c2-41c3-886f-c622f777334b/685b8cad-25ce-4e81-9215-637d908973dc"
(reference "R5") (unit 1)
)
)
)
)
(symbol (lib_id "power:GND") (at 105.41 80.01 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid 5f54559d-3976-4b46-a67e-128f3285ecb3)
(property "Reference" "#PWR01" (at 105.41 86.36 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (at 105.41 85.09 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 105.41 80.01 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 105.41 80.01 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid c48b27d2-804f-47fb-a71e-8c365a1a24b1))
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/49bdcc4e-2823-4776-aac0-f277d3282fc7"
(reference "#PWR01") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/aafc6b56-bfde-4afa-a6ef-e6ff929a3567"
(reference "#PWR02") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/f526d132-2d8c-4aa7-a506-166671bbad32/4ea64d1f-5820-44f2-a8e7-ebfd678427eb"
(reference "#PWR06") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/7a273ceb-90c2-41c3-886f-c622f777334b/4ea64d1f-5820-44f2-a8e7-ebfd678427eb"
(reference "#PWR08") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/f526d132-2d8c-4aa7-a506-166671bbad32/685b8cad-25ce-4e81-9215-637d908973dc"
(reference "#PWR05") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/7a273ceb-90c2-41c3-886f-c622f777334b/685b8cad-25ce-4e81-9215-637d908973dc"
(reference "#PWR07") (unit 1)
)
)
)
)
(symbol (lib_id "Device:C") (at 105.41 71.12 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid d0cb8595-f05d-4625-b575-b68f75495f13)
(property "Reference" "C1" (at 109.22 70.485 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "150p" (at 109.22 73.025 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "" (at 106.3752 74.93 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 105.41 71.12 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 1f76fa8f-b54d-4bb0-b197-6f8e3720b6b3))
(pin "2" (uuid 5d294b12-83cb-41c9-9349-3ee48c88f97c))
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/49bdcc4e-2823-4776-aac0-f277d3282fc7"
(reference "C1") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/aafc6b56-bfde-4afa-a6ef-e6ff929a3567"
(reference "C2") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/f526d132-2d8c-4aa7-a506-166671bbad32/4ea64d1f-5820-44f2-a8e7-ebfd678427eb"
(reference "C4") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/7a273ceb-90c2-41c3-886f-c622f777334b/4ea64d1f-5820-44f2-a8e7-ebfd678427eb"
(reference "C6") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/f526d132-2d8c-4aa7-a506-166671bbad32/685b8cad-25ce-4e81-9215-637d908973dc"
(reference "C3") (unit 1)
)
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/7a273ceb-90c2-41c3-886f-c622f777334b/685b8cad-25ce-4e81-9215-637d908973dc"
(reference "C5") (unit 1)
)
)
)
)
)

View File

@ -0,0 +1,64 @@
(kicad_sch (version 20230121) (generator eeschema)
(uuid b55844e1-2ad8-4e96-8c88-aee43f497339)
(paper "A4")
(lib_symbols
)
(sheet (at 134.62 73.66) (size 24.13 12.7) (fields_autoplaced)
(stroke (width 0.1524) (type solid))
(fill (color 0 0 0 0.0000))
(uuid 4ea64d1f-5820-44f2-a8e7-ebfd678427eb)
(property "Sheetname" "Low Pass Filter A1" (at 134.62 72.9484 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
)
(property "Sheetfile" "filter.kicad_sch" (at 134.62 86.9446 0)
(effects (font (size 1.27 1.27)) (justify left top))
)
(pin "OUT" output (at 158.75 80.01 0)
(effects (font (size 1.27 1.27)) (justify right))
(uuid c6331915-9340-4aeb-8eab-7e222fef7d18)
)
(pin "IN" input (at 134.62 80.01 180)
(effects (font (size 1.27 1.27)) (justify left))
(uuid 369a3eb4-b629-4643-b4bf-a4f6d738962c)
)
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a" (page "2"))
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/f526d132-2d8c-4aa7-a506-166671bbad32" (page "7"))
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/7a273ceb-90c2-41c3-886f-c622f777334b" (page "9"))
)
)
)
(sheet (at 134.62 92.71) (size 24.13 12.7) (fields_autoplaced)
(stroke (width 0.1524) (type solid))
(fill (color 0 0 0 0.0000))
(uuid 685b8cad-25ce-4e81-9215-637d908973dc)
(property "Sheetname" "Low Pass Filter B1" (at 134.62 91.9984 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
)
(property "Sheetfile" "filter.kicad_sch" (at 134.62 105.9946 0)
(effects (font (size 1.27 1.27)) (justify left top))
)
(pin "OUT" output (at 158.75 99.06 0)
(effects (font (size 1.27 1.27)) (justify right))
(uuid 446bcd67-0d8a-477f-99e3-d60fe7fdda4c)
)
(pin "IN" input (at 134.62 99.06 180)
(effects (font (size 1.27 1.27)) (justify left))
(uuid d891f93e-d0be-431a-9a1e-0a7f863263cf)
)
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a" (page "3"))
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/f526d132-2d8c-4aa7-a506-166671bbad32" (page "6"))
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a/7a273ceb-90c2-41c3-886f-c622f777334b" (page "8"))
)
)
)
)

View File

@ -0,0 +1,2 @@
(kicad_pcb (version 20221018) (generator pcbnew)
)

View File

@ -0,0 +1,381 @@
(kicad_sch (version 20230121) (generator eeschema)
(uuid f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a)
(paper "A4")
(title_block
(title "Value change, two filters example")
(date "2023-04-25")
(rev "A")
(company "Instituto Nacional de Tecnología Industrial (INTI)")
(comment 1 "KiBot")
)
(lib_symbols
(symbol "Connector:Conn_01x03_Pin" (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes)
(property "Reference" "J" (at 0 5.08 0)
(effects (font (size 1.27 1.27)))
)
(property "Value" "Conn_01x03_Pin" (at 0 -5.08 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_locked" "" (at 0 0 0)
(effects (font (size 1.27 1.27)))
)
(property "ki_keywords" "connector" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Generic connector, single row, 01x03, script generated" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_fp_filters" "Connector*:*_1x??_*" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "Conn_01x03_Pin_1_1"
(polyline
(pts
(xy 1.27 -2.54)
(xy 0.8636 -2.54)
)
(stroke (width 0.1524) (type default))
(fill (type none))
)
(polyline
(pts
(xy 1.27 0)
(xy 0.8636 0)
)
(stroke (width 0.1524) (type default))
(fill (type none))
)
(polyline
(pts
(xy 1.27 2.54)
(xy 0.8636 2.54)
)
(stroke (width 0.1524) (type default))
(fill (type none))
)
(rectangle (start 0.8636 -2.413) (end 0 -2.667)
(stroke (width 0.1524) (type default))
(fill (type outline))
)
(rectangle (start 0.8636 0.127) (end 0 -0.127)
(stroke (width 0.1524) (type default))
(fill (type outline))
)
(rectangle (start 0.8636 2.667) (end 0 2.413)
(stroke (width 0.1524) (type default))
(fill (type outline))
)
(pin passive line (at 5.08 2.54 180) (length 3.81)
(name "Pin_1" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 5.08 0 180) (length 3.81)
(name "Pin_2" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 5.08 -2.54 180) (length 3.81)
(name "Pin_3" (effects (font (size 1.27 1.27))))
(number "3" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "power:GND" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
(property "Reference" "#PWR" (at 0 -6.35 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (at 0 -3.81 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "global power" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Power symbol creates a global label with name \"GND\" , ground" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "GND_0_1"
(polyline
(pts
(xy 0 0)
(xy 0 -1.27)
(xy 1.27 -1.27)
(xy 0 -2.54)
(xy -1.27 -1.27)
(xy 0 -1.27)
)
(stroke (width 0) (type default))
(fill (type none))
)
)
(symbol "GND_1_1"
(pin power_in line (at 0 0 270) (length 0) hide
(name "GND" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
)
)
)
(wire (pts (xy 139.7 82.55) (xy 152.4 82.55))
(stroke (width 0) (type default))
(uuid 1350f38a-f6a6-4b42-bfd9-c0a1c919bb25)
)
(wire (pts (xy 110.49 101.6) (xy 115.57 101.6))
(stroke (width 0) (type default))
(uuid 13c148bb-b5d2-418c-80e0-0e34355d5560)
)
(wire (pts (xy 146.05 101.6) (xy 139.7 101.6))
(stroke (width 0) (type default))
(uuid 289b27bb-e04b-473d-953e-73cff56801a6)
)
(wire (pts (xy 104.14 87.63) (xy 104.14 90.17))
(stroke (width 0) (type default))
(uuid 5c965a6e-462d-4ea5-9c96-0eaf68519783)
)
(wire (pts (xy 146.05 85.09) (xy 146.05 101.6))
(stroke (width 0) (type default))
(uuid 633c6fb4-1c5b-4e5c-b514-1ce3197687bd)
)
(wire (pts (xy 149.86 87.63) (xy 149.86 90.17))
(stroke (width 0) (type default))
(uuid 7d5274e9-ae56-4772-b3ef-2267970e6320)
)
(wire (pts (xy 101.6 82.55) (xy 115.57 82.55))
(stroke (width 0) (type default))
(uuid 8733965b-9b90-41ce-943f-e89c7a4fbbda)
)
(wire (pts (xy 152.4 85.09) (xy 146.05 85.09))
(stroke (width 0) (type default))
(uuid 88f18cc6-de48-42dc-b8e1-7a4866c3c744)
)
(wire (pts (xy 152.4 87.63) (xy 149.86 87.63))
(stroke (width 0) (type default))
(uuid a91a5e43-5aef-4c38-bb19-a12737684d95)
)
(wire (pts (xy 101.6 85.09) (xy 110.49 85.09))
(stroke (width 0) (type default))
(uuid c9ce41e6-fab2-4108-8805-ad38cdf72a55)
)
(wire (pts (xy 110.49 85.09) (xy 110.49 101.6))
(stroke (width 0) (type default))
(uuid e80a831d-085e-404b-9209-4eefec66ff47)
)
(wire (pts (xy 101.6 87.63) (xy 104.14 87.63))
(stroke (width 0) (type default))
(uuid ffdb6f52-c019-450b-b8aa-e021401ab3df)
)
(text "Test for sheet reuse. Not a real life circuit.\nThis is a more complex case of \"shared_page_value_change\"\nWe'll change C2 and C4 from 150 pF to 220 pF\nAnd also C5 from 150 pF to 330 pF"
(at 13.97 38.1 0)
(effects (font (size 3.8 3.8)) (justify left bottom))
(uuid 5f7d1d79-cbc2-45b6-a5c4-5c2fa6e514fc)
)
(symbol (lib_id "power:GND") (at 149.86 90.17 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid 7b9e2a15-2358-4c6b-b49d-edbec568653e)
(property "Reference" "#PWR03" (at 149.86 96.52 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (at 149.86 95.25 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 149.86 90.17 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 149.86 90.17 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 48a25b00-604e-4a9c-abfd-02903294c6d0))
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a"
(reference "#PWR03") (unit 1)
)
)
)
)
(symbol (lib_id "Connector:Conn_01x03_Pin") (at 96.52 85.09 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid ac7adf8a-4abb-4c14-91fe-21a7cf50ef66)
(property "Reference" "J1" (at 96.52 80.01 0)
(effects (font (size 1.27 1.27)))
)
(property "Value" "Input" (at 96.52 90.17 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 96.52 85.09 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 96.52 85.09 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 6c147ead-140b-4bbf-9e69-b760a61017c2))
(pin "2" (uuid 6e3aa771-dca2-4deb-8444-d095f95947f3))
(pin "3" (uuid f86afc52-fd58-4c90-9e47-1a0cad166440))
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a"
(reference "J1") (unit 1)
)
)
)
)
(symbol (lib_id "Connector:Conn_01x03_Pin") (at 157.48 85.09 0) (mirror y) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid c9080e06-601c-4631-8a1b-4163f4ae6459)
(property "Reference" "J2" (at 156.21 80.01 0)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Value" "Output" (at 153.67 90.17 0)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Footprint" "" (at 157.48 85.09 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 157.48 85.09 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 19f84772-4564-4c76-ad8f-fed3d412f2be))
(pin "2" (uuid efd4b35e-df90-40e0-ac5c-cacbc2ad0c05))
(pin "3" (uuid 563c2d6c-002e-42a7-91d6-21001bd89be5))
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a"
(reference "J2") (unit 1)
)
)
)
)
(symbol (lib_id "power:GND") (at 104.14 90.17 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid eca2c120-aafd-480b-93f5-44d2f699f880)
(property "Reference" "#PWR04" (at 104.14 96.52 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (at 104.14 95.25 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 104.14 90.17 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 104.14 90.17 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 2de78699-cc01-4acd-8178-624baa10b398))
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a"
(reference "#PWR04") (unit 1)
)
)
)
)
(sheet (at 115.57 76.2) (size 24.13 12.7) (fields_autoplaced)
(stroke (width 0.1524) (type solid))
(fill (color 0 0 0 0.0000))
(uuid 49bdcc4e-2823-4776-aac0-f277d3282fc7)
(property "Sheetname" "Low Pass Filter A" (at 115.57 75.4884 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
)
(property "Sheetfile" "filter.kicad_sch" (at 115.57 89.4846 0)
(effects (font (size 1.27 1.27)) (justify left top))
)
(pin "OUT" output (at 139.7 82.55 0)
(effects (font (size 1.27 1.27)) (justify right))
(uuid 3ba6ac20-d31f-4be7-a714-a2cb67559a30)
)
(pin "IN" input (at 115.57 82.55 180)
(effects (font (size 1.27 1.27)) (justify left))
(uuid bda600b0-2825-454d-9370-ef55abf6c950)
)
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a" (page "2"))
)
)
)
(sheet (at 177.8 96.52) (size 25.4 12.7) (fields_autoplaced)
(stroke (width 0.1524) (type solid))
(fill (color 0 0 0 0.0000))
(uuid 7a273ceb-90c2-41c3-886f-c622f777334b)
(property "Sheetname" "Group 2" (at 177.8 95.8084 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
)
(property "Sheetfile" "group.kicad_sch" (at 177.8 109.8046 0)
(effects (font (size 1.27 1.27)) (justify left top))
)
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a" (page "5"))
)
)
)
(sheet (at 115.57 95.25) (size 24.13 12.7) (fields_autoplaced)
(stroke (width 0.1524) (type solid))
(fill (color 0 0 0 0.0000))
(uuid aafc6b56-bfde-4afa-a6ef-e6ff929a3567)
(property "Sheetname" "Low Pass Filter B" (at 115.57 94.5384 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
)
(property "Sheetfile" "filter.kicad_sch" (at 115.57 108.5346 0)
(effects (font (size 1.27 1.27)) (justify left top))
)
(pin "OUT" output (at 139.7 101.6 0)
(effects (font (size 1.27 1.27)) (justify right))
(uuid 8abdac35-edd2-4be0-b815-a3a24b90a875)
)
(pin "IN" input (at 115.57 101.6 180)
(effects (font (size 1.27 1.27)) (justify left))
(uuid caa70085-057f-4713-b57e-8a922880c1b7)
)
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a" (page "3"))
)
)
)
(sheet (at 177.8 76.2) (size 25.4 12.7) (fields_autoplaced)
(stroke (width 0.1524) (type solid))
(fill (color 0 0 0 0.0000))
(uuid f526d132-2d8c-4aa7-a506-166671bbad32)
(property "Sheetname" "Group 1" (at 177.8 75.4884 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
)
(property "Sheetfile" "group.kicad_sch" (at 177.8 89.4846 0)
(effects (font (size 1.27 1.27)) (justify left top))
)
(instances
(project "value_change"
(path "/f41402a7-f3c6-4f55-a71c-c7fa34cf9d1a" (page "4"))
)
)
)
(sheet_instances
(path "/" (page "1"))
)
)

View File

@ -99,7 +99,7 @@ MERGED_COMPS = ['A:R1-A:R3', 'A:C1', 'A:C2', 'B:R1', 'B:R2-B:R4', 'B:C1', 'B:C2'
MERGED_R1_SRC = 'A:(3) B:(3) C:(1)'
def check_kibom_test_netlist(rows, ref_column, groups, exclude, comps, ref_sep=' '):
def check_kibom_test_netlist(rows, ref_column, groups, exclude, comps, ref_sep=' ', vals=None, val_column=None):
""" Checks the kibom-test.sch expected results """
# Groups
assert len(rows) == groups, "Number of groups"
@ -107,8 +107,11 @@ def check_kibom_test_netlist(rows, ref_column, groups, exclude, comps, ref_sep='
# Components
if comps:
components = []
comp_vals = {}
for r in rows:
components.extend(r[ref_column].split(ref_sep))
if val_column:
comp_vals[r[ref_column]] = r[val_column]
assert len(components) == len(comps), "Number of components"
logging.debug(str(len(comps)) + " components OK")
# Excluded
@ -121,6 +124,12 @@ def check_kibom_test_netlist(rows, ref_column, groups, exclude, comps, ref_sep='
for c in comps:
assert c in components
logging.debug("list of components OK")
# Check values
if vals:
for r, v in vals.items():
assert r in comp_vals
assert v == comp_vals[r]
logging.debug("component values OK")
def check_dnc(rows, comp, ref, status, datasheet=None):
@ -1746,3 +1755,29 @@ def test_int_bom_subparts_3(test_dir):
ctx.expect_out_file(output)
ctx.compare_txt(output, 'subparts-bom.csv')
ctx.clean_up()
@pytest.mark.skipif(not context.ki7(), reason="Target is v7")
def test_value_change_1(test_dir):
prj = 'value_change'
ctx = context.TestContextSCH(test_dir, 'shared_page_value_change/'+prj, 'value_change_1', 'BoM')
ctx.run()
rows, header, info = ctx.load_csv(prj+'-bom_different_filters.csv')
ref_column = header.index(REF_COLUMN_NAME)
check_kibom_test_netlist(rows, ref_column, 4, None, ['C1', 'C2', 'J1', 'J2', 'R1', 'R2'],
vals={'C1': '150p', 'C2': '220p'}, val_column=header.index('Value'))
ctx.clean_up()
@pytest.mark.skipif(not context.ki7(), reason="Target is v7")
def test_value_change_2(test_dir):
prj = 'value_change'
ctx = context.TestContextSCH(test_dir, 'shared_page_value_change_complex/'+prj, 'value_change_2', 'BoM')
ctx.run()
rows, header, info = ctx.load_csv(prj+'-bom_different_filters.csv')
ref_column = header.index(REF_COLUMN_NAME)
check_kibom_test_netlist(rows, ref_column, 5, None,
['C1', 'C2', 'C3', 'C4', 'C5', 'C6', 'J1', 'J2', 'R1', 'R2', 'R3', 'R4', 'R5', 'R6'],
vals={'C1 C3 C6': '150p', 'C2 C4': '220p', 'C5': '330p'},
val_column=header.index('Value'))
ctx.clean_up()

View File

@ -0,0 +1,44 @@
# Example KiBot config file
kibot:
version: 1
filters:
- name: match_C2
comment: 'A filter to select C2'
type: generic
invert: true
exclude_refs: [C2]
- name: change_C2
comment: 'Transform C2 value'
type: field_modify
fields: Value
include: match_C2
regex: 150p
replace: 220p
variants:
- name: filter_change
comment: 'Changes C2 to 220 pF'
type: kibom
file_id: '_different_filters'
pre_transform: change_C2
global:
variant: filter_change
outputs:
- name: create_sch
comment: "Apply the variant to the Schematic"
type: sch_variant
dir: Modified
options:
copy_project: true
- name: bom_internal
comment: "Bill of Materials in CSV format"
type: bom
dir: BoM
options:
csv:
hide_stats_info: true

View File

@ -0,0 +1,58 @@
# Example KiBot config file
kibot:
version: 1
filters:
- name: match_C2_4
comment: 'A filter to select C2 and C4'
type: generic
invert: true
exclude_refs: [C2, C4]
- name: match_C5
comment: 'A filter to select C5'
type: generic
invert: true
exclude_refs: [C5]
- name: change_C2_4
comment: 'Transform C2 and C4 values'
type: field_modify
fields: Value
include: match_C2_4
regex: 150p
replace: 220p
- name: change_C5
comment: 'Transform C5 value'
type: field_modify
fields: Value
include: match_C5
regex: 150p
replace: 330p
variants:
- name: filter_change
comment: 'Changes C2 and C4 to 220 pF, C5 to 330 pF'
type: kibom
file_id: '_different_filters'
pre_transform: [change_C2_4, change_C5]
global:
variant: filter_change
outputs:
- name: create_sch
comment: "Apply the variant to the Schematic"
type: sch_variant
dir: Modified
options:
copy_project: true
- name: bom_internal
comment: "Bill of Materials in CSV format"
type: bom
dir: BoM
options:
csv:
hide_stats_info: true