Go Down

Topic: Two TCRT5000's (Read 45 times) previous topic - next topic

bosonno

I have two TCRT5000's connected to an Arduino Nano. Both photodiodes are connected to same 5V, their own 4.7k resistor, their own anolog output and same ground.

Moving anything near the sensor does nothing. Output justs goes up and down for both sensors.

Is it possible to use these two sensors this way?


Output:

23:36:13.441 -> 151,157
23:36:13.510 -> 134,140
23:36:13.620 -> 119,124
23:36:13.722 -> 104,110
23:36:13.822 -> 93,101
23:36:13.928 -> 89,97
23:36:14.039 -> 97,104
23:36:14.110 -> 106,112
23:36:14.217 -> 118,123
23:36:14.322 -> 136,140
23:36:14.431 -> 148,152
23:36:14.540 -> 159,163
23:36:14.614 -> 173,177
23:36:14.716 -> 189,193
23:36:14.817 -> 204,208
23:36:14.926 -> 221,224
23:36:15.032 -> 243,246
23:36:15.138 -> 271,272
23:36:15.214 -> 305,303
23:36:15.320 -> 340,335
23:36:15.425 -> 376,369
23:36:15.533 -> 413,405
23:36:15.647 -> 452,442
23:36:15.719 -> 492,481
23:36:15.828 -> 533,519
23:36:15.938 -> 573,558
23:36:16.046 -> 615,599
23:36:16.120 -> 656,638
23:36:16.231 -> 693,674
23:36:16.343 -> 726,705
23:36:16.449 -> 753,732
23:36:16.522 -> 775,754
23:36:16.628 -> 793,773
23:36:16.734 -> 810,792
23:36:16.842 -> 829,809
23:36:16.948 -> 842,822
23:36:17.020 -> 850,828
23:36:17.131 -> 849,829
23:36:17.238 -> 843,823
23:36:17.343 -> 830,812
23:36:17.453 -> 813,797
23:36:17.525 -> 793,778
23:36:17.633 -> 768,754
23:36:17.742 -> 739,727
23:36:17.852 -> 708,697
23:36:17.959 -> 675,664
23:36:18.033 -> 637,627
23:36:18.146 -> 597,589
23:36:18.256 -> 558,549
23:36:18.328 -> 519,512
23:36:18.434 -> 484,478
23:36:18.540 -> 450,445
23:36:18.648 -> 418,413
23:36:18.758 -> 387,381
23:36:18.833 -> 356,352
23:36:18.941 -> 327,323
23:36:19.046 -> 296,293
23:36:19.159 -> 268,266
23:36:19.232 -> 241,241
23:36:19.339 -> 217,219
23:36:19.439 -> 198,200
23:36:19.544 -> 182,185
23:36:19.655 -> 167,170
23:36:19.728 -> 153,155
23:36:19.838 -> 138,143
23:36:19.947 -> 129,134
23:36:20.059 -> 127,133
23:36:20.132 -> 130,136
23:36:20.240 -> 138,143
23:36:20.343 -> 148,153
23:36:20.455 -> 159,163
23:36:20.558 -> 168,173
23:36:20.633 -> 166,174
23:36:20.742 -> 168,156
23:36:20.853 -> 129,127
23:36:20.961 -> 173,171
23:36:21.033 -> 227,222
23:36:21.145 -> 284,277
23:36:21.255 -> 342,332
23:36:21.364 -> 400,387
23:36:21.434 -> 460,445
23:36:21.535 -> 527,508
23:36:21.641 -> 597,575
23:36:21.750 -> 667,642
23:36:21.862 -> 733,707
23:36:21.937 -> 802,775
23:36:22.047 -> 871,839
23:36:22.152 -> 913,885
23:36:22.259 -> 940,916
23:36:22.368 -> 960,938
23:36:22.440 -> 970,949
23:36:22.546 -> 978,957
23:36:22.653 -> 983,966
23:36:22.758 -> 989,971
23:36:22.870 -> 971,947
23:36:22.944 -> 973,948
23:36:23.050 -> 950,925
23:36:23.156 -> 945,921
23:36:23.262 -> 930,908
23:36:23.371 -> 912,892
23:36:23.444 -> 889,872
23:36:23.552 -> 863,846
23:36:23.661 -> 830,816
23:36:23.770 -> 796,784
23:36:23.843 -> 757,745
23:36:23.950 -> 712,702
23:36:24.056 -> 664,656
23:36:24.163 -> 611,606
23:36:24.274 -> 562,559
23:36:24.348 -> 514,512
23:36:24.453 -> 468,467
23:36:24.558 -> 421,421
23:36:24.668 -> 370,371
23:36:24.772 -> 319,321
23:36:24.843 -> 271,273
23:36:24.952 -> 224,228
23:36:25.057 -> 182,188
23:36:25.165 -> 154,160
23:36:25.270 -> 132,140
23:36:25.379 -> 110,118
23:36:25.450 -> 90,100
23:36:25.560 -> 73,83
23:36:25.670 -> 55,66
23:36:25.774 -> 42,55
23:36:25.879 -> 34,48
23:36:25.954 -> 35,49
23:36:26.065 -> 41,54
23:36:26.168 -> 49,62
23:36:26.280 -> 62,75
23:36:26.355 -> 78,88
23:36:26.462 -> 95,104
23:36:26.569 -> 117,125
23:36:26.675 -> 143,148
23:36:26.776 -> 170,173
23:36:26.884 -> 201,203
23:36:26.957 -> 239,239
23:36:27.064 -> 281,278
23:36:27.171 -> 326,320
23:36:27.276 -> 372,364
23:36:27.383 -> 419,408
23:36:27.454 -> 469,456
23:36:27.562 -> 521,506
23:36:27.671 -> 574,556
23:36:27.779 -> 625,607
23:36:27.886 -> 679,659
23:36:27.956 -> 732,709
23:36:28.066 -> 787,762
23:36:28.175 -> 879,843
23:36:28.283 -> 908,876
23:36:28.389 -> 930,902
23:36:28.457 -> 945,920
23:36:28.566 -> 958,934
23:36:28.671 -> 963,940
23:36:28.779 -> 964,938
23:36:28.890 -> 952,924
23:36:28.960 -> 871,834
23:36:29.070 -> 716,688
23:36:29.181 -> 636,628
23:36:29.283 -> 625,613
23:36:29.388 -> 672,643
23:36:29.463 -> 705,671
23:36:29.573 -> 680,652
23:36:29.683 -> 612,596
23:36:29.791 -> 537,534
23:36:29.894 -> 494,490
23:36:29.968 -> 458,456
23:36:30.077 -> 380,386
23:36:30.186 -> 364,364
23:36:30.289 -> 388,376
23:36:30.393 -> 336,337
23:36:30.462 -> 182,193
23:36:30.571 -> 118,140
23:36:30.681 -> 354,289
23:36:30.792 -> 285,278
23:36:30.898 -> 326,314
23:36:30.968 -> 311,307
23:36:31.079 -> 265,257
23:36:31.188 -> 251,249
23:36:31.298 -> 234,233
23:36:31.369 -> 230,230
23:36:31.477 -> 229,230

jremington

For informed help, please read and follow the instructions in the "How to use this forum" post.

Go Up