ソースを参照

Substitute the BME280 with a breakout-board

Bernd Gottschlag 5年前
コミット
7d9c33eb1c
3個のファイルの変更292行の追加150行の削除
  1. 21
    23
      weather_station_sensor-cache.lib
  2. 225
    20
      weather_station_sensor.pro
  3. 46
    107
      weather_station_sensor.sch

+ 21
- 23
weather_station_sensor-cache.lib ファイルの表示

@@ -197,6 +197,27 @@ X NC 6 -200 -100 100 R 50 50 1 1 N N
197 197
 ENDDRAW
198 198
 ENDDEF
199 199
 #
200
+# Own_Library_GY-B11_EP_280
201
+#
202
+DEF Own_Library_GY-B11_EP_280 U 0 20 Y Y 1 F N
203
+F0 "U" -250 450 50 H V C CNN
204
+F1 "Own_Library_GY-B11_EP_280" 200 450 50 H V C CNN
205
+F2 "" 1500 -450 50 H I C CNN
206
+F3 "" -100 -200 50 H I C CNN
207
+$FPLIST
208
+ *LGA*2.5x2.5mm*P0.65mm*Clockwise*
209
+$ENDFPLIST
210
+DRAW
211
+S -300 400 300 -400 0 1 10 f
212
+X VDD 1 0 600 200 D 50 50 1 1 W
213
+X GND 2 0 -600 200 U 50 50 1 1 W
214
+X SCK 3 500 100 200 L 50 50 1 1 I
215
+X SDI 4 500 -100 200 L 50 50 1 1 B
216
+X CSB 5 500 -300 200 L 50 50 1 1 I
217
+X SDO 6 500 300 200 L 50 50 1 1 B
218
+ENDDRAW
219
+ENDDEF
220
+#
200 221
 # Own_Library_NRF24L01_Breakout_SMD
201 222
 #
202 223
 DEF Own_Library_NRF24L01_Breakout_SMD U 0 40 Y Y 1 F N
@@ -225,29 +246,6 @@ X IRQ 8 -500 -300 150 R 50 50 1 1 O
225 246
 ENDDRAW
226 247
 ENDDEF
227 248
 #
228
-# Sensor_BME280
229
-#
230
-DEF Sensor_BME280 U 0 20 Y Y 1 F N
231
-F0 "U" -350 450 50 H V C CNN
232
-F1 "Sensor_BME280" 300 450 50 H V C CNN
233
-F2 "Package_LGA:Bosch_LGA-8_2.5x2.5mm_P0.65mm_ClockwisePinNumbering" 1500 -450 50 H I C CNN
234
-F3 "" 0 -200 50 H I C CNN
235
-$FPLIST
236
- *LGA*2.5x2.5mm*P0.65mm*Clockwise*
237
-$ENDFPLIST
238
-DRAW
239
-S -400 400 400 -400 0 1 10 f
240
-X GND 1 -100 -600 200 U 50 50 1 1 W
241
-X CSB 2 600 -300 200 L 50 50 1 1 I
242
-X SDI 3 600 -100 200 L 50 50 1 1 B
243
-X SCK 4 600 100 200 L 50 50 1 1 I
244
-X SDO 5 600 300 200 L 50 50 1 1 B
245
-X VDDIO 6 -100 600 200 D 50 50 1 1 W
246
-X GND 7 100 -600 200 U 50 50 1 1 W
247
-X VDD 8 100 600 200 D 50 50 1 1 W
248
-ENDDRAW
249
-ENDDEF
250
-#
251 249
 # power_GND
252 250
 #
253 251
 DEF power_GND #PWR 0 0 Y Y 1 F P

+ 225
- 20
weather_station_sensor.pro ファイルの表示

@@ -1,29 +1,10 @@
1
-update=Di 24 Mär 2020 12:37:00 CET
1
+update=Di 24 Mär 2020 12:47:18 CET
2 2
 version=1
3 3
 last_client=kicad
4 4
 [general]
5 5
 version=1
6 6
 RootSch=
7 7
 BoardNm=
8
-[pcbnew]
9
-version=1
10
-LastNetListRead=
11
-UseCmpFile=1
12
-PadDrill=0.600000000000
13
-PadDrillOvalY=0.600000000000
14
-PadSizeH=1.500000000000
15
-PadSizeV=1.500000000000
16
-PcbTextSizeV=1.500000000000
17
-PcbTextSizeH=1.500000000000
18
-PcbTextThickness=0.300000000000
19
-ModuleTextSizeV=1.000000000000
20
-ModuleTextSizeH=1.000000000000
21
-ModuleTextSizeThickness=0.150000000000
22
-SolderMaskClearance=0.000000000000
23
-SolderMaskMinWidth=0.000000000000
24
-DrawSegmentWidth=0.200000000000
25
-BoardOutlineThickness=0.100000000000
26
-ModuleOutlineThickness=0.150000000000
27 8
 [cvpcb]
