{
  "version": 1,
  "author": "Rahmat Albarzanjie",
  "editor": "wokwi",
  "parts": [
    {
      "type": "wokwi-arduino-uno",
      "id": "uno",
      "top": 474.9,
      "left": 410.26,
      "rotate": 90,
      "attrs": {}
    },
    {
      "type": "wokwi-lcd2004",
      "id": "lcd1",
      "top": 713.66,
      "left": 788.84,
      "attrs": { "pins": "i2c" }
    },
    {
      "type": "wokwi-ds1307",
      "id": "rtc1",
      "top": 414.34,
      "left": 669.2,
      "rotate": 270,
      "attrs": {}
    },
    {
      "type": "wokwi-dht22",
      "id": "dht1",
      "top": 411.49,
      "left": 1272.66,
      "attrs": { "temperature": "27.3" }
    },
    {
      "type": "wokwi-hc-sr04",
      "id": "ultrasonic1",
      "top": 410.39,
      "left": 1082.96,
      "attrs": { "distance": "2" }
    },
    {
      "type": "wokwi-pir-motion-sensor",
      "id": "pir1",
      "top": 413.56,
      "left": 1348.46,
      "attrs": {}
    },
    {
      "type": "wokwi-buzzer",
      "id": "bz1",
      "top": 400.14,
      "left": 773.18,
      "attrs": { "volume": "0.1" }
    },
    {
      "type": "wokwi-relay-module",
      "id": "relay1",
      "top": 445.04,
      "left": 973.52,
      "rotate": 270,
      "attrs": {}
    },
    {
      "type": "wokwi-relay-module",
      "id": "relay2",
      "top": 444.18,
      "left": 899.45,
      "rotate": 270,
      "attrs": {}
    },
    {
      "type": "wokwi-relay-module",
      "id": "relay3",
      "top": 445.43,
      "left": 824.9,
      "rotate": 270,
      "attrs": {}
    },
    {
      "type": "wokwi-text",
      "id": "led1",
      "top": 366.85,
      "left": 867.2,
      "attrs": { "text": "Pump" }
    },
    {
      "type": "wokwi-text",
      "id": "led2",
      "top": 365.56,
      "left": 1017.38,
      "attrs": { "text": "Lamp" }
    },
    {
      "type": "wokwi-text",
      "id": "led3",
      "top": 365.26,
      "left": 951.74,
      "attrs": { "text": "Fan" }
    },
    {
      "type": "wokwi-text",
      "id": "led4",
      "top": 366.93,
      "left": 779.2,
      "attrs": { "text": "Speaker" }
    },
    {
      "type": "wokwi-text",
      "id": "led5",
      "top": 366.63,
      "left": 676.94,
      "attrs": { "text": "RTC DS1307" }
    },
    {
      "type": "wokwi-text",
      "id": "led6",
      "top": 365.34,
      "left": 1131.01,
      "attrs": { "text": "Ultrasonic" }
    },
    {
      "type": "wokwi-text",
      "id": "led7",
      "top": 365.04,
      "left": 1277.22,
      "attrs": { "text": "DHT22" }
    },
    {
      "type": "wokwi-text",
      "id": "led8",
      "top": 365.73,
      "left": 1380.86,
      "attrs": { "text": "PIR" }
    },
    {
      "type": "wokwi-text",
      "id": "led9",
      "top": 898,
      "left": 901.44,
      "attrs": { "text": "LCD 20x4 Character" }
    },
    {
      "type": "wokwi-text",
      "id": "led10",
      "top": 385.92,
      "left": 505.18,
      "attrs": { "text": "Arduino Uno" }
    },
    {
      "type": "wokwi-text",
      "id": "led11",
      "top": 276.04,
      "left": 639.81,
      "attrs": { "text": "FINAL PROJECT PELATIHAN  PEMBUATAN SISTEM SMARTHOME BERBASIS SIMULATOR" }
    }
  ],
  "connections": [
    [ "relay1:IN", "uno:6", "green", [ "v0" ] ],
    [ "relay2:IN", "uno:7", "green", [ "v0" ] ],
    [ "relay3:IN", "uno:8", "green", [ "v0" ] ],
    [ "pir1:OUT", "uno:2", "green", [ "v0" ] ],
    [ "dht1:SDA", "uno:3", "green", [ "v0" ] ],
    [ "ultrasonic1:TRIG", "uno:4", "green", [ "v0" ] ],
    [ "ultrasonic1:ECHO", "uno:5", "green", [ "v0" ] ],
    [ "bz1:2", "uno:9", "green", [ "v0" ] ],
    [ "lcd1:SCL", "uno:A5", "green", [ "h-24.84", "v0.35", "h-332.61", "v-66.58" ] ],
    [ "lcd1:SDA", "uno:A4", "green", [ "h-367.35", "v-66.23" ] ],
    [ "rtc1:SDA", "uno:A4.2", "green", [ "v0" ] ],
    [ "rtc1:SCL", "uno:A5.2", "green", [ "v0" ] ]
  ],
  "dependencies": {}
}
GND5VSDASCLSQWRTCDS1307+
NOCOMNCVCCGNDINLED1PWRRelay Module
NOCOMNCVCCGNDINLED1PWRRelay Module
NOCOMNCVCCGNDINLED1PWRRelay Module
Pump
Lamp
Fan
Speaker
RTC DS1307
Ultrasonic
DHT22
PIR
LCD 20x4 Character
Arduino Uno
FINAL PROJECT PELATIHAN PEMBUATAN SISTEM SMARTHOME BERBASIS SIMULATOR