Create a schematic for **Control circuit** 

libSymbols:
- Connector:Conn_01x01_Male
- Connector:Conn_01x02_Male
- Connector_Generic:Conn_02x05_Odd_Even
- Device:C_Small
- Device:R
- Device:RotaryEncoder_Switch
- Diode:1N4004
- Interface_Optical:TSOP312xx
- Relay:G6S-2
- Transistor_BJT:BC547
- power:GND
schematicSymbols:
- libraryNickname: Interface_Optical
  entryName: TSOP312xx
  position:
    x: 54.61
    y: 87.63
    angle: 0
  properties:
  - key: Reference
    value: U1
    position:
      x: 54.3052
      y: 76.835
      angle: 0
  - key: Value
    value: TSOP312xx
    position:
      x: 54.3052
      y: 79.1464
      angle: 0
- libraryNickname: Connector_Generic
  entryName: Conn_02x05_Odd_Even
  position:
    x: 93.98
    y: 45.72
    angle: 0
  properties:
  - key: Reference
    value: J3
    position:
      x: 95.25
      y: 35.1282
      angle: 0
  - key: Value
    value: To_RPI_GPIO
    position:
      x: 99.06
      y: 36.83
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 74.93
    y: 99.06
    angle: 0
  properties:
  - key: Reference
    value: '#PWR02'
    position:
      x: 74.93
      y: 105.41
      angle: 0
  - key: Value
    value: GND
    position:
      x: 75.057
      y: 103.4542
      angle: 0
- libraryNickname: Connector
  entryName: Conn_01x02_Male
  position:
    x: 165.1
    y: 85.09
    angle: 180
  properties:
  - key: Reference
    value: J7
    position:
      x: 162.3568
      y: 89.6874
      angle: 0
  - key: Value
    value: 220_IN_OUT
    position:
      x: 162.3568
      y: 87.376
      angle: 0
- libraryNickname: Relay
  entryName: G6S-2
  position:
    x: 130.81
    y: 82.55
    angle: 0
  properties:
  - key: Reference
    value: K1
    position:
      x: 146.812
      y: 81.3816
      angle: 0
  - key: Value
    value: G6S-2
    position:
      x: 146.812
      y: 83.693
      angle: 0
- libraryNickname: Transistor_BJT
  entryName: BC547
  position:
    x: 118.11
    y: 99.06
    angle: 0
  properties:
  - key: Reference
    value: Q1
    position:
      x: 122.9614
      y: 97.8916
      angle: 0
  - key: Value
    value: BC547
    position:
      x: 122.9614
      y: 100.203
      angle: 0
- libraryNickname: Device
  entryName: R
  position:
    x: 102.87
    y: 87.63
    angle: 180
  properties:
  - key: Reference
    value: R2
    position:
      x: 108.1278
      y: 87.63
      angle: 90
  - key: Value
    value: 1k
    position:
      x: 105.8164
      y: 87.63
      angle: 90
- libraryNickname: power
  entryName: GND
  position:
    x: 120.65
    y: 104.14
    angle: 0
  properties:
  - key: Reference
    value: '#PWR06'
    position:
      x: 120.65
      y: 110.49
      angle: 0
  - key: Value
    value: GND
    position:
      x: 120.777
      y: 108.5342
      angle: 0
- libraryNickname: Diode
  entryName: 1N4004
  position:
    x: 111.76
    y: 82.55
    angle: 270
  properties:
  - key: Reference
    value: D2
    position:
      x: 113.792
      y: 81.3816
      angle: 90
  - key: Value
    value: 1N4004
    position:
      x: 113.792
      y: 83.693
      angle: 90
- libraryNickname: Connector
  entryName: Conn_01x01_Male
  position:
    x: 128.27
    y: 48.26
    angle: 270
  properties:
  - key: Reference
    value: J4
    position:
      x: 129.3876
      y: 49.8348
      angle: 90
  - key: Value
    value: GPIO_To_Out_Selector_Relay
    position:
      x: 129.54
      y: 46.99
      angle: 90
- libraryNickname: power
  entryName: GND
  position:
    x: 88.9
    y: 40.64
    angle: 180
  properties:
  - key: Reference
    value: '#PWR04'
    position:
      x: 88.9
      y: 34.29
      angle: 0
  - key: Value
    value: GND
    position:
      x: 88.773
      y: 36.2458
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 130.81
    y: 62.23
    angle: 0
  properties:
  - key: Reference
    value: '#PWR09'
    position:
      x: 130.81
      y: 68.58
      angle: 0
  - key: Value
    value: GND
    position:
      x: 130.937
      y: 66.6242
      angle: 0
