Jump to content

Разглеждане на възможностите на системата LEGO Powered Up

Recommended Posts


Попаднах на следната публикация. Лично за мен беше доста интересно да науча, че вече съществуват неофициални методи за програмирането на някои от Powered Up приемниците.



Копие от публикацията:

PoweredUp functions

In 2017, LEGO introduced the PoweredUp system, as a successor of the standard InfraRed (IR) + Power Functions system. It uses BlueTooth as a connection, making it much more expandable compared to the limited IR, that’s limited to 8 channels. Also, this means the system can be connected to a smartphone, tablet or PC/laptop, that has a BlueTooth connection.

The first set that came with this new system was The Boost Creative Toolbox – 17101-1. This set comes with a hub 26910 for the BlueTooth connection and 2 built-in motors, 1 loose motor 6181852, and one sensor 6182145 for both Colour and Distance. It came with an app to control the different models that came with the set. Althought it works nice, it’s a bit limited in its possibilities. For instance, you can only use the PoweredUp elements provided with the set, and the app has a limited programming system. The set could be combined with the following sets for extra models:

70652-1 Stormbringer 
60194-1 Arctic Scout Truck 

After this came a new set: The 76112-1 - App-Controlled Batmobile

This was the first set that used an app that directly controlled the motors, and introduces new PoweredUp elements. The first is the PoweredUp Hub 28738. This is a battery box for 6 AAA batteries, provided with 2 ports to connect PoweredUp motors, and a BlueTooth connection. The other is the 21980 PoweredUp M Motor. The accompanying app is very basic. Just 2 slides to control the speed of the wheels left and right, and a slimmed down version of the Boost app, with only a few programming blocks.
Also 2 train sets were released, the 60198-1 Cargo Train and the 60197-1 Passenger Train.
These sets came with the same Hub as the Batmobile, and a new PoweredUp TrainMotor 28740.

In 2019 a bunch of new sets will be released, consisting of loose PoweredUp elements:

88005-1 Headlight
88006-1 Boost Hub  
88007-1 Distance Sensor 
88008-1 M Motor 
88009-1 Hub 
88010-1 Remote Control
88011-1 Train Motor

I’m not going much deeper into the elements themselves, as that is already done several times, like here by Sariel, or here by RacingBrick. I want to concentrate more on the possibilities that are available for these elements. I’ll do that by showing some options that I found that can make use of the elements I have myself (being the Boost set and the Cargo Train, so 1 Boost Hub, 1 standard Hub, Train Motor, 1 Boost Motor and 1 Distance/Colour Sensor).

When I started writing this, the only available apps were the Boost app, and the very limited PoweredUp app for the trains and the Bat Mobile. I’ve found 2 other options that make use of the PoweredUp elements, but with custom software.

NOTE: While I wrote this, the new Control+ app was announced (January 29th 2019), but there is no additional info available, besides that there probably will also be a Hub with 4 channels, and the app can handle multiple Hubs at the same time, something the standard app can’t.


The LEGO Train Project

This project is created by a Facebook user looking for a system to control his train setup. When he couldn’t find anything, he decided to make it himself, and when it turned out to work well, he decided to share it on Facebook, where I found it.
It’s basically a User Interface that lets you setup events that get triggered by sensors. To best explain this, I made an example.

First, download and open the program. It’s a standard ZIP-file, no installation required. I found out that it didn’t work on my Windows 8 Laptop. The creator said he didn’t test it on other OS than Windows 10, so I’m not sure if it’s the laptop itself or the OS that’s bugging. When you open, you come in the main screen, and the program starts searching for Hubs and/or Remote Controls.


Click the green buttons on the Hubs/Remote Controls to make them pair. In this case we have a Move Hub from the Boost set and a HUB NO.4, which is from the Cargo Train. On the Move Hub we find 3 motors on A, B and C, and a sensor (Colour/Distance) on D. This detection is automatically. On the HUB NO.4 we find 1 motor on A. You can activate the motors here by sliding the slides, and stop them.

Under Add Program a tab gets opened in the Programs window. Here you can make simple Sensor Events. This basically means When Sensor Detects A à Execute B. Here is a simple example:


Clicking on Start Listening starts the program. I’ve setup a simple event. When the train is Yellow (Blue in the video), the train goes left. When the train is Red, the train goes right. First, setup the motor on channel C of the Move Hub as a switch:


This changes the Train icon into a Switch:


Now, add the programs:


It’s says, that when the sensor on port D of the Move Hub detects Red, the switch (Motor on channel D) get set to right, and that when the sensor on port D of the Move Hub detects Yellow, the switch (Motor on channel D) get set to left. And that results in this:

In the output screen on top you can see what happens:
Another option is to place a sensor on the train. With coloured plates or tiles, you can then send ‘messages’ to the train. For instance, in this example the train goes in reverse when the sensor, mounted on the front and looking down, sees red.

The program looks as follows:


The great thing with these options is that you can program every train individually. So for the one train you can let him reverse, for another you can let him go faster, or, when you add no program, just let him ride on.

Also in the program is an Anti-Collision system. Unfortunately I couldn’t test it, because it uses multiple sensors, and I have only 1. The creator describes it in this video.

In short: The track is divided in segments. Each segment starts with a sensor. When a train enters the sector, this triggers the sensor, and the program knows that there is a train in that segment. When a second train enters, it gets stopped, so there can be no collision. When the first train enters the next sector, passing its sensor, the second train starts driving again.

And these are just 3 examples. This program is mostly limited to how many PoweredUp elements you have, your budget and your imagination. There is even an option to bypass the standard programs and program your own directly in code.

Overall impression of The LEGO Train Project
This program works very well. The UI is pretty intuitive, and even without an IT-background you can setup a system for your city or exposition. Some remarks: This is clearly a passion project for the creator, and primarily meant for own use. So there is no help-page or instructions. But I didn’t need that to make it work. Also the functions are specific to the creators needs. On his Facebook page however is a poll where you can submit possible suggestions that he can work on.



Scratch is a website that is used to teach people (main focus children) to program. It uses programming blocks, similar to Mindstorms and Boost. There is a special extension for controlling Powered Up functions. The program is free.

First, we need to install & run this application - https://scratch.mit.edu/wedo.
Then we launch a special version of Scratch 3:
In the lower left corner is a button to add extensions.  Select the LEGO Powered Up.


This opens the following blocks:


As an example, here is a video of a program that lets the train go slower, the closer something gets to the sensor:


The following program is used here (thanks to RacingBrick (YouTube) for sending me this):


First, we add a start. When you click op the green Flag (the start button in Scratch), the program runs. This program runs continuously, so we start with a repeat ‘herhaal’ (yeah, sorry, every time I set the language to English, the site crashes. Seem to be a bug). Then we look at the value of the distance sensor. If this is 10 (the max for the sensor), the motor speed is set to 100 (the max for the motor). If the distance is different, calculate the corresponding speed. And repeat in an endless loop.

Overall impression of Scratch
The first thing I ran into, is that the Hub from the train set wouldn’t connect. The Boost Hub does connect, but the motors in the Boost Hub, and the motor that comes with the Boost set, don’t work. The distance/colour sensor does work, as well as the train motor. This makes the program very limited for what I can do with my available parts.

The site itself works great. Once you’re familiar with the programming blocks, your imagination is the limit. It does seems there can only be 1 hub connected at the same time, so that limits stuff a lot.


Final notes

After exploring these 2 third-party options, I have to say I’m impressed. There is no one perfect solution yet, but it shows that the PoweredUp system has a lot of potential. On the date of writing, the available official LEGO apps are very limited. The announced Control+ sounds promising, but until there is more information, it’s good to know that there are very creative people on the net, willing to share their work, so we can enjoy PoweredUp right now.

Last note: There is another piece of software, that I have not tested (yet?): BrickController. This is an app for Android and iOS, that is very versatile. It connects, with your phone/tablet as intermediate, to your gaming system (like PlayStation) controller to PowerUp Hub, BuWizz and SBrick. Since I don’t have a gaming system (old school PC in tha house), I was unable to test this. If you’re interested, check out this video by RacingBrick.

Сподели публикацията

Адрес на коментара
Сподели в други сайтове

Приложението Powered Up e обновено!

Новата версия ни дава следните възможности:

We can create programs freely. You can also use BOOST and WeDo 2.0 sensors, and you can control BOOST Move Hub.



Сподели публикацията

Адрес на коментара
Сподели в други сайтове

Благодаря @Ky4e на за този линк:


Сподели публикацията

Адрес на коментара
Сподели в други сайтове

Също така отделните компоненти вече се предлагат в електрониня магазин на LEGO:

Сподели публикацията

Адрес на коментара
Сподели в други сайтове

Сподели публикацията

