Create a schematic for Transistor switching circuit. 

libSymbols:
- Connector_Generic:Conn_01x03
- Device:Q_Photo_NPN_EC
- Device:R
- Mechanical:MountingHole
- power:+3.3V
- power:GND
schematicSymbols:
- libraryNickname: power
  entryName: GND
  position:
    x: 116.84
    y: 124.46
    angle: 0
  properties:
  - key: Reference
    value: '#PWR03'
    position:
      x: 116.84
      y: 130.81
      angle: 0
  - key: Value
    value: GND
    position:
      x: 116.84
      y: 128.27
      angle: 0
- libraryNickname: Device
  entryName: R
  position:
    x: 116.84
    y: 118.11
    angle: 0
  properties:
  - key: Reference
    value: R1
    position:
      x: 119.38
      y: 117.475
      angle: 0
  - key: Value
    value: 2k
    position:
      x: 119.38
      y: 120.015
      angle: 0
- libraryNickname: Mechanical
  entryName: MountingHole
  position:
    x: 154.94
    y: 135.89
    angle: 0
  properties:
  - key: Reference
    value: H1
    position:
      x: 157.48
      y: 135.255
      angle: 0
  - key: Value
    value: MountingHole
    position:
      x: 157.48
      y: 137.795
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 189.23
    y: 119.38
    angle: 0
  properties:
  - key: Reference
    value: '#PWR02'
    position:
      x: 189.23
      y: 125.73
      angle: 0
  - key: Value
    value: GND
    position:
      x: 189.23
      y: 123.19
      angle: 0
- libraryNickname: power
  entryName: +3.3V
  position:
    x: 116.84
    y: 96.52
    angle: 0
  properties:
  - key: Reference
    value: '#PWR04'
    position:
      x: 116.84
      y: 100.33
      angle: 0
  - key: Value
    value: +3.3V
    position:
      x: 116.84
      y: 92.71
      angle: 0
- libraryNickname: Device
  entryName: Q_Photo_NPN_EC
  position:
    x: 114.3
    y: 104.14
    angle: 0
  properties:
  - key: Reference
    value: Q1
    position:
      x: 119.38
      y: 102.7557
      angle: 0
  - key: Value
    value: OP506B
    position:
      x: 119.38
      y: 105.2957
      angle: 0
- libraryNickname: Mechanical
  entryName: MountingHole
  position:
    x: 175.26
    y: 135.89
    angle: 0
  properties:
  - key: Reference
    value: H2
    position:
      x: 177.8
      y: 135.255
      angle: 0
  - key: Value
    value: MountingHole
    position:
      x: 177.8
      y: 137.795
      angle: 0
- libraryNickname: power
  entryName: +3.3V
  position:
    x: 189.23
    y: 102.87
    angle: 0
  properties:
  - key: Reference
    value: '#PWR01'
    position:
      x: 189.23
      y: 106.68
      angle: 0
  - key: Value
    value: +3.3V
    position:
      x: 189.23
      y: 99.06
      angle: 0
- libraryNickname: Device
  entryName: R
  position:
    x: 129.54
    y: 111.76
    angle: 90
  properties:
  - key: Reference
    value: R2
    position:
      x: 129.54
      y: 109.22
      angle: 90
  - key: Value
    value: '100'
    position:
      x: 129.54
      y: 114.3
      angle: 90
- libraryNickname: Connector_Generic
  entryName: Conn_01x03
  position:
    x: 198.12
    y: 110.49
    angle: 0
  properties:
  - key: Reference
    value: J1
    position:
      x: 198.12
      y: 102.87
      angle: 0
  - key: Value
    value: Conn_01x03
    position:
      x: 198.12
      y: 105.41
      angle: 0
junctions:
- position:
    x: 116.84
    y: 111.76
    angle: 0
noConnects: []
busEntries: []
graphicalItems:
- type: wire
  points:
  - x: 189.23
    y: 113.03
  - x: 189.23
    y: 119.38
- type: wire
  points:
  - x: 116.84
    y: 111.76
  - x: 116.84
    y: 114.3
- type: wire
  points:
  - x: 116.84
    y: 121.92
  - x: 116.84
    y: 124.46
- type: wire
  points:
  - x: 193.04
    y: 113.03
  - x: 189.23
    y: 113.03
- type: wire
  points:
  - x: 189.23
    y: 107.95
  - x: 193.04
    y: 107.95
- type: wire
  points:
  - x: 116.84
    y: 96.52
  - x: 116.84
    y: 99.06
- type: wire
  points:
  - x: 116.84
    y: 109.22
  - x: 116.84
    y: 111.76
- type: wire
  points:
  - x: 133.35
    y: 111.76
  - x: 138.43
    y: 111.76
- type: wire
  points:
  - x: 189.23
    y: 110.49
  - x: 193.04
    y: 110.49
- type: wire
  points:
  - x: 189.23
    y: 102.87
  - x: 189.23
    y: 107.95
- type: wire
  points:
  - x: 116.84
    y: 111.76
  - x: 125.73
    y: 111.76
globalLabels:
- text: BALL_RX
  shape: input
  position:
    x: 189.23
    y: 110.49
    angle: 180
- text: BALL_RX
  shape: input
  position:
    x: 138.43
    y: 111.76
    angle: 0
sheetInstances:
- instancePath: /
  page: '1'
