Create a schematic for Comparator-based circuit 

libSymbols:
- 74xx:74AHC04
- CUSA-TR80-18-2400-TH:CUSA-TR80-18-2400-TH
- Comparator:LM339
- Device:C
- Device:R_Small_US
- MAX4528CPA_:MAX4528CPA+
- Timer:LM555xN
- power:+5V
- power:-5V
- power:GND
- power:VDD
schematicSymbols:
- libraryNickname: power
  entryName: +5V
  position:
    x: 143.51
    y: 68.58
    angle: 0
  properties:
  - key: Reference
    value: '#PWR?'
    position:
      x: 143.51
      y: 72.39
      angle: 0
  - key: Value
    value: +5V
    position:
      x: 143.51
      y: 63.5
      angle: 0
- libraryNickname: power
  entryName: -5V
  position:
    x: 158.75
    y: 68.58
    angle: 0
  properties:
  - key: Reference
    value: '#PWR?'
    position:
      x: 158.75
      y: 66.04
      angle: 0
  - key: Value
    value: -5V
    position:
      x: 157.48
      y: 63.5
      angle: 0
- libraryNickname: Timer
  entryName: LM555xN
  position:
    x: 96.52
    y: 106.68
    angle: 0
  properties:
  - key: Reference
    value: U1
    position:
      x: 98.5394
      y: 93.98
      angle: 0
  - key: Value
    value: LM555
    position:
      x: 98.5394
      y: 96.52
      angle: 0
- libraryNickname: Comparator
  entryName: LM339
  position:
    x: 165.1
    y: 111.76
    angle: 270
  properties:
  - key: Reference
    value: U5
    position:
      x: 175.26
      y: 111.76
      angle: 0
  - key: Value
    value: LM193
    position:
      x: 172.72
      y: 111.76
      angle: 0
- libraryNickname: CUSA-TR80-18-2400-TH
  entryName: CUSA-TR80-18-2400-TH
  position:
    x: 124.46
    y: 38.1
    angle: 90
  properties:
  - key: Reference
    value: S1
    position:
      x: 130.2403
      y: 36.7543
      angle: 90
  - key: Value
    value: CUSA-TR80
    position:
      x: 130.2403
      y: 39.65
      angle: 90
- libraryNickname: 74xx
  entryName: 74AHC04
  position:
    x: 153.67
    y: 111.76
    angle: 90
  properties:
  - key: Reference
    value: U4
    position:
      x: 148.59
      y: 109.22
      angle: 90
  - key: Value
    value: '7404'
    position:
      x: 148.59
      y: 106.68
      angle: 90
- libraryNickname: power
  entryName: -5V
  position:
    x: 132.08
    y: 68.58
    angle: 0
  properties:
  - key: Reference
    value: '#PWR?'
    position:
      x: 132.08
      y: 66.04
      angle: 0
  - key: Value
    value: -5V
    position:
      x: 130.81
      y: 63.5
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 134.62
    y: 68.58
    angle: 180
  properties:
  - key: Reference
    value: '#PWR?'
    position:
      x: 134.62
      y: 62.23
      angle: 0
  - key: Value
    value: GND
    position:
      x: 135.89
      y: 63.5
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 96.52
    y: 128.27
    angle: 0
  properties:
  - key: Reference
    value: '#PWR?'
    position:
      x: 96.52
      y: 134.62
      angle: 0
  - key: Value
    value: GND
    position:
      x: 96.52
      y: 133.35
      angle: 0
- libraryNickname: MAX4528CPA_
  entryName: MAX4528CPA+
  position:
    x: 151.13
    y: 83.82
    angle: 90
  properties:
  - key: Reference
    value: U3
    position:
      x: 158.75
      y: 86.36
      angle: 90
  - key: Value
    value: MAX4528CPA+
    position:
      x: 158.75
      y: 83.82
      angle: 90
- libraryNickname: power
  entryName: +5V
  position:
    x: 116.84
    y: 68.58
    angle: 0
  properties:
  - key: Reference
    value: '#PWR?'
    position:
      x: 116.84
      y: 72.39
      angle: 0
  - key: Value
    value: +5V
    position:
      x: 116.84
      y: 63.5
      angle: 0
- libraryNickname: CUSA-TR80-18-2400-TH
  entryName: CUSA-TR80-18-2400-TH
  position:
    x: 148.59
    y: 38.1
    angle: 90
  properties:
  - key: Reference
    value: S2
    position:
      x: 154.6972
      y: 36.9197
      angle: 90
  - key: Value
    value: CUSA-TR80
    position:
      x: 154.6972
      y: 39.4597
      angle: 90
