{
  "version": 1,
  "author": "Maverick",
  "editor": "wokwi",
  "parts": [
    { "type": "wokwi-esp32-devkit-v1", "id": "esp", "top": -44.09, "left": 98.87, "attrs": {} },
    { "type": "chip-ammonia_sensor", "id": "chip1", "top": 159.39, "left": 285.32, "attrs": {} },
    { "type": "chip-so2_sensor", "id": "chip2", "top": 95.8, "left": 280.12, "attrs": {} },
    { "type": "chip-co2_sensor", "id": "chip3", "top": 214.32, "left": 285.32, "attrs": {} },
    {
      "type": "wokwi-lcd1602",
      "id": "lcd1",
      "top": -75.58,
      "left": 249.12,
      "attrs": { "pins": "i2c" }
    },
    { "type": "wokwi-relay-module", "id": "relay1", "top": 350.46, "left": 254.15, "attrs": {} },
    {
      "type": "wokwi-led",
      "id": "led1",
      "top": 355.58,
      "left": 427.62,
      "attrs": { "color": "yellow" }
    },
    {
      "type": "wokwi-led",
      "id": "led2",
      "top": -38.41,
      "left": 657.1,
      "attrs": { "color": "limegreen" }
    },
    {
      "type": "wokwi-led",
      "id": "led3",
      "top": -32.88,
      "left": 569.3,
      "attrs": { "color": "red" }
    },
    {
      "type": "wokwi-text",
      "id": "text",
      "top": 303.7,
      "left": 471.33,
      "attrs": { "text": "Lime Valve Indicator" }
    },
    {
      "type": "wokwi-text",
      "id": "text1",
      "top": -67.13,
      "left": 599.71,
      "attrs": { "text": "Alert LEDS" }
    },
    { "type": "wokwi-relay-module", "id": "relay2", "top": 284.37, "left": 254.67, "attrs": {} },
    { "type": "wokwi-relay-module", "id": "relay3", "top": 422.35, "left": 256.54, "attrs": {} },
    {
      "type": "wokwi-led",
      "id": "led4",
      "top": 286.12,
      "left": 421.63,
      "attrs": { "color": "magenta" }
    },
    {
      "type": "wokwi-led",
      "id": "led5",
      "top": 430.46,
      "left": 422.32,
      "attrs": { "color": "cyan" }
    },
    {
      "type": "wokwi-text",
      "id": "text2",
      "top": 441.05,
      "left": 470.88,
      "attrs": { "text": "DeSulfur Valve Indicator" }
    },
    {
      "type": "wokwi-text",
      "id": "text3",
      "top": 366.39,
      "left": 472.65,
      "attrs": { "text": "CCSS Valve Indicator" }
    }
  ],
  "connections": [
    [ "lcd1:SCL", "esp:D22", "#8f4814", [ "h0" ] ],
    [ "lcd1:SDA", "esp:D23", "blue", [ "h0" ] ],
    [ "lcd1:GND", "esp:GND.1", "black", [ "h-26.12", "v148.49" ] ],
    [ "esp:3V3", "lcd1:VCC", "red", [ "v0.15", "h17.3", "v-148.64" ] ],
    [ "chip1:GND", "esp:GND.1", "black", [ "h-61.39", "v-63.06" ] ],
    [ "chip1:VCC", "esp:3V3", "red", [ "h-71.18", "v1.57" ] ],
    [ "chip1:A0", "esp:D34", "green", [ "h-57.33", "v41.75", "h-171.51", "v-219.91" ] ],
    [ "relay1:VCC", "esp:VIN", "red", [ "h0" ] ],
    [ "relay1:GND", "esp:GND.2", "black", [ "h-166.12", "v-78.36" ] ],
    [ "relay1:IN", "esp:D19", "green", [ "h-17", "v-360.75" ] ],
    [ "relay1:COM", "esp:VIN", "green", [ "v20.23", "h-301.94", "v-286.28" ] ],
    [ "led1:A", "relay1:NO", "green", [ "v0" ] ],
    [ "led1:C", "esp:GND.1", "green", [ "v8.41", "h-202.16", "v-301.08" ] ],
    [ "led2:C", "esp:GND.1", "green", [ "v95.63", "h-458.07" ] ],
    [ "led2:A", "esp:D18", "green", [ "v86.47", "h-424.38", "v9.92" ] ],
    [ "led3:C", "esp:GND.1", "green", [ "v65.69", "h-370.27" ] ],
    [ "led3:A", "esp:D5", "green", [ "v71.79", "h-380.27" ] ],
    [ "chip3:GND", "esp:GND.1", "black", [ "h-62.25", "v-117.99" ] ],
    [ "chip3:VCC", "esp:3V3", "red", [ "h-71.78", "v-118.09" ] ],
    [ "chip2:GND", "esp:GND.1", "black", [ "h-45.07", "v54.24" ] ],
    [ "chip2:VCC", "esp:3V3", "red", [ "h-41.2", "v54.14" ] ],
    [ "esp:D32", "chip2:A0", "green", [ "h-22.84", "v128.55", "h206.25", "v6.93", "h-2.36" ] ],
    [ "chip3:A0", "esp:D35", "green", [ "h-213.41", "v-223.29" ] ],
    [ "led4:A", "relay2:NO", "green", [ "v0" ] ],
    [ "led5:A", "relay3:NO", "green", [ "v0" ] ],
    [ "relay3:VCC", "esp:VIN", "red", [ "h-121.16", "v-320.63" ] ],
    [ "relay2:VCC", "esp:VIN", "red", [ "h0" ] ],
    [ "relay2:GND", "esp:GND.2", "black", [ "h-130.54", "v-213.9" ] ],
    [ "relay3:GND", "esp:GND.2", "black", [ "h0" ] ],
    [ "relay2:COM", "esp:VIN", "green", [ "h-220.79", "v-178.65" ] ],
    [ "relay3:COM", "esp:VIN", "green", [ "h-246.51", "v-272.08", "h50.55", "v8.63" ] ],
    [ "led5:C", "esp:GND.1", "green", [ "v-297.56", "h-274.4" ] ],
    [ "led4:C", "esp:GND.1", "green", [ "v0" ] ],
    [ "relay2:IN", "esp:D21", "green", [ "h0" ] ],
    [ "relay3:IN", "esp:D15", "green", [ "h-15.57", "v-381.67" ] ]
  ]
  
}
Ammonia Gas SensorBreakout
SO2 Gas SensorBreakout
CO2 Gas SensorBreakout
NOCOMNCVCCGNDINLED1PWRRelay Module
Lime Valve Indicator
Alert LEDS
NOCOMNCVCCGNDINLED1PWRRelay Module
NOCOMNCVCCGNDINLED1PWRRelay Module
DeSulfur Valve Indicator
CCSS Valve Indicator