Bläddra i källkod

Add connector for external GPIOs

Bernd Gottschlag 5 år sedan
förälder
incheckning
49be103775
2 ändrade filer med 229 tillägg och 66 borttagningar
  1. 43
    0
      weather_station_sensor-cache.lib
  2. 186
    66
      weather_station_sensor.sch

+ 43
- 0
weather_station_sensor-cache.lib Visa fil

@@ -1,6 +1,49 @@
1 1
 EESchema-LIBRARY Version 2.4
2 2
 #encoding utf-8
3 3
 #
4
+# Connector_Generic_Conn_01x14
5
+#
6
+DEF Connector_Generic_Conn_01x14 J 0 40 Y N 1 F N
7
+F0 "J" 0 700 50 H V C CNN
8
+F1 "Connector_Generic_Conn_01x14" 0 -800 50 H V C CNN
9
+F2 "" 0 0 50 H I C CNN
10
+F3 "" 0 0 50 H I C CNN
11
+$FPLIST
12
+ Connector*:*_1x??_*
13
+$ENDFPLIST
14
+DRAW
15
+S -50 -695 0 -705 1 1 6 N
16
+S -50 -595 0 -605 1 1 6 N
17
+S -50 -495 0 -505 1 1 6 N
18
+S -50 -395 0 -405 1 1 6 N
19
+S -50 -295 0 -305 1 1 6 N
20
+S -50 -195 0 -205 1 1 6 N
21
+S -50 -95 0 -105 1 1 6 N
22
+S -50 5 0 -5 1 1 6 N
23
+S -50 105 0 95 1 1 6 N
24
+S -50 205 0 195 1 1 6 N
25
+S -50 305 0 295 1 1 6 N
26
+S -50 405 0 395 1 1 6 N
27
+S -50 505 0 495 1 1 6 N
28
+S -50 605 0 595 1 1 6 N
29
+S -50 650 50 -750 1 1 10 f
30
+X Pin_1 1 -200 600 150 R 50 50 1 1 P
31
+X Pin_10 10 -200 -300 150 R 50 50 1 1 P
32
+X Pin_11 11 -200 -400 150 R 50 50 1 1 P
33
+X Pin_12 12 -200 -500 150 R 50 50 1 1 P
34
+X Pin_13 13 -200 -600 150 R 50 50 1 1 P
35
+X Pin_14 14 -200 -700 150 R 50 50 1 1 P
36
+X Pin_2 2 -200 500 150 R 50 50 1 1 P
37
+X Pin_3 3 -200 400 150 R 50 50 1 1 P
38
+X Pin_4 4 -200 300 150 R 50 50 1 1 P
39
+X Pin_5 5 -200 200 150 R 50 50 1 1 P
40
+X Pin_6 6 -200 100 150 R 50 50 1 1 P
41
+X Pin_7 7 -200 0 150 R 50 50 1 1 P
42
+X Pin_8 8 -200 -100 150 R 50 50 1 1 P
43
+X Pin_9 9 -200 -200 150 R 50 50 1 1 P
44
+ENDDRAW
45
+ENDDEF
46
+#
4 47
 # Connector_Generic_Conn_02x03_Odd_Even
5 48
 #
6 49
 DEF Connector_Generic_Conn_02x03_Odd_Even J 0 40 Y N 1 F N

+ 186
- 66
weather_station_sensor.sch Visa fil

@@ -216,19 +216,6 @@ F 5 "SSM3K36FSLFCT-ND" H 3150 6800 50  0001 C CNN "Digikey PN"
216 216
 	1    0    0    -1  
217 217
 $EndComp
218 218
 $Comp
219
-L MCU_Microchip_ATmega:ATmega48PA-AU U3
220
-U 1 1 5E857B8D
221
-P 5450 3700
222
-F 0 "U3" H 5450 2111 50  0000 C CNN
223
-F 1 "ATmega48PA-AU" H 5450 2020 50  0000 C CNN
224
-F 2 "Housings_QFP:LQFP-32_7x7mm_Pitch0.8mm" H 5450 3700 50  0001 C CIN
225
-F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/ATmega48PA_88PA_168PA-Data-Sheet-40002011A.pdf" H 5450 3700 50  0001 C CNN
226
-F 4 " ATMEGA48PA-AURCT-ND" H 5450 3700 50  0001 C CNN "Digikey PN"
227
-F 5 "https://www.digikey.de/product-detail/de/microchip-technology/ATMEGA48PA-AUR/ATMEGA48PA-AURCT-ND/3789467" H 5450 3700 50  0001 C CNN "Digikey link"
228
-	1    5450 3700
229
-	1    0    0    -1  
230
-$EndComp
231
-$Comp
232 219
 L Device:C C3
