Create a schematic for USB charging circuit. 

libSymbols:
- Connector:USB_A
- Connector:USB_B
- Device:C
- Device:C_Polarized
- Device:Crystal
- Device:R
- Ore:MA8601
- Switch:SW_DPDT_x2
- power:+5V
- power:GND
schematicSymbols:
- libraryNickname: Device
  entryName: C
  position:
    x: 34.29
    y: 102.87
    angle: 0
  properties:
  - key: Reference
    value: C6
    position:
      x: 35.56
      y: 100.33
      angle: 0
  - key: Value
    value: 10uF
    position:
      x: 38.1
      y: 104.14
      angle: 0
- libraryNickname: Switch
  entryName: SW_DPDT_x2
  position:
    x: 55.88
    y: 44.45
    angle: 0
  properties:
  - key: Reference
    value: SW1
    position:
      x: 55.88
      y: 35.56
      angle: 0
  - key: Value
    value: ' M-2022NB '
    position:
      x: 55.88
      y: 38.1
      angle: 0
- libraryNickname: Device
  entryName: R
  position:
    x: 114.3
    y: 29.21
    angle: 0
  properties:
  - key: Reference
    value: R2
    position:
      x: 113.03
      y: 29.21
      angle: 0
  - key: Value
    value: 10k ohm
    position:
      x: 116.84
      y: 30.48
      angle: 0
- libraryNickname: Device
  entryName: Crystal
  position:
    x: 50.8
    y: 69.85
    angle: 90
  properties:
  - key: Reference
    value: Y1
    position:
      x: 49.53
      y: 69.85
      angle: 90
  - key: Value
    value: crystal 12MHz
    position:
      x: 54.61
      y: 71.12
      angle: 90
- libraryNickname: Device
  entryName: R
  position:
    x: 52.07
    y: 101.6
    angle: 90
  properties:
  - key: Reference
    value: R1
    position:
      x: 52.07
      y: 101.6
      angle: 90
  - key: Value
    value: 300 ohm
    position:
      x: 52.07
      y: 97.79
      angle: 90
- libraryNickname: power
  entryName: GND
  position:
    x: 34.29
    y: 106.68
    angle: 0
  properties:
  - key: Reference
    value: '#PWR015'
    position:
      x: 34.29
      y: 113.03
      angle: 0
  - key: Value
    value: GND
    position:
      x: 34.29
      y: 111.76
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 114.3
    y: 40.64
    angle: 0
  properties:
  - key: Reference
    value: '#PWR03'
    position:
      x: 114.3
      y: 46.99
      angle: 0
  - key: Value
    value: GND
    position:
      x: 114.3
      y: 45.72
      angle: 0
- libraryNickname: Connector
  entryName: USB_A
  position:
    x: 55.88
    y: 132.08
    angle: 0
  properties:
  - key: Reference
    value: J3
    position:
      x: 55.88
      y: 121.92
      angle: 0
  - key: Value
    value: USB_A femele connector
    position:
      x: 55.88
      y: 121.92
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 29.21
    y: 38.1
    angle: 0
  properties:
  - key: Reference
    value: '#PWR08'
    position:
      x: 29.21
      y: 44.45
      angle: 0
  - key: Value
    value: GND
    position:
      x: 29.21
      y: 43.18
      angle: 0
- libraryNickname: Switch
  entryName: SW_DPDT_x2
  position:
    x: 55.88
    y: 36.83
    angle: 0
  properties:
  - key: Reference
    value: SW1
    position:
      x: 55.88
      y: 31.75
      angle: 0
  - key: Value
    value: ' M-2022NB '
    position:
      x: 55.88
      y: 30.48
      angle: 0
