Create a schematic for Relay controlled power circuit 

libSymbols:
- Connector:Raspberry_Pi_2_3
- Connector:Screw_Terminal_01x02
- Device:C_Polarized_US
- Device:R
- Diode:1N4007
- Relay:G5Q-1A
- Transistor_BJT:2N3904
- power:+5V
- power:+8V
- power:GND
schematicSymbols:
- libraryNickname: power
  entryName: +8V
  position:
    x: 204.47
    y: 74.93
    angle: 0
  properties:
  - key: Reference
    value: '#PWR05'
    position:
      x: 204.47
      y: 78.74
      angle: 0
  - key: Value
    value: +8V
    position:
      x: 204.47
      y: 69.85
      angle: 0
- libraryNickname: Diode
  entryName: 1N4007
  position:
    x: 140.97
    y: 81.28
    angle: 180
  properties:
  - key: Reference
    value: D3
    position:
      x: 142.24
      y: 76.2
      angle: 90
  - key: Value
    value: 1N4007
    position:
      x: 139.7
      y: 71.12
      angle: 90
- libraryNickname: power
  entryName: +5V
  position:
    x: 166.37
    y: 55.88
    angle: 0
  properties:
  - key: Reference
    value: '#PWR07'
    position:
      x: 166.37
      y: 59.69
      angle: 0
  - key: Value
    value: +5V
    position:
      x: 166.37
      y: 50.8
      angle: 0
- libraryNickname: Connector
  entryName: Screw_Terminal_01x02
  position:
    x: 210.82
    y: 115.57
    angle: 0
  properties:
  - key: Reference
    value: J2
    position:
      x: 213.36
      y: 115.57
      angle: 0
  - key: Value
    value: Screw_Terminal_01x02
    position:
      x: 213.36
      y: 118.11
      angle: 0
- libraryNickname: Connector
  entryName: Raspberry_Pi_2_3
  position:
    x: 87.63
    y: 93.98
    angle: 0
  properties:
  - key: Reference
    value: J1
    position:
      x: 94.9041
      y: 58.42
      angle: 0
  - key: Value
    value: Raspberry_Pi_2_3
    position:
      x: 94.9041
      y: 60.96
      angle: 0
- libraryNickname: Diode
  entryName: 1N4007
  position:
    x: 195.58
    y: 85.09
    angle: 270
  properties:
  - key: Reference
    value: D1
    position:
      x: 190.5
      y: 83.82
      angle: 90
  - key: Value
    value: 1N4007
    position:
      x: 185.42
      y: 86.36
      angle: 90
- libraryNickname: power
  entryName: GND
  position:
    x: 166.37
    y: 86.36
    angle: 0
  properties:
  - key: Reference
    value: '#PWR08'
    position:
      x: 166.37
      y: 92.71
      angle: 0
  - key: Value
    value: GND
    position:
      x: 166.37
      y: 91.44
      angle: 0
- libraryNickname: power
  entryName: +8V
  position:
    x: 205.74
    y: 115.57
    angle: 0
  properties:
  - key: Reference
    value: '#PWR04'
    position:
      x: 205.74
      y: 119.38
      angle: 0
  - key: Value
    value: +8V
    position:
      x: 205.74
      y: 110.49
      angle: 0
- libraryNickname: Connector
  entryName: Screw_Terminal_01x02
  position:
    x: 241.3
    y: 64.77
    angle: 0
  properties:
  - key: Reference
    value: J3
    position:
      x: 243.84
      y: 64.77
      angle: 0
  - key: Value
    value: Screw_Terminal_01x02
    position:
      x: 243.84
      y: 67.31
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 205.74
    y: 118.11
    angle: 0
  properties:
  - key: Reference
    value: '#PWR03'
    position:
      x: 205.74
      y: 124.46
      angle: 0
  - key: Value
    value: GND
    position:
      x: 205.74
      y: 123.19
      angle: 0
- libraryNickname: Device
  entryName: C_Polarized_US
  position:
    x: 162.56
    y: 102.87
    angle: 0
  properties:
  - key: Reference
    value: C2
    position:
      x: 166.37
      y: 100.965
      angle: 0
  - key: Value
    value: 1000u
    position:
      x: 166.37
      y: 103.505
      angle: 0