233 220
 U 1 1 5E888344
234 221
 P 4550 1950
@@ -458,15 +445,6 @@ NoConn ~ 4850 2700
458 445
 NoConn ~ 4850 2800
459 446
 NoConn ~ 6050 3100
460 447
 NoConn ~ 6050 3200
461
-NoConn ~ 6050 3400
462
-NoConn ~ 6050 3500
463
-NoConn ~ 6050 3600
464
-NoConn ~ 6050 3700
465
-NoConn ~ 6050 3800
466
-NoConn ~ 6050 3900
467
-NoConn ~ 6050 4200
468
-NoConn ~ 6050 4300
469
-NoConn ~ 6050 4400
470 448
 NoConn ~ 6050 4500
471 449
 NoConn ~ 6050 4600
472 450
 Text GLabel 6150 4700 2    50   Input ~ 0
@@ -574,62 +552,36 @@ Connection ~ 3400 6500
574 552
 Wire Wire Line
575 553
 	3400 6500 3700 6500
576 554
 Wire Wire Line
577
-	6350 3950 6350 4000
578
-Connection ~ 6350 4000
579
-Wire Wire Line
580
-	6350 4000 6050 4000
555
+	6800 3950 6800 4000
556
+Connection ~ 6800 4000
581 557
 Wire Wire Line
582
-	6350 4000 6350 4050
583
-$Comp
584
-L power:VCC #PWR0103
585
-U 1 1 5E823307
586
-P 6350 3600
587
-F 0 "#PWR0103" H 6350 3450 50  0001 C CNN
588
-F 1 "VCC" H 6367 3773 50  0000 C CNN
589
-F 2 "" H 6350 3600 50  0001 C CNN
590
-F 3 "" H 6350 3600 50  0001 C CNN
591
-	1    6350 3600
592
-	1    0    0    -1  
593
-$EndComp
594
-Wire Wire Line
595
-	6350 3600 6350 3650
558
+	6800 4000 6800 4050
596 559
 $Comp
597 560
 L power:GND #PWR0104
598 561
 U 1 1 5E826963
599
-P 6350 4400
600
-F 0 "#PWR0104" H 6350 4150 50  0001 C CNN
601
-F 1 "GND" H 6355 4227 50  0000 C CNN
602
-F 2 "" H 6350 4400 50  0001 C CNN
603
-F 3 "" H 6350 4400 50  0001 C CNN
604
-	1    6350 4400
562
+P 6800 4400
563
+F 0 "#PWR0104" H 6800 4150 50  0001 C CNN
564
+F 1 "GND" H 6805 4227 50  0000 C CNN
565
+F 2 "" H 6800 4400 50  0001 C CNN
566
+F 3 "" H 6800 4400 50  0001 C CNN
567
+	1    6800 4400
605 568
 	1    0    0    -1  
606 569
 $EndComp
607 570
 Wire Wire Line
608
-	6350 4400 6350 4350
609
-Text GLabel 6400 4000 2    50   Input ~ 0
571
+	6800 4400 6800 4350
572
+Text GLabel 6850 4000 2    50   Input ~ 0
610 573
 Reset
611 574
 Wire Wire Line
612
-	6400 4000 6350 4000
613
-$Comp
614
-L Device:R R1
615
-U 1 1 5E8179ED
616
-P 6350 3800
617
-F 0 "R1" H 6420 3846 50  0000 L CNN
618
-F 1 "4k7" H 6420 3755 50  0000 L CNN
619
-F 2 "Resistors_SMD:R_0603_HandSoldering" V 6280 3800 50  0001 C CNN
620
-F 3 "~" H 6350 3800 50  0001 C CNN
621
-	1    6350 3800
622
-	1    0    0    -1  
623
-$EndComp
575
+	6850 4000 6800 4000
624 576
 $Comp
625 577
 L Device:C C7
626 578
 U 1 1 5E81E0CA
