├── 20160318_220735.jpg ├── IMG_20160612_133524.jpg ├── IMG_20160612_133540.jpg ├── IMG_20160612_133556.jpg ├── IMG_20160612_133626.jpg ├── README.md ├── Schematic.png ├── Screenshot from 2016-03-26 19:14:13.png ├── Screenshot from 2016-03-26 19:15:49.png ├── Sensor.sch ├── WiFiSensorIndoor.ino ├── create_database.sql ├── graph.php ├── script.php └── sensors.php /20160318_220735.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PaulRB/WemosSensor/9e4180ce120c127cebc10a0bbe88d33fe762ecf2/20160318_220735.jpg -------------------------------------------------------------------------------- /IMG_20160612_133524.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PaulRB/WemosSensor/9e4180ce120c127cebc10a0bbe88d33fe762ecf2/IMG_20160612_133524.jpg -------------------------------------------------------------------------------- /IMG_20160612_133540.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PaulRB/WemosSensor/9e4180ce120c127cebc10a0bbe88d33fe762ecf2/IMG_20160612_133540.jpg -------------------------------------------------------------------------------- /IMG_20160612_133556.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PaulRB/WemosSensor/9e4180ce120c127cebc10a0bbe88d33fe762ecf2/IMG_20160612_133556.jpg -------------------------------------------------------------------------------- /IMG_20160612_133626.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PaulRB/WemosSensor/9e4180ce120c127cebc10a0bbe88d33fe762ecf2/IMG_20160612_133626.jpg -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # WemosSensor 2 | Temp/Humidity/Barometric Pressure Sensor for WeMos D1 mini 3 | ![Alt text](/20160318_220735.jpg?raw=true) 4 | ![Alt text](https://github.com/PaulRB/WemosSensor/blob/master/IMG_20160612_133524.jpg?raw=true) 5 | ![Alt text](https://github.com/PaulRB/WemosSensor/blob/master/IMG_20160612_133540.jpg?raw=true) 6 | ![Alt text](https://github.com/PaulRB/WemosSensor/blob/master/IMG_20160612_133556.jpg?raw=true) 7 | ![Alt text](https://github.com/PaulRB/WemosSensor/blob/master/IMG_20160612_133626.jpg?raw=true) 8 | ![Alt text](/Screenshot%20from%202016-03-26%2019:14:13.png?raw=true) 9 | ![Alt text](/Screenshot%20from%202016-03-26%2019:15:49.png?raw=true) 10 | ![Alt text](https://github.com/PaulRB/WemosSensor/blob/master/Schematic.png?raw=true) 11 | 12 | -------------------------------------------------------------------------------- /Schematic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PaulRB/WemosSensor/9e4180ce120c127cebc10a0bbe88d33fe762ecf2/Schematic.png -------------------------------------------------------------------------------- /Screenshot from 2016-03-26 19:14:13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PaulRB/WemosSensor/9e4180ce120c127cebc10a0bbe88d33fe762ecf2/Screenshot from 2016-03-26 19:14:13.png -------------------------------------------------------------------------------- /Screenshot from 2016-03-26 19:15:49.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PaulRB/WemosSensor/9e4180ce120c127cebc10a0bbe88d33fe762ecf2/Screenshot from 2016-03-26 19:15:49.png -------------------------------------------------------------------------------- /Sensor.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 | WEMOS Controller socket 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | WEMOS 83 | Controller 84 | 85 | 86 | 87 | Radio Antenna 88 | Facing UP 89 | USB bottom 90 | Facing DOWN/PCB 91 | 92 | 93 | 94 | 95 | 96 | 3V3 97 | D8 98 | D7 99 | D6 100 | D5 101 | D0 102 | A0 103 | RST 104 | 5V 105 | GND 106 | D4 107 | D3 108 | D2 109 | D1 110 | RX 111 | TX 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 | >Name 137 | >Value 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 | <b>Special Devices</b><p> 175 | 7-segment displays, switches, heatsinks, crystals, transformers, etc.<p> 176 | <author>Created by librarian@cadsoft.de</author> 177 | 178 | 179 | <B>BATTERY</B><p> 180 | 22 mm 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | >NAME 193 | >VALUE 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | >NAME 205 | >VALUE 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | <B>BATTERY</B> 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | <b>Resistors, Capacitors, Inductors</b><p> 234 | Based on the previous libraries: 235 | <ul> 236 | <li>r.lbr 237 | <li>cap.lbr 238 | <li>cap-fe.lbr 239 | <li>captant.lbr 240 | <li>polcap.lbr 241 | <li>ipc-smd.lbr 242 | </ul> 243 | All SMD packages are defined according to the IPC specifications and CECC<p> 244 | <author>Created by librarian@cadsoft.de</author><p> 245 | <p> 246 | for Electrolyt Capacitors see also :<p> 247 | www.bccomponents.com <p> 248 | www.panasonic.com<p> 249 | www.kemet.com<p> 250 | http://www.secc.co.jp/pdf/os_e/2004/e_os_all.pdf <b>(SANYO)</b> 251 | <p> 252 | for trimmer refence see : <u>www.electrospec-inc.com/cross_references/trimpotcrossref.asp</u><p> 253 | 254 | <table border=0 cellspacing=0 cellpadding=0 width="100%" cellpaddding=0> 255 | <tr valign="top"> 256 | 257 | <! <td width="10">&nbsp;</td> 258 | <td width="90%"> 259 | 260 | <b><font color="#0000FF" size="4">TRIM-POT CROSS REFERENCE</font></b> 261 | <P> 262 | <TABLE BORDER=0 CELLSPACING=1 CELLPADDING=2> 263 | <TR> 264 | <TD COLSPAN=8> 265 | <FONT SIZE=3 FACE=ARIAL><B>RECTANGULAR MULTI-TURN</B></FONT> 266 | </TD> 267 | </TR> 268 | <TR> 269 | <TD ALIGN=CENTER> 270 | <B> 271 | <FONT SIZE=3 FACE=ARIAL color="#FF0000">BOURNS</FONT> 272 | </B> 273 | </TD> 274 | <TD ALIGN=CENTER> 275 | <B> 276 | <FONT SIZE=3 FACE=ARIAL color="#FF0000">BI&nbsp;TECH</FONT> 277 | </B> 278 | </TD> 279 | <TD ALIGN=CENTER> 280 | <B> 281 | <FONT SIZE=3 FACE=ARIAL color="#FF0000">DALE-VISHAY</FONT> 282 | </B> 283 | </TD> 284 | <TD ALIGN=CENTER> 285 | <B> 286 | <FONT SIZE=3 FACE=ARIAL color="#FF0000">PHILIPS/MEPCO</FONT> 287 | </B> 288 | </TD> 289 | <TD ALIGN=CENTER> 290 | <B> 291 | <FONT SIZE=3 FACE=ARIAL color="#FF0000">MURATA</FONT> 292 | </B> 293 | </TD> 294 | <TD ALIGN=CENTER> 295 | <B> 296 | <FONT SIZE=3 FACE=ARIAL color="#FF0000">PANASONIC</FONT> 297 | </B> 298 | </TD> 299 | <TD ALIGN=CENTER> 300 | <B> 301 | <FONT SIZE=3 FACE=ARIAL color="#FF0000">SPECTROL</FONT> 302 | </B> 303 | </TD> 304 | <TD ALIGN=CENTER> 305 | <B> 306 | <FONT SIZE=3 FACE=ARIAL color="#FF0000">MILSPEC</FONT> 307 | </B> 308 | </TD><TD>&nbsp;</TD> 309 | </TR> 310 | <TR> 311 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3 > 312 | 3005P<BR> 313 | 3006P<BR> 314 | 3006W<BR> 315 | 3006Y<BR> 316 | 3009P<BR> 317 | 3009W<BR> 318 | 3009Y<BR> 319 | 3057J<BR> 320 | 3057L<BR> 321 | 3057P<BR> 322 | 3057Y<BR> 323 | 3059J<BR> 324 | 3059L<BR> 325 | 3059P<BR> 326 | 3059Y<BR></FONT> 327 | </TD> 328 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 329 | -<BR> 330 | 89P<BR> 331 | 89W<BR> 332 | 89X<BR> 333 | 89PH<BR> 334 | 76P<BR> 335 | 89XH<BR> 336 | 78SLT<BR> 337 | 78L&nbsp;ALT<BR> 338 | 56P&nbsp;ALT<BR> 339 | 78P&nbsp;ALT<BR> 340 | T8S<BR> 341 | 78L<BR> 342 | 56P<BR> 343 | 78P<BR></FONT> 344 | </TD> 345 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 346 | -<BR> 347 | T18/784<BR> 348 | 783<BR> 349 | 781<BR> 350 | -<BR> 351 | -<BR> 352 | -<BR> 353 | 2199<BR> 354 | 1697/1897<BR> 355 | 1680/1880<BR> 356 | 2187<BR> 357 | -<BR> 358 | -<BR> 359 | -<BR> 360 | -<BR></FONT> 361 | </TD> 362 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 363 | -<BR> 364 | 8035EKP/CT20/RJ-20P<BR> 365 | -<BR> 366 | RJ-20X<BR> 367 | -<BR> 368 | -<BR> 369 | -<BR> 370 | 1211L<BR> 371 | 8012EKQ&nbsp;ALT<BR> 372 | 8012EKR&nbsp;ALT<BR> 373 | 1211P<BR> 374 | 8012EKJ<BR> 375 | 8012EKL<BR> 376 | 8012EKQ<BR> 377 | 8012EKR<BR></FONT> 378 | </TD> 379 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 380 | -<BR> 381 | 2101P<BR> 382 | 2101W<BR> 383 | 2101Y<BR> 384 | -<BR> 385 | -<BR> 386 | -<BR> 387 | -<BR> 388 | -<BR> 389 | -<BR> 390 | -<BR> 391 | -<BR> 392 | 2102L<BR> 393 | 2102S<BR> 394 | 2102Y<BR></FONT> 395 | </TD> 396 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 397 | -<BR> 398 | EVMCOG<BR> 399 | -<BR> 400 | -<BR> 401 | -<BR> 402 | -<BR> 403 | -<BR> 404 | -<BR> 405 | -<BR> 406 | -<BR> 407 | -<BR> 408 | -<BR> 409 | -<BR> 410 | -<BR> 411 | -<BR></FONT> 412 | </TD> 413 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 414 | -<BR> 415 | 43P<BR> 416 | 43W<BR> 417 | 43Y<BR> 418 | -<BR> 419 | -<BR> 420 | -<BR> 421 | -<BR> 422 | 40L<BR> 423 | 40P<BR> 424 | 40Y<BR> 425 | 70Y-T602<BR> 426 | 70L<BR> 427 | 70P<BR> 428 | 70Y<BR></FONT> 429 | </TD> 430 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 431 | -<BR> 432 | -<BR> 433 | -<BR> 434 | -<BR> 435 | -<BR> 436 | -<BR> 437 | -<BR> 438 | -<BR> 439 | RT/RTR12<BR> 440 | RT/RTR12<BR> 441 | RT/RTR12<BR> 442 | -<BR> 443 | RJ/RJR12<BR> 444 | RJ/RJR12<BR> 445 | RJ/RJR12<BR></FONT> 446 | </TD> 447 | </TR> 448 | <TR> 449 | <TD COLSPAN=8>&nbsp; 450 | </TD> 451 | </TR> 452 | <TR> 453 | <TD COLSPAN=8> 454 | <FONT SIZE=4 FACE=ARIAL><B>SQUARE MULTI-TURN</B></FONT> 455 | </TD> 456 | </TR> 457 | <TR> 458 | <TD ALIGN=CENTER> 459 | <FONT SIZE=3 FACE=ARIAL><B>BOURN</B></FONT> 460 | </TD> 461 | <TD ALIGN=CENTER> 462 | <FONT SIZE=3 FACE=ARIAL><B>BI&nbsp;TECH</B></FONT> 463 | </TD> 464 | <TD ALIGN=CENTER> 465 | <FONT SIZE=3 FACE=ARIAL><B>DALE-VISHAY</B></FONT> 466 | </TD> 467 | <TD ALIGN=CENTER> 468 | <FONT SIZE=3 FACE=ARIAL><B>PHILIPS/MEPCO</B></FONT> 469 | </TD> 470 | <TD ALIGN=CENTER> 471 | <FONT SIZE=3 FACE=ARIAL><B>MURATA</B></FONT> 472 | </TD> 473 | <TD ALIGN=CENTER> 474 | <FONT SIZE=3 FACE=ARIAL><B>PANASONIC</B></FONT> 475 | </TD> 476 | <TD ALIGN=CENTER> 477 | <FONT SIZE=3 FACE=ARIAL><B>SPECTROL</B></FONT> 478 | </TD> 479 | <TD ALIGN=CENTER> 480 | <FONT SIZE=3 FACE=ARIAL><B>MILSPEC</B></FONT> 481 | </TD> 482 | </TR> 483 | <TR> 484 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 485 | 3250L<BR> 486 | 3250P<BR> 487 | 3250W<BR> 488 | 3250X<BR> 489 | 3252P<BR> 490 | 3252W<BR> 491 | 3252X<BR> 492 | 3260P<BR> 493 | 3260W<BR> 494 | 3260X<BR> 495 | 3262P<BR> 496 | 3262W<BR> 497 | 3262X<BR> 498 | 3266P<BR> 499 | 3266W<BR> 500 | 3266X<BR> 501 | 3290H<BR> 502 | 3290P<BR> 503 | 3290W<BR> 504 | 3292P<BR> 505 | 3292W<BR> 506 | 3292X<BR> 507 | 3296P<BR> 508 | 3296W<BR> 509 | 3296X<BR> 510 | 3296Y<BR> 511 | 3296Z<BR> 512 | 3299P<BR> 513 | 3299W<BR> 514 | 3299X<BR> 515 | 3299Y<BR> 516 | 3299Z<BR></FONT> 517 | </TD> 518 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 519 | -<BR> 520 | 66P&nbsp;ALT<BR> 521 | 66W&nbsp;ALT<BR> 522 | 66X&nbsp;ALT<BR> 523 | 66P&nbsp;ALT<BR> 524 | 66W&nbsp;ALT<BR> 525 | 66X&nbsp;ALT<BR> 526 | -<BR> 527 | 64W&nbsp;ALT<BR> 528 | -<BR> 529 | 64P&nbsp;ALT<BR> 530 | 64W&nbsp;ALT<BR> 531 | 64X&nbsp;ALT<BR> 532 | 64P<BR> 533 | 64W<BR> 534 | 64X<BR> 535 | 66X&nbsp;ALT<BR> 536 | 66P&nbsp;ALT<BR> 537 | 66W&nbsp;ALT<BR> 538 | 66P<BR> 539 | 66W<BR> 540 | 66X<BR> 541 | 67P<BR> 542 | 67W<BR> 543 | 67X<BR> 544 | 67Y<BR> 545 | 67Z<BR> 546 | 68P<BR> 547 | 68W<BR> 548 | 68X<BR> 549 | 67Y&nbsp;ALT<BR> 550 | 67Z&nbsp;ALT<BR></FONT> 551 | </TD> 552 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 553 | 5050<BR> 554 | 5091<BR> 555 | 5080<BR> 556 | 5087<BR> 557 | -<BR> 558 | -<BR> 559 | -<BR> 560 | -<BR> 561 | -<BR> 562 | -<BR> 563 | -<BR> 564 | T63YB<BR> 565 | T63XB<BR> 566 | -<BR> 567 | -<BR> 568 | -<BR> 569 | 5887<BR> 570 | 5891<BR> 571 | 5880<BR> 572 | -<BR> 573 | -<BR> 574 | -<BR> 575 | T93Z<BR> 576 | T93YA<BR> 577 | T93XA<BR> 578 | T93YB<BR> 579 | T93XB<BR> 580 | -<BR> 581 | -<BR> 582 | -<BR> 583 | -<BR> 584 | -<BR></FONT> 585 | </TD> 586 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 587 | -<BR> 588 | -<BR> 589 | -<BR> 590 | -<BR> 591 | -<BR> 592 | -<BR> 593 | -<BR> 594 | -<BR> 595 | -<BR> 596 | -<BR> 597 | 8026EKP<BR> 598 | 8026EKW<BR> 599 | 8026EKM<BR> 600 | 8026EKP<BR> 601 | 8026EKB<BR> 602 | 8026EKM<BR> 603 | 1309X<BR> 604 | 1309P<BR> 605 | 1309W<BR> 606 | 8024EKP<BR> 607 | 8024EKW<BR> 608 | 8024EKN<BR> 609 | RJ-9P/CT9P<BR> 610 | RJ-9W<BR> 611 | RJ-9X<BR> 612 | -<BR> 613 | -<BR> 614 | -<BR> 615 | -<BR> 616 | -<BR> 617 | -<BR> 618 | -<BR></FONT> 619 | </TD> 620 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 621 | -<BR> 622 | -<BR> 623 | -<BR> 624 | -<BR> 625 | -<BR> 626 | -<BR> 627 | -<BR> 628 | -<BR> 629 | -<BR> 630 | -<BR> 631 | 3103P<BR> 632 | 3103Y<BR> 633 | 3103Z<BR> 634 | 3103P<BR> 635 | 3103Y<BR> 636 | 3103Z<BR> 637 | -<BR> 638 | -<BR> 639 | -<BR> 640 | -<BR> 641 | -<BR> 642 | -<BR> 643 | 3105P/3106P<BR> 644 | 3105W/3106W<BR> 645 | 3105X/3106X<BR> 646 | 3105Y/3106Y<BR> 647 | 3105Z/3105Z<BR> 648 | 3102P<BR> 649 | 3102W<BR> 650 | 3102X<BR> 651 | 3102Y<BR> 652 | 3102Z<BR></FONT> 653 | </TD> 654 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 655 | -<BR> 656 | -<BR> 657 | -<BR> 658 | -<BR> 659 | -<BR> 660 | -<BR> 661 | -<BR> 662 | -<BR> 663 | -<BR> 664 | -<BR> 665 | -<BR> 666 | -<BR> 667 | -<BR> 668 | -<BR> 669 | -<BR> 670 | -<BR> 671 | -<BR> 672 | -<BR> 673 | -<BR> 674 | -<BR> 675 | -<BR> 676 | -<BR> 677 | EVMCBG<BR> 678 | EVMCCG<BR> 679 | -<BR> 680 | -<BR> 681 | -<BR> 682 | -<BR> 683 | -<BR> 684 | -<BR> 685 | -<BR> 686 | -<BR></FONT> 687 | </TD> 688 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 689 | 55-1-X<BR> 690 | 55-4-X<BR> 691 | 55-3-X<BR> 692 | 55-2-X<BR> 693 | -<BR> 694 | -<BR> 695 | -<BR> 696 | -<BR> 697 | -<BR> 698 | -<BR> 699 | -<BR> 700 | -<BR> 701 | -<BR> 702 | -<BR> 703 | -<BR> 704 | -<BR> 705 | 50-2-X<BR> 706 | 50-4-X<BR> 707 | 50-3-X<BR> 708 | -<BR> 709 | -<BR> 710 | -<BR> 711 | 64P<BR> 712 | 64W<BR> 713 | 64X<BR> 714 | 64Y<BR> 715 | 64Z<BR> 716 | -<BR> 717 | -<BR> 718 | -<BR> 719 | -<BR> 720 | -<BR></FONT> 721 | </TD> 722 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 723 | RT/RTR22<BR> 724 | RT/RTR22<BR> 725 | RT/RTR22<BR> 726 | RT/RTR22<BR> 727 | RJ/RJR22<BR> 728 | RJ/RJR22<BR> 729 | RJ/RJR22<BR> 730 | RT/RTR26<BR> 731 | RT/RTR26<BR> 732 | RT/RTR26<BR> 733 | RJ/RJR26<BR> 734 | RJ/RJR26<BR> 735 | RJ/RJR26<BR> 736 | RJ/RJR26<BR> 737 | RJ/RJR26<BR> 738 | RJ/RJR26<BR> 739 | RT/RTR24<BR> 740 | RT/RTR24<BR> 741 | RT/RTR24<BR> 742 | RJ/RJR24<BR> 743 | RJ/RJR24<BR> 744 | RJ/RJR24<BR> 745 | RJ/RJR24<BR> 746 | RJ/RJR24<BR> 747 | RJ/RJR24<BR> 748 | -<BR> 749 | -<BR> 750 | -<BR> 751 | -<BR> 752 | -<BR> 753 | -<BR> 754 | -<BR></FONT> 755 | </TD> 756 | </TR> 757 | <TR> 758 | <TD COLSPAN=8>&nbsp; 759 | </TD> 760 | </TR> 761 | <TR> 762 | <TD COLSPAN=8> 763 | <FONT SIZE=4 FACE=ARIAL><B>SINGLE TURN</B></FONT> 764 | </TD> 765 | </TR> 766 | <TR> 767 | <TD ALIGN=CENTER> 768 | <FONT SIZE=3 FACE=ARIAL><B>BOURN</B></FONT> 769 | </TD> 770 | <TD ALIGN=CENTER> 771 | <FONT SIZE=3 FACE=ARIAL><B>BI&nbsp;TECH</B></FONT> 772 | </TD> 773 | <TD ALIGN=CENTER> 774 | <FONT SIZE=3 FACE=ARIAL><B>DALE-VISHAY</B></FONT> 775 | </TD> 776 | <TD ALIGN=CENTER> 777 | <FONT SIZE=3 FACE=ARIAL><B>PHILIPS/MEPCO</B></FONT> 778 | </TD> 779 | <TD ALIGN=CENTER> 780 | <FONT SIZE=3 FACE=ARIAL><B>MURATA</B></FONT> 781 | </TD> 782 | <TD ALIGN=CENTER> 783 | <FONT SIZE=3 FACE=ARIAL><B>PANASONIC</B></FONT> 784 | </TD> 785 | <TD ALIGN=CENTER> 786 | <FONT SIZE=3 FACE=ARIAL><B>SPECTROL</B></FONT> 787 | </TD> 788 | <TD ALIGN=CENTER> 789 | <FONT SIZE=3 FACE=ARIAL><B>MILSPEC</B></FONT> 790 | </TD> 791 | </TR> 792 | <TR> 793 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 794 | 3323P<BR> 795 | 3323S<BR> 796 | 3323W<BR> 797 | 3329H<BR> 798 | 3329P<BR> 799 | 3329W<BR> 800 | 3339H<BR> 801 | 3339P<BR> 802 | 3339W<BR> 803 | 3352E<BR> 804 | 3352H<BR> 805 | 3352K<BR> 806 | 3352P<BR> 807 | 3352T<BR> 808 | 3352V<BR> 809 | 3352W<BR> 810 | 3362H<BR> 811 | 3362M<BR> 812 | 3362P<BR> 813 | 3362R<BR> 814 | 3362S<BR> 815 | 3362U<BR> 816 | 3362W<BR> 817 | 3362X<BR> 818 | 3386B<BR> 819 | 3386C<BR> 820 | 3386F<BR> 821 | 3386H<BR> 822 | 3386K<BR> 823 | 3386M<BR> 824 | 3386P<BR> 825 | 3386S<BR> 826 | 3386W<BR> 827 | 3386X<BR></FONT> 828 | </TD> 829 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 830 | 25P<BR> 831 | 25S<BR> 832 | 25RX<BR> 833 | 82P<BR> 834 | 82M<BR> 835 | 82PA<BR> 836 | -<BR> 837 | -<BR> 838 | -<BR> 839 | 91E<BR> 840 | 91X<BR> 841 | 91T<BR> 842 | 91B<BR> 843 | 91A<BR> 844 | 91V<BR> 845 | 91W<BR> 846 | 25W<BR> 847 | 25V<BR> 848 | 25P<BR> 849 | -<BR> 850 | 25S<BR> 851 | 25U<BR> 852 | 25RX<BR> 853 | 25X<BR> 854 | 72XW<BR> 855 | 72XL<BR> 856 | 72PM<BR> 857 | 72RX<BR> 858 | -<BR> 859 | 72PX<BR> 860 | 72P<BR> 861 | 72RXW<BR> 862 | 72RXL<BR> 863 | 72X<BR></FONT> 864 | </TD> 865 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 866 | -<BR> 867 | -<BR> 868 | -<BR> 869 | T7YB<BR> 870 | T7YA<BR> 871 | -<BR> 872 | -<BR> 873 | -<BR> 874 | -<BR> 875 | -<BR> 876 | -<BR> 877 | -<BR> 878 | -<BR> 879 | -<BR> 880 | -<BR> 881 | -<BR> 882 | -<BR> 883 | TXD<BR> 884 | TYA<BR> 885 | TYP<BR> 886 | -<BR> 887 | TYD<BR> 888 | TX<BR> 889 | -<BR> 890 | 150SX<BR> 891 | 100SX<BR> 892 | 102T<BR> 893 | 101S<BR> 894 | 190T<BR> 895 | 150TX<BR> 896 | 101<BR> 897 | -<BR> 898 | -<BR> 899 | 101SX<BR></FONT> 900 | </TD> 901 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 902 | ET6P<BR> 903 | ET6S<BR> 904 | ET6X<BR> 905 | RJ-6W/8014EMW<BR> 906 | RJ-6P/8014EMP<BR> 907 | RJ-6X/8014EMX<BR> 908 | TM7W<BR> 909 | TM7P<BR> 910 | TM7X<BR> 911 | -<BR> 912 | 8017SMS<BR> 913 | -<BR> 914 | 8017SMB<BR> 915 | 8017SMA<BR> 916 | -<BR> 917 | -<BR> 918 | CT-6W<BR> 919 | CT-6H<BR> 920 | CT-6P<BR> 921 | CT-6R<BR> 922 | -<BR> 923 | CT-6V<BR> 924 | CT-6X<BR> 925 | -<BR> 926 | -<BR> 927 | 8038EKV<BR> 928 | -<BR> 929 | 8038EKX<BR> 930 | -<BR> 931 | -<BR> 932 | 8038EKP<BR> 933 | 8038EKZ<BR> 934 | 8038EKW<BR> 935 | -<BR></FONT> 936 | </TD> 937 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 938 | -<BR> 939 | -<BR> 940 | -<BR> 941 | 3321H<BR> 942 | 3321P<BR> 943 | 3321N<BR> 944 | 1102H<BR> 945 | 1102P<BR> 946 | 1102T<BR> 947 | RVA0911V304A<BR> 948 | -<BR> 949 | RVA0911H413A<BR> 950 | RVG0707V100A<BR> 951 | RVA0607V(H)306A<BR> 952 | RVA1214H213A<BR> 953 | -<BR> 954 | -<BR> 955 | -<BR> 956 | -<BR> 957 | -<BR> 958 | -<BR> 959 | -<BR> 960 | -<BR> 961 | -<BR> 962 | 3104B<BR> 963 | 3104C<BR> 964 | 3104F<BR> 965 | 3104H<BR> 966 | -<BR> 967 | 3104M<BR> 968 | 3104P<BR> 969 | 3104S<BR> 970 | 3104W<BR> 971 | 3104X<BR></FONT> 972 | </TD> 973 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 974 | EVMQ0G<BR> 975 | EVMQIG<BR> 976 | EVMQ3G<BR> 977 | EVMS0G<BR> 978 | EVMQ0G<BR> 979 | EVMG0G<BR> 980 | -<BR> 981 | -<BR> 982 | -<BR> 983 | EVMK4GA00B<BR> 984 | EVM30GA00B<BR> 985 | EVMK0GA00B<BR> 986 | EVM38GA00B<BR> 987 | EVMB6<BR> 988 | EVLQ0<BR> 989 | -<BR> 990 | EVMMSG<BR> 991 | EVMMBG<BR> 992 | EVMMAG<BR> 993 | -<BR> 994 | -<BR> 995 | EVMMCS<BR> 996 | -<BR> 997 | -<BR> 998 | -<BR> 999 | -<BR> 1000 | -<BR> 1001 | EVMM1<BR> 1002 | -<BR> 1003 | -<BR> 1004 | EVMM0<BR> 1005 | -<BR> 1006 | -<BR> 1007 | EVMM3<BR></FONT> 1008 | </TD> 1009 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 1010 | -<BR> 1011 | -<BR> 1012 | -<BR> 1013 | 62-3-1<BR> 1014 | 62-1-2<BR> 1015 | -<BR> 1016 | -<BR> 1017 | -<BR> 1018 | -<BR> 1019 | -<BR> 1020 | -<BR> 1021 | -<BR> 1022 | -<BR> 1023 | -<BR> 1024 | -<BR> 1025 | -<BR> 1026 | 67R<BR> 1027 | -<BR> 1028 | 67P<BR> 1029 | -<BR> 1030 | -<BR> 1031 | -<BR> 1032 | -<BR> 1033 | 67X<BR> 1034 | 63V<BR> 1035 | 63S<BR> 1036 | 63M<BR> 1037 | -<BR> 1038 | -<BR> 1039 | 63H<BR> 1040 | 63P<BR> 1041 | -<BR> 1042 | -<BR> 1043 | 63X<BR></FONT> 1044 | </TD> 1045 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 1046 | -<BR> 1047 | -<BR> 1048 | -<BR> 1049 | RJ/RJR50<BR> 1050 | RJ/RJR50<BR> 1051 | RJ/RJR50<BR> 1052 | -<BR> 1053 | -<BR> 1054 | -<BR> 1055 | -<BR> 1056 | -<BR> 1057 | -<BR> 1058 | -<BR> 1059 | -<BR> 1060 | -<BR> 1061 | -<BR> 1062 | -<BR> 1063 | -<BR> 1064 | -<BR> 1065 | -<BR> 1066 | -<BR> 1067 | -<BR> 1068 | -<BR> 1069 | -<BR> 1070 | -<BR> 1071 | -<BR> 1072 | -<BR> 1073 | -<BR> 1074 | -<BR> 1075 | -<BR> 1076 | -<BR> 1077 | -<BR> 1078 | -<BR> 1079 | -<BR></FONT> 1080 | </TD> 1081 | </TR> 1082 | </TABLE> 1083 | <P>&nbsp;<P> 1084 | <TABLE BORDER=0 CELLSPACING=1 CELLPADDING=3> 1085 | <TR> 1086 | <TD COLSPAN=7> 1087 | <FONT color="#0000FF" SIZE=4 FACE=ARIAL><B>SMD TRIM-POT CROSS REFERENCE</B></FONT> 1088 | <P> 1089 | <FONT SIZE=4 FACE=ARIAL><B>MULTI-TURN</B></FONT> 1090 | </TD> 1091 | </TR> 1092 | <TR> 1093 | <TD> 1094 | <FONT SIZE=3 FACE=ARIAL><B>BOURNS</B></FONT> 1095 | </TD> 1096 | <TD> 1097 | <FONT SIZE=3 FACE=ARIAL><B>BI&nbsp;TECH</B></FONT> 1098 | </TD> 1099 | <TD> 1100 | <FONT SIZE=3 FACE=ARIAL><B>DALE-VISHAY</B></FONT> 1101 | </TD> 1102 | <TD> 1103 | <FONT SIZE=3 FACE=ARIAL><B>PHILIPS/MEPCO</B></FONT> 1104 | </TD> 1105 | <TD> 1106 | <FONT SIZE=3 FACE=ARIAL><B>PANASONIC</B></FONT> 1107 | </TD> 1108 | <TD> 1109 | <FONT SIZE=3 FACE=ARIAL><B>TOCOS</B></FONT> 1110 | </TD> 1111 | <TD> 1112 | <FONT SIZE=3 FACE=ARIAL><B>AUX/KYOCERA</B></FONT> 1113 | </TD> 1114 | </TR> 1115 | <TR> 1116 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 1117 | 3224G<BR> 1118 | 3224J<BR> 1119 | 3224W<BR> 1120 | 3269P<BR> 1121 | 3269W<BR> 1122 | 3269X<BR></FONT> 1123 | </TD> 1124 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 1125 | 44G<BR> 1126 | 44J<BR> 1127 | 44W<BR> 1128 | 84P<BR> 1129 | 84W<BR> 1130 | 84X<BR></FONT> 1131 | </TD> 1132 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 1133 | -<BR> 1134 | -<BR> 1135 | -<BR> 1136 | ST63Z<BR> 1137 | ST63Y<BR> 1138 | -<BR></FONT> 1139 | </TD> 1140 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 1141 | -<BR> 1142 | -<BR> 1143 | -<BR> 1144 | ST5P<BR> 1145 | ST5W<BR> 1146 | ST5X<BR></FONT> 1147 | </TD> 1148 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 1149 | -<BR> 1150 | -<BR> 1151 | -<BR> 1152 | -<BR> 1153 | -<BR> 1154 | -<BR></FONT> 1155 | </TD> 1156 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 1157 | -<BR> 1158 | -<BR> 1159 | -<BR> 1160 | -<BR> 1161 | -<BR> 1162 | -<BR></FONT> 1163 | </TD> 1164 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 1165 | -<BR> 1166 | -<BR> 1167 | -<BR> 1168 | -<BR> 1169 | -<BR> 1170 | -<BR></FONT> 1171 | </TD> 1172 | </TR> 1173 | <TR> 1174 | <TD COLSPAN=7>&nbsp; 1175 | </TD> 1176 | </TR> 1177 | <TR> 1178 | <TD COLSPAN=7> 1179 | <FONT SIZE=4 FACE=ARIAL><B>SINGLE TURN</B></FONT> 1180 | </TD> 1181 | </TR> 1182 | <TR> 1183 | <TD> 1184 | <FONT SIZE=3 FACE=ARIAL><B>BOURNS</B></FONT> 1185 | </TD> 1186 | <TD> 1187 | <FONT SIZE=3 FACE=ARIAL><B>BI&nbsp;TECH</B></FONT> 1188 | </TD> 1189 | <TD> 1190 | <FONT SIZE=3 FACE=ARIAL><B>DALE-VISHAY</B></FONT> 1191 | </TD> 1192 | <TD> 1193 | <FONT SIZE=3 FACE=ARIAL><B>PHILIPS/MEPCO</B></FONT> 1194 | </TD> 1195 | <TD> 1196 | <FONT SIZE=3 FACE=ARIAL><B>PANASONIC</B></FONT> 1197 | </TD> 1198 | <TD> 1199 | <FONT SIZE=3 FACE=ARIAL><B>TOCOS</B></FONT> 1200 | </TD> 1201 | <TD> 1202 | <FONT SIZE=3 FACE=ARIAL><B>AUX/KYOCERA</B></FONT> 1203 | </TD> 1204 | </TR> 1205 | <TR> 1206 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 1207 | 3314G<BR> 1208 | 3314J<BR> 1209 | 3364A/B<BR> 1210 | 3364C/D<BR> 1211 | 3364W/X<BR> 1212 | 3313G<BR> 1213 | 3313J<BR></FONT> 1214 | </TD> 1215 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 1216 | 23B<BR> 1217 | 23A<BR> 1218 | 21X<BR> 1219 | 21W<BR> 1220 | -<BR> 1221 | 22B<BR> 1222 | 22A<BR></FONT> 1223 | </TD> 1224 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 1225 | ST5YL/ST53YL<BR> 1226 | ST5YJ/5T53YJ<BR> 1227 | ST-23A<BR> 1228 | ST-22B<BR> 1229 | ST-22<BR> 1230 | -<BR> 1231 | -<BR></FONT> 1232 | </TD> 1233 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 1234 | ST-4B<BR> 1235 | ST-4A<BR> 1236 | -<BR> 1237 | -<BR> 1238 | -<BR> 1239 | ST-3B<BR> 1240 | ST-3A<BR></FONT> 1241 | </TD> 1242 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 1243 | -<BR> 1244 | EVM-6YS<BR> 1245 | EVM-1E<BR> 1246 | EVM-1G<BR> 1247 | EVM-1D<BR> 1248 | -<BR> 1249 | -<BR></FONT> 1250 | </TD> 1251 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 1252 | G4B<BR> 1253 | G4A<BR> 1254 | TR04-3S1<BR> 1255 | TRG04-2S1<BR> 1256 | -<BR> 1257 | -<BR> 1258 | -<BR></FONT> 1259 | </TD> 1260 | <TD BGCOLOR="#cccccc" ALIGN=CENTER><FONT FACE=ARIAL SIZE=3> 1261 | -<BR> 1262 | -<BR> 1263 | DVR-43A<BR> 1264 | CVR-42C<BR> 1265 | CVR-42A/C<BR> 1266 | -<BR> 1267 | -<BR></FONT> 1268 | </TD> 1269 | </TR> 1270 | </TABLE> 1271 | <P> 1272 | <FONT SIZE=4 FACE=ARIAL><B>ALT =&nbsp;ALTERNATE</B></FONT> 1273 | <P> 1274 | 1275 | &nbsp; 1276 | <P> 1277 | </td> 1278 | </tr> 1279 | </table> 1280 | 1281 | 1282 | <b>RESISTOR</b> 1283 | 1284 | 1285 | 1286 | 1287 | 1288 | 1289 | 1290 | 1291 | >NAME 1292 | >VALUE 1293 | 1294 | 1295 | 1296 | 1297 | 1298 | <b>RESISTOR</b> 1299 | 1300 | 1301 | 1302 | 1303 | 1304 | 1305 | 1306 | 1307 | >NAME 1308 | >VALUE 1309 | 1310 | 1311 | 1312 | 1313 | 1314 | <b>RESISTOR</b><p> 1315 | 1316 | 1317 | 1318 | 1319 | 1320 | 1321 | 1322 | 1323 | >NAME 1324 | >VALUE 1325 | 1326 | 1327 | 1328 | 1329 | 1330 | <b>RESISTOR</b> wave soldering<p> 1331 | 1332 | 1333 | 1334 | 1335 | 1336 | 1337 | 1338 | 1339 | >NAME 1340 | >VALUE 1341 | 1342 | 1343 | 1344 | 1345 | 1346 | <b>RESISTOR</b> 1347 | 1348 | 1349 | 1350 | 1351 | 1352 | 1353 | 1354 | 1355 | >NAME 1356 | >VALUE 1357 | 1358 | 1359 | 1360 | 1361 | 1362 | <b>RESISTOR</b> 1363 | 1364 | 1365 | 1366 | 1367 | 1368 | 1369 | 1370 | 1371 | >NAME 1372 | >VALUE 1373 | 1374 | 1375 | 1376 | 1377 | 1378 | <b>RESISTOR</b><p> 1379 | wave soldering 1380 | 1381 | 1382 | 1383 | 1384 | 1385 | 1386 | 1387 | 1388 | >NAME 1389 | >VALUE 1390 | 1391 | 1392 | 1393 | 1394 | 1395 | <b>RESISTOR</b> 1396 | 1397 | 1398 | 1399 | 1400 | 1401 | 1402 | 1403 | 1404 | >NAME 1405 | >VALUE 1406 | 1407 | 1408 | 1409 | 1410 | 1411 | <b>RESISTOR</b><p> 1412 | wave soldering 1413 | 1414 | 1415 | 1416 | 1417 | 1418 | 1419 | 1420 | 1421 | >NAME 1422 | >VALUE 1423 | 1424 | 1425 | 1426 | 1427 | 1428 | <b>RESISTOR</b> 1429 | 1430 | 1431 | 1432 | 1433 | 1434 | 1435 | 1436 | 1437 | >NAME 1438 | >VALUE 1439 | 1440 | 1441 | 1442 | 1443 | <b>RESISTOR</b><p> 1444 | wave soldering 1445 | 1446 | 1447 | 1448 | 1449 | 1450 | 1451 | 1452 | 1453 | >NAME 1454 | >VALUE 1455 | 1456 | 1457 | 1458 | 1459 | <b>RESISTOR</b> 1460 | 1461 | 1462 | 1463 | 1464 | 1465 | 1466 | 1467 | 1468 | >NAME 1469 | >VALUE 1470 | 1471 | 1472 | 1473 | 1474 | 1475 | <b>RESISTOR</b><p> 1476 | wave soldering 1477 | 1478 | 1479 | 1480 | 1481 | 1482 | 1483 | 1484 | 1485 | >NAME 1486 | >VALUE 1487 | 1488 | 1489 | 1490 | 1491 | 1492 | <b>RESISTOR</b> 1493 | 1494 | 1495 | 1496 | 1497 | 1498 | 1499 | 1500 | 1501 | >NAME 1502 | >VALUE 1503 | 1504 | 1505 | 1506 | 1507 | 1508 | <b>RESISTOR</b><p> 1509 | wave soldering 1510 | 1511 | 1512 | 1513 | 1514 | 1515 | 1516 | 1517 | 1518 | >NAME 1519 | >VALUE 1520 | 1521 | 1522 | 1523 | 1524 | 1525 | <b>RESISTOR</b> 1526 | 1527 | 1528 | 1529 | 1530 | 1531 | 1532 | 1533 | 1534 | >NAME 1535 | >VALUE 1536 | 1537 | 1538 | 1539 | 1540 | 1541 | <b>RESISTOR</b><p> 1542 | wave soldering 1543 | 1544 | 1545 | 1546 | 1547 | 1548 | 1549 | 1550 | 1551 | >NAME 1552 | >VALUE 1553 | 1554 | 1555 | 1556 | 1557 | 1558 | <b>RESISTOR</b> 1559 | 1560 | 1561 | 1562 | 1563 | 1564 | 1565 | 1566 | 1567 | >NAME 1568 | >VALUE 1569 | 1570 | 1571 | 1572 | 1573 | 1574 | <b>RESISTOR</b><p> 1575 | wave soldering 1576 | 1577 | 1578 | 1579 | 1580 | 1581 | 1582 | 1583 | 1584 | >NAME 1585 | >VALUE 1586 | 1587 | 1588 | 1589 | 1590 | 1591 | <b>RESISTOR</b> 1592 | 1593 | 1594 | 1595 | 1596 | 1597 | 1598 | 1599 | 1600 | >NAME 1601 | >VALUE 1602 | 1603 | 1604 | 1605 | 1606 | 1607 | <b>RESISTOR</b><p> 1608 | wave soldering 1609 | 1610 | 1611 | 1612 | 1613 | 1614 | 1615 | 1616 | 1617 | >NAME 1618 | >VALUE 1619 | 1620 | 1621 | 1622 | 1623 | 1624 | <b>RESISTOR</b><p> 1625 | Source: http://download.siliconexpert.com/pdfs/2005/02/24/Semi_Ap/2/VSH/Resistor/dcrcwfre.pdf 1626 | 1627 | 1628 | 1629 | 1630 | 1631 | 1632 | 1633 | 1634 | >NAME 1635 | >VALUE 1636 | 1637 | 1638 | 1639 | 1640 | 1641 | <b>RESISTOR</b> wave soldering<p> 1642 | Source: http://download.siliconexpert.com/pdfs/2005/02/24/Semi_Ap/2/VSH/Resistor/dcrcwfre.pdf 1643 | 1644 | 1645 | 1646 | 1647 | 1648 | 1649 | 1650 | 1651 | >NAME 1652 | >VALUE 1653 | 1654 | 1655 | 1656 | 1657 | 1658 | <b>RESISTOR</b><p> 1659 | MELF 0.10 W 1660 | 1661 | 1662 | 1663 | 1664 | 1665 | 1666 | 1667 | 1668 | >NAME 1669 | >VALUE 1670 | 1671 | 1672 | 1673 | 1674 | 1675 | <b>RESISTOR</b><p> 1676 | MELF 0.25 W 1677 | 1678 | 1679 | 1680 | 1681 | 1682 | 1683 | 1684 | 1685 | >NAME 1686 | >VALUE 1687 | 1688 | 1689 | 1690 | 1691 | 1692 | <b>RESISTOR</b><p> 1693 | MELF 0.12 W 1694 | 1695 | 1696 | 1697 | 1698 | 1699 | 1700 | 1701 | 1702 | >NAME 1703 | >VALUE 1704 | 1705 | 1706 | 1707 | 1708 | 1709 | <b>RESISTOR</b><p> 1710 | MELF 0.10 W 1711 | 1712 | 1713 | 1714 | 1715 | 1716 | 1717 | 1718 | 1719 | >NAME 1720 | >VALUE 1721 | 1722 | 1723 | 1724 | 1725 | 1726 | <b>RESISTOR</b><p> 1727 | MELF 0.25 W 1728 | 1729 | 1730 | 1731 | 1732 | 1733 | 1734 | 1735 | 1736 | >NAME 1737 | >VALUE 1738 | 1739 | 1740 | 1741 | 1742 | 1743 | <b>RESISTOR</b><p> 1744 | MELF 0.25 W 1745 | 1746 | 1747 | 1748 | 1749 | 1750 | 1751 | 1752 | 1753 | >NAME 1754 | >VALUE 1755 | 1756 | 1757 | 1758 | 1759 | 1760 | <b>RESISTOR</b><p> 1761 | MELF 0.12 W 1762 | 1763 | 1764 | 1765 | 1766 | 1767 | 1768 | 1769 | 1770 | >NAME 1771 | >VALUE 1772 | 1773 | 1774 | 1775 | 1776 | 1777 | <b>RESISTOR</b><p> 1778 | MELF 0.25 W 1779 | 1780 | 1781 | 1782 | 1783 | 1784 | 1785 | 1786 | 1787 | >NAME 1788 | >VALUE 1789 | 1790 | 1791 | 1792 | 1793 | 1794 | <b>RESISTOR</b><p> 1795 | type 0204, grid 5 mm 1796 | 1797 | 1798 | 1799 | 1800 | 1801 | 1802 | 1803 | 1804 | 1805 | 1806 | 1807 | 1808 | 1809 | 1810 | 1811 | 1812 | 1813 | 1814 | 1815 | 1816 | >NAME 1817 | >VALUE 1818 | 1819 | 1820 | 1821 | 1822 | <b>RESISTOR</b><p> 1823 | type 0204, grid 7.5 mm 1824 | 1825 | 1826 | 1827 | 1828 | 1829 | 1830 | 1831 | 1832 | 1833 | 1834 | 1835 | 1836 | 1837 | 1838 | 1839 | 1840 | 1841 | 1842 | 1843 | 1844 | >NAME 1845 | >VALUE 1846 | 1847 | 1848 | 1849 | 1850 | <b>RESISTOR</b><p> 1851 | type 0204, grid 2.5 mm 1852 | 1853 | 1854 | 1855 | 1856 | 1857 | 1858 | >NAME 1859 | >VALUE 1860 | 1861 | 1862 | <b>RESISTOR</b><p> 1863 | type 0207, grid 10 mm 1864 | 1865 | 1866 | 1867 | 1868 | 1869 | 1870 | 1871 | 1872 | 1873 | 1874 | 1875 | 1876 | 1877 | 1878 | 1879 | 1880 | 1881 | 1882 | 1883 | 1884 | >NAME 1885 | >VALUE 1886 | 1887 | 1888 | 1889 | 1890 | <b>RESISTOR</b><p> 1891 | type 0207, grid 12 mm 1892 | 1893 | 1894 | 1895 | 1896 | 1897 | 1898 | 1899 | 1900 | 1901 | 1902 | 1903 | 1904 | 1905 | 1906 | 1907 | 1908 | 1909 | 1910 | 1911 | 1912 | 1913 | 1914 | >NAME 1915 | >VALUE 1916 | 1917 | 1918 | 1919 | 1920 | 1921 | 1922 | <b>RESISTOR</b><p> 1923 | type 0207, grid 15mm 1924 | 1925 | 1926 | 1927 | 1928 | 1929 | 1930 | 1931 | 1932 | 1933 | 1934 | 1935 | 1936 | 1937 | 1938 | 1939 | 1940 | 1941 | 1942 | 1943 | 1944 | 1945 | 1946 | >NAME 1947 | >VALUE 1948 | 1949 | 1950 | 1951 | 1952 | 1953 | 1954 | <b>RESISTOR</b><p> 1955 | type 0207, grid 2.5 mm 1956 | 1957 | 1958 | 1959 | 1960 | 1961 | 1962 | 1963 | >NAME 1964 | >VALUE 1965 | 1966 | 1967 | <b>RESISTOR</b><p> 1968 | type 0207, grid 5 mm 1969 | 1970 | 1971 | 1972 | 1973 | 1974 | 1975 | 1976 | >NAME 1977 | >VALUE 1978 | 1979 | 1980 | <b>RESISTOR</b><p> 1981 | type 0207, grid 7.5 mm 1982 | 1983 | 1984 | 1985 | 1986 | 1987 | 1988 | 1989 | 1990 | 1991 | 1992 | 1993 | 1994 | 1995 | 1996 | 1997 | 1998 | 1999 | 2000 | 2001 | 2002 | >NAME 2003 | >VALUE 2004 | 2005 | 2006 | 2007 | 2008 | <b>RESISTOR</b><p> 2009 | type 0309, grid 10mm 2010 | 2011 | 2012 | 2013 | 2014 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 | 2025 | 2026 | 2027 | 2028 | 2029 | 2030 | >NAME 2031 | >VALUE 2032 | 2033 | 2034 | 2035 | 2036 | <b>RESISTOR</b><p> 2037 | type 0309, grid 12.5 mm 2038 | 2039 | 2040 | 2041 | 2042 | 2043 | 2044 | 2045 | 2046 | 2047 | 2048 | 2049 | 2050 | 2051 | 2052 | 2053 | 2054 | 2055 | 2056 | 2057 | 2058 | >NAME 2059 | >VALUE 2060 | 2061 | 2062 | 2063 | 2064 | <b>RESISTOR</b><p> 2065 | type 0309, grid 2.5 mm 2066 | 2067 | 2068 | 2069 | 2070 | 2071 | 2072 | >NAME 2073 | >VALUE 2074 | 2075 | 2076 | 2077 | 2078 | 2079 | <b>RESISTOR</b><p> 2080 | type 0411, grid 12.5 mm 2081 | 2082 | 2083 | 2084 | 2085 | 2086 | 2087 | 2088 | 2089 | 2090 | 2091 | 2092 | 2093 | 2094 | 2095 | 2096 | 2097 | 2098 | 2099 | 2100 | 2101 | >NAME 2102 | >VALUE 2103 | 2104 | 2105 | 2106 | 2107 | <b>RESISTOR</b><p> 2108 | type 0411, grid 15 mm 2109 | 2110 | 2111 | 2112 | 2113 | 2114 | 2115 | 2116 | 2117 | 2118 | 2119 | 2120 | 2121 | 2122 | 2123 | 2124 | 2125 | 2126 | 2127 | 2128 | 2129 | >NAME 2130 | >VALUE 2131 | 2132 | 2133 | 2134 | 2135 | <b>RESISTOR</b><p> 2136 | type 0411, grid 3.81 mm 2137 | 2138 | 2139 | 2140 | 2141 | 2142 | 2143 | >NAME 2144 | >VALUE 2145 | 2146 | 2147 | 2148 | <b>RESISTOR</b><p> 2149 | type 0414, grid 15 mm 2150 | 2151 | 2152 | 2153 | 2154 | 2155 | 2156 | 2157 | 2158 | 2159 | 2160 | 2161 | 2162 | 2163 | 2164 | 2165 | 2166 | 2167 | 2168 | 2169 | 2170 | >NAME 2171 | >VALUE 2172 | 2173 | 2174 | 2175 | 2176 | <b>RESISTOR</b><p> 2177 | type 0414, grid 5 mm 2178 | 2179 | 2180 | 2181 | 2182 | 2183 | 2184 | >NAME 2185 | >VALUE 2186 | 2187 | 2188 | 2189 | <b>RESISTOR</b><p> 2190 | type 0617, grid 17.5 mm 2191 | 2192 | 2193 | 2194 | 2195 | 2196 | 2197 | 2198 | 2199 | 2200 | 2201 | 2202 | 2203 | 2204 | 2205 | 2206 | 2207 | 2208 | 2209 | 2210 | 2211 | 2212 | 2213 | 2214 | 2215 | >NAME 2216 | >VALUE 2217 | 2218 | 2219 | 2220 | 2221 | <b>RESISTOR</b><p> 2222 | type 0617, grid 22.5 mm 2223 | 2224 | 2225 | 2226 | 2227 | 2228 | 2229 | 2230 | 2231 | 2232 | 2233 | 2234 | 2235 | 2236 | 2237 | 2238 | 2239 | 2240 | 2241 | 2242 | 2243 | >NAME 2244 | >VALUE 2245 | 2246 | 2247 | 2248 | 2249 | <b>RESISTOR</b><p> 2250 | type 0617, grid 5 mm 2251 | 2252 | 2253 | 2254 | 2255 | 2256 | 2257 | >NAME 2258 | >VALUE 2259 | 2260 | 2261 | 2262 | <b>RESISTOR</b><p> 2263 | type 0922, grid 22.5 mm 2264 | 2265 | 2266 | 2267 | 2268 | 2269 | 2270 | 2271 | 2272 | 2273 | 2274 | 2275 | 2276 | 2277 | 2278 | 2279 | 2280 | 2281 | 2282 | 2283 | 2284 | >NAME 2285 | >VALUE 2286 | 2287 | 2288 | 2289 | 2290 | 2291 | 2292 | <b>RESISTOR</b><p> 2293 | type 0613, grid 5 mm 2294 | 2295 | 2296 | 2297 | 2298 | 2299 | 2300 | >NAME 2301 | >VALUE 2302 | 2303 | 2304 | 2305 | <b>RESISTOR</b><p> 2306 | type 0613, grid 15 mm 2307 | 2308 | 2309 | 2310 | 2311 | 2312 | 2313 | 2314 | 2315 | 2316 | 2317 | 2318 | 2319 | 2320 | 2321 | 2322 | 2323 | 2324 | 2325 | 2326 | 2327 | 2328 | 2329 | 2330 | 2331 | >NAME 2332 | >VALUE 2333 | 2334 | 2335 | 2336 | 2337 | <b>RESISTOR</b><p> 2338 | type 0817, grid 22.5 mm 2339 | 2340 | 2341 | 2342 | 2343 | 2344 | 2345 | 2346 | 2347 | 2348 | 2349 | 2350 | 2351 | 2352 | 2353 | 2354 | 2355 | 2356 | 2357 | 2358 | 2359 | >NAME 2360 | >VALUE 2361 | 0817 2362 | 2363 | 2364 | 2365 | 2366 | <b>RESISTOR</b><p> 2367 | type 0817, grid 6.35 mm 2368 | 2369 | 2370 | 2371 | 2372 | 2373 | 2374 | >NAME 2375 | >VALUE 2376 | 0817 2377 | 2378 | 2379 | 2380 | <b>RESISTOR</b><p> 2381 | type V234, grid 12.5 mm 2382 | 2383 | 2384 | 2385 | 2386 | 2387 | 2388 | 2389 | 2390 | 2391 | 2392 | 2393 | 2394 | >NAME 2395 | >VALUE 2396 | 2397 | 2398 | 2399 | 2400 | <b>RESISTOR</b><p> 2401 | type V235, grid 17.78 mm 2402 | 2403 | 2404 | 2405 | 2406 | 2407 | 2408 | 2409 | 2410 | 2411 | 2412 | 2413 | 2414 | >NAME 2415 | >VALUE 2416 | 2417 | 2418 | 2419 | 2420 | <b>RESISTOR</b><p> 2421 | type V526-0, grid 2.5 mm 2422 | 2423 | 2424 | 2425 | 2426 | 2427 | 2428 | 2429 | 2430 | 2431 | 2432 | >NAME 2433 | >VALUE 2434 | 2435 | 2436 | <b>CECC Size RC2211</b> Reflow Soldering<p> 2437 | source Beyschlag 2438 | 2439 | 2440 | 2441 | 2442 | 2443 | 2444 | >NAME 2445 | >VALUE 2446 | 2447 | 2448 | <b>CECC Size RC2211</b> Wave Soldering<p> 2449 | source Beyschlag 2450 | 2451 | 2452 | 2453 | 2454 | 2455 | 2456 | >NAME 2457 | >VALUE 2458 | 2459 | 2460 | <b>CECC Size RC3715</b> Reflow Soldering<p> 2461 | source Beyschlag 2462 | 2463 | 2464 | 2465 | 2466 | 2467 | 2468 | 2469 | 2470 | >NAME 2471 | >VALUE 2472 | 2473 | 2474 | <b>CECC Size RC3715</b> Wave Soldering<p> 2475 | source Beyschlag 2476 | 2477 | 2478 | 2479 | 2480 | 2481 | 2482 | 2483 | 2484 | >NAME 2485 | >VALUE 2486 | 2487 | 2488 | <b>CECC Size RC6123</b> Reflow Soldering<p> 2489 | source Beyschlag 2490 | 2491 | 2492 | 2493 | 2494 | 2495 | 2496 | 2497 | 2498 | >NAME 2499 | >VALUE 2500 | 2501 | 2502 | <b>CECC Size RC6123</b> Wave Soldering<p> 2503 | source Beyschlag 2504 | 2505 | 2506 | 2507 | 2508 | 2509 | 2510 | 2511 | 2512 | >NAME 2513 | >VALUE 2514 | 2515 | 2516 | <b>RESISTOR</b><p> 2517 | type 0922, grid 7.5 mm 2518 | 2519 | 2520 | 2521 | 2522 | 2523 | 2524 | >NAME 2525 | >VALUE 2526 | 0922 2527 | 2528 | 2529 | 2530 | <b>RESISTOR</b><p> 2531 | type RDH, grid 15 mm 2532 | 2533 | 2534 | 2535 | 2536 | 2537 | 2538 | 2539 | 2540 | 2541 | 2542 | 2543 | 2544 | 2545 | 2546 | 2547 | 2548 | 2549 | 2550 | 2551 | 2552 | 2553 | 2554 | 2555 | 2556 | >NAME 2557 | >VALUE 2558 | RDH 2559 | 2560 | 2561 | 2562 | 2563 | <b>Mini MELF 0102 Axial</b> 2564 | 2565 | 2566 | 2567 | 2568 | >NAME 2569 | >VALUE 2570 | 2571 | 2572 | 2573 | <b>RESISTOR</b> chip<p> 2574 | Source: http://www.vishay.com/docs/20008/dcrcw.pdf 2575 | 2576 | 2577 | >NAME 2578 | >VALUE 2579 | 2580 | 2581 | 2582 | 2583 | 2584 | <b>Bulk Metal® Foil Technology</b>, Tubular Axial Lead Resistors, Meets or Exceeds MIL-R-39005 Requirements<p> 2585 | MIL SIZE RBR52<br> 2586 | Source: VISHAY .. vta56.pdf 2587 | 2588 | 2589 | 2590 | 2591 | 2592 | 2593 | 2594 | 2595 | 2596 | 2597 | >NAME 2598 | >VALUE 2599 | 2600 | 2601 | 2602 | 2603 | <b>Bulk Metal® Foil Technology</b>, Tubular Axial Lead Resistors, Meets or Exceeds MIL-R-39005 Requirements<p> 2604 | MIL SIZE RBR53<br> 2605 | Source: VISHAY .. vta56.pdf 2606 | 2607 | 2608 | 2609 | 2610 | 2611 | 2612 | 2613 | 2614 | 2615 | 2616 | >NAME 2617 | >VALUE 2618 | 2619 | 2620 | 2621 | 2622 | <b>Bulk Metal® Foil Technology</b>, Tubular Axial Lead Resistors, Meets or Exceeds MIL-R-39005 Requirements<p> 2623 | MIL SIZE RBR54<br> 2624 | Source: VISHAY .. vta56.pdf 2625 | 2626 | 2627 | 2628 | 2629 | 2630 | 2631 | 2632 | 2633 | 2634 | 2635 | >NAME 2636 | >VALUE 2637 | 2638 | 2639 | 2640 | 2641 | <b>Bulk Metal® Foil Technology</b>, Tubular Axial Lead Resistors, Meets or Exceeds MIL-R-39005 Requirements<p> 2642 | MIL SIZE RBR55<br> 2643 | Source: VISHAY .. vta56.pdf 2644 | 2645 | 2646 | 2647 | 2648 | 2649 | 2650 | 2651 | 2652 | 2653 | 2654 | >NAME 2655 | >VALUE 2656 | 2657 | 2658 | 2659 | 2660 | <b>Bulk Metal® Foil Technology</b>, Tubular Axial Lead Resistors, Meets or Exceeds MIL-R-39005 Requirements<p> 2661 | MIL SIZE RBR56<br> 2662 | Source: VISHAY .. vta56.pdf 2663 | 2664 | 2665 | 2666 | 2667 | 2668 | 2669 | 2670 | 2671 | 2672 | 2673 | >NAME 2674 | >VALUE 2675 | 2676 | 2677 | 2678 | 2679 | <b>Bulk Metal® Foil Technology</b>, Tubular Axial Lead Resistors, Meets or Exceeds MIL-R-39005 Requirements<p> 2680 | MIL SIZE RNC55<br> 2681 | Source: VISHAY .. vta56.pdf 2682 | 2683 | 2684 | 2685 | 2686 | 2687 | 2688 | 2689 | 2690 | >NAME 2691 | >VALUE 2692 | 2693 | 2694 | 2695 | 2696 | <b>Bulk Metal® Foil Technology</b>, Tubular Axial Lead Resistors, Meets or Exceeds MIL-R-39005 Requirements<p> 2697 | MIL SIZE RNC60<br> 2698 | Source: VISHAY .. vta56.pdf 2699 | 2700 | 2701 | 2702 | 2703 | 2704 | 2705 | 2706 | 2707 | >NAME 2708 | >VALUE 2709 | 2710 | 2711 | 2712 | 2713 | <b>Package 4527</b><p> 2714 | Source: http://www.vishay.com/docs/31059/wsrhigh.pdf 2715 | 2716 | 2717 | 2718 | 2719 | 2720 | 2721 | >NAME 2722 | >VALUE 2723 | 2724 | 2725 | <b>Wirewound Resistors, Precision Power</b><p> 2726 | Source: VISHAY wscwsn.pdf 2727 | 2728 | 2729 | 2730 | 2731 | 2732 | 2733 | 2734 | 2735 | 2736 | 2737 | >NAME 2738 | >VALUE 2739 | 2740 | 2741 | <b>Wirewound Resistors, Precision Power</b><p> 2742 | Source: VISHAY wscwsn.pdf 2743 | 2744 | 2745 | 2746 | 2747 | 2748 | 2749 | >NAME 2750 | >VALUE 2751 | 2752 | 2753 | <b>Wirewound Resistors, Precision Power</b><p> 2754 | Source: VISHAY wscwsn.pdf 2755 | 2756 | 2757 | 2758 | 2759 | 2760 | 2761 | 2762 | 2763 | 2764 | 2765 | >NAME 2766 | >VALUE 2767 | 2768 | 2769 | <b>Wirewound Resistors, Precision Power</b><p> 2770 | Source: VISHAY wscwsn.pdf 2771 | 2772 | 2773 | 2774 | 2775 | 2776 | 2777 | 2778 | 2779 | 2780 | 2781 | >NAME 2782 | >VALUE 2783 | 2784 | 2785 | <b>Wirewound Resistors, Precision Power</b><p> 2786 | Source: VISHAY wscwsn.pdf 2787 | 2788 | 2789 | 2790 | 2791 | 2792 | 2793 | >NAME 2794 | >VALUE 2795 | 2796 | 2797 | <b>Wirewound Resistors, Precision Power</b><p> 2798 | Source: VISHAY wscwsn.pdf 2799 | 2800 | 2801 | 2802 | 2803 | 2804 | 2805 | >NAME 2806 | >VALUE 2807 | 2808 | 2809 | <b>CRCW1218 Thick Film, Rectangular Chip Resistors</b><p> 2810 | Source: http://www.vishay.com .. dcrcw.pdf 2811 | 2812 | 2813 | 2814 | 2815 | >NAME 2816 | >VALUE 2817 | 2818 | 2819 | 2820 | 2821 | <b>Chip Monolithic Ceramic Capacitors</b> Medium Voltage High Capacitance for General Use<p> 2822 | Source: http://www.murata.com .. GRM43DR72E224KW01.pdf 2823 | 2824 | 2825 | 2826 | 2827 | 2828 | 2829 | >NAME 2830 | >VALUE 2831 | 2832 | 2833 | 2834 | 2835 | 2836 | 2837 | 2838 | 2839 | 2840 | 2841 | >NAME 2842 | >VALUE 2843 | 2844 | 2845 | 2846 | 2847 | 2848 | 2849 | <B>RESISTOR</B>, European symbol 2850 | 2851 | 2852 | 2853 | 2854 | 2855 | 2856 | 2857 | 2858 | 2859 | 2860 | 2861 | 2862 | 2863 | 2864 | 2865 | 2866 | 2867 | 2868 | 2869 | 2870 | 2871 | 2872 | 2873 | 2874 | 2875 | 2876 | 2877 | 2878 | 2879 | 2880 | 2881 | 2882 | 2883 | 2884 | 2885 | 2886 | 2887 | 2888 | 2889 | 2890 | 2891 | 2892 | 2893 | 2894 | 2895 | 2896 | 2897 | 2898 | 2899 | 2900 | 2901 | 2902 | 2903 | 2904 | 2905 | 2906 | 2907 | 2908 | 2909 | 2910 | 2911 | 2912 | 2913 | 2914 | 2915 | 2916 | 2917 | 2918 | 2919 | 2920 | 2921 | 2922 | 2923 | 2924 | 2925 | 2926 | 2927 | 2928 | 2929 | 2930 | 2931 | 2932 | 2933 | 2934 | 2935 | 2936 | 2937 | 2938 | 2939 | 2940 | 2941 | 2942 | 2943 | 2944 | 2945 | 2946 | 2947 | 2948 | 2949 | 2950 | 2951 | 2952 | 2953 | 2954 | 2955 | 2956 | 2957 | 2958 | 2959 | 2960 | 2961 | 2962 | 2963 | 2964 | 2965 | 2966 | 2967 | 2968 | 2969 | 2970 | 2971 | 2972 | 2973 | 2974 | 2975 | 2976 | 2977 | 2978 | 2979 | 2980 | 2981 | 2982 | 2983 | 2984 | 2985 | 2986 | 2987 | 2988 | 2989 | 2990 | 2991 | 2992 | 2993 | 2994 | 2995 | 2996 | 2997 | 2998 | 2999 | 3000 | 3001 | 3002 | 3003 | 3004 | 3005 | 3006 | 3007 | 3008 | 3009 | 3010 | 3011 | 3012 | 3013 | 3014 | 3015 | 3016 | 3017 | 3018 | 3019 | 3020 | 3021 | 3022 | 3023 | 3024 | 3025 | 3026 | 3027 | 3028 | 3029 | 3030 | 3031 | 3032 | 3033 | 3034 | 3035 | 3036 | 3037 | 3038 | 3039 | 3040 | 3041 | 3042 | 3043 | 3044 | 3045 | 3046 | 3047 | 3048 | 3049 | 3050 | 3051 | 3052 | 3053 | 3054 | 3055 | 3056 | 3057 | 3058 | 3059 | 3060 | 3061 | 3062 | 3063 | 3064 | 3065 | 3066 | 3067 | 3068 | 3069 | 3070 | 3071 | 3072 | 3073 | 3074 | 3075 | 3076 | 3077 | 3078 | 3079 | 3080 | 3081 | 3082 | 3083 | 3084 | 3085 | 3086 | 3087 | 3088 | 3089 | 3090 | 3091 | 3092 | 3093 | 3094 | 3095 | 3096 | 3097 | 3098 | 3099 | 3100 | 3101 | 3102 | 3103 | 3104 | 3105 | 3106 | 3107 | 3108 | 3109 | 3110 | 3111 | 3112 | 3113 | 3114 | 3115 | 3116 | 3117 | 3118 | 3119 | 3120 | 3121 | 3122 | 3123 | 3124 | 3125 | 3126 | 3127 | 3128 | 3129 | 3130 | 3131 | 3132 | 3133 | 3134 | 3135 | 3136 | 3137 | 3138 | 3139 | 3140 | 3141 | 3142 | 3143 | 3144 | 3145 | 3146 | 3147 | 3148 | 3149 | 3150 | 3151 | 3152 | 3153 | 3154 | 3155 | 3156 | 3157 | 3158 | 3159 | 3160 | 3161 | 3162 | 3163 | 3164 | 3165 | 3166 | 3167 | 3168 | 3169 | 3170 | 3171 | 3172 | 3173 | 3174 | 3175 | 3176 | 3177 | 3178 | 3179 | 3180 | 3181 | 3182 | 3183 | 3184 | 3185 | 3186 | 3187 | 3188 | 3189 | 3190 | 3191 | 3192 | 3193 | 3194 | 3195 | 3196 | 3197 | 3198 | 3199 | 3200 | 3201 | 3202 | 3203 | 3204 | 3205 | 3206 | 3207 | 3208 | 3209 | 3210 | 3211 | 3212 | 3213 | 3214 | 3215 | 3216 | 3217 | 3218 | 3219 | 3220 | 3221 | 3222 | 3223 | 3224 | 3225 | 3226 | 3227 | 3228 | 3229 | 3230 | 3231 | 3232 | 3233 | 3234 | 3235 | 3236 | 3237 | 3238 | 3239 | 3240 | 3241 | 3242 | 3243 | 3244 | 3245 | 3246 | 3247 | 3248 | 3249 | 3250 | 3251 | 3252 | 3253 | 3254 | 3255 | 3256 | 3257 | 3258 | 3259 | 3260 | 3261 | 3262 | 3263 | 3264 | 3265 | 3266 | 3267 | 3268 | 3269 | 3270 | 3271 | 3272 | 3273 | 3274 | 3275 | 3276 | 3277 | 3278 | 3279 | 3280 | 3281 | 3282 | 3283 | 3284 | 3285 | 3286 | 3287 | 3288 | 3289 | 3290 | 3291 | 3292 | 3293 | 3294 | 3295 | 3296 | 3297 | 3298 | 3299 | 3300 | 3301 | 3302 | 3303 | 3304 | 3305 | 3306 | 3307 | 3308 | 3309 | 3310 | 3311 | 3312 | 3313 | 3314 | 3315 | 3316 | 3317 | 3318 | 3319 | 3320 | 3321 | 3322 | 3323 | 3324 | 3325 | 3326 | 3327 | 3328 | 3329 | 3330 | 3331 | 3332 | 3333 | 3334 | 3335 | 3336 | 3337 | 3338 | 3339 | 3340 | 3341 | 3342 | 3343 | 3344 | 3345 | 3346 | 3347 | 3348 | 3349 | 3350 | 3351 | 3352 | 3353 | 3354 | 3355 | 3356 | 3357 | 3358 | 3359 | 3360 | 3361 | 3362 | 3363 | 3364 | 3365 | 3366 | 3367 | 3368 | 3369 | 3370 | 3371 | 3372 | 3373 | 3374 | 3375 | 3376 | 3377 | 3378 | 3379 | 3380 | 3381 | 3382 | 3383 | 3384 | 3385 | 3386 | 3387 | 3388 | 3389 | 3390 | 3391 | 3392 | 3393 | 3394 | 3395 | 3396 | 3397 | 3398 | 3399 | 3400 | 3401 | 3402 | 3403 | 3404 | 3405 | 3406 | 3407 | 3408 | 3409 | 3410 | 3411 | 3412 | 3413 | 3414 | 3415 | 3416 | 3417 | 3418 | 3419 | 3420 | 3421 | 3422 | 3423 | 3424 | 3425 | 3426 | 3427 | 3428 | 3429 | 3430 | 3431 | 3432 | 3433 | 3434 | 3435 | 3436 | 3437 | 3438 | 3439 | 3440 | 3441 | 3442 | 3443 | 3444 | 3445 | 3446 | 3447 | 3448 | 3449 | 3450 | 3451 | 3452 | 3453 | 3454 | 3455 | 3456 | 3457 | 3458 | 3459 | 3460 | 3461 | 3462 | 3463 | 3464 | 3465 | 3466 | 3467 | 3468 | 3469 | 3470 | 3471 | 3472 | 3473 | 3474 | 3475 | 3476 | 3477 | 3478 | 3479 | 3480 | 3481 | 3482 | 3483 | 3484 | 3485 | 3486 | 3487 | 3488 | 3489 | 3490 | 3491 | 3492 | 3493 | 3494 | 3495 | 3496 | 3497 | 3498 | 3499 | 3500 | 3501 | 3502 | 3503 | 3504 | 3505 | 3506 | 3507 | 3508 | 3509 | 3510 | 3511 | 3512 | 3513 | 3514 | 3515 | 3516 | 3517 | 3518 | 3519 | 3520 | 3521 | 3522 | 3523 | 3524 | 3525 | 3526 | 3527 | 3528 | 3529 | 3530 | 3531 | 3532 | 3533 | 3534 | 3535 | 3536 | 3537 | 3538 | 3539 | 3540 | 3541 | 3542 | 3543 | 3544 | 3545 | 3546 | 3547 | 3548 | 3549 | 3550 | 3551 | 3552 | 3553 | 3554 | 3555 | 3556 | 3557 | 3558 | 3559 | 3560 | 3561 | 3562 | 3563 | 3564 | 3565 | 3566 | 3567 | 3568 | 3569 | 3570 | 3571 | 3572 | 3573 | 3574 | 3575 | 3576 | 3577 | 3578 | 3579 | 3580 | 3581 | 3582 | 3583 | 3584 | 3585 | 3586 | 3587 | 3588 | 3589 | 3590 | 3591 | 3592 | 3593 | 3594 | 3595 | 3596 | 3597 | 3598 | 3599 | 3600 | 3601 | 3602 | 3603 | 3604 | 3605 | 3606 | 3607 | 3608 | 3609 | 3610 | 3611 | 3612 | 3613 | 3614 | 3615 | 3616 | 3617 | 3618 | 3619 | 3620 | 3621 | 3622 | 3623 | 3624 | <b>Pin Headers</b><p> 3625 | Naming:<p> 3626 | MA = male<p> 3627 | # contacts - # rows<p> 3628 | W = angled<p> 3629 | <author>Created by librarian@cadsoft.de</author> 3630 | 3631 | 3632 | <b>PIN HEADER</b> 3633 | 3634 | 3635 | 3636 | 3637 | 3638 | 3639 | 3640 | 3641 | 3642 | 3643 | 3644 | 3645 | 3646 | 3647 | 3648 | 3649 | 3650 | 3651 | 3652 | 3653 | 3654 | 3655 | 3656 | 3657 | 3658 | 3659 | 3660 | 3661 | 3662 | 3663 | >NAME 3664 | 1 3665 | >VALUE 3666 | 4 3667 | 3668 | 3669 | 3670 | 3671 | 3672 | 3673 | 3674 | 3675 | 3676 | 3677 | 3678 | 3679 | 3680 | 3681 | 3682 | 3683 | >VALUE 3684 | >NAME 3685 | 3686 | 3687 | 3688 | 3689 | 3690 | 3691 | 3692 | 3693 | <b>PIN HEADER</b> 3694 | 3695 | 3696 | 3697 | 3698 | 3699 | 3700 | 3701 | 3702 | 3703 | 3704 | 3705 | 3706 | 3707 | 3708 | 3709 | 3710 | 3711 | 3712 | 3713 | 3714 | 3715 | 3716 | 3717 | 3718 | 3719 | 3720 | 3721 | 3722 | 3723 | 3724 | 3725 | 3726 | 3727 | 3728 | 3729 | 3730 | 3731 | 3732 | 3733 | 3734 | 3735 | 3736 | 3737 | 3738 | 3739 | 3740 | 3741 | 3742 | 3743 | 3744 | 3745 | 3746 | 3747 | 3748 | 3749 | 3750 | 3751 | 3752 | 3753 | 3754 | 3755 | 3756 | 3757 | 3758 | 3759 | 3760 | 3761 | 3762 | 3763 | 3764 | 3765 | 3766 | 3767 | 3768 | 3769 | 3770 | 3771 | 3772 | 3773 | 3774 | 3775 | 3776 | 3777 | 3778 | 3779 | 3780 | 3781 | 3782 | 3783 | 3784 | 3785 | 3786 | 3787 | 3788 | 3789 | 3790 | 3791 | 3792 | 3793 | 3794 | 3795 | 3797 | 3798 | 3799 | 3800 | 3801 | 3802 | 3803 | 3804 | 3805 | 3806 | 3807 | 3808 | 3809 | 3810 | 3811 | 3812 | 3813 | 3814 | 3815 | 3816 | 3817 | 3819 | 3820 | 3821 | 3822 | 3823 | 3824 | 3825 | 3826 | 3827 | 3828 | 3829 | 3830 | 3831 | 3832 | 3833 | 3834 | 3835 | 3836 | 3837 | 3838 | 3839 | 3840 | 3841 | 3842 | 3843 | 3844 | 3845 | 3846 | 3847 | 3848 | 3850 | 3851 | 3852 | 3853 | 3854 | 3855 | 3856 | 3857 | 3858 | 3859 | 3860 | 3861 | 3862 | 3863 | 3864 | 3865 | 3866 | 3867 | 3868 | 3869 | 3870 | 3871 | 3872 | 3873 | 3874 | 3875 | 3877 | 3878 | 3879 | 3880 | 3881 | 3882 | 3883 | 3884 | 3885 | Since Version 6.2.2 text objects can contain more than one line, 3886 | which will not be processed correctly with this version. 3887 | 3888 | 3889 | 3890 | -------------------------------------------------------------------------------- /WiFiSensorIndoor.ino: -------------------------------------------------------------------------------- 1 | /* 2 | * WiFi Indoor Sensor 3 | * By PaulRB Nov 2015 4 | * WeMos D1-mini Sketch 5 | */ 6 | 7 | //#define USING_BMP180 8 | #define USING_HTU21 9 | //#define USING_BME280 10 | //#define USING_I2C_LCD 11 | #define USING_BATLEVEL 12 | 13 | extern "C" { 14 | #include "user_interface.h" 15 | } 16 | 17 | #include 18 | 19 | #include 20 | #include 21 | #include 22 | #include 23 | #include 24 | 25 | const double e = 2.71828; 26 | const byte battLevelPin = A0; 27 | 28 | const char ssid[] = "ssid"; 29 | const char password[] = "wifipassword"; 30 | const char host[] = "www.hostname.co.uk"; 31 | 32 | #ifdef USING_I2C_LCD 33 | LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE); 34 | #endif 35 | 36 | //Create an instance of the sensor objects 37 | #ifdef USING_HTU21 38 | HTU21D humiditySensor; 39 | #endif 40 | 41 | #ifdef USING_BMP180 42 | SFE_BMP180 pressureSensor; 43 | #endif 44 | 45 | #ifdef USING_BME280 46 | BME280 combinedSensor; 47 | #endif 48 | 49 | // Use WiFiClient class to create TCP connections 50 | WiFiClient client; 51 | 52 | void setup() 53 | { 54 | Serial.begin(115200); 55 | Serial.println(); 56 | 57 | Serial.println("Starting Wire"); 58 | Wire.begin(); 59 | //Wire.begin(2, 0); // For ESP-01 60 | Serial.println("Wire started"); 61 | 62 | #ifdef USING_I2C_LCD 63 | lcd.begin(16, 2); 64 | #endif 65 | 66 | Serial.println("Starting Sensors"); 67 | 68 | #ifdef USING_HTU21 69 | humiditySensor.begin(); 70 | #endif 71 | 72 | #ifdef USING_BMP180 73 | pressureSensor.begin(); 74 | #endif 75 | 76 | #ifdef USING_BME280 77 | combinedSensor.settings.commInterface = I2C_MODE; 78 | combinedSensor.settings.I2CAddress = 0x76; 79 | combinedSensor.settings.runMode = 3; //Normal mode 80 | combinedSensor.settings.tStandby = 0; 81 | combinedSensor.settings.filter = 0; 82 | combinedSensor.settings.tempOverSample = 1; 83 | combinedSensor.settings.pressOverSample = 1; 84 | combinedSensor.settings.humidOverSample = 1; 85 | combinedSensor.begin(); 86 | #endif 87 | 88 | Serial.println("Sensors started"); 89 | 90 | } 91 | 92 | void loop() 93 | { 94 | 95 | unsigned long startTime = millis(); 96 | double temperatureNow; 97 | String sensors; 98 | String values; 99 | 100 | #ifdef USING_BMP180 101 | delay(pressureSensor.startTemperature()); 102 | pressureSensor.getTemperature(temperatureNow); 103 | double pressureNow; 104 | delay(pressureSensor.startPressure(1)); 105 | pressureSensor.getPressure(pressureNow, temperatureNow); 106 | #endif 107 | 108 | #ifdef USING_HTU21 109 | temperatureNow = humiditySensor.readTemperature(); 110 | double humidityNow = humiditySensor.readHumidity(); 111 | #endif 112 | 113 | #ifdef USING_BME280 114 | combinedSensor.begin(); // must do this every time because reset() is used, see below 115 | temperatureNow = combinedSensor.readTempC(); 116 | double humidityNow = combinedSensor.readFloatHumidity(); 117 | double pressureNow = combinedSensor.readFloatPressure() / 100; 118 | combinedSensor.reset(); // reduces current consumption from 400uA to 8uA by putting sensor to sleep/standby. 119 | #endif 120 | 121 | #ifdef USING_BATLEVEL 122 | double battLevelNow = analogRead(battLevelPin) / 209.66; // assumes external 180K resistor, needs calibration for each circuit 123 | #endif 124 | 125 | Serial.print("New sensor readings:"); 126 | Serial.print(" Temperature:"); 127 | Serial.print(temperatureNow, 1); 128 | Serial.print("C"); 129 | 130 | #if defined USING_HTU21 || defined USING_BME280 131 | double absoluteHumidityNow = (6.112 * pow(e, (17.67 * temperatureNow) / (temperatureNow + 243.5)) * humidityNow * 2.1674) / (273.15 + temperatureNow); 132 | 133 | Serial.print(" Humidity:"); 134 | Serial.print(humidityNow, 1); 135 | Serial.print("% = "); 136 | Serial.print(absoluteHumidityNow, 1); 137 | Serial.print("g/m3"); 138 | #endif 139 | 140 | #if defined USING_BMP180 || defined USING_BME280 141 | Serial.print(" Pressure:"); 142 | Serial.print(pressureNow, 1); 143 | Serial.print("Pa"); 144 | #endif 145 | 146 | #ifdef USING_BATLEVEL 147 | Serial.print(" Batt Level:"); 148 | Serial.print(battLevelNow, 2); 149 | Serial.print("V"); 150 | 151 | #endif 152 | 153 | Serial.println(); 154 | 155 | #ifdef USING_I2C_LCD 156 | lcd.setCursor(0, 0); 157 | lcd.print("T:"); 158 | lcd.print(temperatureNow, 1); 159 | lcd.print("C"); 160 | lcd.print(" H:"); 161 | lcd.print(humidityNow, 1); 162 | lcd.print("% "); 163 | lcd.setCursor(0, 1); 164 | lcd.print("P:"); 165 | lcd.print(pressureNow, 1); 166 | lcd.print("Pa"); 167 | #endif 168 | 169 | WiFi.mode(WIFI_STA); // Station Mode 170 | wifi_fpm_set_sleep_type(LIGHT_SLEEP_T); // Enable light sleep mode, not sure this is doing anything 171 | 172 | Serial.println(); 173 | Serial.print("Connecting to "); 174 | Serial.print(ssid); 175 | 176 | WiFi.begin(ssid, password); 177 | 178 | while (WiFi.status() != WL_CONNECTED && millis() - startTime < 30000UL) { 179 | delay(500); 180 | Serial.print("."); 181 | } 182 | 183 | if (WiFi.status() != WL_CONNECTED) { 184 | Serial.println("WiFi connection failed"); 185 | } 186 | else { 187 | 188 | Serial.println("OK"); 189 | Serial.print("WiFi connected, IP address: "); 190 | Serial.println(WiFi.localIP()); 191 | 192 | Serial.println(); 193 | Serial.print("connecting to "); 194 | Serial.println(host); 195 | 196 | const int httpPort = 80; 197 | if (!client.connect(host, httpPort)) { 198 | Serial.println("Host connection failed"); 199 | } 200 | else { 201 | 202 | if (temperatureNow > -30 && temperatureNow < 50) { 203 | sensors += "TC"; 204 | values += temperatureNow; 205 | } 206 | 207 | #ifdef USING_BATLEVEL 208 | if (battLevelNow > 0 && battLevelNow < 20) { 209 | sensors += ",BC"; 210 | values += ","; 211 | values += battLevelNow; 212 | } 213 | #endif 214 | 215 | #if defined USING_HTU21 || defined USING_BME280 216 | if (humidityNow > 10 && humidityNow < 100) { 217 | sensors += ",HC"; 218 | values += ","; 219 | values += humidityNow; 220 | } 221 | 222 | if (absoluteHumidityNow > 5 && absoluteHumidityNow < 25) { 223 | sensors += ",AC"; 224 | values += ","; 225 | values += absoluteHumidityNow; 226 | } 227 | #endif 228 | 229 | #if defined USING_BMP180 || defined USING_BME280 230 | if (pressureNow > 900 && pressureNow < 1100) { 231 | sensors += ",PC"; 232 | values += ","; 233 | values += pressureNow; 234 | } 235 | #endif 236 | 237 | // We now create a URI for the request 238 | String url = "/script.php"; 239 | url += "?sensor="; 240 | url += sensors; 241 | url += "&value="; 242 | url += values; 243 | 244 | Serial.print("Requesting URL: "); 245 | Serial.println(url); 246 | 247 | // This will send the request to the server 248 | client.print(String("GET ") + url + " HTTP/1.1\r\n" + 249 | "Host: " + host + "\r\n" + 250 | "Connection: close\r\n\r\n"); 251 | 252 | while (!client.available()) { 253 | if (millis() - startTime > 30000UL) { 254 | Serial.println("request failed"); 255 | break; 256 | } 257 | delay(100); 258 | } 259 | 260 | // Read all the lines of the reply from server and print them to Serial 261 | while (client.available()) { 262 | String line = client.readStringUntil('\r'); 263 | Serial.print(line); 264 | } 265 | 266 | Serial.println(); 267 | Serial.println("closing connection"); 268 | 269 | Serial.print("Total time: "); 270 | Serial.println( millis() - startTime); 271 | } 272 | } 273 | 274 | Serial.println("Sleeping...!"); 275 | //WiFi.forceSleepBegin(); 276 | //delay(900000UL); // 15 mins 277 | //WiFi.forceSleepWake(); 278 | ESP.deepSleep(900000000UL); // 15 mins. requires ~1K between D0 --> RST connection to wake, wire connection prevents sketch upload! 279 | } 280 | 281 | 282 | -------------------------------------------------------------------------------- /create_database.sql: -------------------------------------------------------------------------------- 1 | -- phpMyAdmin SQL Dump 2 | -- version 4.7.7 3 | -- https://www.phpmyadmin.net/ 4 | -- 5 | -- Host: localhost:3306 6 | -- Generation Time: May 29, 2018 at 06:39 PM 7 | -- Server version: 5.5.58-cll 8 | -- PHP Version: 5.6.30 9 | 10 | SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; 11 | SET AUTOCOMMIT = 0; 12 | START TRANSACTION; 13 | SET time_zone = "+00:00"; 14 | 15 | 16 | /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; 17 | /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; 18 | /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; 19 | /*!40101 SET NAMES utf8mb4 */; 20 | 21 | -- 22 | -- Database: `dataqvt_granary` 23 | -- 24 | 25 | -- -------------------------------------------------------- 26 | 27 | -- 28 | -- Table structure for table `granary_sensors` 29 | -- 30 | 31 | CREATE TABLE `granary_sensors` ( 32 | `sensor_name` char(2) NOT NULL, 33 | `sensor_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 34 | `sensor_value` float NOT NULL 35 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; 36 | 37 | -- -------------------------------------------------------- 38 | 39 | -- 40 | -- Table structure for table `sensor_info` 41 | -- 42 | 43 | CREATE TABLE `sensor_info` ( 44 | `sensor_name` char(2) NOT NULL, 45 | `sensor_desc` varchar(64) NOT NULL, 46 | `sensor_units` varchar(16) NOT NULL 47 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; 48 | 49 | -- 50 | -- Indexes for dumped tables 51 | -- 52 | 53 | -- 54 | -- Indexes for table `granary_sensors` 55 | -- 56 | ALTER TABLE `granary_sensors` 57 | ADD KEY `sensor_time` (`sensor_time`); 58 | 59 | -- 60 | -- Indexes for table `sensor_info` 61 | -- 62 | ALTER TABLE `sensor_info` 63 | ADD PRIMARY KEY (`sensor_name`); 64 | COMMIT; 65 | 66 | /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; 67 | /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; 68 | /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; 69 | -------------------------------------------------------------------------------- /graph.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | connect_error) { 21 | echo "Sorry, the website is experiencing problems: " . $conn->connect_error(); 22 | exit; 23 | } 24 | 25 | // Get sensor description and min & max values to be plotted 26 | $sql = "SELECT i.sensor_units, 27 | MIN(s.sensor_time) AS min_time, MAX(s.sensor_time) AS max_time, 28 | MIN(s.sensor_value) AS min_value, MAX(s.sensor_value) AS max_value 29 | FROM granary_sensors s 30 | JOIN sensor_info i ON i.sensor_name = s.sensor_name 31 | WHERE s.sensor_name like '$sensor%' 32 | AND s.sensor_time > NOW() - INTERVAL $view DAY 33 | GROUP BY i.sensor_units;"; 34 | 35 | if (!$result = $conn->query($sql)) { 36 | echo "Sorry, the website is experiencing problems.\n"; 37 | exit; 38 | } 39 | 40 | $reading = $result->fetch_assoc(); 41 | $min_value = $reading['min_value']; 42 | $max_value = $reading['max_value']; 43 | $min_time = strtotime($reading['min_time']); 44 | $max_time = strtotime($reading['max_time']); 45 | $units = $reading['sensor_units']; 46 | 47 | echo "