- libraryNickname: Connector
  entryName: Conn_01x02_Male
  position:
    x: 130.81
    y: 57.15
    angle: 270
  properties:
  - key: Reference
    value: J6
    position:
      x: 131.9276
      y: 58.7248
      angle: 90
  - key: Value
    value: POWER_OUT_TO_OLED
    position:
      x: 131.9276
      y: 61.0362
      angle: 90
- libraryNickname: power
  entryName: GND
  position:
    x: 62.23
    y: 59.69
    angle: 0
  properties:
  - key: Reference
    value: '#PWR?'
    position:
      x: 62.23
      y: 66.04
      angle: 0
  - key: Value
    value: GND
    position:
      x: 62.357
      y: 64.0842
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 266.7
    y: 101.6
    angle: 90
  properties:
  - key: Reference
    value: '#PWR01'
    position:
      x: 273.05
      y: 101.6
      angle: 0
  - key: Value
    value: GND
    position:
      x: 271.0942
      y: 101.473
      angle: 0
- libraryNickname: Diode
  entryName: 1N4004
  position:
    x: 240.03
    y: 113.03
    angle: 0
  properties:
  - key: Reference
    value: D1
    position:
      x: 240.03
      y: 107.5182
      angle: 0
  - key: Value
    value: 1N4004
    position:
      x: 240.03
      y: 109.8296
      angle: 0
- libraryNickname: Device
  entryName: C_Small
  position:
    x: 67.31
    y: 35.56
    angle: 0
  properties:
  - key: Reference
    value: C2
    position:
      x: 69.6341
      y: 34.7316
      angle: 0
  - key: Value
    value: 100n
    position:
      x: 69.6341
      y: 37.2685
      angle: 0
- libraryNickname: Transistor_BJT
  entryName: BC547
  position:
    x: 261.62
    y: 104.14
    angle: 90
  properties:
  - key: Reference
    value: Q2
    position:
      x: 260.4516
      y: 99.2886
      angle: 0
  - key: Value
    value: BC547
    position:
      x: 262.763
      y: 99.2886
      angle: 0
- libraryNickname: Connector
  entryName: Conn_01x02_Male
  position:
    x: 243.84
    y: 123.19
    angle: 270
  properties:
  - key: Reference
    value: J2
    position:
      x: 244.9576
      y: 124.7648
      angle: 90
  - key: Value
    value: Drive_GPIO
    position:
      x: 245.11
      y: 123.19
      angle: 90
- libraryNickname: Device
  entryName: R
  position:
    x: 261.62
    y: 113.03
    angle: 180
  properties:
  - key: Reference
    value: R1
    position:
      x: 266.8778
      y: 113.03
      angle: 90
  - key: Value
    value: 1K
    position:
      x: 264.5664
      y: 113.03
      angle: 90
- libraryNickname: Device
  entryName: RotaryEncoder_Switch
  position:
    x: 54.61
    y: 33.02
    angle: 180
  properties:
  - key: Reference
    value: SW1
    position:
      x: 54.61
      y: 24.2402
      angle: 0
  - key: Value
    value: RotaryEncoder_Switch
    position:
      x: 54.61
      y: 26.7771
      angle: 0
- libraryNickname: Relay
  entryName: G6S-2
  position:
    x: 241.3
    y: 40.64
    angle: 90
  properties:
  - key: Reference
    value: K2
    position:
      x: 241.3
      y: 21.1582
      angle: 90
  - key: Value
    value: G6S-2
    position:
      x: 241.3
      y: 23.4696
      angle: 90
- libraryNickname: power
  entryName: GND
  position:
    x: 101.6
    y: 45.72
    angle: 90
  properties:
  - key: Reference
    value: '#PWR?'
    position:
      x: 107.95
      y: 45.72
      angle: 0
  - key: Value
    value: GND
    position:
      x: 105.9942
      y: 45.593
      angle: 0
- libraryNickname: Device
  entryName: C_Small
  position:
    x: 67.31
    y: 30.48
    angle: 0
  properties:
  - key: Reference
    value: C1
    position:
      x: 68.58
      y: 29.21
      angle: 0
  - key: Value
    value: 100n
    position:
      x: 69.85
      y: 31.75
      angle: 0
