Перейти к содержимому

LEGO Powered Up Tutorial | How to program a controller for a 2-motor train part 1

Tegowalik

0:00 / 0:00

LEGO Powered Up Tutorial | How to program a controller for a 2-motor train part 1

25 362 просмотра · 5 л. назад
Tegowalik
7,66 тыс. подписчиков
25 362 просмотра · 5 л. назад
####### Update ##### This tutorial is not really usable anymore since a major update of the Powered Up redesigned the UI. Instead, I recommend PyBricks as an alternative. For instance, see this video of ‪@BatteryPoweredBricks‬ for more details:    • Using PyBricks to control Lego trains   ############################ This tutorial shows how to program a LEGO Powered Up controller for a LEGO City train having two motors facing into opposite directions. The controller includes a simple direct speed controller, a +- speed controller, a stop button, a speed lock, a speed display and a slow down button. A second part shows how to add a LEGO Powered Up hand set controller to control the speed: https://www.youtube.com/watch?v=7e Note that some icons inside the LEGO Powered Up App changed over time. But the basics shapes are still the same. Furthermore, the basic speed controller is kind of useless by now, since the speed does not go back to 0 by default, which disables the other features (unless you control the basic speed controller to 0 by your own). I would recommend to just leave out the basic speed controller. 00:00 intro 00:32 Build the 2 motors on the train 01:01 Create the project 01:18 The simple speed controller 02:37 The speed display 03:20 The speed lock/ cruise control 04:29 The +- speed controller 07:03 The stop button 08:01 The slow down button 10:38 controller presentation 11:35 Upgrade the train 11:48 Hardcore test #lego #legotrain