GianCann

Pybricks: alternative firmware for Powered Up device

Recommended Posts

14 minutes ago, JaBaCaDaBra said:

Works this only on Chrome?

It's recommended, and my Firefox doesn't support Bluetooth.

I installed Chrome parallel and use it only forPybricks.

Just tried Edge  Version 83.0.478.50 , seems to work  with BT, but I did not flash FW.

Edited by Lok24

Share this post


Link to post
Share on other sites
1 minute ago, Lok24 said:

but I did not flash FW.

It flash, but required 8-10 minutes to do the entire operation

Share this post


Link to post
Share on other sites
9 minutes ago, JaBaCaDaBra said:

oh android

I'm running it on an Win10/64 with a BT dongle, works fine, flashes in app 2 Minutes.

And I installed it an a Samsung Galaxy Tab A (2016), Android, works too.

Share this post


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

Win10/64

available here but also still win7 present (but not much used anymore)
also a tablet with android 9

If it works in Firefox would be great cause I'm notso happy with things like edge and chrome.

Share this post


Link to post
Share on other sites
2 minutes ago, JaBaCaDaBra said:

If it works in Firefox would be great

Firefox don't support Web Bluetooth API... 

Share this post


Link to post
Share on other sites
11 hours ago, JaBaCaDaBra said:

If it works in Firefox would be great cause I'm notso happy with things like edge and chrome.

No need to replace FF, just install the Chrome as a tool for Pybricks only.
 

Here's is my very short Programm:

# Einfache Schranke

# benutzte Klassen
from pybricks.pupdevices import Motor, ColorDistanceSensor
from pybricks.parameters import Port, Stop,  Color
from pybricks.tools import wait

# Sensoren und Motoren
Schranke = Motor(Port.A)
Schalter = ColorDistanceSensor(Port.C)

v = 100
h = Stop.BRAKE

# zu Beginn Schranke öffnen
Schranke.run_target(v, 0, h )

while True:
    while Schalter.color() != Color.RED:
        wait(100)
        
    Schranke.run_target(v, 90, h)
        
    while Schalter.color() != Color.GREEN:
        wait(100)
        
    Schranke.run_target(v, 0, h)

 

Edited by Lok24

Share this post


Link to post
Share on other sites
12 hours ago, Lok24 said:

I'm running it on an Win10/64 with a BT dongle, works fine, flashes in app 2 Minutes.

And I installed it an a Samsung Galaxy Tab A (2016), Android, works too.

please help me

i use Win10/64 with a BT dongle (BLED112, Bluegiga Bluetooth Low Energy), Google Chrome, version 85, but Pybricks Code doesn't see my hub, what could be the reason?

and the hub is visible in the S2Bot App.

Share this post


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

Did you set the hub in FW-Bootloader-mode?

Yes I do everything as in the instructions

1. Make sure your batteries are fresh.
2. Make sure the hub is off.
3. Press and hold the green button.
4. Wait for the light to blink, but keep holding the button.
5. On the Pybricks Code page, click the firmware update button.
6. Select the LEGO Bootloader and click Pair.

....

but until the 6th point does not reach, I click on the button "Flash hub firmware" but nothing happens

Share this post


Link to post
Share on other sites

Sorry, I can't help, cause with my installation it works. You use a technic hub? Only that works.

 

Share this post


Link to post
Share on other sites
4 hours ago, nikzagvit said:

please help me

i use Win10/64 with a BT dongle (BLED112, Bluegiga Bluetooth Low Energy), Google Chrome, version 85, but Pybricks Code doesn't see my hub, what could be the reason?

and the hub is visible in the S2Bot App.

Your BT dongle might be incompatible. It's not a "normal" bluetooth dongle.

Share this post


Link to post
Share on other sites
4 hours ago, nikzagvit said:

But until the 6th point does not reach, I click on the button "Flash hub firmware" but nothing happens

Does the pairing menu not even open, or does it not find any devices?

On two systems I have the phenomenon, that the menus don't open/react on click. No idea why...

Share this post


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

Does the pairing menu not even open, or does it not find any devices?

On two systems I have the phenomenon, that the menus don't open/react on click. No idea why...

Yes, menus don't open/react on click.

48 minutes ago, Tcm0 said:

Your BT dongle might be incompatible. It's not a "normal" bluetooth dongle.

I can't say for sure, but I've seen the list of compatible devices, and BLED112, Bluegiga Bluetooth Low Energy in it.

4 hours ago, Lok24 said:

Perhaps give it a try on a tablet or smartphone?

Yes, the app sees the hub through the smartphone, the firmware starts, but I have been waiting for more than an hour, the hub is still flashing red blue green

Share this post


Link to post
Share on other sites
40 minutes ago, nikzagvit said:

Yes, menus don't open/react on click.

I can't say for sure, but I've seen the list of compatible devices, and BLED112, Bluegiga Bluetooth Low Energy in it.

Yes, the app sees the hub through the smartphone, the firmware starts, but I have been waiting for more than an hour, the hub is still flashing red blue green

Make sure that you have the right browser version. You need the google chrome canary build.

Share this post


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

Make sure that you have the right browser version. You need the google chrome canary build.

used the installer available from the documentation link.

At the moment I tried different installers, the result is the same

I feel desperate :wacko:

Share this post


Link to post
Share on other sites

I assume that chrome does not know how to work with Bluetooth Low Energy devices.

Tell me who works with what dongle?

Share this post


Link to post
Share on other sites

ASUS   Micro Bluetooth USB-Stick V4.0 USB-BT400
Works with my Win 10/64 with all programs I use

Chromo is from the link at Pybricks, as you said,
Version 85.0.4173.2 (Offizieller Build) dev (64-Bit)

Edited by Lok24

Share this post


Link to post
Share on other sites
2 minutes ago, Lok24 said:

ASUS   Micro Bluetooth USB-Stick V4.0 USB-BT400

 

Works with my Win 10/64 with all programs I use

thank you very much

Share this post


Link to post
Share on other sites

I tried it with my BLED112 and it doesn't work either. The reason is that it doesn't use the default ble protocol but it translates it to another serial protocol (at least that's what I heared somewhere. No guarantee that it's true). The BLED112 is for development, not for endusers (yeah, the lines kinda collapse for this purpose).

You need a "normal" BLE USB Dongle. Basically most if not all should work, just make sure that they support BLE. Dongles that support XP, vista and windows 7 plug and play for BLE probably don't work because BLE support was added with windows 8 or 8.1. Most have something like "you have to install the driver manually for Windows 7 and below".

I use the iAmotus USB Bluetooth 4.0 EDR Wireless Micro Adapter [Low Energy]

Edited by Tcm0

Share this post


Link to post
Share on other sites
1 hour ago, Tcm0 said:

Dongles that support XP, vista and windows 7 plug and play for BLE probably don't work because BLE support was added with windows 8 or 8.1.

:thumbup:

Systems I tried that failed have Win7 installed.

Share this post


Link to post
Share on other sites
1 minute ago, Gimmick said:

Systems I tried that failed have Win7 installed.

I can confirm: No BLE support on Windows 7

Attention please: I changed the title of this topic in "Pybricks: alternative firmware for Powered Up device:pir-blush:

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.