- libraryNickname: Device
  entryName: C_Polarized
  position:
    x: 73.66
    y: 40.64
    angle: 0
  properties:
  - key: Reference
    value: C4
    position:
      x: 74.93
      y: 38.1
      angle: 0
  - key: Value
    value: 470uF
    position:
      x: 77.47
      y: 41.021
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 104.14
    y: 142.24
    angle: 0
  properties:
  - key: Reference
    value: '#PWR012'
    position:
      x: 104.14
      y: 148.59
      angle: 0
  - key: Value
    value: GND
    position:
      x: 104.14
      y: 147.32
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 34.29
    y: 92.71
    angle: 0
  properties:
  - key: Reference
    value: '#PWR016'
    position:
      x: 34.29
      y: 99.06
      angle: 0
  - key: Value
    value: GND
    position:
      x: 34.29
      y: 97.79
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 38.1
    y: 77.47
    angle: 0
  properties:
  - key: Reference
    value: '#PWR06'
    position:
      x: 38.1
      y: 83.82
      angle: 0
  - key: Value
    value: GND
    position:
      x: 38.1
      y: 82.55
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 30.48
    y: 142.24
    angle: 0
  properties:
  - key: Reference
    value: '#PWR07'
    position:
      x: 30.48
      y: 148.59
      angle: 0
  - key: Value
    value: GND
    position:
      x: 30.48
      y: 147.32
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 116.84
    y: 109.22
    angle: 0
  properties:
  - key: Reference
    value: '#PWR01'
    position:
      x: 116.84
      y: 115.57
      angle: 0
  - key: Value
    value: GND
    position:
      x: 116.84
      y: 114.3
      angle: 0
- libraryNickname: Connector
  entryName: USB_A
  position:
    x: 30.48
    y: 132.08
    angle: 0
  properties:
  - key: Reference
    value: J2
    position:
      x: 30.48
      y: 121.92
      angle: 0
  - key: Value
    value: USB_A femele connector
    position:
      x: 30.48
      y: 121.92
      angle: 0
- libraryNickname: Device
  entryName: C
  position:
    x: 41.91
    y: 73.66
    angle: 90
  properties:
  - key: Reference
    value: C2
    position:
      x: 41.91
      y: 69.85
      angle: 90
  - key: Value
    value: 15pF
    position:
      x: 41.91
      y: 68.58
      angle: 90
- libraryNickname: power
  entryName: GND
  position:
    x: 81.28
    y: 44.45
    angle: 0
  properties:
  - key: Reference
    value: '#PWR014'
    position:
      x: 81.28
      y: 50.8
      angle: 0
  - key: Value
    value: GND
    position:
      x: 81.28
      y: 49.53
      angle: 0
- libraryNickname: Ore
  entryName: MA8601
  position:
    x: 78.74
    y: 106.68
    angle: 0
  properties:
  - key: Reference
    value: U1
    position:
      x: 78.74
      y: 59.69
      angle: 0
  - key: Value
    value: MA8601
    position:
      x: 78.74
      y: 106.68
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 50.8
    y: 46.99
    angle: 0
  properties:
  - key: Reference
    value: '#PWR09'
    position:
      x: 50.8
      y: 53.34
      angle: 0
  - key: Value
    value: GND
    position:
      x: 50.8
      y: 52.07
      angle: 0
- libraryNickname: Device
  entryName: C
  position:
    x: 41.91
    y: 66.04
    angle: 90
  properties:
  - key: Reference
    value: C1
    position:
      x: 41.91
      y: 62.23
      angle: 90
  - key: Value
    value: 15pF
    position:
      x: 41.91
      y: 60.96
      angle: 90
- libraryNickname: power
  entryName: GND
  position:
    x: 48.26
    y: 101.6
    angle: 0
  properties:
  - key: Reference
    value: '#PWR02'
    position:
      x: 48.26
      y: 107.95
      angle: 0
  - key: Value
    value: GND
    position:
      x: 48.26
      y: 106.68
      angle: 0
- libraryNickname: power
  entryName: +5V
  position:
    x: 29.21
    y: 34.29
    angle: 0
  properties:
  - key: Reference
    value: '#PWR04'
    position:
      x: 29.21
      y: 38.1
      angle: 0
  - key: Value
    value: +5V
    position:
      x: 29.21
      y: 29.21
      angle: 0