- libraryNickname: Diode
  entryName: 1N4004
  position:
    x: 241.3
    y: 60.96
    angle: 0
  properties:
  - key: Reference
    value: D3
    position:
      x: 241.3
      y: 55.4482
      angle: 0
  - key: Value
    value: 1N4004
    position:
      x: 241.3
      y: 57.7596
      angle: 0
- libraryNickname: Relay
  entryName: G6S-2
  position:
    x: 241.3
    y: 91.44
    angle: 90
  properties:
  - key: Reference
    value: K3
    position:
      x: 241.3
      y: 71.9582
      angle: 90
  - key: Value
    value: G6S-2
    position:
      x: 241.3
      y: 74.2696
      angle: 90
junctions:
- position:
    x: 62.23
    y: 49.53
    angle: 0
- position:
    x: 250.19
    y: 101.6
    angle: 0
- position:
    x: 67.31
    y: 33.02
    angle: 0
- position:
    x: 120.65
    y: 91.44
    angle: 0
- position:
    x: 254
    y: 101.6
    angle: 0
- position:
    x: 64.77
    y: 33.02
    angle: 0
- position:
    x: 67.31
    y: 38.1
    angle: 0
- position:
    x: 67.31
    y: 27.94
    angle: 0
- position:
    x: 248.92
    y: 60.96
    angle: 0
- position:
    x: 111.76
    y: 74.93
    angle: 0
- position:
    x: 128.27
    y: 69.85
    angle: 0
noConnects: []
busEntries: []
graphicalItems:
- type: wire
  points:
  - x: 140.97
    y: 93.98
  - x: 140.97
    y: 90.17
- type: wire
  points:
  - x: 254
    y: 101.6
  - x: 256.54
    y: 101.6
- type: wire
  points:
  - x: 224.79
    y: 71.12
  - x: 224.79
    y: 38.1
- type: wire
  points:
  - x: 120.65
    y: 91.44
  - x: 120.65
    y: 93.98
- type: wire
  points:
  - x: 81.28
    y: 33.02
  - x: 81.28
    y: 38.1
- type: wire
  points:
  - x: 128.27
    y: 54.61
  - x: 128.27
    y: 53.34
- type: wire
  points:
  - x: 102.87
    y: 99.06
  - x: 113.03
    y: 99.06
- type: wire
  points:
  - x: 250.19
    y: 113.03
  - x: 250.19
    y: 101.6
- type: wire
  points:
  - x: 35.56
    y: 30.48
  - x: 35.56
    y: 49.53
- type: wire
  points:
  - x: 233.68
    y: 76.2
  - x: 233.68
    y: 78.74
- type: wire
  points:
  - x: 46.99
    y: 35.56
  - x: 46.99
    y: 45.72
- type: wire
  points:
  - x: 233.68
    y: 60.96
  - x: 233.68
    y: 50.8
- type: wire
  points:
  - x: 81.28
    y: 38.1
  - x: 67.31
    y: 38.1
- type: wire
  points:
  - x: 106.68
    y: 43.18
  - x: 106.68
    y: 27.94
- type: wire
  points:
  - x: 143.51
    y: 69.85
  - x: 160.02
    y: 69.85
- type: wire
  points:
  - x: 74.93
    y: 92.71
  - x: 74.93
    y: 99.06
- type: wire
  points:
  - x: 64.77
    y: 92.71
  - x: 74.93
    y: 92.71
- type: wire
  points:
  - x: 236.22
    y: 113.03
  - x: 233.68
    y: 113.03
- type: wire
  points:
  - x: 215.9
    y: 53.34
  - x: 228.6
    y: 53.34
- type: wire
  points:
  - x: 215.9
    y: 73.66
  - x: 256.54
    y: 73.66
- type: wire
  points:
  - x: 160.02
    y: 85.09
  - x: 160.02
    y: 93.98
- type: wire
  points:
  - x: 62.23
    y: 38.1
  - x: 62.23
    y: 35.56
- type: wire
  points:
  - x: 224.79
    y: 38.1
  - x: 233.68
    y: 38.1
- type: wire
  points:
  - x: 219.71
    y: 88.9
  - x: 233.68
    y: 88.9
- type: wire
  points:
  - x: 88.9
    y: 54.61
  - x: 128.27
    y: 54.61
