Sign in to follow this  
Followers 0
simonwillems

Can a lightsensor be used with set 8479?

7 posts in this topic

I am planning to make a railwaycrossing with automatic barriers using to little red 9v motors, it'll be nice for the barriers (and the traffic depending on the closure) to "know" when a train is coming.

I own set 8479 with the little computer in the back that reacts when you push the touchsensors, but will it react when a lightsensor is attached to it instead?

Does anybody know? It'll be pointless to bricklink a lightsensor and then find out that it doesn't work...

I hope to hear from you technic experts!

8479-1.gif + 2982c01.gif = ?

Share this post


Link to post
Share on other sites

I don't have any of these sets so I'm hardly an expert, but couldn't you use the touch sensor placed further up the track in a way that the train sets it off as it goes past thereby lowering the boomgates. You then have the second sensor (that set comes with 2 doesn't it?) on the track over the other side of the barriers so that when the train passes it the barriers raise again.

As before , I've never used the little computer thing so I dont know what it can be programmed to do, but if it could do that it would be pretty bloody cool.

Share this post


Link to post
Share on other sites

Thanks for reacting on my topic!

Using those touch sensors may also be a good idea (and cheap too, because I already have the two sensors!) I already tried to figure out how such a sensor could be placed underneath the track somewhere but haven't yet found a perfect solution.

I'll just keep trying. The idea of using both sensors never occured to me (I had something in mind with timers to make the barriers go up and down) but this sounds more sensible. Thanks.

:-)

Share this post


Link to post
Share on other sites

Where do you have that lightsensor from?

If you are using the Mindstorms RIS 2.0 you can download Brickjournal #5 here. Look at pages 106ff. There is a complete design for a remote controlled railway crossing. :-)

But I assume you only have the 8479 and got the lightsensor elsewhere. 8-|

The electric code pilot should be able to react on both sensors, touch- and light- as they have the same 9V "ending". Light should be "on", and dark should be "off" (or vice versa :-) ) for the lightsensor, but I haven

Share this post


Link to post
Share on other sites
If you are using the Mindstorms RIS 2.0 you can download Brickjournal #5 here. Look at pages 106ff. There is a complete design for a remote controlled railway crossing. :-)

Thanks for the link, although I don't have a mindstorms RCX it can be helpful. The barcode computer works less complicated (and has less functions) but I think it can be done.

The only problem is speed: when the train rushes by it will pas the crossing in less than 3 seconds, my track isn't that extensive that the barriers will have the time to fully raise and go down again before the same train has completed the circular track and is back at the crossing.

So the train must run at it's slowest speed, or the barriers need to be raised and lowered at lightningspeed....

8-|

Share this post


Link to post
Share on other sites

I'm not sure if it will to be honest; I seem to remember the light-sensor from the RIS 1.5 reporting a value between 0 and 255 instead of 1 or 0.

Share this post


Link to post
Share on other sites
Thanks for reacting on my topic!

Using those touch sensors may also be a good idea (and cheap too, because I already have the two sensors!) I already tried to figure out how such a sensor could be placed underneath the track somewhere but haven't yet found a perfect solution.

:-)

What about next to the track somewhere? You could then have something sticking out the side of the train ( small flexible pipe or something spring loaded ) that will just brush the sensor as it goes by.

As you say, the speed of the train will be your main problem.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.