See how I let's Lego trains start and stop automatically. For this, you'll need a Lego color motion sensor, which you can program into your Lego HUB using Pybricks software. You'll also need to install the sensor correctly and securely into your train locomotive.