Arduino for Lego Trains: Light Sensors
I made this!
How to stop your Lego trains at stations using a light sensor. WARNING: this video contains cranberry jam.
( , Sun 15 Mar 2015, 9:34, Share, Reply)
How to stop your Lego trains at stations using a light sensor. WARNING: this video contains cranberry jam.
( , Sun 15 Mar 2015, 9:34, Share, Reply)
what a fucking palaver
i was thinking of using arduino in one of my projects but this has put me right off.
( , Sun 15 Mar 2015, 11:15, Share, Reply)
i was thinking of using arduino in one of my projects but this has put me right off.
( , Sun 15 Mar 2015, 11:15, Share, Reply)
His voice put me off.
I imagine this is how Viz's Mr Logic speaks.
( , Sun 15 Mar 2015, 13:03, Share, Reply)
I imagine this is how Viz's Mr Logic speaks.
( , Sun 15 Mar 2015, 13:03, Share, Reply)
Isn't it pronounced ard-wee-no
rather than ard-you-wee-no?
( , Sun 15 Mar 2015, 11:17, Share, Reply)
rather than ard-you-wee-no?
( , Sun 15 Mar 2015, 11:17, Share, Reply)
A b3ta production!
This is how they should teach at the university level.
( , Sun 15 Mar 2015, 15:54, Share, Reply)
This is how they should teach at the university level.
( , Sun 15 Mar 2015, 15:54, Share, Reply)
I liked the jam
and the fast cut editing in the early part of the film.
Then he started talking about teh codez or somesuch, and it all got very boring.
Anyroadup: wasn't it the year of teh codez LAST year?
( , Sun 15 Mar 2015, 21:35, Share, Reply)
and the fast cut editing in the early part of the film.
Then he started talking about teh codez or somesuch, and it all got very boring.
Anyroadup: wasn't it the year of teh codez LAST year?
( , Sun 15 Mar 2015, 21:35, Share, Reply)
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)