Адрес на коментара
Сподели в други сайтове

Сподели публикацията

Адрес на коментара
Сподели в други сайтове

Сподели публикацията

Адрес на коментара
Сподели в други сайтове

Сподели публикацията

Адрес на коментара
Сподели в други сайтове

Сподели публикацията

Адрес на коментара
Сподели в други сайтове

Сподели публикацията

Адрес на коментара
Сподели в други сайтове

How to Control Power Functions with Powered Up via Infrared Protocol :)

Сподели публикацията

Адрес на коментара
Сподели в други сайтове

Сподели публикацията

Адрес на коментара
Сподели в други сайтове

Тази картинка обобщава доста неща за Powered Up :)



Сподели публикацията

Адрес на коментара
Сподели в други сайтове

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Отговорете в темата...

×   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

×   Предишното ви съдържание бе възстановено.   Свободно редактиране

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


  • Подобни теми

    • legohead
      От legohead
      макар че темата не е съвсем "направи си сам", реших че това е най-подходящия раздел предвид че не става дума за официален продукт на TLG.
      Разработва се прототип на презареждаема Li-Po батерия съвместима с новия Техник Powered Up hub.
      В момента прототипа е в процес на тестване, и се очаква в скоро време да бъде пуснат crowd-funding.
      Техническа информация за прототипа:
      Let’s see what we have to offer with the new EnBo PU battery
      The current design addresses the following disadvantages:
      fluctuation of the output voltage under high load and during ageing easy recharging with commonly available solutions large capacity retain the original appearance Technical Specification:
      Stable 9V output up to full discharge Easily handles 5A power demand The included batteries are 2040mAh 18500 cells with a total capacity of 14.6Wh USB-C charging port for 2A fast charge Built-in battery protection for overcharge, over-discharge and overcurrent   Повече информация можете да намерите в официалния сайт тук: https://phondly.com/en/
      Ако желаете да подкрепите разработката, можете да го направите през Patreon:
      To keep up the good progress I need financial resources so i just have to focus on the project I’m running. Here’s a link to my Patreon if you want to support me: Become a Patron!
    • legohead
      От legohead

      От новия бюлетин на SBRICK забелязах, че са пуснали преходници от Power Functions към Powered Up.
      Тоест, с помощта на тези преходници бихте могли да монтирате досегашните ел моторчета към новия bluetooth приемник:
      Линк към официалната страница на продукта:


      Видео ревю:
      *It is important that (using the PF to PU adapter) you will not be able to use the L and XL PF motors as a servo!
    • Brickset
      От Brickset
      Here are slides from the Powered Up presentation at the Fan Media Days in Billund. They answer a lot of questions about compatibility of the different systems, but if you have any that haven't been let me know in the comments and I'll ask them tomorrow.
      You can find images of the new Technic PUP components on Twitter.
      Continue reading »
      © 2019 Brickset.com. Republication prohibited without prior permission.
      View the full article
    • legohead
      От legohead
      Появи се информация за новото поколение електрически компоненти - LEGO Powered Up.
      Видео можете да намерите в следния коментар от настоящата тема:
      Би следвало в едно и също помещение да могат да се свързват повече от 4 дистанционни, което беше ограничението на предишната платформа.
    • legohead
      От legohead
      Както може би вече сте забелязали от скоро на пазара се предлага продукта LEGO Boost, който включва изцяло нови конектори на моторите и сензора.

      Същия конектор се използва и в комплектите LEGO WeDo 2.0, които бяха пуснати миналата година

      Конекторите на LEGO Boost и LEGO WeDo 2.0 са еднакви, и моторите и сензорите са аналогични.
      Очаква се  скоро да бъдат пуснати и новото поколение електромотори Power Functions 2.0, за които по непотвърдени източници се знае че също ще използват този конектор.
      Важно е да се отбележи, че WeDo 2.0 работи на 3v, докато Boost работи на 9v.

      Дискусия и предположения по темата можете да прочетете тук:

      За съжаление обаче за момента СОФТУЕРА за програмиране на всяка от платформите НЕ поддържа контролерите от другата ... 
      Също така моторите и сензорите от едната платформа НЕ работят на другата. Надявам се че в бъдеще ще оправят този недостатък.
      Демонстрация на това можете да видите в следното видео:

      Сравнение на 2те платформи Lego Boost и LEGO WeDo 2.0 можете да намерите на следната страница:

      Programming Lego Boost with Python:
  • Създай нов...