28 9
 version=1
29 10
 NetIExt=net
@@ -41,3 +22,227 @@ NetFmtName=Pcbnew
41 22
 SpiceAjustPassiveValues=0
42 23
 LabSize=50
43 24
 ERC_TestSimilarLabels=1
25
+[pcbnew]
26
+version=1
27
+PageLayoutDescrFile=
28
+LastNetListRead=weather_station_sensor.net
29
+CopperLayerCount=2
30
+BoardThickness=1.6
31
+AllowMicroVias=0
32
+AllowBlindVias=0
33
+RequireCourtyardDefinitions=0
34
+ProhibitOverlappingCourtyards=1
35
+MinTrackWidth=0.2
36
+MinViaDiameter=0.4
37
+MinViaDrill=0.3
38
+MinMicroViaDiameter=0.2
39
+MinMicroViaDrill=0.09999999999999999
40
+MinHoleToHole=0.25
41
+TrackWidth1=0.25
42
+ViaDiameter1=0.8
43
+ViaDrill1=0.4
44
+dPairWidth1=0.2
45
+dPairGap1=0.25
46
+dPairViaGap1=0.25
47
+SilkLineWidth=0.12
48
+SilkTextSizeV=1
49
+SilkTextSizeH=1
50
+SilkTextSizeThickness=0.15
51
+SilkTextItalic=0
52
+SilkTextUpright=1
53
+CopperLineWidth=0.2
54
+CopperTextSizeV=1.5
55
+CopperTextSizeH=1.5
56
+CopperTextThickness=0.3
57
+CopperTextItalic=0
58
+CopperTextUpright=1
59
+EdgeCutLineWidth=0.05
60
+CourtyardLineWidth=0.05
61
+OthersLineWidth=0.15
62
+OthersTextSizeV=1
63
+OthersTextSizeH=1
64
+OthersTextSizeThickness=0.15
65
+OthersTextItalic=0
66
+OthersTextUpright=1
67
+SolderMaskClearance=0.051
68
+SolderMaskMinWidth=0.25
69
+SolderPasteClearance=0
70
+SolderPasteRatio=0
71
+[pcbnew/Layer.F.Cu]
72
+Name=F.Cu
73
+Type=0
74
+Enabled=1
75
+[pcbnew/Layer.In1.Cu]
76
+Name=In1.Cu
77
+Type=0
78
+Enabled=0
79
+[pcbnew/Layer.In2.Cu]
80
+Name=In2.Cu
81
+Type=0
82
+Enabled=0
83
+[pcbnew/Layer.In3.Cu]
84
+Name=In3.Cu
85
+Type=0
86
+Enabled=0
87
+[pcbnew/Layer.In4.Cu]
88
+Name=In4.Cu
89
+Type=0
90
+Enabled=0
91
+[pcbnew/Layer.In5.Cu]
92
+Name=In5.Cu
93
+Type=0
94
+Enabled=0
95
+[pcbnew/Layer.In6.Cu]
96
+Name=In6.Cu
97
+Type=0
98
+Enabled=0
99
+[pcbnew/Layer.In7.Cu]
100
+Name=In7.Cu
101
+Type=0
102
+Enabled=0
103
+[pcbnew/Layer.In8.Cu]
104
+Name=In8.Cu
105
+Type=0
106
+Enabled=0
107
+[pcbnew/Layer.In9.Cu]
108
+Name=In9.Cu
109
+Type=0
110
+Enabled=0
111
+[pcbnew/Layer.In10.Cu]
112
+Name=In10.Cu
113
+Type=0
114
+Enabled=0
115
+[pcbnew/Layer.In11.Cu]
116
+Name=In11.Cu
117
+Type=0
118
+Enabled=0
119
+[pcbnew/Layer.In12.Cu]
120
+Name=In12.Cu
121
+Type=0
122
+Enabled=0
123
+[pcbnew/Layer.In13.Cu]
124
+Name=In13.Cu
125
+Type=0
126
+Enabled=0
127
+[pcbnew/Layer.In14.Cu]
128
+Name=In14.Cu
129
+Type=0
130
+Enabled=0
131
+[pcbnew/Layer.In15.Cu]
132
+Name=In15.Cu
133
+Type=0
134
+Enabled=0
135
+[pcbnew/Layer.In16.Cu]
136
+Name=In16.Cu
137
+Type=0
138
+Enabled=0
139
+[pcbnew/Layer.In17.Cu]
140
+Name=In17.Cu
141
+Type=0
142
+Enabled=0
143
+[pcbnew/Layer.In18.Cu]
144
+Name=In18.Cu
145
+Type=0
146
+Enabled=0
147
+[pcbnew/Layer.In19.Cu]
148
+Name=In19.Cu
149
+Type=0
150
+Enabled=0
151
+[pcbnew/Layer.In20.Cu]
152
+Name=In20.Cu
153
+Type=0
154
+Enabled=0
155
+[pcbnew/Layer.In21.Cu]
156
+Name=In21.Cu
157
+Type=0
158
+Enabled=0
159
+[pcbnew/Layer.In22.Cu]
160
+Name=In22.Cu
161
+Type=0
162
+Enabled=0
163
+[pcbnew/Layer.In23.Cu]
164
+Name=In23.Cu
165
+Type=0
166
+Enabled=0
167
+[pcbnew/Layer.In24.Cu]
168
+Name=In24.Cu
169
+Type=0
170
+Enabled=0
171
+[pcbnew/Layer.In25.Cu]
172
+Name=In25.Cu
173
+Type=0
174
+Enabled=0
175
+[pcbnew/Layer.In26.Cu]
176
+Name=In26.Cu
177
+Type=0
178
+Enabled=0
179
+[pcbnew/Layer.In27.Cu]
180
+Name=In27.Cu
181
+Type=0
182
+Enabled=0
183
+[pcbnew/Layer.In28.Cu]
184
+Name=In28.Cu
185
+Type=0
186
+Enabled=0
187
+[pcbnew/Layer.In29.Cu]
188
+Name=In29.Cu
189
+Type=0
190
+Enabled=0
191
+[pcbnew/Layer.In30.Cu]
192
+Name=In30.Cu
193
+Type=0
194
+Enabled=0
195
+[pcbnew/Layer.B.Cu]
196
+Name=B.Cu
197
+Type=0
198
+Enabled=1
199
+[pcbnew/Layer.B.Adhes]
200
+Enabled=1
201
+[pcbnew/Layer.F.Adhes]
202
+Enabled=1
203
+[pcbnew/Layer.B.Paste]
204
+Enabled=1
205
+[pcbnew/Layer.F.Paste]
206
+Enabled=1
207
+[pcbnew/Layer.B.SilkS]
208
+Enabled=1
209
+[pcbnew/Layer.F.SilkS]
210
+Enabled=1
211
+[pcbnew/Layer.B.Mask]
212
+Enabled=1
213
+[pcbnew/Layer.F.Mask]
214
+Enabled=1
215
+[pcbnew/Layer.Dwgs.User]
216
+Enabled=1
217
+[pcbnew/Layer.Cmts.User]
218
+Enabled=1
219
+[pcbnew/Layer.Eco1.User]
220
+Enabled=1
221
+[pcbnew/Layer.Eco2.User]
222
+Enabled=1
223
+[pcbnew/Layer.Edge.Cuts]
224
+Enabled=1
225
+[pcbnew/Layer.Margin]
226
+Enabled=1
227
+[pcbnew/Layer.B.CrtYd]
228
+Enabled=1
229
+[pcbnew/Layer.F.CrtYd]
230
+Enabled=1
231
+[pcbnew/Layer.B.Fab]
232
+Enabled=1
233
+[pcbnew/Layer.F.Fab]
234
+Enabled=1
235
+[pcbnew/Layer.Rescue]
236
+Enabled=1
237
+[pcbnew/Netclasses]
238
+[pcbnew/Netclasses/Default]
239
+Name=Default
240
+Clearance=0.2
241
+TrackWidth=0.25
242
+ViaDiameter=0.8
243
+ViaDrill=0.4
244
+uViaDiameter=0.3
245
+uViaDrill=0.1
246
+dPairWidth=0.2
247
+dPairGap=0.25
248
+dPairViaGap=0.25

