Jump to content

Recommended Posts

Posted

Well, I finished my 3rd generation Lego 9v Train Controller. It uses an Arduino pro mini on a breadboard connected to a bluetooth module. It uses h-bridges to control up to 16 switches and buck converters (basically just a variable DC power source) to supply power to the train tracks. Since these can't supply reversible power, I had to add a relay to switch directions and another relay to power it off (ok, it's much, much more complex than I thought it'd be when I started) but seeing the voltage is COOL!

Of course, you may be asking what the first 2 generations was... The 1st generation used H-bridges and worked wonderfully except for a higher than normal percentage of train motors dying. The 2nd generation used power op-amps and worked mostly for a while. It had issues with having power go through a breadboard. Actually, the breadboard never melted like I thought it might, but it did have too much resistance which hurt the voltage out as the current went up. The op-amps however were getting a bit hot even with some good sized heatsinks.

so, here it is in it's (hopefully) final glory:

17917482378_854991f29a_b.jpg

Feel free to call me nuts for doing this, but it's really cool switching trains out on a tablet (or a cell phone)!

Posted

Cool. You could use a fan to help with cooling if necessary. Or maybe hook up a PC liquid cooling system with fancy lights. :classic:

Do you have train detection?

Posted

No train detection on this controller yet. I have a trolley controller that uses reed switches to detect when to change directions but that's a separate design. I plan to add train crossing with lights/guard coming down to this but I've spent far more time than I expected just getting this controller to work good. Of course, this version has not been used in a show yet, so I'll know next weekend after our Phx Comicon display on whether this is a workable design.

Posted (edited)

lol, i keep it simple, 2 trains, 4 switches, full auto, back and forwards, 5 to 20 sec waiting in train station.

one of the trains leaving random the train station.

the construction is mobile.

FullSizeRender%2011_zpscbmp6slo.jpg FullSizeRender%2012_zpskcwiewfv.jpgยต

btw, your project is nice, love it

Edited by Q3671
Posted

lol, i keep it simple, 2 trains, 4 switches, full auto, back and forwards, 5 to 20 sec waiting in train station.

one of the trains leaving random the train station.

the construction is mobile.

FullSizeRender%2011_zpscbmp6slo.jpg FullSizeRender%2012_zpskcwiewfv.jpg

What are you using to supply the voltage?

My first gen trolley system used an EV3 with a pole reverser and a standard Lego 9v train controller but I wanted to change the voltage (increased power to get the train started but slow down once moving). I didn't think the EV3 could supply enough current to drive the train but I've heard of other people using an NXT to supply the power directly.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...