The trains use magnetic couplings.
So a reed switch is a far more reliable sensor, and doesn't require dicking around to physically adjust or compensate in code for varying local light levels.
( , Mon 16 Mar 2015, 13:05, Share, Reply)
So a reed switch is a far more reliable sensor, and doesn't require dicking around to physically adjust or compensate in code for varying local light levels.
( , Mon 16 Mar 2015, 13:05, Share, Reply)
Reed switches are triggered per magnet, and since there's one at each end a single train like the one shown will be detected 5 times in one passing. Yes, you can adjust the code to match but then you have to readjust the code if you ever change train length, which is tedious.
The basic light sensor, with one twiddle of the screw, is dimmed one time for the entire train no matter how many wagons you have. Job done.
( , Tue 17 Mar 2015, 6:30, Share, Reply)