mtrkustoms Posted April 27, 2015 Posted April 27, 2015 Hi to all, From the MTRkustoms factory we have the pleasure to present the ARDUINO AUTOMATED LEGO RAILCAR Here you can see the Railcar in detail This use modification pass the following phases PF --> 9v --> Arduino Control The original idea was very simple, have an autonomous and continuous Railcar in open circuits. I based the function in a great cheap invent, The Arduino Board, this small, easy programming and low cost, gives me the chance to make it real with a cost below 10€, including a PWM motor controller L298N Only 1 9v cable was "damaged" to convert its connection. The cycle work is very simple, Railcar goes from end to end regulated by the L298N with a PWM velocity. When the Railcar hit the final of the track (switch detection) stops 5sec and go to the other end and stops 10sec (and able to the passengers to go down) Time, velocity and stops time can be easy fixed by the programming. Some pictures of the system Stop No.1 Stop No.2 Switch Detail Cable connection boxes To hide the Arduino board and the L298N I made a modern prefabricated transformation Station Detail of the track connection Interior of the Transformation station All Full resolution pictures here A little video Enjoy it Quote
Richfilth Posted April 27, 2015 Posted April 27, 2015 Great to see someone else putting an Arduino to use - especially a little Nano! For future attempts, you might want to try an ultrasonic sensor at the end of your tracks instead of switches - that means you're not dependent on a physical contact to shut off the train (which can be unreliable sometimes). Here's a video to show you what I mean: Quote
zephyr1934 Posted April 30, 2015 Posted April 30, 2015 That's a great setup on many different dimensions- a tram running in the street, the automation, and perhaps the thing that stands out the most to me is the attention paid to the "transformer" building- a great job camouflaging the electronics. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.