- libraryNickname: Connector
  entryName: USB_A
  position:
    x: 104.14
    y: 132.08
    angle: 0
  properties:
  - key: Reference
    value: J5
    position:
      x: 104.14
      y: 121.92
      angle: 0
  - key: Value
    value: USB_A femele connector
    position:
      x: 104.14
      y: 121.92
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 55.88
    y: 142.24
    angle: 0
  properties:
  - key: Reference
    value: '#PWR010'
    position:
      x: 55.88
      y: 148.59
      angle: 0
  - key: Value
    value: GND
    position:
      x: 55.88
      y: 147.32
      angle: 0
- libraryNickname: Device
  entryName: C
  position:
    x: 81.28
    y: 40.64
    angle: 0
  properties:
  - key: Reference
    value: C5
    position:
      x: 82.55
      y: 38.1
      angle: 0
  - key: Value
    value: 10uF
    position:
      x: 85.09
      y: 41.91
      angle: 0
- libraryNickname: Connector
  entryName: USB_B
  position:
    x: 116.84
    y: 99.06
    angle: 0
  properties:
  - key: Reference
    value: J1
    position:
      x: 116.84
      y: 86.36
      angle: 0
  - key: Value
    value: USB_B Female connector
    position:
      x: 116.84
      y: 88.9
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 73.66
    y: 44.45
    angle: 0
  properties:
  - key: Reference
    value: '#PWR013'
    position:
      x: 73.66
      y: 50.8
      angle: 0
  - key: Value
    value: GND
    position:
      x: 73.66
      y: 49.53
      angle: 0
- libraryNickname: Device
  entryName: C
  position:
    x: 114.3
    y: 36.83
    angle: 0
  properties:
  - key: Reference
    value: C3
    position:
      x: 115.57
      y: 34.29
      angle: 0
  - key: Value
    value: 1uF
    position:
      x: 118.11
      y: 38.1
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 80.01
    y: 142.24
    angle: 0
  properties:
  - key: Reference
    value: '#PWR011'
    position:
      x: 80.01
      y: 148.59
      angle: 0
  - key: Value
    value: GND
    position:
      x: 80.01
      y: 147.32
      angle: 0
- libraryNickname: Device
  entryName: C
  position:
    x: 34.29
    y: 88.9
    angle: 0
  properties:
  - key: Reference
    value: C7
    position:
      x: 35.56
      y: 86.36
      angle: 0
  - key: Value
    value: 10uF
    position:
      x: 38.1
      y: 90.17
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 63.5
    y: 64.77
    angle: 0
  properties:
  - key: Reference
    value: '#PWR05'
    position:
      x: 63.5
      y: 71.12
      angle: 0
  - key: Value
    value: GND
    position:
      x: 63.5
      y: 69.85
      angle: 0
- libraryNickname: Connector
  entryName: USB_A
  position:
    x: 80.01
    y: 132.08
    angle: 0
  properties:
  - key: Reference
    value: J4
    position:
      x: 80.01
      y: 121.92
      angle: 0
  - key: Value
    value: USB_A femele connector
    position:
      x: 80.01
      y: 121.92
      angle: 0
junctions:
- position:
    x: 34.29
    y: 85.09
    angle: 0
- position:
    x: 104.14
    y: 142.24
    angle: 0
- position:
    x: 101.6
    y: 93.98
    angle: 0
- position:
    x: 116.84
    y: 109.22
    angle: 0
- position:
    x: 55.88
    y: 142.24
    angle: 0
- position:
    x: 38.1
    y: 73.66
    angle: 0
- position:
    x: 50.8
    y: 73.66
    angle: 0
- position:
    x: 30.48
    y: 142.24
    angle: 0
- position:
    x: 81.28
    y: 36.83
    angle: 0
- position:
    x: 80.01
    y: 142.24
    angle: 0
- position:
    x: 50.8
    y: 66.04
    angle: 0