627
-P 6350 4200
628
-F 0 "C7" H 6465 4246 50  0000 L CNN
629
-F 1 "100n" H 6465 4155 50  0000 L CNN
630
-F 2 "Capacitors_SMD:C_0603_HandSoldering" H 6388 4050 50  0001 C CNN
631
-F 3 "~" H 6350 4200 50  0001 C CNN
632
-	1    6350 4200
579
+P 6800 4200
580
+F 0 "C7" H 6915 4246 50  0000 L CNN
581
+F 1 "100n" H 6915 4155 50  0000 L CNN
582
+F 2 "Capacitors_SMD:C_0603_HandSoldering" H 6838 4050 50  0001 C CNN
583
+F 3 "~" H 6800 4200 50  0001 C CNN
584
+	1    6800 4200
633 585
 	1    0    0    -1  
634 586
 $EndComp
635 587
 Wire Wire Line
@@ -714,7 +666,175 @@ Wire Wire Line
714 666
 Connection ~ 5000 1700
715 667
 Wire Wire Line
716 668
 	5000 1700 5450 1700
669
+$Comp
670
+L Device:R R1
671
+U 1 1 5E8179ED
672
+P 6800 3800
673
+F 0 "R1" H 6870 3846 50  0000 L CNN
674
+F 1 "4k7" H 6870 3755 50  0000 L CNN
675
+F 2 "Resistors_SMD:R_0603_HandSoldering" V 6730 3800 50  0001 C CNN
676
+F 3 "~" H 6800 3800 50  0001 C CNN
677
+	1    6800 3800
678
+	1    0    0    -1  
679
+$EndComp
717 680
 Wire Wire Line
718 681
 	5000 2100 4550 2100
719 682
 Connection ~ 4550 2100