- type: wire
  points:
  - x: 250.19
    y: 88.9
  - x: 248.92
    y: 88.9
- type: wire
  points:
  - x: 215.9
    y: 68.58
  - x: 217.17
    y: 68.58
- type: wire
  points:
  - x: 256.54
    y: 73.66
  - x: 256.54
    y: 40.64
- type: wire
  points:
  - x: 74.93
    y: 43.18
  - x: 74.93
    y: 87.63
- type: wire
  points:
  - x: 74.93
    y: 87.63
  - x: 64.77
    y: 87.63
- type: wire
  points:
  - x: 62.23
    y: 27.94
  - x: 62.23
    y: 30.48
- type: wire
  points:
  - x: 105.41
    y: 40.64
  - x: 105.41
    y: 33.02
- type: wire
  points:
  - x: 243.84
    y: 113.03
  - x: 250.19
    y: 113.03
- type: wire
  points:
  - x: 78.74
    y: 48.26
  - x: 78.74
    y: 59.69
- type: wire
  points:
  - x: 101.6
    y: 43.18
  - x: 106.68
    y: 43.18
- type: wire
  points:
  - x: 111.76
    y: 74.93
  - x: 120.65
    y: 74.93
- type: wire
  points:
  - x: 46.99
    y: 45.72
  - x: 88.9
    y: 45.72
- type: wire
  points:
  - x: 62.23
    y: 49.53
  - x: 62.23
    y: 59.69
- type: wire
  points:
  - x: 133.35
    y: 69.85
  - x: 133.35
    y: 74.93
- type: wire
  points:
  - x: 220.98
    y: 60.96
  - x: 220.98
    y: 93.98
- type: wire
  points:
  - x: 111.76
    y: 91.44
  - x: 120.65
    y: 91.44
- type: wire
  points:
  - x: 67.31
    y: 38.1
  - x: 62.23
    y: 38.1
- type: wire
  points:
  - x: 130.81
    y: 90.17
  - x: 130.81
    y: 92.71
- type: wire
  points:
  - x: 215.9
    y: 66.04
  - x: 219.71
    y: 66.04
- type: wire
  points:
  - x: 217.17
    y: 43.18
  - x: 233.68
    y: 43.18
- type: wire
  points:
  - x: 228.6
    y: 53.34
  - x: 228.6
    y: 83.82
- type: wire
  points:
  - x: 67.31
    y: 27.94
  - x: 106.68
    y: 27.94
- type: wire
  points:
  - x: 102.87
    y: 83.82
  - x: 102.87
    y: 59.69
- type: wire
  points:
  - x: 128.27
    y: 69.85
  - x: 133.35
    y: 69.85
- type: wire
  points:
  - x: 248.92
    y: 69.85
  - x: 248.92
    y: 81.28
- type: wire
  points:
  - x: 64.77
    y: 49.53
  - x: 62.23
    y: 49.53
- type: wire
  points:
  - x: 105.41
    y: 33.02
  - x: 81.28
    y: 33.02
- type: wire
  points:
  - x: 101.6
    y: 40.64
  - x: 105.41
    y: 40.64
- type: wire
  points:
  - x: 243.84
    y: 123.19
  - x: 243.84
    y: 119.38
- type: wire
  points:
  - x: 245.11
    y: 60.96
  - x: 248.92
    y: 60.96
- type: wire
  points:
  - x: 160.02
    y: 93.98
  - x: 140.97
    y: 93.98
- type: wire
  points:
  - x: 111.76
    y: 78.74
  - x: 111.76
    y: 74.93
- type: wire
  points:
  - x: 66.04
    y: 69.85
  - x: 128.27
    y: 69.85
- type: wire
  points:
  - x: 219.71
    y: 66.04
  - x: 219.71
    y: 88.9
- type: wire
  points:
  - x: 250.19
    y: 63.5
  - x: 250.19
    y: 88.9
- type: wire
  points:
  - x: 64.77
    y: 82.55
  - x: 66.04
    y: 82.55
- type: wire
  points:
  - x: 250.19
    y: 101.6
  - x: 254
    y: 101.6
- type: wire
  points:
  - x: 248.92
    y: 88.9
  - x: 248.92
    y: 91.44
- type: wire
  points:
  - x: 261.62
    y: 119.38
  - x: 261.62
    y: 116.84
