|
Hey,
Heres my go at an automated level crossing using NXT.
All pictures in this Brickshelf folder.
Two movies on YouTube:
Heres how it works:
- The train passes the ultrasonic sensor. The ligths start to flash and the bells ring.
- After two seconds the gates start closing. A single Micro Motor is pulling down the gates using two thin wires.
- The train passes the level crossing.
- The gates open as the micromotor rewinds because of the counter weights.
- When the gates are open the bells stop ringing and the ligths stop flashing after two seconds.
A couple of remarks:
- Calibrating this setup is not easy. The micro motor is not very strong nor very accurate. In the current program it runs for 9 seconds when closing the gates, but only for 8 seconds when opening. I have yet to test the setup running for several hours in a layout.
- Even though Ive tried to avoid sharp corners, the thin wires will probably wear out sooner or later.
- Right now, all times are hardcoded in the program. Using another sensor, it should be possible to automatically detect the speed and length of the train pasing and adjust the times accordingly.
- The regular level crossing counter weights were not heavy enough. Adding two train magnets on each did the trick.
Ive tried to keep the setup as simple as possible in order to make it fit
nicely in a town layout.
Id really like to hear your comments!
Esben
Brickshelf folder
|
|
Message has 3 Replies: | | Re: Automated Level Crossing using NXT
|
| (...) break at some point, but you seem to have a pretty good system there. (...) Actually, I think you could do this at least partially with a single sensor. If the train is running at a fixed speed, you can have the program figure that speed out (...) (16 years ago, 5-Sep-08, to lugnet.trains, lugnet.robotics.nxt)
| | | Re: Automated Level Crossing using NXT
|
| That is an excellent system for controlling train crossings. I love that it is all above the baseplates and only uses one motor for both crossings. I have two suggestions for the motor timing on raising and lowering of the gates: 1) Use a Technic (...) (16 years ago, 6-Sep-08, to lugnet.trains)
| | | Re: Automated Level Crossing using NXT
|
| quite neat. I hope you can figure out the correct switching delays for the micromotor. Do you think this technique could be used to make a monorail level crossing ? Steve (16 years ago, 11-Sep-08, to lugnet.trains, FTX)
|
4 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|