- libraryNickname: Device
  entryName: R_Small_US
  position:
    x: 111.76
    y: 102.87
    angle: 0
  properties:
  - key: Reference
    value: R1
    position:
      x: 114.3
      y: 101.5999
      angle: 0
  - key: Value
    value: 1K
    position:
      x: 114.3
      y: 104.1399
      angle: 0
- libraryNickname: MAX4528CPA_
  entryName: MAX4528CPA+
  position:
    x: 124.46
    y: 83.82
    angle: 90
  properties:
  - key: Reference
    value: U2
    position:
      x: 132.08
      y: 86.36
      angle: 90
  - key: Value
    value: MAX4528CPA+
    position:
      x: 132.08
      y: 83.82
      angle: 90
- libraryNickname: Device
  entryName: C
  position:
    x: 111.76
    y: 121.92
    angle: 0
  properties:
  - key: Reference
    value: C1
    position:
      x: 115.57
      y: 120.6499
      angle: 0
  - key: Value
    value: 10nF
    position:
      x: 115.57
      y: 123.1899
      angle: 0
- libraryNickname: Device
  entryName: R_Small_US
  position:
    x: 111.76
    y: 111.76
    angle: 0
  properties:
  - key: Reference
    value: R2
    position:
      x: 114.3
      y: 110.4899
      angle: 0
  - key: Value
    value: 1.2K
    position:
      x: 114.3
      y: 113.0299
      angle: 0
- libraryNickname: Device
  entryName: C
  position:
    x: 82.55
    y: 120.65
    angle: 0
  properties:
  - key: Reference
    value: 1nF
    position:
      x: 86.36
      y: 119.3799
      angle: 0
  - key: Value
    value: 10nF
    position:
      x: 86.36
      y: 121.9199
      angle: 0
- libraryNickname: power
  entryName: VDD
  position:
    x: 96.52
    y: 88.9
    angle: 0
  properties:
  - key: Reference
    value: '#PWR?'
    position:
      x: 96.52
      y: 92.71
      angle: 0
  - key: Value
    value: VDD
    position:
      x: 96.52
      y: 83.82
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 161.29
    y: 68.58
    angle: 180
  properties:
  - key: Reference
    value: '#PWR?'
    position:
      x: 161.29
      y: 62.23
      angle: 0
  - key: Value
    value: GND
    position:
      x: 162.56
      y: 63.5
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 137.16
    y: 104.14
    angle: 0
  properties:
  - key: Reference
    value: '#PWR?'
    position:
      x: 137.16
      y: 110.49
      angle: 0
  - key: Value
    value: GND
    position:
      x: 137.16
      y: 109.22
      angle: 0
junctions:
- position:
    x: 96.52
    y: 128.27
    angle: 0
- position:
    x: 137.16
    y: 102.87
    angle: 0
- position:
    x: 111.76
    y: 106.68
    angle: 0
- position:
    x: 111.76
    y: 118.11
    angle: 0
- position:
    x: 137.16
    y: 119.38
    angle: 0
- position:
    x: 109.22
    y: 118.11
    angle: 0
- position:
    x: 96.52
    y: 92.71
    angle: 0
noConnects: []
busEntries: []
graphicalItems:
- type: wire
  points:
  - x: 111.76
    y: 92.71
  - x: 96.52
    y: 92.71
- type: wire
  points:
  - x: 111.76
    y: 100.33
  - x: 111.76
    y: 92.71
- type: wire
  points:
  - x: 151.13
    y: 68.58
  - x: 151.13
    y: 45.72
- type: wire
  points:
  - x: 81.28
    y: 111.76
  - x: 81.28
    y: 92.71
- type: wire
  points:
  - x: 165.1
    y: 119.38
  - x: 165.1
    y: 137.16
- type: wire
  points:
  - x: 137.16
    y: 102.87
  - x: 151.13
    y: 102.87
- type: wire
  points:
  - x: 80.01
    y: 101.6
  - x: 80.01
    y: 118.11
- type: wire
  points:
  - x: 109.22
    y: 118.11
  - x: 111.76
    y: 118.11
- type: wire
  points:
  - x: 137.16
    y: 119.38
  - x: 137.16
    y: 121.92
- type: wire
  points:
  - x: 109.22
    y: 99.06
  - x: 121.92
    y: 99.06
- type: wire
  points:
  - x: 111.76
    y: 114.3
  - x: 111.76
    y: 118.11