- position:
    x: 34.29
    y: 99.06
    angle: 0
- position:
    x: 73.66
    y: 36.83
    angle: 0
- position:
    x: 114.3
    y: 33.02
    angle: 0
noConnects:
- position:
    x: 90.17
    y: 76.2
    angle: null
- position:
    x: 90.17
    y: 78.74
    angle: null
- position:
    x: 90.17
    y: 83.82
    angle: null
- position:
    x: 90.17
    y: 71.12
    angle: null
- position:
    x: 90.17
    y: 81.28
    angle: null
busEntries: []
graphicalItems:
- type: wire
  points:
  - x: 45.72
    y: 73.66
  - x: 50.8
    y: 73.66
- type: wire
  points:
  - x: 67.31
    y: 71.12
  - x: 59.69
    y: 71.12
- type: wire
  points:
  - x: 38.1
    y: 66.04
  - x: 38.1
    y: 73.66
- type: wire
  points:
  - x: 63.5
    y: 64.77
  - x: 67.31
    y: 64.77
- type: wire
  points:
  - x: 73.66
    y: 36.83
  - x: 81.28
    y: 36.83
- type: wire
  points:
  - x: 114.3
    y: 20.32
  - x: 114.3
    y: 25.4
- type: wire
  points:
  - x: 30.48
    y: 99.06
  - x: 34.29
    y: 99.06
- type: wire
  points:
  - x: 49.53
    y: 85.09
  - x: 49.53
    y: 96.52
- type: wire
  points:
  - x: 101.6
    y: 88.9
  - x: 101.6
    y: 93.98
- type: wire
  points:
  - x: 105.41
    y: 33.02
  - x: 114.3
    y: 33.02
- type: wire
  points:
  - x: 67.31
    y: 64.77
  - x: 67.31
    y: 68.58
- type: wire
  points:
  - x: 53.34
    y: 142.24
  - x: 55.88
    y: 142.24
- type: wire
  points:
  - x: 101.6
    y: 93.98
  - x: 109.22
    y: 93.98
- type: wire
  points:
  - x: 81.28
    y: 36.83
  - x: 86.36
    y: 36.83
- type: wire
  points:
  - x: 30.48
    y: 85.09
  - x: 34.29
    y: 85.09
- type: wire
  points:
  - x: 34.29
    y: 99.06
  - x: 67.31
    y: 99.06
- type: wire
  points:
  - x: 59.69
    y: 71.12
  - x: 59.69
    y: 66.04
- type: wire
  points:
  - x: 49.53
    y: 96.52
  - x: 67.31
    y: 96.52
- type: wire
  points:
  - x: 45.72
    y: 66.04
  - x: 50.8
    y: 66.04
- type: wire
  points:
  - x: 50.8
    y: 73.66
  - x: 67.31
    y: 73.66
- type: wire
  points:
  - x: 101.6
    y: 142.24
  - x: 104.14
    y: 142.24
- type: wire
  points:
  - x: 77.47
    y: 142.24
  - x: 80.01
    y: 142.24
- type: wire
  points:
  - x: 90.17
    y: 93.98
  - x: 101.6
    y: 93.98
- type: wire
  points:
  - x: 34.29
    y: 85.09
  - x: 49.53
    y: 85.09
- type: wire
  points:
  - x: 38.1
    y: 73.66
  - x: 38.1
    y: 77.47
- type: wire
  points:
  - x: 55.88
    y: 101.6
  - x: 67.31
    y: 101.6
- type: wire
  points:
  - x: 116.84
    y: 109.22
  - x: 119.38
    y: 109.22
- type: wire
  points:
  - x: 29.21
    y: 34.29
  - x: 50.8
    y: 34.29
- type: wire
  points:
  - x: 50.8
    y: 66.04
  - x: 59.69
    y: 66.04
- type: wire
  points:
  - x: 60.96
    y: 36.83
  - x: 73.66
    y: 36.83
