GianCann Posted June 17, 2020 Author Posted June 17, 2020 5 minutes ago, JaBaCaDaBra said: Works this only on Chrome? Chrome 85 Quote
Lok24 Posted June 17, 2020 Posted June 17, 2020 (edited) 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 June 17, 2020 by Lok24 Quote
GianCann Posted June 17, 2020 Author Posted June 17, 2020 1 minute ago, Lok24 said: but I did not flash FW. It flash, but required 8-10 minutes to do the entire operation Quote
Lok24 Posted June 17, 2020 Posted June 17, 2020 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. Quote
JaBaCaDaBra Posted June 17, 2020 Posted June 17, 2020 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. Quote
GianCann Posted June 17, 2020 Author Posted June 17, 2020 2 minutes ago, JaBaCaDaBra said: If it works in Firefox would be great Firefox don't support Web Bluetooth API... Quote
Lok24 Posted June 18, 2020 Posted June 18, 2020 (edited) 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 June 18, 2020 by Lok24 Quote
nikzagvit Posted June 18, 2020 Posted June 18, 2020 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. Quote
nikzagvit Posted June 18, 2020 Posted June 18, 2020 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 Quote
Lok24 Posted June 18, 2020 Posted June 18, 2020 Sorry, I can't help, cause with my installation it works. You use a technic hub? Only that works. Quote
nikzagvit Posted June 18, 2020 Posted June 18, 2020 OK thanks anyway. Yes I use the technic hub Quote
Lok24 Posted June 18, 2020 Posted June 18, 2020 Perhaps give it a try on a tablet or smartphone? Quote
Tcm0 Posted June 18, 2020 Posted June 18, 2020 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. Quote
Gimmick Posted June 18, 2020 Posted June 18, 2020 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... Quote
nikzagvit Posted June 18, 2020 Posted June 18, 2020 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 Quote
Tcm0 Posted June 18, 2020 Posted June 18, 2020 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. Quote
nikzagvit Posted June 18, 2020 Posted June 18, 2020 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 Quote
nikzagvit Posted June 18, 2020 Posted June 18, 2020 I assume that chrome does not know how to work with Bluetooth Low Energy devices. Tell me who works with what dongle? Quote
Lok24 Posted June 18, 2020 Posted June 18, 2020 (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 June 18, 2020 by Lok24 Quote
nikzagvit Posted June 18, 2020 Posted June 18, 2020 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 Quote
Tcm0 Posted June 18, 2020 Posted June 18, 2020 (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 June 18, 2020 by Tcm0 Quote
Gimmick Posted June 18, 2020 Posted June 18, 2020 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. Systems I tried that failed have Win7 installed. Quote
GianCann Posted June 18, 2020 Author Posted June 18, 2020 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" Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.