- type: wire
  points:
  - x: 137.16
    y: 102.87
  - x: 137.16
    y: 104.14
- type: wire
  points:
  - x: 83.82
    y: 106.68
  - x: 82.55
    y: 106.68
- type: wire
  points:
  - x: 148.59
    y: 101.6
  - x: 162.56
    y: 101.6
- type: wire
  points:
  - x: 148.59
    y: 99.06
  - x: 148.59
    y: 101.6
- type: wire
  points:
  - x: 109.22
    y: 106.68
  - x: 111.76
    y: 106.68
- type: wire
  points:
  - x: 148.59
    y: 68.58
  - x: 148.59
    y: 58.42
- type: wire
  points:
  - x: 151.13
    y: 102.87
  - x: 151.13
    y: 99.06
- type: wire
  points:
  - x: 81.28
    y: 92.71
  - x: 96.52
    y: 92.71
- type: wire
  points:
  - x: 96.52
    y: 116.84
  - x: 96.52
    y: 128.27
- type: wire
  points:
  - x: 127
    y: 119.38
  - x: 137.16
    y: 119.38
- type: wire
  points:
  - x: 121.92
    y: 45.72
  - x: 121.92
    y: 68.58
- type: wire
  points:
  - x: 82.55
    y: 128.27
  - x: 96.52
    y: 128.27
- type: wire
  points:
  - x: 83.82
    y: 101.6
  - x: 80.01
    y: 101.6
- type: wire
  points:
  - x: 153.67
    y: 99.06
  - x: 153.67
    y: 104.14
- type: wire
  points:
  - x: 127
    y: 45.72
  - x: 127
    y: 58.42
- type: wire
  points:
  - x: 109.22
    y: 111.76
  - x: 109.22
    y: 118.11
- type: wire
  points:
  - x: 82.55
    y: 124.46
  - x: 82.55
    y: 128.27
- type: wire
  points:
  - x: 111.76
    y: 106.68
  - x: 111.76
    y: 109.22
- type: wire
  points:
  - x: 96.52
    y: 128.27
  - x: 111.76
    y: 128.27
- type: wire
  points:
  - x: 80.01
    y: 118.11
  - x: 109.22
    y: 118.11
- type: wire
  points:
  - x: 111.76
    y: 128.27
  - x: 111.76
    y: 125.73
- type: wire
  points:
  - x: 148.59
    y: 58.42
  - x: 127
    y: 58.42
- type: wire
  points:
  - x: 109.22
    y: 101.6
  - x: 109.22
    y: 99.06
- type: wire
  points:
  - x: 111.76
    y: 105.41
  - x: 111.76
    y: 106.68
- type: wire
  points:
  - x: 124.46
    y: 102.87
  - x: 137.16
    y: 102.87
- type: wire
  points:
  - x: 127
    y: 99.06
  - x: 127
    y: 119.38
- type: wire
  points:
  - x: 96.52
    y: 88.9
  - x: 96.52
    y: 92.71
- type: wire
  points:
  - x: 83.82
    y: 111.76
  - x: 81.28
    y: 111.76
- type: wire
  points:
  - x: 124.46
    y: 68.58
  - x: 124.46
    y: 57.15
- type: wire
  points:
  - x: 124.46
    y: 99.06
  - x: 124.46
    y: 102.87
- type: wire
  points:
  - x: 82.55
    y: 106.68
  - x: 82.55
    y: 116.84
- type: wire
  points:
  - x: 146.05
    y: 45.72
  - x: 146.05
    y: 57.15
- type: wire
  points:
  - x: 124.46
    y: 57.15
  - x: 146.05
    y: 57.15
- type: wire
  points:
  - x: 162.56
    y: 101.6
  - x: 162.56
    y: 104.14
- type: wire
  points:
  - x: 96.52
    y: 92.71
  - x: 96.52
    y: 96.52
- type: wire
  points:
  - x: 167.64
    y: 101.6
  - x: 167.64
    y: 104.14
- type: wire
  points:
  - x: 137.16
    y: 119.38
  - x: 153.67
    y: 119.38
globalLabels:
- text: SAMD20 GPIO
  shape: input
  position:
    x: 137.16
    y: 121.92
    angle: 270
- text: Unknown Voltage
  shape: input
  position:
    x: 167.64
    y: 101.6
    angle: 90
- text: SAMD20 GPIO
  shape: input
  position:
    x: 165.1
    y: 137.16
    angle: 90
sheetInstances:
- instancePath: /
  page: '1'