Sensor Graphs "; 48 | echo "24 hrs "; 49 | echo "7 days "; 50 | $sensor_type = substr($sensor,0,1); 51 | echo "compare "; 52 | echo "index "; 53 | echo "

"; 54 | 55 | // Choose scale for vertial axis (sensor reading) 56 | if ($max_value - $min_value > 100) $value_scale = 10; 57 | elseif ($max_value - $min_value > 30) $value_scale = 5; 58 | elseif ($max_value - $min_value > 10) $value_scale = 2; 59 | elseif ($max_value - $min_value > 5) $value_scale = 1; 60 | elseif ($max_value - $min_value > 3) $value_scale = 0.5; 61 | elseif ($max_value - $min_value > 1) $value_scale = 0.2; 62 | elseif ($max_value - $min_value > 0.5) $value_scale = 0.1; 63 | elseif ($max_value - $min_value > 0.3) $value_scale = 0.05; 64 | elseif ($max_value - $min_value > 0.1) $value_scale = 0.02; 65 | else $value_scale = 0.01; 66 | 67 | $min_value = $value_scale * floor(($min_value - $value_scale/2) / $value_scale); 68 | $max_value = $value_scale * ceil(($max_value + $value_scale/2) / $value_scale); 69 | 70 | // Choose scale for horizontal axis (time) 71 | if ($view < 7) $time_scale = 2 * 60 * 60; 72 | elseif ($view < 14) $time_scale = 12 * 60 * 60; 73 | elseif ($view < 21) $time_scale = 24 * 60 * 60; 74 | elseif ($view < 35) $time_scale = 48 * 60 * 60; 75 | else $time_scale = 7 * 24 * 60 * 60; 76 | 77 | echo "\n"; 78 | 79 | // Draw graph 80 | echo "\n"; 81 | 82 | // draw vertical axis (sensor values) 83 | for ($y = $min_value; $y < $max_value; $y +=$value_scale) { 84 | $yv = round(500 - 500 * ($y - $min_value) / ($max_value - $min_value), 0); 85 | echo "\n"; 86 | echo "$y$units\n"; 87 | } 88 | 89 | // Draw horizonal axis (time) 90 | for ($x = ceil($min_time / $time_scale) * $time_scale; $x < $max_time; $x += $time_scale) { 91 | $xv = round(1000 * ($x - $min_time) / ($max_time - $min_time), 0); 92 | echo "\n"; 93 | echo ""; 94 | if ($x % 86400 != 0) echo date("H:i", $x); 95 | elseif ($view < 21) echo date("D d", $x); 96 | else echo date("d M", $x); 97 | echo "\n"; 98 | } 99 | 100 | // Get all values to be plotted 101 | $sql = "SELECT s.sensor_name, i.sensor_desc, s.sensor_time, s.sensor_value 102 | FROM granary_sensors s 103 | JOIN sensor_info i ON i.sensor_name = s.sensor_name 104 | WHERE s.sensor_name like '$sensor%' 105 | AND s.sensor_time > NOW() - INTERVAL $view DAY 106 | ORDER BY s.sensor_name, i.sensor_desc, s.sensor_time;"; 107 | 108 | if (!$result = $conn->query($sql)) { 109 | echo "Sorry, the website is experiencing problems.\n"; 110 | exit; 111 | } 112 | 113 | // Draw data values 114 | $current_sensor_name = ""; 115 | $current_sensor_colour = -1; 116 | while ($reading = $result->fetch_assoc()) { 117 | $yv = round(500 - 500 * ($reading['sensor_value'] - $min_value) / ($max_value - $min_value), 0); 118 | $xv = round(1000 * (strtotime($reading['sensor_time']) - $min_time) / ($max_time - $min_time), 0); 119 | if ($reading['sensor_name'] != $current_sensor_name) { 120 | if ($current_sensor_name != "") echo "' />\n"; 121 | $current_sensor_name = $reading['sensor_name']; 122 | $current_sensor_colour += 1; 123 | $colour = $colours[$current_sensor_colour]; 124 | echo "" . $reading['sensor_desc'] . "\n"; 125 | echo "\n"; 130 | 131 | echo ""; 132 | 133 | $result->free(); 134 | $conn->close(); 135 | 136 | ?> 137 | 138 | 139 | 140 | -------------------------------------------------------------------------------- /script.php: -------------------------------------------------------------------------------- 1 | connect_error) { 13 | die("Connection failed: " . $conn->connect_error); 14 | } 15 | 16 | $stmt = $conn->prepare("INSERT INTO granary_sensors (sensor_name, sensor_value) VALUES (?, ?)"); 17 | 18 | 19 | for ($i = 0; $i < count($sensor); $i++) { 20 | 21 | $stmt->bind_param("sd", $sensor[$i], $value[$i]); 22 | $stmt->execute(); 23 | echo "New record created successfully: ", $sensor[$i], "=", $value[$i], "\n"; 24 | } 25 | 26 | $conn->close(); 27 | ?> 28 | 29 | -------------------------------------------------------------------------------- /sensors.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |

Granary Sensors Page

6 | 7 | 8 | 9 | 10 | connect_error) { 18 | echo "Sorry, the website is experiencing problems: " . $conn->connect_error(); 19 | exit; 20 | } 21 | 22 | $sql = "SELECT s.sensor_time, TIMESTAMPDIFF(MINUTE, s.sensor_time, NOW()) as sensor_age, 23 | s.sensor_name, s.sensor_value, i.sensor_desc, i.sensor_units 24 | FROM granary_sensors s 25 | JOIN ( SELECT sensor_name, MAX(sensor_time) AS max_time 26 | FROM granary_sensors 27 | GROUP BY sensor_name) AS m 28 | ON m.sensor_name = s.sensor_name 29 | AND m.max_time = s.sensor_time 30 | JOIN sensor_info i 31 | ON i.sensor_name = s.sensor_name 32 | ORDER BY s.sensor_name;"; 33 | 34 | if (!$result = $conn->query($sql)) { 35 | echo "Sorry, the website is experiencing problems."; 36 | exit; 37 | } 38 | 39 | // List sensors, values and last updates with links to graphs 40 | while ($reading = $result->fetch_assoc()) { 41 | echo ""; 42 | echo ""; 43 | if ($reading['sensor_age'] > 20) echo ""; 44 | else echo ""; 45 | echo "\n"; 46 | } 47 | 48 | $result->free(); 49 | $conn->close(); 50 | ?> 51 | 52 |
SensorValueTime
" . $reading['sensor_desc'] . "" . $reading['sensor_value'] . $reading['sensor_units'] . "" . $reading['sensor_time'] . "" . $reading['sensor_time'] . "
53 | 54 | 55 | 56 | --------------------------------------------------------------------------------