- type: wire
  points:
  - x: 90.17
    y: 99.06
  - x: 109.22
    y: 99.06
- type: wire
  points:
  - x: 27.94
    y: 142.24
  - x: 30.48
    y: 142.24
- type: wire
  points:
  - x: 90.17
    y: 101.6
  - x: 109.22
    y: 101.6
globalLabels:
- text: SRST
  shape: input
  position:
    x: 90.17
    y: 96.52
    angle: 0
- text: DM3
  shape: input
  position:
    x: 67.31
    y: 81.28
    angle: 180
- text: DM4
  shape: input
  position:
    x: 67.31
    y: 76.2
    angle: 180
- text: VCC5V
  shape: input
  position:
    x: 86.36
    y: 36.83
    angle: 0
- text: DP3
  shape: input
  position:
    x: 67.31
    y: 83.82
    angle: 180
- text: DM2
  shape: input
  position:
    x: 67.31
    y: 86.36
    angle: 180
- text: VCC3V3
  shape: input
  position:
    x: 90.17
    y: 86.36
    angle: 0
- text: VCC3V3
  shape: input
  position:
    x: 90.17
    y: 73.66
    angle: 0
- text: VCC3V3
  shape: input
  position:
    x: 50.8
    y: 41.91
    angle: 180
- text: DP1
  shape: input
  position:
    x: 38.1
    y: 132.08
    angle: 0
- text: SRST
  shape: input
  position:
    x: 105.41
    y: 33.02
    angle: 180
- text: DP2
  shape: input
  position:
    x: 67.31
    y: 88.9
    angle: 180
- text: DP1
  shape: input
  position:
    x: 67.31
    y: 93.98
    angle: 180
- text: DM2
  shape: input
  position:
    x: 63.5
    y: 134.62
    angle: 0
- text: VCC5V
  shape: input
  position:
    x: 111.76
    y: 127
    angle: 0
- text: VCC5V
  shape: input
  position:
    x: 63.5
    y: 127
    angle: 0
- text: VCC5V
  shape: input
  position:
    x: 38.1
    y: 127
    angle: 0
- text: VCC5V
  shape: input
  position:
    x: 90.17
    y: 88.9
    angle: 0
- text: DP4
  shape: input
  position:
    x: 111.76
    y: 132.08
    angle: 0
- text: VCC1V2
  shape: input
  position:
    x: 30.48
    y: 85.09
    angle: 180
- text: DP3
  shape: input
  position:
    x: 87.63
    y: 132.08
    angle: 0
- text: DM1
  shape: input
  position:
    x: 38.1
    y: 134.62
    angle: 0
- text: VCC3V3
  shape: input
  position:
    x: 30.48
    y: 99.06
    angle: 180
- text: VCC1V2
  shape: input
  position:
    x: 90.17
    y: 68.58
    angle: 0
- text: PSELF
  shape: input
  position:
    x: 60.96
    y: 44.45
    angle: 0
- text: PSELF
  shape: input
  position:
    x: 90.17
    y: 91.44
    angle: 0
- text: DP4
  shape: input
  position:
    x: 67.31
    y: 78.74
    angle: 180
- text: DM3
  shape: input
  position:
    x: 87.63
    y: 134.62
    angle: 0
- text: VBUS
  shape: input
  position:
    x: 101.6
    y: 88.9
    angle: 0
- text: VCC3V3
  shape: input
  position:
    x: 114.3
    y: 20.32
    angle: 0
- text: DM1
  shape: input
  position:
    x: 67.31
    y: 91.44
    angle: 180
- text: VBUS
  shape: input
  position:
    x: 50.8
    y: 39.37
    angle: 180
- text: VCC5V
  shape: input
  position:
    x: 87.63
    y: 127
    angle: 0
- text: DP2
  shape: input
  position:
    x: 63.5
    y: 132.08
    angle: 0
- text: DM4
  shape: input
  position:
    x: 111.76
    y: 134.62
    angle: 0
sheetInstances:
- instancePath: /
  page: '1'