- type: wire
  points:
  - x: 215.9
    y: 55.88
  - x: 226.06
    y: 55.88
- type: wire
  points:
  - x: 222.25
    y: 58.42
  - x: 222.25
    y: 76.2
- type: wire
  points:
  - x: 226.06
    y: 55.88
  - x: 226.06
    y: 69.85
- type: wire
  points:
  - x: 67.31
    y: 27.94
  - x: 62.23
    y: 27.94
- type: wire
  points:
  - x: 254
    y: 60.96
  - x: 248.92
    y: 60.96
- type: wire
  points:
  - x: 64.77
    y: 33.02
  - x: 67.31
    y: 33.02
- type: wire
  points:
  - x: 78.74
    y: 48.26
  - x: 88.9
    y: 48.26
- type: wire
  points:
  - x: 88.9
    y: 43.18
  - x: 74.93
    y: 43.18
- type: wire
  points:
  - x: 226.06
    y: 69.85
  - x: 248.92
    y: 69.85
- type: wire
  points:
  - x: 228.6
    y: 83.82
  - x: 233.68
    y: 83.82
- type: wire
  points:
  - x: 215.9
    y: 63.5
  - x: 250.19
    y: 63.5
- type: wire
  points:
  - x: 102.87
    y: 59.69
  - x: 78.74
    y: 59.69
- type: wire
  points:
  - x: 248.92
    y: 60.96
  - x: 248.92
    y: 50.8
- type: wire
  points:
  - x: 88.9
    y: 50.8
  - x: 88.9
    y: 54.61
- type: wire
  points:
  - x: 233.68
    y: 113.03
  - x: 233.68
    y: 101.6
- type: wire
  points:
  - x: 120.65
    y: 90.17
  - x: 120.65
    y: 91.44
- type: wire
  points:
  - x: 222.25
    y: 76.2
  - x: 233.68
    y: 76.2
- type: wire
  points:
  - x: 248.92
    y: 101.6
  - x: 250.19
    y: 101.6
- type: wire
  points:
  - x: 111.76
    y: 50.8
  - x: 111.76
    y: 74.93
- type: wire
  points:
  - x: 143.51
    y: 74.93
  - x: 143.51
    y: 69.85
- type: wire
  points:
  - x: 254
    y: 101.6
  - x: 254
    y: 60.96
- type: wire
  points:
  - x: 111.76
    y: 86.36
  - x: 111.76
    y: 91.44
- type: wire
  points:
  - x: 64.77
    y: 33.02
  - x: 64.77
    y: 49.53
- type: wire
  points:
  - x: 220.98
    y: 93.98
  - x: 233.68
    y: 93.98
- type: wire
  points:
  - x: 215.9
    y: 58.42
  - x: 222.25
    y: 58.42
- type: wire
  points:
  - x: 215.9
    y: 71.12
  - x: 224.79
    y: 71.12
- type: wire
  points:
  - x: 35.56
    y: 49.53
  - x: 62.23
    y: 49.53
- type: wire
  points:
  - x: 64.77
    y: 33.02
  - x: 62.23
    y: 33.02
- type: wire
  points:
  - x: 46.99
    y: 30.48
  - x: 35.56
    y: 30.48
- type: wire
  points:
  - x: 128.27
    y: 62.23
  - x: 128.27
    y: 69.85
- type: wire
  points:
  - x: 66.04
    y: 82.55
  - x: 66.04
    y: 69.85
- type: wire
  points:
  - x: 256.54
    y: 40.64
  - x: 248.92
    y: 40.64
- type: wire
  points:
  - x: 160.02
    y: 69.85
  - x: 160.02
    y: 82.55
- type: wire
  points:
  - x: 111.76
    y: 50.8
  - x: 101.6
    y: 50.8
- type: wire
  points:
  - x: 217.17
    y: 68.58
  - x: 217.17
    y: 43.18
- type: wire
  points:
  - x: 215.9
    y: 60.96
  - x: 220.98
    y: 60.96
- type: wire
  points:
  - x: 102.87
    y: 91.44
  - x: 102.87
    y: 99.06
- type: wire
  points:
  - x: 237.49
    y: 60.96
  - x: 233.68
    y: 60.96
- type: wire
  points:
  - x: 243.84
    y: 119.38
  - x: 261.62
    y: 119.38
globalLabels: []
sheetInstances: []
