GianCann

Pybricks: alternative firmware for Powered Up device

Recommended Posts

It's yet an Alpha version, but it's very promising!

Edited by GianCann
Changed topic title, for a better tematics

Share this post


Link to post
Share on other sites

Well also a good job! I will speak to my students next Tuesday, hope they will also learn something from it, I asked them to create something with Powered Up etc. but I don't know what their results are at this point. They also have two of those Control+ hubs so...

Share this post


Link to post
Share on other sites

Looks really nice, I only miss Spike, WeDo 2.0 and the Duplo train for now but I guess that would be nice for future work. I would not mind to lend a hand in the summer vacation. 

Share this post


Link to post
Share on other sites
5 hours ago, Coder Shah said:

Have you tried the sensors as well?

Yes! It work well.

Remember, however, that this firmware is still on "alpha" stage.

Share this post


Link to post
Share on other sites
On 6/6/2020 at 7:43 AM, GianCann said:

Yes! It work well.

Remember, however, that this firmware is still on "alpha" stage.

Hi,

can I reset the firmware on the hub to use the original lego version again? I do not want to break the hub permanently:<

Edited by Gimmick

Share this post


Link to post
Share on other sites
Just now, Gimmick said:

can I reset the firmware on the hub to use the original lego version again?

Yes, sure!

Share this post


Link to post
Share on other sites
3 minutes ago, GianCann said:

Yes, sure!

Ok, do I need an extra tool for that, or does the PU-App recognize the wrong firmware and overwrites it?

 

Share this post


Link to post
Share on other sites

You have only to force "bootloader mode" (long press on the Power button) and the PU App re-flash with the LEGO firmware ;)

Share this post


Link to post
Share on other sites
Just now, GianCann said:

You have only to force "bootloader mode" (long press on the Power button) and the PU App re-flash with the LEGO firmware ;)

Ahh, ok nice. If the Hub does not recover, I will blame you of course =)

Share this post


Link to post
Share on other sites
On 6/5/2020 at 10:54 PM, GianCann said:

I'm only alpha-tester ;)

Hi, what's your experiece how log it takes to get userid/pw for the platform?
 

Share this post


Link to post
Share on other sites
On 6/9/2020 at 11:29 AM, Lok24 said:

Ah! I'm not :sadnew:

So I have to wait!
 

I found the mail in the spam folder ...
The sender was not pybricks, but an employee one of the two fan dudes.

Just fyi, if you are still waiting. ;)

Edited by Gimmick

Share this post


Link to post
Share on other sites
5 minutes ago, Gimmick said:

I found the mail in the spam folder ...
The sender was not pybricks, but an employee.

Just fyi, if you are still waiting. ;)

I'm pretty sure that they don't have employees because it's not a company ;) Just a project of two fans

Share this post


Link to post
Share on other sites
4 minutes ago, Tcm0 said:

I'm pretty sure that they don't have employees because it's not a company ;) Just a project of two fans

Mimimimimi.... fixed :p

 

Share this post


Link to post
Share on other sites

Hi all,

just got the chance to test, and at a first sight:

- perfect description of how to start
- everything works as described

I spend perhaps 10 Minutes with

- Installing Crome 85 in Win10/64
- Copy the new firmware to the Powerd Up technic Hub
-  copy and paste the code-example into the browserbased development tool
- Connect hub
- Start program
- WORKS!

Share this post


Link to post
Share on other sites

Indeed.

I'm just trying to show the battery.voltage(), but don't know what have to import, CPlusHub ?

And how to turn off the hub? (Except removing batteries.....)

Share this post


Link to post
Share on other sites
Try this:

hub = CPlusHub()
if hub.battery.voltage() < 6500:
    hub.shutdown()

You can also power off the HUB holding the power button for a few seconds

Share this post


Link to post
Share on other sites

Thanks, I did now:

from pybricks.hubs import  *

And yes a little patience when turning off is usefull.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.