+ 46
- 107
weather_station_sensor.sch ファイルの表示

@@ -14,83 +14,6 @@ Comment3 ""
14 14
 Comment4 ""
15 15
 $EndDescr
16 16
 $Comp
17
-L Sensor:BME280 U5
18
-U 1 1 5E581272
19
-P 9800 5450
20
-F 0 "U5" H 9370 5404 50  0000 R CNN
21
-F 1 "BME280" H 9370 5495 50  0000 R CNN
22
-F 2 "Package_LGA:Bosch_LGA-8_2.5x2.5mm_P0.65mm_ClockwisePinNumbering" H 11300 5000 50  0001 C CNN
23
-F 3 "https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BME280-DS002.pdf" H 9800 5250 50  0001 C CNN
24
-	1    9800 5450
25
-	1    0    0    -1  
26
-$EndComp
27
-$Comp
28
-L power:GND #PWR014
29
-U 1 1 5E5840E4
30
-P 9700 6200
31
-F 0 "#PWR014" H 9700 5950 50  0001 C CNN
32
-F 1 "GND" H 9705 6027 50  0000 C CNN
33
-F 2 "" H 9700 6200 50  0001 C CNN
34
-F 3 "" H 9700 6200 50  0001 C CNN
35
-	1    9700 6200
36
-	1    0    0    -1  
37
-$EndComp
38
-Wire Wire Line
39
-	9700 6050 9700 6100
40
-Wire Wire Line
41
-	9900 6050 9900 6100
42
-Wire Wire Line
43
-	9900 6100 9700 6100
44
-Connection ~ 9700 6100
45
-Wire Wire Line
46
-	9700 6100 9700 6200
47
-$Comp
48
-L Device:C C5
49
-U 1 1 5E5847B0
50
-P 9050 4900
51
-F 0 "C5" H 9165 4946 50  0000 L CNN
52
-F 1 "100 nF" H 9165 4855 50  0000 L CNN
53
-F 2 "Capacitors_SMD:C_0603_HandSoldering" H 9088 4750 50  0001 C CNN
54
-F 3 "~" H 9050 4900 50  0001 C CNN
55
-	1    9050 4900
56
-	1    0    0    -1  
57
-$EndComp
58
-Wire Wire Line
59
-	9700 4750 9700 4850
60
-Wire Wire Line
61
-	9900 4850 9900 4750
62
-Wire Wire Line
63
-	9900 4750 9700 4750
64
-$Comp
65
-L power:GND #PWR012
66
-U 1 1 5E584F8B
67
-P 9050 5150
68
-F 0 "#PWR012" H 9050 4900 50  0001 C CNN
69
-F 1 "GND" H 9055 4977 50  0000 C CNN
70
-F 2 "" H 9050 5150 50  0001 C CNN
71
-F 3 "" H 9050 5150 50  0001 C CNN
72
-	1    9050 5150
73
-	1    0    0    -1  
74
-$EndComp
75
-Wire Wire Line
76
-	9050 5150 9050 5100
77
-Wire Wire Line
78
-	9700 4750 9050 4750
79
-Connection ~ 9700 4750
80
-$Comp
81
-L power:VCC #PWR013
82
-U 1 1 5E587A3C
83
-P 9700 4650
84
-F 0 "#PWR013" H 9700 4500 50  0001 C CNN
85
-F 1 "VCC" H 9717 4823 50  0000 C CNN
86
-F 2 "" H 9700 4650 50  0001 C CNN
87
-F 3 "" H 9700 4650 50  0001 C CNN
88
-	1    9700 4650
89
-	1    0    0    -1  
90
-$EndComp
91
-Wire Wire Line
92
-	9700 4650 9700 4750
93
-$Comp
94 17
 L Device:C C6
95 18
 U 1 1 5E588ABC
96 19
 P 10400 2150
@@ -137,13 +60,13 @@ SCK
137 60
 Text GLabel 9150 2650 0    50   Input ~ 0
138 61
 NRF24_CS
139 62
 Wire Wire Line
140
-	10500 5150 10400 5150
63
+	9950 5000 9850 5000
141 64
 Wire Wire Line
142
-	10400 5350 10500 5350
65
+	9850 5200 9950 5200
143 66
 Wire Wire Line
144
-	10500 5550 10400 5550
67
+	9950 5400 9850 5400
145 68
 Wire Wire Line
146
-	10400 5750 10500 5750
69
+	9850 5600 9950 5600
147 70
 $Comp
148 71
 L power:GND #PWR016
149 72
 U 1 1 5E595499
@@ -169,29 +92,15 @@ Text GLabel 6150 4900 2    50   Input ~ 0
169 92
 CE
170 93
 Text GLabel 9150 2850 0    50   Input ~ 0
171 94
 CE
172
-$Comp
173
-L Device:C C4
174
-U 1 1 5E5A4C2E
175
-P 8500 4900
176
-F 0 "C4" H 8615 4946 50  0000 L CNN
177
-F 1 "100 nF" H 8615 4855 50  0000 L CNN
178
-F 2 "Capacitors_SMD:C_0603_HandSoldering" H 8538 4750 50  0001 C CNN
179
-F 3 "~" H 8500 4900 50  0001 C CNN
180
-	1    8500 4900
181
-	1    0    0    -1  
182
-$EndComp
183
-Wire Wire Line
184
-	9050 4750 8500 4750
185
-Connection ~ 9050 4750
186 95
 Text GLabel 9150 2350 0    50   Input ~ 0
187 96
 MOSI
188
-Text GLabel 10500 5350 2    50   Input ~ 0
97
+Text GLabel 9950 5200 2    50   Input ~ 0
189 98
 SCK
190
-Text GLabel 10500 5150 2    50   Input ~ 0
99
+Text GLabel 9950 5000 2    50   Input ~ 0
191 100
 MISO
192
-Text GLabel 10500 5550 2    50   Input ~ 0
101
+Text GLabel 9950 5400 2    50   Input ~ 0
193 102
 MOSI
194
-Text GLabel 10500 5750 2    50   Input ~ 0
103
+Text GLabel 9950 5600 2    50   Input ~ 0
195 104
 BME280_CS
196 105
 $Comp
197 106
 L Device:D_Zener D1
@@ -312,7 +221,7 @@ U 1 1 5E857B8D
312 221
 P 5450 3700
313 222
 F 0 "U3" H 5450 2111 50  0000 C CNN
314 223
 F 1 "ATmega48PA-AU" H 5450 2020 50  0000 C CNN
315
-F 2 "Package_QFP:TQFP-32_7x7mm_P0.8mm" H 5450 3700 50  0001 C CIN
224
+F 2 "Housings_QFP:LQFP-32_7x7mm_Pitch0.8mm" H 5450 3700 50  0001 C CIN
316 225
 F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/ATmega48PA_88PA_168PA-Data-Sheet-40002011A.pdf" H 5450 3700 50  0001 C CNN
317 226
 F 4 " ATMEGA48PA-AURCT-ND" H 5450 3700 50  0001 C CNN "Digikey PN"
318 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"
@@ -602,13 +511,6 @@ F 3 "" H 5450 1600 50  0001 C CNN
602 511
 $EndComp
603 512
 Wire Wire Line
604 513
 	5450 1600 5450 1700
605
-Wire Wire Line
606
-	9050 5100 8500 5100
607
-Connection ~ 9050 5100
608
-Wire Wire Line
609
-	9050 5100 9050 5050
610
-Wire Wire Line
611
-	8500 5100 8500 5050
612 514
 Wire Wire Line
613 515
 	1800 1700 1700 1700
614 516
 Wire Wire Line
@@ -757,4 +659,41 @@ F 3 "http://www.nordicsemi.com/eng/content/download/2730/34105/file/nRF24L01_Pro
757 659
 	1    9750 2650
758 660
 	1    0    0    -1  
759 661
 $EndComp
662
+$Comp
663
+L power:VCC #PWR?
664
+U 1 1 5E7B2EA0
665
+P 9350 4650
666
+F 0 "#PWR?" H 9350 4500 50  0001 C CNN
667
+F 1 "VCC" H 9367 4823 50  0000 C CNN
668
+F 2 "" H 9350 4650 50  0001 C CNN
669
+F 3 "" H 9350 4650 50  0001 C CNN
670
+	1    9350 4650
671
+	1    0    0    -1  
672
+$EndComp
673
+Wire Wire Line
674
+	9350 4650 9350 4700
675
+$Comp
676
+L power:GND #PWR?
677
+U 1 1 5E7B9C9F
678
+P 9350 5950
679
+F 0 "#PWR?" H 9350 5700 50  0001 C CNN
680
+F 1 "GND" H 9355 5777 50  0000 C CNN
681
+F 2 "" H 9350 5950 50  0001 C CNN
682
+F 3 "" H 9350 5950 50  0001 C CNN
683
+	1    9350 5950
684
+	1    0    0    -1  
685
+$EndComp
686
+Wire Wire Line
687
+	9350 5950 9350 5900
688
+$Comp
689
+L Own_Library:GY-B11_EP_280 U?
690
+U 1 1 5E7B2265
691
+P 9350 5300
692
+F 0 "U?" H 9020 5346 50  0000 R CNN
693
+F 1 "GY-B11_EP_280" H 9020 5255 50  0000 R CNN
694
+F 2 "" H 10850 4850 50  0001 C CNN
695
+F 3 "https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BME280-DS002.pdf" H 9250 5100 50  0001 C CNN
696
+	1    9350 5300
697
+	1    0    0    -1  
698
+$EndComp
760 699
 $EndSCHEMATC

読み込み中…
キャンセル
保存