pic.sch-bak (9809B)
1 EESchema Schematic File Version 4 2 EELAYER 30 0 3 EELAYER END 4 $Descr A4 11693 8268 5 encoding utf-8 6 Sheet 1 1 7 Title "" 8 Date "" 9 Rev "" 10 Comp "" 11 Comment1 "" 12 Comment2 "" 13 Comment3 "" 14 Comment4 "" 15 $EndDescr 16 $Comp 17 L Device:R_US R1 18 U 1 1 61EA1FDB 19 P 5300 3000 20 F 0 "R1" H 5368 3046 50 0000 L CNN 21 F 1 "10kΩ" H 5368 2955 50 0000 L CNN 22 F 2 "" V 5340 2990 50 0001 C CNN 23 F 3 "~" H 5300 3000 50 0001 C CNN 24 1 5300 3000 25 0 -1 -1 0 26 $EndComp 27 $Comp 28 L power:GNDREF GND 29 U 1 1 61EB279A 30 P 5450 2150 31 F 0 "GND" H 5538 2113 50 0000 L CNN 32 F 1 "GNDREF" H 5455 1977 50 0001 C CNN 33 F 2 "" H 5450 2150 50 0001 C CNN 34 F 3 "" H 5450 2150 50 0001 C CNN 35 1 5450 2150 36 -1 0 0 1 37 $EndComp 38 $Comp 39 L Device:R_US R2 40 U 1 1 61ECA8DC 41 P 4100 5950 42 F 0 "R2" H 4168 5996 50 0000 L CNN 43 F 1 "330Ω" H 4168 5905 50 0000 L CNN 44 F 2 "" V 4140 5940 50 0001 C CNN 45 F 3 "~" H 4100 5950 50 0001 C CNN 46 1 4100 5950 47 1 0 0 -1 48 $EndComp 49 $Comp 50 L MCU_Microchip_PIC16:PIC16F877A-IP PIC16F877A-IP1 51 U 1 1 61E8B28E 52 P 6550 4100 53 F 0 "PIC16F877A-IP1" H 6550 5589 50 0000 C CNN 54 F 1 "PIC16F877A-IP" H 6550 5590 50 0001 C CNN 55 F 2 "" H 6550 4100 50 0001 C CIN 56 F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/39582b.pdf" H 6550 4100 50 0001 C CNN 57 1 6550 4100 58 1 0 0 -1 59 $EndComp 60 $Comp 61 L Simulation_SPICE:VDC V1 62 U 1 1 61F2BB51 63 P 6000 1550 64 F 0 "V1" H 6130 1596 50 0001 L CNN 65 F 1 "5V" H 5870 1550 50 0000 R CNN 66 F 2 "" H 6000 1550 50 0001 C CNN 67 F 3 "~" H 6000 1550 50 0001 C CNN 68 F 4 "Y" H 6000 1550 50 0001 L CNN "Spice_Netlist_Enabled" 69 F 5 "V" H 6000 1550 50 0001 L CNN "Spice_Primitive" 70 F 6 "dc(1)" H 6130 1459 50 0001 L CNN "Spice_Model" 71 1 6000 1550 72 -1 0 0 1 73 $EndComp 74 $Comp 75 L power:GNDREF GND 76 U 1 1 61F5552B 77 P 6550 6300 78 F 0 "GND" H 6638 6263 50 0000 L CNN 79 F 1 "GNDREF" H 6555 6127 50 0001 C CNN 80 F 2 "" H 6550 6300 50 0001 C CNN 81 F 3 "" H 6550 6300 50 0001 C CNN 82 1 6550 6300 83 1 0 0 -1 84 $EndComp 85 Wire Wire Line 86 5450 3000 5650 3000 87 Wire Wire Line 88 6000 2450 6550 2450 89 Wire Wire Line 90 6550 2450 6550 2700 91 Wire Wire Line 92 5150 3000 4900 3000 93 $Comp 94 L Switch:SW_Push RSTB1 95 U 1 1 61FC0519 96 P 5150 2500 97 F 0 "RSTB1" H 5150 2693 50 0000 C CNN 98 F 1 "SW_Push" H 5150 2694 50 0001 C CNN 99 F 2 "" H 5150 2700 50 0001 C CNN 100 F 3 "~" H 5150 2700 50 0001 C CNN 101 1 5150 2500 102 1 0 0 -1 103 $EndComp 104 Wire Wire Line 105 4900 2500 4950 2500 106 Wire Wire Line 107 4900 2500 4900 2650 108 Wire Wire Line 109 5450 2150 5450 2500 110 Wire Wire Line 111 4900 2650 5850 2650 112 Wire Wire Line 113 5850 2650 5850 2450 114 Wire Wire Line 115 5850 2450 6000 2450 116 Connection ~ 4900 2650 117 Wire Wire Line 118 4900 2650 4900 3000 119 Connection ~ 6000 2450 120 Wire Wire Line 121 6650 2450 6550 2450 122 Connection ~ 6550 2450 123 $Comp 124 L Sensor:BME280 BME280 125 U 1 1 61E953D6 126 P 8750 2600 127 F 0 "BME280" H 8321 2646 50 0000 R CNN 128 F 1 "BME280" H 8321 2555 50 0001 R CNN 129 F 2 "Package_LGA:Bosch_LGA-8_2.5x2.5mm_P0.65mm_ClockwisePinNumbering" H 10250 2150 50 0001 C CNN 130 F 3 "https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BME280-DS002.pdf" H 8750 2400 50 0001 C CNN 131 1 8750 2600 132 -1 0 0 -1 133 $EndComp 134 Wire Wire Line 135 6650 2700 6650 2450 136 $Comp 137 L Display_Character:NHD-0420H1Z LCD 138 U 1 1 61E937A6 139 P 4400 5200 140 F 0 "LCD" V 4400 4356 50 0000 R CNN 141 F 1 "NHD-0420H1Z" H 4400 4220 50 0001 C CNN 142 F 2 "Display:NHD-0420H1Z" H 4400 4300 50 0001 C CNN 143 F 3 "http://www.newhavendisplay.com/specs/NHD-0420H1Z-FSW-GBW-33V3.pdf" H 4500 5100 50 0001 C CNN 144 1 4400 5200 145 0 1 1 0 146 $EndComp 147 Wire Wire Line 148 3600 5200 3550 5200 149 Wire Wire Line 150 4100 5600 4100 5800 151 Wire Wire Line 152 4100 6250 4100 6100 153 Connection ~ 6000 1950 154 Wire Wire Line 155 6000 1950 6000 2450 156 Wire Wire Line 157 6550 5600 6550 5700 158 Connection ~ 6550 5700 159 Wire Wire Line 160 5200 5200 5300 5200 161 Connection ~ 4100 6250 162 Wire Wire Line 163 4200 5600 4200 5700 164 Wire Wire Line 165 4200 5700 5050 5700 166 Wire Wire Line 167 4100 6250 5050 6250 168 Connection ~ 5050 5700 169 Wire Wire Line 170 5050 5700 6550 5700 171 Connection ~ 5050 6250 172 Wire Wire Line 173 5050 6250 5300 6250 174 Wire Wire Line 175 3550 6150 6550 6150 176 Wire Wire Line 177 3550 5200 3550 6150 178 Connection ~ 6550 6150 179 Wire Wire Line 180 6550 6150 6550 6300 181 Wire Wire Line 182 6000 1750 6000 1950 183 Wire Wire Line 184 6550 5700 6550 6150 185 Wire Wire Line 186 6650 5600 6650 5700 187 Wire Wire Line 188 6650 5700 6550 5700 189 Wire Wire Line 190 8650 6150 6550 6150 191 Wire Wire Line 192 8650 1950 6000 1950 193 Wire Wire Line 194 7450 4900 7550 4900 195 Wire Wire Line 196 7550 4900 7550 2500 197 Wire Wire Line 198 7550 2500 8150 2500 199 Wire Wire Line 200 7450 5000 7650 5000 201 Wire Wire Line 202 7650 5000 7650 2700 203 Wire Wire Line 204 7650 2700 8150 2700 205 Wire Wire Line 206 7450 5100 7750 5100 207 Wire Wire Line 208 7750 5100 7750 2300 209 Wire Wire Line 210 7750 2300 8150 2300 211 Wire Wire Line 212 8650 3200 8650 3350 213 $Comp 214 L Device:LED LED1 215 U 1 1 61E8F822 216 P 8400 3950 217 F 0 "LED1" H 8393 4075 50 0000 C CNN 218 F 1 "LED" H 8393 4076 50 0001 C CNN 219 F 2 "" H 8400 3950 50 0001 C CNN 220 F 3 "~" H 8400 3950 50 0001 C CNN 221 1 8400 3950 222 -1 0 0 1 223 $EndComp 224 $Comp 225 L Device:R_US R3 226 U 1 1 61F053CB 227 P 8000 3950 228 F 0 "R3" H 8068 3996 50 0000 L CNN 229 F 1 "330Ω" H 8068 3905 50 0000 L CNN 230 F 2 "" V 8040 3940 50 0001 C CNN 231 F 3 "~" H 8000 3950 50 0001 C CNN 232 1 8000 3950 233 0 -1 -1 0 234 $EndComp 235 Wire Wire Line 236 8650 2000 8650 1950 237 $Comp 238 L Switch:SW_Push BTN1 239 U 1 1 620E2C06 240 P 8050 3550 241 F 0 "BTN1" H 8050 3743 50 0000 C CNN 242 F 1 "SW_Push" H 8050 3744 50 0001 C CNN 243 F 2 "" H 8050 3750 50 0001 C CNN 244 F 3 "~" H 8050 3750 50 0001 C CNN 245 1 8050 3550 246 1 0 0 -1 247 $EndComp 248 Wire Wire Line 249 3400 1950 3400 6250 250 Wire Wire Line 251 5450 2500 5350 2500 252 $Comp 253 L Device:C_Small C1 254 U 1 1 61E97CC0 255 P 4200 2650 256 F 0 "C1" H 4292 2696 50 0000 L CNN 257 F 1 "22pF" H 4292 2605 50 0000 L CNN 258 F 2 "" H 4200 2650 50 0001 C CNN 259 F 3 "~" H 4200 2650 50 0001 C CNN 260 1 4200 2650 261 1 0 0 1 262 $EndComp 263 $Comp 264 L Device:C_Small C2 265 U 1 1 61ECA409 266 P 4200 3350 267 F 0 "C2" H 4292 3396 50 0000 L CNN 268 F 1 "22pF" H 4292 3305 50 0000 L CNN 269 F 2 "" H 4200 3350 50 0001 C CNN 270 F 3 "~" H 4200 3350 50 0001 C CNN 271 1 4200 3350 272 -1 0 0 1 273 $EndComp 274 $Comp 275 L Device:Crystal OSC1 276 U 1 1 61EB43E4 277 P 4200 3000 278 F 0 "OSC1" H 4200 3268 50 0000 C CNN 279 F 1 "16MHz" H 4200 3177 50 0000 C CNN 280 F 2 "" H 4200 3000 50 0001 C CNN 281 F 3 "~" H 4200 3000 50 0001 C CNN 282 1 4200 3000 283 0 -1 -1 0 284 $EndComp 285 $Comp 286 L power:GNDREF GND 287 U 1 1 61EE8AF0 288 P 3800 3000 289 F 0 "GND" H 3888 2963 50 0000 L CNN 290 F 1 "GNDREF" H 3805 2827 50 0001 C CNN 291 F 2 "" H 3800 3000 50 0001 C CNN 292 F 3 "" H 3800 3000 50 0001 C CNN 293 1 3800 3000 294 0 1 1 0 295 $EndComp 296 Wire Wire Line 297 3800 3000 3850 3000 298 Wire Wire Line 299 3850 3000 3850 2500 300 Wire Wire Line 301 3850 2500 4200 2500 302 Wire Wire Line 303 4200 2500 4200 2550 304 Wire Wire Line 305 4200 3450 4200 3500 306 Wire Wire Line 307 4200 3500 3850 3500 308 Wire Wire Line 309 3850 3500 3850 3000 310 Connection ~ 3850 3000 311 Wire Wire Line 312 4200 3150 4200 3250 313 Wire Wire Line 314 4200 2850 4200 2750 315 Wire Wire Line 316 3400 1950 6000 1950 317 Wire Wire Line 318 3400 6250 4100 6250 319 Wire Wire Line 320 5300 6250 5300 5200 321 Wire Wire Line 322 8850 3200 8850 3350 323 Wire Wire Line 324 8850 3350 8650 3350 325 Connection ~ 8650 3350 326 Wire Wire Line 327 8850 2000 8850 1950 328 Wire Wire Line 329 8850 1950 8650 1950 330 Connection ~ 8650 1950 331 Wire Wire Line 332 5050 6100 5050 6250 333 Wire Wire Line 334 5200 5950 5200 5300 335 Wire Wire Line 336 5050 5800 5050 5700 337 $Comp 338 L Device:R_POT_US POT1 339 U 1 1 6208C3F4 340 P 5050 5950 341 F 0 "POT1" H 4983 5996 50 0000 R CNN 342 F 1 "10kΩ" H 4983 5905 50 0000 R CNN 343 F 2 "" H 5050 5950 50 0001 C CNN 344 F 3 "~" H 5050 5950 50 0001 C CNN 345 1 5050 5950 346 1 0 0 -1 347 $EndComp 348 Wire Wire Line 349 4200 3250 4650 3250 350 Wire Wire Line 351 4650 3250 4650 3500 352 Wire Wire Line 353 4650 3500 5650 3500 354 Connection ~ 4200 3250 355 Wire Wire Line 356 4200 2750 4750 2750 357 Wire Wire Line 358 4750 2750 4750 3300 359 Wire Wire Line 360 4750 3300 5650 3300 361 Connection ~ 4200 2750 362 Wire Wire Line 363 7450 3700 7850 3700 364 Wire Wire Line 365 7850 3700 7850 3550 366 Wire Wire Line 367 8650 3350 8650 3550 368 Connection ~ 8650 3550 369 Wire Wire Line 370 8650 3550 8650 3950 371 Wire Wire Line 372 7450 3800 7850 3800 373 Wire Wire Line 374 7850 3800 7850 3950 375 Wire Wire Line 376 8550 3950 8650 3950 377 Connection ~ 8650 3950 378 Wire Wire Line 379 8650 3950 8650 6150 380 Wire Wire Line 381 8600 3550 8650 3550 382 $Comp 383 L Device:R_US R4 384 U 1 1 62134942 385 P 8450 3550 386 F 0 "R4" H 8518 3596 50 0000 L CNN 387 F 1 "10kΩ" H 8518 3505 50 0000 L CNN 388 F 2 "" V 8490 3540 50 0001 C CNN 389 F 3 "~" H 8450 3550 50 0001 C CNN 390 1 8450 3550 391 0 -1 -1 0 392 $EndComp 393 Wire Wire Line 394 8150 3950 8250 3950 395 Wire Wire Line 396 8250 3550 8300 3550 397 Wire Wire Line 398 4500 4800 4500 3700 399 Wire Wire Line 400 4500 3700 5650 3700 401 Wire Wire Line 402 4400 4800 4400 3800 403 Wire Wire Line 404 4400 3800 5650 3800 405 Wire Wire Line 406 4300 4800 4300 3900 407 Wire Wire Line 408 4300 3900 5650 3900 409 Wire Wire Line 410 4200 4800 4200 4000 411 Wire Wire Line 412 4200 4000 5650 4000 413 Wire Wire Line 414 4100 4800 4100 4100 415 Wire Wire Line 416 4100 4100 5650 4100 417 Wire Wire Line 418 4000 4800 4000 4200 419 Wire Wire Line 420 4000 4200 5650 4200 421 Wire Wire Line 422 3900 4800 3900 4300 423 Wire Wire Line 424 3900 4300 5650 4300 425 Wire Wire Line 426 3800 4800 3800 4400 427 Wire Wire Line 428 3800 4400 5650 4400 429 Wire Wire Line 430 5000 4800 5000 4750 431 Wire Wire Line 432 5000 4750 5400 4750 433 Wire Wire Line 434 5400 4750 5400 6000 435 Wire Wire Line 436 5400 6000 8050 6000 437 Wire Wire Line 438 8050 6000 8050 4600 439 Wire Wire Line 440 8050 4600 7450 4600 441 Wire Wire Line 442 4900 4800 4900 4650 443 Wire Wire Line 444 4900 4650 5500 4650 445 Wire Wire Line 446 5500 4650 5500 5900 447 Wire Wire Line 448 5500 5900 7950 5900 449 Wire Wire Line 450 7950 5900 7950 4700 451 Wire Wire Line 452 7950 4700 7450 4700 453 Wire Wire Line 454 4800 4800 4800 4550 455 Wire Wire Line 456 4800 4550 5600 4550 457 Wire Wire Line 458 5600 4550 5600 5800 459 Wire Wire Line 460 5600 5800 7850 5800 461 Wire Wire Line 462 7850 5800 7850 4800 463 Wire Wire Line 464 7850 4800 7450 4800 465 Entry Bus Bus 466 2200 2000 2300 2100 467 Entry Bus Bus 468 2200 2000 2300 2100 469 Entry Bus Bus 470 2200 2000 2300 2100 471 Entry Bus Bus 472 2200 2000 2300 2100 473 $EndSCHEMATC