Create a schematic for Voltage level detection circuit. 

libSymbols:
- Comparator:LM339
- Connector:Conn_01x02_Pin
- Connector:Screw_Terminal_01x04
- Device:R
- power:+5V
- power:GND
- power:VBUS
schematicSymbols:
- libraryNickname: Device
  entryName: R
  position:
    x: 68.58
    y: 116.84
    angle: 270
  properties:
  - key: Reference
    value: R3
    position:
      x: 68.58
      y: 121.92
      angle: 90
  - key: Value
    value: '180'
    position:
      x: 68.58
      y: 119.38
      angle: 90
- libraryNickname: Comparator
  entryName: LM339
  position:
    x: 68.58
    y: 86.36
    angle: 90
  properties:
  - key: Reference
    value: U1
    position:
      x: 68.58
      y: 83.82
      angle: 90
  - key: Value
    value: LM339
    position:
      x: 68.58
      y: 86.36
      angle: 90
- libraryNickname: power
  entryName: VBUS
  position:
    x: 38.1
    y: 107.95
    angle: 270
  properties:
  - key: Reference
    value: '#PWR02'
    position:
      x: 34.29
      y: 107.95
      angle: 0
  - key: Value
    value: VBUS
    position:
      x: 41.91
      y: 107.95
      angle: 90
- libraryNickname: power
  entryName: +5V
  position:
    x: 100.33
    y: 102.87
    angle: 0
  properties:
  - key: Reference
    value: '#PWR05'
    position:
      x: 100.33
      y: 106.68
      angle: 0
  - key: Value
    value: +5V
    position:
      x: 100.33
      y: 99.06
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 113.03
    y: 115.57
    angle: 0
  properties:
  - key: Reference
    value: '#PWR06'
    position:
      x: 113.03
      y: 121.92
      angle: 0
  - key: Value
    value: GND
    position:
      x: 113.03
      y: 120.65
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 38.1
    y: 113.03
    angle: 90
  properties:
  - key: Reference
    value: '#PWR01'
    position:
      x: 44.45
      y: 113.03
      angle: 0
  - key: Value
    value: GND
    position:
      x: 41.91
      y: 113.665
      angle: 90
- libraryNickname: Device
  entryName: R
  position:
    x: 100.33
    y: 107.95
    angle: 0
  properties:
  - key: Reference
    value: R4
    position:
      x: 102.87
      y: 107.315
      angle: 0
  - key: Value
    value: 10k
    position:
      x: 102.87
      y: 109.855
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 76.2
    y: 88.9
    angle: 90
  properties:
  - key: Reference
    value: '#PWR04'
    position:
      x: 82.55
      y: 88.9
      angle: 0
  - key: Value
    value: GND
    position:
      x: 80.01
      y: 89.535
      angle: 90
- libraryNickname: Device
  entryName: R
  position:
    x: 68.58
    y: 109.22
    angle: 90
  properties:
  - key: Reference
    value: R2
    position:
      x: 68.58
      y: 104.14
      angle: 90
  - key: Value
    value: '180'
    position:
      x: 68.58
      y: 106.68
      angle: 90
- libraryNickname: Device
  entryName: R
  position:
    x: 58.42
    y: 113.03
    angle: 0
  properties:
  - key: Reference
    value: R1
    position:
      x: 60.96
      y: 112.395
      angle: 0
  - key: Value
    value: '120'
    position:
      x: 60.96
      y: 114.935
      angle: 0
- libraryNickname: Connector
  entryName: Conn_01x02_Pin
  position:
    x: 118.11
    y: 115.57
    angle: 180
  properties:
  - key: Reference
    value: J2
    position:
      x: 119.38
      y: 114.935
      angle: 0
  - key: Value
    value: Conn_01x02_Pin
    position:
      x: 119.38
      y: 116.205
      angle: 0
- libraryNickname: power
  entryName: +5V
  position:
    x: 60.96
    y: 88.9
    angle: 90
  properties:
  - key: Reference
    value: '#PWR03'
    position:
      x: 64.77
      y: 88.9
      angle: 0
  - key: Value
    value: +5V
    position:
      x: 57.15
      y: 89.535
      angle: 90
- libraryNickname: Comparator
  entryName: LM339
  position:
    x: 88.9
    y: 113.03
    angle: 0
  properties:
  - key: Reference
    value: U1
    position:
      x: 88.9
      y: 104.14
      angle: 0
  - key: Value
    value: LM339
    position:
      x: 88.9
      y: 106.68
      angle: 0
- libraryNickname: Connector
  entryName: Screw_Terminal_01x04
  position:
    x: 33.02
    y: 113.03
    angle: 180
  properties:
  - key: Reference
    value: J1
    position:
      x: 33.02
      y: 102.87
      angle: 0
  - key: Value
    value: IEBus / AVC-LAN
    position:
      x: 33.02
      y: 105.41
      angle: 0
junctions:
- position:
    x: 58.42
    y: 116.84
    angle: 0
- position:
    x: 100.33
    y: 113.03
    angle: 0
- position:
    x: 58.42
    y: 109.22
    angle: 0
noConnects: []
busEntries: []
graphicalItems:
- type: wire
  points:
  - x: 81.28
    y: 115.57
  - x: 76.2
    y: 115.57
- type: wire
  points:
  - x: 49.53
    y: 116.84
  - x: 58.42
    y: 116.84
- type: wire
  points:
  - x: 49.53
    y: 110.49
  - x: 49.53
    y: 109.22
- type: wire
  points:
  - x: 100.33
    y: 102.87
  - x: 100.33
    y: 104.14
- type: wire
  points:
  - x: 72.39
    y: 116.84
  - x: 76.2
    y: 116.84
- type: wire
  points:
  - x: 96.52
    y: 113.03
  - x: 100.33
    y: 113.03
- type: wire
  points:
  - x: 58.42
    y: 116.84
  - x: 64.77
    y: 116.84
- type: wire
  points:
  - x: 76.2
    y: 110.49
  - x: 81.28
    y: 110.49
- type: wire
  points:
  - x: 100.33
    y: 113.03
  - x: 113.03
    y: 113.03
- type: wire
  points:
  - x: 38.1
    y: 115.57
  - x: 49.53
    y: 115.57
- type: wire
  points:
  - x: 38.1
    y: 110.49
  - x: 49.53
    y: 110.49
- type: wire
  points:
  - x: 49.53
    y: 115.57
  - x: 49.53
    y: 116.84
- type: wire
  points:
  - x: 72.39
    y: 109.22
  - x: 76.2
    y: 109.22
- type: wire
  points:
  - x: 76.2
    y: 115.57
  - x: 76.2
    y: 116.84
- type: wire
  points:
  - x: 58.42
    y: 109.22
  - x: 64.77
    y: 109.22
- type: wire
  points:
  - x: 49.53
    y: 109.22
  - x: 58.42
    y: 109.22
- type: wire
  points:
  - x: 76.2
    y: 109.22
  - x: 76.2
    y: 110.49
- type: wire
  points:
  - x: 100.33
    y: 113.03
  - x: 100.33
    y: 111.76
globalLabels: []
sheetInstances:
- instancePath: /
  page: '1'
