Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to connect to LEGO PoweredUp hub from 42099? #42

Open
msdobrescu opened this issue Dec 22, 2020 · 6 comments
Open

How to connect to LEGO PoweredUp hub from 42099? #42

msdobrescu opened this issue Dec 22, 2020 · 6 comments

Comments

@msdobrescu
Copy link

Hello, I try to connect to thePoweredUp hub from the 42099 set, but it seems not detecting it.
What is the procedure to connect to it? I try to understand if the hub is actually rejecting the connection.
BuWizz app can't detect it either.

@msdobrescu
Copy link
Author

OK, it works, it was some interference, I guess. BuWizz can't see it at all.
A question, now, as I see BC2 is a bridge between a hub and a controller physical device.
Are there plans to use BC2 itself to control with widgets, similar to PoweredUp, Controller+ or BuWizz apps?

@msdobrescu
Copy link
Author

msdobrescu commented Dec 22, 2020

I have tested further and I have:

  • Samsung T510 which works fine with F710 but can't detect the hub in BC2.
  • Nokia 7.2 which can detect the hub but can not work with F710, probably the driver is missing or something.
    What can be done to make T510 detect the hub in BC2?
    T510 works with the hub fine with Lego's dedicated apps.

@msdobrescu
Copy link
Author

Hello, I've reset the application data and works on T510.
The phone still can't access the controller.

Now, I try to configure the controller joystick to drive the car.
For PoweredUp motors, is there a way to reset the direction, like the Power Functions servo?

@msdobrescu
Copy link
Author

I have found the right combination, it seems that servo motor setting works for joystick to set the wheels back to straight direction.
What I can't do is to have a correlation between the joystick position and the wheels turn, i.e. for 50% of joystick range to have 50% wheels turn to the left or to the right. How can I achieve that?

@imurvai
Copy link
Owner

imurvai commented Dec 23, 2020

Hi,
I'm glad you figured out in the meantime how to connect 👍
What you can do in joystick mode is to set how much the motor should turn if you move the joy all the way left or right. By default it is 90 degrees but it can be set whatever you need between 0 and 180 degs.
For the on-screen controls (gadgets): The main reason I developed BC2 is to control Lego models using a game controller, and it would require a lot of time to add such a feature so I'm not planning to add it. Sorry.

@msdobrescu
Copy link
Author

msdobrescu commented Dec 23, 2020

Thanks, no need to be sorry, everybody has his goals.
You did a very good job that helped many to use something else than LEGO's software and hardware.
Regarding the joystick, I'd need more control. If it goes to 50% of the range, I guess it would be possible to position the motor as such, i.e. half of the range, from its origin.
Yesterday I have had a problem with Control+ that was unable to calibrate the direction anymore, hence my approach with BC2. I think would be useful such feature for your users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants