{
  "version": 1,
  "author": "Nguyễn Phước Lộc",
  "editor": "wokwi",
  "parts": [
    { "type": "board-esp32-devkit-c-v4", "id": "esp", "top": 48, "left": -91.16, "attrs": {} },
    {
      "type": "wokwi-hc-sr04",
      "id": "ultrasonic1",
      "top": -46.5,
      "left": -215.3,
      "attrs": { "distance": "120" }
    },
    {
      "type": "wokwi-buzzer",
      "id": "bz1",
      "top": -55.2,
      "left": 11.4,
      "attrs": { "volume": "0.1" }
    },
    {
      "type": "wokwi-lcd1602",
      "id": "lcd1",
      "top": 140.8,
      "left": 72.8,
      "attrs": { "pins": "i2c" }
    }
  ],
  "connections": [
    [ "esp:TX", "$serialMonitor:RX", "", [] ],
    [ "esp:RX", "$serialMonitor:TX", "", [] ],
    [ "ultrasonic1:VCC", "esp:3V3", "red", [ "v0" ] ],
    [ "ultrasonic1:GND", "esp:GND.2", "black", [ "v9.6", "h85.2" ] ],
    [ "ultrasonic1:TRIG", "esp:5", "green", [ "v0" ] ],
    [ "ultrasonic1:ECHO", "esp:18", "green", [ "v0" ] ],
    [ "bz1:2", "esp:4", "green", [ "v0" ] ],
    [ "bz1:1", "esp:GND.2", "green", [ "v0" ] ],
    [ "lcd1:VCC", "esp:3V3", "red", [ "h-182.4", "v-115.1" ] ],
    [ "lcd1:GND", "esp:GND.2", "black", [ "h0", "v-96" ] ],
    [ "lcd1:SDA", "esp:21", "green", [ "h19.2", "v-95.8" ] ],
    [ "lcd1:SCL", "esp:22", "green", [ "h9.6", "v-105.3" ] ]
  ],
  "dependencies": {}
}