683
+Wire Wire Line
684
+	6800 3600 6800 3650
685
+$Comp
686
+L power:VCC #PWR0103
687
+U 1 1 5E823307
688
+P 6800 3600
689
+F 0 "#PWR0103" H 6800 3450 50  0001 C CNN
690
+F 1 "VCC" H 6817 3773 50  0000 C CNN
691
+F 2 "" H 6800 3600 50  0001 C CNN
692
+F 3 "" H 6800 3600 50  0001 C CNN
693
+	1    6800 3600
694
+	1    0    0    -1  
695
+$EndComp
696
+$Comp
697
+L power:VCC #PWR03
698
+U 1 1 5E846989
699
+P 1050 3950
700
+F 0 "#PWR03" H 1050 3800 50  0001 C CNN
701
+F 1 "VCC" H 1067 4123 50  0000 C CNN
702
+F 2 "" H 1050 3950 50  0001 C CNN
703
+F 3 "" H 1050 3950 50  0001 C CNN
704
+	1    1050 3950
705
+	1    0    0    -1  
706
+$EndComp
707
+Wire Wire Line
708
+	1050 3950 1050 4000
709
+$Comp
710
+L power:GND #PWR010
711
+U 1 1 5E84988C
712
+P 1050 4100
713
+F 0 "#PWR010" H 1050 3850 50  0001 C CNN
714
+F 1 "GND" H 1055 3927 50  0000 C CNN
715
+F 2 "" H 1050 4100 50  0001 C CNN
716
+F 3 "" H 1050 4100 50  0001 C CNN
717
+	1    1050 4100
718
+	1    0    0    -1  
719
+$EndComp
720
+Wire Wire Line
721
+	1350 4050 1350 3900
722
+Wire Wire Line
723
+	1050 4000 1250 4000
724
+Wire Wire Line
725
+	1250 4000 1250 3900
726
+Text GLabel 1550 4000 3    50   Input ~ 0
727
+MISO
728
+Text GLabel 1650 4000 3    50   Input ~ 0
729
+SCK
730
+Text GLabel 1450 4000 3    50   Input ~ 0
731
+MOSI
732
+Wire Wire Line
733
+	1550 3900 1550 4000
734
+Wire Wire Line
735
+	1450 4000 1450 3900
736
+Wire Wire Line
737
+	1650 4000 1650 3900
738
+Wire Wire Line
739
+	1350 4050 1050 4050
740
+Wire Wire Line
741
+	1050 4050 1050 4100
742
+Text GLabel 2450 4000 3    50   Input ~ 0
743
+PD1
744
+Text GLabel 2350 4000 3    50   Input ~ 0
745
+PD0
746
+Text GLabel 2550 4000 3    50   Input ~ 0
747
+PD2
748
+Text GLabel 1950 4000 3    50   Input ~ 0
749
+PC2
750
+Text GLabel 2050 4000 3    50   Input ~ 0
751
+PC3
752
+Text GLabel 2150 4000 3    50   Input ~ 0
753
+PC4
754
+Text GLabel 2250 4000 3    50   Input ~ 0
755
+PC5
756
+Wire Wire Line
757
+	1750 3900 1750 4000
758
+Wire Wire Line
759
+	1850 3900 1850 4000
760
+Wire Wire Line
761
+	1950 3900 1950 4000
762
+Wire Wire Line
763
+	2050 3900 2050 4000
764
+Wire Wire Line
765
+	2150 3900 2150 4000
766
+Wire Wire Line
767
+	2250 3900 2250 4000
768
+Wire Wire Line
769
+	2350 3900 2350 4000
770
+Text GLabel 6150 4300 2    50   Input ~ 0
771
+PD1
772
+Text GLabel 6150 4200 2    50   Input ~ 0
773
+PD0
774
+Text GLabel 6150 4400 2    50   Input ~ 0
775
+PD2
776
+Text GLabel 6150 3600 2    50   Input ~ 0
777
+PC2
778
+Text GLabel 6150 3700 2    50   Input ~ 0
779
+PC3
780
+Text GLabel 6150 3800 2    50   Input ~ 0
781
+PC4
782
+Text GLabel 6150 3900 2    50   Input ~ 0
783
+PC5
784
+Wire Wire Line
785
+	6050 4000 6800 4000
786
+$Comp
787
+L MCU_Microchip_ATmega:ATmega48PA-AU U3
788
+U 1 1 5E857B8D
789
+P 5450 3700
790
+F 0 "U3" H 5450 2111 50  0000 C CNN
791
+F 1 "ATmega48PA-AU" H 5450 2020 50  0000 C CNN
792
+F 2 "Housings_QFP:LQFP-32_7x7mm_Pitch0.8mm" H 5450 3700 50  0001 C CIN
793
+F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/ATmega48PA_88PA_168PA-Data-Sheet-40002011A.pdf" H 5450 3700 50  0001 C CNN
794
+F 4 " ATMEGA48PA-AURCT-ND" H 5450 3700 50  0001 C CNN "Digikey PN"
795
+F 5 "https://www.digikey.de/product-detail/de/microchip-technology/ATMEGA48PA-AUR/ATMEGA48PA-AURCT-ND/3789467" H 5450 3700 50  0001 C CNN "Digikey link"
796
+	1    5450 3700
797
+	1    0    0    -1  
798
+$EndComp
799
+Wire Wire Line
800
+	6050 4400 6150 4400
801
+Wire Wire Line
802
+	6150 4300 6050 4300
803
+Wire Wire Line
804
+	6050 4200 6150 4200
805
+Wire Wire Line
806
+	6150 3900 6050 3900
807
+Wire Wire Line
808
+	6050 3800 6150 3800
809
+Wire Wire Line
810
+	6150 3700 6050 3700
811
+Wire Wire Line
812
+	6050 3600 6150 3600
813
+Text GLabel 1750 4000 3    50   Input ~ 0
814
+PC0
815
+Text GLabel 1850 4000 3    50   Input ~ 0
816
+PC1
817
+Wire Wire Line
818
+	2450 3900 2450 4000
819
+Wire Wire Line
820
+	2550 4000 2550 3900
821
+Text GLabel 6150 3400 2    50   Input ~ 0
822
+PC0
823
+Text GLabel 6150 3500 2    50   Input ~ 0
824
+PC1
825
+Wire Wire Line
826
+	6150 3400 6050 3400
827
+Wire Wire Line
828
+	6050 3500 6150 3500
829
+$Comp
830
+L Connector_Generic:Conn_01x14 J2
831
+U 1 1 5E93123D
832
+P 1850 3700
833
+F 0 "J2" V 2067 3646 50  0000 C CNN
834
+F 1 "Conn_01x14" V 1976 3646 50  0000 C CNN
835
+F 2 "Own_Library:Pin_Header_Side_1x14_Pitch2.54mm_SMD" H 1850 3700 50  0001 C CNN
836
+F 3 "~" H 1850 3700 50  0001 C CNN
837
+	1    1850 3700
838
+	0    -1   -1   0   
839
+$EndComp
720 840
 $EndSCHEMATC

Loading…
Avbryt
Spara