/
micro.bak
913 lines (913 loc) · 19.7 KB
/
micro.bak
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
EESchema Schematic File Version 2
LIBS:power
LIBS:device
LIBS:transistors
LIBS:conn
LIBS:linear
LIBS:regul
LIBS:74xx
LIBS:cmos4000
LIBS:adc-dac
LIBS:memory
LIBS:xilinx
LIBS:microcontrollers
LIBS:dsp
LIBS:microchip
LIBS:analog_switches
LIBS:motorola
LIBS:texas
LIBS:intel
LIBS:audio
LIBS:interface
LIBS:digital-audio
LIBS:philips
LIBS:display
LIBS:cypress
LIBS:siliconi
LIBS:opto
LIBS:atmel
LIBS:contrib
LIBS:valves
LIBS:iwasz-kicad
LIBS:robot1-cache
EELAYER 25 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 5 7
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L C C11
U 1 1 5724042C
P 4725 3300
F 0 "C11" H 4750 3400 50 0000 L CNN
F 1 "100nF" H 4750 3200 50 0000 L CNN
F 2 "w_smd_cap:c_0603" H 4763 3150 30 0001 C CNN
F 3 "" H 4725 3300 60 0000 C CNN
F 4 "Decoupling capacitor" H 4725 3300 60 0001 C CNN "Opis"
1 4725 3300
-1 0 0 1
$EndComp
$Comp
L C C12
U 1 1 5724042D
P 4425 3300
F 0 "C12" H 4450 3400 50 0000 L CNN
F 1 "4.7µF" H 4450 3200 50 0000 L CNN
F 2 "w_smd_cap:c_0805" H 4463 3150 30 0001 C CNN
F 3 "" H 4425 3300 60 0000 C CNN
F 4 "Decoupling capacitor" H 4425 3300 60 0001 C CNN "Opis"
1 4425 3300
-1 0 0 1
$EndComp
$Comp
L GND #PWR035
U 1 1 5724042E
P 4425 3025
F 0 "#PWR035" H 4425 2775 50 0001 C CNN
F 1 "GND" H 4425 2875 50 0000 C CNN
F 2 "" H 4425 3025 60 0000 C CNN
F 3 "" H 4425 3025 60 0000 C CNN
1 4425 3025
-1 0 0 1
$EndComp
$Comp
L C C8
U 1 1 5724042F
P 6675 5400
F 0 "C8" H 6700 5500 50 0000 L CNN
F 1 "100nF" H 6700 5300 50 0000 L CNN
F 2 "w_smd_cap:c_0603" H 6713 5250 30 0001 C CNN
F 3 "" H 6675 5400 60 0000 C CNN
F 4 "Decoupling capacitor" H 6675 5400 60 0001 C CNN "Opis"
1 6675 5400
1 0 0 -1
$EndComp
$Comp
L C C9
U 1 1 57240430
P 7000 5400
F 0 "C9" H 7025 5500 50 0000 L CNN
F 1 "100nF" H 7025 5300 50 0000 L CNN
F 2 "w_smd_cap:c_0603" H 7038 5250 30 0001 C CNN
F 3 "" H 7000 5400 60 0000 C CNN
F 4 "Decoupling capacitor" H 7000 5400 60 0001 C CNN "Opis"
1 7000 5400
1 0 0 -1
$EndComp
$Comp
L C C10
U 1 1 57240431
P 7300 5400
F 0 "C10" H 7325 5500 50 0000 L CNN
F 1 "4.7µF" H 7325 5300 50 0000 L CNN
F 2 "w_smd_cap:c_0805" H 7338 5250 30 0001 C CNN
F 3 "" H 7300 5400 60 0000 C CNN
F 4 "Decoupling capacitor" H 7300 5400 60 0001 C CNN "Opis"
1 7300 5400
1 0 0 -1
$EndComp
$Comp
L GND #PWR036
U 1 1 57240432
P 7300 5750
F 0 "#PWR036" H 7300 5500 50 0001 C CNN
F 1 "GND" H 7300 5600 50 0000 C CNN
F 2 "" H 7300 5750 60 0000 C CNN
F 3 "" H 7300 5750 60 0000 C CNN
1 7300 5750
1 0 0 -1
$EndComp
$Comp
L C C7
U 1 1 57240433
P 5675 2125
F 0 "C7" H 5700 2225 50 0000 L CNN
F 1 "100nF" H 5700 2025 50 0000 L CNN
F 2 "w_smd_cap:c_0603" H 5713 1975 30 0001 C CNN
F 3 "" H 5675 2125 60 0000 C CNN
F 4 "Decoupling capacitor" H 5675 2125 60 0001 C CNN "Opis"
1 5675 2125
0 -1 -1 0
$EndComp
$Comp
L C C6
U 1 1 57240434
P 5675 1800
F 0 "C6" H 5700 1900 50 0000 L CNN
F 1 "100nF" H 5700 1700 50 0000 L CNN
F 2 "w_smd_cap:c_0603" H 5713 1650 30 0001 C CNN
F 3 "" H 5675 1800 60 0000 C CNN
F 4 "Decoupling capacitor" H 5675 1800 60 0001 C CNN "Opis"
1 5675 1800
0 -1 -1 0
$EndComp
$Comp
L C C5
U 1 1 57240435
P 5675 1500
F 0 "C5" H 5700 1600 50 0000 L CNN
F 1 "4.7µF" H 5700 1400 50 0000 L CNN
F 2 "w_smd_cap:c_0805" H 5713 1350 30 0001 C CNN
F 3 "" H 5675 1500 60 0000 C CNN
F 4 "Decoupling capacitor" H 5675 1500 60 0001 C CNN "Opis"
1 5675 1500
0 -1 -1 0
$EndComp
$Comp
L GND #PWR037
U 1 1 57240436
P 5975 1500
F 0 "#PWR037" H 5975 1250 50 0001 C CNN
F 1 "GND" H 5975 1350 50 0000 C CNN
F 2 "" H 5975 1500 60 0000 C CNN
F 3 "" H 5975 1500 60 0000 C CNN
1 5975 1500
0 -1 -1 0
$EndComp
$Comp
L C C4
U 1 1 57240437
P 4175 4500
F 0 "C4" H 4200 4600 50 0000 L CNN
F 1 "10nF" H 4200 4400 50 0000 L CNN
F 2 "w_smd_cap:c_0603" H 4213 4350 30 0001 C CNN
F 3 "" H 4175 4500 60 0000 C CNN
F 4 "Decoupling capacitor" H 4175 4500 60 0001 C CNN "Opis"
1 4175 4500
1 0 0 -1
$EndComp
$Comp
L C C1
U 1 1 57240438
P 3875 4500
F 0 "C1" H 3900 4600 50 0000 L CNN
F 1 "1µF" H 3900 4400 50 0000 L CNN
F 2 "w_smd_cap:c_0603" H 3913 4350 30 0001 C CNN
F 3 "" H 3875 4500 60 0000 C CNN
F 4 "Decoupling capacitor" H 3875 4500 60 0001 C CNN "Opis"
1 3875 4500
1 0 0 -1
$EndComp
$Comp
L GND #PWR038
U 1 1 57240439
P 3875 4775
F 0 "#PWR038" H 3875 4525 50 0001 C CNN
F 1 "GND" H 3875 4625 50 0000 C CNN
F 2 "" H 3875 4775 60 0000 C CNN
F 3 "" H 3875 4775 60 0000 C CNN
1 3875 4775
1 0 0 -1
$EndComp
$Comp
L GND #PWR039
U 1 1 5724043A
P 4750 4200
F 0 "#PWR039" H 4750 3950 50 0001 C CNN
F 1 "GND" H 4750 4050 50 0000 C CNN
F 2 "" H 4750 4200 60 0000 C CNN
F 3 "" H 4750 4200 60 0000 C CNN
1 4750 4200
0 1 1 0
$EndComp
$Comp
L +3.3V #PWR040
U 1 1 57240443
P 5450 1400
F 0 "#PWR040" H 5450 1250 50 0001 C CNN
F 1 "+3.3V" H 5450 1540 50 0000 C CNN
F 2 "" H 5450 1400 60 0000 C CNN
F 3 "" H 5450 1400 60 0000 C CNN
1 5450 1400
1 0 0 -1
$EndComp
$Comp
L +3.3V #PWR041
U 1 1 57240444
P 4275 3500
F 0 "#PWR041" H 4275 3350 50 0001 C CNN
F 1 "+3.3V" H 4275 3640 50 0000 C CNN
F 2 "" H 4275 3500 60 0000 C CNN
F 3 "" H 4275 3500 60 0000 C CNN
1 4275 3500
0 -1 -1 0
$EndComp
$Comp
L +3.3V #PWR042
U 1 1 57240445
P 7450 5175
F 0 "#PWR042" H 7450 5025 50 0001 C CNN
F 1 "+3.3V" H 7450 5315 50 0000 C CNN
F 2 "" H 7450 5175 60 0000 C CNN
F 3 "" H 7450 5175 60 0000 C CNN
1 7450 5175
0 1 1 0
$EndComp
$Comp
L +3.3V #PWR043
U 1 1 57240446
P 3725 4300
F 0 "#PWR043" H 3725 4150 50 0001 C CNN
F 1 "+3.3V" H 3725 4440 50 0000 C CNN
F 2 "" H 3725 4300 60 0000 C CNN
F 3 "" H 3725 4300 60 0000 C CNN
1 3725 4300
0 -1 -1 0
$EndComp
Wire Wire Line
4275 3500 4950 3500
Wire Wire Line
4425 3500 4425 3450
Wire Wire Line
4725 3500 4725 3450
Connection ~ 4725 3500
Wire Wire Line
4425 3025 4425 3150
Wire Wire Line
4725 3150 4725 3100
Connection ~ 4425 3100
Wire Wire Line
6550 5050 6550 5175
Wire Wire Line
6550 5175 7450 5175
Wire Wire Line
7300 5175 7300 5250
Wire Wire Line
7000 5250 7000 5175
Connection ~ 7000 5175
Wire Wire Line
6675 5250 6675 5175
Connection ~ 6675 5175
Wire Wire Line
7300 5550 7300 5750
Wire Wire Line
6675 5550 6675 5625
Wire Wire Line
6450 5625 7300 5625
Connection ~ 7300 5625
Wire Wire Line
7000 5550 7000 5625
Connection ~ 7000 5625
Wire Wire Line
5450 1400 5450 3000
Wire Wire Line
5525 1800 5450 1800
Connection ~ 5450 1800
Wire Wire Line
5525 2125 5450 2125
Connection ~ 5450 2125
Wire Wire Line
5825 1500 5975 1500
Wire Wire Line
5900 2125 5825 2125
Wire Wire Line
5900 1500 5900 2300
Wire Wire Line
5825 1800 5900 1800
Connection ~ 5900 1800
Connection ~ 5450 1500
Wire Wire Line
3725 4300 4950 4300
Wire Wire Line
4175 4350 4175 4300
Connection ~ 4175 4300
Wire Wire Line
4175 4650 4175 4700
Wire Wire Line
4175 4700 3875 4700
Wire Wire Line
3875 4650 3875 4775
Connection ~ 3875 4700
Wire Wire Line
4950 4200 4750 4200
Wire Wire Line
5550 2300 5550 3000
Wire Wire Line
6450 5050 6450 5625
Connection ~ 3875 4300
Wire Wire Line
5450 1500 5525 1500
Connection ~ 5900 1500
Connection ~ 4425 3500
Connection ~ 7300 5175
Wire Wire Line
3875 4350 3875 4300
Connection ~ 6675 5625
Connection ~ 4725 3100
Wire Wire Line
5900 2300 5550 2300
Connection ~ 5900 2125
Wire Wire Line
5650 5250 5650 5050
Wire Wire Line
5750 5050 5750 5250
Wire Wire Line
5850 5250 5850 5050
Wire Wire Line
5950 5050 5950 5250
Text HLabel 7100 3600 2 60 Output ~ 0
aphasel
Text HLabel 7100 3500 2 60 Output ~ 0
bphasel
Text HLabel 6150 5250 3 60 Output ~ 0
aphaser
Text HLabel 6250 5250 3 60 Output ~ 0
bphaser
Text HLabel 5950 5250 3 60 Output ~ 0
aenbll
Text HLabel 6050 5250 3 60 Output ~ 0
benbll
Text HLabel 6150 2875 1 60 Output ~ 0
aenblr
Text HLabel 6250 2875 1 60 Output ~ 0
benblr
Wire Wire Line
6050 5050 6050 5250
Wire Wire Line
6250 5050 6250 5250
Text HLabel 5850 5250 3 60 Output ~ 0
ble_spi_mosi
Wire Wire Line
6150 3000 6150 2875
Text HLabel 5650 5250 3 60 Output ~ 0
ble_spi_clk
Text HLabel 5750 5250 3 60 Input ~ 0
ble_spi_miso
Wire Wire Line
6250 2875 6250 3000
Text HLabel 6350 2875 1 60 Input ~ 0
ble_spi_irq
Wire Wire Line
6350 3000 6350 2875
Text HLabel 6450 2875 1 60 Output ~ 0
ble_resetn
Wire Wire Line
6450 3000 6450 2875
Text HLabel 6350 5250 3 60 Output ~ 0
ble_spi_cs
Wire Wire Line
6050 3000 6050 2875
Text HLabel 4850 4400 0 60 Input ~ 0
progress
Text HLabel 4850 4500 0 60 Input ~ 0
complete
Text HLabel 8050 3900 2 60 Input ~ 0
sense
Wire Wire Line
4850 4400 4950 4400
Wire Wire Line
4850 4500 4950 4500
$Comp
L R R5
U 1 1 5727D143
P 7800 3900
F 0 "R5" H 7870 3946 50 0000 L CNN
F 1 "1k" H 7870 3855 50 0000 L CNN
F 2 "w_smd_resistors:r_0402" V 7730 3900 50 0001 C CNN
F 3 "" H 7800 3900 50 0000 C CNN
1 7800 3900
0 -1 -1 0
$EndComp
$Comp
L GND #PWR044
U 1 1 5727D3BA
P 8050 3675
F 0 "#PWR044" H 8050 3425 50 0001 C CNN
F 1 "GND" V 8055 3547 50 0000 R CNN
F 2 "" H 8050 3675 50 0000 C CNN
F 3 "" H 8050 3675 50 0000 C CNN
1 8050 3675
0 -1 -1 0
$EndComp
$Comp
L R R7
U 1 1 5727D467
P 7800 3675
F 0 "R7" H 7870 3721 50 0000 L CNN
F 1 "1k" H 7870 3630 50 0000 L CNN
F 2 "w_smd_resistors:r_0402" V 7730 3675 50 0001 C CNN
F 3 "" H 7800 3675 50 0000 C CNN
1 7800 3675
0 -1 -1 0
$EndComp
Wire Wire Line
8050 3900 7950 3900
Wire Wire Line
8050 3675 7950 3675
Wire Wire Line
7575 3900 7650 3900
Wire Wire Line
7575 3675 7575 3900
Wire Wire Line
7575 3675 7650 3675
Wire Wire Line
6350 5050 6350 5250
Text HLabel 5950 2875 1 60 BiDi ~ 0
sda
Text HLabel 6050 2875 1 60 Output ~ 0
scl
Wire Wire Line
5950 2875 5950 3000
Text HLabel 7100 4500 2 60 Input ~ 0
photo_r_int
Text HLabel 7100 4600 2 60 Input ~ 0
photo_l_int
Text HLabel 5650 2875 1 60 Output ~ 0
photo_illumination
Text HLabel 7100 3900 2 60 Input ~ 0
ir_sense
Text HLabel 5750 2875 1 60 Output ~ 0
ir_cannon
Wire Wire Line
6150 5050 6150 5250
Wire Wire Line
7000 3900 7100 3900
Wire Wire Line
7000 4000 7100 4000
Wire Wire Line
7100 4100 7000 4100
Wire Wire Line
7000 4200 7100 4200
Text Notes 1350 1375 0 60 ~ 0
TODO dać USB, bo to umożliwi stosowanie płytki głównej\njako development boarda (głównie dla mnie?).
Text Notes 1350 1575 0 60 ~ 0
TODO serial console
Wire Notes Line
1250 1225 4100 1225
Wire Notes Line
4100 1225 4100 1250
Wire Notes Line
1275 1350 3700 1350
Text Notes 1350 1725 0 60 ~ 0
TODO LED RGB
Text Notes 1350 1850 0 60 ~ 0
TODO Włączniczek zamiast pinów
Text Notes 1350 1975 0 60 ~ 0
TODO Ustalić jaki w końcu ten mikrokontroler.
Text Notes 1350 2100 0 60 ~ 0
TODO Czy nie da się wszystkich IR sensorów podłączyć do jednego wejścia!?
Text Notes 1350 2225 0 60 ~ 0
TODO dźwięk!
Text Notes 1350 2350 0 60 ~ 0
TODO Skalowalność µC - chodzi mi o pamięć flash i RAM
Wire Notes Line
1325 1800 2925 1800
Wire Notes Line
1325 2050 4950 2050
Wire Notes Line
4950 2050 4950 2075
Wire Notes Line
1325 2300 4125 2300
Text HLabel 7100 4000 2 60 Output ~ 0
led_r
Text HLabel 7100 4100 2 60 Output ~ 0
led_g
Text HLabel 7100 4200 2 60 Output ~ 0
led_b
Wire Wire Line
7000 4500 7100 4500
Wire Wire Line
7100 4600 7000 4600
Wire Wire Line
5650 3000 5650 2875
Wire Wire Line
5750 2875 5750 3000
Wire Wire Line
4725 3100 4425 3100
Wire Wire Line
7000 3500 7100 3500
Wire Wire Line
7100 3600 7000 3600
Wire Wire Line
7000 3800 7575 3800
Connection ~ 7575 3800
Wire Wire Line
5450 5050 5450 5250
Wire Wire Line
5550 5050 5550 5250
Wire Notes Line
1325 1525 2300 1525
Wire Notes Line
1350 1675 2050 1675
Wire Notes Line
1325 1925 3500 1925
$Comp
L Crystal Y1
U 1 1 580B1D49
P 3675 3750
F 0 "Y1" H 3675 3900 50 0000 C CNN
F 1 "16MHz" H 3675 3600 50 0000 C CNN
F 2 "Crystals:crystal_FA238-TSX3225" H 3675 3750 60 0001 C CNN
F 3 "http://pl.farnell.com/epson/x1e0000210193-tsx-3225-16mhz-16pf/crystal-16mhz-16pf-3-2-x-2-5mm/dp/2471828" H 3675 3750 60 0001 C CNN
F 4 "Kryształ 16MHz do radia do nRF8001" H 3675 3750 60 0001 C CNN "Opis"
1 3675 3750
0 1 1 0
$EndComp
$Comp
L C C40
U 1 1 580B1D51
P 3350 4000
F 0 "C40" H 3375 4100 50 0000 L CNN
F 1 "15pF" H 3375 3900 50 0000 L CNN
F 2 "w_smd_cap:c_0603" H 3388 3850 30 0001 C CNN
F 3 "" H 3350 4000 60 0000 C CNN
F 4 "Obciążenie kryształu" H 3350 4000 60 0001 C CNN "Opis"
1 3350 4000
0 1 1 0
$EndComp
$Comp
L C C39
U 1 1 580B1D59
P 3350 3475
F 0 "C39" H 3375 3575 50 0000 L CNN
F 1 "15pF" H 3375 3375 50 0000 L CNN
F 2 "w_smd_cap:c_0603" H 3388 3325 30 0001 C CNN
F 3 "" H 3350 3475 60 0000 C CNN
F 4 "Obciążenie kryształu" H 3350 3475 60 0001 C CNN "Opis"
1 3350 3475
0 1 1 0
$EndComp
Wire Wire Line
3500 4000 3900 4000
Wire Wire Line
3500 3475 3975 3475
Wire Wire Line
3675 3900 3675 4000
Connection ~ 3675 4000
Wire Wire Line
3675 3600 3675 3475
Connection ~ 3675 3475
Wire Wire Line
3200 4000 3000 4000
Wire Wire Line
3200 3475 3000 3475
$Comp
L GND #PWR045
U 1 1 580B1D68
P 3000 3475
F 0 "#PWR045" H 3000 3225 50 0001 C CNN
F 1 "GND" H 3000 3325 50 0000 C CNN
F 2 "" H 3000 3475 60 0000 C CNN
F 3 "" H 3000 3475 60 0000 C CNN
1 3000 3475
0 1 1 0
$EndComp
$Comp
L GND #PWR046
U 1 1 580B1D6E
P 3000 4000
F 0 "#PWR046" H 3000 3750 50 0001 C CNN
F 1 "GND" H 3000 3850 50 0000 C CNN
F 2 "" H 3000 4000 60 0000 C CNN
F 3 "" H 3000 4000 60 0000 C CNN
1 3000 4000
0 1 1 0
$EndComp
$Comp
L STM32F030CxTx U14
U 1 1 580B3217
P 6000 4050
F 0 "U14" H 5475 3725 60 0000 L CNN
F 1 "STM32F030CxTx" H 5475 3575 60 0000 L CNN
F 2 "w_smd_lqfp:lqfp48" H 6450 3750 60 0001 C CNN
F 3 "" H 6450 3750 60 0000 C CNN
1 6000 4050
1 0 0 -1
$EndComp
Text Notes 5800 4350 0 60 ~ 0
C6Tx : 32/4\nC8Tx : 64/8\nCCTx : 256/32
$Comp
L R R34
U 1 1 580B73FD
P 4050 4000
F 0 "R34" V 4150 4000 50 0000 C CNN
F 1 "220" V 4050 4000 50 0000 C CNN
F 2 "w_smd_resistors:r_0402" V 3980 4000 50 0001 C CNN
F 3 "" H 4050 4000 50 0000 C CNN
1 4050 4000
0 1 1 0
$EndComp
Wire Wire Line
4950 4000 4200 4000
Wire Wire Line
3975 3475 3975 3900
Wire Wire Line
3975 3900 4950 3900
Text Notes 3000 3350 0 60 ~ 0
Crystal is optional
NoConn ~ 5850 3000
Text HLabel 5550 5250 3 60 Output ~ 0
sound
Wire Notes Line
1350 2200 1975 2200
Text HLabel 5450 5250 3 60 Input ~ 0
console_rx
Text HLabel 4850 4600 0 60 Output ~ 0
console_tx
Wire Wire Line
4950 4600 4850 4600
Text HLabel 4950 4100 0 60 Input ~ 0
nrst
Text HLabel 7100 3700 2 60 BiDi ~ 0
swdio
Wire Wire Line
7000 3700 7100 3700
Text HLabel 6550 2875 1 60 Input ~ 0
swdclk
Wire Wire Line
6550 3000 6550 2875
Text HLabel 7100 4300 2 60 BiDi ~ 0
pb15
Text HLabel 7100 4400 2 60 BiDi ~ 0
pb14
Wire Wire Line
7000 4400 7100 4400
Wire Wire Line
7000 4300 7100 4300
Text HLabel 4850 3800 0 60 BiDi ~ 0
pc15
Text HLabel 4850 3700 0 60 BiDi ~ 0
pc14
Text HLabel 4850 3600 0 60 BiDi ~ 0
pc13
Wire Wire Line
4850 3800 4950 3800
Wire Wire Line
4850 3700 4950 3700
Wire Wire Line
4850 3600 4950 3600
$Comp
L R R19
U 1 1 58152EFD
P 1250 7000
F 0 "R19" V 1225 7100 50 0000 L CNN
F 1 "22R" V 1250 6900 50 0000 L CNN
F 2 "w_smd_resistors:r_0402" V 1180 7000 50 0001 C CNN
F 3 "" H 1250 7000 50 0000 C CNN
1 1250 7000
0 1 1 0
$EndComp
$Comp
L R R20
U 1 1 58152F04
P 1250 7200
F 0 "R20" V 1325 7100 50 0000 L CNN
F 1 "22R" V 1250 7100 50 0000 L CNN
F 2 "w_smd_resistors:r_0402" V 1180 7200 50 0001 C CNN
F 3 "" H 1250 7200 50 0000 C CNN
1 1250 7200
0 1 1 0
$EndComp
$Comp
L GND #PWR047
U 1 1 58152F0B
P 1675 7100
F 0 "#PWR047" H 1675 6850 50 0001 C CNN
F 1 "GND" H 1675 6950 50 0000 C CNN
F 2 "" H 1675 7100 60 0000 C CNN
F 3 "" H 1675 7100 60 0000 C CNN
1 1675 7100
0 1 1 0
$EndComp
$Comp
L +3.3V #PWR048
U 1 1 58152F11
P 1675 6900
F 0 "#PWR048" H 1675 6750 50 0001 C CNN
F 1 "+3.3V" H 1675 7040 50 0000 C CNN
F 2 "" H 1675 6900 60 0000 C CNN
F 3 "" H 1675 6900 60 0000 C CNN
1 1675 6900
0 -1 -1 0
$EndComp
$Comp
L +BATT #PWR049
U 1 1 58152F17
P 1675 6800
F 0 "#PWR049" H 1675 6650 50 0001 C CNN
F 1 "+BATT" V 1690 6927 50 0000 L CNN
F 2 "" H 1675 6800 50 0000 C CNN
F 3 "" H 1675 6800 50 0000 C CNN
1 1675 6800
0 -1 -1 0
$EndComp
$Comp
L +5V #PWR050
U 1 1 58152F1D
P 2400 6000
F 0 "#PWR050" H 2400 5850 50 0001 C CNN
F 1 "+5V" H 2400 6140 50 0000 C CNN
F 2 "" H 2400 6000 60 0000 C CNN
F 3 "" H 2400 6000 60 0000 C CNN
1 2400 6000
0 1 1 0
$EndComp
$Comp
L CONN_01X17 P1
U 1 1 58152F23
P 1975 6400
F 0 "P1" H 1550 5350 50 0000 L CNN
F 1 "CONN_01X17" H 1525 5450 50 0000 L CNN
F 2 "iwasz:pin_socket_17" H 1975 6400 50 0001 C CNN
F 3 "" H 1975 6400 50 0000 C CNN
1 1975 6400
1 0 0 -1
$EndComp
$Comp
L CONN_01X17 P2
U 1 1 58152F2A
P 2100 6400
F 0 "P2" H 1725 5425 50 0000 L CNN
F 1 "CONN_01X17" H 1675 5500 50 0000 L CNN
F 2 "iwasz:pin_socket_17" H 2100 6400 50 0001 C CNN
F 3 "" H 2100 6400 50 0000 C CNN
1 2100 6400
-1 0 0 1
$EndComp
$Comp
L GND #PWR051
U 1 1 58152F31
P 2400 6700
F 0 "#PWR051" H 2400 6450 50 0001 C CNN
F 1 "GND" H 2400 6550 50 0000 C CNN
F 2 "" H 2400 6700 60 0000 C CNN
F 3 "" H 2400 6700 60 0000 C CNN
1 2400 6700
0 -1 -1 0
$EndComp
Text HLabel 2400 7200 2 60 Output ~ 0
photo_illumination
Text HLabel 2400 7100 2 60 Input ~ 0
photo_l_int
Text HLabel 2400 7000 2 60 Input ~ 0
photo_r_int
Text HLabel 2400 6900 2 60 Output ~ 0
scl
Text HLabel 2400 6800 2 60 BiDi ~ 0
sda
Text HLabel 2400 6600 2 60 Output ~ 0
sound
Text HLabel 2400 6500 2 60 BiDi ~ 0
pb15
Text HLabel 2400 6400 2 60 BiDi ~ 0
pb14
Text HLabel 2400 6300 2 60 BiDi ~ 0
pc15
Text HLabel 2400 6200 2 60 BiDi ~ 0
pc14
Text HLabel 2400 6100 2 60 BiDi ~ 0
pc13
Text HLabel 2400 5900 2 60 Output ~ 0
benblr
Text HLabel 2400 5800 2 60 Output ~ 0
aenblr
Text HLabel 2400 5700 2 60 Output ~ 0
bphaser
Text HLabel 2400 5600 2 60 Output ~ 0
aphaser
Wire Wire Line
2400 7200 2300 7200
Wire Wire Line
2400 7100 2300 7100
Wire Wire Line
2300 7000 2400 7000
Wire Wire Line
2400 6900 2300 6900
Wire Wire Line
2300 6800 2400 6800
Wire Wire Line
2400 6700 2300 6700
Wire Wire Line
2300 6600 2400 6600
Wire Wire Line
2400 6500 2300 6500
Wire Wire Line
2300 6400 2400 6400
Wire Wire Line
2400 6300 2300 6300
Wire Wire Line
2300 6200 2400 6200
Wire Wire Line
2400 6100 2300 6100
Wire Wire Line
2300 6000 2400 6000
Wire Wire Line
2400 5900 2300 5900
Wire Wire Line
2300 5800 2400 5800
Wire Wire Line
2400 5700 2300 5700
Wire Wire Line
2300 5600 2400 5600
Text HLabel 1675 5600 0 60 Output ~ 0
aphasel
Text HLabel 1675 5700 0 60 Output ~ 0
bphasel
Text HLabel 1675 5800 0 60 Output ~ 0
aenbll
Text HLabel 1675 5900 0 60 Output ~ 0
benbll
Text HLabel 1675 6000 0 60 Output ~ 0
led_b
Text HLabel 1675 6100 0 60 Output ~ 0
led_g
Text HLabel 1675 6200 0 60 Output ~ 0
led_r
Text HLabel 1675 6300 0 60 Output ~ 0
ir_cannon
Text HLabel 1675 6400 0 60 Input ~ 0
ir_sense
Text HLabel 1675 6500 0 60 Input ~ 0
nrst
Text HLabel 1675 6600 0 60 Output ~ 0
console_tx
Text HLabel 1675 6700 0 60 Input ~ 0
console_rx
Text HLabel 1100 7000 0 60 BiDi ~ 0
swdio
Text HLabel 1100 7200 0 60 Output ~ 0
swdclk
Wire Wire Line
1400 7200 1775 7200
Wire Wire Line
1675 7100 1775 7100
Wire Wire Line
1775 7000 1400 7000
Wire Wire Line
1675 6900 1775 6900
Wire Wire Line
1675 6800 1775 6800
Wire Wire Line
1775 6700 1675 6700
Wire Wire Line
1675 6600 1775 6600
Wire Wire Line
1775 6500 1675 6500
Wire Wire Line
1675 6400 1775 6400
Wire Wire Line
1775 6300 1675 6300
Wire Wire Line
1675 6200 1775 6200
Wire Wire Line
1775 6100 1675 6100
Wire Wire Line
1675 6000 1775 6000
Wire Wire Line
1675 5900 1775 5900
Wire Wire Line
1775 5800 1675 5800
Wire Wire Line
1675 5700 1775 5700
Wire Wire Line
1775 5600 1675 5600
$EndSCHEMATC