- libraryNickname: Relay
  entryName: G5Q-1A
  position:
    x: 209.55
    y: 85.09
    angle: 0
  properties:
  - key: Reference
    value: K2
    position:
      x: 222.25
      y: 85.09
      angle: 90
  - key: Value
    value: G5Q-1A
    position:
      x: 219.71
      y: 85.09
      angle: 90
- libraryNickname: Relay
  entryName: G5Q-1A
  position:
    x: 171.45
    y: 66.04
    angle: 0
  properties:
  - key: Reference
    value: K1
    position:
      x: 180.34
      y: 64.77
      angle: 0
  - key: Value
    value: G5Q-1A
    position:
      x: 180.34
      y: 67.31
      angle: 0
- libraryNickname: Device
  entryName: R
  position:
    x: 154.94
    y: 81.28
    angle: 90
  properties:
  - key: Reference
    value: R1
    position:
      x: 154.94
      y: 74.93
      angle: 90
  - key: Value
    value: 1k
    position:
      x: 154.94
      y: 77.47
      angle: 90
- libraryNickname: Transistor_BJT
  entryName: 2N3904
  position:
    x: 163.83
    y: 81.28
    angle: 0
  properties:
  - key: Reference
    value: Q1
    position:
      x: 168.91
      y: 80.01
      angle: 0
  - key: Value
    value: 2N3904
    position:
      x: 168.91
      y: 82.55
      angle: 0
- libraryNickname: Device
  entryName: C_Polarized_US
  position:
    x: 149.86
    y: 102.87
    angle: 0
  properties:
  - key: Reference
    value: C1
    position:
      x: 153.67
      y: 100.965
      angle: 0
  - key: Value
    value: 1000u
    position:
      x: 153.67
      y: 103.505
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 162.56
    y: 106.68
    angle: 0
  properties:
  - key: Reference
    value: '#PWR09'
    position:
      x: 162.56
      y: 113.03
      angle: 0
  - key: Value
    value: GND
    position:
      x: 162.56
      y: 111.76
      angle: 0
- libraryNickname: Diode
  entryName: 1N4007
  position:
    x: 157.48
    y: 66.04
    angle: 270
  properties:
  - key: Reference
    value: D2
    position:
      x: 152.4
      y: 64.77
      angle: 90
  - key: Value
    value: 1N4007
    position:
      x: 147.32
      y: 67.31
      angle: 90
- libraryNickname: power
  entryName: GND
  position:
    x: 87.63
    y: 129.54
    angle: 0
  properties:
  - key: Reference
    value: '#PWR01'
    position:
      x: 87.63
      y: 135.89
      angle: 0
  - key: Value
    value: GND
    position:
      x: 87.63
      y: 134.62
      angle: 0
- libraryNickname: power
  entryName: +5V
  position:
    x: 85.09
    y: 58.42
    angle: 0
  properties:
  - key: Reference
    value: '#PWR02'
    position:
      x: 85.09
      y: 62.23
      angle: 0
  - key: Value
    value: +5V
    position:
      x: 85.09
      y: 53.34
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 204.47
    y: 95.25
    angle: 0
  properties:
  - key: Reference
    value: '#PWR06'
    position:
      x: 204.47
      y: 101.6
      angle: 0
  - key: Value
    value: GND
    position:
      x: 204.47
      y: 100.33
      angle: 0
junctions:
- position:
    x: 80.01
    y: 127
    angle: 0
- position:
    x: 166.37
    y: 58.42
    angle: 0
- position:
    x: 87.63
    y: 127
    angle: 0
- position:
    x: 204.47
    y: 77.47
    angle: 0
- position:
    x: 166.37
    y: 73.66
    angle: 0
- position:
    x: 204.47
    y: 92.71
    angle: 0
- position:
    x: 82.55
    y: 127
    angle: 0
- position:
    x: 85.09
    y: 127
    angle: 0
- position:
    x: 162.56
    y: 106.68
    angle: 0
- position:
    x: 92.71
    y: 127
    angle: 0
- position:
    x: 85.09
    y: 60.96
    angle: 0
- position:
    x: 149.86
    y: 81.28
    angle: 0
- position:
    x: 149.86
    y: 99.06
    angle: 0
- position:
    x: 90.17
    y: 127
    angle: 0
- position:
    x: 236.22
    y: 67.31
    angle: 0
- position:
    x: 236.22
    y: 64.77
    angle: 0
noConnects: []
busEntries: []
graphicalItems:
- type: wire
  points:
  - x: 236.22
    y: 93.98
  - x: 236.22
    y: 67.31
