Jump to content

Recommended Posts

Posted (edited)
  On 6/17/2020 at 5:25 PM, JaBaCaDaBra said:

Works this only on Chrome?

Expand  

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
Posted
  On 6/17/2020 at 5:34 PM, JaBaCaDaBra said:

oh android

Expand  

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.

Posted
  On 6/17/2020 at 5:46 PM, Lok24 said:

Win10/64

Expand  

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.

Posted (edited)
  On 6/17/2020 at 6:18 PM, JaBaCaDaBra said:

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

Expand  

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
Posted
  On 6/17/2020 at 5:46 PM, 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.

Expand  

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.

Posted
  On 6/18/2020 at 6:19 AM, Lok24 said:

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

Expand  

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

Posted
  On 6/18/2020 at 6:00 AM, 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.

Expand  

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

Posted
  On 6/18/2020 at 6:33 AM, nikzagvit said:

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

Expand  

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...

Posted
  On 6/18/2020 at 11:11 AM, 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...

Expand  

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

  On 6/18/2020 at 10:39 AM, Tcm0 said:

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

Expand  

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

  On 6/18/2020 at 7:27 AM, Lok24 said:

Perhaps give it a try on a tablet or smartphone?

Expand  

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

Posted
  On 6/18/2020 at 11:31 AM, 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

Expand  

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

Posted
  On 6/18/2020 at 12:13 PM, Tcm0 said:

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

Expand  

used the installer available from the documentation link.

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

I feel desperate :wacko:

Posted (edited)

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
Posted (edited)

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
Posted
  On 6/18/2020 at 2:35 PM, 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.

Expand  

:thumbup:

Systems I tried that failed have Win7 installed.

Posted
  On 6/18/2020 at 4:19 PM, Gimmick said:

Systems I tried that failed have Win7 installed.

Expand  

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:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   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

×   Your previous content has been restored.   Clear editor

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...