Live data from Hacker News

Can Lego City Powered Up trains be automated?

bricks.stackexchange.com

61–70 of 80 posts

Re: Can Lego City Powered Up trains be automated?

#61

Earlier quoted context omitted.

You could only run a single engine per layout and switching could cut off the power. Now what I really wish they'd bring back is the Space Monorail...

> Now what I really wish they'd bring back is the Space Monorail... Agreed. I still think about that thing. I was about 10 when it came out and used to go and stare at the box at the toy store. When the new Futuron LEGO minifigs came out with the first revamp to the Classic Space suit, it just looked so damn cool. To this day they always make me think of the monorail.

I had this, and I still miss it and my other lego.

Re: Can Lego City Powered Up trains be automated?

#62
post #17

As someone who likes lego and programming, I love this answer. But I hate how hard lego has made it. Yes, with some work you can make your train stop and go. But I don't think there's a good track switching solution that's lego only and automated. There's an aftermarket motor thing that connects with USB. The lego only attempts end up unwieldy and usually lacking in reliability (e.g. https://rebrickable.com/mocs/MOC-…

So, while this is uhhh, off track, Legolands and such have some kind of automation, though, presumably, those are bespoke solutions and are not available to regular consumers.

> Legolands and such have some kind of automation, though, presumably those are bespoke solutions

I can vouch for that! I can say - with great confidence - that the best job I ever had was in Legoland, Billund while I was in high school. The job: keep the outdoor small models running from 15:30 when the real engineers left, until park closes. Then leave a note about the stuff I couldn’t fix myself.

The electronics were industrial PLCs wired to a control computer, and the mechanics inside the models were made from industrial type stuff that you might see on a robot, conveyor belt or the like.

Most of the models (trains, cars, cranes etc.) were built on a metal chassis or skeleton.

Fond memories of getting paged by the system with “ALARM: Cars, Norway” to discover that a kid had dropped her soft ice on the highway ;)

Re: Can Lego City Powered Up trains be automated?

#64

Is there any way to use the Flipper with these trains?

Older Lego trains use IR for control so if you just want to control motors and lights, you can get one of those and control it with the IR blaster on the Flipper. If you also want the sensors/newer programmable hub, then you need the BLE protocol.

Re: Can Lego City Powered Up trains be automated?

#65
post #58

On a related note, Lego is cancelling Mindstorms. So if you were dreaming up an advanced train city with Mindstorms as the brain you'd better stock up now. https://www.theverge.com/2022/10/28/23428766/lego-discontinu...

My child is starting Lego robotics courses and I was confused by the change. As close as I can tell WeDo, PoweredUp/Boost and Spike all operate similarly. The core is a hub consisting of a STM32 microprocessor with a BLE module, power management, options for internal lights and accelerometer, and varying count of IO to servos, motors and sensors. With certain kits some of motors are built in. They all use the same ne…

I was wrong about the movement from WeDo through Boost to Spike:

  ## SPIKE Prime and SPIKE Essential
  All SPIKE Prime and SPIKE Essential sensors and motors are compatible with each other.
  ## MINDSTORMS® EV3 / NXT and SPIKE Essential
  MINDSTORMS EV3 and NXT components aren’t compatible with SPIKE Essential because they use different connection cables and ports.
  ## WeDo 2.0 and SPIKE Essential
  WeDo 2.0 motors, sensors, and hubs aren’t compatible with SPIKE Essential.
  ## Powered UP / Control+ and SPIKE Essential
  The Control+ L and XL motors can be plugged into the SPIKE Essential hub and detected by the SPIKE app, but other elements won’t be detected.

https://www.lego.com/en-in/service/help/spike_prime/spike-es...

Re: Can Lego City Powered Up trains be automated?

#66

On a related note, Lego is cancelling Mindstorms. So if you were dreaming up an advanced train city with Mindstorms as the brain you'd better stock up now. https://www.theverge.com/2022/10/28/23428766/lego-discontinu...

Isn't it being replaced with something newer and better?

I think the real replacement is the Raspberry Pi Build HAT that allows to connect LEGO Powered Up/Boost/Robot Inventor sensors and motors to a Raspberry Pi.

https://www.raspberrypi.com/news/raspberry-pi-build-hat-lego...

Re: Can Lego City Powered Up trains be automated?

#67

I used to make all kinds of cool projects with lejos ( https://lejos.sourceforge.io/ ) and am now a bit tempted to get the new toys and test out the Python interface. Would be nice if Lego actually invested more time into making a standard programming interface for advanced users.

It looks like LEGO is investing in bringing together the popular Raspberry Pi platform and its toys, and abandonning dedicated apps such as the Robot Inventor (Mindstorms) app.

https://www.raspberrypi.com/news/raspberry-pi-build-hat-lego...

Re: Can Lego City Powered Up trains be automated?

#69

As someone who likes lego and programming, I love this answer. But I hate how hard lego has made it. Yes, with some work you can make your train stop and go. But I don't think there's a good track switching solution that's lego only and automated. There's an aftermarket motor thing that connects with USB. The lego only attempts end up unwieldy and usually lacking in reliability (e.g. https://rebrickable.com/mocs/MOC-…

It is a shame that Lego Duplo and Lego trains aren't compatible. One of my favourite demos of the sheer awesomeness of Lego is connecting a 2x4 Duplo with a 2x4 Lego block. Any way round. If you've never tried this, do it now :-)

Re: Can Lego City Powered Up trains be automated?

#70
> One of the weaknesses of the City Hub currently is that it requires a tethered Bluetooth device, such as a phone, tablet or computer, in order to function. By flashing the custom Pybricks firmware to the hub, we can overcome this limitation and write programs directly to the device.

This is why I come to Hacker News

Post reply on HN