- type: wire
  points:
  - x: 80.01
    y: 127
  - x: 82.55
    y: 127
- type: wire
  points:
  - x: 82.55
    y: 127
  - x: 85.09
    y: 127
- type: wire
  points:
  - x: 176.53
    y: 73.66
  - x: 196.85
    y: 73.66
- type: wire
  points:
  - x: 214.63
    y: 77.47
  - x: 214.63
    y: 64.77
- type: wire
  points:
  - x: 195.58
    y: 77.47
  - x: 204.47
    y: 77.47
- type: wire
  points:
  - x: 90.17
    y: 127
  - x: 92.71
    y: 127
- type: wire
  points:
  - x: 85.09
    y: 127
  - x: 87.63
    y: 127
- type: wire
  points:
  - x: 66.04
    y: 99.06
  - x: 67.31
    y: 99.06
- type: wire
  points:
  - x: 157.48
    y: 69.85
  - x: 157.48
    y: 73.66
- type: wire
  points:
  - x: 92.71
    y: 127
  - x: 95.25
    y: 127
- type: wire
  points:
  - x: 157.48
    y: 58.42
  - x: 166.37
    y: 58.42
- type: wire
  points:
  - x: 149.86
    y: 106.68
  - x: 162.56
    y: 106.68
- type: wire
  points:
  - x: 195.58
    y: 81.28
  - x: 195.58
    y: 77.47
- type: wire
  points:
  - x: 195.58
    y: 92.71
  - x: 204.47
    y: 92.71
- type: wire
  points:
  - x: 85.09
    y: 58.42
  - x: 85.09
    y: 60.96
- type: wire
  points:
  - x: 149.86
    y: 81.28
  - x: 151.13
    y: 81.28
- type: wire
  points:
  - x: 204.47
    y: 74.93
  - x: 204.47
    y: 77.47
- type: wire
  points:
  - x: 204.47
    y: 92.71
  - x: 204.47
    y: 95.25
- type: wire
  points:
  - x: 77.47
    y: 127
  - x: 80.01
    y: 127
- type: wire
  points:
  - x: 87.63
    y: 127
  - x: 87.63
    y: 129.54
- type: wire
  points:
  - x: 149.86
    y: 99.06
  - x: 162.56
    y: 99.06
- type: wire
  points:
  - x: 166.37
    y: 55.88
  - x: 166.37
    y: 58.42
- type: wire
  points:
  - x: 196.85
    y: 73.66
  - x: 196.85
    y: 67.31
- type: wire
  points:
  - x: 166.37
    y: 73.66
  - x: 166.37
    y: 76.2
- type: wire
  points:
  - x: 87.63
    y: 127
  - x: 90.17
    y: 127
- type: wire
  points:
  - x: 176.53
    y: 58.42
  - x: 236.22
    y: 58.42
- type: wire
  points:
  - x: 157.48
    y: 73.66
  - x: 166.37
    y: 73.66
- type: wire
  points:
  - x: 195.58
    y: 88.9
  - x: 195.58
    y: 92.71
- type: wire
  points:
  - x: 144.78
    y: 81.28
  - x: 149.86
    y: 81.28
- type: wire
  points:
  - x: 132.08
    y: 81.28
  - x: 137.16
    y: 81.28
- type: wire
  points:
  - x: 214.63
    y: 64.77
  - x: 236.22
    y: 64.77
- type: wire
  points:
  - x: 149.86
    y: 81.28
  - x: 149.86
    y: 99.06
- type: wire
  points:
  - x: 196.85
    y: 67.31
  - x: 236.22
    y: 67.31
- type: wire
  points:
  - x: 214.63
    y: 92.71
  - x: 214.63
    y: 93.98
- type: wire
  points:
  - x: 236.22
    y: 58.42
  - x: 236.22
    y: 64.77
- type: wire
  points:
  - x: 82.55
    y: 60.96
  - x: 85.09
    y: 60.96
- type: wire
  points:
  - x: 157.48
    y: 62.23
  - x: 157.48
    y: 58.42
- type: wire
  points:
  - x: 214.63
    y: 93.98
  - x: 236.22
    y: 93.98
globalLabels:
- text: GPIO22
  shape: input
  position:
    x: 66.04
    y: 99.06
    angle: 180
- text: GPIO22
  shape: input
  position:
    x: 132.08
    y: 81.28
    angle: 180
sheetInstances:
- instancePath: /
  page: '1'
