(kicad_sch (version 20231120) (generator "eeschema") (generator_version "9.0") (paper "A4") (title_block (title "Sistema de Riego — Diagrama de cableado") (date "2026-05-12") (rev "1") (company "Proyecto Riego ESP8266")) (lib_symbols (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)))) (symbol "R_0_1" (rectangle (start -1.016 -2.032) (end 1.016 2.032) (stroke (width 0.254) (type default)) (fill (type none)))) (symbol "R_1_1" (pin passive (at 0 3.81 270) (length 1.778) (name "~" (effects (font (size 1.27 1.27)))) (number "1" (effects (font (size 1.27 1.27))))) (pin passive (at 0 -3.81 90) (length 1.778) (name "~" (effects (font (size 1.27 1.27)))) (number "2" (effects (font (size 1.27 1.27))))))) (symbol "Connector_Generic:Conn_01x04" (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes) (property "Reference" "J" (at 0.8636 0 90) (effects (font (size 1.27 1.27)))) (property "Value" "Conn_01x04" (at 2.2 0 90) (effects (font (size 1.27 1.27)))) (symbol "Conn_01x04_0_1" (rectangle (start -1.27 -5.08) (end 0 7.62) (stroke (width 0.254) (type default)) (fill (type background)))) (symbol "Conn_01x04_1_1" (pin passive (at -5.08 7.62 0) (length 3.81) (name "Pin_1" (effects (font (size 1.27 1.27)))) (number "1" (effects (font (size 1.27 1.27))))) (pin passive (at -5.08 5.08 0) (length 3.81) (name "Pin_2" (effects (font (size 1.27 1.27)))) (number "2" (effects (font (size 1.27 1.27))))) (pin passive (at -5.08 2.54 0) (length 3.81) (name "Pin_3" (effects (font (size 1.27 1.27)))) (number "3" (effects (font (size 1.27 1.27))))) (pin passive (at -5.08 0 0) (length 3.81) (name "Pin_4" (effects (font (size 1.27 1.27)))) (number "4" (effects (font (size 1.27 1.27))))))) (symbol "Connector_Generic:Conn_01x02" (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes) (property "Reference" "J" (at 0.8636 0 90) (effects (font (size 1.27 1.27)))) (property "Value" "Conn_01x02" (at 2.2 0 90) (effects (font (size 1.27 1.27)))) (symbol "Conn_01x02_0_1" (rectangle (start -1.27 -2.54) (end 0 2.54) (stroke (width 0.254) (type default)) (fill (type background)))) (symbol "Conn_01x02_1_1" (pin passive (at -5.08 2.54 0) (length 3.81) (name "Pin_1" (effects (font (size 1.27 1.27)))) (number "1" (effects (font (size 1.27 1.27))))) (pin passive (at -5.08 0 0) (length 3.81) (name "Pin_2" (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 no) (on_board no) (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)))) (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 (at 0 0 270) (length 0) (name "~" (effects (font (size 1.27 1.27)))) (number "1" (effects (font (size 1.27 1.27))))))) (symbol "power:+5V" (power) (pin_names (offset 0)) (in_bom no) (on_board no) (property "Reference" "#PWR" (at 0 3.81 0) (effects (font (size 1.27 1.27)) hide)) (property "Value" "+5V" (at 0 3.81 0) (effects (font (size 1.27 1.27)))) (symbol "+5V_0_1" (polyline (pts (xy -0.762 1.27) (xy 0 2.54) (xy 0.762 1.27)) (stroke (width 0) (type default)) (fill (type none))) (polyline (pts (xy 0 0) (xy 0 2.54)) (stroke (width 0) (type default)) (fill (type none)))) (symbol "+5V_1_1" (pin power_in (at 0 0 270) (length 0) (name "~" (effects (font (size 1.27 1.27)))) (number "1" (effects (font (size 1.27 1.27)))))))) (symbol (lib_id "Connector_Generic:Conn_01x04") (at 195.00 100.00 0) (unit 1) (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (uuid "be8f3162-6255-4e12-9b7b-de1da60176b6") (property "Reference" "J1" (at 197.00 100.00 90) (effects (font (size 1.27 1.27)))) (property "Value" "HC-SR04" (at 199.00 100.00 90) (effects (font (size 1.27 1.27)))) (property "Footprint" "" (at 195.00 100.00 0) (effects (font (size 1.27 1.27)) hide)) (property "Datasheet" "" (at 195.00 100.00 0) (effects (font (size 1.27 1.27)) hide)) (pin "1" (uuid "0b010536-305c-467d-97c8-eea55605001f")) (pin "2" (uuid "2b34d9d4-36a2-4c3b-b051-8ec179037f2e")) (pin "3" (uuid "09b79f25-21ce-40ad-aeed-6ff236604c05")) (pin "4" (uuid "9c43246e-5b57-429d-8b0f-8bd1869d1829"))) (symbol (lib_id "Connector_Generic:Conn_01x02") (at 195.00 140.00 0) (unit 1) (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (uuid "584a23c6-4c1f-471b-b2bd-1039063311b3") (property "Reference" "J2" (at 197.00 140.00 90) (effects (font (size 1.27 1.27)))) (property "Value" "Relay_IN1" (at 199.00 140.00 90) (effects (font (size 1.27 1.27)))) (property "Footprint" "" (at 195.00 140.00 0) (effects (font (size 1.27 1.27)) hide)) (property "Datasheet" "" (at 195.00 140.00 0) (effects (font (size 1.27 1.27)) hide)) (pin "1" (uuid "aa70a444-842a-416f-8c16-185a092a2e11")) (pin "2" (uuid "16066025-ade0-48a3-8722-ce2c53f45081"))) (symbol (lib_id "Device:R") (at 110.00 95.00 90) (unit 1) (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (uuid "a766739a-96d3-4054-8dba-2aa8d4b53627") (property "Reference" "R1" (at 110.00 92.50 0) (effects (font (size 1.27 1.27)))) (property "Value" "2.2k" (at 110.00 95.00 0) (effects (font (size 1.27 1.27)))) (property "Footprint" "" (at 110.00 95.00 0) (effects (font (size 1.27 1.27)) hide)) (property "Datasheet" "~" (at 110.00 95.00 0) (effects (font (size 1.27 1.27)) hide)) (pin "1" (uuid "325ad420-851d-45be-b3fd-032ef7495bf1")) (pin "2" (uuid "5fd2e7a3-b2ab-4517-aaf8-ae3b9eb401ed"))) (symbol (lib_id "Device:R") (at 110.00 105.00 90) (unit 1) (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (uuid "63b6dcf3-9268-4ab6-b2e5-9ba1601f99a0") (property "Reference" "R2" (at 110.00 102.50 0) (effects (font (size 1.27 1.27)))) (property "Value" "2.2k" (at 110.00 105.00 0) (effects (font (size 1.27 1.27)))) (property "Footprint" "" (at 110.00 105.00 0) (effects (font (size 1.27 1.27)) hide)) (property "Datasheet" "~" (at 110.00 105.00 0) (effects (font (size 1.27 1.27)) hide)) (pin "1" (uuid "f223134b-df60-4c41-86a6-ae8f2f445b67")) (pin "2" (uuid "e0da1527-4401-4d94-b75c-57058201c38f"))) (symbol (lib_id "Device:R") (at 118.81 103.81 0) (unit 1) (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (uuid "556e73db-10ff-48af-adbd-f022b500031b") (property "Reference" "R3" (at 120.84 103.81 90) (effects (font (size 1.27 1.27)))) (property "Value" "2.2k" (at 118.81 103.81 90) (effects (font (size 1.27 1.27)))) (property "Footprint" "" (at 118.81 103.81 0) (effects (font (size 1.27 1.27)) hide)) (property "Datasheet" "~" (at 118.81 103.81 0) (effects (font (size 1.27 1.27)) hide)) (pin "1" (uuid "cc06e2f5-dc9d-4d72-ad44-885cd556d726")) (pin "2" (uuid "3506333f-0646-4331-8f2c-955cc74f3131"))) (symbol (lib_id "power:+5V") (at 189.92 92.38 0) (unit 1) (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (uuid "b2d9147c-5710-4eaf-9016-df69a395e8f7") (property "Reference" "#PWR01" (at 189.92 92.38 0) (effects (font (size 1.27 1.27)) hide)) (property "Value" "+5V" (at 189.92 88.57 0) (effects (font (size 1.27 1.27)))) (property "Footprint" "" (at 189.92 92.38 0) (effects (font (size 1.27 1.27)) hide)) (property "Datasheet" "" (at 189.92 92.38 0) (effects (font (size 1.27 1.27)) hide)) (pin "1" (uuid "7d8d9177-ec88-48a1-aa94-3540e8dcf426"))) (symbol (lib_id "power:GND") (at 189.92 94.92 0) (unit 1) (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (uuid "7133ebf9-d4f0-42a0-a10c-c1e4616cae99") (property "Reference" "#PWR02" (at 189.92 94.92 0) (effects (font (size 1.27 1.27)) hide)) (property "Value" "GND" (at 189.92 98.73 0) (effects (font (size 1.27 1.27)))) (property "Footprint" "" (at 189.92 94.92 0) (effects (font (size 1.27 1.27)) hide)) (property "Datasheet" "" (at 189.92 94.92 0) (effects (font (size 1.27 1.27)) hide)) (pin "1" (uuid "8a3ad7c9-47e8-487d-947e-02dc8b4f1495"))) (symbol (lib_id "power:GND") (at 118.81 107.62 0) (unit 1) (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (uuid "ab298083-93e7-4f57-a3d2-ac9ef37b048e") (property "Reference" "#PWR03" (at 118.81 107.62 0) (effects (font (size 1.27 1.27)) hide)) (property "Value" "GND" (at 118.81 111.43 0) (effects (font (size 1.27 1.27)))) (property "Footprint" "" (at 118.81 107.62 0) (effects (font (size 1.27 1.27)) hide)) (property "Datasheet" "" (at 118.81 107.62 0) (effects (font (size 1.27 1.27)) hide)) (pin "1" (uuid "3efe9c60-1783-4504-8dfd-a7f448797f67"))) (symbol (lib_id "power:GND") (at 189.92 140.00 0) (unit 1) (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (uuid "e5d5148f-9835-4a1a-970c-6bf37b071fa0") (property "Reference" "#PWR04" (at 189.92 140.00 0) (effects (font (size 1.27 1.27)) hide)) (property "Value" "GND" (at 189.92 143.81 0) (effects (font (size 1.27 1.27)))) (property "Footprint" "" (at 189.92 140.00 0) (effects (font (size 1.27 1.27)) hide)) (property "Datasheet" "" (at 189.92 140.00 0) (effects (font (size 1.27 1.27)) hide)) (pin "1" (uuid "e87e5f8b-e7d9-434d-8f85-bd8e38baa2b8"))) (symbol (lib_id "power:+5V") (at 200.00 132.46 0) (unit 1) (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (uuid "d9b5641a-16d0-43f5-be7b-987a9c26eb99") (property "Reference" "#PWR05" (at 200.00 132.46 0) (effects (font (size 1.27 1.27)) hide)) (property "Value" "+5V" (at 200.00 128.65 0) (effects (font (size 1.27 1.27)))) (property "Footprint" "" (at 200.00 132.46 0) (effects (font (size 1.27 1.27)) hide)) (property "Datasheet" "" (at 200.00 132.46 0) (effects (font (size 1.27 1.27)) hide)) (pin "1" (uuid "1a93679d-b14e-449b-b763-b7769dc86ee7"))) (wire (pts (xy 103.65 95.00) (xy 106.19 95.00)) (stroke (width 0) (type default)) (uuid "ccf67b0b-ca30-4bd0-adb0-b68958741ff2")) (wire (pts (xy 103.65 105.00) (xy 106.19 105.00)) (stroke (width 0) (type default)) (uuid "904fc78f-df99-4296-a2f9-f344c5d8a1e4")) (wire (pts (xy 103.65 95.00) (xy 103.65 105.00)) (stroke (width 0) (type default)) (uuid "f2d85eb0-6279-437f-ad52-56c32b94adc7")) (wire (pts (xy 113.81 95.00) (xy 118.81 95.00)) (stroke (width 0) (type default)) (uuid "21168f7b-7985-488d-a6aa-887ad0425f38")) (wire (pts (xy 113.81 105.00) (xy 118.81 105.00)) (stroke (width 0) (type default)) (uuid "8e8637be-88bd-48fa-a83d-978638fc7c03")) (wire (pts (xy 118.81 95.00) (xy 118.81 105.00)) (stroke (width 0) (type default)) (uuid "4ffae2ac-100d-4689-8bff-c00661e6a238")) (junction (at 118.81 100.00) (diameter 0) (color 0 0 0 0) (uuid "487ca348-d229-4051-bd8b-69cbd1050d22")) (wire (pts (xy 118.81 100.00) (xy 189.92 100.00)) (stroke (width 0) (type default)) (uuid "34527297-f3b1-4766-b9fc-105032e2d314")) (junction (at 118.81 100.00) (diameter 0) (color 0 0 0 0) (uuid "fbe47895-a4dd-4760-9f99-6c5aeaf4619b")) (wire (pts (xy 70.00 97.46) (xy 189.92 97.46)) (stroke (width 0) (type default)) (uuid "ecc9db0b-6ab8-4cf0-b0cc-71b478386373")) (wire (pts (xy 70.00 137.46) (xy 189.92 137.46)) (stroke (width 0) (type default)) (uuid "28a4f960-8e1c-4a3c-a279-dc65a64fdfcb")) (wire (pts (xy 70.00 95.00) (xy 103.65 95.00)) (stroke (width 0) (type default)) (uuid "71e12727-2032-4068-85e5-1b298f49077f")) (wire (pts (xy 70.00 97.46) (xy 70.00 137.46)) (stroke (width 0) (type default)) (uuid "c03f0260-65d5-4c5b-91e8-777ebdb6f4a9")) (label "D5/GPIO14" (at 70.00 97.46 180) (fields_autoplaced) (effects (font (size 1.27 1.27))) (uuid "7a250f26-5161-4c6d-a7cf-c0050c80a7ef")) (label "D1/GPIO5" (at 70.00 137.46 180) (fields_autoplaced) (effects (font (size 1.27 1.27))) (uuid "4a019118-72cd-49d2-a7e6-2d997f8199e1")) (label "D2/GPIO4" (at 70.00 95.00 180) (fields_autoplaced) (effects (font (size 1.27 1.27))) (uuid "3c216499-4df2-49d7-b6a0-83ae3e94f872")) (label "D5/GPIO14" (at 189.92 97.46 0) (fields_autoplaced) (effects (font (size 1.27 1.27))) (uuid "14d916fc-d5d2-4bcd-bd40-73516a943334")) (label "D1/GPIO5" (at 189.92 137.46 0) (fields_autoplaced) (effects (font (size 1.27 1.27))) (uuid "c2a656c7-3101-4f79-8697-0c899685a59a")) (text "NodeMCU ESP8266" (at 35.00 77.46 0) (fields_autoplaced) (effects (font (size 1.5 1.5) bold)) (uuid "06ced807-2d1c-4536-91d5-ed9b7990c4d9")) (text "D5 → GPIO14" (at 35.00 83.46 0) (fields_autoplaced) (effects (font (size 1.27 1.27))) (uuid "f812cc2d-2807-46ef-b811-8d57c3cb34d5")) (text "D2 → GPIO4" (at 35.00 87.46 0) (fields_autoplaced) (effects (font (size 1.27 1.27))) (uuid "4d4f96b8-9763-4180-a04b-5aba59e9c4f7")) (text "D1 → GPIO5" (at 35.00 91.46 0) (fields_autoplaced) (effects (font (size 1.27 1.27))) (uuid "cb4f4dcf-b691-4edd-afb3-c00c820a6da5")) (text "GND (común fuente ext.)" (at 35.00 99.46 0) (fields_autoplaced) (effects (font (size 1.27 1.27))) (uuid "5d3fafce-284f-4d68-bb79-294458bdc0d3")) (text "R1 ∥ R2 = 1.1kΩ (divisor superior)" (at 90.00 86.00 0) (fields_autoplaced) (effects (font (size 1.0 1.0))) (uuid "19e3e427-0541-444a-b8df-a1900ea41cb4")) (text "R3 = 2.2kΩ (divisor inferior)" (at 121.81 103.81 0) (fields_autoplaced) (effects (font (size 1.0 1.0))) (uuid "c3c20e39-7bf0-4b9e-86c9-7fb495125fdd")) (text "Echo 5V → 3.3V" (at 121.81 108.81 0) (fields_autoplaced) (effects (font (size 1.0 1.0))) (uuid "64fcb1bd-7e9d-42c9-81ad-623850878006")) (text "HC-SR04" (at 197.00 90.00 0) (fields_autoplaced) (effects (font (size 1.5 1.5) bold)) (uuid "2ecd3679-4bf3-4b13-95e2-685d8069c33a")) (text "Pin 1: VCC" (at 197.00 92.38 0) (fields_autoplaced) (effects (font (size 1.27 1.27))) (uuid "628d7cd3-9d28-4318-b8d5-210e89d8689d")) (text "Pin 2: GND" (at 197.00 94.92 0) (fields_autoplaced) (effects (font (size 1.27 1.27))) (uuid "fe906e5d-0dae-4a46-9576-21c8139867ac")) (text "Pin 3: Trig" (at 197.00 97.46 0) (fields_autoplaced) (effects (font (size 1.27 1.27))) (uuid "3f4c96c9-63a3-4caf-9a3a-e1ee2cb27c3e")) (text "Pin 4: Echo" (at 197.00 100.00 0) (fields_autoplaced) (effects (font (size 1.27 1.27))) (uuid "ba970075-be03-4c31-bbe7-fa147c016ac8")) (text "SunFounder 8 Relay" (at 197.00 130.00 0) (fields_autoplaced) (effects (font (size 1.5 1.5) bold)) (uuid "13e7af34-24e2-461d-90eb-0cbc8a5aa2e0")) (text "Pin 1: IN1 (lógica LOW activa)" (at 197.00 133.00 0) (fields_autoplaced) (effects (font (size 1.27 1.27))) (uuid "17a91afd-1ae6-4cb7-b5db-72389cc8719a")) (text "Pin 2: GND" (at 197.00 136.00 0) (fields_autoplaced) (effects (font (size 1.27 1.27))) (uuid "063e1379-8481-4844-836c-881d28d19cfe")) (text "+5V externo a VCC del relay" (at 197.00 139.00 0) (fields_autoplaced) (effects (font (size 1.27 1.27))) (uuid "0f14b1a1-3cf1-44b3-ad9b-913d4521c615")) (sheet_instances (path "/" (page "1"))) )