Create a schematic for DC motor control circuit. 

libSymbols:
- Device:Q_NPN_BCE
- Device:R
- Device:R_Potentiometer
- Device:R_US
- MCU_Microchip_PIC16:PIC16F887-IP
- Motor:Motor_DC
- power:GND
- power:VCC
schematicSymbols:
- libraryNickname: power
  entryName: VCC
  position:
    x: 147.32
    y: 66.04
    angle: 0
  properties:
  - key: Reference
    value: '#12V02'
    position:
      x: 147.32
      y: 69.85
      angle: 0
  - key: Value
    value: VCC
    position:
      x: 147.32
      y: 60.96
      angle: 0
- libraryNickname: power
  entryName: VCC
  position:
    x: 123.19
    y: 29.21
    angle: 0
  properties:
  - key: Reference
    value: '#12V03'
    position:
      x: 123.19
      y: 33.02
      angle: 0
  - key: Value
    value: VCC
    position:
      x: 123.19
      y: 24.13
      angle: 0
- libraryNickname: Device
  entryName: R_US
  position:
    x: 41.91
    y: 36.83
    angle: 90
  properties:
  - key: Reference
    value: R1
    position:
      x: 41.91
      y: 30.48
      angle: 90
  - key: Value
    value: 10K
    position:
      x: 41.91
      y: 33.02
      angle: 90
- libraryNickname: power
  entryName: GND
  position:
    x: 123.19
    y: 50.8
    angle: 0
  properties:
  - key: Reference
    value: '#PWR01'
    position:
      x: 123.19
      y: 57.15
      angle: 0
  - key: Value
    value: GND
    position:
      x: 123.19
      y: 55.88
      angle: 0
- libraryNickname: Device
  entryName: Q_NPN_BCE
  position:
    x: 130.81
    y: 88.9
    angle: 0
  properties:
  - key: Reference
    value: Q1
    position:
      x: 135.89
      y: 90.17
      angle: 0
  - key: Value
    value: 2N2222
    position:
      x: 135.89
      y: 87.63
      angle: 0
- libraryNickname: MCU_Microchip_PIC16
  entryName: PIC16F887-IP
  position:
    x: 74.93
    y: 73.66
    angle: 0
  properties:
  - key: Reference
    value: U1
    position:
      x: 76.7589
      y: 34.29
      angle: 0
  - key: Value
    value: PIC16F887-IP
    position:
      x: 76.7589
      y: 36.83
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 74.93
    y: 119.38
    angle: 0
  properties:
  - key: Reference
    value: '#PWR03'
    position:
      x: 74.93
      y: 125.73
      angle: 0
  - key: Value
    value: GND
    position:
      x: 74.93
      y: 124.46
      angle: 0
- libraryNickname: Motor
  entryName: Motor_DC
  position:
    x: 133.35
    y: 71.12
    angle: 0
  properties:
  - key: Reference
    value: M1
    position:
      x: 128.27
      y: 74.93
      angle: 0
  - key: Value
    value: DC Motor
    position:
      x: 130.81
      y: 64.77
      angle: 0
- libraryNickname: Device
  entryName: R
  position:
    x: 119.38
    y: 88.9
    angle: 90
  properties:
  - key: Reference
    value: R2
    position:
      x: 119.38
      y: 95.25
      angle: 90
  - key: Value
    value: 1K
    position:
      x: 119.38
      y: 92.71
      angle: 90
- libraryNickname: power
  entryName: GND
  position:
    x: 133.35
    y: 104.14
    angle: 0
  properties:
  - key: Reference
    value: '#PWR02'
    position:
      x: 133.35
      y: 110.49
      angle: 0
  - key: Value
    value: GND
    position:
      x: 133.35
      y: 109.22
      angle: 0
- libraryNickname: power
  entryName: VCC
  position:
    x: 38.1
    y: 27.94
    angle: 0
  properties:
  - key: Reference
    value: '#12V01'
    position:
      x: 38.1
      y: 31.75
      angle: 0
  - key: Value
    value: VCC
    position:
      x: 38.1
      y: 22.86
      angle: 0
- libraryNickname: Device
  entryName: R_Potentiometer
  position:
    x: 123.19
    y: 43.18
    angle: 180
  properties:
  - key: Reference
    value: RV1
    position:
      x: 125.73
      y: 41.91
      angle: 0
  - key: Value
    value: 10K
    position:
      x: 125.73
      y: 44.45
      angle: 0
junctions:
- position:
    x: 123.19
    y: 31.75
    angle: 0
- position:
    x: 74.93
    y: 111.76
    angle: 0
- position:
    x: 72.39
    y: 35.56
    angle: 0
noConnects: []
busEntries: []
graphicalItems:
- type: wire
  points:
  - x: 38.1
    y: 27.94
  - x: 38.1
    y: 36.83
- type: wire
  points:
  - x: 133.35
    y: 78.74
  - x: 133.35
    y: 83.82
- type: wire
  points:
  - x: 102.87
    y: 88.9
  - x: 115.57
    y: 88.9
- type: wire
  points:
  - x: 72.39
    y: 35.56
  - x: 74.93
    y: 35.56
- type: wire
  points:
  - x: 133.35
    y: 66.04
  - x: 147.32
    y: 66.04
- type: wire
  points:
  - x: 133.35
    y: 93.98
  - x: 133.35
    y: 104.14
- type: wire
  points:
  - x: 72.39
    y: 31.75
  - x: 123.19
    y: 31.75
- type: wire
  points:
  - x: 74.93
    y: 111.76
  - x: 74.93
    y: 119.38
- type: wire
  points:
  - x: 123.19
    y: 31.75
  - x: 123.19
    y: 39.37
- type: wire
  points:
  - x: 125.73
    y: 88.9
  - x: 123.19
    y: 88.9
- type: wire
  points:
  - x: 72.39
    y: 35.56
  - x: 72.39
    y: 31.75
- type: wire
  points:
  - x: 102.87
    y: 43.18
  - x: 119.38
    y: 43.18
- type: wire
  points:
  - x: 72.39
    y: 111.76
  - x: 74.93
    y: 111.76
- type: wire
  points:
  - x: 45.72
    y: 36.83
  - x: 45.72
    y: 43.18
- type: wire
  points:
  - x: 123.19
    y: 29.21
  - x: 123.19
    y: 31.75
- type: wire
  points:
  - x: 45.72
    y: 43.18
  - x: 46.99
    y: 43.18
- type: wire
  points:
  - x: 123.19
    y: 46.99
  - x: 123.19
    y: 50.8
globalLabels: []
sheetInstances:
- instancePath: /
  page: '1'
