forked from tmk/HHKB_controller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
HHKB_controller.sch
1279 lines (1279 loc) · 26.8 KB
/
HHKB_controller.sch
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
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
EESchema Schematic File Version 2
LIBS:keyboard_parts
LIBS:HHKB_controller-cache
EELAYER 25 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 2
Title "HHKB Alt Controller/Bluetooth"
Date "2015/03"
Rev "G"
Comp "TMK"
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
Text Label 1650 1700 0 60 ~ 0
D+
Text Label 1650 1600 0 60 ~ 0
D-
Text Label 1625 1500 0 60 ~ 0
VUSB_RAW
Text Label 1400 2525 0 60 ~ 0
GND
Text Label 1450 2625 0 60 ~ 0
D+
Text Label 1450 2725 0 60 ~ 0
D-
Text Label 1350 2825 0 60 ~ 0
VUSB_RAW
Text Label 5400 1400 0 60 ~ 0
PE6
Text Label 5400 2400 0 60 ~ 0
PB3
Text Label 5400 2300 0 60 ~ 0
PB2
Text Label 5400 2200 0 60 ~ 0
PB1
Text Label 5400 2500 0 60 ~ 0
PB7
Text Label 5400 2100 0 60 ~ 0
PB0
Text Label 8100 3200 2 60 ~ 0
PD6
Text Label 8100 3300 2 60 ~ 0
PD4
Text Label 8100 3100 2 60 ~ 0
PD7
Text Label 8100 3000 2 60 ~ 0
PB4
Text Label 8100 2900 2 60 ~ 0
PB5
Text Label 8100 2800 2 60 ~ 0
PB6
Text Label 8100 2700 2 60 ~ 0
PC6
Text Label 8100 2600 2 60 ~ 0
PC7
Text Label 8100 2200 2 60 ~ 0
PF7
Text Label 8100 2100 2 60 ~ 0
PF6
Text Label 8100 2000 2 60 ~ 0
PF5
Text Label 8100 1900 2 60 ~ 0
PF4
Text Label 8100 1800 2 60 ~ 0
PF1
Text Label 8100 1700 2 60 ~ 0
PF0
Text Label 8100 1600 2 60 ~ 0
AREF
Text Label 5350 3500 0 60 ~ 0
PD5
Text Label 5350 3400 0 60 ~ 0
PD3
Text Label 5350 3300 0 60 ~ 0
PD2
Text Label 5350 3200 0 60 ~ 0
PD1
Text Label 5350 3100 0 60 ~ 0
PD0
$Comp
L GND #PWR01
U 1 1 4EBA913C
P 3950 3850
F 0 "#PWR01" H 3950 3850 30 0001 C CNN
F 1 "GND" H 3950 3780 30 0001 C CNN
F 2 "" H 3950 3850 60 0001 C CNN
F 3 "" H 3950 3850 60 0001 C CNN
1 3950 3850
1 0 0 -1
$EndComp
$Comp
L GND #PWR02
U 1 1 4EBA35B3
P 8450 3850
F 0 "#PWR02" H 8450 3850 30 0001 C CNN
F 1 "GND" H 8450 3780 30 0001 C CNN
F 2 "" H 8450 3850 60 0001 C CNN
F 3 "" H 8450 3850 60 0001 C CNN
1 8450 3850
1 0 0 -1
$EndComp
$Comp
L GND #PWR03
U 1 1 4EBA3599
P 8950 3850
F 0 "#PWR03" H 8950 3850 30 0001 C CNN
F 1 "GND" H 8950 3780 30 0001 C CNN
F 2 "" H 8950 3850 60 0001 C CNN
F 3 "" H 8950 3850 60 0001 C CNN
1 8950 3850
1 0 0 -1
$EndComp
$Comp
L GND #PWR04
U 1 1 4EBA3538
P 1900 2100
F 0 "#PWR04" H 1900 2100 30 0001 C CNN
F 1 "GND" H 1900 2030 30 0001 C CNN
F 2 "" H 1900 2100 60 0001 C CNN
F 3 "" H 1900 2100 60 0001 C CNN
1 1900 2100
1 0 0 -1
$EndComp
$Comp
L GND #PWR05
U 1 1 4EBA3506
P 8700 3850
F 0 "#PWR05" H 8700 3850 30 0001 C CNN
F 1 "GND" H 8700 3780 30 0001 C CNN
F 2 "" H 8700 3850 60 0001 C CNN
F 3 "" H 8700 3850 60 0001 C CNN
1 8700 3850
1 0 0 -1
$EndComp
$Comp
L GND #PWR06
U 1 1 4EBA3501
P 8200 3850
F 0 "#PWR06" H 8200 3850 30 0001 C CNN
F 1 "GND" H 8200 3780 30 0001 C CNN
F 2 "" H 8200 3850 60 0001 C CNN
F 3 "" H 8200 3850 60 0001 C CNN
1 8200 3850
1 0 0 -1
$EndComp
$Comp
L GND #PWR07
U 1 1 4EBA34E8
P 7900 3850
F 0 "#PWR07" H 7900 3850 30 0001 C CNN
F 1 "GND" H 7900 3780 30 0001 C CNN
F 2 "" H 7900 3850 60 0001 C CNN
F 3 "" H 7900 3850 60 0001 C CNN
1 7900 3850
1 0 0 -1
$EndComp
$Comp
L GND #PWR08
U 1 1 4EBA3454
P 4950 3850
F 0 "#PWR08" H 4950 3850 30 0001 C CNN
F 1 "GND" H 4950 3780 30 0001 C CNN
F 2 "" H 4950 3850 60 0001 C CNN
F 3 "" H 4950 3850 60 0001 C CNN
1 4950 3850
1 0 0 -1
$EndComp
$Comp
L ATMEGA32U4 U1
U 1 1 4EB8BB68
P 6700 2450
F 0 "U1" H 6700 1200 60 0000 C CNN
F 1 "ATMEGA32U4" H 6700 3700 60 0000 C CNN
F 2 "keyboard_parts:QFP44" H 6700 2450 60 0001 C CNN
F 3 "" H 6700 2450 60 0001 C CNN
1 6700 2450
1 0 0 -1
$EndComp
$Comp
L +5V #PWR09
U 1 1 4EBA2BA0
P 8200 1000
F 0 "#PWR09" H 8200 970 20 0001 C CNN
F 1 "+5V" H 8200 1110 30 0000 C CNN
F 2 "" H 8200 1000 60 0001 C CNN
F 3 "" H 8200 1000 60 0001 C CNN
1 8200 1000
1 0 0 -1
$EndComp
$Comp
L +5V #PWR010
U 1 1 4EBA2B28
P 3700 2300
F 0 "#PWR010" H 3700 2270 20 0001 C CNN
F 1 "+5V" H 3700 2410 30 0000 C CNN
F 2 "" H 3700 2300 60 0001 C CNN
F 3 "" H 3700 2300 60 0001 C CNN
1 3700 2300
1 0 0 -1
$EndComp
$Comp
L +5V #PWR011
U 1 1 4EB8CC7B
P 2275 3500
F 0 "#PWR011" H 2275 3470 20 0001 C CNN
F 1 "+5V" H 2275 3610 30 0000 C CNN
F 2 "" H 2275 3500 60 0001 C CNN
F 3 "" H 2275 3500 60 0001 C CNN
1 2275 3500
1 0 0 -1
$EndComp
$Comp
L C C4
U 1 1 4EB8BB67
P 4150 2150
F 0 "C4" H 4200 2250 50 0000 L CNN
F 1 "1u" H 4200 2050 50 0000 L CNN
F 2 "keyboard_parts:C_1608" H 4150 2150 60 0001 C CNN
F 3 "" H 4150 2150 60 0001 C CNN
1 4150 2150
1 0 0 -1
$EndComp
$Comp
L C C1
U 1 1 4EB8BB66
P 2200 2200
F 0 "C1" H 2250 2300 50 0000 L CNN
F 1 "4.7u" H 2250 2100 50 0000 L CNN
F 2 "keyboard_parts:C_3216" H 2200 2200 60 0001 C CNN
F 3 "" H 2200 2200 60 0001 C CNN
1 2200 2200
1 0 0 -1
$EndComp
$Comp
L C C7
U 1 1 4EB8BB65
P 8200 3600
F 0 "C7" H 8250 3700 50 0000 L CNN
F 1 "0.1u" H 8250 3500 50 0000 L CNN
F 2 "keyboard_parts:C_1608" H 8200 3600 60 0001 C CNN
F 3 "" H 8200 3600 60 0001 C CNN
1 8200 3600
1 0 0 -1
$EndComp
$Comp
L C C8
U 1 1 4EB8BB64
P 8450 3600
F 0 "C8" H 8500 3700 50 0000 L CNN
F 1 "0.1u" H 8500 3500 50 0000 L CNN
F 2 "keyboard_parts:C_1608" H 8450 3600 60 0001 C CNN
F 3 "" H 8450 3600 60 0001 C CNN
1 8450 3600
1 0 0 -1
$EndComp
$Comp
L C C9
U 1 1 4EB8BB63
P 8700 3600
F 0 "C9" H 8750 3700 50 0000 L CNN
F 1 "0.1u" H 8750 3500 50 0000 L CNN
F 2 "keyboard_parts:C_1608" H 8700 3600 60 0001 C CNN
F 3 "" H 8700 3600 60 0001 C CNN
1 8700 3600
1 0 0 -1
$EndComp
$Comp
L R R2
U 1 1 4EB8BB62
P 3650 1600
F 0 "R2" V 3700 1800 50 0000 C CNN
F 1 "22" V 3650 1600 50 0000 C CNN
F 2 "keyboard_parts:R_1608" H 3650 1600 60 0001 C CNN
F 3 "" H 3650 1600 60 0001 C CNN
1 3650 1600
0 1 1 0
$EndComp
$Comp
L R R3
U 1 1 4EB8BB61
P 3650 1700
F 0 "R3" V 3700 1900 50 0000 C CNN
F 1 "22" V 3650 1700 50 0000 C CNN
F 2 "keyboard_parts:R_1608" H 3650 1700 60 0001 C CNN
F 3 "" H 3650 1700 60 0001 C CNN
1 3650 1700
0 1 1 0
$EndComp
$Comp
L R R4
U 1 1 4EB8BB60
P 8950 3550
F 0 "R4" V 9030 3550 50 0000 C CNN
F 1 "1k" V 8950 3550 50 0000 C CNN
F 2 "keyboard_parts:R_1608" H 8950 3550 60 0001 C CNN
F 3 "" H 8950 3550 60 0001 C CNN
1 8950 3550
-1 0 0 1
$EndComp
$Comp
L SW_PUSH SW1
U 1 1 4EB8BB5F
P 4450 2600
F 0 "SW1" H 4600 2710 50 0000 C CNN
F 1 "SW_PUSH" H 4450 2520 50 0000 C CNN
F 2 "keyboard_parts:SW_TACT_TH_HORIZ_LOW" H 4450 2600 60 0001 C CNN
F 3 "" H 4450 2600 60 0001 C CNN
1 4450 2600
1 0 0 -1
$EndComp
$Comp
L GND #PWR012
U 1 1 4EB8BB5A
P 3700 3850
F 0 "#PWR012" H 3700 3850 30 0001 C CNN
F 1 "GND" H 3700 3780 30 0001 C CNN
F 2 "" H 3700 3850 60 0001 C CNN
F 3 "" H 3700 3850 60 0001 C CNN
1 3700 3850
1 0 0 -1
$EndComp
$Comp
L C C5
U 1 1 4EB8BB59
P 4350 3600
F 0 "C5" H 4400 3700 50 0000 L CNN
F 1 "22p" H 4400 3500 50 0000 L CNN
F 2 "keyboard_parts:C_1608" H 4350 3600 60 0001 C CNN
F 3 "" H 4350 3600 60 0001 C CNN
1 4350 3600
1 0 0 -1
$EndComp
$Comp
L C C6
U 1 1 4EB8BB58
P 4950 3600
F 0 "C6" H 5000 3700 50 0000 L CNN
F 1 "22p" H 5000 3500 50 0000 L CNN
F 2 "keyboard_parts:C_1608" H 4950 3600 60 0001 C CNN
F 3 "" H 4950 3600 60 0001 C CNN
1 4950 3600
1 0 0 -1
$EndComp
$Comp
L C C3
U 1 1 4EB8BB57
P 3700 3600
F 0 "C3" H 3750 3700 50 0000 L CNN
F 1 "0.1u" H 3750 3500 50 0000 L CNN
F 2 "keyboard_parts:C_1608" H 3700 3600 60 0001 C CNN
F 3 "" H 3700 3600 60 0001 C CNN
1 3700 3600
1 0 0 -1
$EndComp
Text Label 5350 2600 0 60 ~ 0
~RESET
$Comp
L GND #PWR013
U 1 1 4EB8BB49
P 4150 2400
F 0 "#PWR013" H 4150 2400 30 0001 C CNN
F 1 "GND" H 4150 2330 30 0001 C CNN
F 2 "" H 4150 2400 60 0001 C CNN
F 3 "" H 4150 2400 60 0001 C CNN
1 4150 2400
1 0 0 -1
$EndComp
$Comp
L GND #PWR014
U 1 1 4EB8BB48
P 4150 3850
F 0 "#PWR014" H 4150 3850 30 0001 C CNN
F 1 "GND" H 4150 3780 30 0001 C CNN
F 2 "" H 4150 3850 60 0001 C CNN
F 3 "" H 4150 3850 60 0001 C CNN
1 4150 3850
1 0 0 -1
$EndComp
$Comp
L GND #PWR015
U 1 1 4EB8BB47
P 4350 3850
F 0 "#PWR015" H 4350 3850 30 0001 C CNN
F 1 "GND" H 4350 3780 30 0001 C CNN
F 2 "" H 4350 3850 60 0001 C CNN
F 3 "" H 4350 3850 60 0001 C CNN
1 4350 3850
1 0 0 -1
$EndComp
$Comp
L CONN_1 P5
U 1 1 517F61E2
P 10450 5250
F 0 "P5" H 10530 5250 40 0000 L CNN
F 1 "PD1" H 10450 5305 30 0001 C CNN
F 2 "keyboard_parts:PIN_1" H 10450 5250 60 0001 C CNN
F 3 "" H 10450 5250 60 0000 C CNN
1 10450 5250
-1 0 0 1
$EndComp
$Comp
L CONN_1 P1
U 1 1 517F625F
P 1150 2525
F 0 "P1" H 1230 2525 40 0000 L CNN
F 1 "GND" H 1150 2580 30 0001 C CNN
F 2 "keyboard_parts:PIN_1" H 1150 2525 60 0001 C CNN
F 3 "" H 1150 2525 60 0000 C CNN
1 1150 2525
-1 0 0 1
$EndComp
$Comp
L CONN_1 P2
U 1 1 517F6275
P 1150 2625
F 0 "P2" H 1230 2625 40 0000 L CNN
F 1 "D+" H 1150 2680 30 0001 C CNN
F 2 "keyboard_parts:PIN_1" H 1150 2625 60 0001 C CNN
F 3 "" H 1150 2625 60 0000 C CNN
1 1150 2625
-1 0 0 1
$EndComp
$Comp
L CONN_1 P3
U 1 1 517F6290
P 1150 2725
F 0 "P3" H 1230 2725 40 0000 L CNN
F 1 "D-" H 1150 2780 30 0001 C CNN
F 2 "keyboard_parts:PIN_1" H 1150 2725 60 0001 C CNN
F 3 "" H 1150 2725 60 0000 C CNN
1 1150 2725
-1 0 0 1
$EndComp
$Comp
L CONN_1 P4
U 1 1 517F629F
P 1150 2825
F 0 "P4" H 1230 2825 40 0000 L CNN
F 1 "VUSB" H 1150 2880 30 0001 C CNN
F 2 "keyboard_parts:PIN_1_SQUARE" H 1150 2825 60 0001 C CNN
F 3 "" H 1150 2825 60 0000 C CNN
1 1150 2825
-1 0 0 1
$EndComp
Text Notes 900 3100 0 60 Italic 0
USB pinouts for external connector
Text Notes 4350 2200 0 60 Italic 0
Ucap +/-10%
Text Notes 3500 1850 0 60 Italic 0
+/-5%
$Comp
L LED D1
U 1 1 51863503
P 9450 3000
F 0 "D1" H 9450 3100 50 0000 C CNN
F 1 "LED" H 9450 2900 50 0000 C CNN
F 2 "keyboard_parts:LED_2012_HSOL" H 9450 3000 60 0001 C CNN
F 3 "" H 9450 3000 60 0000 C CNN
1 9450 3000
0 1 1 0
$EndComp
$Comp
L R R5
U 1 1 51863512
P 9450 3550
F 0 "R5" V 9530 3550 50 0000 C CNN
F 1 "1K" V 9450 3550 50 0000 C CNN
F 2 "keyboard_parts:R_1608" H 9450 3550 60 0001 C CNN
F 3 "" H 9450 3550 60 0000 C CNN
1 9450 3550
1 0 0 -1
$EndComp
$Comp
L GND #PWR016
U 1 1 51863521
P 9450 3850
F 0 "#PWR016" H 9450 3850 30 0001 C CNN
F 1 "GND" H 9450 3780 30 0001 C CNN
F 2 "" H 9450 3850 60 0000 C CNN
F 3 "" H 9450 3850 60 0000 C CNN
1 9450 3850
1 0 0 -1
$EndComp
Text Label 9250 2700 0 60 Italic 0
PD6
Text Notes 9250 4100 0 60 Italic 0
Optional\nTeensy compatible LED
$Comp
L CONN_13 CN2
U 1 1 51978C41
P 1925 6450
F 0 "CN2" V 1885 6450 60 0000 C CNN
F 1 "PRO2" V 1995 6450 60 0000 C CNN
F 2 "keyboard_parts:HHKB_PRO2_ZH13" H 1925 6450 60 0001 C CNN
F 3 "" H 1925 6450 60 0000 C CNN
1 1925 6450
-1 0 0 -1
$EndComp
Text Notes 1775 7550 0 60 Italic 0
JST ZH for Pro2
Text Label 2525 6250 0 60 Italic 0
PB0
Text Label 2525 6350 0 60 Italic 0
PB1
Text Label 2525 6450 0 60 Italic 0
PB2
Text Label 2525 6550 0 60 Italic 0
PB3
Text Label 2525 6650 0 60 Italic 0
PB4
Text Label 2525 6750 0 60 Italic 0
PB5
Text Label 2525 6850 0 60 Italic 0
PB6
Text Label 2525 6150 0 60 Italic 0
PB7
Text Label 2525 6050 0 60 Italic 0
PD7
Text Notes 2825 6050 0 60 Italic 0
KEY state
Text Notes 2825 6150 0 60 Italic 0
HYSTERESIS
Text Notes 2825 6250 0 60 Italic 0
ROW bit0
Text Notes 2825 6350 0 60 Italic 0
ROW bit1
Text Notes 2825 6450 0 60 Italic 0
ROW bit2
Text Notes 2825 6550 0 60 Italic 0
COL bit0
Text Notes 2825 6650 0 60 Italic 0
COL bit1
Text Notes 2825 6750 0 60 Italic 0
COL bit2
Text Notes 2825 6850 0 60 Italic 0
COL enable
Text Label 10900 5250 2 60 ~ 0
PD1
$Comp
L CONN_1 P6
U 1 1 517F61D5
P 10450 5350
F 0 "P6" H 10530 5350 40 0000 L CNN
F 1 "PD0" H 10450 5405 30 0001 C CNN
F 2 "keyboard_parts:PIN_1" H 10450 5350 60 0001 C CNN
F 3 "" H 10450 5350 60 0000 C CNN
1 10450 5350
-1 0 0 1
$EndComp
Text Label 10900 5350 2 60 ~ 0
PD0
$Comp
L CONN_15 CN1
U 1 1 51979D97
P 875 6550
F 0 "CN1" V 845 6600 60 0000 C CNN
F 1 "JP" V 955 6600 60 0000 C CNN
F 2 "keyboard_parts:HHKB_JP_HRS_DF14_15P" H 875 6600 60 0001 C CNN
F 3 "" H 875 6600 60 0000 C CNN
1 875 6550
-1 0 0 -1
$EndComp
Text Label 1475 6250 0 60 Italic 0
PB0
Text Label 1475 6350 0 60 Italic 0
PB1
Text Label 1475 6450 0 60 Italic 0
PB2
Text Label 1475 6550 0 60 Italic 0
PB3
Text Label 1475 6650 0 60 Italic 0
PB4
Text Label 1475 6750 0 60 Italic 0
PB5
Text Label 1475 6850 0 60 Italic 0
PB6
Text Label 1475 6150 0 60 Italic 0
PB7
Text Label 1475 6050 0 60 Italic 0
PD7
$Comp
L +5V #PWR017
U 1 1 51979DCA
P 3275 5450
F 0 "#PWR017" H 3275 5420 20 0001 C CNN
F 1 "+5V" H 3275 5560 30 0000 C CNN
F 2 "" H 3275 5450 60 0000 C CNN
F 3 "" H 3275 5450 60 0000 C CNN
1 3275 5450
1 0 0 -1
$EndComp
Text Notes 625 7550 0 60 Italic 0
Hirose DF14A for JP
Text Label 5400 2000 0 60 Italic 0
VUSB
Text Label 1650 1900 0 60 Italic 0
GND
$Comp
L GND #PWR018
U 1 1 51A7FC37
P 2200 2450
F 0 "#PWR018" H 2200 2450 30 0001 C CNN
F 1 "GND" H 2200 2380 30 0001 C CNN
F 2 "" H 2200 2450 60 0000 C CNN
F 3 "" H 2200 2450 60 0000 C CNN
1 2200 2450
1 0 0 -1
$EndComp
$Comp
L +5V #PWR019
U 1 1 51A7FC46
P 2200 1950
F 0 "#PWR019" H 2200 2040 20 0001 C CNN
F 1 "+5V" H 2200 2040 30 0000 C CNN
F 2 "" H 2200 1950 60 0000 C CNN
F 3 "" H 2200 1950 60 0000 C CNN
1 2200 1950
1 0 0 -1
$EndComp
Text Notes 9900 6500 0 60 Italic 0
ICSP
$Comp
L CONN_3X2 P8
U 1 1 51A80544
P 10000 6200
F 0 "P8" H 10000 6400 50 0000 C CNN
F 1 "CONN_3X2" V 10000 6200 40 0000 C CNN
F 2 "keyboard_parts:AVR_ICSP_3x2" H 10000 6150 60 0001 C CNN
F 3 "" H 10000 6150 60 0000 C CNN
1 10000 6200
1 0 0 -1
$EndComp
Text Label 9300 6100 0 60 Italic 0
PB3
Text Label 9300 6200 0 60 Italic 0
PB1
Text Label 9300 6300 0 60 Italic 0
~RESET
Text Label 10500 6200 0 60 Italic 0
PB2
Text Label 10500 6300 0 60 Italic 0
GND
Text Label 10500 6100 0 60 Italic 0
+5V
Text Notes 10750 6100 0 60 ~ 0
VTG
Text Notes 10750 6200 0 60 ~ 0
MOSI
Text Notes 9050 6100 0 60 ~ 0
MISO
Text Notes 9050 6200 0 60 ~ 0
SCK
Text Notes 9050 6300 0 60 ~ 0
RST
Text Notes 10750 6300 0 60 ~ 0
GND
$Comp
L C C10
U 1 1 51AD4FB4
P 9450 1900
F 0 "C10" H 9500 2000 50 0000 L CNN
F 1 "0.1u" H 9500 1800 50 0000 L CNN
F 2 "keyboard_parts:C_1608" H 9450 1900 60 0001 C CNN
F 3 "" H 9450 1900 60 0000 C CNN
1 9450 1900
1 0 0 -1
$EndComp
$Comp
L GND #PWR020
U 1 1 51AD5139
P 9450 2200
F 0 "#PWR020" H 9450 2200 30 0001 C CNN
F 1 "GND" H 9450 2130 30 0001 C CNN
F 2 "" H 9450 2200 60 0000 C CNN
F 3 "" H 9450 2200 60 0000 C CNN
1 9450 2200
1 0 0 -1
$EndComp
Text Label 9250 1550 0 60 ~ 0
AREF
$Sheet
S 5775 6825 1150 850
U 51AFD396
F0 "bluetooth" 50
F1 "bluetooth.sch" 50
$EndSheet
Text GLabel 4675 1500 2 60 Input ~ 0
VUSB
Text GLabel 2475 3700 2 60 Input ~ 0
5V_BOOST
Text GLabel 6600 5050 2 60 Input ~ 0
BT_RX
Text GLabel 6600 4900 2 60 Input ~ 0
BT_TX
Text Label 6400 5050 2 60 ~ 0
PD3
Text Label 6400 4900 2 60 ~ 0
PD2
Text Notes 6750 4650 2 60 ~ 0
Bluetooth Extension
$Comp
L CONN_1 P7
U 1 1 51B4469E
P 10450 5450
F 0 "P7" H 10530 5450 40 0000 L CNN
F 1 "GND" H 10450 5505 30 0001 C CNN
F 2 "keyboard_parts:PIN_1" H 10450 5450 60 0001 C CNN
F 3 "" H 10450 5450 60 0000 C CNN
1 10450 5450
-1 0 0 1
$EndComp
Text Label 10900 5450 2 60 ~ 0
GND
Text Notes 10850 5650 2 60 ~ 0
For Debug
Text GLabel 6600 5250 2 60 Input ~ 0
BT_RTS
Text Label 6400 5400 2 60 ~ 0
PD5
NoConn ~ 1600 1800
$Comp
L MOSFET_N Q2
U 1 1 51BB4B25
P 4675 5900
F 0 "Q2" H 4685 6070 60 0000 R CNN
F 1 "Nch" H 4685 5750 60 0000 R CNN
F 2 "keyboard_parts:MOS_FET_SOT23-3_HSOL" H 4675 5900 60 0001 C CNN
F 3 "" H 4675 5900 60 0000 C CNN
1 4675 5900
1 0 0 -1
$EndComp
$Comp
L GND #PWR021
U 1 1 51BB4B45
P 4775 6250
F 0 "#PWR021" H 4775 6250 30 0001 C CNN
F 1 "GND" H 4775 6180 30 0001 C CNN
F 2 "" H 4775 6250 60 0000 C CNN
F 3 "" H 4775 6250 60 0000 C CNN
1 4775 6250
1 0 0 -1
$EndComp
$Comp
L R R15
U 1 1 51BB4BFA
P 4275 5650
F 0 "R15" V 4355 5650 50 0000 C CNN
F 1 "10K" V 4275 5650 50 0000 C CNN
F 2 "keyboard_parts:R_1608" H 4275 5650 60 0001 C CNN
F 3 "" H 4275 5650 60 0000 C CNN
1 4275 5650
1 0 0 -1
$EndComp
$Comp
L +5V #PWR022
U 1 1 51BB4C0E
P 4275 5300
F 0 "#PWR022" H 4275 5390 20 0001 C CNN
F 1 "+5V" H 4275 5390 30 0000 C CNN
F 2 "" H 4275 5300 60 0000 C CNN
F 3 "" H 4275 5300 60 0000 C CNN
1 4275 5300
1 0 0 -1
$EndComp
Text Notes 3725 6400 0 60 ~ 0
HHKB Matrix Power Control
Text Label 4825 5550 0 60 ~ 0
HHKB_GND
Text Label 3575 5900 0 60 ~ 0
PD4
Text Label 2875 7300 0 60 ~ 0
HHKB_GND
Text Notes 3625 5650 0 60 Italic 0
Normally On\nLow = Off
$Comp
L JUMPER JP3
U 1 1 51BC02F3
P 5075 5900
F 0 "JP3" H 5075 6050 60 0000 C CNN
F 1 "JUMPER" H 5075 5820 40 0000 C CNN
F 2 "keyboard_parts:SOLDER_JUMPER_2" H 5075 5900 60 0001 C CNN
F 3 "" H 5075 5900 60 0000 C CNN
1 5075 5900
0 -1 -1 0
$EndComp
Text GLabel 7675 4925 2 60 Input ~ 0
ADC_LIPO
Text Label 7275 4925 0 60 ~ 0
PF0
$Comp
L GND #PWR023
U 1 1 52AACE12
P 5075 6250
F 0 "#PWR023" H 5075 6250 30 0001 C CNN
F 1 "GND" H 5075 6180 30 0001 C CNN
F 2 "" H 5075 6250 60 0000 C CNN
F 3 "" H 5075 6250 60 0000 C CNN
1 5075 6250
1 0 0 -1
$EndComp
Text Label 1475 7150 0 60 ~ 0
PC6
Text Label 1475 7250 0 60 ~ 0
PC7
$Comp
L JUMPER JP2
U 1 1 5310256F
P 1625 3700
F 0 "JP2" H 1625 3850 60 0000 C CNN
F 1 "JUMPER" H 1625 3620 40 0000 C CNN
F 2 "keyboard_parts:SOLDER_JUMPER_2" H 1625 3700 60 0001 C CNN
F 3 "" H 1625 3700 60 0000 C CNN
1 1625 3700
1 0 0 -1
$EndComp
Text GLabel 6600 5400 2 60 Input ~ 0
BT_CTS
Text Label 6400 5250 2 60 ~ 0
PF1
Text GLabel 6600 5675 2 60 Input ~ 0
BT_INDICATOR
Text Label 6200 5675 0 60 ~ 0
PE6
Text Notes 4825 6100 0 60 ~ 0
No Power Control
Text Notes 1475 3450 0 60 ~ 0
No Boost
Text Notes 625 4900 0 60 ~ 0
USB keyboard configurations:\n 1)close "No Power Control" and\n 2)close "No Boost" jumper to use raw USB power.
Text Notes 625 5150 0 60 ~ 0
HHKB Matrix Interface
Text Notes 9000 5150 0 60 ~ 0
Program and Debug
$Comp
L USB_mini_micro_B J1
U 1 1 53485EB0
P 1450 1650
F 0 "J1" H 1050 1600 60 0000 C CNN
F 1 "USB_mini_micro_B" H 1300 1900 60 0001 C CNN
F 2 "keyboard_parts:USB_miniB_hirose_new" H 1400 1650 60 0001 C CNN
F 3 "" H 1400 1650 60 0000 C CNN
1 1450 1650
1 0 0 -1
$EndComp
Text GLabel 6600 5875 2 60 Input ~ 0
BT_CONN
Text Label 6200 5875 0 60 ~ 0
PF7
Text GLabel 6600 6075 2 60 Input ~ 0
LINKED
Text Label 6200 6075 0 60 ~ 0
PF6
Text GLabel 7675 5225 2 60 Input ~ 0
~CHRG
Text Label 7275 5225 0 60 ~ 0
PF5
Text Notes 3525 7600 0 60 Italic 0
Optional
Text Label 925 3700 0 60 ~ 0
VUSB
Text Notes 1175 4025 0 60 ~ 0
5V Power Source Select
Text GLabel 7675 5075 2 60 Input ~ 0
ADC_CTRL
Text Label 7275 5075 0 60 ~ 0
PF4
Text Notes 2475 1825 0 60 ~ 0
No PPTC
$Comp
L PPTC PPTC1
U 1 1 5417AF4F
P 2675 1500
F 0 "PPTC1" H 2675 1600 50 0000 C CNN
F 1 "PPTC" H 2675 1400 50 0000 C CNN
F 2 "keyboard_parts:PPTC_nano" V 2675 1500 60 0001 C CNN
F 3 "" V 2675 1500 60 0000 C CNN
1 2675 1500
1 0 0 1
$EndComp
Text Label 3450 1500 0 60 ~ 0
VUSB
Wire Wire Line
1300 2825 1600 2825
Wire Wire Line
1300 2725 1600 2725
Wire Wire Line
1300 2625 1600 2625
Wire Wire Line
1300 2525 1600 2525
Wire Wire Line
10600 5250 10900 5250
Wire Wire Line
5650 1400 5400 1400
Wire Wire Line
7800 3200 8100 3200
Wire Wire Line
7800 2200 8100 2200
Wire Wire Line
7800 2100 8100 2100
Wire Wire Line
7800 2000 8100 2000
Wire Wire Line
7800 1900 8100 1900
Wire Wire Line
7800 1800 8100 1800
Wire Wire Line
7800 1700 8100 1700
Wire Wire Line
7800 1600 8100 1600
Wire Wire Line
5650 3300 5350 3300
Wire Wire Line
5650 3500 5350 3500
Wire Wire Line
5650 2500 5400 2500
Connection ~ 7900 2300
Wire Wire Line
7800 1500 7900 1500
Wire Wire Line
3950 1800 3950 3850
Wire Wire Line
5650 2700 3700 2700
Wire Wire Line
5650 3400 5350 3400
Wire Wire Line
4150 2600 4150 3850
Wire Wire Line
4150 2350 4150 2400
Connection ~ 3700 2700
Wire Wire Line
3950 1800 5650 1800
Wire Wire Line
8200 3850 8200 3800
Wire Wire Line
8700 3800 8700 3850
Connection ~ 4350 3350
Wire Wire Line
4350 2900 4350 3400
Wire Wire Line
4350 2900 5650 2900
Wire Wire Line
4750 2600 5650 2600
Wire Wire Line
8950 3300 8950 2500
Wire Wire Line
8950 2500 7800 2500
Wire Wire Line
7800 2400 8450 2400
Connection ~ 8200 1400
Connection ~ 8200 3400
Wire Wire Line
1600 1700 3400 1700
Wire Wire Line
1600 1600 3400 1600
Wire Wire Line
8200 1000 8200 3400
Wire Wire Line
8200 3400 7800 3400
Connection ~ 8200 2400
Wire Wire Line
8450 2400 8450 3400
Wire Wire Line
7800 1400 8700 1400
Wire Wire Line
8700 1400 8700 3400
Wire Wire Line
5650 3000 4950 3000
Wire Wire Line
4950 3000 4950 3400
Connection ~ 4950 3350
Wire Wire Line
5650 1900 4150 1900
Wire Wire Line
4150 1900 4150 1950
Wire Wire Line
3700 3800 3700 3850
Wire Wire Line
8450 3850 8450 3800
Wire Wire Line
3950 2800 5650 2800
Connection ~ 3950 2800
Wire Wire Line
5400 2400 5650 2400
Wire Wire Line
5650 2200 5400 2200
Wire Wire Line
4350 3850 4350 3800
Wire Wire Line
7900 1500 7900 3850
Wire Wire Line
4950 3850 4950 3800
Wire Wire Line
7900 2300 7800 2300
Wire Wire Line
8950 3850 8950 3800
Wire Wire Line